/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | tailcall5.c | 13 int selector = 0; variable 30 if (selector == 1234) in entry() 32 else if (selector == 5678) in entry()
|
/openbmc/linux/drivers/regulator/ |
H A D | wm8994-regulator.c | 42 unsigned int selector) in wm8994_ldo2_list_voltage() argument 46 if (selector > WM8994_LDO2_MAX_SELECTOR) in wm8994_ldo2_list_voltage() 51 return (selector * 100000) + 900000; in wm8994_ldo2_list_voltage() 53 return (selector * 100000) + 1000000; in wm8994_ldo2_list_voltage() 55 switch (selector) { in wm8994_ldo2_list_voltage() 59 return (selector * 100000) + 950000; in wm8994_ldo2_list_voltage()
|
H A D | max77857-regulator.c | 223 u32 selector; in max77859_set_current_limit() local 228 selector = 0x12 + (max_uA - MAX77859_CURRENT_MIN) / MAX77859_CURRENT_STEP; in max77859_set_current_limit() 230 selector = clamp_val(selector, 0x00, 0x7F); in max77859_set_current_limit() 232 return regmap_write(rdev->regmap, MAX77859_REG_CONT5, selector); in max77859_set_current_limit() 237 u32 selector; in max77859_get_current_limit() local 240 ret = regmap_read(rdev->regmap, MAX77859_REG_CONT5, &selector); in max77859_get_current_limit() 244 if (selector <= 0x12) in max77859_get_current_limit() 247 if (selector >= 0x64) in max77859_get_current_limit() 250 return MAX77859_CURRENT_MIN + (selector - 0x12) * MAX77859_CURRENT_STEP; in max77859_get_current_limit()
|
H A D | vctrl-regulator.c | 96 unsigned int *selector) in vctrl_set_voltage() argument 160 unsigned int selector) in vctrl_set_voltage_sel() argument 169 if (selector >= rdev->desc->n_voltages) in vctrl_set_voltage_sel() 172 if (selector >= vctrl->sel || !vctrl->ovp_threshold) { in vctrl_set_voltage_sel() 175 vctrl->vtable[selector].ctrl, in vctrl_set_voltage_sel() 176 vctrl->vtable[selector].ctrl, in vctrl_set_voltage_sel() 179 vctrl->sel = selector; in vctrl_set_voltage_sel() 184 while (vctrl->sel != selector) { in vctrl_set_voltage_sel() 227 unsigned int selector) in vctrl_list_voltage() argument 231 if (selector >= rdev->desc->n_voltages) in vctrl_list_voltage() [all …]
|
H A D | qcom_spmi-regulator.c | 714 selector = 0; in spmi_regulator_select_voltage() 719 return selector; in spmi_regulator_select_voltage() 808 int i, selector; in spmi_regulator_select_voltage_same_range() local 837 selector = 0; in spmi_regulator_select_voltage_same_range() 841 selector += in spmi_regulator_select_voltage_same_range() 853 return selector; in spmi_regulator_select_voltage_same_range() 959 u8 sel = selector; in spmi_regulator_single_range_set_voltage() 971 u8 selector; in spmi_regulator_single_range_get_voltage() local 978 return selector; in spmi_regulator_single_range_get_voltage() 982 unsigned selector) in spmi_regulator_ult_lo_smps_set_voltage() argument [all …]
|
/openbmc/linux/include/linux/pinctrl/ |
H A D | pinconf.h | 50 unsigned selector, 53 unsigned selector, 61 unsigned selector);
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_dcb.c | 51 switch (app->selector) { in sparx5_dcb_app_validate() 122 static bool sparx5_dcb_apptrust_contains(int portno, u8 selector) in sparx5_dcb_apptrust_contains() argument 128 if (conf->selectors[i] == selector) in sparx5_dcb_apptrust_contains() 159 app_itr.selector = IEEE_8021QAZ_APP_SEL_DSCP; in sparx5_dcb_app_update() 166 app_itr.selector = DCB_APP_SEL_PCP; in sparx5_dcb_app_update() 256 if (app->selector == IEEE_8021QAZ_APP_SEL_DSCP) in sparx5_dcb_ieee_delapp() 285 if (app->selector == IEEE_8021QAZ_APP_SEL_DSCP) in sparx5_dcb_ieee_setapp() 332 if (app->selector == IEEE_8021QAZ_APP_SEL_DSCP) in sparx5_dcb_delrewr() 361 if (app->selector == IEEE_8021QAZ_APP_SEL_DSCP) in sparx5_dcb_setrewr()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-digicolor.c | 58 unsigned selector) in dc_get_group_name() argument 63 return pmap->desc->pins[selector].name; in dc_get_group_name() 66 static int dc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in dc_get_group_pins() argument 72 *pins = &pmap->desc->pins[selector].number; in dc_get_group_pins() 98 static const char *dc_get_fname(struct pinctrl_dev *pctldev, unsigned selector) in dc_get_fname() argument 100 return dc_functions[selector]; in dc_get_fname() 103 static int dc_get_groups(struct pinctrl_dev *pctldev, unsigned selector, in dc_get_groups() argument 126 static int dc_set_mux(struct pinctrl_dev *pctldev, unsigned selector, in dc_set_mux() argument 137 reg |= (selector << bit_off); in dc_set_mux()
|
H A D | pinmux.h | 152 unsigned int selector); 155 unsigned int selector, 160 unsigned int selector); 169 unsigned int selector);
|
H A D | pinctrl-zynqmp.c | 103 unsigned int selector) in zynqmp_pctrl_get_group_name() argument 107 return pctrl->groups[selector].name; in zynqmp_pctrl_get_group_name() 111 unsigned int selector, in zynqmp_pctrl_get_group_pins() argument 117 *pins = pctrl->groups[selector].pins; in zynqmp_pctrl_get_group_pins() 118 *npins = pctrl->groups[selector].npins; in zynqmp_pctrl_get_group_pins() 153 unsigned int selector) in zynqmp_pmux_get_function_name() argument 157 return pctrl->funcs[selector].name; in zynqmp_pmux_get_function_name() 172 unsigned int selector, in zynqmp_pmux_get_function_groups() argument 178 *groups = pctrl->funcs[selector].groups; in zynqmp_pmux_get_function_groups() 179 *num_groups = pctrl->funcs[selector].ngroups; in zynqmp_pmux_get_function_groups() [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | driver.h | 162 int (*list_voltage) (struct regulator_dev *, unsigned selector); 166 unsigned *selector); 168 int (*set_voltage_sel) (struct regulator_dev *, unsigned selector); 726 unsigned int selector); 728 unsigned int selector); 730 unsigned int selector); 732 unsigned int selector); 775 unsigned int selector); 778 unsigned int selector);
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 307 unsigned int selector) in rzn1_get_group_name() argument 311 return ipctl->groups[selector].name; in rzn1_get_group_name() 320 if (selector >= ipctl->ngroups) in rzn1_get_group_pins() 323 *pins = ipctl->groups[selector].pins; in rzn1_get_group_pins() 324 *npins = ipctl->groups[selector].npins; in rzn1_get_group_pins() 444 unsigned int selector) in rzn1_pmx_get_func_name() argument 448 return ipctl->functions[selector].name; in rzn1_pmx_get_func_name() 452 unsigned int selector, in rzn1_pmx_get_groups() argument 472 ipctl->functions[selector].name, selector, grp->name, group); in rzn1_set_mux() 624 unsigned int selector, in rzn1_pinconf_group_get() argument [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | da9062_wdt.c | 87 unsigned int selector; in da9062_wdt_start() local 90 selector = da9062_wdt_timeout_to_sel(wdt->wdtdev.timeout); in da9062_wdt_start() 91 ret = da9062_wdt_update_timeout_register(wdt, selector); in da9062_wdt_start() 139 unsigned int selector; in da9062_wdt_set_timeout() local 142 selector = da9062_wdt_timeout_to_sel(timeout); in da9062_wdt_set_timeout() 143 ret = da9062_wdt_update_timeout_register(wdt, selector); in da9062_wdt_set_timeout() 148 wdd->timeout = wdt_timeout[selector]; in da9062_wdt_set_timeout()
|
/openbmc/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm6328.c | 296 unsigned selector) in bcm6328_pinctrl_get_func_name() argument 298 return bcm6328_funcs[selector].name; in bcm6328_pinctrl_get_func_name() 302 unsigned selector, in bcm6328_pinctrl_get_groups() argument 306 *groups = bcm6328_funcs[selector].groups; in bcm6328_pinctrl_get_groups() 307 *num_groups = bcm6328_funcs[selector].num_groups; in bcm6328_pinctrl_get_groups() 325 unsigned selector, unsigned group) in bcm6328_pinctrl_set_mux() argument 329 const struct bcm6328_function *f = &bcm6328_funcs[selector]; in bcm6328_pinctrl_set_mux()
|
/openbmc/qemu/dump/ |
H A D | win_dump.c | 310 .SegEs = env->segs[0].selector, in patch_and_save_context() 311 .SegCs = env->segs[1].selector, in patch_and_save_context() 312 .SegSs = env->segs[2].selector, in patch_and_save_context() 313 .SegDs = env->segs[3].selector, in patch_and_save_context() 314 .SegFs = env->segs[4].selector, in patch_and_save_context() 315 .SegGs = env->segs[5].selector, in patch_and_save_context() 351 .SegEs = env->segs[0].selector, in patch_and_save_context() 352 .SegCs = env->segs[1].selector, in patch_and_save_context() 353 .SegSs = env->segs[2].selector, in patch_and_save_context() 354 .SegDs = env->segs[3].selector, in patch_and_save_context() [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | acpi_cpu_hotplug.rst | 51 On QEMU start, 'CPU selector' is initialized to a valid value, on reset it 100 contains 'CPU selector' value of a CPU with pending event[s] 111 CPU selector: (DWORD access) 153 selected CPU ('CPU selector' value). 154 If no CPU with events found, the current 'CPU selector' doesn't 201 #. Store 0x0 to the 'CPU selector' register, to ensure valid selector value 210 #. Store 0x0 to the 'CPU selector' register. 223 #. Store 0x0 to the 'CPU selector' register, to ensure that it's in 226 register return 'CPU selector' value of selected CPU 230 #. Store the iterator to the 'CPU selector' register. [all …]
|
H A D | fw_cfg.rst | 25 Setting the selector register will cause the data offset to be set 29 Bit14 of the selector register indicates whether the configuration 34 the selector value is between 0x4000-0x7fff or 0xc000-0xffff. 43 governed independently of Bit14 in the selector key value. 45 Bit15 of the selector register indicates whether the configuration 49 items are accessed with a selector value between 0x0000-0x7fff, and 50 architecture specific configuration items are accessed with a selector 69 the selector register, as described above. 71 Initially following a write to the selector register, the data offset 135 Firmware configuration items stored at selector keys 0x0020 or higher [all …]
|
/openbmc/qemu/target/i386/ |
H A D | arch_dump.c | 74 regs.cs = env->segs[R_CS].selector; in x86_64_write_elf64_note() 75 regs.ss = env->segs[R_SS].selector; in x86_64_write_elf64_note() 78 regs.ds = env->segs[R_DS].selector; in x86_64_write_elf64_note() 79 regs.es = env->segs[R_ES].selector; in x86_64_write_elf64_note() 80 regs.fs = env->segs[R_FS].selector; in x86_64_write_elf64_note() 81 regs.gs = env->segs[R_GS].selector; in x86_64_write_elf64_note() 140 prstatus->regs.cs = env->segs[R_CS].selector; in x86_fill_elf_prstatus() 141 prstatus->regs.ss = env->segs[R_SS].selector; in x86_fill_elf_prstatus() 142 prstatus->regs.ds = env->segs[R_DS].selector; in x86_fill_elf_prstatus() 243 uint32_t selector; member [all …]
|
/openbmc/linux/include/linux/ |
H A D | syscall_user_dispatch.h | 13 char __user *selector; member 20 unsigned long len, char __user *selector); 35 unsigned long len, char __user *selector) in set_syscall_user_dispatch() argument
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/ |
H A D | test_all_builds_page.py | 74 selector = 'div[data-latest-build-result="%s"] ' \ 78 self.wait_until_visible(selector) 80 build_time_spans = self.find_all(selector) 95 selector = 'td.target a[href="%s"]' % url 100 outcome_links = row.find_elements(By.CSS_SELECTOR, selector) 203 selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % build1.id 204 run_again_button = self.find_all(selector) 209 selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % default_build.id 210 run_again_button = self.find_all(selector) 232 selector = 'span.get-help' [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/regulator/ |
H A D | fan53555.txt | 8 - fcs,suspend-voltage-selector: declare which of the two available 9 voltage selector registers should be used for the suspend 22 fcs,suspend-voltage-selector = <1>;
|
/openbmc/u-boot/arch/arm/mach-snapdragon/ |
H A D | pinctrl-snapdragon.c | 47 unsigned int selector) in msm_get_function_name() argument 51 return priv->data->get_function_name(dev, selector); in msm_get_function_name() 64 static const char *msm_get_pin_name(struct udevice *dev, unsigned int selector) in msm_get_pin_name() argument 68 return priv->data->get_pin_name(dev, selector); in msm_get_pin_name()
|
/openbmc/qemu/target/i386/tcg/sysemu/ |
H A D | seg_helper.c | 32 int selector; in helper_syscall() local 37 selector = (env->star >> 32) & 0xffff; in helper_syscall() 49 cpu_x86_load_seg_cache(env, R_CS, selector & 0xfffc, in helper_syscall() 55 cpu_x86_load_seg_cache(env, R_SS, (selector + 8) & 0xfffc, in helper_syscall() 71 cpu_x86_load_seg_cache(env, R_CS, selector & 0xfffc, in helper_syscall() 76 cpu_x86_load_seg_cache(env, R_SS, (selector + 8) & 0xfffc, in helper_syscall()
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx1-core.c | 183 unsigned selector) in imx1_get_group_name() argument 188 return info->groups[selector].name; in imx1_get_group_name() 198 if (selector >= info->ngroups) in imx1_get_group_pins() 201 *pins = info->groups[selector].pin_ids; in imx1_get_group_pins() 202 *npins = info->groups[selector].npins; in imx1_get_group_pins() 298 static int imx1_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, in imx1_pmx_set() argument 317 info->functions[selector].name, info->groups[group].name); in imx1_pmx_set() 360 unsigned selector) in imx1_pmx_get_func_name() argument 365 return info->functions[selector].name; in imx1_pmx_get_func_name() 375 *groups = info->functions[selector].groups; in imx1_pmx_get_groups() [all …]
|
/openbmc/linux/drivers/pinctrl/sprd/ |
H A D | pinctrl-sprd.c | 219 unsigned int selector) in sprd_pctrl_group_name() argument 228 unsigned int selector, in sprd_pctrl_group_pins() argument 235 if (selector >= info->ngroups) in sprd_pctrl_group_pins() 358 switch (selector) { in sprd_pmx_get_function_name() 373 unsigned int selector, in sprd_pmx_get_function_groups() argument 751 if (selector >= info->ngroups) in sprd_pinconf_group_get() 754 grp = &info->groups[selector]; in sprd_pinconf_group_get() 761 unsigned int selector, in sprd_pinconf_group_set() argument 770 if (selector >= info->ngroups) in sprd_pinconf_group_set() 773 grp = &info->groups[selector]; in sprd_pinconf_group_set() [all …]
|