Home
last modified time | relevance | path

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

12345678910>>...36

/kernel/linux/linux-5.10/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_round_rate() local
97 if (!setting) in meson_clk_dualdiv_round_rate()
100 return __dualdiv_param_to_rate(*parent_rate, setting); in meson_clk_dualdiv_round_rate()
[all …]
/kernel/linux/linux-5.10/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.h30 struct pinctrl_setting *setting);
31 void pinmux_free_setting(const struct pinctrl_setting *setting);
32 int pinmux_enable_setting(const struct pinctrl_setting *setting);
33 void pinmux_disable_setting(const struct pinctrl_setting *setting);
74 struct pinctrl_setting *setting) in pinmux_map_to_setting() argument
79 static inline void pinmux_free_setting(const struct pinctrl_setting *setting) in pinmux_free_setting() argument
83 static inline int pinmux_enable_setting(const struct pinctrl_setting *setting) in pinmux_enable_setting() argument
88 static inline void pinmux_disable_setting(const struct pinctrl_setting *setting) in pinmux_disable_setting() argument
98 const struct pinctrl_setting *setting);
110 const struct pinctrl_setting *setting) in pinmux_show_setting() argument
Dpinconf.h18 struct pinctrl_setting *setting);
19 void pinconf_free_setting(const struct pinctrl_setting *setting);
20 int pinconf_apply_setting(const struct pinctrl_setting *setting);
47 struct pinctrl_setting *setting) in pinconf_map_to_setting() argument
52 static inline void pinconf_free_setting(const struct pinctrl_setting *setting) in pinconf_free_setting() argument
56 static inline int pinconf_apply_setting(const struct pinctrl_setting *setting) in pinconf_apply_setting() argument
73 const struct pinctrl_setting *setting);
85 const struct pinctrl_setting *setting) in pinconf_show_setting() argument
Dpinmux.c340 struct pinctrl_setting *setting) in pinmux_map_to_setting() argument
342 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_map_to_setting()
360 setting->data.mux.func = ret; in pinmux_map_to_setting()
362 ret = pmxops->get_function_groups(pctldev, setting->data.mux.func, in pinmux_map_to_setting()
394 setting->data.mux.group = ret; in pinmux_map_to_setting()
399 void pinmux_free_setting(const struct pinctrl_setting *setting) in pinmux_free_setting() argument
404 int pinmux_enable_setting(const struct pinctrl_setting *setting) in pinmux_enable_setting() argument
406 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_enable_setting()
416 ret = pctlops->get_group_pins(pctldev, setting->data.mux.group, in pinmux_enable_setting()
424 setting->data.mux.group); in pinmux_enable_setting()
[all …]
Dcore.c947 struct pinctrl_setting *setting; in add_setting() local
959 setting = kzalloc(sizeof(*setting), GFP_KERNEL); in add_setting()
960 if (!setting) in add_setting()
963 setting->type = map->type; in add_setting()
966 setting->pctldev = pctldev; in add_setting()
968 setting->pctldev = in add_setting()
970 if (!setting->pctldev) { in add_setting()
971 kfree(setting); in add_setting()
984 setting->dev_name = map->dev_name; in add_setting()
988 ret = pinmux_map_to_setting(map, setting); in add_setting()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-proc.c142 const struct ide_proc_devset *setting) in ide_read_setting() argument
144 const struct ide_devset *ds = setting->setting; in ide_read_setting()
172 const struct ide_proc_devset *setting, int val) in ide_write_setting() argument
174 const struct ide_devset *ds = setting->setting; in ide_write_setting()
181 && (val < setting->min || val > setting->max)) in ide_write_setting()
232 const struct ide_proc_devset *setting, *g, *d; in ide_settings_proc_show() local
248 setting = d++; in ide_settings_proc_show()
250 setting = g++; in ide_settings_proc_show()
252 setting = d++; in ide_settings_proc_show()
254 setting = g++; in ide_settings_proc_show()
[all …]
Dide-devsets.c159 int ide_devset_execute(ide_drive_t *drive, const struct ide_devset *setting, in ide_devset_execute() argument
166 if (!(setting->flags & DS_SYNC)) in ide_devset_execute()
167 return setting->set(drive, arg); in ide_devset_execute()
174 ide_req(rq)->special = setting->set; in ide_devset_execute()
/kernel/linux/linux-5.10/drivers/memory/
Dda8xx-ddrctl.c71 da8xx_ddrctl_match_knob(const struct da8xx_ddrctl_setting *setting) in da8xx_ddrctl_match_knob() argument
79 if (strcmp(knob->name, setting->name) == 0) in da8xx_ddrctl_match_knob()
104 const struct da8xx_ddrctl_setting *setting; in da8xx_ddrctl_probe() local
112 setting = da8xx_ddrctl_get_board_settings(); in da8xx_ddrctl_probe()
113 if (!setting) { in da8xx_ddrctl_probe()
125 for (; setting->name; setting++) { in da8xx_ddrctl_probe()
126 knob = da8xx_ddrctl_match_knob(setting); in da8xx_ddrctl_probe()
129 "no such config option: %s\n", setting->name); in da8xx_ddrctl_probe()
142 reg |= setting->val << knob->shift; in da8xx_ddrctl_probe()
144 dev_dbg(dev, "writing 0x%08x to %s\n", reg, setting->name); in da8xx_ddrctl_probe()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-5.10/drivers/mfd/
Dab3100-core.c614 u8 setting; member
620 .setting = 0x01
623 .setting = 0x30
626 .setting = 0x00
629 .setting = 0xFF
632 .setting = 0x01
635 .setting = 0xBF
638 .setting = 0xFF
641 .setting = 0xFF
644 .setting = 0x00
[all …]
/kernel/linux/linux-5.10/drivers/leds/
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()
Dleds-ktd2692.c237 struct led_flash_setting *setting; in ktd2692_init_flash_timeout() local
239 setting = &fled_cdev->timeout; in ktd2692_init_flash_timeout()
240 setting->min = KTD2692_FLASH_MODE_TIMEOUT_DISABLE; in ktd2692_init_flash_timeout()
241 setting->max = cfg->flash_max_timeout; in ktd2692_init_flash_timeout()
242 setting->step = cfg->flash_max_timeout in ktd2692_init_flash_timeout()
244 setting->val = cfg->flash_max_timeout; in ktd2692_init_flash_timeout()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_txrx.h227 #define ITR_IS_DYNAMIC(setting) (!!((setting) & ICE_ITR_DYNAMIC)) argument
228 #define ITR_TO_REG(setting) ((setting) & ~ICE_ITR_DYNAMIC) argument
232 #define ITR_REG_ALIGN(setting) ((setting) & ICE_ITR_MASK) argument
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Ddavinci-vpbe.rst28 for setting up the interface between VENC and external encoders based on
33 patch series, the interconnection and enabling and setting of the external
38 Responsible for setting outputs provided through internal DACs and also
39 setting timings at LCD controller port when external encoders are connected
46 PD display, it requires setting up the LCD controller port with a set of
47 timings for the resolution supported and setting the dot clock. So we could
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/arm64/boot/dts/renesas/
Dr8a77951-salvator-xs.dts137 * (when SW31 is the default setting on Salvator-XS).
138 * - If SW31 is the default setting, you cannot use USB2.0 ch3 on
140 * Hence the SW31 setting must be changed like 2) below.
141 * 1) Default setting of SW31: ON-ON-OFF-OFF-OFF-OFF:
143 * 2) Changed setting of SW31: OFF-OFF-ON-ON-ON-ON:
/kernel/linux/linux-5.10/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…
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h25 #define ITR_TO_REG(setting) ((setting) & ~IAVF_ITR_DYNAMIC) argument
26 #define ITR_REG_ALIGN(setting) __ALIGN_MASK(setting, ~IAVF_ITR_MASK) argument
27 #define ITR_IS_DYNAMIC(setting) (!!((setting) & IAVF_ITR_DYNAMIC)) argument
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c290 struct mvebu_mpp_ctrl_setting *setting; in mvebu_pinmux_set() local
294 setting = mvebu_pinctrl_find_setting_by_name(pctl, grp, in mvebu_pinmux_set()
296 if (!setting) { in mvebu_pinmux_set()
303 config = setting->val; in mvebu_pinmux_set()
319 struct mvebu_mpp_ctrl_setting *setting; in mvebu_pinmux_gpio_request_enable() local
329 setting = mvebu_pinctrl_find_gpio_setting(pctl, grp); in mvebu_pinmux_gpio_request_enable()
330 if (!setting) in mvebu_pinmux_gpio_request_enable()
333 config = setting->val; in mvebu_pinmux_gpio_request_enable()
343 struct mvebu_mpp_ctrl_setting *setting; in mvebu_pinmux_gpio_set_direction() local
352 setting = mvebu_pinctrl_find_gpio_setting(pctl, grp); in mvebu_pinmux_gpio_set_direction()
[all …]

12345678910>>...36