Home
last modified time | relevance | path

Searched refs:cdef (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/leds/
Dleds-is31fl32xx.c43 const struct is31fl32xx_chipdef *cdef; member
167 for (i = 0; i < priv->cdef->channels; i++) { in is31fl3216_reset()
168 ret = is31fl32xx_write(priv, priv->cdef->pwm_register_base+i, in is31fl3216_reset()
173 ret = is31fl32xx_write(priv, priv->cdef->pwm_update_reg, 0); in is31fl3216_reset()
227 const struct is31fl32xx_chipdef *cdef = led_data->priv->cdef; in is31fl32xx_brightness_set() local
234 if (cdef->pwm_registers_reversed) in is31fl32xx_brightness_set()
235 pwm_register_offset = cdef->channels - led_data->channel; in is31fl32xx_brightness_set()
240 cdef->pwm_register_base + pwm_register_offset, in is31fl32xx_brightness_set()
245 return is31fl32xx_write(led_data->priv, cdef->pwm_update_reg, 0); in is31fl32xx_brightness_set()
250 const struct is31fl32xx_chipdef *cdef = priv->cdef; in is31fl32xx_reset_regs() local
[all …]
Dleds-is31fl319x.c90 const struct is31fl319x_chipdef *cdef; member
212 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl3190_brightness_set()
266 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl3196_brightness_set()
381 led->max_microamp = is31->cdef->current_default; in is31fl319x_parse_child_fw()
384 if (led->max_microamp < is31->cdef->current_min) in is31fl319x_parse_child_fw()
387 is31->cdef->current_max); in is31fl319x_parse_child_fw()
404 is31->cdef = device_get_match_data(dev); in is31fl319x_parse_fw()
412 if (!count || count > is31->cdef->num_leds) in is31fl319x_parse_fw()
415 is31->cdef->num_leds); in is31fl319x_parse_fw()
425 if (reg < 1 || reg > is31->cdef->num_leds) in is31fl319x_parse_fw()
[all …]
Dleds-spi-byte.c51 const struct spi_byte_chipdef *cdef; member
66 value = (u8) brightness + led->cdef->off_value; in spi_byte_brightness_set_blocking()
98 led->cdef = device_get_match_data(dev); in spi_byte_probe()
100 led->ldev.max_brightness = led->cdef->max_value - led->cdef->off_value; in spi_byte_probe()
Dleds-aw200xx.c116 const struct aw200xx_chipdef *cdef; member
145 u32 columns = chip->cdef->display_size_columns; in dim_store()
196 reg = AW200XX_REG_DIM(led->num, chip->cdef->display_size_columns); in aw200xx_brightness_set()
396 if (ret || source >= chip->cdef->channels) in aw200xx_probe_get_display_rows()
405 chip->display_rows = max_source / chip->cdef->display_size_columns + 1; in aw200xx_probe_get_display_rows()
439 if (source >= chip->cdef->channels) { in aw200xx_probe_fw()
441 source, chip->cdef->channels); in aw200xx_probe_fw()
545 const struct aw200xx_chipdef *cdef; in aw200xx_probe() local
550 cdef = device_get_match_data(&client->dev); in aw200xx_probe()
551 if (!cdef) in aw200xx_probe()
[all …]
/linux-6.12.1/drivers/media/i2c/
Dak7375.c75 const struct ak73xx_chipdef *cdef; member
120 const struct ak73xx_chipdef *cdef = dev_vcm->cdef; in ak7375_set_ctrl() local
123 return ak7375_i2c_write(dev_vcm, cdef->reg_position, in ak7375_set_ctrl()
124 ctrl->val << cdef->shift_pos, 2); in ak7375_set_ctrl()
163 const struct ak73xx_chipdef *cdef = dev_vcm->cdef; in ak7375_init_controls() local
168 0, cdef->focus_pos_max, cdef->focus_steps, 0); in ak7375_init_controls()
189 ak7375_dev->cdef = device_get_match_data(&client->dev); in ak7375_probe()
251 const struct ak73xx_chipdef *cdef = ak7375_dev->cdef; in ak7375_vcm_suspend() local
257 for (val = ak7375_dev->focus->val & ~(cdef->ctrl_steps - 1); in ak7375_vcm_suspend()
258 val >= 0; val -= cdef->ctrl_steps) { in ak7375_vcm_suspend()
[all …]
/linux-6.12.1/drivers/media/test-drivers/visl/
Dvisl-trace-av1.h148 __entry->f.cdef.damping_minus_3,
149 __entry->f.cdef.bits,
150 __print_array(__entry->f.cdef.y_pri_strength,
151 ARRAY_SIZE(__entry->f.cdef.y_pri_strength),
152 sizeof(__entry->f.cdef.y_pri_strength[0])),
153 __print_array(__entry->f.cdef.y_sec_strength,
154 ARRAY_SIZE(__entry->f.cdef.y_sec_strength),
155 sizeof(__entry->f.cdef.y_sec_strength[0])),
156 __print_array(__entry->f.cdef.uv_pri_strength,
157 ARRAY_SIZE(__entry->f.cdef.uv_pri_strength),
[all …]
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/
Dbootconfig.rst221 root = 01234567-89ab-cdef-0123-456789abcd
229 root="01234567-89ab-cdef-0123-456789abcd" -- splash
237 root="01234567-89ab-cdef-0123-456789abcd" ro bootconfig -- splash quiet
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/
Dbootconfig.rst221 root = 01234567-89ab-cdef-0123-456789abcd
229 root="01234567-89ab-cdef-0123-456789abcd" -- splash
237 root="01234567-89ab-cdef-0123-456789abcd" ro bootconfig -- splash quiet
/linux-6.12.1/drivers/isdn/capi/
Dcapiutil.c39 static _cdef cdef[] = variable
231 #define TYP (cdef[cmsg->par[cmsg->p]].typ)
232 #define OFF (((u8 *)cmsg) + cdef[cmsg->par[cmsg->p]].off)
/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-ctrls-core.c649 static int validate_av1_cdef(struct v4l2_av1_cdef *cdef) in validate_av1_cdef() argument
653 if (cdef->damping_minus_3 > GENMASK(1, 0) || in validate_av1_cdef()
654 cdef->bits > GENMASK(1, 0)) in validate_av1_cdef()
657 for (i = 0; i < 1 << cdef->bits; i++) { in validate_av1_cdef()
658 if (cdef->y_pri_strength[i] > GENMASK(3, 0) || in validate_av1_cdef()
659 cdef->y_sec_strength[i] > 4 || in validate_av1_cdef()
660 cdef->uv_pri_strength[i] > GENMASK(3, 0) || in validate_av1_cdef()
661 cdef->uv_sec_strength[i] > 4) in validate_av1_cdef()
724 ret = validate_av1_cdef(&f->cdef); in validate_av1_frame()
/linux-6.12.1/drivers/media/platform/verisilicon/
Drockchip_vpu981_hw_av1_dec.c1396 const struct v4l2_av1_cdef *cdef = &frame->cdef; in rockchip_vpu981_av1_dec_set_cdef() local
1404 hantro_reg_write(vpu, &av1_cdef_bits, cdef->bits); in rockchip_vpu981_av1_dec_set_cdef()
1405 hantro_reg_write(vpu, &av1_cdef_damping, cdef->damping_minus_3); in rockchip_vpu981_av1_dec_set_cdef()
1407 for (i = 0; i < BIT(cdef->bits); i++) { in rockchip_vpu981_av1_dec_set_cdef()
1408 luma_pri_strength |= cdef->y_pri_strength[i] << (i * 4); in rockchip_vpu981_av1_dec_set_cdef()
1409 if (cdef->y_sec_strength[i] == 4) in rockchip_vpu981_av1_dec_set_cdef()
1412 luma_sec_strength |= cdef->y_sec_strength[i] << (i * 2); in rockchip_vpu981_av1_dec_set_cdef()
1414 chroma_pri_strength |= cdef->uv_pri_strength[i] << (i * 4); in rockchip_vpu981_av1_dec_set_cdef()
1415 if (cdef->uv_sec_strength[i] == 4) in rockchip_vpu981_av1_dec_set_cdef()
1418 chroma_sec_strength |= cdef->uv_sec_strength[i] << (i * 2); in rockchip_vpu981_av1_dec_set_cdef()
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_av1_req_lat_if.c488 struct vdec_av1_slice_cdef cdef; member
1243 static void vdec_av1_slice_setup_cdef(struct vdec_av1_slice_cdef *cdef, in vdec_av1_slice_setup_cdef() argument
1248 cdef->cdef_damping = ctrl_cdef->damping_minus_3 + 3; in vdec_av1_slice_setup_cdef()
1249 cdef->cdef_bits = ctrl_cdef->bits; in vdec_av1_slice_setup_cdef()
1258 cdef->cdef_y_strength[i] = in vdec_av1_slice_setup_cdef()
1261 cdef->cdef_uv_strength[i] = in vdec_av1_slice_setup_cdef()
1383 vdec_av1_slice_setup_cdef(&uh->cdef, &ctrl_fh->cdef); in vdec_av1_slice_setup_uh()
/linux-6.12.1/Documentation/admin-guide/
Dbootconfig.rst246 root = 01234567-89ab-cdef-0123-456789abcd
254 root="01234567-89ab-cdef-0123-456789abcd" -- splash
262 root="01234567-89ab-cdef-0123-456789abcd" ro bootconfig -- splash quiet
/linux-6.12.1/include/uapi/linux/
Dv4l2-controls.h3370 struct v4l2_av1_cdef cdef; member
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec-stateless.rst3076 - If set, specifies that cdef filtering may be enabled. If not set,
3077 specifies that cdef filtering is disabled.
3823 - ``cdef``