Lines Matching refs:mgmt_lock
473 down(&nic_dev->mgmt_lock); in hinic_open()
499 up(&nic_dev->mgmt_lock); in hinic_open()
505 up(&nic_dev->mgmt_lock); in hinic_open()
541 down(&nic_dev->mgmt_lock); in hinic_close()
549 up(&nic_dev->mgmt_lock); in hinic_close()
608 down(&nic_dev->mgmt_lock); in change_mac_addr()
627 up(&nic_dev->mgmt_lock); in change_mac_addr()
662 down(&nic_dev->mgmt_lock); in add_mac_addr()
674 up(&nic_dev->mgmt_lock); in add_mac_addr()
697 down(&nic_dev->mgmt_lock); in remove_mac_addr()
710 up(&nic_dev->mgmt_lock); in remove_mac_addr()
722 down(&nic_dev->mgmt_lock); in hinic_vlan_rx_add_vid()
738 up(&nic_dev->mgmt_lock); in hinic_vlan_rx_add_vid()
748 up(&nic_dev->mgmt_lock); in hinic_vlan_rx_add_vid()
760 down(&nic_dev->mgmt_lock); in hinic_vlan_rx_kill_vid()
770 up(&nic_dev->mgmt_lock); in hinic_vlan_rx_kill_vid()
774 up(&nic_dev->mgmt_lock); in hinic_vlan_rx_kill_vid()
973 down(&nic_dev->mgmt_lock); in link_status_event_handler()
985 up(&nic_dev->mgmt_lock); in link_status_event_handler()
992 down(&nic_dev->mgmt_lock); in link_status_event_handler()
999 up(&nic_dev->mgmt_lock); in link_status_event_handler()
1210 sema_init(&nic_dev->mgmt_lock, 1); in nic_dev_init()