/Linux-v5.4/drivers/pinctrl/ti/ |
D | pinctrl-ti-iodelay.c | 210 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 …]
|
/Linux-v5.4/drivers/char/ipmi/ |
D | ipmi_si_hotmod.c | 109 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 …]
|
/Linux-v5.4/scripts/dtc/ |
D | fdtput.c | 63 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-v5.4/include/linux/mfd/ |
D | rc5t583.h | 335 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()
|
D | tps80031.h | 567 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()
|
/Linux-v5.4/drivers/media/i2c/ |
D | vs6624.c | 653 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()
|
D | mt9v011.c | 368 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()
|
D | ov6650.c | 723 struct v4l2_subdev_frame_interval *ival) in ov6650_g_frame_interval() argument 728 ival->interval.numerator = GET_CLKRC_DIV(to_clkrc(&priv->tpf, in ov6650_g_frame_interval() 730 ival->interval.denominator = FRAME_RATE_MAX; in ov6650_g_frame_interval() 733 ival->interval.numerator, ival->interval.denominator); in ov6650_g_frame_interval() 739 struct v4l2_subdev_frame_interval *ival) in ov6650_s_frame_interval() argument 743 struct v4l2_fract *tpf = &ival->interval; in ov6650_s_frame_interval()
|
D | tvp514x.c | 749 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()
|
D | ov7740.c | 653 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()
|
D | mt9v111.c | 725 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()
|
D | ov772x.c | 707 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()
|
D | ov7670.c | 1161 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()
|
/Linux-v5.4/drivers/media/v4l2-core/ |
D | v4l2-common.c | 190 struct v4l2_subdev_frame_interval ival = { 0 }; in v4l2_g_parm_cap() local 201 ret = v4l2_subdev_call(sd, video, g_frame_interval, &ival); in v4l2_g_parm_cap() 203 a->parm.capture.timeperframe = ival.interval; in v4l2_g_parm_cap() 211 struct v4l2_subdev_frame_interval ival = { in v4l2_s_parm_cap() local 228 ret = v4l2_subdev_call(sd, video, s_frame_interval, &ival); in v4l2_s_parm_cap() 230 a->parm.capture.timeperframe = ival.interval; in v4l2_s_parm_cap()
|
/Linux-v5.4/drivers/scsi/qla4xxx/ |
D | ql4_isr.c | 1356 uint32_t ival = 0; in qla4_83xx_mailbox_intr_handler() local 1360 ival = readl(&ha->qla4_83xx_reg->risc_intr); in qla4_83xx_mailbox_intr_handler() 1361 if (ival == 0) { in qla4_83xx_mailbox_intr_handler() 1365 ival = readl(&ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler() 1366 ival &= ~INT_MASK_FW_MB; in qla4_83xx_mailbox_intr_handler() 1367 writel(ival, &ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler() 1374 ival = readl(&ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler() 1375 ival &= ~INT_MASK_FW_MB; in qla4_83xx_mailbox_intr_handler() 1376 writel(ival, &ha->qla4_83xx_reg->mb_int_mask); in qla4_83xx_mailbox_intr_handler() 1434 uint32_t ival = 0; in qla4_8xxx_msix_rsp_q() local [all …]
|
/Linux-v5.4/arch/ia64/kernel/ |
D | perfmon_montecito.h | 137 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()
|
D | perfmon_mckinley.h | 59 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()
|
/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-hwbreak.c | 142 int ival __attribute__((unused)); in read_var() local 153 ival = *(int *)dummy_var; in read_var()
|
/Linux-v5.4/arch/powerpc/lib/ |
D | sstep.c | 1172 long ival; in analyse_instr() local 1895 ival = (signed int) regs->gpr[rd]; in analyse_instr() 1896 op->val = ival >> (sh < 32 ? sh : 31); in analyse_instr() 1898 if (ival < 0 && (sh >= 32 || (ival & ((1ul << sh) - 1)) != 0)) in analyse_instr() 1908 ival = (signed int) regs->gpr[rd]; in analyse_instr() 1909 op->val = ival >> sh; in analyse_instr() 1911 if (ival < 0 && (ival & ((1ul << sh) - 1)) != 0) in analyse_instr() 1938 ival = (signed long int) regs->gpr[rd]; in analyse_instr() 1939 op->val = ival >> (sh < 64 ? sh : 63); in analyse_instr() 1941 if (ival < 0 && (sh >= 64 || (ival & ((1ul << sh) - 1)) != 0)) in analyse_instr() [all …]
|
/Linux-v5.4/drivers/base/regmap/ |
D | regmap.c | 1498 unsigned int ival; in _regmap_raw_write_impl() local 1501 ival = map->format.parse_val(val + (i * val_bytes)); in _regmap_raw_write_impl() 1504 ival); in _regmap_raw_write_impl() 2072 unsigned int ival; in regmap_bulk_write() local 2076 ival = *(u8 *)(val + (i * val_bytes)); in regmap_bulk_write() 2079 ival = *(u16 *)(val + (i * val_bytes)); in regmap_bulk_write() 2082 ival = *(u32 *)(val + (i * val_bytes)); in regmap_bulk_write() 2086 ival = *(u64 *)(val + (i * val_bytes)); in regmap_bulk_write() 2096 ival); in regmap_bulk_write() 2822 unsigned int ival; in regmap_bulk_read() local [all …]
|
/Linux-v5.4/tools/testing/selftests/breakpoints/ |
D | breakpoint_test.c | 177 char cval; short sval; int ival; long long lval; in read_var() local 189 ival = *(int *)&dummy_var[i]; in read_var()
|
/Linux-v5.4/drivers/media/pci/tw686x/ |
D | tw686x-video.c | 920 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()
|
/Linux-v5.4/net/can/ |
D | bcm.c | 375 ktime_t ival; in bcm_tx_set_expiry() local 378 ival = op->kt_ival1; in bcm_tx_set_expiry() 380 ival = op->kt_ival2; in bcm_tx_set_expiry() 384 hrtimer_set_expires(hrt, ktime_add(ktime_get(), ival)); in bcm_tx_set_expiry()
|
/Linux-v5.4/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 403 u32 d, ival; in uvc_v4l2_set_streamparm() local 412 ival = uvc_try_frame_interval(&format->frame[i], interval); in uvc_v4l2_set_streamparm() 413 d = abs((s32)ival - interval); in uvc_v4l2_set_streamparm() 419 probe.dwFrameInterval = ival; in uvc_v4l2_set_streamparm()
|
/Linux-v5.4/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 1607 struct v4l2_subdev_frame_interval ival = { 0 }; in vidioc_g_parm() local 1620 video, g_frame_interval, &ival); in vidioc_g_parm() 1622 p->parm.capture.timeperframe = ival.interval; in vidioc_g_parm() 1635 struct v4l2_subdev_frame_interval ival = { in vidioc_s_parm() local 1652 video, s_frame_interval, &ival); in vidioc_s_parm() 1654 p->parm.capture.timeperframe = ival.interval; in vidioc_s_parm()
|