Searched defs:bf (Results 1 - 25 of 47) sorted by relevance

12

/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...]
/drivers/net/wireless/ath/ath5k/
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 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/video/
H A Dvt8500lcdfb.c136 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) argument
139 chan >>= 16 - bf->length;
140 return chan << bf->offset;
H A Damba-clcd.c321 static inline u32 convert_bitfield(int val, struct fb_bitfield *bf) argument
323 unsigned int mask = (1 << bf->length) - 1;
325 return (val >> (16 - bf->length) & mask) << bf->offset;
H A Dpxa168fb.c477 static unsigned int chan_to_field(unsigned int chan, struct fb_bitfield *bf) argument
479 return ((chan & 0xffff) >> (16 - bf->length)) << bf->offset;
H A Dwm8505fb.c168 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) argument
171 chan >>= 16 - bf->length;
172 return chan << bf->offset;
H A Dnuc900fb.c293 struct fb_bitfield *bf)
296 chan >>= 16 - bf->length;
297 return chan << bf->offset;
292 chan_to_field(unsigned int chan, struct fb_bitfield *bf) argument
H A Datmel_lcdfb.c621 static inline unsigned int chan_to_field(unsigned int chan, const struct fb_bitfield *bf) argument
624 chan >>= 16 - bf->length;
625 return chan << bf->offset;
H A Ds3c2410fb.c473 struct fb_bitfield *bf)
476 chan >>= 16 - bf->length;
477 return chan << bf->offset;
472 chan_to_field(unsigned int chan, struct fb_bitfield *bf) argument
H A Dsa1100fb.c246 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) argument
249 chan >>= 16 - bf->length;
250 return chan << bf->offset;
/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 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);
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...]
/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;
H A Dlxfb_core.c294 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) argument
297 chan >>= 16 - bf->length;
298 return chan << bf->offset;
/drivers/net/wireless/ath/ath9k/
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 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 Ddebug.c780 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf, argument
789 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len;
791 if (bf_isampdu(bf)) {
/drivers/staging/media/easycap/
H A Deasycap_ioctl.c368 char bf[5], fo[32], *pc; local
385 pc = &bf[0];
388 bf[4] = 0;
/drivers/staging/sm7xx/
H A Dsmtcfb.c306 struct fb_bitfield *bf)
309 chan >>= 16 - bf->length;
310 return chan << bf->offset;
305 chan_to_field(unsigned int chan, struct fb_bitfield *bf) argument
/drivers/video/mb862xx/
H A Dmb862xxfbdrv.c74 struct fb_bitfield *bf)
77 chan >>= 16 - bf->length;
78 return chan << bf->offset;
73 chan_to_field(unsigned int chan, struct fb_bitfield *bf) argument

Completed in 389 milliseconds

12