Home
last modified time | relevance | path

Searched refs:ZD_ASSERT (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf.c64 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_rf_init_hw()
111 ZD_ASSERT(mutex_is_locked(&zd_rf_to_chip(rf)->mutex)); in zd_rf_set_channel()
129 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_switch_radio_on()
146 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_switch_radio_off()
Dzd_def.h39 # define ZD_ASSERT(x) \ macro
48 # define ZD_ASSERT(x) do { } while (0) macro
Dzd_chip.c34 ZD_ASSERT(!mutex_is_locked(&chip->mutex)); in zd_chip_clear()
141 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in _zd_iowrite32v_async_locked()
190 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_iowrite16a_locked()
322 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in read_pod()
435 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in read_values()
510 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_chip_lock_phy_regs()
530 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_chip_unlock_phy_regs()
570 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in patch_6m_band_edge()
774 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd1211_hw_init_hmac()
793 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd1211b_hw_init_hmac()
[all …]
Dzd_usb.c529 ZD_ASSERT(!irqs_disabled()); in zd_usb_enable_int()
683 ZD_ASSERT(length <= ARRAY_SIZE(rx->fragment)); in rx_urb_complete()
694 ZD_ASSERT(length + rx->fragment_length <= in rx_urb_complete()
764 ZD_ASSERT(!irqs_disabled()); in __zd_usb_enable_rx()
1178 ZD_ASSERT(rx->fragment_length == 0); in init_usb_rx()
1725 ZD_ASSERT(mutex_is_locked(&zd_usb_to_chip(usb)->mutex)); in zd_usb_ioread16v()
1817 ZD_ASSERT(usb_anchor_empty(&usb->submitted_cmds)); in zd_usb_iowrite16v_async_start()
1818 ZD_ASSERT(usb->urb_async_waiting == NULL); in zd_usb_iowrite16v_async_start()
1819 ZD_ASSERT(!usb->in_async); in zd_usb_iowrite16v_async_start()
1821 ZD_ASSERT(mutex_is_locked(&zd_usb_to_chip(usb)->mutex)); in zd_usb_iowrite16v_async_start()
[all …]
Dzd_mac.c196 ZD_ASSERT(!irqs_disabled()); in zd_mac_init_hw()
455 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_status()
457 ZD_ASSERT(1 <= retry && retry <= retries->count); in zd_mac_tx_status()
527 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_failed()
687 ZD_ASSERT(mutex_is_locked(&mac->chip.mutex)); in zd_mac_free_cur_beacon_locked()
860 ZD_ASSERT(frag_len <= 0xffff); in fill_ctrlset()
881 ZD_ASSERT(packet_length <= 0xffff); in fill_ctrlset()
Dzd_chip.h800 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_ioread16v_locked()
807 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_ioread16_locked()
825 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_iowrite16_locked()
854 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_rfwrite_locked()