/linux/drivers/platform/x86/ |
A D | think-lmi.c | 331 if (pwdlen && ((pwdlen < setting->minlen) || (pwdlen > setting->maxlen))) in current_password_store() 334 strscpy(setting->password, buf, setting->maxlen); in current_password_store() 368 if (pwdlen && ((pwdlen < setting->minlen) || (pwdlen > setting->maxlen))) { in new_password_store() 375 setting->pwd_type, setting->password, new_pwd, in new_password_store() 376 encoding_options[setting->encoding], setting->kbdlang); in new_password_store() 647 kfree(setting); in tlmi_attr_setting_release() 654 kfree(setting); in tlmi_pwd_setting_release() 904 setting = kzalloc(sizeof(*setting), GFP_KERNEL); in tlmi_analyze() 905 if (!setting) { in tlmi_analyze() 910 setting->index = i; in tlmi_analyze() [all …]
|
/linux/drivers/pinctrl/ |
A D | pinconf.c | 108 struct pinctrl_setting *setting) in pinconf_map_to_setting() argument 113 switch (setting->type) { in pinconf_map_to_setting() 159 switch (setting->type) { in pinconf_apply_setting() 166 setting->data.configs.group_or_pin, in pinconf_apply_setting() 167 setting->data.configs.configs, in pinconf_apply_setting() 168 setting->data.configs.num_configs); in pinconf_apply_setting() 183 setting->data.configs.group_or_pin, in pinconf_apply_setting() 184 setting->data.configs.configs, in pinconf_apply_setting() 185 setting->data.configs.num_configs); in pinconf_apply_setting() 266 switch (setting->type) { in pinconf_show_setting() [all …]
|
A D | pinmux.h | 30 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
|
A D | pinconf.h | 18 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
|
A D | pinmux.c | 341 struct pinctrl_setting *setting) in pinmux_map_to_setting() argument 361 setting->data.mux.func = ret; in pinmux_map_to_setting() 395 setting->data.mux.group = ret; in pinmux_map_to_setting() 425 setting->data.mux.group); in pinmux_enable_setting() 442 setting->data.mux.group); in pinmux_enable_setting() 465 setting->data.mux.group); in pinmux_enable_setting() 504 setting->data.mux.group); in pinmux_disable_setting() 526 setting->data.mux.group); in pinmux_disable_setting() 661 const struct pinctrl_setting *setting) in pinmux_show_setting() argument 669 setting->data.mux.group, in pinmux_show_setting() [all …]
|
A D | core.c | 959 setting = kzalloc(sizeof(*setting), GFP_KERNEL); in add_setting() 960 if (!setting) in add_setting() 963 setting->type = map->type; in add_setting() 968 setting->pctldev = in add_setting() 970 if (!setting->pctldev) { in add_setting() 971 kfree(setting); in add_setting() 999 kfree(setting); in add_setting() 1140 switch (setting->type) { in pinctrl_free_setting() 1165 kfree(setting); in pinctrl_free() 1263 switch (setting->type) { in pinctrl_commit_state() [all …]
|
/linux/drivers/clk/meson/ |
A D | clk-dualdiv.c | 52 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() 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() 108 const struct meson_clk_dualdiv_param *setting = in meson_clk_dualdiv_set_rate() local [all …]
|
/linux/drivers/memory/ |
A D | da8xx-ddrctl.c | 71 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()
|
/linux/arch/mips/include/asm/octeon/ |
A D | cvmx-asxx-defs.h | 65 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/Documentation/devicetree/bindings/leds/backlight/ |
A D | arcxcnn_bl.txt | 14 - 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/ |
A D | apm-xgene-phy.txt | 9 - #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/ |
A D | leds-lm3601x.c | 326 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 …]
|
A D | leds-aat1290.c | 362 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()
|
A D | leds-ktd2692.c | 237 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()
|
/linux/Documentation/devicetree/bindings/iio/light/ |
A D | sharp,gp2ap002.yaml | 46 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/arch/arm64/boot/dts/renesas/ |
A D | salvator-xs.dtsi | 63 * (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/Documentation/devicetree/bindings/input/touchscreen/ |
A D | hycon,hy46xx.yaml | 50 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/Documentation/devicetree/bindings/leds/ |
A D | richtek,rt8515.yaml | 36 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/Documentation/admin-guide/media/ |
A D | davinci-vpbe.rst | 28 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
|
/linux/Documentation/userspace-api/media/dvb/ |
A D | fe-set-voltage.rst | 13 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/ |
A D | ixgbe_sriov.h | 28 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/ |
A D | pinctrl-mvebu.c | 290 struct mvebu_mpp_ctrl_setting *setting; in mvebu_pinmux_set() local 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() 353 if (!setting) in mvebu_pinmux_gpio_set_direction() [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_txrx.h | 24 #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
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_txrx.h | 25 #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
|
/linux/net/bluetooth/ |
A D | sco.c | 70 __u16 setting; member 251 if (sco_pi(sk)->setting == BT_VOICE_TRANSPARENT && in sco_connect() 498 sco_pi(sk)->setting = BT_VOICE_CVSD_16BIT; in sco_sock_alloc() 777 cp.content_format = cpu_to_le16(setting); in sco_conn_defer_accept() 779 switch (setting & SCO_AIRMODE_MASK) { in sco_conn_defer_accept() 866 voice.setting = sco_pi(sk)->setting; in sco_sock_setsockopt() 875 if (voice.setting != BT_VOICE_TRANSPARENT && in sco_sock_setsockopt() 876 voice.setting != BT_VOICE_CVSD_16BIT) { in sco_sock_setsockopt() 881 sco_pi(sk)->setting = voice.setting; in sco_sock_setsockopt() 889 voice.setting == BT_VOICE_TRANSPARENT) in sco_sock_setsockopt() [all …]
|