Home
last modified time | relevance | path

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

12345678910>>...33

/linux/drivers/pinctrl/
H A Dpinconf.c110 struct pinctrl_setting *setting) in pinconf_map_to_setting() argument
112 struct pinctrl_dev *pctldev = setting->pctldev; in pinconf_map_to_setting()
115 switch (setting->type) { in pinconf_map_to_setting()
124 setting->data.configs.group_or_pin = pin; in pinconf_map_to_setting()
134 setting->data.configs.group_or_pin = pin; in pinconf_map_to_setting()
140 setting->data.configs.num_configs = map->data.configs.num_configs; in pinconf_map_to_setting()
141 setting->data.configs.configs = map->data.configs.configs; in pinconf_map_to_setting()
146 void pinconf_free_setting(const struct pinctrl_setting *setting) in pinconf_free_setting() argument
150 int pinconf_apply_setting(const struct pinctrl_setting *setting) in pinconf_apply_setting() argument
152 struct pinctrl_dev *pctldev = setting->pctldev; in pinconf_apply_setting()
[all …]
H A 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
H A 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
H A Dpinmux.c352 struct pinctrl_setting *setting) in pinmux_map_to_setting() argument
354 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_map_to_setting()
372 setting->data.mux.func = ret; in pinmux_map_to_setting()
374 ret = pmxops->get_function_groups(pctldev, setting->data.mux.func, in pinmux_map_to_setting()
406 setting->data.mux.group = ret; in pinmux_map_to_setting()
411 void pinmux_free_setting(const struct pinctrl_setting *setting) in pinmux_free_setting() argument
416 int pinmux_enable_setting(const struct pinctrl_setting *setting) in pinmux_enable_setting() argument
418 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_enable_setting()
428 ret = pctlops->get_group_pins(pctldev, setting->data.mux.group, in pinmux_enable_setting()
436 setting->data.mux.group); in pinmux_enable_setting()
[all …]
H A Dcore.c973 struct pinctrl_setting *setting; in add_setting() local
985 setting = kzalloc(sizeof(*setting), GFP_KERNEL); in add_setting()
986 if (!setting) in add_setting()
989 setting->type = map->type; in add_setting()
992 setting->pctldev = pctldev; in add_setting()
994 setting->pctldev = in add_setting()
996 if (!setting->pctldev) { in add_setting()
997 kfree(setting); in add_setting()
1010 setting->dev_name = map->dev_name; in add_setting()
1014 ret = pinmux_map_to_setting(map, setting); in add_setting()
[all …]
/linux/drivers/clk/meson/
H A 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/drivers/memory/
H A 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/arch/mips/include/asm/octeon/
H A 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/drivers/interconnect/imx/
H A 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/Documentation/devicetree/bindings/leds/backlight/
H A 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/Documentation/devicetree/bindings/phy/
H A 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/drivers/leds/flash/
H A Dleds-lm3601x.c325 struct led_flash_setting *setting; in lm3601x_register_leds() local
330 setting = &led->fled_cdev.timeout; in lm3601x_register_leds()
331 setting->min = LM3601X_MIN_TIMEOUT_US; in lm3601x_register_leds()
332 setting->max = led->max_flash_timeout; in lm3601x_register_leds()
333 setting->step = LM3601X_LOWER_STEP_US; in lm3601x_register_leds()
334 setting->val = led->max_flash_timeout; in lm3601x_register_leds()
336 setting = &led->fled_cdev.brightness; in lm3601x_register_leds()
337 setting->min = LM3601X_MIN_STROBE_I_UA; in lm3601x_register_leds()
338 setting->max = led->flash_current_max; in lm3601x_register_leds()
339 setting->step = LM3601X_TORCH_REG_DIV; in lm3601x_register_leds()
[all …]
H A Dleds-ktd2692.c175 struct led_flash_setting *setting; in ktd2692_init_flash_timeout() local
177 setting = &fled_cdev->timeout; in ktd2692_init_flash_timeout()
178 setting->min = KTD2692_FLASH_MODE_TIMEOUT_DISABLE; in ktd2692_init_flash_timeout()
179 setting->max = cfg->flash_max_timeout; in ktd2692_init_flash_timeout()
180 setting->step = cfg->flash_max_timeout in ktd2692_init_flash_timeout()
182 setting->val = cfg->flash_max_timeout; in ktd2692_init_flash_timeout()
H A Dleds-aat1290.c358 struct led_flash_setting *setting; in aat1290_init_flash_timeout() local
361 setting = &fled_cdev->timeout; in aat1290_init_flash_timeout()
362 setting->min = cfg->max_flash_tm / AAT1290_FLASH_TM_NUM_LEVELS; in aat1290_init_flash_timeout()
363 setting->max = cfg->max_flash_tm; in aat1290_init_flash_timeout()
364 setting->step = setting->min; in aat1290_init_flash_timeout()
365 setting->val = setting->max; in aat1290_init_flash_timeout()
H A Dleds-max77693.c793 struct led_flash_setting *setting; in max77693_init_flash_settings() local
796 setting = &fled_cdev->brightness; in max77693_init_flash_settings()
797 setting->min = FLASH_IOUT_MIN; in max77693_init_flash_settings()
798 setting->max = led->iout_joint ? in max77693_init_flash_settings()
802 setting->step = FLASH_IOUT_STEP; in max77693_init_flash_settings()
803 setting->val = setting->max; in max77693_init_flash_settings()
806 setting = &fled_cdev->timeout; in max77693_init_flash_settings()
807 setting->min = FLASH_TIMEOUT_MIN; in max77693_init_flash_settings()
808 setting->max = led_cfg->flash_timeout_max[fled_id]; in max77693_init_flash_settings()
809 setting->step = FLASH_TIMEOUT_STEP; in max77693_init_flash_settings()
[all …]
/linux/Documentation/arch/riscv/
H A 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/Documentation/userspace-api/media/dvb/
H A 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/drivers/net/ethernet/intel/ixgbe/
H A 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/drivers/pinctrl/mvebu/
H A Dpinctrl-mvebu.c300 struct mvebu_mpp_ctrl_setting *setting; in mvebu_pinmux_set() local
304 setting = mvebu_pinctrl_find_setting_by_name(pctl, grp, in mvebu_pinmux_set()
306 if (!setting) { in mvebu_pinmux_set()
313 config = setting->val; in mvebu_pinmux_set()
329 struct mvebu_mpp_ctrl_setting *setting; in mvebu_pinmux_gpio_request_enable() local
339 setting = mvebu_pinctrl_find_gpio_setting(pctl, grp); in mvebu_pinmux_gpio_request_enable()
340 if (!setting) in mvebu_pinmux_gpio_request_enable()
343 config = setting->val; in mvebu_pinmux_gpio_request_enable()
353 struct mvebu_mpp_ctrl_setting *setting; in mvebu_pinmux_gpio_set_direction() local
362 setting = mvebu_pinctrl_find_gpio_setting(pctl, grp); in mvebu_pinmux_gpio_set_direction()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h25 #define ITR_TO_REG(setting) ((setting) & ~I40E_ITR_DYNAMIC) argument
26 #define ITR_REG_ALIGN(setting) __ALIGN_MASK(setting, ~I40E_ITR_MASK) argument
27 #define ITR_IS_DYNAMIC(setting) (!!((setting) & I40E_ITR_DYNAMIC)) argument
/linux/Documentation/ABI/testing/
H A 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/Documentation/input/devices/
H A Dedt-ft5x06.rst18 allows setting the "click"-threshold in the range from 0 to 80.
21 allows setting the sensitivity in the range from 0 to 31. Note that
25 allows setting the edge compensation in the range from 0 to 31.
28 allows setting the report rate in the range from 3 to 14.
/linux/Documentation/hwmon/
H A Dina3221.rst35 curr[123]_crit Critical alert current(mA) setting, activates the
39 curr[123]_max Warning alert current(mA) setting, activates the
49 curr4_crit Critical alert current(mA) setting for sum of current
72 Note that setting update_interval to 0ms sets both BC
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c241 u8 setting) in _mlx5_eswitch_set_vepa_locked() argument
250 if (!setting) { in _mlx5_eswitch_set_vepa_locked()
310 int mlx5_eswitch_set_vepa(struct mlx5_eswitch *esw, u8 setting) in mlx5_eswitch_set_vepa() argument
326 err = _mlx5_eswitch_set_vepa_locked(esw, setting); in mlx5_eswitch_set_vepa()
333 int mlx5_eswitch_get_vepa(struct mlx5_eswitch *esw, u8 *setting) in mlx5_eswitch_get_vepa() argument
344 *setting = esw->fdb_table.legacy.vepa_uplink_rule ? 1 : 0; in mlx5_eswitch_get_vepa()
487 u16 vport, bool setting) in mlx5_eswitch_set_vport_trust() argument
502 evport->info.trusted = setting; in mlx5_eswitch_set_vport_trust()
/linux/Documentation/virt/kvm/devices/
H A Darm-vgic.rst58 GICv2 specs. Getting or setting such a register has the same effect as
68 Userspace should set GICD_IIDR before setting any other registers (both
76 -ENXIO Getting or setting this register is not yet supported
92 defined in the GICv2 specs. Getting or setting such a register has the
101 state by setting the corresponding bit.
123 -ENXIO Getting or setting this register is not yet supported

12345678910>>...33