Home
last modified time | relevance | path

Searched refs:rx_lock (Results 1 – 25 of 64) sorted by relevance

123

/linux-6.6.21/net/vmw_vsock/
Dvirtio_transport_common.c300 spin_lock_bh(&vvs->rx_lock); in virtio_transport_inc_tx_pkt()
304 spin_unlock_bh(&vvs->rx_lock); in virtio_transport_inc_tx_pkt()
357 spin_lock_bh(&vvs->rx_lock); in virtio_transport_stream_do_peek()
366 spin_unlock_bh(&vvs->rx_lock); in virtio_transport_stream_do_peek()
377 spin_lock_bh(&vvs->rx_lock); in virtio_transport_stream_do_peek()
383 spin_unlock_bh(&vvs->rx_lock); in virtio_transport_stream_do_peek()
406 spin_lock_bh(&vvs->rx_lock); in virtio_transport_stream_do_dequeue()
410 spin_unlock_bh(&vvs->rx_lock); in virtio_transport_stream_do_dequeue()
424 spin_unlock_bh(&vvs->rx_lock); in virtio_transport_stream_do_dequeue()
430 spin_lock_bh(&vvs->rx_lock); in virtio_transport_stream_do_dequeue()
[all …]
Dvirtio_transport.c52 struct mutex rx_lock; member
491 mutex_lock(&vsock->rx_lock); in virtio_transport_rx_work()
532 mutex_unlock(&vsock->rx_lock); in virtio_transport_rx_work()
568 mutex_lock(&vsock->rx_lock); in virtio_vsock_vqs_start()
571 mutex_unlock(&vsock->rx_lock); in virtio_vsock_vqs_start()
602 mutex_lock(&vsock->rx_lock); in virtio_vsock_vqs_del()
604 mutex_unlock(&vsock->rx_lock); in virtio_vsock_vqs_del()
619 mutex_lock(&vsock->rx_lock); in virtio_vsock_vqs_del()
622 mutex_unlock(&vsock->rx_lock); in virtio_vsock_vqs_del()
664 mutex_init(&vsock->rx_lock); in virtio_vsock_probe()
/linux-6.6.21/drivers/net/wwan/
Dmhi_wwan_ctrl.c31 spinlock_t rx_lock; member
44 spin_lock_bh(&mhiwwan->rx_lock); in mhi_wwan_rx_budget_inc()
51 spin_unlock_bh(&mhiwwan->rx_lock); in mhi_wwan_rx_budget_inc()
59 spin_lock_bh(&mhiwwan->rx_lock); in mhi_wwan_rx_budget_dec()
67 spin_unlock_bh(&mhiwwan->rx_lock); in mhi_wwan_rx_budget_dec()
133 spin_lock_bh(&mhiwwan->rx_lock); in mhi_wwan_ctrl_stop()
135 spin_unlock_bh(&mhiwwan->rx_lock); in mhi_wwan_ctrl_stop()
229 spin_lock_init(&mhiwwan->rx_lock); in mhi_wwan_ctrl_probe()
/linux-6.6.21/sound/soc/intel/avs/
Dipc.c293 spin_lock_irq(&ipc->rx_lock); in avs_dsp_process_response()
296 spin_unlock_irq(&ipc->rx_lock); in avs_dsp_process_response()
411 spin_lock(&ipc->rx_lock); in avs_ipc_wait_busy_completion()
417 spin_unlock(&ipc->rx_lock); in avs_ipc_wait_busy_completion()
421 spin_unlock(&ipc->rx_lock); in avs_ipc_wait_busy_completion()
425 spin_unlock(&ipc->rx_lock); in avs_ipc_wait_busy_completion()
431 lockdep_assert_held(&ipc->rx_lock); in avs_ipc_msg_init()
468 spin_lock(&ipc->rx_lock); in avs_dsp_do_send_msg()
471 spin_unlock(&ipc->rx_lock); in avs_dsp_do_send_msg()
556 spin_lock(&ipc->rx_lock); in avs_dsp_do_send_rom_msg()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c816 spin_lock_bh(&target->rx_lock); in alloc_htc_packet_container()
819 spin_unlock_bh(&target->rx_lock); in alloc_htc_packet_container()
826 spin_unlock_bh(&target->rx_lock); in alloc_htc_packet_container()
837 spin_lock_bh(&target->rx_lock); in free_htc_packet_container()
848 spin_unlock_bh(&target->rx_lock); in free_htc_packet_container()
1042 spin_lock_bh(&target->rx_lock); in ath6kl_htc_pipe_rx_complete()
1050 spin_unlock_bh(&target->rx_lock); in ath6kl_htc_pipe_rx_complete()
1101 spin_lock_bh(&target->rx_lock); in htc_flush_rx_queue()
1111 spin_unlock_bh(&target->rx_lock); in htc_flush_rx_queue()
1125 spin_lock_bh(&target->rx_lock); in htc_flush_rx_queue()
[all …]
Dhtc_mbox.c1354 spin_lock_bh(&endpoint->target->rx_lock); in ath6kl_htc_rx_chk_water_mark()
1357 spin_unlock_bh(&endpoint->target->rx_lock); in ath6kl_htc_rx_chk_water_mark()
1361 spin_unlock_bh(&endpoint->target->rx_lock); in ath6kl_htc_rx_chk_water_mark()
1403 spin_unlock_bh(&target->rx_lock); in ath6kl_htc_rx_setup()
1408 spin_lock_bh(&target->rx_lock); in ath6kl_htc_rx_setup()
1413 spin_unlock_bh(&target->rx_lock); in ath6kl_htc_rx_setup()
1415 spin_lock_bh(&target->rx_lock); in ath6kl_htc_rx_setup()
1479 spin_lock_bh(&target->rx_lock); in ath6kl_htc_rx_alloc()
1546 spin_unlock_bh(&target->rx_lock); in ath6kl_htc_rx_alloc()
1554 spin_unlock_bh(&target->rx_lock); in ath6kl_htc_rx_alloc()
[all …]
/linux-6.6.21/drivers/mailbox/
Dapple-mailbox.c105 spinlock_t rx_lock; member
239 spin_lock(&apple_mbox->rx_lock); in apple_mbox_recv_irq()
241 spin_unlock(&apple_mbox->rx_lock); in apple_mbox_recv_irq()
252 spin_lock_irqsave(&apple_mbox->rx_lock, flags); in apple_mbox_chan_peek_data()
254 spin_unlock_irqrestore(&apple_mbox->rx_lock, flags); in apple_mbox_chan_peek_data()
363 spin_lock_init(&mbox->rx_lock); in apple_mbox_probe()
/linux-6.6.21/drivers/net/wireless/rsi/
Drsi_91x_sdio_ops.c242 mutex_lock(&common->rx_lock); in rsi_rx_handler()
250 mutex_unlock(&common->rx_lock); in rsi_rx_handler()
258 mutex_unlock(&common->rx_lock); in rsi_rx_handler()
314 mutex_unlock(&common->rx_lock); in rsi_rx_handler()
329 mutex_unlock(&common->rx_lock); in rsi_rx_handler()
/linux-6.6.21/net/kcm/
Dkcmsock.c185 spin_lock_bh(&mux->rx_lock); in kcm_rfree()
187 spin_unlock_bh(&mux->rx_lock); in kcm_rfree()
265 spin_lock_bh(&mux->rx_lock); in reserve_rx_kcm()
268 spin_unlock_bh(&mux->rx_lock); in reserve_rx_kcm()
279 spin_unlock_bh(&mux->rx_lock); in reserve_rx_kcm()
293 spin_unlock_bh(&mux->rx_lock); in reserve_rx_kcm()
315 spin_lock_bh(&mux->rx_lock); in unreserve_rx_kcm()
327 spin_unlock_bh(&mux->rx_lock); in unreserve_rx_kcm()
345 spin_unlock_bh(&mux->rx_lock); in unreserve_rx_kcm()
1075 spin_lock_bh(&mux->rx_lock); in kcm_recv_disable()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/
Def100_rep.c36 spin_lock_init(&efv->rx_lock); in efx_ef100_rep_init_struct()
404 spin_lock_bh(&efv->rx_lock); in efx_ef100_rep_poll()
412 spin_unlock_bh(&efv->rx_lock); in efx_ef100_rep_poll()
417 spin_lock_bh(&efv->rx_lock); in efx_ef100_rep_poll()
425 spin_unlock_bh(&efv->rx_lock); in efx_ef100_rep_poll()
473 spin_lock_bh(&efv->rx_lock); in efx_ef100_rep_rx_packet()
477 spin_unlock_bh(&efv->rx_lock); in efx_ef100_rep_rx_packet()
/linux-6.6.21/drivers/soc/fsl/qe/
Dqmc.c192 spinlock_t rx_lock; member
440 spin_lock_irqsave(&chan->rx_lock, flags); in qmc_chan_read_submit()
481 spin_unlock_irqrestore(&chan->rx_lock, flags); in qmc_chan_read_submit()
504 spin_lock_irqsave(&chan->rx_lock, flags); in qmc_chan_read_done()
529 spin_unlock_irqrestore(&chan->rx_lock, flags); in qmc_chan_read_done()
531 spin_lock_irqsave(&chan->rx_lock, flags); in qmc_chan_read_done()
539 spin_unlock_irqrestore(&chan->rx_lock, flags); in qmc_chan_read_done()
552 spin_lock_irqsave(&chan->rx_lock, flags); in qmc_chan_stop_rx()
565 spin_unlock_irqrestore(&chan->rx_lock, flags); in qmc_chan_stop_rx()
615 spin_lock_irqsave(&chan->rx_lock, flags); in qmc_chan_start_rx()
[all …]
/linux-6.6.21/drivers/staging/pi433/
Dpi433_if.c97 struct mutex rx_lock; /* protects rx_* variable accesses */ member
780 mutex_lock(&device->rx_lock); in pi433_read()
782 mutex_unlock(&device->rx_lock); in pi433_read()
787 mutex_unlock(&device->rx_lock); in pi433_read()
795 mutex_lock(&device->rx_lock); in pi433_read()
797 mutex_unlock(&device->rx_lock); in pi433_read()
920 mutex_lock(&device->rx_lock); in pi433_ioctl()
924 mutex_unlock(&device->rx_lock); in pi433_ioctl()
930 mutex_unlock(&device->rx_lock); in pi433_ioctl()
934 mutex_unlock(&device->rx_lock); in pi433_ioctl()
[all …]
/linux-6.6.21/drivers/staging/gdm724x/
Dgdm_usb.c217 spin_lock_irqsave(&rx->rx_lock, flags); in get_rx_struct()
220 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct()
231 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct()
240 spin_lock_irqsave(&rx->rx_lock, flags); in put_rx_struct()
245 spin_unlock_irqrestore(&rx->rx_lock, flags); in put_rx_struct()
283 spin_lock_irqsave(&rx->rx_lock, flags); in release_usb()
288 spin_unlock_irqrestore(&rx->rx_lock, flags); in release_usb()
321 spin_lock_init(&rx->rx_lock); in init_usb()
959 spin_lock_irqsave(&rx->rx_lock, flags); in gdm_usb_resume()
961 spin_unlock_irqrestore(&rx->rx_lock, flags); in gdm_usb_resume()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dutil.c94 spin_lock(&dev->rx_lock); in mt76_get_min_avg_rssi()
99 spin_unlock(&dev->rx_lock); in mt76_get_min_avg_rssi()
/linux-6.6.21/drivers/staging/nvec/
Dnvec.c444 spin_lock_irqsave(&nvec->rx_lock, flags); in nvec_dispatch()
448 spin_unlock_irqrestore(&nvec->rx_lock, flags); in nvec_dispatch()
460 spin_lock_irqsave(&nvec->rx_lock, flags); in nvec_dispatch()
462 spin_unlock_irqrestore(&nvec->rx_lock, flags); in nvec_dispatch()
506 spin_lock(&nvec->rx_lock); in nvec_rx_completed()
514 spin_unlock(&nvec->rx_lock); in nvec_rx_completed()
823 spin_lock_init(&nvec->rx_lock); in tegra_nvec_probe()
/linux-6.6.21/drivers/tty/
Dmips_ejtag_fdc.c107 raw_spinlock_t rx_lock; member
574 raw_spin_lock(&dport->rx_lock); in mips_ejtag_fdc_handle()
618 raw_spin_unlock(&dport->rx_lock); in mips_ejtag_fdc_handle()
711 raw_spin_lock_irq(&dport->rx_lock); in mips_ejtag_fdc_tty_port_activate()
713 raw_spin_unlock_irq(&dport->rx_lock); in mips_ejtag_fdc_tty_port_activate()
743 raw_spin_lock_irq(&dport->rx_lock); in mips_ejtag_fdc_tty_port_shutdown()
746 raw_spin_unlock_irq(&dport->rx_lock); in mips_ejtag_fdc_tty_port_shutdown()
945 raw_spin_lock_init(&dport->rx_lock); in mips_ejtag_fdc_tty_probe()
/linux-6.6.21/drivers/soc/qcom/
Dapr.c31 spinlock_t rx_lock; member
181 spin_lock_irqsave(&apr->rx_lock, flags); in apr_callback()
183 spin_unlock_irqrestore(&apr->rx_lock, flags); in apr_callback()
333 spin_lock_irqsave(&apr->rx_lock, flags); in apr_rxwq()
335 spin_unlock_irqrestore(&apr->rx_lock, flags); in apr_rxwq()
638 spin_lock_init(&apr->rx_lock); in apr_probe()
/linux-6.6.21/drivers/net/usb/
Dcdc-phonet.c37 spinlock_t rx_lock; member
148 spin_lock_irqsave(&pnd->rx_lock, flags); in rx_complete()
170 spin_unlock_irqrestore(&pnd->rx_lock, flags); in rx_complete()
367 spin_lock_init(&pnd->rx_lock); in usbpn_probe()
/linux-6.6.21/net/nfc/nci/
Duart.c125 spin_lock_init(&nu->rx_lock); in nci_uart_set_driver()
306 spin_lock(&nu->rx_lock); in nci_uart_tty_receive()
308 spin_unlock(&nu->rx_lock); in nci_uart_tty_receive()
/linux-6.6.21/drivers/firmware/
Darm_scpi.c240 spinlock_t rx_lock; /* locking for the rx pending list */ member
358 spin_lock_irqsave(&ch->rx_lock, flags); in scpi_process_cmd()
360 spin_unlock_irqrestore(&ch->rx_lock, flags); in scpi_process_cmd()
406 spin_unlock_irqrestore(&ch->rx_lock, flags); in scpi_process_cmd()
439 spin_lock_irqsave(&ch->rx_lock, flags); in scpi_tx_prepare()
441 spin_unlock_irqrestore(&ch->rx_lock, flags); in scpi_tx_prepare()
974 spin_lock_init(&pchan->rx_lock); in scpi_probe()
/linux-6.6.21/sound/soc/mediatek/common/
Dmtk-btcvsd.c131 spinlock_t rx_lock; /* spinlock for bt rx stream control */ member
388 spin_lock_irqsave(&bt->rx_lock, flags); in mtk_btcvsd_read_from_bt()
406 spin_unlock_irqrestore(&bt->rx_lock, flags); in mtk_btcvsd_read_from_bt()
708 spin_lock_irqsave(&bt->rx_lock, flags); in mtk_btcvsd_snd_read()
714 spin_unlock_irqrestore(&bt->rx_lock, flags); in mtk_btcvsd_snd_read()
752 spin_lock_irqsave(&bt->rx_lock, flags); in mtk_btcvsd_snd_read()
754 spin_unlock_irqrestore(&bt->rx_lock, flags); in mtk_btcvsd_snd_read()
994 lock = &bt->rx_lock; in mtk_pcm_btcvsd_pointer()
1298 spin_lock_init(&btcvsd->rx_lock); in mtk_btcvsd_snd_probe()
/linux-6.6.21/drivers/net/ethernet/cirrus/
Dep93xx_eth.c163 spinlock_t rx_lock; member
317 spin_lock_irq(&ep->rx_lock); in ep93xx_poll()
319 spin_unlock_irq(&ep->rx_lock); in ep93xx_poll()
430 spin_lock(&ep->rx_lock); in ep93xx_irq()
435 spin_unlock(&ep->rx_lock); in ep93xx_irq()
645 spin_lock_init(&ep->rx_lock); in ep93xx_open()
/linux-6.6.21/drivers/firmware/arm_ffa/
Ddriver.c81 struct mutex rx_lock; /* lock to protect Rx buffer */ member
200 mutex_lock(&drv_info->rx_lock); in __ffa_partition_info_get()
208 mutex_unlock(&drv_info->rx_lock); in __ffa_partition_info_get()
230 mutex_unlock(&drv_info->rx_lock); in __ffa_partition_info_get()
754 mutex_init(&drv_info->rx_lock); in ffa_init()
/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/
Ddma.c177 spin_lock_irqsave(&dev->rx_lock, flags); in mt7601u_rx_get_pending_entry()
186 spin_unlock_irqrestore(&dev->rx_lock, flags); in mt7601u_rx_get_pending_entry()
214 spin_lock_irqsave(&dev->rx_lock, flags); in mt7601u_complete_rx()
222 spin_unlock_irqrestore(&dev->rx_lock, flags); in mt7601u_complete_rx()
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpmac.c189 spinlock_t rx_lock; member
408 spin_lock(&priv->rx_lock); in cpmac_poll()
413 spin_unlock(&priv->rx_lock); in cpmac_poll()
493 spin_unlock(&priv->rx_lock); in cpmac_poll()
521 spin_unlock(&priv->rx_lock); in cpmac_poll()
720 spin_lock(&priv->rx_lock); in cpmac_hw_error()
722 spin_unlock(&priv->rx_lock); in cpmac_hw_error()
1115 spin_lock_init(&priv->rx_lock); in cpmac_probe()

123