Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-generic.c23 unsigned npins, selector; in pinctrl_pin_name_to_selector() local
33 for (selector = 0; selector < npins; selector++) { in pinctrl_pin_name_to_selector()
37 return selector; in pinctrl_pin_name_to_selector()
54 unsigned ngroups, selector; in pinctrl_group_name_to_selector() local
64 for (selector = 0; selector < ngroups; selector++) { in pinctrl_group_name_to_selector()
68 return selector; in pinctrl_group_name_to_selector()
97 for (selector = 0; selector < nfuncs; selector++) { in pinmux_func_name_to_selector()
101 return selector; in pinmux_func_name_to_selector()
267 selector, in pinctrl_generic_set_state_one()
330 if (selector < 0) in pinctrl_generic_set_state_subnode()
[all …]
H A Dpinctrl-sandbox.c62 static const char *sandbox_get_pin_name(struct udevice *dev, unsigned selector) in sandbox_get_pin_name() argument
64 return sandbox_pins[selector]; in sandbox_get_pin_name()
68 unsigned int selector, in sandbox_get_pin_muxing() argument
71 snprintf(buf, size, "%s", sandbox_pins_muxing[selector]); in sandbox_get_pin_muxing()
82 unsigned selector) in sandbox_get_group_name() argument
84 return sandbox_groups[selector]; in sandbox_get_group_name()
93 unsigned selector) in sandbox_get_function_name() argument
95 return sandbox_functions[selector]; in sandbox_get_function_name()
/openbmc/linux/lib/
H A Dlinear_ranges.c90 if (r->min_sel > selector || r->max_sel < selector) in linear_range_get_value()
112 unsigned int selector, unsigned int *val) in linear_range_get_value_array() argument
117 if (r[i].min_sel <= selector && r[i].max_sel >= selector) in linear_range_get_value_array()
148 *selector = r->max_sel; in linear_range_get_selector_low()
155 *selector = r->min_sel; in linear_range_get_selector_low()
184 unsigned int *selector, bool *found) in linear_range_get_selector_low_array() argument
229 *selector = r->min_sel; in linear_range_get_selector_high()
236 *selector = r->max_sel; in linear_range_get_selector_high()
259 *selector = r->min_sel; in linear_range_get_selector_within()
264 *selector = r->max_sel; in linear_range_get_selector_within()
[all …]
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dfuzz.py167 return selector(current, constraints)
173 return selector(current, constraints)
179 return selector(current, constraints)
188 return selector(current, constraints)
194 return selector(current, constraints)
203 return selector(current, constraints)
209 return selector(current, constraints)
215 return selector(current, constraints)
221 return selector(current, constraints)
227 return selector(current, constraints)
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dmrbsection.js79 var selector;
102 container = $(selector);
111 selector = '#repos-cloned-percentage-' + build.id;
112 $(selector).html(build.repos_cloned_percentage);
113 selector = '#repos-cloned-progressitem-' + build.id;
114 $(selector).html('('+build.progress_item+')');
122 selector = '#build-pc-done-' + build.id;
123 $(selector).html(build.tasks_complete_percentage);
126 selector = '#build-pc-done-bar-' + build.id;
131 selector = '#recipes-parsed-percentage-' + build.id;
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dselenium_helpers_base.py192 def find(self, selector): argument
196 def find_all(self, selector): argument
200 def element_exists(self, selector): argument
205 return len(self.find_all(selector)) == 1
226 return self.find(selector)
239 return self.find(selector)
241 def wait_until_focused(self, selector): argument
247 return self.find(selector)
249 def enter_text(self, selector, value): argument
254 field = self.click(selector)
[all …]
H A Dtest_builddashboard_page_artifacts.py119 self.assertFalse(self.element_exists(selector),
122 selector = '[data-value="target-package-size"]'
123 self.assertFalse(self.element_exists(selector),
126 selector = '[data-link="target-packages"]'
180 selector = '[data-links="image-artifacts"] li'
181 self.assertTrue(self.element_exists(selector),
191 selector = 'a[data-link="license-manifest"]'
195 selector = 'a[data-link="package-manifest"]'
201 element = self.find(selector)
206 element = self.find(selector)
[all …]
H A Dtest_most_recent_builds_states.py48 element = self.wait_until_visible(selector)
64 element = self.wait_until_visible(selector)
77 element = self.wait_until_visible(selector)
98 element = self.wait_until_visible(selector)
109 element = self.wait_until_visible(selector)
125 element = self.wait_until_visible(selector)
146 selector = '[data-latest-build-result="%s"] ' \
148 element = self.wait_until_visible(selector)
166 element = self.wait_until_visible(selector)
187 element = self.wait_until_visible(selector)
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dgsseg.h15 extern asmlinkage void asm_load_gs_index(u16 selector);
20 static inline void native_lkgs(unsigned int selector) in native_lkgs() argument
22 u16 sel = selector; in native_lkgs()
28 static inline void native_load_gs_index(unsigned int selector) in native_load_gs_index() argument
31 native_lkgs(selector); in native_load_gs_index()
36 asm_load_gs_index(selector); in native_load_gs_index()
55 static inline void load_gs_index(unsigned int selector) in load_gs_index() argument
58 native_load_gs_index(selector); in load_gs_index()
60 loadsegment(gs, selector); in load_gs_index()
/openbmc/qemu/target/i386/tcg/
H A Dseg_helper.c140 if (selector & 0x4) { in load_segment_ra()
188 selector &= 0xffff; in load_seg_vm()
190 cpu_x86_load_seg_cache(env, seg, selector, (selector << 4), 0xffff, in load_seg_vm()
869 selector = (selector & ~3) | dpl; in do_interrupt_protected()
1050 selector = (selector & ~3) | dpl; in do_interrupt64()
1061 int cpl, selector; in helper_sysret() local
1121 int selector; in do_interrupt_real() local
1156 env->segs[R_CS].selector = selector; in do_interrupt_real()
1299 env->ldt.selector = selector; in helper_lldt()
1362 env->tr.selector = selector; in helper_ltr()
[all …]
/openbmc/linux/kernel/entry/
H A Dsyscall_user_dispatch.c46 if (likely(sd->selector)) { in syscall_user_dispatch()
51 if (unlikely(__get_user(state, sd->selector))) { in syscall_user_dispatch()
74 char __user *selector) in task_set_syscall_user_dispatch() argument
78 if (offset || len || selector) in task_set_syscall_user_dispatch()
100 if (selector && !access_ok(untagged_addr(selector), sizeof(*selector))) in task_set_syscall_user_dispatch()
108 task->syscall_dispatch.selector = selector; in task_set_syscall_user_dispatch()
122 unsigned long len, char __user *selector) in set_syscall_user_dispatch() argument
124 return task_set_syscall_user_dispatch(current, mode, offset, len, selector); in set_syscall_user_dispatch()
143 cfg.selector = (__u64)(uintptr_t)sd->selector; in syscall_user_dispatch_get_config()
163 (char __user *)(uintptr_t)cfg.selector); in syscall_user_dispatch_set_config()
/openbmc/u-boot/arch/arm/mach-snapdragon/
H A Dpinctrl-apq8016.c34 unsigned int selector) in apq8016_get_function_name() argument
36 return msm_pinctrl_functions[selector].name; in apq8016_get_function_name()
40 unsigned int selector) in apq8016_get_pin_name() argument
42 if (selector < 122) { in apq8016_get_pin_name()
43 snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector); in apq8016_get_pin_name()
46 return msm_pinctrl_pins[selector - 122]; in apq8016_get_pin_name()
50 static unsigned int apq8016_get_function_mux(unsigned int selector) in apq8016_get_function_mux() argument
52 return msm_pinctrl_functions[selector].val; in apq8016_get_function_mux()
H A Dpinctrl-apq8096.c29 unsigned int selector) in apq8096_get_function_name() argument
31 return msm_pinctrl_functions[selector].name; in apq8096_get_function_name()
35 unsigned int selector) in apq8096_get_pin_name() argument
37 if (selector < 150) { in apq8096_get_pin_name()
38 snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector); in apq8096_get_pin_name()
41 return msm_pinctrl_pins[selector - 150]; in apq8096_get_pin_name()
45 static unsigned int apq8096_get_function_mux(unsigned int selector) in apq8096_get_function_mux() argument
47 return msm_pinctrl_functions[selector].val; in apq8096_get_function_mux()
/openbmc/docs/designs/
H A Dmultihost-phosphor-buttons.md95 ## 1.Host selector switch (selector switch)
97 This host selector switch/selector switch has 4 gpio connected as input and
112 selector switch position.
133 ## 3.OCP debug card host selector button
138 3.host selector button
144 selector switch in yosemitev2 front panel. The debug card host selector button
171 ## The host selector switch interface
173 The host selector switch has 4 gpios associated with it. host selector switch
180 ### Host selector dbus interface details
189 ## OCP Debug card host selector button interface
[all …]
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-da850-pupd.c41 unsigned int selector) in da850_pupd_get_group_name() argument
47 unsigned int selector, in da850_pupd_get_group_pins() argument
65 unsigned int selector, in da850_pupd_pin_config_group_get() argument
74 arg = !!(~val & BIT(selector)); in da850_pupd_pin_config_group_get()
89 arg = !!(val & BIT(selector)); in da850_pupd_pin_config_group_get()
101 unsigned int selector, in da850_pupd_pin_config_group_set() argument
118 ena &= ~BIT(selector); in da850_pupd_pin_config_group_set()
121 ena |= BIT(selector); in da850_pupd_pin_config_group_set()
122 sel |= BIT(selector); in da850_pupd_pin_config_group_set()
125 ena |= BIT(selector); in da850_pupd_pin_config_group_set()
[all …]
H A Dpinctrl-mlxbf3.c131 unsigned int selector) in mlxbf3_get_group_name() argument
133 return mlxbf3_pinctrl_single_group_names[selector]; in mlxbf3_get_group_name()
137 unsigned int selector, in mlxbf3_get_group_pins() argument
142 *pins = &selector; in mlxbf3_get_group_pins()
173 unsigned int selector) in mlxbf3_pmx_get_func_name() argument
175 return mlxbf3_pmx_funcs[selector].name; in mlxbf3_pmx_get_func_name()
179 unsigned int selector, in mlxbf3_pmx_get_groups() argument
183 *groups = mlxbf3_pmx_funcs[selector].groups; in mlxbf3_pmx_get_groups()
190 unsigned int selector, in mlxbf3_pmx_set() argument
195 if (selector == MLXBF3_GPIO_HW_MODE) { in mlxbf3_pmx_set()
[all …]
H A Dpinmux.c40 unsigned selector = 0; in pinmux_check_ops() local
55 selector); in pinmux_check_ops()
58 selector); in pinmux_check_ops()
61 selector++; in pinmux_check_ops()
345 return selector; in pinmux_func_name_to_selector()
347 selector++; in pinmux_func_name_to_selector()
824 selector); in pinmux_generic_get_function_name()
847 selector); in pinmux_generic_get_function_groups()
871 selector); in pinmux_generic_get_function()
901 return selector; in pinmux_generic_add_function()
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dx86_descr.c26 .selector = VMCS_GUEST_##seg##_SELECTOR, \
33 int selector; member
66 sel.sel = rvmcs(cpu->accel->fd, vmx_segment_fields[seg].selector); in vmx_read_segment_selector()
70 void vmx_write_segment_selector(CPUState *cpu, x68_segment_selector selector, X86Seg seg) in vmx_write_segment_selector() argument
72 wvmcs(cpu->accel->fd, vmx_segment_fields[seg].selector, selector.sel); in vmx_write_segment_selector()
77 desc->sel = rvmcs(cpu->accel->fd, vmx_segment_fields[seg].selector); in vmx_read_segment_descriptor()
89 wvmcs(cpu->accel->fd, sf->selector, desc->sel); in vmx_write_segment_descriptor()
93 void x86_segment_descriptor_to_vmx(CPUState *cpu, x68_segment_selector selector, in x86_segment_descriptor_to_vmx() argument
97 vmx_desc->sel = selector.sel; in x86_segment_descriptor_to_vmx()
101 vmx_desc->ar = (selector.sel ? 0 : 1) << 16 | in x86_segment_descriptor_to_vmx()
/openbmc/linux/drivers/media/usb/uvc/
H A Duvc_ctrl.c60 .selector = UVC_PU_HUE_CONTROL,
88 .selector = UVC_PU_GAMMA_CONTROL,
126 .selector = UVC_PU_GAIN_CONTROL,
484 .selector = UVC_PU_HUE_CONTROL,
2059 u8 selector; in uvc_ctrl_fixup_xu_info() member
2085 fixups[i].selector == info->selector) { in uvc_ctrl_fixup_xu_info()
2327 ctrl->info.selector); in uvc_ctrl_restore_values()
2432 ctrl->info.selector); in __uvc_ctrl_add_mapping()
2646 ctrl->info.selector == mapping->selector) { in uvc_ctrl_init_ctrl()
2661 ctrl->info.selector == mapping->selector) in uvc_ctrl_init_ctrl()
[all …]
/openbmc/linux/include/linux/
H A Dlinear_range.h45 int linear_range_get_value(const struct linear_range *r, unsigned int selector,
48 unsigned int selector, unsigned int *val);
50 unsigned int val, unsigned int *selector,
53 unsigned int val, unsigned int *selector,
56 unsigned int val, unsigned int *selector);
59 unsigned int *selector, bool *found);
/openbmc/linux/drivers/regulator/
H A Dhelpers.c316 int selector = 0; in regulator_map_voltage_iterate() local
329 selector = i; in regulator_map_voltage_iterate()
334 return selector; in regulator_map_voltage_iterate()
482 unsigned int selector = 0; in regulator_map_voltage_pickable_linear_range() local
544 unsigned int selector) in regulator_desc_list_voltage_linear() argument
569 unsigned int selector) in regulator_list_voltage_linear() argument
585 unsigned int selector) in regulator_list_voltage_pickable_linear_range() argument
604 selector -= all_sels; in regulator_list_voltage_pickable_linear_range()
638 unsigned int selector) in regulator_desc_list_voltage_linear_range() argument
666 unsigned int selector) in regulator_list_voltage_linear_range() argument
[all …]
/openbmc/linux/drivers/pinctrl/visconti/
H A Dpinctrl-common.c123 unsigned int selector, in visconti_pin_config_group_set() argument
132 pins = priv->devdata->groups[selector].pins; in visconti_pin_config_group_set()
133 num_pins = priv->devdata->groups[selector].nr_pins; in visconti_pin_config_group_set()
136 __func__, selector, num_pins, num_configs); in visconti_pin_config_group_set()
163 unsigned int selector) in visconti_get_group_name() argument
167 return priv->devdata->groups[selector].name; in visconti_get_group_name()
171 unsigned int selector, in visconti_get_group_pins() argument
177 *pins = priv->devdata->groups[selector].pins; in visconti_get_group_pins()
200 unsigned int selector) in visconti_get_function_name() argument
204 return priv->devdata->functions[selector].name; in visconti_get_function_name()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-ps-round-robin.c50 struct selector { struct
56 static struct selector *alloc_selector(void) in alloc_selector() argument
58 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
71 struct selector *s; in rr_create()
83 struct selector *s = ps->context; in rr_destroy()
124 struct selector *s = ps->context; in rr_add_path()
168 struct selector *s = ps->context; in rr_fail_path()
179 struct selector *s = ps->context; in rr_reinstate_path()
192 struct selector *s = ps->context; in rr_select_path()
/openbmc/qemu/hw/acpi/
H A Dcpu.c59 if (cpu_st->selector >= cpu_st->dev_count) { in cpu_hotplug_rd()
63 cdev = &cpu_st->devs[cpu_st->selector]; in cpu_hotplug_rd()
75 val = cpu_st->selector; in cpu_hotplug_rd()
114 if (cpu_st->selector >= cpu_st->dev_count) { in cpu_hotplug_wr()
122 cpu_st->selector = data; in cpu_hotplug_wr()
126 cdev = &cpu_st->devs[cpu_st->selector]; in cpu_hotplug_wr()
162 uint32_t iter = cpu_st->selector; in cpu_hotplug_wr()
168 cpu_st->selector = iter; in cpu_hotplug_wr()
174 } while (iter != cpu_st->selector); in cpu_hotplug_wr()
181 cdev = &cpu_st->devs[cpu_st->selector]; in cpu_hotplug_wr()
[all …]
/openbmc/linux/drivers/pinctrl/cirrus/
H A Dpinctrl-madera-core.c455 unsigned int selector) in madera_get_group_name() argument
462 selector -= priv->chip->n_pin_groups; in madera_get_group_name()
467 unsigned int selector, in madera_get_group_pins() argument
478 selector -= priv->chip->n_pin_groups; in madera_get_group_pins()
585 unsigned int selector) in madera_mux_get_func_name() argument
591 unsigned int selector, in madera_mux_get_groups() argument
611 unsigned int selector, in madera_mux_set_mux() argument
623 __func__, selector, func_name, group, in madera_mux_set_mux()
948 unsigned int selector, in madera_pin_conf_group_set() argument
960 if (selector >= n_groups) { in madera_pin_conf_group_set()
[all …]

12345678910>>...21