/linux-2.6.39/drivers/video/aty/ |
D | radeon_monitor.c | 118 static int __devinit radeon_probe_OF_head(struct radeonfb_info *rinfo, int head_no, in radeon_probe_OF_head() argument 125 dp = rinfo->of_node; in radeon_probe_OF_head() 129 if (rinfo->has_CRTC2) { in radeon_probe_OF_head() 148 if (mt == MT_DFP && rinfo->is_mobility) in radeon_probe_OF_head() 166 static int __devinit radeon_get_panel_info_BIOS(struct radeonfb_info *rinfo) in radeon_get_panel_info_BIOS() argument 172 if (!rinfo->bios_seg) in radeon_get_panel_info_BIOS() 175 if (!(tmp = BIOS_IN16(rinfo->fp_bios_start + 0x40))) { in radeon_get_panel_info_BIOS() 177 rinfo->panel_info.pwr_delay = 200; in radeon_get_panel_info_BIOS() 185 rinfo->panel_info.xres = BIOS_IN16(tmp + 25); in radeon_get_panel_info_BIOS() 186 rinfo->panel_info.yres = BIOS_IN16(tmp + 27); in radeon_get_panel_info_BIOS() [all …]
|
D | radeon_pm.c | 40 static void radeon_reinitialize_M10(struct radeonfb_info *rinfo); 98 static int radeon_apply_workarounds(struct radeonfb_info *rinfo) in radeon_apply_workarounds() argument 103 if ((id->subsystem_vendor == rinfo->pdev->subsystem_vendor ) && in radeon_apply_workarounds() 104 (id->subsystem_device == rinfo->pdev->subsystem_device )) { in radeon_apply_workarounds() 110 rinfo->pm_mode |= id->pm_mode_modifier; in radeon_apply_workarounds() 113 rinfo->reinit_func = id->new_reinit_func; in radeon_apply_workarounds() 121 static inline int radeon_apply_workarounds(struct radeonfb_info *rinfo) in radeon_apply_workarounds() argument 129 static void radeon_pm_disable_dynamic_mode(struct radeonfb_info *rinfo) in radeon_pm_disable_dynamic_mode() argument 134 if ((rinfo->family == CHIP_FAMILY_RV100) && (!rinfo->is_mobility)) { in radeon_pm_disable_dynamic_mode() 135 if (rinfo->has_CRTC2) { in radeon_pm_disable_dynamic_mode() [all …]
|
D | radeon_i2c.c | 20 struct radeonfb_info *rinfo = chan->rinfo; in radeon_gpio_setscl() local 34 struct radeonfb_info *rinfo = chan->rinfo; in radeon_gpio_setsda() local 48 struct radeonfb_info *rinfo = chan->rinfo; in radeon_gpio_getscl() local 59 struct radeonfb_info *rinfo = chan->rinfo; in radeon_gpio_getsda() local 75 chan->adapter.dev.parent = &chan->rinfo->pdev->dev; in radeon_setup_i2c_bus() 93 dev_dbg(&chan->rinfo->pdev->dev, "I2C bus %s registered.\n", name); in radeon_setup_i2c_bus() 95 dev_warn(&chan->rinfo->pdev->dev, "Failed to register I2C bus %s.\n", name); in radeon_setup_i2c_bus() 99 void radeon_create_i2c_busses(struct radeonfb_info *rinfo) in radeon_create_i2c_busses() argument 101 rinfo->i2c[0].rinfo = rinfo; in radeon_create_i2c_busses() 102 rinfo->i2c[0].ddc_reg = GPIO_MONID; in radeon_create_i2c_busses() [all …]
|
D | radeon_base.c | 289 static void radeon_unmap_ROM(struct radeonfb_info *rinfo, struct pci_dev *dev) in radeon_unmap_ROM() argument 291 if (!rinfo->bios_seg) in radeon_unmap_ROM() 293 pci_unmap_rom(dev, rinfo->bios_seg); in radeon_unmap_ROM() 296 static int __devinit radeon_map_ROM(struct radeonfb_info *rinfo, struct pci_dev *dev) in radeon_map_ROM() argument 319 pci_name(rinfo->pdev)); in radeon_map_ROM() 323 rinfo->bios_seg = rom; in radeon_map_ROM() 329 pci_name(rinfo->pdev), BIOS_IN16(0)); in radeon_map_ROM() 361 "incorrect: %08x\n", pci_name(rinfo->pdev), BIOS_IN32(dptr)); in radeon_map_ROM() 381 rinfo->fp_bios_start = BIOS_IN16(0x48); in radeon_map_ROM() 385 rinfo->bios_seg = NULL; in radeon_map_ROM() [all …]
|
D | radeonfb.h | 61 #define IS_RV100_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_RV100) || \ argument 62 ((rinfo)->family == CHIP_FAMILY_RV200) || \ 63 ((rinfo)->family == CHIP_FAMILY_RS100) || \ 64 ((rinfo)->family == CHIP_FAMILY_RS200) || \ 65 ((rinfo)->family == CHIP_FAMILY_RV250) || \ 66 ((rinfo)->family == CHIP_FAMILY_RV280) || \ 67 ((rinfo)->family == CHIP_FAMILY_RS300)) 70 #define IS_R300_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_R300) || \ argument 71 ((rinfo)->family == CHIP_FAMILY_RV350) || \ 72 ((rinfo)->family == CHIP_FAMILY_R350) || \ [all …]
|
D | radeon_backlight.c | 24 struct radeonfb_info *rinfo; member 35 rlevel = pdata->rinfo->info->bl_curve[level] * in radeon_bl_get_level_brightness() 52 struct radeonfb_info *rinfo = pdata->rinfo; in radeon_bl_update_status() local 56 if (rinfo->mon1_type != MT_LCD) in radeon_bl_update_status() 69 del_timer_sync(&rinfo->lvds_timer); in radeon_bl_update_status() 76 lvds_gen_cntl |= (rinfo->init_state.lvds_gen_cntl & LVDS_DIGON); in radeon_bl_update_status() 84 lvds_gen_cntl |= (rinfo->init_state.lvds_gen_cntl & LVDS_BL_MOD_EN); in radeon_bl_update_status() 85 rinfo->pending_lvds_gen_cntl = lvds_gen_cntl; in radeon_bl_update_status() 86 mod_timer(&rinfo->lvds_timer, in radeon_bl_update_status() 87 jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay)); in radeon_bl_update_status() [all …]
|
D | radeon_accel.c | 8 static void radeon_fixup_offset(struct radeonfb_info *rinfo) in radeon_fixup_offset() argument 30 if (local_base == rinfo->fb_local_base) in radeon_fixup_offset() 33 rinfo->fb_local_base = local_base; in radeon_fixup_offset() 36 OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) | in radeon_fixup_offset() 37 (rinfo->fb_local_base >> 10)); in radeon_fixup_offset() 38 OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeon_fixup_offset() 39 OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeon_fixup_offset() 42 static void radeonfb_prim_fillrect(struct radeonfb_info *rinfo, in radeonfb_prim_fillrect() argument 48 rinfo->dp_gui_master_cntl /* contains, like GMC_DST_32BPP */ in radeonfb_prim_fillrect() 51 if (radeon_get_dstbpp(rinfo->depth) != DST_8BPP) in radeonfb_prim_fillrect() [all …]
|
/linux-2.6.39/net/mac80211/ |
D | rc80211_pid_algo.c | 75 struct rc_pid_rateinfo *rinfo) in rate_control_pid_adjust_rate() argument 84 cur_sorted = rinfo[cur].rev_index; in rate_control_pid_adjust_rate() 89 new_sorted = rinfo[0].rev_index; in rate_control_pid_adjust_rate() 91 new_sorted = rinfo[n_bitrates - 1].rev_index; in rate_control_pid_adjust_rate() 98 if (rinfo[probe].diff <= rinfo[cur_sorted].diff && in rate_control_pid_adjust_rate() 99 rate_supported(sta, band, rinfo[probe].index)) in rate_control_pid_adjust_rate() 104 if (rinfo[probe].diff <= rinfo[new_sorted].diff && in rate_control_pid_adjust_rate() 105 rate_supported(sta, band, rinfo[probe].index)) in rate_control_pid_adjust_rate() 111 if (rate_supported(sta, band, rinfo[tmp].index)) { in rate_control_pid_adjust_rate() 112 spinfo->txrate_idx = rinfo[tmp].index; in rate_control_pid_adjust_rate() [all …]
|
D | rc80211_pid.h | 267 struct rc_pid_rateinfo *rinfo; member
|
/linux-2.6.39/drivers/hid/usbhid/ |
D | hiddev.c | 76 hiddev_lookup_report(struct hid_device *hid, struct hiddev_report_info *rinfo) in hiddev_lookup_report() argument 78 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; in hiddev_lookup_report() 79 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; in hiddev_lookup_report() 84 if (rinfo->report_type < HID_REPORT_TYPE_MIN || in hiddev_lookup_report() 85 rinfo->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_report() 89 (rinfo->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_report() 101 rinfo->report_id = report->id; in hiddev_lookup_report() 114 rinfo->report_id = report->id; in hiddev_lookup_report() 121 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report() 440 struct hiddev_report_info rinfo; in hiddev_ioctl_usage() local [all …]
|
/linux-2.6.39/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_gram.y | 332 if (cur_symbol->info.rinfo->valid_bitmask == 0) 333 cur_symbol->info.rinfo->valid_bitmask = 0xFF; 335 if (cur_symbol->info.rinfo->size == 0) 336 cur_symbol->info.rinfo->size = 1; 342 if (cur_symbol->info.rinfo->address == 0) 343 cur_symbol->info.rinfo->address = 346 cur_symbol->info.rinfo->size; 379 cur_symbol->info.rinfo->address = $2; 386 cur_symbol->info.rinfo->size = $2; 391 max_addr = scb_or_sram_symbol->info.rinfo->address [all …]
|
D | aicasm_symbol.c | 98 if (symbol->info.rinfo != NULL) in symbol_delete() 99 free(symbol->info.rinfo); in symbol_delete() 265 || (!field && (curnode->symbol->info.rinfo->address > in symlist_add() 266 newnode->symbol->info.rinfo->address))) { in symlist_add() 286 && (cursymbol->info.rinfo->address > in symlist_add() 287 symbol->info.rinfo->address))) { in symlist_add() 421 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end() 439 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end() 558 fields = &curnode->symbol->info.rinfo->fields; in symtable_dump() 618 value = curnode->symbol->info.rinfo->address; in symtable_dump() [all …]
|
D | aicasm_symbol.h | 133 struct reg_info *rinfo; member
|
/linux-2.6.39/fs/ceph/ |
D | inode.c | 931 struct ceph_mds_reply_info_parsed *rinfo = &req->r_reply_info; in ceph_fill_trace() local 940 rinfo->head->is_dentry, rinfo->head->is_target); in ceph_fill_trace() 953 if (rinfo->head->op & CEPH_MDS_OP_WRITE) { in ceph_fill_trace() 955 req->r_tid, ceph_mds_op_name(rinfo->head->op)); in ceph_fill_trace() 956 if (rinfo->head->is_dentry) { in ceph_fill_trace() 957 rinfo->head->is_dentry = 0; in ceph_fill_trace() 959 &rinfo->diri, rinfo->dirfrag, in ceph_fill_trace() 962 if (rinfo->head->is_target) { in ceph_fill_trace() 963 rinfo->head->is_target = 0; in ceph_fill_trace() 964 ininfo = rinfo->targeti.in; in ceph_fill_trace() [all …]
|
D | dir.c | 232 struct ceph_mds_reply_info_parsed *rinfo; in ceph_readdir() local 350 rinfo = &req->r_reply_info; in ceph_readdir() 352 rinfo->dir_dname[rinfo->dir_nr-1], in ceph_readdir() 353 rinfo->dir_dname_len[rinfo->dir_nr-1]); in ceph_readdir() 356 fi->next_offset += rinfo->dir_nr; in ceph_readdir() 360 rinfo = &fi->last_readdir->r_reply_info; in ceph_readdir() 362 rinfo->dir_nr, off, fi->offset); in ceph_readdir() 363 while (off - fi->offset >= 0 && off - fi->offset < rinfo->dir_nr) { in ceph_readdir() 366 rinfo->dir_in[off - fi->offset].in; in ceph_readdir() 371 off, off - fi->offset, rinfo->dir_nr, pos, in ceph_readdir() [all …]
|
D | mds_client.c | 2009 struct ceph_mds_reply_info_parsed *rinfo; /* parsed reply info */ in handle_reply() local 2123 rinfo = &req->r_reply_info; in handle_reply() 2124 err = parse_reply_info(msg, rinfo, session->s_con.peer_features); in handle_reply() 2135 if (rinfo->snapblob_len) { in handle_reply() 2137 ceph_update_snap_trace(mdsc, rinfo->snapblob, in handle_reply() 2138 rinfo->snapblob + rinfo->snapblob_len, in handle_reply() 2150 rinfo->dir_nr) in handle_reply()
|
/linux-2.6.39/drivers/scsi/ |
D | sg.c | 965 sg_req_info_t *rinfo; in sg_ioctl() local 968 rinfo = kmalloc(SZ_SG_REQ_INFO * SG_MAX_QUEUE, in sg_ioctl() 970 if (!rinfo) in sg_ioctl() 975 memset(&rinfo[val], 0, SZ_SG_REQ_INFO); in sg_ioctl() 977 rinfo[val].req_state = srp->done + 1; in sg_ioctl() 978 rinfo[val].problem = in sg_ioctl() 983 rinfo[val].duration = in sg_ioctl() 987 rinfo[val].duration = in sg_ioctl() 991 rinfo[val].orphan = srp->orphan; in sg_ioctl() 992 rinfo[val].sg_io_owned = in sg_ioctl() [all …]
|
/linux-2.6.39/net/ipv6/ |
D | route.c | 520 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local 531 if (rinfo->length > 3) { in rt6_route_rcv() 533 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv() 535 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv() 536 if (rinfo->length < 2) { in rt6_route_rcv() 539 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv() 540 if (rinfo->length < 1) { in rt6_route_rcv() 545 pref = rinfo->route_pref; in rt6_route_rcv() 549 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv() 551 if (rinfo->length == 3) in rt6_route_rcv() [all …]
|
/linux-2.6.39/drivers/net/ |
D | xen-netfront.c | 640 struct netfront_rx_info *rinfo, RING_IDX rp, in xennet_get_responses() argument 643 struct xen_netif_rx_response *rx = &rinfo->rx; in xennet_get_responses() 644 struct xen_netif_extra_info *extras = rinfo->extras; in xennet_get_responses() 889 struct netfront_rx_info rinfo; in xennet_poll() local 890 struct xen_netif_rx_response *rx = &rinfo.rx; in xennet_poll() 891 struct xen_netif_extra_info *extras = rinfo.extras; in xennet_poll() 914 memset(extras, 0, sizeof(rinfo.extras)); in xennet_poll() 916 err = xennet_get_responses(np, &rinfo, rp, &tmpq); in xennet_poll()
|
/linux-2.6.39/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 401 struct cfi_intelext_regioninfo *rinfo; in read_pri_intelext() local 402 rinfo = (struct cfi_intelext_regioninfo *)&extp->extra[extra_size]; in read_pri_intelext() 403 extra_size += sizeof(*rinfo); in read_pri_intelext() 406 rinfo->NumIdentPartitions=le16_to_cpu(rinfo->NumIdentPartitions); in read_pri_intelext() 407 extra_size += (rinfo->NumBlockTypes - 1) in read_pri_intelext() 670 struct cfi_intelext_regioninfo *rinfo; in cfi_intelext_partition_fixup() local 671 rinfo = (struct cfi_intelext_regioninfo *)&extp->extra[offs]; in cfi_intelext_partition_fixup() 672 numparts += rinfo->NumIdentPartitions; in cfi_intelext_partition_fixup() 673 offs += sizeof(*rinfo) in cfi_intelext_partition_fixup() 674 + (rinfo->NumBlockTypes - 1) * in cfi_intelext_partition_fixup()
|
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/ |
D | wlc_main.c | 7889 wlc_rev_info_t *rinfo = (wlc_rev_info_t *) buf; in wlc_get_revision_info() local 7894 rinfo->vendorid = wlc->vendorid; in wlc_get_revision_info() 7895 rinfo->deviceid = wlc->deviceid; in wlc_get_revision_info() 7896 rinfo->radiorev = (wlc->band->radiorev << IDCODE_REV_SHIFT) | in wlc_get_revision_info() 7898 rinfo->chiprev = wlc->pub->sih->chiprev; in wlc_get_revision_info() 7899 rinfo->corerev = wlc->pub->corerev; in wlc_get_revision_info() 7900 rinfo->boardid = wlc->pub->sih->boardtype; in wlc_get_revision_info() 7901 rinfo->boardvendor = wlc->pub->sih->boardvendor; in wlc_get_revision_info() 7902 rinfo->boardrev = wlc->pub->boardrev; in wlc_get_revision_info() 7903 rinfo->ucoderev = wlc->ucode_rev; in wlc_get_revision_info() [all …]
|
/linux-2.6.39/drivers/video/ |
D | carminefb.c | 540 int smem_offset, struct device *device, struct fb_info **rinfo) in alloc_carmine_fb() argument 589 *rinfo = info; in alloc_carmine_fb()
|