Lines Matching refs:mgmt_lock
489 down(&nic_dev->mgmt_lock); in hinic_open()
515 up(&nic_dev->mgmt_lock); in hinic_open()
521 up(&nic_dev->mgmt_lock); in hinic_open()
557 down(&nic_dev->mgmt_lock); in hinic_close()
567 up(&nic_dev->mgmt_lock); in hinic_close()
626 down(&nic_dev->mgmt_lock); in change_mac_addr()
645 up(&nic_dev->mgmt_lock); in change_mac_addr()
680 down(&nic_dev->mgmt_lock); in add_mac_addr()
692 up(&nic_dev->mgmt_lock); in add_mac_addr()
715 down(&nic_dev->mgmt_lock); in remove_mac_addr()
728 up(&nic_dev->mgmt_lock); in remove_mac_addr()
740 down(&nic_dev->mgmt_lock); in hinic_vlan_rx_add_vid()
756 up(&nic_dev->mgmt_lock); in hinic_vlan_rx_add_vid()
766 up(&nic_dev->mgmt_lock); in hinic_vlan_rx_add_vid()
778 down(&nic_dev->mgmt_lock); in hinic_vlan_rx_kill_vid()
788 up(&nic_dev->mgmt_lock); in hinic_vlan_rx_kill_vid()
792 up(&nic_dev->mgmt_lock); in hinic_vlan_rx_kill_vid()
866 down(&nic_dev->mgmt_lock); in hinic_get_stats64()
871 up(&nic_dev->mgmt_lock); in hinic_get_stats64()
1000 down(&nic_dev->mgmt_lock); in link_status_event_handler()
1012 up(&nic_dev->mgmt_lock); in link_status_event_handler()
1019 down(&nic_dev->mgmt_lock); in link_status_event_handler()
1026 up(&nic_dev->mgmt_lock); in link_status_event_handler()
1239 sema_init(&nic_dev->mgmt_lock, 1); in nic_dev_init()