Searched refs:bf (Results 1 - 25 of 53) sorted by relevance

123

/drivers/crypto/amcc/
H A Dcrypto4xx_sa.c46 offset = cts.bf.key_size
47 + cts.bf.inner_size
48 + cts.bf.outer_size
49 + cts.bf.spi
50 + cts.bf.seq_num0
51 + cts.bf.seq_num1
52 + cts.bf.seq_num_mask0
53 + cts.bf.seq_num_mask1
54 + cts.bf.seq_num_mask2
55 + cts.bf
[all...]
H A Dcrypto4xx_alg.c41 sa->sa_command_0.bf.save_hash_state = save_h;
42 sa->sa_command_0.bf.save_iv = save_iv;
43 sa->sa_command_0.bf.load_hash_state = ld_h;
44 sa->sa_command_0.bf.load_iv = ld_iv;
45 sa->sa_command_0.bf.hdr_proc = hdr_proc;
46 sa->sa_command_0.bf.hash_alg = h;
47 sa->sa_command_0.bf.cipher_alg = c;
48 sa->sa_command_0.bf.pad_type = pad_type & 3;
49 sa->sa_command_0.bf.extend_pad = pad_type >> 2;
50 sa->sa_command_0.bf
[all...]
H A Dcrypto4xx_reg_def.h165 } bf; member in union:ce_pe_dma_cfg
177 } bf; member in union:ce_ring_size
189 } bf; member in union:ce_ring_contol
200 } bf; member in union:ce_io_threshold
211 } bf; member in union:ce_part_ring_size
260 } bf; member in union:ce_pd_ctl
271 } bf; member in union:ce_pd_ctl_len
H A Dcrypto4xx_core.c59 pe_dma_cfg.bf.bo_sgpd_en = 1;
60 pe_dma_cfg.bf.bo_data_en = 0;
61 pe_dma_cfg.bf.bo_sa_en = 1;
62 pe_dma_cfg.bf.bo_pd_en = 1;
63 pe_dma_cfg.bf.dynamic_sa_en = 1;
64 pe_dma_cfg.bf.reset_sg = 1;
65 pe_dma_cfg.bf.reset_pdr = 1;
66 pe_dma_cfg.bf.reset_pe = 1;
69 pe_dma_cfg.bf.pe_mode = 0;
70 pe_dma_cfg.bf
[all...]
H A Dcrypto4xx_sa.h49 } bf; member in union:dynamic_sa_contents
109 } bf; member in union:sa_command_0
167 } bf; member in union:sa_command_1
/drivers/gpu/drm/nouveau/
H A Dnouveau_util.c35 nouveau_bitfield_print(const struct nouveau_bitfield *bf, u32 value) argument
37 while (bf->name) {
38 if (value & bf->mask) {
39 printk(" %s", bf->name);
40 value &= ~bf->mask;
43 bf++;
/drivers/net/ethernet/mellanox/mlx4/
H A Dpd.c136 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf) argument
178 bf->uar = uar;
181 bf->uar = uar;
182 bf->offset = 0;
183 bf->buf_size = dev->caps.bf_reg_size / 2;
184 bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size;
191 bf->uar = NULL;
206 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) argument
211 if (!bf->uar || !bf
[all...]
H A Den_tx.c114 err = mlx4_bf_alloc(mdev->dev, &ring->bf);
117 ring->bf.uar = &mdev->priv_uar;
118 ring->bf.uar->map = mdev->uar_map;
145 mlx4_bf_free(mdev->dev, &ring->bf);
179 ring->context.usr_page = cpu_to_be32(ring->bf.uar->index);
780 mlx4_bf_copy(ring->bf.reg + ring->bf.offset, (unsigned long *) &tx_desc->ctrl,
785 ring->bf.offset ^= ring->bf.buf_size;
792 iowrite32be(ring->doorbell_qpn, ring->bf
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dxmit.c54 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
59 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf,
190 struct ath_buf *bf; local
202 bf = fi->bf;
204 if (bf && fi->retries) {
205 list_add_tail(&bf->list, &bf_head);
206 ath_tx_update_baw(sc, tid, bf->bf_state.seqno);
207 ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0);
271 struct ath_buf *bf; local
305 struct ath_buf *bf = fi->bf; local
323 struct ath_buf *bf = NULL; local
340 ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf) argument
347 ath_clone_txbuf(struct ath_softc *sc, struct ath_buf *bf) argument
365 ath_tx_count_frames(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_status *ts, int txok, int *nframes, int *nbad) argument
397 ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf, struct list_head *bf_q, struct ath_tx_status *ts, int txok, bool retry) argument
623 ath_lookup_legacy(struct ath_buf *bf) argument
645 ath_lookup_rate(struct ath_softc *sc, struct ath_buf *bf, struct ath_atx_tid *tid) argument
721 ath_compute_num_delims(struct ath_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf, u16 frmlen, bool first_subfrm) argument
800 struct ath_buf *bf, *bf_first = NULL, *bf_prev = NULL; local
932 ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_info *info, int len) argument
1051 ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, int len) argument
1117 struct ath_buf *bf; local
1446 bf_is_ampdu_not_probing(struct ath_buf *bf) argument
1455 struct ath_buf *bf, *lastbf; local
1636 struct ath_buf *bf, *bf_last; local
1697 struct ath_buf *bf; local
1743 struct ath_buf *bf; local
1829 struct ath_buf *bf; local
1886 struct ath_buf *bf; local
2044 ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, struct list_head *bf_q, struct ath_tx_status *ts, int txok) argument
2086 ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_status *ts, int nframes, int nbad, int txok) argument
2141 ath_tx_process_buffer(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf, struct list_head *bf_head) argument
2167 struct ath_buf *bf, *lastbf, *bf_held = NULL; local
2297 struct ath_buf *bf, *lastbf; local
[all...]
H A Drecv.c74 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_buf *bf) argument
81 ATH_RXBUF_RESET(bf);
83 ds = bf->bf_desc;
85 ds->ds_data = bf->bf_buf_addr;
88 skb = bf->bf_mpdu;
102 ath9k_hw_putrxbuf(ah, bf->bf_daddr);
104 *sc->rx.rxlink = bf->bf_daddr;
145 struct ath_buf *bf; local
151 bf = list_first_entry(&sc->rx.rxbuf, struct ath_buf, list);
152 list_del_init(&bf
172 struct ath_buf *bf, *tbf; local
188 struct ath_buf *bf; local
205 struct ath_buf *bf; local
238 struct ath_buf *bf; local
321 struct ath_buf *bf; local
386 struct ath_buf *bf; local
477 struct ath_buf *bf, *tbf; local
663 struct ath_buf *bf; local
711 struct ath_buf *bf = NULL; local
728 struct ath_buf *bf; local
1769 struct ath_buf *bf; local
[all...]
H A Dbeacon.c71 struct ath_buf *bf, int rateidx)
73 struct sk_buff *skb = bf->bf_mpdu;
96 info.buf_addr[0] = bf->bf_buf_addr;
108 ath9k_hw_set_txdesc(ah, bf->bf_desc, &info);
133 struct ath_buf *bf; local
150 bf = avp->av_bcbuf;
151 skb = bf->bf_mpdu;
153 dma_unmap_single(sc->dev, bf->bf_buf_addr,
156 bf->bf_buf_addr = 0;
162 bf
70 ath_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, struct ath_buf *bf, int rateidx) argument
226 struct ath_buf *bf; local
326 struct ath_buf *bf; local
356 struct ath_buf *bf = NULL; local
[all...]
H A Ddebug.h243 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
261 struct ath_buf *bf,
260 ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_status *ts, struct ath_txq *txq, unsigned int flags) argument
H A Dinit.c328 struct ath_buf *bf; local
383 bf = kzalloc(bsize, GFP_KERNEL);
384 if (bf == NULL) {
388 dd->dd_bufptr = bf;
390 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) {
391 bf->bf_desc = ds;
392 bf->bf_daddr = DS2PHYS(dd, ds);
401 while (ATH_DESC_4KB_BOUND_CHECK(bf->bf_daddr)) {
402 BUG_ON((caddr_t) bf->bf_desc >=
407 bf
[all...]
H A Dath9k.h97 #define bf_isampdu(bf) (bf->bf_state.bf_type & BUF_AMPDU)
98 #define bf_isaggr(bf) (bf->bf_state.bf_type & BUF_AGGR)
211 struct ath_buf *bf; member in struct:ath_frame_info
/drivers/net/wireless/ath/ath5k/
H A Dbase.c596 ath5k_rxbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) argument
598 struct sk_buff *skb = bf->skb;
603 skb = ath5k_rx_skb_alloc(ah, &bf->skbaddr);
606 bf->skb = skb;
624 ds = bf->desc;
625 ds->ds_link = bf->daddr; /* link to self */
626 ds->ds_data = bf->skbaddr;
634 *ah->rxlink = bf->daddr;
663 ath5k_txbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf, argument
666 struct ath5k_desc *ds = bf
777 struct ath5k_buf *bf; local
839 ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf) argument
853 ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf) argument
871 struct ath5k_buf *bf; local
1034 struct ath5k_buf *bf, *bf0; local
1084 struct ath5k_buf *bf; local
1457 struct ath5k_buf *bf; local
1525 struct ath5k_buf *bf; local
1641 struct ath5k_buf *bf, *bf0; local
1715 ath5k_beacon_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) argument
1836 struct ath5k_buf *bf; local
[all...]
H 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) {} argument
H A Dbase.h103 void ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
104 void ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
H A Ddebug.c822 struct ath5k_buf *bf, *bf0; local
839 list_for_each_entry_safe(bf, bf0, &txq->q, list)
969 ath5k_debug_printrxbuf(struct ath5k_buf *bf, int done, argument
972 struct ath5k_desc *ds = bf->desc;
976 ds, (unsigned long long)bf->daddr,
987 struct ath5k_buf *bf; local
998 list_for_each_entry(bf, &ah->rxbuf, list) {
999 ds = bf->desc;
1002 ath5k_debug_printrxbuf(bf, status == 0, &rs);
1008 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf) argument
[all...]
/drivers/media/dvb/frontends/
H A Dzl10036.c49 u8 br, bf; member in struct:zl10036_state
206 u8 br, bf; local
209 0xc0, 0x00, /* 6/7: rsd=0 bf=0 */
243 * bf = fbw/_XTAL * br * k - 1 */
245 bf = (fbw * br * 1257) / (_XTAL * 1000) - 1;
248 if (bf > 62)
249 bf = 62;
251 buf_bf[1] = (bf << 1) & 0x7e;
253 deb_info("%s: BW=%d br=%u bf=%u\n", __func__, fbw, br, bf);
[all...]
H A Dzl10039.c184 u8 bf; local
198 bf = ((fbw * 5088) / 1011100) - 1;
211 buf[5] = bf;
/drivers/uwb/
H A Dbeacon.c257 * @bf: Beacon frame (part of b, really)
263 struct uwb_beacon_frame *bf,
312 struct uwb_beacon_frame *bf)
318 uwb_mac_addr_print(macbuf, sizeof(macbuf), &bf->Device_Identifier);
319 uwb_dev_addr_print(devbuf, sizeof(devbuf), &bf->hdr.SrcAddr);
320 uwb_dev_addr_print(dstbuf, sizeof(dstbuf), &bf->hdr.DestAddr);
324 bf->Beacon_Slot_Number, macbuf);
335 struct uwb_beacon_frame *bf; local
343 bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo;
345 ies = (struct uwb_ie_hdr *)bf
261 __uwb_beca_add(struct uwb_rc *rc, struct uwb_rc_evt_beacon *be, struct uwb_beacon_frame *bf, unsigned long ts_jiffies) argument
311 uwb_beacon_print(struct uwb_rc *rc, struct uwb_rc_evt_beacon *be, struct uwb_beacon_frame *bf) argument
362 struct uwb_beacon_frame *bf; local
395 struct uwb_beacon_frame *bf; local
[all...]
H A Dlc-dev.c158 struct uwb_beacon_frame *bf; local
163 bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo;
165 - (u16)(bf->Beacon_Slot_Number * UWB_BEACON_SLOT_LENGTH_US);
/drivers/net/wireless/
H A Dwl3501_cs.c383 void *bf, int size)
403 memcpy(bf, this->sig_get_confirm.mib_value,
457 u16 bf, sig_bf, next, tmplen, pktlen; local
469 bf = wl3501_get_tx_buffer(this, len + 26 + 24);
470 if (!bf) {
479 sig.data = bf;
485 wl3501_set_to_wla(this, bf + 2 +
497 bf + 2 + sizeof(struct wl3501_tx_hdr),
500 wl3501_get_from_wla(this, bf, &next, sizeof(next));
501 bf
382 wl3501_get_mib_value(struct wl3501_card *this, u8 index, void *bf, int size) argument
754 wl3501_receive(struct wl3501_card *this, u8 *bf, u16 size) argument
[all...]
/drivers/video/geode/
H A Dgx1fb_core.c150 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) argument
153 chan >>= 16 - bf->length;
154 return chan << bf->offset;
H A Dgxfb_core.c187 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) argument
190 chan >>= 16 - bf->length;
191 return chan << bf->offset;

Completed in 300 milliseconds

123