Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf.c76 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_rf_init_hw()
123 ZD_ASSERT(mutex_is_locked(&zd_rf_to_chip(rf)->mutex)); in zd_rf_set_channel()
141 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_switch_radio_on()
158 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_switch_radio_off()
Dzd_def.h51 # define ZD_ASSERT(x) \ macro
60 # define ZD_ASSERT(x) do { } while (0) macro
Dzd_chip.c46 ZD_ASSERT(!mutex_is_locked(&chip->mutex)); in zd_chip_clear()
154 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in _zd_iowrite32v_async_locked()
203 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_iowrite16a_locked()
335 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in read_pod()
448 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in read_values()
523 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_chip_lock_phy_regs()
543 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_chip_unlock_phy_regs()
583 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in patch_6m_band_edge()
787 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd1211_hw_init_hmac()
806 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd1211b_hw_init_hmac()
[all …]
Dzd_usb.c393 ZD_ASSERT(in_interrupt()); in handle_regs_int()
542 ZD_ASSERT(!irqs_disabled()); in zd_usb_enable_int()
698 ZD_ASSERT(length <= ARRAY_SIZE(rx->fragment)); in rx_urb_complete()
709 ZD_ASSERT(length + rx->fragment_length <= in rx_urb_complete()
779 ZD_ASSERT(!irqs_disabled()); in __zd_usb_enable_rx()
1193 ZD_ASSERT(rx->fragment_length == 0); in init_usb_rx()
1744 ZD_ASSERT(mutex_is_locked(&zd_usb_to_chip(usb)->mutex)); in zd_usb_ioread16v()
1836 ZD_ASSERT(usb_anchor_empty(&usb->submitted_cmds)); in zd_usb_iowrite16v_async_start()
1837 ZD_ASSERT(usb->urb_async_waiting == NULL); in zd_usb_iowrite16v_async_start()
1838 ZD_ASSERT(!usb->in_async); in zd_usb_iowrite16v_async_start()
[all …]
Dzd_mac.c208 ZD_ASSERT(!irqs_disabled()); in zd_mac_init_hw()
238 ZD_ASSERT(!spin_is_locked(&mac->lock)); in zd_mac_clear()
469 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_status()
471 ZD_ASSERT(1 <= retry && retry <= retries->count); in zd_mac_tx_status()
541 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_failed()
701 ZD_ASSERT(mutex_is_locked(&mac->chip.mutex)); in zd_mac_free_cur_beacon_locked()
874 ZD_ASSERT(frag_len <= 0xffff); in fill_ctrlset()
895 ZD_ASSERT(packet_length <= 0xffff); in fill_ctrlset()
Dzd_chip.h812 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_ioread16v_locked()
819 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_ioread16_locked()
837 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_iowrite16_locked()
866 ZD_ASSERT(mutex_is_locked(&chip->mutex)); in zd_rfwrite_locked()