/drivers/net/wireless/realtek/rtlwifi/ |
D | ps.c | 97 spin_lock(&rtlpriv->locks.rf_ps_lock); in rtl_ps_set_rf_state() 99 spin_unlock(&rtlpriv->locks.rf_ps_lock); in rtl_ps_set_rf_state() 117 spin_unlock(&rtlpriv->locks.rf_ps_lock); in rtl_ps_set_rf_state() 166 spin_lock(&rtlpriv->locks.rf_ps_lock); in rtl_ps_set_rf_state() 168 spin_unlock(&rtlpriv->locks.rf_ps_lock); in rtl_ps_set_rf_state() 297 spin_lock(&rtlpriv->locks.ips_lock); in rtl_ips_nic_on() 314 spin_unlock(&rtlpriv->locks.ips_lock); in rtl_ips_nic_on() 444 spin_lock_irqsave(&rtlpriv->locks.lps_lock, flag); in rtl_lps_enter_core() 456 spin_unlock_irqrestore(&rtlpriv->locks.lps_lock, flag); in rtl_lps_enter_core() 467 spin_lock_irqsave(&rtlpriv->locks.lps_lock, flag); in rtl_lps_leave_core() [all …]
|
D | core.c | 164 mutex_lock(&rtlpriv->locks.conf_mutex); in rtl_op_start() 168 mutex_unlock(&rtlpriv->locks.conf_mutex); in rtl_op_start() 192 mutex_lock(&rtlpriv->locks.conf_mutex); in rtl_op_stop() 207 mutex_unlock(&rtlpriv->locks.conf_mutex); in rtl_op_stop() 251 mutex_lock(&rtlpriv->locks.conf_mutex); in rtl_op_add_interface() 329 mutex_unlock(&rtlpriv->locks.conf_mutex); in rtl_op_add_interface() 339 mutex_lock(&rtlpriv->locks.conf_mutex); in rtl_op_remove_interface() 364 mutex_unlock(&rtlpriv->locks.conf_mutex); in rtl_op_remove_interface() 604 mutex_lock(&rtlpriv->locks.conf_mutex); in rtl_op_config() 799 mutex_unlock(&rtlpriv->locks.conf_mutex); in rtl_op_config() [all …]
|
D | pci.c | 485 spin_lock_bh(&rtlpriv->locks.waitq_lock); in _rtl_update_earlymode_info() 505 spin_unlock_bh(&rtlpriv->locks.waitq_lock); in _rtl_update_earlymode_info() 538 spin_lock_bh(&rtlpriv->locks.waitq_lock); in _rtl_pci_tx_chk_waitq() 544 spin_unlock_bh(&rtlpriv->locks.waitq_lock); in _rtl_pci_tx_chk_waitq() 547 spin_unlock_bh(&rtlpriv->locks.waitq_lock); in _rtl_pci_tx_chk_waitq() 959 spin_lock_irqsave(&rtlpriv->locks.irq_th_lock , flags); in _rtl_pci_interrupt() 1095 spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags); in _rtl_pci_interrupt() 1551 spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags); in rtl_pci_reset_trx_ring() 1587 spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags); in rtl_pci_reset_trx_ring() 1624 spin_lock_bh(&rtlpriv->locks.waitq_lock); in rtl_pci_tx_chk_waitq_insert() [all …]
|
D | base.c | 558 mutex_init(&rtlpriv->locks.conf_mutex); in rtl_init_core() 559 spin_lock_init(&rtlpriv->locks.ips_lock); in rtl_init_core() 560 spin_lock_init(&rtlpriv->locks.irq_th_lock); in rtl_init_core() 561 spin_lock_init(&rtlpriv->locks.h2c_lock); in rtl_init_core() 562 spin_lock_init(&rtlpriv->locks.rf_ps_lock); in rtl_init_core() 563 spin_lock_init(&rtlpriv->locks.rf_lock); in rtl_init_core() 564 spin_lock_init(&rtlpriv->locks.waitq_lock); in rtl_init_core() 565 spin_lock_init(&rtlpriv->locks.entry_list_lock); in rtl_init_core() 566 spin_lock_init(&rtlpriv->locks.cck_and_rw_pagea_lock); in rtl_init_core() 567 spin_lock_init(&rtlpriv->locks.check_sendpkt_lock); in rtl_init_core() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | fw.c | 71 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl8723e_fill_h2c_command() 78 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, in _rtl8723e_fill_h2c_command() 88 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, in _rtl8723e_fill_h2c_command() 91 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8723e_fill_h2c_command() 94 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8723e_fill_h2c_command() 248 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl8723e_fill_h2c_command() 250 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8723e_fill_h2c_command()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | fw.c | 69 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl8723be_fill_h2c_command() 76 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, in _rtl8723be_fill_h2c_command() 86 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, in _rtl8723be_fill_h2c_command() 89 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8723be_fill_h2c_command() 92 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8723be_fill_h2c_command() 213 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl8723be_fill_h2c_command() 215 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8723be_fill_h2c_command()
|
D | hw.c | 56 spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags); in _rtl8723be_return_beacon_queue_skb() 68 spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags); in _rtl8723be_return_beacon_queue_skb() 136 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8723be_set_fw_clock_on() 139 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8723be_set_fw_clock_on() 144 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8723be_set_fw_clock_on() 146 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8723be_set_fw_clock_on() 149 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8723be_set_fw_clock_on() 175 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8723be_set_fw_clock_on() 177 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8723be_set_fw_clock_on() 182 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8723be_set_fw_clock_on() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | fw.c | 383 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl92d_fill_h2c_command() 390 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, in _rtl92d_fill_h2c_command() 401 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, in _rtl92d_fill_h2c_command() 404 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92d_fill_h2c_command() 407 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92d_fill_h2c_command() 526 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl92d_fill_h2c_command() 528 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92d_fill_h2c_command() 557 spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags); in _rtl92d_cmd_send_packet() 563 spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags); in _rtl92d_cmd_send_packet()
|
D | phy.h | 115 spin_lock_irqsave(&rtlpriv->locks.cck_and_rw_pagea_lock, *flag); in rtl92d_acquire_cckandrw_pagea_ctl() 124 spin_unlock_irqrestore(&rtlpriv->locks.cck_and_rw_pagea_lock, in rtl92d_release_cckandrw_pagea_ctl()
|
/drivers/gpu/vga/ |
D | vgaarb.c | 62 unsigned int locks; /* what does it locks */ member 235 if (conflict->locks & lwants) in __vga_tryget() 307 vgadev->locks |= (rsrc & VGA_RSRC_LEGACY_MASK); in __vga_tryget() 322 unsigned int old_locks = vgadev->locks; in __vga_put() 348 vgadev->locks &= ~VGA_RSRC_LEGACY_IO; in __vga_put() 350 vgadev->locks &= ~VGA_RSRC_LEGACY_MEM; in __vga_put() 355 if (old_locks != vgadev->locks) in __vga_put() 603 vga_iostate_to_str(vgadev->locks)); in vga_arbiter_add_pci_device() 656 decodes_unlocked = vgadev->locks & decodes_removed; in vga_update_device_decodes() 890 vga_iostate_to_str(vgadev->locks), in vga_arb_read()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | fw.c | 281 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl88e_fill_h2c_command() 288 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, in _rtl88e_fill_h2c_command() 298 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, in _rtl88e_fill_h2c_command() 301 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl88e_fill_h2c_command() 304 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl88e_fill_h2c_command() 423 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl88e_fill_h2c_command() 425 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl88e_fill_h2c_command()
|
D | hw.c | 95 spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags); in _rtl88ee_return_beacon_queue_skb() 107 spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags); in _rtl88ee_return_beacon_queue_skb() 132 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl88ee_set_fw_clock_on() 135 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl88ee_set_fw_clock_on() 140 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl88ee_set_fw_clock_on() 142 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl88ee_set_fw_clock_on() 145 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl88ee_set_fw_clock_on() 170 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl88ee_set_fw_clock_on() 172 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl88ee_set_fw_clock_on() 179 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl88ee_set_fw_clock_on() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | fw_common.c | 300 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl92c_fill_h2c_command() 306 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, in _rtl92c_fill_h2c_command() 316 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, in _rtl92c_fill_h2c_command() 319 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92c_fill_h2c_command() 322 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92c_fill_h2c_command() 474 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl92c_fill_h2c_command() 476 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92c_fill_h2c_command()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | fw.c | 297 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl92ee_fill_h2c_command() 304 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, in _rtl92ee_fill_h2c_command() 314 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, in _rtl92ee_fill_h2c_command() 317 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92ee_fill_h2c_command() 320 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92ee_fill_h2c_command() 451 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl92ee_fill_h2c_command() 453 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl92ee_fill_h2c_command()
|
D | hw.c | 111 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 114 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 119 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 121 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 124 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 150 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 152 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 158 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 160 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_on() 200 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl92ee_set_fw_clock_off() [all …]
|
/drivers/staging/lustre/ |
D | sysfs-fs-lustre | 301 Controls if client should replay unused locks during recovery 302 If a client tends to have a lot of unused locks in LRU, 304 1 - just locally cancel unused locks (default) 305 0 - replay unused locks. 312 locks are taken) currently allocated in this namespace. 318 Displays number or locks allocated in this namespace. 324 Controls and displays LRU size limit for unused locks for this 327 positive number - number of locks to allow in lock LRU list 333 Display number of locks currently sitting in the LRU list 349 When enabled, tries to preemtively cancel locks that would be [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | fw.c | 346 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl8821ae_fill_h2c_command() 353 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, in _rtl8821ae_fill_h2c_command() 363 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, in _rtl8821ae_fill_h2c_command() 366 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8821ae_fill_h2c_command() 369 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8821ae_fill_h2c_command() 499 spin_lock_irqsave(&rtlpriv->locks.h2c_lock, flag); in _rtl8821ae_fill_h2c_command() 501 spin_unlock_irqrestore(&rtlpriv->locks.h2c_lock, flag); in _rtl8821ae_fill_h2c_command()
|
D | hw.c | 53 spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags); in _rtl8821ae_return_beacon_queue_skb() 65 spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags); in _rtl8821ae_return_beacon_queue_skb() 134 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8821ae_set_fw_clock_on() 137 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8821ae_set_fw_clock_on() 142 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8821ae_set_fw_clock_on() 144 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8821ae_set_fw_clock_on() 147 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8821ae_set_fw_clock_on() 173 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8821ae_set_fw_clock_on() 175 spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8821ae_set_fw_clock_on() 180 spin_lock_bh(&rtlpriv->locks.fw_ps_lock); in _rtl8821ae_set_fw_clock_on() [all …]
|
D | dm.c | 584 spin_lock(&rtlpriv->locks.iqk_lock); in rtl8821ae_dm_init() 586 spin_unlock(&rtlpriv->locks.iqk_lock); in rtl8821ae_dm_init() 697 spin_lock_bh(&rtlpriv->locks.entry_list_lock); in rtl8821ae_dm_check_rssi_monitor() 708 spin_unlock_bh(&rtlpriv->locks.entry_list_lock); in rtl8821ae_dm_check_rssi_monitor() 1023 spin_lock_bh(&rtlpriv->locks.entry_list_lock); in rtl8821ae_dm_common_info_self_update() 1026 spin_unlock_bh(&rtlpriv->locks.entry_list_lock); in rtl8821ae_dm_common_info_self_update() 2502 spin_lock(&rtlpriv->locks.iqk_lock); in rtl8821ae_dm_txpower_tracking_callback_thermalmeter() 2504 spin_unlock(&rtlpriv->locks.iqk_lock); in rtl8821ae_dm_txpower_tracking_callback_thermalmeter() 2508 spin_lock(&rtlpriv->locks.iqk_lock); in rtl8821ae_dm_txpower_tracking_callback_thermalmeter() 2510 spin_unlock(&rtlpriv->locks.iqk_lock); in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | phy.c | 58 spin_lock(&rtlpriv->locks.rf_lock); in rtl92c_phy_query_rf_reg() 71 spin_unlock(&rtlpriv->locks.rf_lock); in rtl92c_phy_query_rf_reg() 132 spin_lock(&rtlpriv->locks.rf_lock); in rtl92ce_phy_set_rf_reg() 159 spin_unlock(&rtlpriv->locks.rf_lock); in rtl92ce_phy_set_rf_reg()
|
/drivers/media/dvb-frontends/ |
D | dib8000.c | 2998 u16 locks, deeper_interleaver = 0, i; in dib8000_tune() local 3165 locks = (dib8000_read_word(state, 180) >> 6) & 0x3f; /* P_coff_winlen ? */ in dib8000_tune() 3167 *timeout = dib8000_get_timeout(state, 2 * locks, SYMBOL_DEPENDENT_ON); in dib8000_tune() 3172 locks = dib8000_read_lock(fe); in dib8000_tune() 3173 if (locks & (0x3 << 11)) { /* coff-lock and off_cpil_lock achieved */ in dib8000_tune() 3207 locks = dib8000_read_lock(fe); in dib8000_tune() 3208 if (locks & (1<<10)) { /* lmod4_lock */ in dib8000_tune() 3245 locks = 2; /* locks is the tmp local variable name */ in dib8000_tune() 3247 locks = 8; in dib8000_tune() 3249 locks = 2 * deeper_interleaver; in dib8000_tune() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
D | fw_common.c | 324 spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags); in rtl8723_cmd_send_packet() 333 spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags); in rtl8723_cmd_send_packet()
|
/drivers/tty/ |
D | n_r3964.c | 529 pBlock->locks = 0; in on_receive_block() 873 pBlock->locks++; in add_msg() 930 block->locks--; in remove_client_block() 931 if (block->locks == 0) { in remove_client_block() 1164 pHeader->locks = 0; in r3964_write()
|
/drivers/staging/slicoss/ |
D | TODO | 29 - locking too fine grained, not designed just throw more locks
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 2243 spin_lock_irqsave(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking() 2245 spin_unlock_irqrestore(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking() 2249 spin_unlock_irqrestore(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking() 2300 spin_lock_irqsave(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking() 2302 spin_unlock_irqrestore(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking() 2324 spin_lock_irqsave(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking() 2326 spin_unlock_irqrestore(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking() 2328 spin_lock_irqsave(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking() 2330 spin_unlock_irqrestore(&rtlpriv->locks.rf_ps_lock, flag); in rtl92cu_gpio_radio_on_off_checking()
|