Home
last modified time | relevance | path

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

/linux/drivers/media/i2c/
H A 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/drivers/leds/
H A Dleds-is31fl319x.c89 const struct is31fl319x_chipdef *cdef; member
211 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl3190_brightness_set()
265 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl3196_brightness_set()
370 for (i = 0; i < is31->cdef->num_leds; i++) { in is31_free_fwnode()
389 is31->cdef = device_get_match_data(dev); in is31fl319x_parse_fw()
390 if (!is31->cdef) in is31fl319x_parse_fw()
403 if (!count || count > is31->cdef->num_leds) in is31fl319x_parse_fw()
406 is31->cdef->num_leds); in is31fl319x_parse_fw()
416 if (reg < 1 || reg > is31->cdef->num_leds) in is31fl319x_parse_fw()
424 led->max_microamp = is31->cdef->current_default; in is31fl319x_parse_fw()
[all …]
H A Dleds-spi-byte.c50 const struct spi_byte_chipdef *cdef; member
65 value = (u8) brightness + led->cdef->off_value; in spi_byte_brightness_set_blocking()
97 led->cdef = device_get_match_data(dev); in spi_byte_probe()
99 led->ldev.max_brightness = led->cdef->max_value - led->cdef->off_value; in spi_byte_probe()
H A Dleds-aw200xx.c115 const struct aw200xx_chipdef *cdef; member
144 u32 columns = chip->cdef->display_size_columns; in dim_store()
195 reg = AW200XX_REG_DIM(led->num, chip->cdef->display_size_columns); in aw200xx_brightness_set()
395 if (ret || source >= chip->cdef->channels) in aw200xx_probe_get_display_rows()
404 chip->display_rows = max_source / chip->cdef->display_size_columns + 1; in aw200xx_probe_get_display_rows()
437 if (source >= chip->cdef->channels) { in aw200xx_probe_fw()
439 source, chip->cdef->channels); in aw200xx_probe_fw()
541 const struct aw200xx_chipdef *cdef; in aw200xx_probe() local
546 cdef = device_get_match_data(&client->dev); in aw200xx_probe()
547 if (!cdef) in aw200xx_probe()
[all …]
/linux/drivers/media/test-drivers/visl/
H A 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/Documentation/translations/zh_CN/admin-guide/
H A 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/Documentation/translations/zh_TW/admin-guide/
H A 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/drivers/media/platform/verisilicon/
H A Drockchip_vpu981_hw_av1_dec.c1440 const struct v4l2_av1_cdef *cdef = &frame->cdef; in rockchip_vpu981_av1_dec_set_cdef() local
1449 enable_cdef = !(cdef->bits == 0 && in rockchip_vpu981_av1_dec_set_cdef()
1450 cdef->damping_minus_3 == 0 && in rockchip_vpu981_av1_dec_set_cdef()
1451 cdef->y_pri_strength[0] == 0 && in rockchip_vpu981_av1_dec_set_cdef()
1452 cdef->y_sec_strength[0] == 0 && in rockchip_vpu981_av1_dec_set_cdef()
1453 cdef->uv_pri_strength[0] == 0 && in rockchip_vpu981_av1_dec_set_cdef()
1454 cdef->uv_sec_strength[0] == 0); in rockchip_vpu981_av1_dec_set_cdef()
1456 hantro_reg_write(vpu, &av1_cdef_bits, cdef->bits); in rockchip_vpu981_av1_dec_set_cdef()
1457 hantro_reg_write(vpu, &av1_cdef_damping, cdef->damping_minus_3); in rockchip_vpu981_av1_dec_set_cdef()
1459 for (i = 0; i < BIT(cdef->bits); i++) { in rockchip_vpu981_av1_dec_set_cdef()
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-core.c734 static int validate_av1_cdef(struct v4l2_av1_cdef *cdef) in validate_av1_cdef() argument
738 if (cdef->damping_minus_3 > GENMASK(1, 0) || in validate_av1_cdef()
739 cdef->bits > GENMASK(1, 0)) in validate_av1_cdef()
742 for (i = 0; i < 1 << cdef->bits; i++) { in validate_av1_cdef()
743 if (cdef->y_pri_strength[i] > GENMASK(3, 0) || in validate_av1_cdef()
744 cdef->y_sec_strength[i] > 4 || in validate_av1_cdef()
745 cdef->uv_pri_strength[i] > GENMASK(3, 0) || in validate_av1_cdef()
746 cdef->uv_sec_strength[i] > 4) in validate_av1_cdef()
829 ret = validate_av1_cdef(&f->cdef); in validate_av1_frame()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A 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()
1384 vdec_av1_slice_setup_cdef(&uh->cdef, &ctrl_fh->cdef); in vdec_av1_slice_setup_uh()