/linux-2.6.39/net/tipc/ |
D | log.c | 101 void tipc_printbuf_init(struct print_buf *pb, char *raw, u32 size) in tipc_printbuf_init() argument 103 pb->buf = raw; in tipc_printbuf_init() 104 pb->crs = raw; in tipc_printbuf_init() 105 pb->size = size; in tipc_printbuf_init() 106 pb->echo = 0; in tipc_printbuf_init() 109 pb->buf = NULL; in tipc_printbuf_init() 111 pb->buf[0] = 0; in tipc_printbuf_init() 112 pb->buf[size - 1] = ~0; in tipc_printbuf_init() 121 static void tipc_printbuf_reset(struct print_buf *pb) in tipc_printbuf_reset() argument 123 if (pb->buf) { in tipc_printbuf_reset() [all …]
|
D | log.h | 58 void tipc_printbuf_init(struct print_buf *pb, char *buf, u32 size); 59 int tipc_printbuf_validate(struct print_buf *pb);
|
D | discover.c | 104 struct print_buf pb; in disc_dupl_alert() local 107 tipc_printbuf_init(&pb, media_addr_str, sizeof(media_addr_str)); in disc_dupl_alert() 108 tipc_media_addr_printf(&pb, media_addr); in disc_dupl_alert() 109 tipc_printbuf_validate(&pb); in disc_dupl_alert()
|
D | bcast.c | 710 struct print_buf pb; in tipc_bclink_stats() local 715 tipc_printbuf_init(&pb, buf, buf_size); in tipc_bclink_stats() 719 tipc_printf(&pb, "Link <%s>\n" in tipc_bclink_stats() 722 tipc_printf(&pb, " RX packets:%u fragments:%u/%u bundles:%u/%u\n", in tipc_bclink_stats() 728 tipc_printf(&pb, " TX packets:%u fragments:%u/%u bundles:%u/%u\n", in tipc_bclink_stats() 734 tipc_printf(&pb, " RX naks:%u defs:%u dups:%u\n", in tipc_bclink_stats() 738 tipc_printf(&pb, " TX naks:%u acks:%u dups:%u\n", in tipc_bclink_stats() 742 tipc_printf(&pb, " Congestion bearer:%u link:%u Send queue max:%u avg:%u\n", in tipc_bclink_stats() 751 return tipc_printbuf_validate(&pb); in tipc_bclink_stats()
|
D | config.c | 113 struct print_buf pb; in tipc_show_stats() local 129 tipc_printbuf_init(&pb, (char *)TLV_DATA(rep_tlv), MAX_STATS_INFO); in tipc_show_stats() 131 tipc_printf(&pb, "TIPC version " TIPC_MOD_VER "\n"); in tipc_show_stats() 135 str_len = tipc_printbuf_validate(&pb); in tipc_show_stats()
|
D | bearer.c | 175 void tipc_media_addr_printf(struct print_buf *pb, struct tipc_media_addr *a) in tipc_media_addr_printf() argument 190 tipc_printf(pb, "%s(%s)", m_ptr->name, in tipc_media_addr_printf() 195 tipc_printf(pb, "UNKNOWN(%u)", media_type); in tipc_media_addr_printf() 197 tipc_printf(pb, "-%02x", addr[i]); in tipc_media_addr_printf()
|
/linux-2.6.39/drivers/video/backlight/ |
D | pwm_bl.c | 36 struct pwm_bl_data *pb = dev_get_drvdata(&bl->dev); in pwm_backlight_update_status() local 46 if (pb->notify) in pwm_backlight_update_status() 47 brightness = pb->notify(pb->dev, brightness); in pwm_backlight_update_status() 50 pwm_config(pb->pwm, 0, pb->period); in pwm_backlight_update_status() 51 pwm_disable(pb->pwm); in pwm_backlight_update_status() 53 brightness = pb->lth_brightness + in pwm_backlight_update_status() 54 (brightness * (pb->period - pb->lth_brightness) / max); in pwm_backlight_update_status() 55 pwm_config(pb->pwm, brightness, pb->period); in pwm_backlight_update_status() 56 pwm_enable(pb->pwm); in pwm_backlight_update_status() 69 struct pwm_bl_data *pb = dev_get_drvdata(&bl->dev); in pwm_backlight_check_fb() local [all …]
|
/linux-2.6.39/drivers/parport/ |
D | parport_gsc.c | 58 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout() argument 62 if (!(parport_gsc_read_status(pb) & 0x01)) in clear_epp_timeout() 66 parport_gsc_read_status(pb); in clear_epp_timeout() 67 r = parport_gsc_read_status(pb); in clear_epp_timeout() 68 parport_writeb (r | 0x01, STATUS (pb)); /* Some reset by writing 1 */ in clear_epp_timeout() 69 parport_writeb (r & 0xfe, STATUS (pb)); /* Others by writing 0 */ in clear_epp_timeout() 70 r = parport_gsc_read_status(pb); in clear_epp_timeout() 140 static int __devinit parport_SPP_supported(struct parport *pb) in parport_SPP_supported() argument 150 clear_epp_timeout(pb); in parport_SPP_supported() 154 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported() [all …]
|
D | parport_pc.c | 112 static void frob_econtrol(struct parport *pb, unsigned char m, in frob_econtrol() argument 118 ectr = inb(ECONTROL(pb)); in frob_econtrol() 123 outb((ectr & ~m) ^ v, ECONTROL(pb)); in frob_econtrol() 255 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout() argument 259 if (!(parport_pc_read_status(pb) & 0x01)) in clear_epp_timeout() 263 parport_pc_read_status(pb); in clear_epp_timeout() 264 r = parport_pc_read_status(pb); in clear_epp_timeout() 265 outb(r | 0x01, STATUS(pb)); /* Some reset by writing 1 */ in clear_epp_timeout() 266 outb(r & 0xfe, STATUS(pb)); /* Others by writing 0 */ in clear_epp_timeout() 267 r = parport_pc_read_status(pb); in clear_epp_timeout() [all …]
|
/linux-2.6.39/fs/partitions/ |
D | amiga.c | 31 struct PartitionBlock *pb; in amiga_partition() local 91 pb = (struct PartitionBlock *)data; in amiga_partition() 92 blk = be32_to_cpu(pb->pb_Next); in amiga_partition() 93 if (pb->pb_ID != cpu_to_be32(IDNAME_PARTITION)) in amiga_partition() 95 if (checksum_block((__be32 *)pb, be32_to_cpu(pb->pb_SummedLongs) & 0x7F) != 0 ) in amiga_partition() 100 nr_sects = (be32_to_cpu(pb->pb_Environment[10]) + 1 - in amiga_partition() 101 be32_to_cpu(pb->pb_Environment[9])) * in amiga_partition() 102 be32_to_cpu(pb->pb_Environment[3]) * in amiga_partition() 103 be32_to_cpu(pb->pb_Environment[5]) * in amiga_partition() 107 start_sect = be32_to_cpu(pb->pb_Environment[9]) * in amiga_partition() [all …]
|
/linux-2.6.39/arch/sparc/lib/ |
D | PeeCeeI.c | 93 u8 *pb = dst; in insb() local 95 while ((((unsigned long)pb) & 0x3) && count--) in insb() 96 *pb++ = inb(addr); in insb() 97 pi = (u32 *)pb; in insb() 108 pb = (u8 *)pi; in insb() 110 *pb++ = inb(addr); in insb() 155 u8 *pb; in insl() local 174 pb = dst; in insl() 177 *pb++ = l >> 24; in insl() 178 ps = (u16 *)pb; in insl() [all …]
|
/linux-2.6.39/arch/mips/fw/arc/ |
D | init.c | 26 PSYSTEM_PARAMETER_BLOCK pb = PROMBLOCK; in prom_init() local 34 if (pb->magic != 0x53435241) { in prom_init() 36 (unsigned long) pb->magic); in prom_init() 44 pb->ver, pb->rev); in prom_init()
|
/linux-2.6.39/net/mac80211/ |
D | rc80211_pid_debugfs.c | 138 char pb[RC_PID_PRINT_BUF_SIZE]; in rate_control_pid_events_read() local 169 p = snprintf(pb, length, "%u %lu ", ev->id, ev->timestamp); in rate_control_pid_events_read() 172 p += snprintf(pb + p, length - p, "tx_status %u %u", in rate_control_pid_events_read() 177 p += snprintf(pb + p, length - p, "rate_change %d %d", in rate_control_pid_events_read() 181 p += snprintf(pb + p, length - p, "tx_rate %d %d", in rate_control_pid_events_read() 185 p += snprintf(pb + p, length - p, in rate_control_pid_events_read() 191 p += snprintf(pb + p, length - p, "\n"); in rate_control_pid_events_read() 195 if (copy_to_user(buf, pb, p)) in rate_control_pid_events_read()
|
/linux-2.6.39/fs/ext4/ |
D | ext4_extents.h | 256 ext4_fsblk_t pb) in ext4_ext_store_pblock() argument 258 ex->ee_start_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff)); in ext4_ext_store_pblock() 259 ex->ee_start_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & in ext4_ext_store_pblock() 269 ext4_fsblk_t pb) in ext4_idx_store_pblock() argument 271 ix->ei_leaf_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff)); in ext4_idx_store_pblock() 272 ix->ei_leaf_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & in ext4_idx_store_pblock()
|
/linux-2.6.39/arch/x86/mm/ |
D | numa_emulation.c | 39 struct numa_memblk *pb = &pi->blk[phys_blk]; in emu_setup_memblk() local 47 eb->start = pb->start; in emu_setup_memblk() 48 eb->end = pb->start + size; in emu_setup_memblk() 52 emu_nid_to_phys[nid] = pb->nid; in emu_setup_memblk() 54 pb->start += size; in emu_setup_memblk() 55 if (pb->start >= pb->end) { in emu_setup_memblk() 56 WARN_ON_ONCE(pb->start > pb->end); in emu_setup_memblk()
|
/linux-2.6.39/drivers/gpu/drm/nouveau/ |
D | nouveau_channel.c | 36 struct nouveau_bo *pb = chan->pushbuf_bo; in nouveau_channel_pushbuf_ctxdma_init() local 49 chan->pushbuf_base = pb->bo.offset; in nouveau_channel_pushbuf_ctxdma_init() 51 if (pb->bo.mem.mem_type == TTM_PL_TT) { in nouveau_channel_pushbuf_ctxdma_init() 56 chan->pushbuf_base = pb->bo.mem.start << PAGE_SHIFT; in nouveau_channel_pushbuf_ctxdma_init() 63 chan->pushbuf_base = pb->bo.mem.start << PAGE_SHIFT; in nouveau_channel_pushbuf_ctxdma_init() 74 chan->pushbuf_base = pb->bo.mem.start << PAGE_SHIFT; in nouveau_channel_pushbuf_ctxdma_init()
|
D | nouveau_dma.c | 169 struct nouveau_bo *pb = chan->pushbuf_bo; in nv50_dma_push() local 174 nouveau_bo_wr32(pb, ip++, lower_32_bits(offset)); in nv50_dma_push() 175 nouveau_bo_wr32(pb, ip++, upper_32_bits(offset) | length << 8); in nv50_dma_push() 181 nouveau_bo_rd32(pb, 0); in nv50_dma_push()
|
/linux-2.6.39/drivers/usb/host/ |
D | r8a66597.h | 210 unsigned char *pb; in r8a66597_write_fifo() local 218 pb = (unsigned char *)buf + count * 4; in r8a66597_write_fifo() 221 iowrite8(pb[i], fifoaddr + i); in r8a66597_write_fifo() 223 iowrite8(pb[i], fifoaddr + 3 - i); in r8a66597_write_fifo()
|
/linux-2.6.39/drivers/scsi/ |
D | ppa.c | 1005 static int __ppa_attach(struct parport *pb) in __ppa_attach() argument 1022 dev->dev = parport_register_device(pb, "ppa", NULL, ppa_wakeup, in __ppa_attach() 1039 "time!\n", pb->number); in __ppa_attach() 1087 host->io_port = pb->base; in __ppa_attach() 1090 host->unique_id = pb->number; in __ppa_attach() 1109 static void ppa_attach(struct parport *pb) in ppa_attach() argument 1111 __ppa_attach(pb); in ppa_attach() 1114 static void ppa_detach(struct parport *pb) in ppa_detach() argument 1118 if (dev->dev->port == pb) { in ppa_detach()
|
D | imm.c | 1142 static int __imm_attach(struct parport *pb) in __imm_attach() argument 1163 dev->dev = parport_register_device(pb, "imm", NULL, imm_wakeup, in __imm_attach() 1181 "time!\n", pb->number); in __imm_attach() 1223 host->io_port = pb->base; in __imm_attach() 1226 host->unique_id = pb->number; in __imm_attach() 1246 static void imm_attach(struct parport *pb) in imm_attach() argument 1248 __imm_attach(pb); in imm_attach() 1251 static void imm_detach(struct parport *pb) in imm_detach() argument 1255 if (dev->dev->port == pb) { in imm_detach()
|
/linux-2.6.39/Documentation/isdn/ |
D | README.HiSax | 274 1 Teles 16.0 pa=irq pb=membase pc=iobase 275 2 Teles 8.0 pa=irq pb=membase 276 3 Teles 16.3 pa=irq pb=iobase 278 5 AVM A1 (Fritz) pa=irq pb=iobase 281 8 Teles S0 PCMCIA pa=irq pb=iobase 282 9 ITK ix1-micro Rev.2 pa=irq pb=iobase 283 10 ELSA PCMCIA pa=irq, pb=io (set with card manager) 287 13 HFC-2BS0 based cards pa=irq pb=io 289 15 Sedlbauer Speed Card pa=irq pb=io (Speed Win only as module !) 290 15 Sedlbauer PC/104 pa=irq pb=io [all …]
|
/linux-2.6.39/drivers/usb/gadget/ |
D | m66592-udc.h | 572 unsigned char *pb; in m66592_write_fifo() local 579 pb = buf + count * 4; in m66592_write_fifo() 582 iowrite8(pb[i], fifoaddr + (3 - i)); in m66592_write_fifo() 584 iowrite8(pb[i], fifoaddr + i); in m66592_write_fifo()
|
/linux-2.6.39/scripts/ |
D | xz_wrap.sh | 18 ia64) BCJ=--ia64; LZMA2OPTS=pb=4 ;;
|
/linux-2.6.39/drivers/isdn/i4l/ |
D | isdn_ppp.c | 119 spin_lock(&lp->netdev->pb->lock); in isdn_ppp_free() 123 if (lp->netdev->pb->ref_ct == 1) /* last link in queue? */ in isdn_ppp_free() 126 lp->netdev->pb->ref_ct--; in isdn_ppp_free() 127 spin_unlock(&lp->netdev->pb->lock); in isdn_ppp_free() 1558 if( lp->netdev->pb ) in isdn_ppp_mp_init() 1559 lp->netdev->pb->ref_ct--; in isdn_ppp_mp_init() 1560 lp->netdev->pb = add_to; in isdn_ppp_mp_init() 1563 if ((lp->netdev->pb = isdn_ppp_mp_bundle_alloc()) == NULL) in isdn_ppp_mp_init() 1566 lp->netdev->pb->frags = NULL; in isdn_ppp_mp_init() 1567 lp->netdev->pb->frames = 0; in isdn_ppp_mp_init() [all …]
|
/linux-2.6.39/scripts/genksyms/ |
D | parse.y | 47 remove_list(struct string_list **pb, struct string_list **pe) in remove_list() argument 49 struct string_list *b = *pb, *e = *pe; in remove_list() 50 *pb = e; in remove_list()
|