Searched defs:bp (Results 1 - 25 of 95) sorted by relevance

1234

/drivers/scsi/libfc/
H A Dfc_frame.c38 const u8 *bp; local
44 bp = (const u8 *) fr_hdr(fp);
45 crc = ~crc32(~0, bp, len);
H A Dfc_disc.c396 char *bp; local
409 bp = buf;
411 np = (struct fc_gpn_ft_resp *)bp;
422 memcpy((char *)np + tlen, bp, plen);
425 * Set bp so that the loop below will advance it to the
428 bp -= tlen;
438 * Normally, np == bp and plen == len, but from the partial case above,
439 * bp, len describe the overall buffer, and np, plen describe the
467 bp += sizeof(*np);
468 np = (struct fc_gpn_ft_resp *)bp;
[all...]
/drivers/input/joystick/
H A Dtwidjoy.c106 struct twidjoy_button_spec *bp; local
111 for (bp = twidjoy_buttons; bp->bitmask; bp++) {
112 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift;
115 for (i = 0; i < bp->bitmask; i++)
116 input_report_key(dev, bp->buttons[i], i+1 == value);
183 struct twidjoy_button_spec *bp; local
[all...]
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-dvb.c38 struct pvr2_buffer *bp; local
52 bp = pvr2_stream_get_ready_buffer(stream);
53 if (bp != NULL) {
54 count = pvr2_buffer_get_count(bp);
59 pvr2_buffer_get_id(bp)],
62 ret = pvr2_buffer_get_status(bp);
65 ret = pvr2_buffer_queue(bp);
147 struct pvr2_buffer *bp; local
171 bp = pvr2_stream_get_buffer(stream, idx);
172 pvr2_buffer_set_buffer(bp,
[all...]
H A Dpvrusb2-ioread.c163 struct pvr2_buffer *bp; local
168 while ((bp = pvr2_stream_get_idle_buffer(cp->stream)) != NULL) {
169 stat = pvr2_buffer_queue(bp);
206 struct pvr2_buffer *bp; local
231 bp = pvr2_stream_get_buffer(sp,idx);
232 pvr2_buffer_set_buffer(bp,
/drivers/net/ethernet/dec/tulip/
H A Deeprom.c304 unsigned char *bp = leaf->leafdata; local
307 bp[0], bp[1], bp[2 + bp[1]*2],
308 bp[5 + bp[2 + bp[1]*2]*2],
309 bp[4 + bp[
[all...]
/drivers/parport/
H A Dieee1284_ops.c734 unsigned char *bp = (unsigned char *) buffer; local
746 for (; len > 0; len--, bp++) {
748 parport_write_data (port, *bp);
778 unsigned char *bp = (unsigned char *) buffer; local
789 for (; len > 0; len--, bp++) {
799 *bp = parport_read_data (port);
822 unsigned char *bp = (unsigned char *) buffer; local
834 for (; len > 0; len--, bp++) {
836 parport_write_data (port, *bp);
866 unsigned char *bp local
[all...]
/drivers/staging/speakup/
H A Dselection.c55 char *bp, *obp; local
102 bp = kmalloc((sel_end-sel_start)/2+1, GFP_ATOMIC);
103 if (!bp) {
108 sel_buffer = bp;
110 obp = bp;
112 *bp = sel_pos(i);
113 if (!ishardspace(*bp++))
114 obp = bp;
118 if (obp != bp) {
119 bp
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_qsfp.c47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len) argument
53 u8 *buff = bp;
156 static int qib_qsfp_write(struct qib_pportdata *ppd, int addr, void *bp, argument
162 u8 *buff = bp;
H A Dqib_twsi.c358 u8 *bp = buffer; local
411 *bp++ = rd_byte(dd, !len);
436 const u8 *bp = buffer; local
465 if (qib_twsi_wr(dd, *bp++, 0))
/drivers/isdn/hisax/
H A Dtei.c107 u_char *bp; local
113 bp = skb_put(skb, 3);
114 bp[0] = (TEI_SAPI << 2);
115 bp[1] = (GROUP_TEI << 1) | 0x1;
116 bp[2] = UI;
117 bp = skb_put(skb, 5);
118 bp[0] = TEI_ENTITY_ID;
119 bp[1] = ri >> 8;
120 bp[2] = ri & 0xff;
121 bp[
[all...]
/drivers/isdn/mISDN/
H A Dcore.c129 char *bp = buf; local
133 *bp++ = test_channelmap(i, mdev->channelmap) ? '1' : '0';
135 return bp - buf;
286 struct Bprotocol *bp; local
290 list_for_each_entry(bp, &Bprotocols, list)
291 m |= bp->Bprotocols;
299 struct Bprotocol *bp; local
302 list_for_each_entry(bp, &Bprotocols, list)
303 if (bp->Bprotocols & m) {
305 return bp;
326 mISDN_register_Bprotocol(struct Bprotocol *bp) argument
349 mISDN_unregister_Bprotocol(struct Bprotocol *bp) argument
[all...]
H A Dstack.c468 struct Bprotocol *bp; local
489 bp = get_Bprotocol4mask(pmask);
490 if (!bp)
495 err = bp->create(&rq2);
/drivers/mfd/
H A Dipaq-micro.c38 int i, bp; local
42 bp = 0;
43 tx->buf[bp++] = CHAR_SOF;
46 tx->buf[bp++] = checksum;
49 tx->buf[bp++] = msg->tx_data[i];
53 tx->buf[bp++] = checksum;
54 tx->len = bp;
/drivers/mtd/nand/
H A Dnand_ecc.c162 const uint32_t *bp = (uint32_t *)buf; local
195 cur = *bp++;
198 cur = *bp++;
201 cur = *bp++;
204 cur = *bp++;
208 cur = *bp++;
212 cur = *bp++;
215 cur = *bp++;
218 cur = *bp++;
222 cur = *bp
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.h63 struct i40e_hmc_bp bp; member in struct:i40e_hmc_pd_entry
83 struct i40e_hmc_bp bp; member in union:i40e_hmc_sd_entry::__anon3204
108 #define I40E_INC_BP_REFCNT(bp) ((bp)->ref_cnt++)
112 #define I40E_DEC_BP_REFCNT(bp) ((bp)->ref_cnt--)
/drivers/net/ethernet/intel/i40evf/
H A Di40e_hmc.h63 struct i40e_hmc_bp bp; member in struct:i40e_hmc_pd_entry
83 struct i40e_hmc_bp bp; member in union:i40e_hmc_sd_entry::__anon3236
108 #define I40E_INC_BP_REFCNT(bp) ((bp)->ref_cnt++)
112 #define I40E_DEC_BP_REFCNT(bp) ((bp)->ref_cnt--)
/drivers/net/usb/
H A Drndis_host.c318 unsigned char *bp; local
426 48, (void **) &bp, &reply_len);
431 memcpy(net->dev_addr, bp, ETH_ALEN);
/drivers/power/
H A Dapm_power.c47 struct find_bat_param *bp = (struct find_bat_param *)data; local
49 bp->bat = dev_get_drvdata(dev);
51 if (bp->bat->use_for_apm) {
53 bp->main = bp->bat;
57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) ||
58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) {
59 if (bp
75 struct find_bat_param bp; local
[all...]
/drivers/sbus/char/
H A Dbbc_i2c.c53 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) argument
58 if (bp->devs[i].device == op) {
59 bp->devs[i].client_claimed = val;
68 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) argument
74 if (!(op = bp->devs[i].device))
88 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) argument
96 client->bp = bp;
108 claim_device(bp, op);
115 struct bbc_i2c_bus *bp local
122 wait_for_pin(struct bbc_i2c_bus *bp, u8 *status) argument
151 struct bbc_i2c_bus *bp = client->bp; local
182 struct bbc_i2c_bus *bp = client->bp; local
272 struct bbc_i2c_bus *bp = dev_id; local
284 reset_one_i2c(struct bbc_i2c_bus *bp) argument
295 struct bbc_i2c_bus *bp; local
364 struct bbc_i2c_bus *bp; local
388 struct bbc_i2c_bus *bp = dev_get_drvdata(&op->dev); local
[all...]
H A Dbbc_i2c.h9 struct bbc_i2c_bus *bp; member in struct:bbc_i2c_client
76 extern struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *);
/drivers/spi/
H A Dspi-tle62x0.c103 char *bp = buf; local
125 bp += sprintf(bp, "%s ", decode_fault(fault >> (ptr * 2)));
128 *bp++ = '\n';
131 return bp - buf;
/drivers/tty/vt/
H A Dselection.c163 char *bp, *obp; local
298 bp = kmalloc(((sel_end-sel_start)/2+1)*multiplier, GFP_KERNEL);
299 if (!bp) {
305 sel_buffer = bp;
307 obp = bp;
311 bp += store_utf8(c, bp);
313 *bp++ = c;
315 obp = bp;
319 if (obp != bp) {
[all...]
/drivers/md/
H A Dbitmap.h180 struct bitmap_page *bp; member in struct:bitmap::bitmap_counts
/drivers/media/tuners/
H A Dtda827x.c98 u8 bp; member in struct:tda827x_data
105 { .lomax = 62000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1},
106 { .lomax = 66000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1},
107 { .lomax = 76000000, .spd = 3, .bs = 1, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0},
108 { .lomax = 84000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0},
109 { .lomax = 93000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0},
110 { .lomax = 98000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0},
111 { .lomax = 109000000, .spd = 3, .bs = 3, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 0},
112 { .lomax = 123000000, .spd = 2, .bs = 2, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 1},
113 { .lomax = 133000000, .spd = 2, .bs = 3, .bp
[all...]

Completed in 557 milliseconds

1234