Lines Matching refs:in_le32
82 while ((in_le32(&phyregs->miimstatus) & 0x8) && --timeout) in vsc9953_mdio_write()
95 while ((in_le32(&phyregs->miimstatus) & MIIMIND_OPR_PEND) && --timeout) in vsc9953_mdio_read()
111 while ((in_le32(&phyregs->miimstatus) & 0x8) && --timeout) in vsc9953_mdio_read()
117 value = in_le32(&phyregs->miimdata); in vsc9953_mdio_read()
192 while (((in_le32(&l2ana_reg->ana_tables.vlan_access) & in vsc9953_vlan_table_poll_idle()
214 val = in_le32(&l2ana_reg->ana_tables.vlan_tidx); in vsc9953_vlan_table_membership_set()
226 val = in_le32(&l2ana_reg->ana_tables.vlan_tidx); in vsc9953_vlan_table_membership_set()
230 val = in_le32(&l2ana_reg->ana_tables.vlan_access); in vsc9953_vlan_table_membership_set()
270 val = in_le32(&l2ana_reg->ana_tables.vlan_tidx); in vsc9953_vlan_membership_show()
283 val = in_le32(&l2ana_reg->ana_tables.vlan_access); in vsc9953_vlan_membership_show()
308 val = in_le32(&l2ana_reg->ana_tables.vlan_tidx); in vsc9953_vlan_table_membership_all_set()
320 val = in_le32(&l2ana_reg->ana_tables.vlan_tidx); in vsc9953_vlan_table_membership_all_set()
347 val = in_le32(&l2ana_reg->port[port_nr].vlan_cfg); in vsc9953_port_vlan_pvid_get()
373 val = in_le32(&l2ana_reg->port[port_no].vlan_cfg); in vsc9953_port_vlan_pvid_set()
378 val = in_le32(&l2rew_reg->port[port_no].port_vlan_cfg); in vsc9953_port_vlan_pvid_set()
443 val = in_le32(&l2ana_reg->port[port_no].vlan_cfg); in vsc9953_port_vlan_popcnt_set()
538 val = in_le32(&l2rew_reg->port[port_no].port_tag_cfg); in vsc9953_port_vlan_egr_untag_get()
648 autoage = bitfield_replace_by_mask(in_le32(&l2ana_reg->ana.auto_age), in vsc9953_autoage_time_set()
702 val = in_le32(&l2qsys_reg->sys.switch_port_mode[port_no]); in vsc9953_port_config_show()
774 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_short) + in vsc9953_port_statistics_show()
775 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_frag) + in vsc9953_port_statistics_show()
776 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_jabber) + in vsc9953_port_statistics_show()
777 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_long) + in vsc9953_port_statistics_show()
778 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_64) + in vsc9953_port_statistics_show()
779 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_65_127) + in vsc9953_port_statistics_show()
780 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_128_255) + in vsc9953_port_statistics_show()
781 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_256_511) + in vsc9953_port_statistics_show()
782 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_512_1023) + in vsc9953_port_statistics_show()
783 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_1024_1526) + in vsc9953_port_statistics_show()
784 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_jumbo); in vsc9953_port_statistics_show()
785 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_64) + in vsc9953_port_statistics_show()
786 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_65_127) + in vsc9953_port_statistics_show()
787 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_128_255) + in vsc9953_port_statistics_show()
788 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_256_511) + in vsc9953_port_statistics_show()
789 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_512_1023) + in vsc9953_port_statistics_show()
790 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_1024_1526) + in vsc9953_port_statistics_show()
791 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_jumbo); in vsc9953_port_statistics_show()
796 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_oct); in vsc9953_port_statistics_show()
797 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_oct); in vsc9953_port_statistics_show()
802 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_yellow_prio_0) + in vsc9953_port_statistics_show()
803 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_yellow_prio_1) + in vsc9953_port_statistics_show()
804 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_yellow_prio_2) + in vsc9953_port_statistics_show()
805 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_yellow_prio_3) + in vsc9953_port_statistics_show()
806 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_yellow_prio_4) + in vsc9953_port_statistics_show()
807 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_yellow_prio_5) + in vsc9953_port_statistics_show()
808 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_yellow_prio_6) + in vsc9953_port_statistics_show()
809 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_yellow_prio_7) + in vsc9953_port_statistics_show()
810 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_green_prio_0) + in vsc9953_port_statistics_show()
811 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_green_prio_1) + in vsc9953_port_statistics_show()
812 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_green_prio_2) + in vsc9953_port_statistics_show()
813 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_green_prio_3) + in vsc9953_port_statistics_show()
814 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_green_prio_4) + in vsc9953_port_statistics_show()
815 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_green_prio_5) + in vsc9953_port_statistics_show()
816 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_green_prio_6) + in vsc9953_port_statistics_show()
817 in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_green_prio_7); in vsc9953_port_statistics_show()
818 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_64) + in vsc9953_port_statistics_show()
819 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_65_127) + in vsc9953_port_statistics_show()
820 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_128_255) + in vsc9953_port_statistics_show()
821 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_256_511) + in vsc9953_port_statistics_show()
822 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_512_1023) + in vsc9953_port_statistics_show()
823 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_1024_1526) + in vsc9953_port_statistics_show()
824 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_jumbo); in vsc9953_port_statistics_show()
829 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_uc); in vsc9953_port_statistics_show()
830 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_uc); in vsc9953_port_statistics_show()
835 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_bc); in vsc9953_port_statistics_show()
836 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_bc); in vsc9953_port_statistics_show()
841 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_64); in vsc9953_port_statistics_show()
842 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_64); in vsc9953_port_statistics_show()
847 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_65_127); in vsc9953_port_statistics_show()
848 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_65_127); in vsc9953_port_statistics_show()
853 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_128_255); in vsc9953_port_statistics_show()
854 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_128_255); in vsc9953_port_statistics_show()
859 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_256_511); in vsc9953_port_statistics_show()
860 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_256_511); in vsc9953_port_statistics_show()
865 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_512_1023); in vsc9953_port_statistics_show()
866 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_512_1023); in vsc9953_port_statistics_show()
871 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_1024_1526); in vsc9953_port_statistics_show()
872 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_1024_1526); in vsc9953_port_statistics_show()
877 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_sz_jumbo); in vsc9953_port_statistics_show()
878 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_sz_jumbo); in vsc9953_port_statistics_show()
883 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_cat_drop) + in vsc9953_port_statistics_show()
884 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_tail) + in vsc9953_port_statistics_show()
885 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_yellow_prio_0) + in vsc9953_port_statistics_show()
886 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_yellow_prio_1) + in vsc9953_port_statistics_show()
887 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_yellow_prio_2) + in vsc9953_port_statistics_show()
888 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_yellow_prio_3) + in vsc9953_port_statistics_show()
889 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_yellow_prio_4) + in vsc9953_port_statistics_show()
890 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_yellow_prio_5) + in vsc9953_port_statistics_show()
891 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_yellow_prio_6) + in vsc9953_port_statistics_show()
892 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_yellow_prio_7) + in vsc9953_port_statistics_show()
893 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_green_prio_0) + in vsc9953_port_statistics_show()
894 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_green_prio_1) + in vsc9953_port_statistics_show()
895 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_green_prio_2) + in vsc9953_port_statistics_show()
896 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_green_prio_3) + in vsc9953_port_statistics_show()
897 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_green_prio_4) + in vsc9953_port_statistics_show()
898 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_green_prio_5) + in vsc9953_port_statistics_show()
899 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_green_prio_6) + in vsc9953_port_statistics_show()
900 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_green_prio_7); in vsc9953_port_statistics_show()
901 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_drop) + in vsc9953_port_statistics_show()
902 in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_aged); in vsc9953_port_statistics_show()
910 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_crc); in vsc9953_port_statistics_show()
911 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_col); in vsc9953_port_statistics_show()
919 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_short); in vsc9953_port_statistics_show()
920 tx_val = in_le32(&l2sys_reg->stat.tx_cntrs.c_tx_aged); in vsc9953_port_statistics_show()
925 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_long); in vsc9953_port_statistics_show()
929 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_frag); in vsc9953_port_statistics_show()
933 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_jabber); in vsc9953_port_statistics_show()
940 rx_val = in_le32(&l2sys_reg->stat.rx_cntrs.c_rx_cat_drop) + in vsc9953_port_statistics_show()
941 in_le32(&l2sys_reg->stat.drop_cntrs.c_dr_local); in vsc9953_port_statistics_show()
1022 val = in_le32(&l2ana_reg->port[port_no].port_cfg); in vsc9953_port_learn_mode_get()
1043 while (((in_le32(&l2ana_reg->ana_tables.mac_access) & in vsc9953_mac_table_poll_idle()
1157 val = in_le32(&l2ana_reg->ana.anag_efil); in vsc9953_mac_table_show()
1181 val = in_le32(&l2ana_reg->ana_tables.mac_access); in vsc9953_mac_table_show()
1207 val = in_le32(&l2ana_reg->ana_tables.mach_data); in vsc9953_mac_table_show()
1210 macl = in_le32(&l2ana_reg->ana_tables.macl_data); in vsc9953_mac_table_show()
1246 val = in_le32(&l2ana_reg->ana_tables.mach_data); in vsc9953_mac_table_add()
1256 val = in_le32(&l2ana_reg->ana_tables.mac_access); in vsc9953_mac_table_add()
1264 val = in_le32(&l2ana_reg->ana_tables.mach_data); in vsc9953_mac_table_add()
1276 val = in_le32(&l2ana_reg->ana_tables.mac_access); in vsc9953_mac_table_add()
1296 val = in_le32(&l2ana_reg->ana_tables.mach_data); in vsc9953_mac_table_del()
1310 if (!(in_le32(&l2ana_reg->ana_tables.mac_access) & in vsc9953_mac_table_del()
1319 val = in_le32(&l2ana_reg->ana_tables.mach_data); in vsc9953_mac_table_del()
1331 val = in_le32(&l2ana_reg->ana_tables.mach_data); in vsc9953_mac_table_del()
1343 if (in_le32(&l2ana_reg->ana_tables.mac_access) & in vsc9953_mac_table_del()
1365 val = in_le32(&l2ana_reg->ana.anag_efil); in vsc9953_mac_table_age()
1454 val = in_le32(&l2rew_reg->port[port_no].port_tag_cfg); in vsc9953_port_vlan_egress_tag_get()
1496 val = in_le32(&l2ana_reg->ana.agen_ctrl); in vsc9953_vlan_learning_get()
1533 val = in_le32(&l2ana_reg->ana.vlan_mask); in vsc9953_port_ingress_filtering_get()
1549 val = in_le32(&l2ana_reg->port[port_no].port_cfg); in vsc9953_port_aggr_grp_get()
1595 pgid = in_le32(&l2ana_reg->port_id_tbl.port_grp_id[i]); in vsc9953_update_dest_members_masks()
1619 pgid = in_le32(&l2ana_reg->port_id_tbl.port_grp_id[index]); in vsc9953_update_source_members_masks()
1670 pgid = in_le32(&l2ana_reg->port_id_tbl.port_grp_id[i]); in vsc9953_update_aggr_members_masks()
1747 val = in_le32(&l2ana_reg->port[port_no].port_cfg); in vsc9953_port_aggr_grp_set()
2502 while ((in_le32(&l2dev_gcb->chip_regs.soft_rst) & in vsc9953_init()
2512 while ((in_le32(&l2sys_reg->sys.reset_cfg) & in vsc9953_init()
2518 out_le32(&l2sys_reg->sys.reset_cfg, (in_le32(&l2sys_reg->sys.reset_cfg) in vsc9953_init()