Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-flash-led-class.c300 struct v4l2_ctrl_config *ctrl_cfg; in __fill_ctrl_init_data() local
307 ctrl_cfg = &ctrl_init_data[INDICATOR_INTENSITY].config; in __fill_ctrl_init_data()
309 ctrl_cfg); in __fill_ctrl_init_data()
310 ctrl_cfg->id = V4L2_CID_FLASH_INDICATOR_INTENSITY; in __fill_ctrl_init_data()
311 ctrl_cfg->min = 0; in __fill_ctrl_init_data()
312 ctrl_cfg->flags = V4L2_CTRL_FLAG_VOLATILE | in __fill_ctrl_init_data()
322 ctrl_cfg = &ctrl_init_data[FLASH_FAULT].config; in __fill_ctrl_init_data()
323 ctrl_cfg->id = V4L2_CID_FLASH_FAULT; in __fill_ctrl_init_data()
324 ctrl_cfg->max = flash_cfg->flash_faults; in __fill_ctrl_init_data()
325 ctrl_cfg->flags = V4L2_CTRL_FLAG_VOLATILE | in __fill_ctrl_init_data()
[all …]
/Linux-v5.10/drivers/platform/x86/
Dacerhdf.c142 static struct ctrl_settings ctrl_cfg __read_mostly;
274 if (ec_read(ctrl_cfg.tempreg, &read_temp)) in acerhdf_get_temp()
286 if (ec_read(ctrl_cfg.fanreg, &fan)) in acerhdf_get_fanstate()
289 if (fan != ctrl_cfg.cmd.cmd_off) in acerhdf_get_fanstate()
310 cmd = (state == ACERHDF_FAN_OFF) ? ctrl_cfg.cmd.cmd_off in acerhdf_change_fanstate()
311 : ctrl_cfg.cmd.cmd_auto; in acerhdf_change_fanstate()
314 ec_write(ctrl_cfg.fanreg, cmd); in acerhdf_change_fanstate()
316 if (ctrl_cfg.mcmd_enable && state == ACERHDF_FAN_OFF) { in acerhdf_change_fanstate()
669 ctrl_cfg.fanreg = bt->fanreg; in acerhdf_check_hardware()
670 ctrl_cfg.tempreg = bt->tempreg; in acerhdf_check_hardware()
[all …]
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info-gen3.c162 prph_sc_ctrl = &prph_scratch->ctrl_cfg; in iwl_pcie_ctxt_info_gen3_init()
330 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_trans_pcie_ctx_info_gen3_set_pnvm()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-context-info-gen3.h197 struct iwl_prph_scratch_ctrl_cfg ctrl_cfg; member
/Linux-v5.10/drivers/staging/media/rkisp1/
Drkisp1-resizer.c299 u32 ctrl_cfg = rkisp1_read(rsz->rkisp1, rsz->config->rsz.ctrl); in rkisp1_rsz_update_shadow() local
302 ctrl_cfg |= RKISP1_CIF_RSZ_CTRL_CFG_UPD_AUTO; in rkisp1_rsz_update_shadow()
304 ctrl_cfg |= RKISP1_CIF_RSZ_CTRL_CFG_UPD; in rkisp1_rsz_update_shadow()
306 rkisp1_write(rsz->rkisp1, ctrl_cfg, rsz->config->rsz.ctrl); in rkisp1_rsz_update_shadow()