Home
last modified time | relevance | path

Searched refs:bf (Results 1 – 25 of 72) sorted by relevance

123

/drivers/net/wireless/ath/ath9k/
A Dxmit.c294 bf = fi->bf; in ath_tx_flush_tid()
375 bf = fi->bf; in ath_tid_drain()
391 struct ath_buf *bf = fi->bf; in ath_tx_set_retry() local
478 bf = bf->bf_next; in ath_tx_count_frames()
626 if (bf == bf->bf_lastbf) in ath_tx_complete_aggr()
954 bf = fi->bf; in ath_tx_get_tid_subframe()
967 bf->bf_lastbf = bf; in ath_tx_get_tid_subframe()
1491 bf = bf->bf_next; in ath_tx_fill_desc()
2125 bf->bf_lastbf = bf; in ath_tx_send_normal()
2260 fi->bf = bf; in ath_tx_setup_buffer()
[all …]
A Drecv.c45 ds = bf->bf_desc; in ath_rx_buf_link()
166 BUG_ON(!bf); in ath_rx_remove_buffer()
217 if (!bf) in ath_rx_edma_init()
644 BUG_ON(!bf); in ath_edma_get_buffers()
673 bf = NULL; in ath_edma_get_buffers()
676 *dest = bf; in ath_edma_get_buffers()
687 if (!bf) in ath_edma_get_next_rx_buf()
690 return bf; in ath_edma_get_next_rx_buf()
773 return bf; in ath_get_next_rx_buf()
784 return bf; in ath_get_next_rx_buf()
[all …]
A Dbeacon.c117 struct ath_buf *bf; in ath9k_beacon_generate() local
128 bf = avp->av_bcbuf; in ath9k_beacon_generate()
129 skb = bf->bf_mpdu; in ath9k_beacon_generate()
134 bf->bf_buf_addr = 0; in ath9k_beacon_generate()
135 bf->bf_mpdu = NULL; in ath9k_beacon_generate()
142 bf->bf_mpdu = skb; in ath9k_beacon_generate()
159 bf->bf_mpdu = NULL; in ath9k_beacon_generate()
192 return bf; in ath9k_beacon_generate()
228 if (bf && bf->bf_mpdu) { in ath9k_beacon_remove_slot()
233 bf->bf_mpdu = NULL; in ath9k_beacon_remove_slot()
[all …]
A Dinit.c340 struct ath_buf *bf; in ath_descdma_setup() local
344 if (!bf) in ath_descdma_setup()
348 bf->bf_desc = ds; in ath_descdma_setup()
349 bf->bf_daddr = DS2PHYS(dd, ds); in ath_descdma_setup()
364 bf->bf_desc = ds; in ath_descdma_setup()
368 list_add_tail(&bf->list, head); in ath_descdma_setup()
371 struct ath_rxbuf *bf; in ath_descdma_setup() local
375 if (!bf) in ath_descdma_setup()
379 bf->bf_desc = ds; in ath_descdma_setup()
380 bf->bf_daddr = DS2PHYS(dd, ds); in ath_descdma_setup()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_bloom_filter.c439 mutex_lock(&bf->lock); in mlxsw_sp_acl_bf_entry_add()
467 mutex_unlock(&bf->lock); in mlxsw_sp_acl_bf_entry_add()
482 mutex_lock(&bf->lock); in mlxsw_sp_acl_bf_entry_del()
500 mutex_unlock(&bf->lock); in mlxsw_sp_acl_bf_entry_del()
506 struct mlxsw_sp_acl_bf *bf; in mlxsw_sp_acl_bf_init() local
516 bf = kzalloc(struct_size(bf, refcnt, size_mul(bf_bank_size, num_erp_banks)), in mlxsw_sp_acl_bf_init()
518 if (!bf) in mlxsw_sp_acl_bf_init()
522 mutex_init(&bf->lock); in mlxsw_sp_acl_bf_init()
524 return bf; in mlxsw_sp_acl_bf_init()
529 mutex_destroy(&bf->lock); in mlxsw_sp_acl_bf_fini()
[all …]
A Dspectrum_acl_tcam.h284 unsigned int (*index_get)(struct mlxsw_sp_acl_bf *bf,
291 struct mlxsw_sp_acl_bf *bf,
297 struct mlxsw_sp_acl_bf *bf,
303 void mlxsw_sp_acl_bf_fini(struct mlxsw_sp_acl_bf *bf);
/drivers/net/wireless/ath/ath5k/
A Dbase.c638 bf->skb = skb; in ath5k_rxbuf_setup()
656 ds = bf->desc; in ath5k_rxbuf_setup()
965 BUG_ON(!bf); in ath5k_txbuf_free_skb()
966 if (!bf->skb) in ath5k_txbuf_free_skb()
968 dma_unmap_single(ah->dev, bf->skbaddr, bf->skb->len, in ath5k_txbuf_free_skb()
981 BUG_ON(!bf); in ath5k_rxbuf_free_skb()
982 if (!bf->skb) in ath5k_rxbuf_free_skb()
1694 bf->skb = skb; in ath5k_tx_queue()
1877 ds = bf->desc; in ath5k_beacon_setup()
2050 ATH5K_WARN(ah, "bf=%p bf_skb=%p\n", bf, bf->skb); in ath5k_beacon_send()
[all …]
A Ddebug.c817 struct ath5k_buf *bf, *bf0; in read_file_queue() local
834 list_for_each_entry_safe(bf, bf0, &txq->q, list) in read_file_queue()
1046 ath5k_debug_printrxbuf(struct ath5k_buf *bf, int done, in ath5k_debug_printrxbuf() argument
1049 struct ath5k_desc *ds = bf->desc; in ath5k_debug_printrxbuf()
1053 ds, (unsigned long long)bf->daddr, in ath5k_debug_printrxbuf()
1064 struct ath5k_buf *bf; in ath5k_debug_printrxbuffs() local
1075 list_for_each_entry(bf, &ah->rxbuf, list) { in ath5k_debug_printrxbuffs()
1076 ds = bf->desc; in ath5k_debug_printrxbuffs()
1079 ath5k_debug_printrxbuf(bf, status == 0, &rs); in ath5k_debug_printrxbuffs()
1087 struct ath5k_desc *ds = bf->desc; in ath5k_debug_printtxbuf()
[all …]
A Ddebug.h138 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf);
161 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf) {} in ath5k_debug_printtxbuf() argument
A Dbase.h105 void ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
106 void ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
/drivers/net/ethernet/mellanox/mlx4/
A Dpd.c221 bf->uar = uar; in mlx4_bf_alloc()
222 bf->offset = 0; in mlx4_bf_alloc()
231 bf->uar = NULL; in mlx4_bf_alloc()
251 if (!bf->uar || !bf->uar->bf_map) in mlx4_bf_free()
255 idx = (bf->reg - bf->uar->bf_map) / dev->caps.bf_reg_size; in mlx4_bf_free()
257 if (!bf->uar->free_bf_bmap) { in mlx4_bf_free()
259 list_del(&bf->uar->bf_list); in mlx4_bf_free()
261 io_mapping_unmap(bf->uar->bf_map); in mlx4_bf_free()
262 iounmap(bf->uar->map); in mlx4_bf_free()
263 mlx4_uar_free(dev, bf->uar); in mlx4_bf_free()
[all …]
A Den_tx.c123 err = mlx4_bf_alloc(mdev->dev, &ring->bf, node); in mlx4_en_create_tx_ring()
126 ring->bf.uar = &mdev->priv_uar; in mlx4_en_create_tx_ring()
127 ring->bf.uar->map = mdev->uar_map; in mlx4_en_create_tx_ring()
136 ring->doorbell_address = ring->bf.uar->map + MLX4_SEND_DOORBELL; in mlx4_en_create_tx_ring()
173 mlx4_bf_free(mdev->dev, &ring->bf); in mlx4_en_destroy_tx_ring()
210 ring->bf.uar->index)); in mlx4_en_activate_tx_ring()
789 mlx4_bf_copy(ring->bf.reg + ring->bf.offset, &tx_desc->ctrl, in mlx4_en_tx_write_desc()
794 ring->bf.offset ^= ring->bf.buf_size; in mlx4_en_tx_write_desc()
/drivers/crypto/amcc/
A Dcrypto4xx_sa.h40 } bf; member
104 } bf; member
165 } bf; member
280 + cts->sa_contents.bf.inner_size in get_dynamic_sa_offset_state_ptr_field()
282 + cts->sa_contents.bf.spi in get_dynamic_sa_offset_state_ptr_field()
283 + cts->sa_contents.bf.seq_num0 in get_dynamic_sa_offset_state_ptr_field()
284 + cts->sa_contents.bf.seq_num1 in get_dynamic_sa_offset_state_ptr_field()
289 + cts->sa_contents.bf.iv0 in get_dynamic_sa_offset_state_ptr_field()
290 + cts->sa_contents.bf.iv1 in get_dynamic_sa_offset_state_ptr_field()
291 + cts->sa_contents.bf.iv2 in get_dynamic_sa_offset_state_ptr_field()
[all …]
A Dcrypto4xx_alg.c34 sa->sa_command_0.bf.save_iv = save_iv; in set_dynamic_sa_command_0()
36 sa->sa_command_0.bf.load_iv = ld_iv; in set_dynamic_sa_command_0()
37 sa->sa_command_0.bf.hdr_proc = hdr_proc; in set_dynamic_sa_command_0()
38 sa->sa_command_0.bf.hash_alg = h; in set_dynamic_sa_command_0()
39 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0()
42 sa->sa_command_0.bf.op_group = op_grp; in set_dynamic_sa_command_0()
43 sa->sa_command_0.bf.opcode = op; in set_dynamic_sa_command_0()
44 sa->sa_command_0.bf.dir = dir; in set_dynamic_sa_command_0()
56 sa->sa_command_1.bf.sa_rev = 1; in set_dynamic_sa_command_1()
61 sa->sa_command_1.bf.copy_pad = cp_pad; in set_dynamic_sa_command_1()
[all …]
A Dcrypto4xx_core.c65 pe_dma_cfg.bf.bo_sa_en = 1; in crypto4xx_hw_init()
66 pe_dma_cfg.bf.bo_pd_en = 1; in crypto4xx_hw_init()
68 pe_dma_cfg.bf.reset_sg = 1; in crypto4xx_hw_init()
69 pe_dma_cfg.bf.reset_pdr = 1; in crypto4xx_hw_init()
70 pe_dma_cfg.bf.reset_pe = 1; in crypto4xx_hw_init()
73 pe_dma_cfg.bf.pe_mode = 0; in crypto4xx_hw_init()
74 pe_dma_cfg.bf.reset_sg = 0; in crypto4xx_hw_init()
75 pe_dma_cfg.bf.reset_pdr = 0; in crypto4xx_hw_init()
76 pe_dma_cfg.bf.reset_pe = 0; in crypto4xx_hw_init()
77 pe_dma_cfg.bf.bo_td_en = 0; in crypto4xx_hw_init()
[all …]
A Dcrypto4xx_reg_def.h160 } bf; member
172 } bf; member
184 } bf; member
195 } bf; member
206 } bf; member
255 } bf; member
269 } bf; member
/drivers/gpu/drm/nouveau/nvkm/core/
A Denum.c42 nvkm_snprintbf(char *data, int size, const struct nvkm_bitfield *bf, u32 value) in nvkm_snprintbf() argument
45 while (size >= 1 && bf->name) { in nvkm_snprintbf()
46 if (value & bf->mask) { in nvkm_snprintbf()
48 space ? " " : "", bf->name); in nvkm_snprintbf()
53 bf++; in nvkm_snprintbf()
/drivers/media/dvb-frontends/
A Dzl10036.c37 u8 br, bf; member
192 u8 br, bf; in zl10036_set_bandwidth() local
231 bf = (fbw * br * 1257) / (_XTAL * 1000) - 1; in zl10036_set_bandwidth()
234 if (bf > 62) in zl10036_set_bandwidth()
235 bf = 62; in zl10036_set_bandwidth()
237 buf_bf[1] = (bf << 1) & 0x7e; in zl10036_set_bandwidth()
239 deb_info("%s: BW=%d br=%u bf=%u\n", __func__, fbw, br, bf); in zl10036_set_bandwidth()
247 if (bf != state->bf) { in zl10036_set_bandwidth()
264 state->bf = bf; in zl10036_set_bandwidth()
398 state->bf = 0xff; in zl10036_init_regs()
/drivers/net/wireless/mediatek/mt76/mt7996/
A Dmcu.c1519 bf->ncol = min_t(u8, bf->nrow, n); in mt7996_mcu_sta_bfer_ht()
1547 bf->ncol = min_t(u8, nss_mcs, bf->nrow); in mt7996_mcu_sta_bfer_vht()
1548 bf->ibf_ncol = min_t(u8, MT7996_IBF_MAX_NC, bf->ncol); in mt7996_mcu_sta_bfer_vht()
1554 bf->ncol = min_t(u8, nss_mcs, bf->nrow); in mt7996_mcu_sta_bfer_vht()
1592 bf->ncol = min_t(u8, nss_mcs, bf->nrow); in mt7996_mcu_sta_bfer_he()
1614 bf->ncol_gt_bw80 = min_t(u8, bf->ncol_gt_bw80, nss_mcs); in mt7996_mcu_sta_bfer_he()
1652 bf->ncol = min_t(u8, nss_mcs, bf->nrow); in mt7996_mcu_sta_bfer_eht()
1753 bf->mem_20m = bf->nrow < BF_MAT_ORDER ? in mt7996_mcu_sta_bfer_tlv()
1754 matrix[bf->nrow][bf->ncol] : 0; in mt7996_mcu_sta_bfer_tlv()
1760 bf->mem_total = bf->mem_20m * 2; in mt7996_mcu_sta_bfer_tlv()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmcu.c1138 bf->ncol = min_t(u8, bf->nrow, n); in mt7915_mcu_sta_bfer_ht()
1164 bf->ncol = min_t(u8, nss_mcs, bf->nrow); in mt7915_mcu_sta_bfer_vht()
1165 bf->ibf_ncol = bf->ncol; in mt7915_mcu_sta_bfer_vht()
1171 bf->ncol = min_t(u8, nss_mcs, bf->nrow); in mt7915_mcu_sta_bfer_vht()
1205 bf->ncol = min_t(u8, nss_mcs, bf->nrow); in mt7915_mcu_sta_bfer_he()
1206 bf->ibf_ncol = bf->ncol; in mt7915_mcu_sta_bfer_he()
1226 bf->ncol_gt_bw80 = min_t(u8, bf->ncol_gt_bw80, nss_mcs); in mt7915_mcu_sta_bfer_he()
1290 bf->mem_20m = matrix[tx_ant][bf->ncol]; in mt7915_mcu_sta_bfer_tlv()
1292 bf->mem_20m = matrix[bf->nrow][bf->ncol]; in mt7915_mcu_sta_bfer_tlv()
1297 bf->mem_total = bf->mem_20m * 2; in mt7915_mcu_sta_bfer_tlv()
[all …]
/drivers/power/supply/
A Dhuawei-gaokun-battery.c506 u8 bf[GAOKUN_SMART_CHARGE_DATA_SIZE]; in smart_charge_delay_show() local
509 ret = gaokun_ec_psy_get_smart_charge(ecbat->ec, bf); in smart_charge_delay_show()
513 return sysfs_emit(buf, "%d\n", get_charge_delay(bf)); in smart_charge_delay_show()
522 u8 bf[GAOKUN_SMART_CHARGE_DATA_SIZE]; in smart_charge_delay_store() local
529 ret = gaokun_ec_psy_get_smart_charge(ecbat->ec, bf); in smart_charge_delay_store()
533 set_charge_delay(bf, delay); in smart_charge_delay_store()
535 ret = gaokun_ec_psy_set_smart_charge(ecbat->ec, bf); in smart_charge_delay_store()
/drivers/net/wireless/realtek/rtw89/
A Dphy_be.c568 int bf; in fill_limit_nonbf_bf() local
570 for (bf = 0; bf < RTW89_BF_NUM; bf++) in fill_limit_nonbf_bf()
571 (*ptr)[bf] = rtw89_phy_read_txpwr_limit(rtwdev, band, bw, ntx, in fill_limit_nonbf_bf()
572 rs, bf, ch); in fill_limit_nonbf_bf()
581 int bf; in fill_limit_nonbf_bf_min() local
586 for (bf = 0; bf < RTW89_BF_NUM; bf++) in fill_limit_nonbf_bf_min()
587 (*ptr)[bf] = min(v1[bf], v2[bf]); in fill_limit_nonbf_bf_min()
/drivers/mtd/nand/raw/
A Drenesas-nand-controller.c417 int bf, ret, i; in rnandc_read_page_hw_ecc() local
462 bf = nand_check_erased_ecc_chunk(rnandc->buf + off, in rnandc_read_page_hw_ecc()
468 if (bf < 0) { in rnandc_read_page_hw_ecc()
471 mtd->ecc_stats.corrected += bf; in rnandc_read_page_hw_ecc()
472 max_bitflips = max_t(unsigned int, max_bitflips, bf); in rnandc_read_page_hw_ecc()
482 mtd->ecc_stats.corrected += bf; in rnandc_read_page_hw_ecc()
514 int bf, ret; in rnandc_read_subpage_hw_ecc() local
556 bf = nand_check_erased_ecc_chunk(bufpoi + dataoff, in rnandc_read_subpage_hw_ecc()
562 if (bf < 0) { in rnandc_read_subpage_hw_ecc()
565 mtd->ecc_stats.corrected += bf; in rnandc_read_subpage_hw_ecc()
[all …]
A Darasan-nand-controller.c455 int bf, i; in anfc_read_page_hw_ecc() local
463 bf = bch_decode(anand->bch, raw_buf, chip->ecc.size, in anfc_read_page_hw_ecc()
465 if (!bf) { in anfc_read_page_hw_ecc()
467 } else if (bf > 0) { in anfc_read_page_hw_ecc()
468 for (i = 0; i < bf; i++) { in anfc_read_page_hw_ecc()
477 mtd->ecc_stats.corrected += bf; in anfc_read_page_hw_ecc()
478 max_bitflips = max_t(unsigned int, max_bitflips, bf); in anfc_read_page_hw_ecc()
486 if (bf > 0) { in anfc_read_page_hw_ecc()
487 mtd->ecc_stats.corrected += bf; in anfc_read_page_hw_ecc()
488 max_bitflips = max_t(unsigned int, max_bitflips, bf); in anfc_read_page_hw_ecc()
[all …]
/drivers/usb/host/
A Dehci-dbg.c519 u16 *bf; in fill_bandwidth_buffer() local
554 bf = tt->bandwidth; in fill_bandwidth_buffer()
557 bf[0], bf[1], bf[2], bf[3], in fill_bandwidth_buffer()
558 bf[4], bf[5], bf[6], bf[7]); in fill_bandwidth_buffer()

Completed in 84 milliseconds

123