/drivers/net/wireless/ath/ath9k/ |
D | xmit.c | 55 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, 61 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, 158 struct ath_buf *bf) in ath_set_rates() argument 160 ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, in ath_set_rates() 161 ARRAY_SIZE(bf->rates)); in ath_set_rates() 222 struct ath_buf *bf; in ath_tx_tid_change_state() local 227 bf = fi->bf; in ath_tx_tid_change_state() 232 if (bf) in ath_tx_tid_change_state() 235 bf = ath_tx_setup_buffer(sc, txq, tid, skb); in ath_tx_tid_change_state() 236 if (!bf) { in ath_tx_tid_change_state() [all …]
|
D | recv.c | 37 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_link() argument 45 ds = bf->bf_desc; in ath_rx_buf_link() 47 ds->ds_data = bf->bf_buf_addr; in ath_rx_buf_link() 50 skb = bf->bf_mpdu; in ath_rx_buf_link() 64 *sc->rx.rxlink = bf->bf_daddr; in ath_rx_buf_link() 66 ath9k_hw_putrxbuf(ah, bf->bf_daddr); in ath_rx_buf_link() 71 static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_relink() argument 77 sc->rx.buf_hold = bf; in ath_rx_buf_relink() 116 struct ath_rxbuf *bf; in ath_rx_edma_buf_link() local 122 bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_rx_edma_buf_link() [all …]
|
D | beacon.c | 73 struct ath_buf *bf, int rateidx) in ath9k_beacon_setup() argument 75 struct sk_buff *skb = bf->bf_mpdu; in ath9k_beacon_setup() 97 info.buf_addr[0] = bf->bf_buf_addr; in ath9k_beacon_setup() 109 ath9k_hw_set_txdesc(ah, bf->bf_desc, &info); in ath9k_beacon_setup() 117 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() 131 dma_unmap_single(sc->dev, bf->bf_buf_addr, in ath9k_beacon_generate() 134 bf->bf_buf_addr = 0; in ath9k_beacon_generate() 135 bf->bf_mpdu = NULL; in ath9k_beacon_generate() [all …]
|
D | init.c | 283 struct ath_buf *bf; in ath_descdma_setup() local 286 bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL); in ath_descdma_setup() 287 if (!bf) in ath_descdma_setup() 290 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup() 291 bf->bf_desc = ds; in ath_descdma_setup() 292 bf->bf_daddr = DS2PHYS(dd, ds); in ath_descdma_setup() 301 while (ATH_DESC_4KB_BOUND_CHECK(bf->bf_daddr)) { in ath_descdma_setup() 302 BUG_ON((caddr_t) bf->bf_desc >= in ath_descdma_setup() 307 bf->bf_desc = ds; in ath_descdma_setup() 308 bf->bf_daddr = DS2PHYS(dd, ds); in ath_descdma_setup() [all …]
|
/drivers/crypto/amcc/ |
D | crypto4xx_sa.c | 46 offset = cts.bf.key_size in get_dynamic_sa_offset_state_ptr_field() 47 + cts.bf.inner_size in get_dynamic_sa_offset_state_ptr_field() 48 + cts.bf.outer_size in get_dynamic_sa_offset_state_ptr_field() 49 + cts.bf.spi in get_dynamic_sa_offset_state_ptr_field() 50 + cts.bf.seq_num0 in get_dynamic_sa_offset_state_ptr_field() 51 + cts.bf.seq_num1 in get_dynamic_sa_offset_state_ptr_field() 52 + cts.bf.seq_num_mask0 in get_dynamic_sa_offset_state_ptr_field() 53 + cts.bf.seq_num_mask1 in get_dynamic_sa_offset_state_ptr_field() 54 + cts.bf.seq_num_mask2 in get_dynamic_sa_offset_state_ptr_field() 55 + cts.bf.seq_num_mask3 in get_dynamic_sa_offset_state_ptr_field() [all …]
|
D | crypto4xx_alg.c | 41 sa->sa_command_0.bf.save_hash_state = save_h; in set_dynamic_sa_command_0() 42 sa->sa_command_0.bf.save_iv = save_iv; in set_dynamic_sa_command_0() 43 sa->sa_command_0.bf.load_hash_state = ld_h; in set_dynamic_sa_command_0() 44 sa->sa_command_0.bf.load_iv = ld_iv; in set_dynamic_sa_command_0() 45 sa->sa_command_0.bf.hdr_proc = hdr_proc; in set_dynamic_sa_command_0() 46 sa->sa_command_0.bf.hash_alg = h; in set_dynamic_sa_command_0() 47 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0() 48 sa->sa_command_0.bf.pad_type = pad_type & 3; in set_dynamic_sa_command_0() 49 sa->sa_command_0.bf.extend_pad = pad_type >> 2; in set_dynamic_sa_command_0() 50 sa->sa_command_0.bf.op_group = op_grp; in set_dynamic_sa_command_0() [all …]
|
D | crypto4xx_core.c | 63 pe_dma_cfg.bf.bo_sgpd_en = 1; in crypto4xx_hw_init() 64 pe_dma_cfg.bf.bo_data_en = 0; in crypto4xx_hw_init() 65 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() 67 pe_dma_cfg.bf.dynamic_sa_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() [all …]
|
D | crypto4xx_reg_def.h | 166 } bf; member 178 } bf; member 190 } bf; member 201 } bf; member 212 } bf; member 261 } bf; member 272 } bf; member
|
D | crypto4xx_sa.h | 49 } bf; member 109 } bf; member 167 } bf; member
|
/drivers/net/wireless/ath/ath5k/ |
D | base.c | 629 ath5k_rxbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) in ath5k_rxbuf_setup() argument 631 struct sk_buff *skb = bf->skb; in ath5k_rxbuf_setup() 636 skb = ath5k_rx_skb_alloc(ah, &bf->skbaddr); in ath5k_rxbuf_setup() 639 bf->skb = skb; in ath5k_rxbuf_setup() 657 ds = bf->desc; in ath5k_rxbuf_setup() 658 ds->ds_link = bf->daddr; /* link to self */ in ath5k_rxbuf_setup() 659 ds->ds_data = bf->skbaddr; in ath5k_rxbuf_setup() 667 *ah->rxlink = bf->daddr; in ath5k_rxbuf_setup() 698 struct ath5k_buf *bf, int idx) in ath5k_get_rate() argument 704 if (bf->rates[idx].idx < 0) { in ath5k_get_rate() [all …]
|
D | debug.c | 837 struct ath5k_buf *bf, *bf0; in read_file_queue() local 854 list_for_each_entry_safe(bf, bf0, &txq->q, list) in read_file_queue() 1085 ath5k_debug_printrxbuf(struct ath5k_buf *bf, int done, in ath5k_debug_printrxbuf() argument 1088 struct ath5k_desc *ds = bf->desc; in ath5k_debug_printrxbuf() 1092 ds, (unsigned long long)bf->daddr, in ath5k_debug_printrxbuf() 1103 struct ath5k_buf *bf; in ath5k_debug_printrxbuffs() local 1114 list_for_each_entry(bf, &ah->rxbuf, list) { in ath5k_debug_printrxbuffs() 1115 ds = bf->desc; in ath5k_debug_printrxbuffs() 1118 ath5k_debug_printrxbuf(bf, status == 0, &rs); in ath5k_debug_printrxbuffs() 1124 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf) in ath5k_debug_printtxbuf() argument [all …]
|
D | debug.h | 138 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
|
D | base.h | 105 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/ |
D | pd.c | 172 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) in mlx4_bf_alloc() argument 221 bf->uar = uar; in mlx4_bf_alloc() 222 bf->offset = 0; in mlx4_bf_alloc() 223 bf->buf_size = dev->caps.bf_reg_size / 2; in mlx4_bf_alloc() 224 bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size; in mlx4_bf_alloc() 231 bf->uar = NULL; in mlx4_bf_alloc() 246 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) in mlx4_bf_free() argument 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() 256 bf->uar->free_bf_bmap &= ~(1 << idx); in mlx4_bf_free() [all …]
|
D | en_tx.c | 124 err = mlx4_bf_alloc(mdev->dev, &ring->bf, node); in mlx4_en_create_tx_ring() 127 ring->bf.uar = &mdev->priv_uar; in mlx4_en_create_tx_ring() 128 ring->bf.uar->map = mdev->uar_map; 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() 741 ring->bf.uar->map + MLX4_SEND_DOORBELL); in mlx4_en_xmit_doorbell() 763 mlx4_bf_copy(ring->bf.reg + ring->bf.offset, &tx_desc->ctrl, in mlx4_en_tx_write_desc() 768 ring->bf.offset ^= ring->bf.buf_size; in mlx4_en_tx_write_desc()
|
/drivers/uwb/ |
D | beacon.c | 266 struct uwb_beacon_frame *bf, in __uwb_beca_add() argument 315 struct uwb_beacon_frame *bf) in uwb_beacon_print() argument 321 uwb_mac_addr_print(macbuf, sizeof(macbuf), &bf->Device_Identifier); in uwb_beacon_print() 322 uwb_dev_addr_print(devbuf, sizeof(devbuf), &bf->hdr.SrcAddr); in uwb_beacon_print() 323 uwb_dev_addr_print(dstbuf, sizeof(dstbuf), &bf->hdr.DestAddr); in uwb_beacon_print() 327 bf->Beacon_Slot_Number, macbuf); in uwb_beacon_print() 338 struct uwb_beacon_frame *bf; in uwb_bce_print_IEs() local 346 bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo; in uwb_bce_print_IEs() 348 ies = (struct uwb_ie_hdr *)bf->IEData; in uwb_bce_print_IEs() 365 struct uwb_beacon_frame *bf; in uwb_verify_beacon() local [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | uar.c | 83 struct mlx5_bf *bf; in mlx5_alloc_uuars() local 132 bf = &uuari->bfs[i]; in mlx5_alloc_uuars() 134 bf->buf_size = (1 << MLX5_CAP_GEN(dev, log_bf_reg_size)) / 2; in mlx5_alloc_uuars() 135 bf->uar = &uuari->uars[i / MLX5_BF_REGS_PER_PAGE]; in mlx5_alloc_uuars() 136 bf->regreg = uuari->uars[i / MLX5_BF_REGS_PER_PAGE].map; in mlx5_alloc_uuars() 137 bf->reg = NULL; /* Add WC support */ in mlx5_alloc_uuars() 138 bf->offset = (i % MLX5_BF_REGS_PER_PAGE) * in mlx5_alloc_uuars() 141 bf->need_lock = need_uuar_lock(i); in mlx5_alloc_uuars() 142 spin_lock_init(&bf->lock); in mlx5_alloc_uuars() 143 spin_lock_init(&bf->lock32); in mlx5_alloc_uuars() [all …]
|
D | en_tx.c | 177 struct sk_buff *skb, bool bf) in mlx5e_get_inline_hdr_size() argument 183 if (bf) { in mlx5e_get_inline_hdr_size() 236 bool bf = false; in mlx5e_sq_xmit() local 278 bf = sq->bf_budget && in mlx5e_sq_xmit() 281 ihs = mlx5e_get_inline_hdr_size(sq, skb, bf); in mlx5e_sq_xmit() 367 if (bf && test_bit(MLX5E_SQ_STATE_BF_ENABLE, &sq->state)) in mlx5e_sq_xmit() 380 if (bf) in mlx5e_sq_xmit()
|
/drivers/gpu/drm/nouveau/nvkm/core/ |
D | enum.c | 42 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/ |
D | zl10036.c | 49 u8 br, bf; member 206 u8 br, bf; in zl10036_set_bandwidth() local 245 bf = (fbw * br * 1257) / (_XTAL * 1000) - 1; in zl10036_set_bandwidth() 248 if (bf > 62) in zl10036_set_bandwidth() 249 bf = 62; in zl10036_set_bandwidth() 251 buf_bf[1] = (bf << 1) & 0x7e; in zl10036_set_bandwidth() 253 deb_info("%s: BW=%d br=%u bf=%u\n", __func__, fbw, br, bf); in zl10036_set_bandwidth() 261 if (bf != state->bf) { in zl10036_set_bandwidth() 278 state->bf = bf; in zl10036_set_bandwidth() 412 state->bf = 0xff; in zl10036_init_regs()
|
D | zl10039.c | 196 u8 bf; in zl10039_set_params() local 210 bf = ((fbw * 5088) / 1011100) - 1; in zl10039_set_params() 223 buf[5] = bf; in zl10039_set_params()
|
/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-hash.c | 197 u32 bf[32]; in sun4i_hash() local 405 bf[j++] = wb; in sun4i_hash() 407 bf[j++] = 1 << 7; in sun4i_hash() 430 memset(bf + j, 0, 4 * zeros); in sun4i_hash() 436 bf[j++] = bits & 0xffffffff; in sun4i_hash() 437 bf[j++] = (bits >> 32) & 0xffffffff; in sun4i_hash() 439 bf[j++] = (op->byte_count << 3) & 0xffffffff; in sun4i_hash() 440 bf[j++] = (op->byte_count >> 29) & 0xffffffff; in sun4i_hash() 442 writesl(ss->base + SS_RXFIFO, bf, j); in sun4i_hash()
|
/drivers/net/wireless/ |
D | wl3501_cs.c | 381 static int wl3501_request_mib(struct wl3501_card *this, u8 index, void *bf) in wl3501_request_mib() argument 406 void *bf, int size) in wl3501_get_mib_value() argument 410 rc = wl3501_request_mib(this, index, bf); in wl3501_get_mib_value() 419 memcpy(bf, this->sig_get_confirm.mib_value, size); in wl3501_get_mib_value() 467 u16 bf, sig_bf, next, tmplen, pktlen; in wl3501_send_pkt() local 479 bf = wl3501_get_tx_buffer(this, len + 26 + 24); in wl3501_send_pkt() 480 if (!bf) { in wl3501_send_pkt() 489 sig.data = bf; in wl3501_send_pkt() 495 wl3501_set_to_wla(this, bf + 2 + in wl3501_send_pkt() 507 bf + 2 + sizeof(struct wl3501_tx_hdr), in wl3501_send_pkt() [all …]
|
/drivers/usb/host/ |
D | ehci-dbg.c | 529 u16 *bf; in fill_bandwidth_buffer() local 564 bf = tt->bandwidth; in fill_bandwidth_buffer() 567 bf[0], bf[1], bf[2], bf[3], in fill_bandwidth_buffer() 568 bf[4], bf[5], bf[6], bf[7]); in fill_bandwidth_buffer()
|
/drivers/video/fbdev/ |
D | goldfishfb.c | 73 static inline u32 convert_bitfield(int val, struct fb_bitfield *bf) in convert_bitfield() argument 75 unsigned int mask = (1 << bf->length) - 1; in convert_bitfield() 77 return (val >> (16 - bf->length) & mask) << bf->offset; in convert_bitfield()
|