/drivers/ide/ |
H A D | ide-h8300.c | 27 unsigned short *bp = (unsigned short *)buf; local 28 for (; len > 0; len--, bp++) 29 *(volatile u16 *)addr = bswap(*bp); 34 unsigned short *bp = (unsigned short *)buf; local 35 for (; len > 0; len--, bp++) 36 *bp = bswap(*(volatile u16 *)addr);
|
/drivers/isdn/mISDN/ |
H A D | core.c | 122 char *bp = buf; local 126 *bp++ = test_channelmap(i, mdev->channelmap) ? '1' : '0'; 128 return bp - buf; 282 struct Bprotocol *bp; local 286 list_for_each_entry(bp, &Bprotocols, list) 287 m |= bp->Bprotocols; 295 struct Bprotocol *bp; local 298 list_for_each_entry(bp, &Bprotocols, list) 299 if (bp->Bprotocols & m) { 301 return bp; 322 mISDN_register_Bprotocol(struct Bprotocol *bp) argument 345 mISDN_unregister_Bprotocol(struct Bprotocol *bp) argument [all...] |
/drivers/net/ethernet/broadcom/ |
H A D | bnx2_fw.h | 21 .bp = BNX2_COM_CPU_HW_BREAKPOINT, 37 .bp = BNX2_CP_CPU_HW_BREAKPOINT, 53 .bp = BNX2_RXP_CPU_HW_BREAKPOINT, 69 .bp = BNX2_TPAT_CPU_HW_BREAKPOINT, 85 .bp = BNX2_TXP_CPU_HW_BREAKPOINT,
|
/drivers/input/joystick/ |
H A D | twidjoy.c | 107 struct twidjoy_button_spec *bp; local 112 for (bp = twidjoy_buttons; bp->bitmask; bp++) { 113 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift; 116 for (i = 0; i < bp->bitmask; i++) 117 input_report_key(dev, bp->buttons[i], i+1 == value); 184 struct twidjoy_button_spec *bp; local [all...] |
/drivers/md/ |
H A D | dm-bufio.h | 49 struct dm_buffer **bp); 56 struct dm_buffer **bp); 63 struct dm_buffer **bp);
|
H A D | bitmap.c | 87 if (bitmap->bp[page].hijacked) /* it's hijacked, don't try to alloc */ 90 if (bitmap->bp[page].map) /* page is already allocated, just return */ 107 if (!bitmap->bp[page].map) 108 bitmap->bp[page].hijacked = 1; 109 } else if (bitmap->bp[page].map || 110 bitmap->bp[page].hijacked) { 118 bitmap->bp[page].map = mappage; 131 if (bitmap->bp[page].count) /* page is still busy */ 136 if (bitmap->bp[page].hijacked) { /* page was hijacked, undo this now */ 137 bitmap->bp[pag 1649 struct bitmap_page *bp; local [all...] |
/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);
|
/drivers/tty/vt/ |
H A D | selection.c | 138 char *bp, *obp; local 269 bp = kmalloc(((sel_end-sel_start)/2+1)*multiplier, GFP_KERNEL); 270 if (!bp) { 276 sel_buffer = bp; 278 obp = bp; 282 bp += store_utf8(c, bp); 284 *bp++ = c; 286 obp = bp; 290 if (obp != bp) { [all...] |
/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 446 static void attach_one_temp(struct bbc_i2c_bus *bp, struct platform_device *op, argument 455 tp->client = bbc_i2c_attach(bp, op); 465 list_add(&tp->bp_list, &bp->temps); 491 static void attach_one_fan(struct bbc_i2c_bus *bp, struct platform_device *op, argument 500 fp->client = bbc_i2c_attach(bp, op); 509 list_add(&fp->bp_list, &bp->fans); 532 static void destroy_all_temps(struct bbc_i2c_bus *bp) argument 536 list_for_each_entry_safe(tp, tpos, &bp->temps, bp_list) { 549 static void destroy_all_fans(struct bbc_i2c_bus *bp) argument 553 list_for_each_entry_safe(fp, fpos, &bp 560 bbc_envctrl_init(struct bbc_i2c_bus *bp) argument 588 bbc_envctrl_cleanup(struct bbc_i2c_bus *bp) argument [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/mtd/nand/ |
H A D | nand_ecc.c | 163 const uint32_t *bp = (uint32_t *)buf; local 196 cur = *bp++; 199 cur = *bp++; 202 cur = *bp++; 205 cur = *bp++; 209 cur = *bp++; 213 cur = *bp++; 216 cur = *bp++; 219 cur = *bp++; 223 cur = *bp [all...] |
/drivers/media/video/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 | 305 unsigned char *bp = leaf->leafdata; local 308 bp[0], bp[1], bp[2 + bp[1]*2], 309 bp[5 + bp[2 + bp[1]*2]*2], 310 bp[4 + bp[ [all...] |
/drivers/scsi/ |
H A D | wd33c93.c | 2063 char *bp; local 2088 for (bp = buf; *bp; ) { 2089 while (',' == *bp || ' ' == *bp) 2090 ++bp; 2091 if (!strncmp(bp, "debug:", 6)) { 2092 hd->args = simple_strtoul(bp+6, &bp, 0) & DB_MASK; 2093 } else if (!strncmp(bp, "disconnec [all...] |
H A D | in2000.c | 2175 char *bp; local 2196 bp = buf; 2197 if (!strncmp(bp, "debug:", 6)) { 2198 bp += 6; 2199 hd->args = simple_strtoul(bp, NULL, 0) & DB_MASK; 2200 } else if (!strncmp(bp, "disconnect:", 11)) { 2201 bp += 11; 2202 x = simple_strtoul(bp, NULL, 0); 2206 } else if (!strncmp(bp, "period:", 7)) { 2207 bp [all...] |
/drivers/media/common/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...] |
/drivers/net/ethernet/sun/ |
H A D | sunbmac.h | 258 #define TX_BUFFS_AVAIL(bp) \ 259 (((bp)->tx_old <= (bp)->tx_new) ? \ 260 (bp)->tx_old + (TX_RING_SIZE - 1) - (bp)->tx_new : \ 261 (bp)->tx_old - (bp)->tx_new - 1)
|
/drivers/mfd/ |
H A D | pm8xxx-irq.c | 66 static int pm8xxx_read_master_irq(const struct pm_irq_chip *chip, u8 m, u8 *bp) argument 69 SSBI_REG_ADDR_IRQ_M_STATUS1 + m, bp); 72 static int pm8xxx_read_block_irq(struct pm_irq_chip *chip, u8 bp, u8 *ip) argument 77 rc = pm8xxx_writeb(chip->dev, SSBI_REG_ADDR_IRQ_BLK_SEL, bp); 79 pr_err("Failed Selecting Block %d rc=%d\n", bp, rc); 91 static int pm8xxx_config_irq(struct pm_irq_chip *chip, u8 bp, u8 cp) argument 96 rc = pm8xxx_writeb(chip->dev, SSBI_REG_ADDR_IRQ_BLK_SEL, bp); 98 pr_err("Failed Selecting Block %d rc=%d\n", bp, rc);
|
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.h | 268 struct bnx2x *bp; member in struct:link_params 364 int bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], 368 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port); 371 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy); 381 u8 bnx2x_hw_lock_required(struct bnx2x *bp, u32 shmem_base, 391 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, u32 shmem_base, 487 void bnx2x_init_mod_abs_int(struct bnx2x *bp, struct link_vars *vars,
|
/drivers/tty/serial/ |
H A D | mpsc.c | 790 u8 *bp, *bp_p; local 836 bp = pi->rxb; 852 bp += MPSC_RXBE_SIZE; 860 bp = pi->txb; 871 bp += MPSC_TXBE_SIZE; 943 u8 *bp; local 981 bp = pi->rxb + (pi->rxr_posn * MPSC_RXBE_SIZE); 982 dma_cache_sync(pi->port.dev, (void *)bp, MPSC_RXBE_SIZE, 986 invalidate_dcache_range((ulong)bp, 987 (ulong)bp 1114 u8 *bp; local 1554 u8 *bp; local 1701 u8 *bp, *dp, add_cr = 0; local [all...] |
/drivers/firmware/ |
H A D | dmi_scan.c | 25 const u8 *bp = ((u8 *) dm) + dm->length; local 29 while (s > 0 && *bp) { 30 bp += strlen(bp) + 1; 34 if (*bp != 0) { 35 size_t len = strlen(bp)+1; 38 if (!memcmp(bp, dmi_empty_string, cmp_len)) 40 return bp; 49 const char *bp = dmi_string_nosave(dm, s); local 53 if (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/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/infiniband/hw/qib/ |
H A D | qib_twsi.c | 357 u8 *bp = buffer; local 410 *bp++ = rd_byte(dd, !len); 435 const u8 *bp = buffer; local 463 if (qib_twsi_wr(dd, *bp++, 0))
|