Home
last modified time | relevance | path

Searched refs:rinfo (Results 1 – 25 of 59) sorted by relevance

123

/linux/drivers/video/fbdev/aty/
H A Dradeon_monitor.c189 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 …]
H A Dradeon_pm.c636 rinfo->save_regs[59] = INMC(rinfo, ixR300_MC_IMP_CNTL); in radeon_pm_save_regs()
647 rinfo->save_regs[70] = INMC(rinfo, ixR300_MC_DLL_CNTL); in radeon_pm_save_regs()
652 rinfo->save_regs[59] = INMC(rinfo, ixMC_IMP_CNTL); in radeon_pm_save_regs()
653 rinfo->save_regs[65] = INMC(rinfo, ixMC_CHP_IO_CNTL_A0); in radeon_pm_save_regs()
654 rinfo->save_regs[66] = INMC(rinfo, ixMC_CHP_IO_CNTL_A1); in radeon_pm_save_regs()
655 rinfo->save_regs[67] = INMC(rinfo, ixMC_CHP_IO_CNTL_B0); in radeon_pm_save_regs()
657 rinfo->save_regs[71] = INMC(rinfo, ixMC_IMP_CNTL_0); in radeon_pm_save_regs()
1203 OUTMC(rinfo, ixR300_MC_DLL_CNTL, rinfo->save_regs[70]); in radeon_pm_enable_dll_m10()
2751 rinfo->reinit_func(rinfo); in radeonfb_pci_resume()
2771 radeon_write_mode (rinfo, &rinfo->state, 1); in radeonfb_pci_resume()
[all …]
H A Dradeon_i2c.c102 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 …]
H A Dradeon_base.c827 rinfo->pll.mclk / 100, rinfo->pll.mclk % 100, in radeon_get_pllinfo()
1122 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_screen_blank()
1136 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_screen_blank()
1256 if (!rinfo->asleep && rinfo->is_mobility) in radeonfb_setcolreg()
1304 if (!rinfo->asleep && rinfo->is_mobility) in radeonfb_setcmap()
1615 rinfo->pll.ref_div, rinfo->pll.ref_clk, in radeon_calc_pll_regs()
1625 rinfo->pll.ref_div, rinfo->pll.ref_clk, in radeon_calc_pll_regs()
2276 snprintf(rinfo->name, sizeof(rinfo->name), in radeonfb_pci_register()
2279 snprintf(rinfo->name, sizeof(rinfo->name), in radeonfb_pci_register()
2364 rinfo->fb_base = ioremap_wc(rinfo->fb_base_phys, in radeonfb_pci_register()
[all …]
H A Dradeonfb.h62 #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 …]
H A Dradeon_backlight.c21 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()
89 rinfo->init_state.lvds_gen_cntl |= rinfo->pending_lvds_gen_cntl in radeon_bl_update_status()
96 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_bl_update_status()
108 mod_timer(&rinfo->lvds_timer, in radeon_bl_update_status()
110 if (rinfo->is_mobility || rinfo->is_IGP) in radeon_bl_update_status()
153 rinfo->info->bl_dev = NULL; in radeonfb_bl_init()
158 pdata->rinfo = rinfo; in radeonfb_bl_init()
176 rinfo->info->bl_dev = bd; in radeonfb_bl_init()
[all …]
H A Dradeon_accel.c39 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/
H A Dxen-blkfront.c291 rinfo->shadow_free = rinfo->shadow[free].req.u.rw.id; in get_id_from_freelist()
303 rinfo->shadow[id].req.u.rw.id = rinfo->shadow_free; in add_id_to_freelist()
539 *ring_req = RING_GET_REQUEST(&rinfo->ring, rinfo->ring.req_prod_pvt); in blkif_ring_get_request()
604 struct blkfront_ring_info *rinfo = setup->rinfo; in blkif_setup_rw_req_grant() local
713 .rinfo = rinfo, in blkif_queue_rw_req()
744 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/
H A Dmax77620-regulator.c102 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 …]
H A Dscmi-regulator.c266 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()
324 rinfo = devm_kzalloc(&sdev->dev, sizeof(*rinfo), GFP_KERNEL); in scmi_regulator_probe()
325 if (!rinfo) in scmi_regulator_probe()
331 if (!rinfo->sregv) in scmi_regulator_probe()
334 rinfo->num_doms = num_doms; in scmi_regulator_probe()
391 if (!rinfo) in scmi_regulator_remove()
[all …]
H A Dpalmas-regulator.c772 addr = rinfo->ctrl_addr; in palmas_ldo_init()
817 addr = rinfo->ctrl_addr; in palmas_extreg_init()
855 addr = rinfo->ctrl_addr; in palmas_enable_ldo8_track()
874 addr = rinfo->vsel_addr; in palmas_enable_ldo8_track()
914 desc->name = rinfo->name; in palmas_ldo_registration()
1032 desc->name = rinfo->name; in tps65917_ldo_registration()
1193 desc->name = rinfo->name; in palmas_smps_registration()
1224 addr = rinfo->vsel_addr; in palmas_smps_registration()
1247 addr = rinfo->ctrl_addr; in palmas_smps_registration()
1329 addr = rinfo->vsel_addr; in tps65917_smps_registration()
[all …]
/linux/drivers/hid/usbhid/
H A Dhiddev.c81 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/
H A Daicasm_gram.y331 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 …]
H A Daicasm_symbol.c95 if (symbol->info.rinfo != NULL) in symbol_delete()
96 free(symbol->info.rinfo); in symbol_delete()
262 || (!field && (curnode->symbol->info.rinfo->address > in symlist_add()
263 newnode->symbol->info.rinfo->address))) { in symlist_add()
283 && (cursymbol->info.rinfo->address > in symlist_add()
284 symbol->info.rinfo->address))) { in symlist_add()
418 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end()
436 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end()
555 fields = &curnode->symbol->info.rinfo->fields; in symtable_dump()
615 value = curnode->symbol->info.rinfo->address; in symtable_dump()
[all …]
/linux/fs/ceph/
H A Dexport.c499 rinfo = &req->r_reply_info; in __get_snap_name()
501 rde = rinfo->dir_entries + i; in __get_snap_name()
512 if (rinfo->dir_end) in __get_snap_name()
515 BUG_ON(rinfo->dir_nr <= 0); in __get_snap_name()
516 rde = rinfo->dir_entries + (rinfo->dir_nr - 1); in __get_snap_name()
517 next_offset += rinfo->dir_nr; in __get_snap_name()
570 rinfo = &req->r_reply_info; in ceph_get_name()
572 memcpy(name, rinfo->dname, rinfo->dname_len); in ceph_get_name()
573 name[rinfo->dname_len] = 0; in ceph_get_name()
577 .name = rinfo->dname, in ceph_get_name()
[all …]
H A Dinode.c1529 rinfo->head->is_dentry, rinfo->head->is_target); in ceph_fill_trace()
1531 if (!rinfo->head->is_target && !rinfo->head->is_dentry) { in ceph_fill_trace()
1538 if (rinfo->head->is_dentry) { in ceph_fill_trace()
1625 if (rinfo->head->is_target) { in ceph_fill_trace()
1654 if (rinfo->head->is_dentry && in ceph_fill_trace()
1793 rinfo->dname, rinfo->dname_len, in ceph_fill_trace()
1915 if (rinfo->hash_order) { in ceph_readdir_prepopulate()
1928 if (rinfo->dir_dir && in ceph_readdir_prepopulate()
1933 if (!rinfo->hash_order) in ceph_readdir_prepopulate()
1942 if (rinfo->dir_dir) in ceph_readdir_prepopulate()
[all …]
H A Ddir.c327 struct ceph_mds_reply_info_parsed *rinfo; in ceph_readdir() local
468 rinfo = &req->r_reply_info; in ceph_readdir()
471 if (!rinfo->hash_order) { in ceph_readdir()
505 if (rinfo->dir_nr > 0) { in ceph_readdir()
507 rinfo->dir_entries + (rinfo->dir_nr-1); in ceph_readdir()
523 rinfo = &dfi->last_readdir->r_reply_info; in ceph_readdir()
526 rinfo->dir_nr ? rinfo->dir_entries[0].offset : 0LL); in ceph_readdir()
530 if (rinfo->dir_nr > 0) { in ceph_readdir()
531 int step, nr = rinfo->dir_nr; in ceph_readdir()
542 for (; i < rinfo->dir_nr; i++) { in ceph_readdir()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-designware-master.c943 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in i2c_dw_init_recovery_info() local
951 rinfo->scl_gpiod = gpio; in i2c_dw_init_recovery_info()
956 rinfo->sda_gpiod = gpio; in i2c_dw_init_recovery_info()
958 rinfo->pinctrl = devm_pinctrl_get(dev->dev); in i2c_dw_init_recovery_info()
959 if (IS_ERR(rinfo->pinctrl)) { in i2c_dw_init_recovery_info()
960 if (PTR_ERR(rinfo->pinctrl) == -EPROBE_DEFER) in i2c_dw_init_recovery_info()
961 return PTR_ERR(rinfo->pinctrl); in i2c_dw_init_recovery_info()
963 rinfo->pinctrl = NULL; in i2c_dw_init_recovery_info()
965 } else if (!rinfo->pinctrl) { in i2c_dw_init_recovery_info()
972 adap->bus_recovery_info = rinfo; in i2c_dw_init_recovery_info()
[all …]
H A Di2c-at91-master.c830 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in at91_init_twi_recovery_gpio() local
832 rinfo->pinctrl = devm_pinctrl_get(&pdev->dev); in at91_init_twi_recovery_gpio()
833 if (!rinfo->pinctrl) { in at91_init_twi_recovery_gpio()
837 if (IS_ERR(rinfo->pinctrl)) { in at91_init_twi_recovery_gpio()
839 return PTR_ERR(rinfo->pinctrl); in at91_init_twi_recovery_gpio()
841 dev->adapter.bus_recovery_info = rinfo; in at91_init_twi_recovery_gpio()
869 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in at91_init_twi_recovery_info() local
875 rinfo->recover_bus = at91_twi_recover_bus_cmd; in at91_init_twi_recovery_info()
876 dev->adapter.bus_recovery_info = rinfo; in at91_init_twi_recovery_info()
H A Di2c-davinci.c761 struct i2c_bus_recovery_info *rinfo; in davinci_i2c_probe() local
849 rinfo = &davinci_i2c_gpio_recovery_info; in davinci_i2c_probe()
850 adap->bus_recovery_info = rinfo; in davinci_i2c_probe()
851 rinfo->scl_gpiod = devm_gpiod_get(&pdev->dev, "scl", in davinci_i2c_probe()
853 if (IS_ERR(rinfo->scl_gpiod)) { in davinci_i2c_probe()
854 r = PTR_ERR(rinfo->scl_gpiod); in davinci_i2c_probe()
857 rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN); in davinci_i2c_probe()
858 if (IS_ERR(rinfo->sda_gpiod)) { in davinci_i2c_probe()
859 r = PTR_ERR(rinfo->sda_gpiod); in davinci_i2c_probe()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.c35 struct octeon_recv_info *rinfo; member
532 struct octeon_recv_info *rinfo; in octeon_droq_dispatch_pkt() local
540 if (rinfo) { in octeon_droq_dispatch_pkt()
541 struct __dispatch *rdisp = rinfo->rsvd; in octeon_droq_dispatch_pkt()
543 rdisp->rinfo = rinfo; in octeon_droq_dispatch_pkt()
545 rinfo->recv_pkt->rh = *rh; in octeon_droq_dispatch_pkt()
760 rdisp->disp_fn(rdisp->rinfo, in octeon_droq_process_packets()
763 (u16)rdisp->rinfo->recv_pkt->rh.r.opcode, in octeon_droq_process_packets()
764 (u16)rdisp->rinfo->recv_pkt->rh.r.subcode)); in octeon_droq_process_packets()
811 rdisp->disp_fn(rdisp->rinfo, in octeon_droq_process_poll_pkts()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_switch.c5224 switch (rinfo->tun_type) { in ice_get_compat_fv_bitmap()
5403 rm->tun_type = rinfo->tun_type; in ice_add_adv_recipe()
6110 rinfo->sw_act.fwd_id.hw_vsi_id = in ice_add_adv_rule()
6114 if (rinfo->src_vsi) in ice_add_adv_rule()
6115 rinfo->sw_act.src = ice_get_hw_vsi_num(hw, rinfo->src_vsi); in ice_add_adv_rule()
6134 rinfo); in ice_add_adv_rule()
6168 rinfo->sw_act.fwd_id.q_id); in ice_add_adv_rule()
6175 rinfo->sw_act.fwd_id.q_id); in ice_add_adv_rule()
6252 adv_fltr->rule_info = *rinfo; in ice_add_adv_rule()
6550 struct ice_adv_rule_info rinfo; in ice_rem_adv_rule_by_id() local
[all …]
/linux/net/sctp/
H A Dulpevent.c1018 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/fpga/
H A Ddfl-afu-main.c681 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, &region); 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()
/linux/net/mac80211/
H A Dsta_info.c2415 struct rate_info *rinfo) in sta_stats_decode_rate() argument
2417 rinfo->bw = STA_STATS_GET(BW, rate); in sta_stats_decode_rate()
2421 rinfo->flags = RATE_INFO_FLAGS_VHT_MCS; in sta_stats_decode_rate()
2428 rinfo->flags = RATE_INFO_FLAGS_MCS; in sta_stats_decode_rate()
2429 rinfo->mcs = STA_STATS_GET(HT_MCS, rate); in sta_stats_decode_rate()
2446 if (rinfo->bw == RATE_INFO_BW_5) in sta_stats_decode_rate()
2448 else if (rinfo->bw == RATE_INFO_BW_10) in sta_stats_decode_rate()
2456 rinfo->flags = RATE_INFO_FLAGS_HE_MCS; in sta_stats_decode_rate()
2457 rinfo->mcs = STA_STATS_GET(HE_MCS, rate); in sta_stats_decode_rate()
2458 rinfo->nss = STA_STATS_GET(HE_NSS, rate); in sta_stats_decode_rate()
[all …]

123