Home
last modified time | relevance | path

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

123456

/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()
34 const char *pname = ops->get_pin_name(dev, 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()
65 const char *gname = ops->get_group_name(dev, selector); in pinctrl_group_name_to_selector()
68 return selector; in pinctrl_group_name_to_selector()
86 unsigned nfuncs, selector = 0; in pinmux_func_name_to_selector() local
97 for (selector = 0; selector < nfuncs; selector++) { in pinmux_func_name_to_selector()
[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/qemu/tests/image-fuzzer/qcow2/
H A Dfuzz.py121 def selector(current, constraints, validate=int_validator): function
167 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)
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dmrbsection.js79 var selector;
100 selector = '[data-latest-build-result="' + build.id + '"] ' +
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+')');
117 selector = '#repos-cloned-percentage-bar-' + build.id;
118 $(selector).width(build.repos_cloned_percentage + '%');
122 selector = '#build-pc-done-' + build.id;
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dselenium_helpers_base.py195 def find(self, selector): argument
197 return self.driver.find_element(By.CSS_SELECTOR, selector)
199 def find_all(self, selector): argument
201 return self.driver.find_elements(By.CSS_SELECTOR, selector)
203 def element_exists(self, selector): argument
208 return len(self.find_all(selector)) == 1
214 def wait_until_present(self, selector, timeout=Wait._TIMEOUT): argument
216 is_present = lambda driver: self.find(selector)
217 msg = 'An element matching "%s" should be on the page' % selector
221 def wait_until_visible(self, selector, timeout=Wait._TIMEOUT): argument
[all …]
H A Dtest_builddashboard_page_artifacts.py118 selector = '[data-value="target-package-count"]'
119 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"]'
127 self.assertFalse(self.element_exists(selector),
180 selector = '[data-links="image-artifacts"] li'
181 self.assertTrue(self.element_exists(selector),
182 'should be a link to the image file (selector %s)' % selector)
191 selector = 'a[data-link="license-manifest"]'
[all …]
H A Dtest_most_recent_builds_states.py47 selector = base_selector + '[data-build-state="Queued"]'
48 element = self.wait_until_visible(selector)
63 selector = base_selector + '[data-build-state="Parsing"]'
64 element = self.wait_until_visible(selector)
77 element = self.wait_until_visible(selector)
97 selector = base_selector + '[data-build-state="Starting"]'
98 element = self.wait_until_visible(selector)
108 selector = base_selector + '[data-build-state="In Progress"]'
109 element = self.wait_until_visible(selector)
125 element = self.wait_until_visible(selector)
[all …]
H A Dtest_all_projects_page.py140 selector = 'span[data-project-field="release"] span.text-muted'
141 element = default_project_row.find_element(By.CSS_SELECTOR, selector)
150 selector = 'span[data-project-field="release"]'
151 element = other_project_row.find_element(By.CSS_SELECTOR, selector)
176 selector = 'span[data-project-field="machine"] span.text-muted'
177 element = default_project_row.find_element(By.CSS_SELECTOR, selector)
186 selector = 'span[data-project-field="machine"]'
187 element = other_project_row.find_element(By.CSS_SELECTOR, selector)
212 selector = 'span[data-project-field="name"] a'
213 element = default_project_row.find_element(By.CSS_SELECTOR, selector)
[all …]
/openbmc/u-boot/arch/arm/mach-snapdragon/
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()
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-snapdragon.h17 unsigned int selector);
18 unsigned int (*get_function_mux)(unsigned int selector);
20 unsigned int selector);
/openbmc/qemu/target/i386/tcg/
H A Dseg_helper.c150 uint32_t *e2_ptr, int selector, in load_segment_ra() argument
157 if (selector & 0x4) { in load_segment_ra()
162 index = selector & ~7; in load_segment_ra()
173 uint32_t *e2_ptr, int selector) in load_segment() argument
175 return load_segment_ra(env, e1_ptr, e2_ptr, selector, 0); in load_segment()
203 static inline void load_seg_vm(CPUX86State *env, int seg, int selector) in load_seg_vm() argument
205 selector &= 0xffff; in load_seg_vm()
207 cpu_x86_load_seg_cache(env, seg, selector, (selector << 4), 0xffff, in load_seg_vm()
243 raise_exception_err_ra(env, EXCP0A_TSS, env->tr.selector & 0xfffc, retaddr); in get_ss_esp_from_tss()
254 static void tss_load_seg(CPUX86State *env, X86Seg seg_reg, int selector, in tss_load_seg() argument
[all …]
/openbmc/docs/designs/
H A Dmultihost-phosphor-buttons.md57 example for a multihost platform yosemite-V2 it has host selector switch mux as
74 | | | | | | selector |------+ | |
95 ## 1.Host selector switch (selector switch)
97 This host selector switch/selector switch has 4 gpio connected as input and
98 based on the gpio state values the host selector switch value is derived. The
100 values and host selector values can be stored as part of gpio json config.
105 For example, when the power button is pressed, The value of the host selector
112 selector switch position.
116 host selector position value = 0,bmc is mapped to power and reset buttons host
117 selector position value = 1,host 1 is mapped to power and reset buttons host
[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, x86_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, x86_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/qemu/bsd-user/i386/
H A Dtarget_arch_reg.h57 regs->r_fs = env->segs[R_FS].selector & 0xffff; in target_copy_regs()
58 regs->r_es = env->segs[R_ES].selector & 0xffff; in target_copy_regs()
59 regs->r_ds = env->segs[R_DS].selector & 0xffff; in target_copy_regs()
73 regs->r_cs = env->segs[R_CS].selector & 0xffff; in target_copy_regs()
78 regs->r_ss = env->segs[R_SS].selector & 0xffff; in target_copy_regs()
79 regs->r_gs = env->segs[R_GS].selector & 0xffff; in target_copy_regs()
/openbmc/u-boot/drivers/pinctrl/aspeed/
H A Dpinctrl_ast2500.c174 unsigned selector) in ast2500_pinctrl_get_group_name() argument
176 debug("PINCTRL: get_(function/group)_name %u\n", selector); in ast2500_pinctrl_get_group_name()
178 return ast2500_groups[selector].group_name; in ast2500_pinctrl_get_group_name()
181 static int ast2500_pinctrl_group_set(struct udevice *dev, unsigned selector, in ast2500_pinctrl_group_set() argument
190 debug("PINCTRL: group_set <%u, %u> \n", selector, func_selector); in ast2500_pinctrl_group_set()
191 if (selector >= ARRAY_SIZE(ast2500_groups)) in ast2500_pinctrl_group_set()
194 config = &ast2500_groups[selector]; in ast2500_pinctrl_group_set()
H A Dpinctrl_ast2400.c179 unsigned selector) in ast2400_pinctrl_get_group_name() argument
181 debug("PINCTRL: get_(function/group)_name %u\n", selector); in ast2400_pinctrl_get_group_name()
183 return ast2400_groups[selector].group_name; in ast2400_pinctrl_get_group_name()
186 static int ast2400_pinctrl_group_set(struct udevice *dev, unsigned selector, in ast2400_pinctrl_group_set() argument
195 debug("PINCTRL: group_set <%u, %u> \n", selector, func_selector); in ast2400_pinctrl_group_set()
196 if (selector >= ARRAY_SIZE(ast2400_groups)) in ast2400_pinctrl_group_set()
199 config = &ast2400_groups[selector]; in ast2400_pinctrl_group_set()
/openbmc/u-boot/include/dm/
H A Dpinctrl.h76 const char *(*get_pin_name)(struct udevice *dev, unsigned selector);
78 const char *(*get_group_name)(struct udevice *dev, unsigned selector);
81 unsigned selector);
152 int (*get_pin_muxing)(struct udevice *dev, unsigned int selector,
397 int pinctrl_get_pin_muxing(struct udevice *dev, int selector, char *buf,
420 int pinctrl_get_pin_name(struct udevice *dev, int selector, char *buf,
/openbmc/qemu/target/i386/tcg/user/
H A Dseg_helper.c94 void cpu_x86_load_seg(CPUX86State *env, X86Seg seg_reg, int selector) in cpu_x86_load_seg() argument
98 selector &= 0xffff; in cpu_x86_load_seg()
99 cpu_x86_load_seg_cache(env, seg_reg, selector, in cpu_x86_load_seg()
100 (selector << 4), 0xffff, in cpu_x86_load_seg()
104 helper_load_seg(env, seg_reg, selector); in cpu_x86_load_seg()
/openbmc/qemu/bsd-user/x86_64/
H A Dtarget_arch_reg.h80 regs->r_fs = env->segs[R_FS].selector & 0xffff; in target_copy_regs()
81 regs->r_gs = env->segs[R_GS].selector & 0xffff; in target_copy_regs()
83 regs->r_es = env->segs[R_ES].selector & 0xffff; in target_copy_regs()
84 regs->r_ds = env->segs[R_DS].selector & 0xffff; in target_copy_regs()
86 regs->r_cs = env->segs[R_CS].selector & 0xffff; in target_copy_regs()
89 regs->r_ss = env->segs[R_SS].selector & 0xffff; in target_copy_regs()
/openbmc/qemu/linux-user/
H A Dvm86.c69 target_v86->regs.cs = tswap16(env->segs[R_CS].selector); in save_v86_state()
70 target_v86->regs.ss = tswap16(env->segs[R_SS].selector); in save_v86_state()
71 target_v86->regs.ds = tswap16(env->segs[R_DS].selector); in save_v86_state()
72 target_v86->regs.es = tswap16(env->segs[R_ES].selector); in save_v86_state()
73 target_v86->regs.fs = tswap16(env->segs[R_FS].selector); in save_v86_state()
74 target_v86->regs.gs = tswap16(env->segs[R_GS].selector); in save_v86_state()
79 env->eflags, env->segs[R_CS].selector, env->eip); in save_v86_state()
152 if (env->segs[R_CS].selector == TARGET_BIOSSEG) in do_int()
166 ssp = env->segs[R_SS].selector << 4; in do_int()
169 vm_putw(env, ssp, sp - 4, env->segs[R_CS].selector); in do_int()
[all …]
/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()
70 trace_cpuhp_acpi_read_flags(cpu_st->selector, val); in cpu_hotplug_rd()
75 val = cpu_st->selector; in cpu_hotplug_rd()
83 trace_cpuhp_acpi_read_cmd_data(cpu_st->selector, val); in cpu_hotplug_rd()
96 trace_cpuhp_acpi_read_cmd_data2(cpu_st->selector, val); in cpu_hotplug_rd()
114 if (cpu_st->selector >= cpu_st->dev_count) { in cpu_hotplug_wr()
115 trace_cpuhp_acpi_invalid_idx_selected(cpu_st->selector); in cpu_hotplug_wr()
122 cpu_st->selector = data; in cpu_hotplug_wr()
123 trace_cpuhp_acpi_write_idx(cpu_st->selector); in cpu_hotplug_wr()
[all …]
H A Dmemory_hotplug.c72 if (mem_st->selector >= mem_st->dev_count) { in acpi_memory_hotplug_read()
73 trace_mhp_acpi_invalid_slot_selected(mem_st->selector); in acpi_memory_hotplug_read()
77 mdev = &mem_st->devs[mem_st->selector]; in acpi_memory_hotplug_read()
82 trace_mhp_acpi_read_addr_lo(mem_st->selector, val); in acpi_memory_hotplug_read()
87 trace_mhp_acpi_read_addr_hi(mem_st->selector, val); in acpi_memory_hotplug_read()
91 trace_mhp_acpi_read_size_lo(mem_st->selector, val); in acpi_memory_hotplug_read()
96 trace_mhp_acpi_read_size_hi(mem_st->selector, val); in acpi_memory_hotplug_read()
100 trace_mhp_acpi_read_pxm(mem_st->selector, val); in acpi_memory_hotplug_read()
106 trace_mhp_acpi_read_flags(mem_st->selector, val); in acpi_memory_hotplug_read()
130 if (mem_st->selector >= mem_st->dev_count) { in acpi_memory_hotplug_write()
[all …]
/openbmc/qemu/target/i386/
H A Dgdbstub.c163 return gdb_get_reg32(mem_buf, env->segs[R_CS].selector); in x86_cpu_gdb_read_register()
165 return gdb_get_reg32(mem_buf, env->segs[R_SS].selector); in x86_cpu_gdb_read_register()
167 return gdb_get_reg32(mem_buf, env->segs[R_DS].selector); in x86_cpu_gdb_read_register()
169 return gdb_get_reg32(mem_buf, env->segs[R_ES].selector); in x86_cpu_gdb_read_register()
171 return gdb_get_reg32(mem_buf, env->segs[R_FS].selector); in x86_cpu_gdb_read_register()
173 return gdb_get_reg32(mem_buf, env->segs[R_GS].selector); in x86_cpu_gdb_read_register()
234 uint16_t selector = ldl_p(mem_buf); in x86_cpu_gdb_load_seg() local
236 if (selector != env->segs[sreg].selector) { in x86_cpu_gdb_load_seg()
238 cpu_x86_load_seg(env, sreg, selector); in x86_cpu_gdb_load_seg()
245 base = selector << 4; in x86_cpu_gdb_load_seg()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/regulator/
H A Dfan53555.txt8 - 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>;

123456