/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 75 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 101 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1() 106 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1() 110 for (k = 0; k < step; k++) in mb86290fb_imageblit1() 111 cmd[9 + i * step + k] = in mb86290fb_imageblit1() 112 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1() 124 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 134 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8() 144 for (j = 0; j < step; j++) { in mb86290fb_imageblit8() 145 cmd[3 + i * step + j] = in mb86290fb_imageblit8() [all …]
|
/drivers/staging/media/atomisp/include/media/ |
D | lm3554.h | 39 .step = (_step), \ 51 .step = 1, \ 99 #define LM3554_VALUE_TO_PERCENT(v, step) (((((unsigned long)(v))*(step))+50)/100) argument 100 #define LM3554_PERCENT_TO_VALUE(p, step) (((((unsigned long)(p))*100)+(step>>1))/(step)) argument
|
D | lm3642.h | 37 .step = (_step), \ 49 .step = 1, \ 103 #define LM3642_VALUE_TO_PERCENT(v, step) \ argument 104 (((((unsigned long)((v)+1))*(step))+50)/100) 105 #define LM3642_PERCENT_TO_VALUE(p, step) \ argument 106 (((((unsigned long)(p))*100)+((step)>>1))/(step)-1)
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_enc.c | 127 .step = 1, 143 .step = 1, 151 .step = 1, 159 .step = 1, 168 .step = 1, 177 .step = 1, 185 .step = 1, 193 .step = 1, 202 .step = 1, 219 .step = 0, [all …]
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_syncmap.c | 335 unsigned int step, order, idx; in igt_syncmap_join_below() local 344 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 346 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() 354 context, order, step, sync->height, sync->prefix); in igt_syncmap_join_below() 361 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 363 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() 367 context, order, step); in igt_syncmap_join_below() 375 context + idx, order, step); in igt_syncmap_join_below() 384 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 385 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() [all …]
|
/drivers/regulator/ |
D | da903x.c | 313 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 320 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 323 .uV_step = (step) * 1000, \ 333 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 340 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 343 .uV_step = (step) * 1000, \ 355 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 356 DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit) 358 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 359 DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit) [all …]
|
D | pfuze100-regulator.c | 184 #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \ argument 188 .n_voltages = ((max) - (min)) / (step) + 1, \ 194 .uV_step = (step), \ 219 #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \ argument 223 .n_voltages = ((max) - (min)) / (step) + 1, \ 229 .uV_step = (step), \ 256 #define PFUZE3000_VCC_REG(_chip, _name, base, min, max, step) { \ argument 259 .n_voltages = ((max) - (min)) / (step) + 1, \ 265 .uV_step = (step), \ 276 #define PFUZE3000_SW2_REG(_chip, _name, base, min, max, step) { \ argument [all …]
|
D | max8998.c | 53 int step; member 58 .min = 800000, .step = 50000, .max = 1300000, 61 .min = 1600000, .step = 100000, .max = 3600000, 64 .min = 3000000, .step = 100000, .max = 3600000, 67 .min = 2800000, .step = 100000, .max = 3100000, 70 .min = 950000, .step = 50000, .max = 1300000, 73 .min = 800000, .step = 100000, .max = 3300000, 76 .min = 1200000, .step = 100000, .max = 3300000, 79 .min = 1600000, .step = 100000, .max = 3600000, 82 .min = 750000, .step = 25000, .max = 1525000, [all …]
|
D | pv88060-regulator.c | 187 #define PV88060_BUCK(chip, regl_name, min, step, max, limits_array) \ argument 198 .uV_step = step,\ 199 .n_voltages = ((max) - (min))/(step) + 1,\ 211 #define PV88060_LDO(chip, regl_name, min, step, max) \ argument 222 .uV_step = step, \ 223 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
|
D | max8997-regulator.c | 77 int step; member 82 .min = 800000, .max = 3950000, .step = 50000, 86 .min = 650000, .max = 2225000, .step = 25000, 90 .min = 750000, .max = 3900000, .step = 50000, 95 .min = 200000, .max = 950000, .step = 50000, 99 .min = 50000, .max = 200000, .step = 10000, 176 val = desc->min + desc->step * selector; in max8997_list_voltage() 403 i = DIV_ROUND_UP(min_vol - desc->min, desc->step); in max8997_get_voltage_proper_val() 405 if (desc->min + desc->step * i > max_vol) in max8997_get_voltage_proper_val() 538 return DIV_ROUND_UP(desc->step * (new_selector - old_selector), in max8997_set_voltage_buck_time_sel() [all …]
|
D | s2mps11.c | 264 #define regulator_desc_s2mps11_ldo(num, step) { \ argument 272 .uV_step = step, \ 312 #define regulator_desc_s2mps11_buck67810(num, min, step) { \ argument 319 .uV_step = step, \ 397 #define regulator_desc_s2mps13_ldo(num, min, step, min_sel) { \ argument 404 .uV_step = step, \ 413 #define regulator_desc_s2mps13_buck(num, min, step, min_sel) { \ argument 420 .uV_step = step, \ 430 #define regulator_desc_s2mps13_buck7(num, min, step, min_sel) { \ argument 437 .uV_step = step, \ [all …]
|
/drivers/clk/sunxi-ng/ |
D | ccu_phase.c | 21 u16 step, parent_div; in ccu_phase_get_phase() local 55 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_get_phase() 56 return delay * step; in ccu_phase_get_phase() 89 u16 step, parent_div; in ccu_phase_set_phase() local 107 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_set_phase() 108 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase()
|
/drivers/md/ |
D | dm-stats.c | 49 sector_t step; member 223 (unsigned long long)s->step, in dm_stats_cleanup() 234 sector_t step, unsigned stat_flags, in dm_stats_create() argument 254 if (end < start || !step) in dm_stats_create() 258 if (dm_sector_div64(n_entries, step)) in dm_stats_create() 288 s->step = step; in dm_stats_create() 460 (unsigned long long)s->step, in dm_stats_list() 603 offset = dm_sector_div64(rel_sector, s->step); in __dm_stat_bio() 611 if (fragment_len > s->step - offset) in __dm_stat_bio() 612 fragment_len = s->step - offset; in __dm_stat_bio() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 369 u_int32_t step = minfo->fbcon.var.xres_virtual >> 1; in matroxfb_cfb4_clear() local 372 unsigned int uaddr = sy * step + sx - 1; in matroxfb_cfb4_clear() 377 uaddr += step; in matroxfb_cfb4_clear() 381 unsigned int uaddr = sy * step + sx + width; in matroxfb_cfb4_clear() 386 uaddr += step; in matroxfb_cfb4_clear() 408 u_int32_t step; in matroxfb_1bpp_imageblit() local 420 step = (width + 7) >> 3; in matroxfb_1bpp_imageblit() 421 charcell = height * step; in matroxfb_1bpp_imageblit() 424 if (width == step << 3) { in matroxfb_1bpp_imageblit() 456 if ((step & 3) == 0) { in matroxfb_1bpp_imageblit() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-ctrls.c | 940 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags) in v4l2_ctrl_fill() argument 1000 *max = *step = 1; in v4l2_ctrl_fill() 1021 *min = *max = *step = *def = 0; in v4l2_ctrl_fill() 1105 *min = *max = *step = *def = 0; in v4l2_ctrl_fill() 1109 *step = 1; in v4l2_ctrl_fill() 1134 *step = 1; in v4l2_ctrl_fill() 1141 *step = 1; in v4l2_ctrl_fill() 1257 ev->u.ctrl.step = 1; in fill_event() 1259 ev->u.ctrl.step = ctrl->step; in fill_event() 1398 val >= (ctrl)->maximum - (s32)((ctrl)->step / 2)) \ [all …]
|
/drivers/media/platform/vivid/ |
D | vivid-ctrls.c | 151 .step = 1, 162 .step = 1, 172 .step = 1, 183 .step = 1, 195 .step = 1, 207 .step = 1, 240 .step = 1, 251 .step = 0, 543 .step = 1, 552 .step = 1, [all …]
|
/drivers/clk/imx/ |
D | clk-cpu.c | 22 struct clk *step; member 53 ret = clk_set_parent(cpu->mux, cpu->step); in clk_cpu_set_rate() 80 struct clk *step) in imx_clk_cpu() argument 93 cpu->step = step; in imx_clk_cpu()
|
/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 519 .step = 1, 528 .step = 1, 545 .step = 1, 554 .step = 1, 563 .step = 1, 572 .step = 1, 582 .step = 1, 592 .step = 1, 602 .step = 1, 612 .step = 1, [all …]
|
/drivers/media/pci/mantis/ |
D | mantis_dma.c | 153 u32 line, step; in mantis_risc_program() local 163 for (step = 0; step < MANTIS_DMA_TR_UNITS; step++) { in mantis_risc_program() 164 dprintk(MANTIS_DEBUG, 1, "RISC PROG line=[%d], step=[%d]", line, step); in mantis_risc_program() 165 if (step == 0) { in mantis_risc_program()
|
/drivers/leds/ |
D | leds-ktd2692.c | 33 #define GET_TIMEOUT_OFFSET(timeout, step) ((timeout) / (step)) argument 192 flash_tm_reg = GET_TIMEOUT_OFFSET(timeout->val, timeout->step); in ktd2692_led_flash_strobe_set() 221 u32 offset, step; in ktd2692_init_movie_current_max() local 225 step = KTD2692_MM_TO_FL_RATIO(cfg->flash_max_microamp) in ktd2692_init_movie_current_max() 229 movie_current_microamp = step * offset; in ktd2692_init_movie_current_max() 245 setting->step = cfg->flash_max_timeout in ktd2692_init_flash_timeout()
|
/drivers/clk/sunxi/ |
D | clk-mod0.c | 190 u16 step, mmc_div; in mmc_get_phase() local 223 step = DIV_ROUND_CLOSEST(360, mmc_div); in mmc_get_phase() 224 return delay * step; in mmc_get_phase() 257 u16 step, mmc_div; in mmc_set_phase() local 275 step = DIV_ROUND_CLOSEST(360, mmc_div); in mmc_set_phase() 276 delay = DIV_ROUND_CLOSEST(degrees, step); in mmc_set_phase()
|
/drivers/staging/media/imx/ |
D | imx-media-fim.c | 304 .step = 1, 314 .step = 1, 324 .step = 1, 334 .step = 1, 344 .step = 1, 357 .step = 1, 367 .step = 1,
|
/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/queue/src/ |
D | queue_access.c | 76 cb_desc->step = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load() 78 + offsetof(ia_css_circbuf_desc_t, step)); in ia_css_queue_load() 125 + offsetof(ia_css_circbuf_desc_t, step), in ia_css_queue_store() 126 cb_desc->step); in ia_css_queue_store()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | item.h | 45 unsigned short step; /* step in bytes for indexed items */ member 61 BUG_ON(index && !item->step); in __mlxsw_item_offset() 63 item->step % typesize != 0 || in __mlxsw_item_offset() 66 item->name, item->offset, item->step, in __mlxsw_item_offset() 71 return ((item->offset + item->step * index + item->in_step_offset) / in __mlxsw_item_offset() 318 .step = _step, \ 359 .step = _step, \ 400 .step = _step, \ 441 .step = _step, \ 490 .step = _step, \
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | volt.c | 93 info->step = nvbios_rd16(bios, volt + 0x08); in nvbios_volt_parse() 97 info->base + info->step * info->vidmask); in nvbios_volt_parse() 100 info->max = max(info->base, info->base + info->step * info->vidmask); in nvbios_volt_parse() 115 info->step = nvbios_rd16(bios, volt + 0x16); in nvbios_volt_parse()
|