/drivers/gpu/drm/nouveau/ |
H A D | nouveau_util.c | 35 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 D | pd.c | 136 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 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) {} argument
|
H A D | debug.c | 822 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 D | vt8500lcdfb.c | 136 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 D | amba-clcd.c | 321 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 D | pxa168fb.c | 477 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 D | wm8505fb.c | 168 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 D | nuc900fb.c | 293 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 D | atmel_lcdfb.c | 621 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 D | s3c2410fb.c | 473 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 D | sa1100fb.c | 246 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 D | zl10036.c | 49 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 D | zl10039.c | 184 u8 bf; local 198 bf = ((fbw * 5088) / 1011100) - 1; 211 buf[5] = bf;
|
/drivers/uwb/ |
H A D | lc-dev.c | 158 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 D | beacon.c | 257 * @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 D | gx1fb_core.c | 150 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 D | gxfb_core.c | 187 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 D | lxfb_core.c | 294 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 D | beacon.c | 71 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 D | init.c | 328 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 D | debug.c | 780 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 D | easycap_ioctl.c | 368 char bf[5], fo[32], *pc; local 385 pc = &bf[0]; 388 bf[4] = 0;
|
/drivers/staging/sm7xx/ |
H A D | smtcfb.c | 306 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 D | mb862xxfbdrv.c | 74 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
|