/drivers/scsi/libfc/ |
H A D | fc_frame.c | 38 const u8 *bp; local 44 bp = (const u8 *) fr_hdr(fp); 45 crc = ~crc32(~0, bp, len);
|
H A D | fc_disc.c | 396 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 D | twidjoy.c | 106 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 D | pvrusb2-dvb.c | 38 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 D | pvrusb2-ioread.c | 163 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 D | eeprom.c | 304 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 D | ieee1284_ops.c | 734 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 D | selection.c | 55 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 D | qib_qsfp.c | 47 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 D | qib_twsi.c | 358 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 D | tei.c | 107 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 D | core.c | 129 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 D | stack.c | 468 struct Bprotocol *bp; local 489 bp = get_Bprotocol4mask(pmask); 490 if (!bp) 495 err = bp->create(&rq2);
|
/drivers/mfd/ |
H A D | ipaq-micro.c | 38 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 D | nand_ecc.c | 162 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 D | i40e_hmc.h | 63 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 D | i40e_hmc.h | 63 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 D | rndis_host.c | 318 unsigned char *bp; local 426 48, (void **) &bp, &reply_len); 431 memcpy(net->dev_addr, bp, ETH_ALEN);
|
/drivers/power/ |
H A D | apm_power.c | 47 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 D | bbc_i2c.c | 53 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 D | bbc_i2c.h | 9 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 D | spi-tle62x0.c | 103 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 D | selection.c | 163 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 D | bitmap.h | 180 struct bitmap_page *bp; member in struct:bitmap::bitmap_counts
|
/drivers/media/tuners/ |
H A D | tda827x.c | 98 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...] |