/linux/drivers/video/fbdev/aty/ |
A D | radeon_monitor.c | 189 rinfo->panel_info.xres, rinfo->panel_info.yres); in radeon_get_panel_info_BIOS() 472 rinfo->mon1_type = rinfo->mon2_type; in radeon_probe_screens() 473 rinfo->mon1_EDID = rinfo->mon2_EDID; in radeon_probe_screens() 552 rinfo->mon1_type = radeon_probe_OF_head(rinfo, 0, in radeon_probe_screens() 573 rinfo->mon1_type = radeon_crt_is_connected(rinfo, rinfo->reversed_DAC); in radeon_probe_screens() 580 rinfo->mon2_type = radeon_probe_OF_head(rinfo, 1, in radeon_probe_screens() 592 rinfo->mon2_type = radeon_crt_is_connected(rinfo, !rinfo->reversed_DAC); in radeon_probe_screens() 601 rinfo->mon1_type = rinfo->mon2_type; in radeon_probe_screens() 602 rinfo->mon1_EDID = rinfo->mon2_EDID; in radeon_probe_screens() 617 rinfo->mon1_type = rinfo->mon2_type; in radeon_probe_screens() [all …]
|
A D | radeon_pm.c | 637 rinfo->save_regs[59] = INMC(rinfo, ixR300_MC_IMP_CNTL); in radeon_pm_save_regs() 648 rinfo->save_regs[70] = INMC(rinfo, ixR300_MC_DLL_CNTL); in radeon_pm_save_regs() 653 rinfo->save_regs[59] = INMC(rinfo, ixMC_IMP_CNTL); in radeon_pm_save_regs() 654 rinfo->save_regs[65] = INMC(rinfo, ixMC_CHP_IO_CNTL_A0); in radeon_pm_save_regs() 655 rinfo->save_regs[66] = INMC(rinfo, ixMC_CHP_IO_CNTL_A1); in radeon_pm_save_regs() 656 rinfo->save_regs[67] = INMC(rinfo, ixMC_CHP_IO_CNTL_B0); in radeon_pm_save_regs() 658 rinfo->save_regs[71] = INMC(rinfo, ixMC_IMP_CNTL_0); in radeon_pm_save_regs() 1204 OUTMC(rinfo, ixR300_MC_DLL_CNTL, rinfo->save_regs[70]); in radeon_pm_enable_dll_m10() 2752 rinfo->reinit_func(rinfo); in radeonfb_pci_resume() 2772 radeon_write_mode (rinfo, &rinfo->state, 1); in radeonfb_pci_resume() [all …]
|
A D | radeon_i2c.c | 102 rinfo->i2c[0].rinfo = rinfo; in radeon_create_i2c_busses() 109 rinfo->i2c[1].rinfo = rinfo; in radeon_create_i2c_busses() 113 rinfo->i2c[2].rinfo = rinfo; in radeon_create_i2c_busses() 117 rinfo->i2c[3].rinfo = rinfo; in radeon_create_i2c_busses() 124 if (rinfo->i2c[0].rinfo) in radeon_delete_i2c_busses() 126 rinfo->i2c[0].rinfo = NULL; in radeon_delete_i2c_busses() 128 if (rinfo->i2c[1].rinfo) in radeon_delete_i2c_busses() 130 rinfo->i2c[1].rinfo = NULL; in radeon_delete_i2c_busses() 132 if (rinfo->i2c[2].rinfo) in radeon_delete_i2c_busses() 134 rinfo->i2c[2].rinfo = NULL; in radeon_delete_i2c_busses() [all …]
|
A D | radeon_base.c | 826 rinfo->pll.mclk / 100, rinfo->pll.mclk % 100, in radeon_get_pllinfo() 1121 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_screen_blank() 1135 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_screen_blank() 1255 if (!rinfo->asleep && rinfo->is_mobility) in radeonfb_setcolreg() 1303 if (!rinfo->asleep && rinfo->is_mobility) in radeonfb_setcmap() 1614 rinfo->pll.ref_div, rinfo->pll.ref_clk, in radeon_calc_pll_regs() 1624 rinfo->pll.ref_div, rinfo->pll.ref_clk, in radeon_calc_pll_regs() 2292 snprintf(rinfo->name, sizeof(rinfo->name), in radeonfb_pci_register() 2295 snprintf(rinfo->name, sizeof(rinfo->name), in radeonfb_pci_register() 2380 rinfo->fb_base = ioremap_wc(rinfo->fb_base_phys, in radeonfb_pci_register() [all …]
|
A D | radeonfb.h | 62 #define IS_RV100_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_RV100) || \ argument 68 ((rinfo)->family == CHIP_FAMILY_RS300)) 71 #define IS_R300_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_R300) || \ argument 72 ((rinfo)->family == CHIP_FAMILY_RV350) || \ 73 ((rinfo)->family == CHIP_FAMILY_R350) || \ 74 ((rinfo)->family == CHIP_FAMILY_RV380) || \ 75 ((rinfo)->family == CHIP_FAMILY_R420) || \ 273 struct radeonfb_info *rinfo; member 367 #define PRIMARY_MONITOR(rinfo) (rinfo->mon1_type) argument 415 radeon_pll_errata_after_data_slow(rinfo); in radeon_pll_errata_after_data() [all …]
|
A D | radeon_backlight.c | 21 struct radeonfb_info *rinfo; member 49 struct radeonfb_info *rinfo = pdata->rinfo; in radeon_bl_update_status() local 53 if (rinfo->mon1_type != MT_LCD) in radeon_bl_update_status() 93 rinfo->init_state.lvds_gen_cntl |= rinfo->pending_lvds_gen_cntl in radeon_bl_update_status() 100 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_bl_update_status() 112 mod_timer(&rinfo->lvds_timer, in radeon_bl_update_status() 114 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_bl_update_status() 157 rinfo->info->bl_dev = NULL; in radeonfb_bl_init() 162 pdata->rinfo = rinfo; in radeonfb_bl_init() 180 rinfo->info->bl_dev = bd; in radeonfb_bl_init() [all …]
|
A D | radeon_accel.c | 39 OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeon_fixup_offset() 40 OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeon_fixup_offset() 81 radeon_fixup_offset(rinfo); in radeonfb_fillrect() 154 radeon_fixup_offset(rinfo); in radeonfb_copyarea() 199 radeon_engine_flush (rinfo); in radeonfb_engine_reset() 215 if (IS_R300_VARIANT(rinfo)) { in radeonfb_engine_reset() 251 if (!IS_R300_VARIANT(rinfo)) in radeonfb_engine_reset() 265 radeonfb_engine_reset(rinfo); in radeonfb_engine_init() 268 if (IS_R300_VARIANT(rinfo)) { in radeonfb_engine_init() 289 OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeonfb_engine_init() [all …]
|
/linux/drivers/block/ |
A D | xen-blkfront.c | 284 rinfo->shadow_free = rinfo->shadow[free].req.u.rw.id; in get_id_from_freelist() 296 rinfo->shadow[id].req.u.rw.id = rinfo->shadow_free; in add_id_to_freelist() 531 *ring_req = RING_GET_REQUEST(&rinfo->ring, rinfo->ring.req_prod_pvt); in blkif_ring_get_request() 596 struct blkfront_ring_info *rinfo = setup->rinfo; in blkif_setup_rw_req_grant() local 705 .rinfo = rinfo, in blkif_queue_rw_req() 736 rinfo, in blkif_queue_rw_req() 1297 if (rinfo->irq) in blkif_free_ring() 1298 unbind_from_irqhandler(rinfo->irq, rinfo); in blkif_free_ring() 1299 rinfo->evtchn = rinfo->irq = 0; in blkif_free_ring() 1318 info->rinfo = NULL; in blkif_free() [all …]
|
/linux/drivers/regulator/ |
A D | max77620-regulator.c | 102 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_get_fps_src() local 119 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_set_fps_src() local 123 if (!rinfo) in max77620_regulator_set_fps_src() 167 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_set_fps_slots() local 174 if (!rinfo) in max77620_regulator_set_fps_slots() 210 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_set_power_mode() local 239 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_get_power_mode() local 266 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_read_slew_rate() local 317 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_set_slew_rate() local 354 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_config_power_ok() local [all …]
|
A D | scmi-regulator.c | 266 if (dom >= rinfo->num_doms) in process_scmi_regulator_of_node() 269 if (rinfo->sregv[dom]) { in process_scmi_regulator_of_node() 279 if (!rinfo->sregv[dom]) in process_scmi_regulator_of_node() 282 rinfo->sregv[dom]->id = dom; in process_scmi_regulator_of_node() 284 rinfo->sregv[dom]->ph = ph; in process_scmi_regulator_of_node() 328 rinfo = devm_kzalloc(&sdev->dev, sizeof(*rinfo), GFP_KERNEL); in scmi_regulator_probe() 329 if (!rinfo) in scmi_regulator_probe() 335 if (!rinfo->sregv) in scmi_regulator_probe() 338 rinfo->num_doms = num_doms; in scmi_regulator_probe() 396 if (!rinfo) in scmi_regulator_remove() [all …]
|
A D | palmas-regulator.c | 773 addr = rinfo->ctrl_addr; in palmas_ldo_init() 818 addr = rinfo->ctrl_addr; in palmas_extreg_init() 856 addr = rinfo->ctrl_addr; in palmas_enable_ldo8_track() 875 addr = rinfo->vsel_addr; in palmas_enable_ldo8_track() 915 desc->name = rinfo->name; in palmas_ldo_registration() 1033 desc->name = rinfo->name; in tps65917_ldo_registration() 1194 desc->name = rinfo->name; in palmas_smps_registration() 1225 addr = rinfo->vsel_addr; in palmas_smps_registration() 1248 addr = rinfo->ctrl_addr; in palmas_smps_registration() 1330 addr = rinfo->vsel_addr; in tps65917_smps_registration() [all …]
|
/linux/drivers/hid/usbhid/ |
A D | hiddev.c | 81 rinfo->report_id = report->id; in hiddev_lookup_report() 94 rinfo->report_id = report->id; in hiddev_lookup_report() 430 struct hiddev_report_info rinfo; in hiddev_ioctl_usage() local 453 rinfo.report_id = uref->report_id; in hiddev_ioctl_usage() 600 struct hiddev_report_info rinfo; in hiddev_ioctl() local 695 if (copy_from_user(&rinfo, user_arg, sizeof(rinfo))) { in hiddev_ioctl() 714 if (copy_from_user(&rinfo, user_arg, sizeof(rinfo))) { in hiddev_ioctl() 733 if (copy_from_user(&rinfo, user_arg, sizeof(rinfo))) { in hiddev_ioctl() 744 r = copy_to_user(user_arg, &rinfo, sizeof(rinfo)) ? in hiddev_ioctl() 755 rinfo.report_id = finfo.report_id; in hiddev_ioctl() [all …]
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_gram.y | 331 cur_symbol->info.rinfo->size = 1; 338 cur_symbol->info.rinfo->address = 341 cur_symbol->info.rinfo->size; 381 cur_symbol->info.rinfo->size = $2; 407 cur_symbol->info.rinfo->mode = $2; 421 cur_symbol->info.rinfo->modes = $2; 1479 symbol->info.rinfo = in initialize_symbol() 1481 if (symbol->info.rinfo == NULL) { in initialize_symbol() 1485 memset(symbol->info.rinfo, 0, in initialize_symbol() 1494 symbol->info.rinfo->modes = in initialize_symbol() [all …]
|
A D | aicasm_symbol.c | 94 if (symbol->info.rinfo != NULL) in symbol_delete() 95 free(symbol->info.rinfo); in symbol_delete() 261 || (!field && (curnode->symbol->info.rinfo->address > in symlist_add() 262 newnode->symbol->info.rinfo->address))) { in symlist_add() 282 && (cursymbol->info.rinfo->address > in symlist_add() 283 symbol->info.rinfo->address))) { in symlist_add() 417 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end() 435 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end() 554 fields = &curnode->symbol->info.rinfo->fields; in symtable_dump() 614 value = curnode->symbol->info.rinfo->address; in symtable_dump() [all …]
|
/linux/fs/ceph/ |
A D | inode.c | 1275 rinfo->head->is_dentry, rinfo->head->is_target); in ceph_fill_trace() 1277 if (!rinfo->head->is_target && !rinfo->head->is_dentry) { in ceph_fill_trace() 1284 if (rinfo->head->is_dentry) { in ceph_fill_trace() 1309 dname.name = rinfo->dname; in ceph_fill_trace() 1345 if (rinfo->head->is_target) { in ceph_fill_trace() 1514 rinfo->dname, rinfo->dname_len, in ceph_fill_trace() 1632 if (rinfo->hash_order) { in ceph_readdir_prepopulate() 1645 if (rinfo->dir_dir && in ceph_readdir_prepopulate() 1650 if (!rinfo->hash_order) in ceph_readdir_prepopulate() 1660 if (rinfo->dir_dir) in ceph_readdir_prepopulate() [all …]
|
A D | export.c | 459 struct ceph_mds_reply_info_parsed *rinfo; in __get_snap_name() local 494 rinfo = &req->r_reply_info; in __get_snap_name() 495 for (i = 0; i < rinfo->dir_nr; i++) { in __get_snap_name() 496 rde = rinfo->dir_entries + i; in __get_snap_name() 507 if (rinfo->dir_end) in __get_snap_name() 510 BUG_ON(rinfo->dir_nr <= 0); in __get_snap_name() 511 rde = rinfo->dir_entries + (rinfo->dir_nr - 1); in __get_snap_name() 512 next_offset += rinfo->dir_nr; in __get_snap_name() 563 struct ceph_mds_reply_info_parsed *rinfo = &req->r_reply_info; in ceph_get_name() local 564 memcpy(name, rinfo->dname, rinfo->dname_len); in ceph_get_name() [all …]
|
A D | dir.c | 438 rinfo = &req->r_reply_info; in ceph_readdir() 441 if (!rinfo->hash_order) { in ceph_readdir() 474 if (rinfo->dir_nr > 0) { in ceph_readdir() 476 rinfo->dir_entries + (rinfo->dir_nr-1); in ceph_readdir() 491 dfi->frag, rinfo->dir_nr, ctx->pos, in ceph_readdir() 492 rinfo->dir_nr ? rinfo->dir_entries[0].offset : 0LL); in ceph_readdir() 496 if (rinfo->dir_nr > 0) { in ceph_readdir() 497 int step, nr = rinfo->dir_nr; in ceph_readdir() 508 for (; i < rinfo->dir_nr; i++) { in ceph_readdir() 515 i, rinfo->dir_nr, ctx->pos, in ceph_readdir() [all …]
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | octeon_droq.c | 40 struct octeon_recv_info *rinfo; member 535 struct octeon_recv_info *rinfo; in octeon_droq_dispatch_pkt() local 543 if (rinfo) { in octeon_droq_dispatch_pkt() 544 struct __dispatch *rdisp = rinfo->rsvd; in octeon_droq_dispatch_pkt() 546 rdisp->rinfo = rinfo; in octeon_droq_dispatch_pkt() 548 rinfo->recv_pkt->rh = *rh; in octeon_droq_dispatch_pkt() 763 rdisp->disp_fn(rdisp->rinfo, in octeon_droq_process_packets() 766 (u16)rdisp->rinfo->recv_pkt->rh.r.opcode, in octeon_droq_process_packets() 767 (u16)rdisp->rinfo->recv_pkt->rh.r.subcode)); in octeon_droq_process_packets() 813 rdisp->disp_fn(rdisp->rinfo, in octeon_droq_process_poll_pkts() [all …]
|
/linux/drivers/i2c/busses/ |
A D | i2c-at91-master.c | 821 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in at91_init_twi_recovery_gpio() local 823 rinfo->pinctrl = devm_pinctrl_get(&pdev->dev); in at91_init_twi_recovery_gpio() 824 if (!rinfo->pinctrl || IS_ERR(rinfo->pinctrl)) { in at91_init_twi_recovery_gpio() 826 return PTR_ERR(rinfo->pinctrl); in at91_init_twi_recovery_gpio() 828 dev->adapter.bus_recovery_info = rinfo; in at91_init_twi_recovery_gpio() 856 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in at91_init_twi_recovery_info() local 862 rinfo->recover_bus = at91_twi_recover_bus_cmd; in at91_init_twi_recovery_info() 863 dev->adapter.bus_recovery_info = rinfo; in at91_init_twi_recovery_info()
|
A D | i2c-davinci.c | 764 struct i2c_bus_recovery_info *rinfo; in davinci_i2c_probe() local 859 rinfo = &davinci_i2c_gpio_recovery_info; in davinci_i2c_probe() 860 adap->bus_recovery_info = rinfo; in davinci_i2c_probe() 861 rinfo->scl_gpiod = devm_gpiod_get(&pdev->dev, "scl", in davinci_i2c_probe() 863 if (IS_ERR(rinfo->scl_gpiod)) { in davinci_i2c_probe() 864 r = PTR_ERR(rinfo->scl_gpiod); in davinci_i2c_probe() 867 rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN); in davinci_i2c_probe() 868 if (IS_ERR(rinfo->sda_gpiod)) { in davinci_i2c_probe() 869 r = PTR_ERR(rinfo->sda_gpiod); in davinci_i2c_probe()
|
A D | i2c-designware-master.c | 820 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in i2c_dw_init_recovery_info() local 828 rinfo->scl_gpiod = gpio; in i2c_dw_init_recovery_info() 833 rinfo->sda_gpiod = gpio; in i2c_dw_init_recovery_info() 835 rinfo->recover_bus = i2c_generic_scl_recovery; in i2c_dw_init_recovery_info() 836 rinfo->prepare_recovery = i2c_dw_prepare_recovery; in i2c_dw_init_recovery_info() 837 rinfo->unprepare_recovery = i2c_dw_unprepare_recovery; in i2c_dw_init_recovery_info() 838 adap->bus_recovery_info = rinfo; in i2c_dw_init_recovery_info() 841 rinfo->sda_gpiod ? ",sda" : ""); in i2c_dw_init_recovery_info()
|
A D | i2c-imx.c | 204 struct i2c_bus_recovery_info rinfo; member 1306 struct i2c_bus_recovery_info *rinfo = &i2c_imx->rinfo; in i2c_imx_init_recovery_info() local 1321 if (PTR_ERR(rinfo->sda_gpiod) == -EPROBE_DEFER || in i2c_imx_init_recovery_info() 1322 PTR_ERR(rinfo->scl_gpiod) == -EPROBE_DEFER) { in i2c_imx_init_recovery_info() 1324 } else if (IS_ERR(rinfo->sda_gpiod) || in i2c_imx_init_recovery_info() 1325 IS_ERR(rinfo->scl_gpiod) || in i2c_imx_init_recovery_info() 1333 rinfo->sda_gpiod ? ",sda" : ""); in i2c_imx_init_recovery_info() 1335 rinfo->prepare_recovery = i2c_imx_prepare_recovery; in i2c_imx_init_recovery_info() 1336 rinfo->unprepare_recovery = i2c_imx_unprepare_recovery; in i2c_imx_init_recovery_info() 1337 rinfo->recover_bus = i2c_generic_scl_recovery; in i2c_imx_init_recovery_info() [all …]
|
/linux/net/sctp/ |
A D | ulpevent.c | 1018 struct sctp_rcvinfo rinfo; in sctp_ulpevent_read_rcvinfo() local 1023 memset(&rinfo, 0, sizeof(struct sctp_rcvinfo)); in sctp_ulpevent_read_rcvinfo() 1024 rinfo.rcv_sid = event->stream; in sctp_ulpevent_read_rcvinfo() 1025 rinfo.rcv_ssn = event->ssn; in sctp_ulpevent_read_rcvinfo() 1026 rinfo.rcv_ppid = event->ppid; in sctp_ulpevent_read_rcvinfo() 1027 rinfo.rcv_flags = event->flags; in sctp_ulpevent_read_rcvinfo() 1028 rinfo.rcv_tsn = event->tsn; in sctp_ulpevent_read_rcvinfo() 1029 rinfo.rcv_cumtsn = event->cumtsn; in sctp_ulpevent_read_rcvinfo() 1030 rinfo.rcv_assoc_id = sctp_assoc2id(event->asoc); in sctp_ulpevent_read_rcvinfo() 1031 rinfo.rcv_context = event->asoc->default_rcv_context; in sctp_ulpevent_read_rcvinfo() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_switch.c | 4533 switch (rinfo->tun_type) { in ice_get_compat_fv_bitmap() 4663 rm->tun_type = rinfo->tun_type; in ice_add_adv_recipe() 5010 struct ice_adv_rule_info *rinfo) in ice_find_adv_rule_entry() argument 5222 rinfo->sw_act.fwd_id.hw_vsi_id = in ice_add_adv_rule() 5242 rinfo); in ice_add_adv_rule() 5262 switch (rinfo->sw_act.fltr_act) { in ice_add_adv_rule() 5298 if (rinfo->rx) { in ice_add_adv_rule() 5344 adv_fltr->rule_info = *rinfo; in ice_add_adv_rule() 5639 struct ice_adv_rule_info rinfo; in ice_rem_adv_rule_by_id() local 5649 rinfo = list_itr->rule_info; in ice_rem_adv_rule_by_id() [all …]
|
/linux/drivers/fpga/ |
A D | dfl-afu-main.c | 681 struct dfl_fpga_port_region_info rinfo; in afu_ioctl_get_region_info() local 688 if (copy_from_user(&rinfo, arg, minsz)) in afu_ioctl_get_region_info() 691 if (rinfo.argsz < minsz || rinfo.padding) in afu_ioctl_get_region_info() 694 ret = afu_mmio_region_get_by_index(pdata, rinfo.index, ®ion); in afu_ioctl_get_region_info() 698 rinfo.flags = region.flags; in afu_ioctl_get_region_info() 699 rinfo.size = region.size; in afu_ioctl_get_region_info() 700 rinfo.offset = region.offset; in afu_ioctl_get_region_info() 702 if (copy_to_user(arg, &rinfo, sizeof(rinfo))) in afu_ioctl_get_region_info()
|