Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/pinctrl/ti/
Dpinctrl-ti-iodelay.c212 struct ti_iodelay_reg_values *ival = &iod->reg_init_conf_values; in ti_iodelay_pinconf_set() local
225 a_delay_coarse = cfg->a_delay / ival->cdpe; in ti_iodelay_pinconf_set()
226 a_delay_fine = ((cfg->a_delay % ival->cdpe) * 10) / ival->fdpe; in ti_iodelay_pinconf_set()
232 total_delay = c_elements * ival->cdpe + f_elements * ival->fdpe; in ti_iodelay_pinconf_set()
233 c_elements = total_delay / ival->cdpe; in ti_iodelay_pinconf_set()
234 f_elements = (total_delay % ival->cdpe) / ival->fdpe; in ti_iodelay_pinconf_set()
287 struct ti_iodelay_reg_values *ival = &iod->reg_init_conf_values; in ti_iodelay_pinconf_init_dev() local
301 ival->ref_clk_period = ti_iodelay_extract(val, reg->refclk_period_mask); in ti_iodelay_pinconf_init_dev()
302 dev_dbg(dev, "refclk_period=0x%04x\n", ival->ref_clk_period); in ti_iodelay_pinconf_init_dev()
307 ival->coarse_ref_count = in ti_iodelay_pinconf_init_dev()
[all …]
/Linux-v6.6/drivers/char/ipmi/
Dipmi_si_hotmod.c108 unsigned int ival; in parse_hotmod_str() local
111 rv = parse_str(hotmod_ops, &ival, "operation", &curr); in parse_hotmod_str()
114 *op = ival; in parse_hotmod_str()
116 rv = parse_str(hotmod_si, &ival, "interface type", &curr); in parse_hotmod_str()
119 h->type = ival; in parse_hotmod_str()
121 rv = parse_str(hotmod_as, &ival, "address space", &curr); in parse_hotmod_str()
124 h->space = ival; in parse_hotmod_str()
/Linux-v6.6/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()
/Linux-v6.6/drivers/media/pci/zoran/
Dzr36050.c590 int *ival = (int *)data; in zr36050_control() local
600 *ival = ptr->status1; in zr36050_control()
606 *ival = CODEC_MODE_BJPG; in zr36050_control()
612 if (*ival != CODEC_MODE_BJPG) in zr36050_control()
629 *ival = ptr->total_code_vol; in zr36050_control()
635 ptr->total_code_vol = *ival; in zr36050_control()
642 *ival = zr36050_read_scalefactor(ptr); in zr36050_control()
648 ptr->scalefact = *ival; in zr36050_control()
Dzr36060.c646 int *ival = (int *)data; in zr36060_control() local
656 *ival = ptr->status; in zr36060_control()
662 *ival = CODEC_MODE_BJPG; in zr36060_control()
668 if (*ival != CODEC_MODE_BJPG) in zr36060_control()
685 *ival = ptr->total_code_vol; in zr36060_control()
691 ptr->total_code_vol = *ival; in zr36060_control()
698 *ival = zr36060_read_scalefactor(ptr); in zr36060_control()
704 ptr->scalefact = *ival; in zr36060_control()
Dzr36016.c259 int *ival = (int *)data; in zr36016_control() local
268 *ival = 0; in zr36016_control()
274 *ival = 0; in zr36016_control()
280 if (*ival != 0) in zr36016_control()
/Linux-v6.6/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()
/Linux-v6.6/drivers/scsi/qla4xxx/
Dql4_isr.c1355 uint32_t ival = 0; in qla4_83xx_mailbox_intr_handler() local
1359 ival = readl(&ha->qla4_83xx_reg->risc_intr); in qla4_83xx_mailbox_intr_handler()
1360 if (ival == 0) { in qla4_83xx_mailbox_intr_handler()
1364 ival = readl(&ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler()
1365 ival &= ~INT_MASK_FW_MB; in qla4_83xx_mailbox_intr_handler()
1366 writel(ival, &ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler()
1373 ival = readl(&ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler()
1374 ival &= ~INT_MASK_FW_MB; in qla4_83xx_mailbox_intr_handler()
1375 writel(ival, &ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler()
1433 uint32_t ival = 0; in qla4_8xxx_msix_rsp_q() local
[all …]
/Linux-v6.6/drivers/media/i2c/
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.c795 struct v4l2_subdev_frame_interval *ival) in ov6650_g_frame_interval() argument
800 ival->interval = priv->tpf; in ov6650_g_frame_interval()
803 ival->interval.numerator, ival->interval.denominator); in ov6650_g_frame_interval()
809 struct v4l2_subdev_frame_interval *ival) in ov6650_s_frame_interval() argument
813 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.c651 struct v4l2_subdev_frame_interval *ival) in ov7740_g_frame_interval() argument
653 struct v4l2_fract *tpf = &ival->interval; in ov7740_g_frame_interval()
663 struct v4l2_subdev_frame_interval *ival) in ov7740_s_frame_interval() argument
665 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.c723 struct v4l2_subdev_frame_interval *ival) in ov772x_g_frame_interval() argument
726 struct v4l2_fract *tpf = &ival->interval; in ov772x_g_frame_interval()
735 struct v4l2_subdev_frame_interval *ival) in ov772x_s_frame_interval() argument
738 struct v4l2_fract *tpf = &ival->interval; in ov772x_s_frame_interval()
/Linux-v6.6/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()
/Linux-v6.6/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()
/Linux-v6.6/drivers/media/pci/tw686x/
Dtw686x-video.c917 struct v4l2_frmivalenum *ival) in tw686x_enum_frameintervals() argument
923 if (ival->index >= max_rates) in tw686x_enum_frameintervals()
926 ival->type = V4L2_FRMIVAL_TYPE_DISCRETE; in tw686x_enum_frameintervals()
927 ival->discrete.numerator = 1; in tw686x_enum_frameintervals()
928 if (ival->index < (max_rates - 1)) in tw686x_enum_frameintervals()
929 ival->discrete.denominator = (ival->index + 1) * 2; in tw686x_enum_frameintervals()
931 ival->discrete.denominator = max_fps; in tw686x_enum_frameintervals()
/Linux-v6.6/arch/powerpc/lib/
Dsstep.c1356 long ival; in analyse_instr() local
2144 ival = (signed int) regs->gpr[rd]; in analyse_instr()
2145 op->val = ival >> (sh < 32 ? sh : 31); in analyse_instr()
2147 if (ival < 0 && (sh >= 32 || (ival & ((1ul << sh) - 1)) != 0)) in analyse_instr()
2157 ival = (signed int) regs->gpr[rd]; in analyse_instr()
2158 op->val = ival >> sh; in analyse_instr()
2160 if (ival < 0 && (ival & ((1ul << sh) - 1)) != 0) in analyse_instr()
2187 ival = (signed long int) regs->gpr[rd]; in analyse_instr()
2188 op->val = ival >> (sh < 64 ? sh : 63); in analyse_instr()
2190 if (ival < 0 && (sh >= 64 || (ival & ((1ul << sh) - 1)) != 0)) in analyse_instr()
[all …]
/Linux-v6.6/drivers/base/regmap/
Dregmap.c1623 unsigned int ival; in _regmap_raw_write_impl() local
1626 ival = map->format.parse_val(val + (i * val_bytes)); in _regmap_raw_write_impl()
1629 ival); in _regmap_raw_write_impl()
2318 unsigned int ival; in regmap_bulk_write() local
2322 ival = *(u8 *)(val + (i * val_bytes)); in regmap_bulk_write()
2325 ival = *(u16 *)(val + (i * val_bytes)); in regmap_bulk_write()
2328 ival = *(u32 *)(val + (i * val_bytes)); in regmap_bulk_write()
2337 ival); in regmap_bulk_write()
3101 unsigned int ival; in regmap_bulk_read() local
3104 &ival); in regmap_bulk_read()
[all …]
/Linux-v6.6/arch/riscv/include/asm/
Dkvm_vcpu_pmu.h76 unsigned long ctr_mask, unsigned long flags, u64 ival,
/Linux-v6.6/drivers/perf/
Driscv_pmu_legacy.c60 static void pmu_legacy_ctr_start(struct perf_event *event, u64 ival) in pmu_legacy_ctr_start() argument
Driscv_pmu_sbi.c527 static void pmu_sbi_ctr_start(struct perf_event *event, u64 ival) in pmu_sbi_ctr_start() argument
535 1, flag, ival, ival >> 32, 0); in pmu_sbi_ctr_start()
538 1, flag, ival, 0, 0); in pmu_sbi_ctr_start()
/Linux-v6.6/drivers/pinctrl/starfive/
Dpinctrl-starfive-jh7110.c262 u32 ival, imask; in jh7110_set_gpiomux() local
277 ival = (pin + 2) << ishift; in jh7110_set_gpiomux()
289 ival |= readl_relaxed(reg_din) & ~imask; in jh7110_set_gpiomux()
290 writel_relaxed(ival, reg_din); in jh7110_set_gpiomux()
/Linux-v6.6/arch/riscv/kvm/
Dvcpu_pmu.c339 unsigned long ctr_mask, unsigned long flags, u64 ival, in kvm_riscv_vcpu_pmu_ctr_start() argument
359 pmc->counter_val = ival; in kvm_riscv_vcpu_pmu_ctr_start()
/Linux-v6.6/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