Home
last modified time | relevance | path

Searched refs:setting (Results 1 – 25 of 1006) sorted by relevance

12345678910>>...41

/linux-6.6.21/drivers/platform/x86/
Dthink-lmi.c338 static int tlmi_opcode_setting(char *setting, const char *value) in tlmi_opcode_setting() argument
343 opcode_str = kasprintf(GFP_KERNEL, "%s:%s;", setting, value); in tlmi_opcode_setting()
393 struct tlmi_pwd_setting *setting = to_tlmi_pwd_setting(kobj); in is_enabled_show() local
395 return sysfs_emit(buf, "%d\n", setting->valid); in is_enabled_show()
404 struct tlmi_pwd_setting *setting = to_tlmi_pwd_setting(kobj); in current_password_store() local
409 if (pwdlen && ((pwdlen < setting->minlen) || (pwdlen > setting->maxlen))) in current_password_store()
412 strscpy(setting->password, buf, setting->maxlen); in current_password_store()
414 strip_cr(setting->password); in current_password_store()
424 struct tlmi_pwd_setting *setting = to_tlmi_pwd_setting(kobj); in new_password_store() local
447 if (pwdlen && ((pwdlen < setting->minlen) || (pwdlen > setting->maxlen))) { in new_password_store()
[all …]
/linux-6.6.21/drivers/clk/meson/
Dclk-dualdiv.c52 struct meson_clk_dualdiv_param setting; in meson_clk_dualdiv_recalc_rate() local
54 setting.dual = meson_parm_read(clk->map, &dualdiv->dual); in meson_clk_dualdiv_recalc_rate()
55 setting.n1 = meson_parm_read(clk->map, &dualdiv->n1) + 1; in meson_clk_dualdiv_recalc_rate()
56 setting.m1 = meson_parm_read(clk->map, &dualdiv->m1) + 1; in meson_clk_dualdiv_recalc_rate()
57 setting.n2 = meson_parm_read(clk->map, &dualdiv->n2) + 1; in meson_clk_dualdiv_recalc_rate()
58 setting.m2 = meson_parm_read(clk->map, &dualdiv->m2) + 1; in meson_clk_dualdiv_recalc_rate()
60 return __dualdiv_param_to_rate(parent_rate, &setting); in meson_clk_dualdiv_recalc_rate()
94 const struct meson_clk_dualdiv_param *setting; in meson_clk_dualdiv_determine_rate() local
96 setting = __dualdiv_get_setting(req->rate, req->best_parent_rate, in meson_clk_dualdiv_determine_rate()
98 if (setting) in meson_clk_dualdiv_determine_rate()
[all …]
/linux-6.6.21/drivers/pinctrl/
Dpinconf.c108 struct pinctrl_setting *setting) in pinconf_map_to_setting() argument
110 struct pinctrl_dev *pctldev = setting->pctldev; in pinconf_map_to_setting()
113 switch (setting->type) { in pinconf_map_to_setting()
122 setting->data.configs.group_or_pin = pin; in pinconf_map_to_setting()
132 setting->data.configs.group_or_pin = pin; in pinconf_map_to_setting()
138 setting->data.configs.num_configs = map->data.configs.num_configs; in pinconf_map_to_setting()
139 setting->data.configs.configs = map->data.configs.configs; in pinconf_map_to_setting()
144 void pinconf_free_setting(const struct pinctrl_setting *setting) in pinconf_free_setting() argument
148 int pinconf_apply_setting(const struct pinctrl_setting *setting) in pinconf_apply_setting() argument
150 struct pinctrl_dev *pctldev = setting->pctldev; in pinconf_apply_setting()
[all …]
Dpinmux.h41 struct pinctrl_setting *setting);
42 void pinmux_free_setting(const struct pinctrl_setting *setting);
43 int pinmux_enable_setting(const struct pinctrl_setting *setting);
44 void pinmux_disable_setting(const struct pinctrl_setting *setting);
85 struct pinctrl_setting *setting) in pinmux_map_to_setting() argument
90 static inline void pinmux_free_setting(const struct pinctrl_setting *setting) in pinmux_free_setting() argument
94 static inline int pinmux_enable_setting(const struct pinctrl_setting *setting) in pinmux_enable_setting() argument
99 static inline void pinmux_disable_setting(const struct pinctrl_setting *setting) in pinmux_disable_setting() argument
109 const struct pinctrl_setting *setting);
121 const struct pinctrl_setting *setting) in pinmux_show_setting() argument
Dpinconf.h28 struct pinctrl_setting *setting);
29 void pinconf_free_setting(const struct pinctrl_setting *setting);
30 int pinconf_apply_setting(const struct pinctrl_setting *setting);
57 struct pinctrl_setting *setting) in pinconf_map_to_setting() argument
62 static inline void pinconf_free_setting(const struct pinctrl_setting *setting) in pinconf_free_setting() argument
66 static inline int pinconf_apply_setting(const struct pinctrl_setting *setting) in pinconf_apply_setting() argument
83 const struct pinctrl_setting *setting);
95 const struct pinctrl_setting *setting) in pinconf_show_setting() argument
Dpinmux.c344 struct pinctrl_setting *setting) in pinmux_map_to_setting() argument
346 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_map_to_setting()
364 setting->data.mux.func = ret; in pinmux_map_to_setting()
366 ret = pmxops->get_function_groups(pctldev, setting->data.mux.func, in pinmux_map_to_setting()
398 setting->data.mux.group = ret; in pinmux_map_to_setting()
403 void pinmux_free_setting(const struct pinctrl_setting *setting) in pinmux_free_setting() argument
408 int pinmux_enable_setting(const struct pinctrl_setting *setting) in pinmux_enable_setting() argument
410 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_enable_setting()
420 ret = pctlops->get_group_pins(pctldev, setting->data.mux.group, in pinmux_enable_setting()
428 setting->data.mux.group); in pinmux_enable_setting()
[all …]
Dcore.c962 struct pinctrl_setting *setting; in add_setting() local
974 setting = kzalloc(sizeof(*setting), GFP_KERNEL); in add_setting()
975 if (!setting) in add_setting()
978 setting->type = map->type; in add_setting()
981 setting->pctldev = pctldev; in add_setting()
983 setting->pctldev = in add_setting()
985 if (!setting->pctldev) { in add_setting()
986 kfree(setting); in add_setting()
999 setting->dev_name = map->dev_name; in add_setting()
1003 ret = pinmux_map_to_setting(map, setting); in add_setting()
[all …]
/linux-6.6.21/drivers/memory/
Dda8xx-ddrctl.c70 da8xx_ddrctl_match_knob(const struct da8xx_ddrctl_setting *setting) in da8xx_ddrctl_match_knob() argument
78 if (strcmp(knob->name, setting->name) == 0) in da8xx_ddrctl_match_knob()
103 const struct da8xx_ddrctl_setting *setting; in da8xx_ddrctl_probe() local
111 setting = da8xx_ddrctl_get_board_settings(); in da8xx_ddrctl_probe()
112 if (!setting) { in da8xx_ddrctl_probe()
123 for (; setting->name; setting++) { in da8xx_ddrctl_probe()
124 knob = da8xx_ddrctl_match_knob(setting); in da8xx_ddrctl_probe()
127 "no such config option: %s\n", setting->name); in da8xx_ddrctl_probe()
140 reg |= setting->val << knob->shift; in da8xx_ddrctl_probe()
142 dev_dbg(dev, "writing 0x%08x to %s\n", reg, setting->name); in da8xx_ddrctl_probe()
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-asxx-defs.h65 uint64_t setting:5; member
67 uint64_t setting:5;
78 uint64_t setting:5; member
80 uint64_t setting:5;
159 uint64_t setting:5; member
161 uint64_t setting:5;
213 uint64_t setting:5; member
215 uint64_t setting:5;
336 uint64_t setting:5; member
338 uint64_t setting:5;
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/leds/backlight/
Darcxcnn_bl.txt14 - arc,led-config-0: setting for register ILED_CONFIG_0
15 - arc,led-config-1: setting for register ILED_CONFIG_1
16 - arc,dim-freq: PWM mode frequence setting (bits [3:0] used)
17 - arc,comp-config: setting for register CONFIG_COMP
18 - arc,filter-config: setting for register FILTER_CONFIG
19 - arc,trim-config: setting for register IMAXTUNE
/linux-6.6.21/drivers/interconnect/imx/
Dimx.c25 const struct imx_icc_noc_setting *setting; member
47 if (node_data->setting && node->peak_bw) { in imx_icc_node_set()
48 base = node_data->setting->reg + node_data->imx_provider->noc_base; in imx_icc_node_set()
49 if (node_data->setting->mode == IMX_NOC_MODE_FIXED) { in imx_icc_node_set()
50 prio = node_data->setting->prio_level; in imx_icc_node_set()
53 writel(node_data->setting->mode, base + IMX_NOC_MODE_REG); in imx_icc_node_set()
54 writel(node_data->setting->ext_control, base + IMX_NOC_EXT_CTL_REG); in imx_icc_node_set()
56 node_data->desc->name, node_data->setting->mode, prio, in imx_icc_node_set()
57 node_data->setting->ext_control); in imx_icc_node_set()
58 } else if (node_data->setting->mode == IMX_NOC_MODE_UNCONFIGURED) { in imx_icc_node_set()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/phy/
Dapm-xgene-phy.txt9 - #phy-cells : Shall be 1 as it expects one argument for setting
19 Two set of 3-tuple setting for each (up to 3)
25 Two set of 3-tuple setting for each (up to 3)
28 gain control. Two set of 3-tuple setting for each
31 - apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for
36 3-tuple setting for each (up to 3) supported link
40 3-tuple setting for each (up to 3) supported link
44 3-tuple setting for Gen1, Gen2, and Gen3. Range is
57 NOTE: PHY override parameters are board specific setting.
/linux-6.6.21/drivers/leds/flash/
Dleds-lm3601x.c326 struct led_flash_setting *setting; in lm3601x_register_leds() local
331 setting = &led->fled_cdev.timeout; in lm3601x_register_leds()
332 setting->min = LM3601X_MIN_TIMEOUT_US; in lm3601x_register_leds()
333 setting->max = led->max_flash_timeout; in lm3601x_register_leds()
334 setting->step = LM3601X_LOWER_STEP_US; in lm3601x_register_leds()
335 setting->val = led->max_flash_timeout; in lm3601x_register_leds()
337 setting = &led->fled_cdev.brightness; in lm3601x_register_leds()
338 setting->min = LM3601X_MIN_STROBE_I_UA; in lm3601x_register_leds()
339 setting->max = led->flash_current_max; in lm3601x_register_leds()
340 setting->step = LM3601X_TORCH_REG_DIV; in lm3601x_register_leds()
[all …]
Dleds-aat1290.c362 struct led_flash_setting *setting; in aat1290_init_flash_timeout() local
365 setting = &fled_cdev->timeout; in aat1290_init_flash_timeout()
366 setting->min = cfg->max_flash_tm / AAT1290_FLASH_TM_NUM_LEVELS; in aat1290_init_flash_timeout()
367 setting->max = cfg->max_flash_tm; in aat1290_init_flash_timeout()
368 setting->step = setting->min; in aat1290_init_flash_timeout()
369 setting->val = setting->max; in aat1290_init_flash_timeout()
/linux-6.6.21/Documentation/devicetree/bindings/iio/light/
Dsharp,gp2ap002.yaml46 Hysteresis setting for "far" object detection, this setting is
47 device-unique and adjust the optical setting for proximity detection
53 Hysteresis setting for "close" object detection, this setting is
54 device-unique and adjust the optical setting for proximity detection
/linux-6.6.21/arch/arm64/boot/dts/renesas/
Dsalvator-xs.dtsi63 * (when SW31 is the default setting on Salvator-XS).
64 * - If SW31 is the default setting, you cannot use USB2.0 ch3 on
66 * Hence the SW31 setting must be changed like 2) below.
67 * 1) Default setting of SW31: ON-ON-OFF-OFF-OFF-OFF:
69 * 2) Changed setting of SW31: OFF-OFF-ON-ON-ON-ON:
/linux-6.6.21/Documentation/devicetree/bindings/input/touchscreen/
Dhycon,hy46xx.yaml50 description: Allows setting the sensitivity in the range from 0 to 255.
57 description: Allows enabling glove setting.
60 description: Allows setting the report speed in Hertz.
69 description: Allows setting how many samples throw before reporting touch
76 description: Allows setting the sensitivity distance in the range from 0 to 5.
82 description: Allows setting the edge compensation in the range from 0 to 16.
/linux-6.6.21/Documentation/riscv/
Dvector.rst34 enablement status on execve(). The system-wide default setting can be
49 enablement status of current thread, and the setting at bit[3:2] takes place
50 at next execve(). bit[4] defines the inheritance mode of the setting in
62 Vector enablement setting for the calling thread at the next execve()
68 mode for the setting at PR_RISCV_V_VSTATE_CTRL_NEXT_MASK. If the bit
69 is set then the following execve() will not clear the setting in both
71 This setting persists across changes in the system-wide default value.
81 * A valid setting for PR_RISCV_V_VSTATE_CTRL_CUR_MASK takes place
86 * Every successful call overwrites a previous setting for the calling
125 setting in PR_RISCV_V_VSTATE_CTRL_NEXT_MASK is not
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/leds/
Drichtek,rt8515.yaml36 defines the range of the dimmer setting (brightness) of the
45 defines the range of the dimmer setting (brightness) of the
60 ground. The maximum hardware current setting is calculated
63 maximum current of 700mA. By setting this attribute in
72 ground. The maximum hardware current setting is calculated
75 maximum current of 700mA. By setting this attribute in
/linux-6.6.21/Documentation/userspace-api/media/dvb/
Dfe-set-voltage.rst13 FE_SET_VOLTAGE - Allow setting the DC level sent to the antenna subsystem.
46 setting a voltage level may interfere on other devices, as they may lose
47 the capability of setting polarization or IF. So, on those cases, setting
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.h28 int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);
30 bool setting);
31 int ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting);
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h24 #define ITR_TO_REG(setting) ((setting) & ~IAVF_ITR_DYNAMIC) argument
25 #define ITR_REG_ALIGN(setting) __ALIGN_MASK(setting, ~IAVF_ITR_MASK) argument
26 #define ITR_IS_DYNAMIC(setting) (!!((setting) & IAVF_ITR_DYNAMIC)) argument
/linux-6.6.21/Documentation/devicetree/bindings/display/bridge/
Danalogix,anx7625.yaml50 an array of swing register setting for DP tx lane0 PHY.
54 [Swing control] setting.
59 swing manual, increase [Swing control] setting to add Vp-p value
64 [R Termination control] setting.
77 an array of swing register setting for DP tx lane1 PHY.
78 DP TX lane1 swing register setting same with lane0
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-driver-hid-lenovo14 Description: If this setting is enabled, it is possible to do dragging by pressing the trackpoint. …
23 Description: For details regarding this setting please refer to http://www.pc.ibm.com/ww/healthycom…
30 Description: This setting controls if the mouse click events generated by pressing the trackpoint (…
47 Description: This setting controls how fast the trackpoint needs to be pressed to generate a mouse …
56 Description: This setting controls whether Fn Lock is enabled on the keyboard (i.e. if F1 is Mute o…
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h24 #define ITR_TO_REG(setting) ((setting) & ~I40E_ITR_DYNAMIC) argument
25 #define ITR_REG_ALIGN(setting) __ALIGN_MASK(setting, ~I40E_ITR_MASK) argument
26 #define ITR_IS_DYNAMIC(setting) (!!((setting) & I40E_ITR_DYNAMIC)) argument

12345678910>>...41