Lines Matching refs:nic_active

145 	u32 nic_active;  in nes_netdev_open()  local
180 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_ACTIVE); in nes_netdev_open()
181 nic_active |= nic_active_bit; in nes_netdev_open()
182 nes_write_indexed(nesdev, NES_IDX_NIC_ACTIVE, nic_active); in nes_netdev_open()
183 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_MULTICAST_ENABLE); in nes_netdev_open()
184 nic_active |= nic_active_bit; in nes_netdev_open()
185 nes_write_indexed(nesdev, NES_IDX_NIC_MULTICAST_ENABLE, nic_active); in nes_netdev_open()
186 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_BROADCAST_ON); in nes_netdev_open()
187 nic_active |= nic_active_bit; in nes_netdev_open()
188 nes_write_indexed(nesdev, NES_IDX_NIC_BROADCAST_ON, nic_active); in nes_netdev_open()
281 u32 nic_active; in nes_netdev_stop() local
321 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_ACTIVE); in nes_netdev_stop()
322 nic_active &= nic_active_mask; in nes_netdev_stop()
323 nes_write_indexed(nesdev, NES_IDX_NIC_ACTIVE, nic_active); in nes_netdev_stop()
324 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_MULTICAST_ALL); in nes_netdev_stop()
325 nic_active &= nic_active_mask; in nes_netdev_stop()
326 nes_write_indexed(nesdev, NES_IDX_NIC_MULTICAST_ALL, nic_active); in nes_netdev_stop()
327 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_MULTICAST_ENABLE); in nes_netdev_stop()
328 nic_active &= nic_active_mask; in nes_netdev_stop()
329 nes_write_indexed(nesdev, NES_IDX_NIC_MULTICAST_ENABLE, nic_active); in nes_netdev_stop()
330 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL); in nes_netdev_stop()
331 nic_active &= nic_active_mask; in nes_netdev_stop()
332 nes_write_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL, nic_active); in nes_netdev_stop()
333 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_BROADCAST_ON); in nes_netdev_stop()
334 nic_active &= nic_active_mask; in nes_netdev_stop()
335 nes_write_indexed(nesdev, NES_IDX_NIC_BROADCAST_ON, nic_active); in nes_netdev_stop()
844 u32 nic_active; in set_allmulti() local
846 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_MULTICAST_ALL); in set_allmulti()
847 nic_active |= nic_active_bit; in set_allmulti()
848 nes_write_indexed(nesdev, NES_IDX_NIC_MULTICAST_ALL, nic_active); in set_allmulti()
849 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL); in set_allmulti()
850 nic_active &= ~nic_active_bit; in set_allmulti()
851 nes_write_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL, nic_active); in set_allmulti()
865 u32 nic_active; in nes_netdev_set_multicast_list() local
882 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_MULTICAST_ALL); in nes_netdev_set_multicast_list()
883 nic_active |= nic_active_bit; in nes_netdev_set_multicast_list()
884 nes_write_indexed(nesdev, NES_IDX_NIC_MULTICAST_ALL, nic_active); in nes_netdev_set_multicast_list()
885 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL); in nes_netdev_set_multicast_list()
886 nic_active |= nic_active_bit; in nes_netdev_set_multicast_list()
887 nes_write_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL, nic_active); in nes_netdev_set_multicast_list()
894 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_MULTICAST_ALL); in nes_netdev_set_multicast_list()
895 nic_active &= ~nic_active_bit; in nes_netdev_set_multicast_list()
896 nes_write_indexed(nesdev, NES_IDX_NIC_MULTICAST_ALL, nic_active); in nes_netdev_set_multicast_list()
897 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL); in nes_netdev_set_multicast_list()
898 nic_active &= ~nic_active_bit; in nes_netdev_set_multicast_list()
899 nes_write_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL, nic_active); in nes_netdev_set_multicast_list()
993 u32 nic_active; in nes_netdev_change_mtu() local
1019 nic_active = nes_read_indexed(nesdev, in nes_netdev_change_mtu()
1021 nic_active |= mc_all_active; in nes_netdev_change_mtu()
1023 nic_active); in nes_netdev_change_mtu()
1025 nic_active = nes_read_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL); in nes_netdev_change_mtu()
1026 nic_active |= uc_all_active; in nes_netdev_change_mtu()
1027 nes_write_indexed(nesdev, NES_IDX_NIC_UNICAST_ALL, nic_active); in nes_netdev_change_mtu()