Home
last modified time | relevance | path

Searched refs:ival (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pinctrl/ti/
Dpinctrl-ti-iodelay.c210 struct ti_iodelay_reg_values *ival = &iod->reg_init_conf_values; in ti_iodelay_pinconf_set() local
223 a_delay_coarse = cfg->a_delay / ival->cdpe; in ti_iodelay_pinconf_set()
224 a_delay_fine = ((cfg->a_delay % ival->cdpe) * 10) / ival->fdpe; in ti_iodelay_pinconf_set()
230 total_delay = c_elements * ival->cdpe + f_elements * ival->fdpe; in ti_iodelay_pinconf_set()
231 c_elements = total_delay / ival->cdpe; in ti_iodelay_pinconf_set()
232 f_elements = (total_delay % ival->cdpe) / ival->fdpe; in ti_iodelay_pinconf_set()
285 struct ti_iodelay_reg_values *ival = &iod->reg_init_conf_values; in ti_iodelay_pinconf_init_dev() local
299 ival->ref_clk_period = ti_iodelay_extract(val, reg->refclk_period_mask); in ti_iodelay_pinconf_init_dev()
300 dev_dbg(dev, "refclk_period=0x%04x\n", ival->ref_clk_period); in ti_iodelay_pinconf_init_dev()
305 ival->coarse_ref_count = in ti_iodelay_pinconf_init_dev()
[all …]
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_si_hotmod.c109 unsigned int ival; in parse_hotmod_str() local
112 rv = parse_str(hotmod_ops, &ival, "operation", &curr); in parse_hotmod_str()
115 *op = ival; in parse_hotmod_str()
117 rv = parse_str(hotmod_si, &ival, "interface type", &curr); in parse_hotmod_str()
120 h->type = ival; in parse_hotmod_str()
122 rv = parse_str(hotmod_as, &ival, "address space", &curr); in parse_hotmod_str()
125 h->space = ival; in parse_hotmod_str()
192 int ival; in hotmod_handler() local
199 ival = len - 1; in hotmod_handler()
200 while ((ival >= 0) && isspace(str[ival])) { in hotmod_handler()
[all …]
/kernel/linux/linux-5.10/scripts/dtc/
Dfdtput.c63 int ival; in encode_value() local
100 sscanf(*arg, fmt, &ival); in encode_value()
102 *iptr = cpu_to_fdt32(ival); in encode_value()
104 *ptr = (uint8_t)ival; in encode_value()
109 ival); in encode_value()
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dzr36050.c599 int *ival = (int *)data; in zr36050_control() local
609 *ival = ptr->status1; in zr36050_control()
615 *ival = CODEC_MODE_BJPG; in zr36050_control()
621 if (*ival != CODEC_MODE_BJPG) in zr36050_control()
638 *ival = ptr->total_code_vol; in zr36050_control()
644 ptr->total_code_vol = *ival; in zr36050_control()
653 *ival = zr36050_read_scalefactor(ptr); in zr36050_control()
659 ptr->scalefact = *ival; in zr36050_control()
Dzr36060.c643 int *ival = (int *)data; in zr36060_control() local
653 *ival = ptr->status; in zr36060_control()
659 *ival = CODEC_MODE_BJPG; in zr36060_control()
665 if (*ival != CODEC_MODE_BJPG) in zr36060_control()
682 *ival = ptr->total_code_vol; in zr36060_control()
688 ptr->total_code_vol = *ival; in zr36060_control()
695 *ival = zr36060_read_scalefactor(ptr); in zr36060_control()
701 ptr->scalefact = *ival; in zr36060_control()
Dzr36016.c279 int *ival = (int *)data; in zr36016_control() local
287 *ival = 0; in zr36016_control()
293 *ival = 0; in zr36016_control()
299 if (*ival != 0) in zr36016_control()
/kernel/linux/linux-5.10/include/linux/mfd/
Drc5t583.h335 unsigned int ival; in rc5t583_read() local
337 ret = regmap_read(rc5t583->regmap, reg, &ival); in rc5t583_read()
339 *val = (uint8_t)ival; in rc5t583_read()
Dtps80031.h567 unsigned int ival; in tps80031_read() local
570 ret = regmap_read(tps80031->regmap[sid], reg, &ival); in tps80031_read()
576 *val = ival; in tps80031_read()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dvs6624.c653 struct v4l2_subdev_frame_interval *ival) in vs6624_g_frame_interval() argument
657 ival->interval.numerator = sensor->frame_rate.denominator; in vs6624_g_frame_interval()
658 ival->interval.denominator = sensor->frame_rate.numerator; in vs6624_g_frame_interval()
663 struct v4l2_subdev_frame_interval *ival) in vs6624_s_frame_interval() argument
666 struct v4l2_fract *tpf = &ival->interval; in vs6624_s_frame_interval()
Dmt9v011.c368 struct v4l2_subdev_frame_interval *ival) in mt9v011_g_frame_interval() argument
371 &ival->interval.numerator, in mt9v011_g_frame_interval()
372 &ival->interval.denominator); in mt9v011_g_frame_interval()
378 struct v4l2_subdev_frame_interval *ival) in mt9v011_s_frame_interval() argument
380 struct v4l2_fract *tpf = &ival->interval; in mt9v011_s_frame_interval()
Dov6650.c742 struct v4l2_subdev_frame_interval *ival) in ov6650_g_frame_interval() argument
747 ival->interval = priv->tpf; in ov6650_g_frame_interval()
750 ival->interval.numerator, ival->interval.denominator); in ov6650_g_frame_interval()
756 struct v4l2_subdev_frame_interval *ival) in ov6650_s_frame_interval() argument
760 struct v4l2_fract *tpf = &ival->interval; in ov6650_s_frame_interval()
Dtvp514x.c749 struct v4l2_subdev_frame_interval *ival) in tvp514x_g_frame_interval() argument
758 ival->interval = in tvp514x_g_frame_interval()
774 struct v4l2_subdev_frame_interval *ival) in tvp514x_s_frame_interval() argument
781 timeperframe = &ival->interval; in tvp514x_s_frame_interval()
Dov7740.c653 struct v4l2_subdev_frame_interval *ival) in ov7740_g_frame_interval() argument
655 struct v4l2_fract *tpf = &ival->interval; in ov7740_g_frame_interval()
665 struct v4l2_subdev_frame_interval *ival) in ov7740_s_frame_interval() argument
667 struct v4l2_fract *tpf = &ival->interval; in ov7740_s_frame_interval()
Dmt9v111.c725 struct v4l2_subdev_frame_interval *ival) in mt9v111_s_frame_interval() argument
728 struct v4l2_fract *tpf = &ival->interval; in mt9v111_s_frame_interval()
777 struct v4l2_subdev_frame_interval *ival) in mt9v111_g_frame_interval() argument
780 struct v4l2_fract *tpf = &ival->interval; in mt9v111_g_frame_interval()
Dov772x.c707 struct v4l2_subdev_frame_interval *ival) in ov772x_g_frame_interval() argument
710 struct v4l2_fract *tpf = &ival->interval; in ov772x_g_frame_interval()
719 struct v4l2_subdev_frame_interval *ival) in ov772x_s_frame_interval() argument
722 struct v4l2_fract *tpf = &ival->interval; in ov772x_s_frame_interval()
Dov7670.c1161 struct v4l2_subdev_frame_interval *ival) in ov7670_g_frame_interval() argument
1166 info->devtype->get_framerate(sd, &ival->interval); in ov7670_g_frame_interval()
1172 struct v4l2_subdev_frame_interval *ival) in ov7670_s_frame_interval() argument
1174 struct v4l2_fract *tpf = &ival->interval; in ov7670_s_frame_interval()
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_isr.c1357 uint32_t ival = 0; in qla4_83xx_mailbox_intr_handler() local
1361 ival = readl(&ha->qla4_83xx_reg->risc_intr); in qla4_83xx_mailbox_intr_handler()
1362 if (ival == 0) { in qla4_83xx_mailbox_intr_handler()
1366 ival = readl(&ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler()
1367 ival &= ~INT_MASK_FW_MB; in qla4_83xx_mailbox_intr_handler()
1368 writel(ival, &ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler()
1375 ival = readl(&ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler()
1376 ival &= ~INT_MASK_FW_MB; in qla4_83xx_mailbox_intr_handler()
1377 writel(ival, &ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler()
1435 uint32_t ival = 0; in qla4_8xxx_msix_rsp_q() local
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-common.c189 struct v4l2_subdev_frame_interval ival = { 0 }; in v4l2_g_parm_cap() local
200 ret = v4l2_subdev_call(sd, video, g_frame_interval, &ival); in v4l2_g_parm_cap()
202 a->parm.capture.timeperframe = ival.interval; in v4l2_g_parm_cap()
210 struct v4l2_subdev_frame_interval ival = { in v4l2_s_parm_cap() local
227 ret = v4l2_subdev_call(sd, video, s_frame_interval, &ival); in v4l2_s_parm_cap()
229 a->parm.capture.timeperframe = ival.interval; in v4l2_s_parm_cap()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dperfmon_montecito.h137 unsigned long tmp1, tmp2, ival = *val; in pfm_mont_reserved() local
140 tmp1 = ival & PMC_RSVD_MASK(cnum); in pfm_mont_reserved()
148 cnum, ival, PMC_RSVD_MASK(cnum), PMC_DFL_VAL(cnum), *val)); in pfm_mont_reserved()
Dperfmon_mckinley.h59 unsigned long tmp1, tmp2, ival = *val; in pfm_mck_reserved() local
62 tmp1 = ival & PMC_RSVD_MASK(cnum); in pfm_mck_reserved()
70 cnum, ival, PMC_RSVD_MASK(cnum), PMC_DFL_VAL(cnum), *val)); in pfm_mck_reserved()
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c177 char cval; short sval; int ival; long long lval; in read_var() local
189 ival = *(int *)&dummy_var[i]; in read_var()
/kernel/linux/linux-5.10/arch/powerpc/lib/
Dsstep.c1225 long ival; in analyse_instr() local
1997 ival = (signed int) regs->gpr[rd]; in analyse_instr()
1998 op->val = ival >> (sh < 32 ? sh : 31); in analyse_instr()
2000 if (ival < 0 && (sh >= 32 || (ival & ((1ul << sh) - 1)) != 0)) in analyse_instr()
2010 ival = (signed int) regs->gpr[rd]; in analyse_instr()
2011 op->val = ival >> sh; in analyse_instr()
2013 if (ival < 0 && (ival & ((1ul << sh) - 1)) != 0) in analyse_instr()
2040 ival = (signed long int) regs->gpr[rd]; in analyse_instr()
2041 op->val = ival >> (sh < 64 ? sh : 63); in analyse_instr()
2043 if (ival < 0 && (sh >= 64 || (ival & ((1ul << sh) - 1)) != 0)) in analyse_instr()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
Dtw686x-video.c920 struct v4l2_frmivalenum *ival) in tw686x_enum_frameintervals() argument
926 if (ival->index >= max_rates) in tw686x_enum_frameintervals()
929 ival->type = V4L2_FRMIVAL_TYPE_DISCRETE; in tw686x_enum_frameintervals()
930 ival->discrete.numerator = 1; in tw686x_enum_frameintervals()
931 if (ival->index < (max_rates - 1)) in tw686x_enum_frameintervals()
932 ival->discrete.denominator = (ival->index + 1) * 2; in tw686x_enum_frameintervals()
934 ival->discrete.denominator = max_fps; in tw686x_enum_frameintervals()
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap.c1646 unsigned int ival; in _regmap_raw_write_impl() local
1649 ival = map->format.parse_val(val + (i * val_bytes)); in _regmap_raw_write_impl()
1652 ival); in _regmap_raw_write_impl()
2221 unsigned int ival; in regmap_bulk_write() local
2225 ival = *(u8 *)(val + (i * val_bytes)); in regmap_bulk_write()
2228 ival = *(u16 *)(val + (i * val_bytes)); in regmap_bulk_write()
2231 ival = *(u32 *)(val + (i * val_bytes)); in regmap_bulk_write()
2235 ival = *(u64 *)(val + (i * val_bytes)); in regmap_bulk_write()
2245 ival); in regmap_bulk_write()
2979 unsigned int ival; in regmap_bulk_read() local
[all …]
/kernel/linux/linux-5.10/net/can/
Dbcm.c381 ktime_t ival; in bcm_tx_set_expiry() local
384 ival = op->kt_ival1; in bcm_tx_set_expiry()
386 ival = op->kt_ival2; in bcm_tx_set_expiry()
390 hrtimer_set_expires(hrt, ktime_add(ktime_get(), ival)); in bcm_tx_set_expiry()

12