Home
last modified time | relevance | path

Searched refs:selector (Results 26 – 50 of 518) sorted by relevance

12345678910>>...21

/openbmc/linux/drivers/pinctrl/
H A Dpinconf.c75 int selector, ret; in pin_config_group_get() local
94 selector = pinctrl_get_group_selector(pctldev, pin_group); in pin_config_group_get()
95 if (selector < 0) { in pin_config_group_get()
96 ret = selector; in pin_config_group_get()
334 struct seq_file *s, unsigned selector, in pinconf_dump_group() argument
342 ops->pin_config_group_dbg_show(pctldev, s, selector); in pinconf_dump_group()
350 unsigned selector = 0; in pinconf_groups_show() local
355 while (selector < ngroups) { in pinconf_groups_show()
358 seq_printf(s, "%u (%s): ", selector, gname); in pinconf_groups_show()
359 pinconf_dump_group(pctldev, s, selector, gname); in pinconf_groups_show()
[all …]
H A Dpinctrl-loongson2.c172 unsigned int selector) in loongson2_get_group_name() argument
174 return loongson2_pmx_groups[selector].grp.name; in loongson2_get_group_name()
177 static int loongson2_get_group_pins(struct pinctrl_dev *pcdev, unsigned int selector, in loongson2_get_group_pins() argument
180 *pins = loongson2_pmx_groups[selector].grp.pins; in loongson2_get_group_pins()
181 *num_pins = loongson2_pmx_groups[selector].grp.npins; in loongson2_get_group_pins()
229 unsigned int selector) in loongson2_pmx_get_func_name() argument
231 return loongson2_pmx_functions[selector].name; in loongson2_pmx_get_func_name()
235 unsigned int selector, in loongson2_pmx_get_groups() argument
239 *groups = loongson2_pmx_functions[selector].groups; in loongson2_pmx_get_groups()
240 *num_groups = loongson2_pmx_functions[selector].num_groups; in loongson2_pmx_get_groups()
H A Dpinctrl-lantiq.c26 unsigned selector) in ltq_get_group_name() argument
29 if (selector >= info->num_grps) in ltq_get_group_name()
31 return info->grps[selector].name; in ltq_get_group_name()
35 unsigned selector, in ltq_get_group_pins() argument
40 if (selector >= info->num_grps) in ltq_get_group_pins()
42 *pins = info->grps[selector].pins; in ltq_get_group_pins()
43 *num_pins = info->grps[selector].npins; in ltq_get_group_pins()
189 unsigned selector) in ltq_pmx_func_name() argument
193 if (selector >= info->num_funcs) in ltq_pmx_func_name()
196 return info->funcs[selector].name; in ltq_pmx_func_name()
/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/qemu/linux-user/
H A Dvm86.c69 target_v86->regs.cs = tswap16(env->segs[R_CS].selector); 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()
230 ts->vm86_saved_regs.cs = env->segs[R_CS].selector; in do_vm86()
231 ts->vm86_saved_regs.ss = env->segs[R_SS].selector; in do_vm86()
232 ts->vm86_saved_regs.ds = env->segs[R_DS].selector; in do_vm86()
233 ts->vm86_saved_regs.es = env->segs[R_ES].selector; in do_vm86()
234 ts->vm86_saved_regs.fs = env->segs[R_FS].selector; in do_vm86()
235 ts->vm86_saved_regs.gs = env->segs[R_GS].selector; in do_vm86()
[all …]
/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/linux/drivers/md/
H A Ddm-ps-queue-length.c30 struct selector { struct
43 static struct selector *alloc_selector(void) in alloc_selector() argument
45 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
58 struct selector *s = alloc_selector(); in ql_create()
79 struct selector *s = ps->context; in ql_destroy()
118 struct selector *s = ps->context; in ql_add_path()
166 struct selector *s = ps->context; in ql_fail_path()
177 struct selector *s = ps->context; in ql_reinstate_path()
193 struct selector *s = ps->context; in ql_select_path()
H A Ddm-ps-historical-service-time.c44 struct selector { struct
149 struct selector *s = ps->context; in hst_weight()
164 struct selector *s = ps->context; in hst_set_weights()
177 struct selector *s; in hst_create()
229 struct selector *s = ps->context; in hst_destroy()
244 struct selector *s = ps->context; in hst_status()
270 struct selector *s = ps->context; in hst_add_path()
321 struct selector *s = ps->context; in hst_fail_path()
333 struct selector *s = ps->context; in hst_reinstate_path()
370 struct selector *s = ps->context; in hst_compare()
[all …]
H A Ddm-ps-service-time.c25 struct selector { struct
39 static struct selector *alloc_selector(void) in alloc_selector() argument
41 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
54 struct selector *s = alloc_selector(); in st_create()
75 struct selector *s = ps->context; in st_destroy()
115 struct selector *s = ps->context; in st_add_path()
178 struct selector *s = ps->context; in st_fail_path()
189 struct selector *s = ps->context; in st_reinstate_path()
279 struct selector *s = ps->context; in st_select_path()
H A Ddm-ps-io-affinity.c21 struct selector { struct
27 static void ioa_free_path(struct selector *s, unsigned int cpu) in ioa_free_path() argument
46 struct selector *s = ps->context; in ioa_add_path()
113 struct selector *s; in ioa_create()
140 struct selector *s = ps->context; in ioa_destroy()
156 struct selector *s = ps->context; in ioa_status()
200 struct selector *s = ps->context; in ioa_select_path()
/openbmc/qemu/hw/acpi/
H A Dmemory_hotplug.c72 if (mem_st->selector >= mem_st->dev_count) { in acpi_memory_hotplug_read()
77 mdev = &mem_st->devs[mem_st->selector]; 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()
138 mem_st->selector = data; in acpi_memory_hotplug_write()
139 trace_mhp_acpi_write_slot(mem_st->selector); in acpi_memory_hotplug_write()
142 mdev = &mem_st->devs[mem_st->selector]; in acpi_memory_hotplug_write()
152 mdev = &mem_st->devs[mem_st->selector]; in acpi_memory_hotplug_write()
162 mdev = &mem_st->devs[mem_st->selector]; in acpi_memory_hotplug_write()
[all …]
/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/openbmc/poky/bitbake/lib/toaster/tests/browser/
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'
224 selector = 'span[data-project-field="name"] a'
[all …]
/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/linux/drivers/regulator/
H A Dad5398.c31 unsigned selector) in ad5398_calc_current() argument
35 return chip->min_uA + (selector * range_uA / chip->current_level); in ad5398_calc_current()
89 unsigned selector; in ad5398_set_current_limit() local
101 selector = DIV_ROUND_UP((min_uA - chip->min_uA) * chip->current_level, in ad5398_set_current_limit()
103 if (ad5398_calc_current(chip, selector) > max_uA) in ad5398_set_current_limit()
107 ad5398_calc_current(chip, selector)); in ad5398_set_current_limit()
115 selector = (selector << chip->current_offset) & chip->current_mask; in ad5398_set_current_limit()
116 data = (unsigned short)selector | (data & AD5398_CURRENT_EN_MASK); in ad5398_set_current_limit()
H A Dtps65910-regulator.c595 unsigned selector) in tps65910_set_voltage_dcdc_sel() argument
623 vsel = selector + 3; in tps65910_set_voltage_dcdc_sel()
632 unsigned selector) in tps65910_set_voltage_sel() argument
663 unsigned selector) in tps65911_set_voltage_sel() argument
699 unsigned selector) in tps65910_list_voltage_dcdc() argument
731 if (selector < 5) in tps65911_list_voltage()
732 selector = 0; in tps65911_list_voltage()
734 selector -= 4; in tps65911_list_voltage()
744 if (selector < 3) in tps65911_list_voltage()
745 selector = 0; in tps65911_list_voltage()
[all …]
H A Dmax8660.c127 u8 selector = max8660->shadow_regs[reg]; in max8660_dcdc_get_voltage_sel() local
129 return selector; in max8660_dcdc_get_voltage_sel()
133 unsigned int selector) in max8660_dcdc_set_voltage_sel() argument
140 ret = max8660_write(max8660, reg, 0, selector); in max8660_dcdc_set_voltage_sel()
166 u8 selector = max8660->shadow_regs[MAX8660_MDTV2]; in max8660_ldo5_get_voltage_sel() local
167 return selector; in max8660_ldo5_get_voltage_sel()
171 unsigned int selector) in max8660_ldo5_set_voltage_sel() argument
176 ret = max8660_write(max8660, MAX8660_MDTV2, 0, selector); in max8660_ldo5_set_voltage_sel()
227 return selector; in max8660_ldo67_get_voltage_sel()
231 unsigned int selector) in max8660_ldo67_set_voltage_sel() argument
[all …]
H A Dmax1586.c64 unsigned selector) in max1586_v3_set_voltage_sel() argument
72 regulator_list_voltage_linear(rdev, selector) / 1000); in max1586_v3_set_voltage_sel()
74 v3_prog = I2C_V3_SELECT | (u8) selector; in max1586_v3_set_voltage_sel()
79 max1586->v3_curr_sel = selector; in max1586_v3_set_voltage_sel()
92 unsigned int selector) in max1586_v6_set_voltage_sel() argument
100 rdev->desc->volt_table[selector] / 1000); in max1586_v6_set_voltage_sel()
102 v6_prog = I2C_V6_SELECT | (u8) selector; in max1586_v6_set_voltage_sel()
107 max1586->v6_curr_sel = selector; in max1586_v6_set_voltage_sel()
/openbmc/qemu/target/i386/tcg/user/
H A Dseg_helper.c95 void cpu_x86_load_seg(CPUX86State *env, X86Seg seg_reg, int selector) in cpu_x86_load_seg() argument
99 selector &= 0xffff; in cpu_x86_load_seg()
100 cpu_x86_load_seg_cache(env, seg_reg, selector, in cpu_x86_load_seg()
101 (selector << 4), 0xffff, in cpu_x86_load_seg()
105 helper_load_seg(env, seg_reg, selector); in cpu_x86_load_seg()
/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/arch/arm/mach-snapdragon/
H A Dpinctrl-snapdragon.h17 unsigned int selector);
18 unsigned int (*get_function_mux)(unsigned int selector);
20 unsigned int selector);
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/Buttons/
H A DHostSelector.interface.yaml2 Host selector interface is used to keep the position of the host selector HW
3 switch as a property.This host selector position value decides which host or
13 The current position of the selector. Position 1 to N selects Host
/openbmc/linux/tools/testing/selftests/syscall_user_dispatch/
H A Dsud_benchmark.c59 char selector; variable
60 #define SYSCALL_BLOCK (selector = SYSCALL_DISPATCH_FILTER_BLOCK)
61 #define SYSCALL_UNBLOCK (selector = SYSCALL_DISPATCH_FILTER_ALLOW)
166 &selector)) { in main()
175 if (selector == SYSCALL_DISPATCH_FILTER_ALLOW) { in main()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_dcb.c36 static bool lan966x_dcb_apptrust_contains(int portno, u8 selector) in lan966x_dcb_apptrust_contains() argument
41 if (conf->selectors[i] == selector) in lan966x_dcb_apptrust_contains()
59 app_itr.selector = DCB_APP_SEL_PCP; in lan966x_dcb_app_update()
66 app_itr.selector = IEEE_8021QAZ_APP_SEL_DSCP; in lan966x_dcb_app_update()
145 switch (app->selector) { in lan966x_dcb_app_validate()
183 if (app->selector == IEEE_8021QAZ_APP_SEL_DSCP) in lan966x_dcb_ieee_delapp()
214 if (app->selector == IEEE_8021QAZ_APP_SEL_DSCP) in lan966x_dcb_ieee_setapp()
291 if (app->selector == IEEE_8021QAZ_APP_SEL_DSCP) in lan966x_dcb_delrewr()
322 if (app->selector == IEEE_8021QAZ_APP_SEL_DSCP) in lan966x_dcb_setrewr()

12345678910>>...21