Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/video/fbdev/aty/
Dradeon_monitor.c119 static int radeon_probe_OF_head(struct radeonfb_info *rinfo, int head_no, in radeon_probe_OF_head() argument
126 dp = rinfo->of_node; in radeon_probe_OF_head()
130 if (rinfo->has_CRTC2) { in radeon_probe_OF_head()
149 if (mt == MT_DFP && rinfo->is_mobility) in radeon_probe_OF_head()
167 static int radeon_get_panel_info_BIOS(struct radeonfb_info *rinfo) in radeon_get_panel_info_BIOS() argument
173 if (!rinfo->bios_seg) in radeon_get_panel_info_BIOS()
176 if (!(tmp = BIOS_IN16(rinfo->fp_bios_start + 0x40))) { in radeon_get_panel_info_BIOS()
178 rinfo->panel_info.pwr_delay = 200; in radeon_get_panel_info_BIOS()
186 rinfo->panel_info.xres = BIOS_IN16(tmp + 25); in radeon_get_panel_info_BIOS()
187 rinfo->panel_info.yres = BIOS_IN16(tmp + 27); in radeon_get_panel_info_BIOS()
[all …]
Dradeon_pm.c40 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 …]
Dradeon_i2c.c21 struct radeonfb_info *rinfo = chan->rinfo; in radeon_gpio_setscl() local
35 struct radeonfb_info *rinfo = chan->rinfo; in radeon_gpio_setsda() local
49 struct radeonfb_info *rinfo = chan->rinfo; in radeon_gpio_getscl() local
60 struct radeonfb_info *rinfo = chan->rinfo; in radeon_gpio_getsda() local
76 chan->adapter.dev.parent = &chan->rinfo->pdev->dev; in radeon_setup_i2c_bus()
94 dev_dbg(&chan->rinfo->pdev->dev, "I2C bus %s registered.\n", name); in radeon_setup_i2c_bus()
96 dev_warn(&chan->rinfo->pdev->dev, "Failed to register I2C bus %s.\n", name); in radeon_setup_i2c_bus()
100 void radeon_create_i2c_busses(struct radeonfb_info *rinfo) in radeon_create_i2c_busses() argument
102 rinfo->i2c[0].rinfo = rinfo; in radeon_create_i2c_busses()
103 rinfo->i2c[0].ddc_reg = GPIO_MONID; in radeon_create_i2c_busses()
[all …]
Dradeon_base.c281 void _radeon_msleep(struct radeonfb_info *rinfo, unsigned long ms) in _radeon_msleep() argument
283 if (rinfo->no_schedule || oops_in_progress) in _radeon_msleep()
289 void radeon_pll_errata_after_index_slow(struct radeonfb_info *rinfo) in radeon_pll_errata_after_index_slow() argument
296 void radeon_pll_errata_after_data_slow(struct radeonfb_info *rinfo) in radeon_pll_errata_after_data_slow() argument
298 if (rinfo->errata & CHIP_ERRATA_PLL_DELAY) { in radeon_pll_errata_after_data_slow()
300 _radeon_msleep(rinfo, 5); in radeon_pll_errata_after_data_slow()
302 if (rinfo->errata & CHIP_ERRATA_R300_CG) { in radeon_pll_errata_after_data_slow()
312 void _OUTREGP(struct radeonfb_info *rinfo, u32 addr, u32 val, u32 mask) in _OUTREGP() argument
317 spin_lock_irqsave(&rinfo->reg_lock, flags); in _OUTREGP()
322 spin_unlock_irqrestore(&rinfo->reg_lock, flags); in _OUTREGP()
[all …]
Dradeonfb.h62 #define IS_RV100_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_RV100) || \ argument
63 ((rinfo)->family == CHIP_FAMILY_RV200) || \
64 ((rinfo)->family == CHIP_FAMILY_RS100) || \
65 ((rinfo)->family == CHIP_FAMILY_RS200) || \
66 ((rinfo)->family == CHIP_FAMILY_RV250) || \
67 ((rinfo)->family == CHIP_FAMILY_RV280) || \
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) || \
[all …]
Dradeon_backlight.c21 struct radeonfb_info *rinfo; member
32 rlevel = pdata->rinfo->info->bl_curve[level] * in radeon_bl_get_level_brightness()
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()
62 del_timer_sync(&rinfo->lvds_timer); in radeon_bl_update_status()
69 lvds_gen_cntl |= (rinfo->init_state.lvds_gen_cntl & LVDS_DIGON); in radeon_bl_update_status()
77 lvds_gen_cntl |= (rinfo->init_state.lvds_gen_cntl & LVDS_BL_MOD_EN); in radeon_bl_update_status()
78 rinfo->pending_lvds_gen_cntl = lvds_gen_cntl; in radeon_bl_update_status()
79 mod_timer(&rinfo->lvds_timer, in radeon_bl_update_status()
80 jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay)); in radeon_bl_update_status()
[all …]
Dradeon_accel.c9 static void radeon_fixup_offset(struct radeonfb_info *rinfo) in radeon_fixup_offset() argument
31 if (local_base == rinfo->fb_local_base) in radeon_fixup_offset()
34 rinfo->fb_local_base = local_base; in radeon_fixup_offset()
37 OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) | in radeon_fixup_offset()
38 (rinfo->fb_local_base >> 10)); in radeon_fixup_offset()
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()
43 static void radeonfb_prim_fillrect(struct radeonfb_info *rinfo, in radeonfb_prim_fillrect() argument
49 rinfo->dp_gui_master_cntl /* contains, like GMC_DST_32BPP */ in radeonfb_prim_fillrect()
52 if (radeon_get_dstbpp(rinfo->depth) != DST_8BPP) in radeonfb_prim_fillrect()
[all …]
/linux-6.6.21/drivers/block/
Dxen-blkfront.c227 struct blkfront_ring_info *rinfo; member
270 static int blkfront_setup_indirect(struct blkfront_ring_info *rinfo);
275 for ((ptr) = (info)->rinfo, (idx) = 0; \
283 return (void *)info->rinfo + i * info->rinfo_size; in get_rinfo()
286 static int get_id_from_freelist(struct blkfront_ring_info *rinfo) in get_id_from_freelist() argument
288 unsigned long free = rinfo->shadow_free; in get_id_from_freelist()
290 BUG_ON(free >= BLK_RING_SIZE(rinfo->dev_info)); in get_id_from_freelist()
291 rinfo->shadow_free = rinfo->shadow[free].req.u.rw.id; in get_id_from_freelist()
292 rinfo->shadow[free].req.u.rw.id = 0x0fffffee; /* debug */ in get_id_from_freelist()
296 static int add_id_to_freelist(struct blkfront_ring_info *rinfo, in add_id_to_freelist() argument
[all …]
/linux-6.6.21/drivers/regulator/
Dmax77620-regulator.c87 struct max77620_regulator_info *rinfo[MAX77620_NUM_REGS]; member
102 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_get_fps_src() local
106 ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); in max77620_regulator_get_fps_src()
109 rinfo->fps_addr, ret); in max77620_regulator_get_fps_src()
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()
134 ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); in max77620_regulator_set_fps_src()
137 rinfo->fps_addr, ret); in max77620_regulator_set_fps_src()
150 ret = regmap_update_bits(pmic->rmap, rinfo->fps_addr, in max77620_regulator_set_fps_src()
155 rinfo->fps_addr, ret); in max77620_regulator_set_fps_src()
[all …]
Dscmi-regulator.c258 struct scmi_regulator_info *rinfo) in process_scmi_regulator_of_node() argument
266 if (dom >= rinfo->num_doms) in process_scmi_regulator_of_node()
269 if (rinfo->sregv[dom]) { in process_scmi_regulator_of_node()
276 rinfo->sregv[dom] = devm_kzalloc(&sdev->dev, 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()
283 rinfo->sregv[dom]->sdev = sdev; in process_scmi_regulator_of_node()
284 rinfo->sregv[dom]->ph = ph; in process_scmi_regulator_of_node()
288 rinfo->sregv[dom]->of_node = np; in process_scmi_regulator_of_node()
302 struct scmi_regulator_info *rinfo; in scmi_regulator_probe() local
[all …]
Dpalmas-regulator.c444 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_set_mode_smps() local
448 ret = palmas_smps_read(pmic->palmas, rinfo->ctrl_addr, &reg); in palmas_set_mode_smps()
473 palmas_smps_write(pmic->palmas, rinfo->ctrl_addr, reg); in palmas_set_mode_smps()
507 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_smps_set_ramp_delay() local
527 ret = palmas_smps_write(pmic->palmas, rinfo->tstep_addr, reg); in palmas_smps_set_ramp_delay()
601 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_is_enabled_ldo() local
604 palmas_ldo_read(pmic->palmas, rinfo->ctrl_addr, &reg); in palmas_is_enabled_ldo()
677 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_regulator_config_external() local
680 ret = palmas_ext_control_req_config(palmas, rinfo->sleep_id, in palmas_regulator_config_external()
701 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_smps_init() local
[all …]
/linux-6.6.21/drivers/hid/usbhid/
Dhiddev.c56 hiddev_lookup_report(struct hid_device *hid, struct hiddev_report_info *rinfo) in hiddev_lookup_report() argument
58 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; in hiddev_lookup_report()
59 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; in hiddev_lookup_report()
64 if (rinfo->report_type < HID_REPORT_TYPE_MIN || in hiddev_lookup_report()
65 rinfo->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_report()
69 (rinfo->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_report()
81 rinfo->report_id = report->id; in hiddev_lookup_report()
94 rinfo->report_id = report->id; in hiddev_lookup_report()
101 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report()
430 struct hiddev_report_info rinfo; in hiddev_ioctl_usage() local
[all …]
/linux-6.6.21/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y327 if (cur_symbol->info.rinfo->valid_bitmask == 0)
328 cur_symbol->info.rinfo->valid_bitmask = 0xFF;
330 if (cur_symbol->info.rinfo->size == 0)
331 cur_symbol->info.rinfo->size = 1;
337 if (cur_symbol->info.rinfo->address == 0)
338 cur_symbol->info.rinfo->address =
341 cur_symbol->info.rinfo->size;
374 cur_symbol->info.rinfo->address = $2;
381 cur_symbol->info.rinfo->size = $2;
386 max_addr = scb_or_sram_symbol->info.rinfo->address
[all …]
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-6.6.21/fs/ceph/
Dexport.c461 struct ceph_mds_reply_info_parsed *rinfo; in __get_snap_name() local
496 rinfo = &req->r_reply_info; in __get_snap_name()
497 for (i = 0; i < rinfo->dir_nr; i++) { in __get_snap_name()
498 rde = rinfo->dir_entries + i; in __get_snap_name()
509 if (rinfo->dir_end) in __get_snap_name()
512 BUG_ON(rinfo->dir_nr <= 0); in __get_snap_name()
513 rde = rinfo->dir_entries + (rinfo->dir_nr - 1); in __get_snap_name()
514 next_offset += rinfo->dir_nr; in __get_snap_name()
541 struct ceph_mds_reply_info_parsed *rinfo; in ceph_get_name() local
567 rinfo = &req->r_reply_info; in ceph_get_name()
[all …]
Dinode.c1489 struct ceph_mds_reply_info_parsed *rinfo = &req->r_reply_info; in ceph_fill_trace() local
1496 rinfo->head->is_dentry, rinfo->head->is_target); in ceph_fill_trace()
1498 if (!rinfo->head->is_target && !rinfo->head->is_dentry) { in ceph_fill_trace()
1500 if (rinfo->head->result == 0 && req->r_parent) in ceph_fill_trace()
1505 if (rinfo->head->is_dentry) { in ceph_fill_trace()
1509 err = ceph_fill_inode(dir, NULL, &rinfo->diri, in ceph_fill_trace()
1510 rinfo->dirfrag, session, -1, in ceph_fill_trace()
1526 .name = rinfo->dname, in ceph_fill_trace()
1527 .ctext = rinfo->altname, in ceph_fill_trace()
1528 .name_len = rinfo->dname_len, in ceph_fill_trace()
[all …]
Ddir.c318 struct ceph_mds_reply_info_parsed *rinfo; in ceph_readdir() local
456 rinfo = &req->r_reply_info; in ceph_readdir()
457 if (le32_to_cpu(rinfo->dir_dir->frag) != frag) { in ceph_readdir()
458 frag = le32_to_cpu(rinfo->dir_dir->frag); in ceph_readdir()
459 if (!rinfo->hash_order) { in ceph_readdir()
492 if (rinfo->dir_nr > 0) { in ceph_readdir()
494 rinfo->dir_entries + (rinfo->dir_nr-1); in ceph_readdir()
510 rinfo = &dfi->last_readdir->r_reply_info; in ceph_readdir()
512 dfi->frag, rinfo->dir_nr, ctx->pos, in ceph_readdir()
513 rinfo->dir_nr ? rinfo->dir_entries[0].offset : 0LL); in ceph_readdir()
[all …]
/linux-6.6.21/drivers/i2c/busses/
Di2c-designware-master.c919 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in i2c_dw_init_recovery_info() local
927 rinfo->scl_gpiod = gpio; in i2c_dw_init_recovery_info()
932 rinfo->sda_gpiod = gpio; in i2c_dw_init_recovery_info()
934 rinfo->pinctrl = devm_pinctrl_get(dev->dev); in i2c_dw_init_recovery_info()
935 if (IS_ERR(rinfo->pinctrl)) { in i2c_dw_init_recovery_info()
936 if (PTR_ERR(rinfo->pinctrl) == -EPROBE_DEFER) in i2c_dw_init_recovery_info()
937 return PTR_ERR(rinfo->pinctrl); in i2c_dw_init_recovery_info()
939 rinfo->pinctrl = NULL; in i2c_dw_init_recovery_info()
941 } else if (!rinfo->pinctrl) { in i2c_dw_init_recovery_info()
945 rinfo->recover_bus = i2c_generic_scl_recovery; in i2c_dw_init_recovery_info()
[all …]
Di2c-at91-master.c831 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in at91_init_twi_recovery_gpio() local
833 rinfo->pinctrl = devm_pinctrl_get(&pdev->dev); in at91_init_twi_recovery_gpio()
834 if (!rinfo->pinctrl) { in at91_init_twi_recovery_gpio()
838 if (IS_ERR(rinfo->pinctrl)) { in at91_init_twi_recovery_gpio()
840 return PTR_ERR(rinfo->pinctrl); in at91_init_twi_recovery_gpio()
842 dev->adapter.bus_recovery_info = rinfo; in at91_init_twi_recovery_gpio()
870 struct i2c_bus_recovery_info *rinfo = &dev->rinfo; in at91_init_twi_recovery_info() local
876 rinfo->recover_bus = at91_twi_recover_bus_cmd; in at91_init_twi_recovery_info()
877 dev->adapter.bus_recovery_info = rinfo; in at91_init_twi_recovery_info()
Di2c-davinci.c763 struct i2c_bus_recovery_info *rinfo; in davinci_i2c_probe() local
851 rinfo = &davinci_i2c_gpio_recovery_info; in davinci_i2c_probe()
852 adap->bus_recovery_info = rinfo; in davinci_i2c_probe()
853 rinfo->scl_gpiod = devm_gpiod_get(&pdev->dev, "scl", in davinci_i2c_probe()
855 if (IS_ERR(rinfo->scl_gpiod)) { in davinci_i2c_probe()
856 r = PTR_ERR(rinfo->scl_gpiod); in davinci_i2c_probe()
859 rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN); in davinci_i2c_probe()
860 if (IS_ERR(rinfo->sda_gpiod)) { in davinci_i2c_probe()
861 r = PTR_ERR(rinfo->sda_gpiod); in davinci_i2c_probe()
Di2c-imx.c213 struct i2c_bus_recovery_info rinfo; member
1393 struct i2c_bus_recovery_info *rinfo = &i2c_imx->rinfo; in i2c_imx_init_recovery_info() local
1409 rinfo->sda_gpiod = devm_gpiod_get(&pdev->dev, "sda", GPIOD_IN); in i2c_imx_init_recovery_info()
1410 rinfo->scl_gpiod = devm_gpiod_get(&pdev->dev, "scl", GPIOD_OUT_HIGH_OPEN_DRAIN); in i2c_imx_init_recovery_info()
1412 if (PTR_ERR(rinfo->sda_gpiod) == -EPROBE_DEFER || in i2c_imx_init_recovery_info()
1413 PTR_ERR(rinfo->scl_gpiod) == -EPROBE_DEFER) { in i2c_imx_init_recovery_info()
1415 } else if (IS_ERR(rinfo->sda_gpiod) || in i2c_imx_init_recovery_info()
1416 IS_ERR(rinfo->scl_gpiod) || in i2c_imx_init_recovery_info()
1424 rinfo->sda_gpiod ? ",sda" : ""); in i2c_imx_init_recovery_info()
1426 rinfo->prepare_recovery = i2c_imx_prepare_recovery; in i2c_imx_init_recovery_info()
[all …]
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c40 struct octeon_recv_info *rinfo; member
537 struct octeon_recv_info *rinfo; in octeon_droq_dispatch_pkt() local
544 rinfo = octeon_create_recv_info(oct, droq, cnt, droq->read_idx); in octeon_droq_dispatch_pkt()
545 if (rinfo) { in octeon_droq_dispatch_pkt()
546 struct __dispatch *rdisp = rinfo->rsvd; in octeon_droq_dispatch_pkt()
548 rdisp->rinfo = rinfo; in octeon_droq_dispatch_pkt()
550 rinfo->recv_pkt->rh = *rh; in octeon_droq_dispatch_pkt()
765 rdisp->disp_fn(rdisp->rinfo, in octeon_droq_process_packets()
768 (u16)rdisp->rinfo->recv_pkt->rh.r.opcode, in octeon_droq_process_packets()
769 (u16)rdisp->rinfo->recv_pkt->rh.r.subcode)); in octeon_droq_process_packets()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_switch.c4620 const struct ice_adv_rule_info *rinfo) in ice_find_recp() argument
4684 if (found && recp[i].tun_type == rinfo->tun_type && in ice_find_recp()
4685 recp[i].need_pass_l2 == rinfo->need_pass_l2 && in ice_find_recp()
4686 recp[i].allow_pass_l2 == rinfo->allow_pass_l2) in ice_find_recp()
5283 ice_get_compat_fv_bitmap(struct ice_hw *hw, struct ice_adv_rule_info *rinfo, in ice_get_compat_fv_bitmap() argument
5290 switch (rinfo->tun_type) { in ice_get_compat_fv_bitmap()
5330 u16 lkups_cnt, struct ice_adv_rule_info *rinfo, u16 *rid) in ice_add_adv_recipe() argument
5384 ice_get_compat_fv_bitmap(hw, rinfo, fv_bitmap); in ice_add_adv_recipe()
5398 rm->priority = (u8)rinfo->priority; in ice_add_adv_recipe()
5400 rm->need_pass_l2 = rinfo->need_pass_l2; in ice_add_adv_recipe()
[all …]
/linux-6.6.21/net/sctp/
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-6.6.21/drivers/fpga/
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()

123