Home
last modified time | relevance | path

Searched refs:B43_WARN_ON (Results 1 – 23 of 23) sorted by relevance

/linux-5.19.10/drivers/net/wireless/broadcom/b43/
Dtables_phy_ht.c612 B43_WARN_ON(offset > 0xFFFF); in b43_httab_read()
630 B43_WARN_ON(1); in b43_httab_read()
646 B43_WARN_ON(offset > 0xFFFF); in b43_httab_read_bulk()
667 B43_WARN_ON(1); in b43_httab_read_bulk()
681 B43_WARN_ON(value & ~0xFF); in b43_httab_write()
686 B43_WARN_ON(value & ~0xFFFF); in b43_httab_write()
696 B43_WARN_ON(1); in b43_httab_write()
717 B43_WARN_ON(value & ~0xFF); in b43_httab_write_few()
725 B43_WARN_ON(value & ~0xFFFF); in b43_httab_write_few()
740 B43_WARN_ON(1); in b43_httab_write_few()
[all …]
Dtables_phy_lcn.c463 B43_WARN_ON(offset > 0xFFFF); in b43_lcntab_read()
480 B43_WARN_ON(1); in b43_lcntab_read()
496 B43_WARN_ON(offset > 0xFFFF); in b43_lcntab_read_bulk()
520 B43_WARN_ON(1); in b43_lcntab_read_bulk()
534 B43_WARN_ON(value & ~0xFF); in b43_lcntab_write()
539 B43_WARN_ON(value & ~0xFFFF); in b43_lcntab_write()
549 B43_WARN_ON(1); in b43_lcntab_write()
564 B43_WARN_ON(offset > 0xFFFF); in b43_lcntab_write_bulk()
573 B43_WARN_ON(value & ~0xFF); in b43_lcntab_write_bulk()
579 B43_WARN_ON(value & ~0xFFFF); in b43_lcntab_write_bulk()
[all …]
Dtables_nphy.c3316 B43_WARN_ON(offset > 0xFFFF); in b43_ntab_read()
3333 B43_WARN_ON(1); in b43_ntab_read()
3349 B43_WARN_ON(offset > 0xFFFF); in b43_ntab_read_bulk()
3377 B43_WARN_ON(1); in b43_ntab_read_bulk()
3391 B43_WARN_ON(value & ~0xFF); in b43_ntab_write()
3396 B43_WARN_ON(value & ~0xFFFF); in b43_ntab_write()
3406 B43_WARN_ON(1); in b43_ntab_write()
3424 B43_WARN_ON(offset > 0xFFFF); in b43_ntab_write_bulk()
3440 B43_WARN_ON(value & ~0xFF); in b43_ntab_write_bulk()
3446 B43_WARN_ON(value & ~0xFFFF); in b43_ntab_write_bulk()
[all …]
Ddma.c97 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor()
189 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op64_fill_descriptor()
264 B43_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot()
272 B43_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot()
304 B43_WARN_ON(!ring->tx); in request_slot()
305 B43_WARN_ON(ring->stopped); in request_slot()
306 B43_WARN_ON(free_slots(ring) == 0); in request_slot()
337 B43_WARN_ON(!(controller_idx >= 0 && in b43_dmacontroller_base()
341 B43_WARN_ON(!(controller_idx >= 0 && in b43_dmacontroller_base()
380 B43_WARN_ON(ring->tx); in sync_descbuffer_for_cpu()
[all …]
Dphy_common.c67 if (B43_WARN_ON(!phy->ops)) in b43_phy_allocate()
149 B43_WARN_ON(dev->phy.radio_locked); in b43_radio_lock()
167 B43_WARN_ON(!dev->phy.radio_locked); in b43_radio_unlock()
182 B43_WARN_ON(dev->phy.phy_locked); in b43_phy_lock()
185 B43_WARN_ON(dev->dev->core_rev < 3); in b43_phy_lock()
194 B43_WARN_ON(!dev->phy.phy_locked); in b43_phy_unlock()
197 B43_WARN_ON(dev->dev->core_rev < 3); in b43_phy_unlock()
502 B43_WARN_ON(result != B43_TXPWR_RES_NEED_ADJUST); in b43_phy_txpower_check()
503 B43_WARN_ON(phy->ops->adjust_txpower == NULL); in b43_phy_txpower_check()
Dxmit.c49 B43_WARN_ON(1); in b43_tx_legacy_rate_phy_ctl_ent()
108 B43_WARN_ON(1); in b43_plcp_get_ratecode_cck()
132 B43_WARN_ON(1); in b43_plcp_get_ratecode_ofdm()
145 B43_WARN_ON(octets & 0xF000); in b43_generate_plcp_hdr()
230 B43_WARN_ON(1); in b43_calc_fallback_rate()
299 B43_WARN_ON(key_idx >= ARRAY_SIZE(dev->key)); in b43_generate_txhdr()
394 B43_WARN_ON(1); in b43_generate_txhdr()
595 B43_WARN_ON(phy->type != B43_PHYTYPE_G); in b43_rssi_postprocess()
705 B43_WARN_ON(keyidx >= ARRAY_SIZE(dev->key)); in b43_rx()
802 B43_WARN_ON(1); in b43_rx()
Dpio.c69 if (B43_WARN_ON(!q)) in parse_cookie()
72 if (B43_WARN_ON(pack_index >= ARRAY_SIZE(q->packets))) in parse_cookie()
102 B43_WARN_ON(index >= ARRAY_SIZE(bases_rev11)); in index_to_pioqueue_base()
105 B43_WARN_ON(index >= ARRAY_SIZE(bases)); in index_to_pioqueue_base()
296 B43_WARN_ON(1); in select_queue_by_priority()
452 B43_WARN_ON(list_empty(&q->packets_list)); in pio_tx_frame()
459 B43_WARN_ON(sizeof(wl->pio_scratchspace) < hdrlen); in pio_tx_frame()
523 B43_WARN_ON(q->buffer_used > q->buffer_size); in b43_pio_tx()
551 B43_WARN_ON(q->buffer_used > q->buffer_size); in b43_pio_tx()
574 B43_WARN_ON(!pack); in b43_pio_handle_txstatus()
Dmain.c468 B43_WARN_ON(offset % 4 != 0); in b43_ram_write()
495 B43_WARN_ON(offset & 0x0001); in b43_shm_read32()
518 B43_WARN_ON(offset & 0x0001); in b43_shm_read16()
537 B43_WARN_ON(offset & 0x0001); in b43_shm_write32()
557 B43_WARN_ON(offset & 0x0001); in b43_shm_write16()
600 B43_WARN_ON(!dev->fw.opensource); in b43_fwcapa_read()
608 B43_WARN_ON(dev->dev->core_rev < 3); in b43_tsf_read()
638 B43_WARN_ON(dev->dev->core_rev < 3); in b43_tsf_write_locked()
856 B43_WARN_ON(index < pairwise_keys_start); in keymac_write()
863 B43_WARN_ON(index >= B43_NR_PAIRWISE_KEYS); in keymac_write()
[all …]
Dphy_g.c63 B43_WARN_ON(!(channel >= 1 && channel <= 14)); in channel2freq_bg()
564 B43_WARN_ON(phy->type != B43_PHYTYPE_G); in b43_calc_nrssi_slope()
706 B43_WARN_ON(phy->type != B43_PHYTYPE_G); in b43_calc_nrssi_threshold()
764 B43_WARN_ON(offset & 0xF000); in _stack_save()
765 B43_WARN_ON(id & 0xF0); in _stack_save()
770 B43_WARN_ON(*stackidx >= B43_INTERFSTACK_SIZE); in _stack_save()
777 B43_WARN_ON(offset & 0xF000); in _stack_restore()
778 B43_WARN_ON(id & 0xF0); in _stack_restore()
786 B43_WARN_ON(1); in _stack_restore()
843 B43_WARN_ON(tmp > 15); in b43_radio_interference_mitigation_enable()
[all …]
Dsysfs.c71 B43_WARN_ON(1); in b43_attr_interfmode_show()
131 B43_WARN_ON(b43_status(wldev) != B43_STAT_INITIALIZED); in b43_sysfs_register()
Dwa.c145 B43_WARN_ON(1); in b43_wa_msst()
368 B43_WARN_ON(1); in b43_wa_all()
372 B43_WARN_ON(1); in b43_wa_all()
Dlo.c58 B43_WARN_ON(phy->type != B43_PHYTYPE_G); in b43_lo_write()
76 B43_WARN_ON(lna & ~B43_PHY_RFOVERVAL_LNA); in lo_measure_feedthrough()
77 B43_WARN_ON(pga & ~B43_PHY_RFOVERVAL_PGA); in lo_measure_feedthrough()
610 B43_WARN_ON(!(i >= 1 && i <= 8)); in lo_probe_possible_loctls()
682 B43_WARN_ON(! in lo_probe_loctls_statemachine()
819 B43_WARN_ON(lo->rfatt_list.len * lo->bbatt_list.len > 64); in b43_gphy_dc_lt_init()
957 B43_WARN_ON(current_item_expired); in b43_lo_g_maintenance_work()
Dradio_2057.c564 B43_WARN_ON(!table); in r2057_upload_inittabs()
622 B43_WARN_ON(1); in r2057_get_chantabent_rev7()
Dphy_lp.c163 B43_WARN_ON(dev->phy.rev >= 2); in lpphy_adjust_gain_table()
546 B43_WARN_ON(!(bus->chipco.capabilities & SSB_CHIPCO_CAP_PMU)); in lpphy_2062_init()
547 B43_WARN_ON(crystalfreq == 0); in lpphy_2062_init()
1104 B43_WARN_ON(1); in lpphy_read_tx_pctl_mode_from_hardware()
1127 B43_WARN_ON(1); in lpphy_write_tx_pctl_mode_to_hardware()
1347 if (B43_WARN_ON(antenna > B43_ANTENNA_AUTO1)) in b43_lpphy_op_set_rx_antenna()
1473 B43_WARN_ON(1); in lpphy_set_tssi_mux()
1781 if(B43_WARN_ON(samples > 63)) in lpphy_start_tx_tone()
1867 if (B43_WARN_ON(!iqcomp)) in lpphy_rx_iq_cal()
1976 B43_WARN_ON(reg == 1); in b43_lpphy_op_radio_read()
[all …]
Dtables_lpphy.c587 B43_WARN_ON(offset > 0xFFFF); in b43_lptab_read()
605 B43_WARN_ON(1); in b43_lptab_read()
621 B43_WARN_ON(offset > 0xFFFF); in b43_lptab_read_bulk()
642 B43_WARN_ON(1); in b43_lptab_read_bulk()
653 B43_WARN_ON(offset > 0xFFFF); in b43_lptab_write()
657 B43_WARN_ON(value & ~0xFF); in b43_lptab_write()
662 B43_WARN_ON(value & ~0xFFFF); in b43_lptab_write()
672 B43_WARN_ON(1); in b43_lptab_write()
685 B43_WARN_ON(offset > 0xFFFF); in b43_lptab_write_bulk()
694 B43_WARN_ON(value & ~0xFF); in b43_lptab_write_bulk()
[all …]
Dradio_2059.c330 B43_WARN_ON(1); in r2059_upload_inittabs()
Db43.h1095 # define B43_WARN_ON(x) WARN_ON(x) macro
1098 # define B43_WARN_ON(x) __b43_warn_on_dummy(unlikely(!!(x))) macro
Ddebugfs.c420 B43_WARN_ON(expire < now); in calc_expire_secs()
675 B43_WARN_ON(!dev); in b43_debugfs_add_device()
Dleds.c236 B43_WARN_ON(1); in b43_led_get_sprominfo()
Dphy_n.c127 B43_WARN_ON(seq >= ARRAY_SIZE(trigger)); in b43_nphy_force_rf_sequence()
165 B43_WARN_ON(1); in b43_nphy_rf_ctl_override_rev7()
204 B43_WARN_ON(phy->rev < 7); in b43_nphy_rf_ctl_override_one_to_many()
248 B43_WARN_ON(field & (~(1 << (index - 1)))); in b43_nphy_rf_ctl_override()
399 B43_WARN_ON(dev->phy.rev < 3); in b43_nphy_rf_ctl_intc_override()
1134 B43_WARN_ON(dev->phy.rev < 3); in b43_radio_2056_setup()
1413 B43_WARN_ON(dev->phy.rev >= 3); in b43_radio_2055_setup()
2318 B43_WARN_ON(1); in b43_nphy_rev2_rssi_cal()
4595 B43_WARN_ON(dev->phy.rev < 3); in b43_nphy_spur_workaround()
6530 B43_WARN_ON(dev->phy.rev < 7 && reg == 1); in b43_nphy_op_radio_read()
[all …]
Dphy_lcn.c721 B43_WARN_ON(1); in b43_phy_lcn_op_init()
Dphy_ht.c1032 B43_WARN_ON(1); in b43_phy_ht_op_software_rfkill()
Dradio_2056.c10222 B43_WARN_ON(1); in b2056_upload_inittabs()
10245 B43_WARN_ON(1); in b2056_upload_syn_pll_cp2()
10294 B43_WARN_ON(1); in b43_nphy_get_chantabent_rev3()