Home
last modified time | relevance | path

Searched refs:ctrl_cfg (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-flash-led-class.c326 struct v4l2_ctrl_config *ctrl_cfg; in __fill_ctrl_init_data() local
333 ctrl_cfg = &ctrl_init_data[INDICATOR_INTENSITY].config; in __fill_ctrl_init_data()
335 ctrl_cfg); in __fill_ctrl_init_data()
336 ctrl_cfg->id = V4L2_CID_FLASH_INDICATOR_INTENSITY; in __fill_ctrl_init_data()
337 ctrl_cfg->min = 0; in __fill_ctrl_init_data()
338 ctrl_cfg->flags = V4L2_CTRL_FLAG_VOLATILE | in __fill_ctrl_init_data()
348 ctrl_cfg = &ctrl_init_data[FLASH_FAULT].config; in __fill_ctrl_init_data()
349 ctrl_cfg->id = V4L2_CID_FLASH_FAULT; in __fill_ctrl_init_data()
350 ctrl_cfg->max = flash_cfg->flash_faults; in __fill_ctrl_init_data()
351 ctrl_cfg->flags = V4L2_CTRL_FLAG_VOLATILE | in __fill_ctrl_init_data()
[all …]
/Linux-v6.6/drivers/platform/x86/
Dacerhdf.c150 static struct ctrl_settings ctrl_cfg __read_mostly;
282 if (ec_read(ctrl_cfg.tempreg, &read_temp)) in acerhdf_get_temp()
294 if (ec_read(ctrl_cfg.fanreg, &fan)) in acerhdf_get_fanstate()
297 if (fan != ctrl_cfg.cmd.cmd_off) in acerhdf_get_fanstate()
318 cmd = (state == ACERHDF_FAN_OFF) ? ctrl_cfg.cmd.cmd_off in acerhdf_change_fanstate()
319 : ctrl_cfg.cmd.cmd_auto; in acerhdf_change_fanstate()
322 ec_write(ctrl_cfg.fanreg, cmd); in acerhdf_change_fanstate()
324 if (ctrl_cfg.mcmd_enable && state == ACERHDF_FAN_OFF) { in acerhdf_change_fanstate()
621 ctrl_cfg.fanreg = bt->fanreg; in acerhdf_check_hardware()
622 ctrl_cfg.tempreg = bt->tempreg; in acerhdf_check_hardware()
[all …]
/Linux-v6.6/drivers/gpu/drm/kmb/
Dkmb_dsi.c650 struct mipi_ctrl_cfg *ctrl_cfg) in mipi_tx_ctrl_cfg() argument
656 if (ctrl_cfg->tx_ctrl_cfg.line_sync_pkt_en) in mipi_tx_ctrl_cfg()
658 if (ctrl_cfg->tx_ctrl_cfg.frame_counter_active) in mipi_tx_ctrl_cfg()
660 if (ctrl_cfg->tx_ctrl_cfg.line_counter_active) in mipi_tx_ctrl_cfg()
662 if (ctrl_cfg->tx_ctrl_cfg.tx_dsi_cfg->v_blanking) in mipi_tx_ctrl_cfg()
664 if (ctrl_cfg->tx_ctrl_cfg.tx_dsi_cfg->hsa_blanking) in mipi_tx_ctrl_cfg()
666 if (ctrl_cfg->tx_ctrl_cfg.tx_dsi_cfg->hbp_blanking) in mipi_tx_ctrl_cfg()
668 if (ctrl_cfg->tx_ctrl_cfg.tx_dsi_cfg->hfp_blanking) in mipi_tx_ctrl_cfg()
670 if (ctrl_cfg->tx_ctrl_cfg.tx_dsi_cfg->sync_pulse_eventn) in mipi_tx_ctrl_cfg()
672 if (ctrl_cfg->tx_ctrl_cfg.tx_dsi_cfg->lpm_first_vsa_line) in mipi_tx_ctrl_cfg()
[all …]
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info-gen3.c118 prph_sc_ctrl = &prph_scratch->ctrl_cfg; in iwl_pcie_ctxt_info_gen3_init()
379 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_trans_pcie_ctx_info_gen3_load_pnvm()
436 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_pcie_set_pnvm_segments()
449 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_pcie_set_continuous_pnvm()
475 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_trans_pcie_ctx_info_gen3_load_reduce_power()
520 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_pcie_set_reduce_power_segments()
533 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_pcie_set_continuous_reduce_power()
/Linux-v6.6/drivers/media/i2c/ccs/
Dccs-core.c833 struct v4l2_ctrl_config ctrl_cfg = { in ccs_init_controls() local
842 ctrl_cfg.name = gain_ctrls[i].name; in ccs_init_controls()
843 ctrl_cfg.id = gain_ctrls[i].id; in ccs_init_controls()
844 ctrl_cfg.min = ctrl_cfg.max = ctrl_cfg.def = in ccs_init_controls()
848 &ctrl_cfg, NULL); in ccs_init_controls()
886 struct v4l2_ctrl_config ctrl_cfg = { in ccs_init_controls() local
893 ctrl_cfg.name = gain_ctrls[i].name; in ccs_init_controls()
894 ctrl_cfg.min = ctrl_cfg.def = gain_ctrls[i].min; in ccs_init_controls()
895 ctrl_cfg.max = gain_ctrls[i].max; in ccs_init_controls()
896 ctrl_cfg.step = gain_ctrls[i].step; in ccs_init_controls()
[all …]
/Linux-v6.6/drivers/media/platform/rockchip/rkisp1/
Drkisp1-resizer.c209 u32 ctrl_cfg = rkisp1_rsz_read(rsz, RKISP1_CIF_RSZ_CTRL); in rkisp1_rsz_update_shadow() local
212 ctrl_cfg |= RKISP1_CIF_RSZ_CTRL_CFG_UPD_AUTO; in rkisp1_rsz_update_shadow()
214 ctrl_cfg |= RKISP1_CIF_RSZ_CTRL_CFG_UPD; in rkisp1_rsz_update_shadow()
216 rkisp1_rsz_write(rsz, RKISP1_CIF_RSZ_CTRL, ctrl_cfg); in rkisp1_rsz_update_shadow()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/
Diwl-context-info-gen3.h193 struct iwl_prph_scratch_ctrl_cfg ctrl_cfg; member