Searched refs:selector (Results 1 - 25 of 295) sorted by relevance

1234567891011>>

/linux-master/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) argument
22 u16 sel = selector;
28 static inline void native_load_gs_index(unsigned int selector) argument
31 native_lkgs(selector);
36 asm_load_gs_index(selector);
55 static inline void load_gs_index(unsigned int selector) argument
58 native_load_gs_index(selector);
60 loadsegment(gs, selector);
/linux-master/include/linux/
H A Dlinear_range.h10 * struct linear_range - table of selector - value pairs
18 * @min_sel: Lowest selector for range
19 * @max_sel: Highest selector for range
45 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);
H A Dsyscall_user_dispatch_types.h10 char __user *selector; member in struct:syscall_user_dispatch
H A Dsyscall_user_dispatch.h14 unsigned long len, char __user *selector);
28 unsigned long len, char __user *selector)
27 set_syscall_user_dispatch(unsigned long mode, unsigned long offset, unsigned long len, char __user *selector) argument
/linux-master/lib/
H A Dlinear_ranges.c79 * @selector: selector for which the value is searched
82 * Search given ranges for value which matches given selector.
84 * Return: 0 on success, -EINVAL given selector is not found from any of the
87 int linear_range_get_value(const struct linear_range *r, unsigned int selector, argument
90 if (r->min_sel > selector || r->max_sel < selector)
93 *val = r->min + (selector - r->min_sel) * r->step;
103 * @selector: selector fo
111 linear_range_get_value_array(const struct linear_range *r, int ranges, unsigned int selector, unsigned int *val) argument
138 linear_range_get_selector_low(const struct linear_range *r, unsigned int val, unsigned int *selector, bool *found) argument
182 linear_range_get_selector_low_array(const struct linear_range *r, int ranges, unsigned int val, unsigned int *selector, bool *found) argument
219 linear_range_get_selector_high(const struct linear_range *r, unsigned int val, unsigned int *selector, bool *found) argument
255 linear_range_get_selector_within(const struct linear_range *r, unsigned int val, unsigned int *selector) argument
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtailcall5.c13 int selector = 0; variable
30 if (selector == 1234)
32 else if (selector == 5678)
H A Dtailcall4.c13 int selector = 0; variable
28 bpf_tail_call(skb, &jmp_table, selector);
/linux-master/include/linux/pinctrl/
H A Dpinconf.h50 unsigned int selector,
53 unsigned int selector,
61 unsigned int selector);
H A Dpinmux.h30 * @get_function_name: return the function name of the muxing selector,
34 * referencing pins) connected to a certain function selector. The group
53 * a direction selector function may be implemented as a backing
64 unsigned int selector);
66 unsigned int selector,
/linux-master/kernel/entry/
H A Dsyscall_user_dispatch.c46 if (likely(sd->selector)) {
49 * the selector is loaded by userspace.
51 if (unlikely(__get_user(state, sd->selector))) {
74 char __user *selector)
78 if (offset || len || selector)
95 * To enable a tracer to set a tracees selector the
96 * selector address must be untagged for access_ok(),
98 * tagged tracees selector.
100 if (selector && !access_ok(untagged_addr(selector), sizeo
72 task_set_syscall_user_dispatch(struct task_struct *task, unsigned long mode, unsigned long offset, unsigned long len, char __user *selector) argument
121 set_syscall_user_dispatch(unsigned long mode, unsigned long offset, unsigned long len, char __user *selector) argument
[all...]
/linux-master/drivers/pinctrl/
H A Dpinctrl-da850-pupd.c41 unsigned int selector)
43 return da850_pupd_group_names[selector];
47 unsigned int selector,
65 unsigned int selector,
74 arg = !!(~val & BIT(selector));
89 arg = !!(val & BIT(selector));
101 unsigned int selector,
118 ena &= ~BIT(selector);
121 ena |= BIT(selector);
122 sel |= BIT(selector);
40 da850_pupd_get_group_name(struct pinctrl_dev *pctldev, unsigned int selector) argument
46 da850_pupd_get_group_pins(struct pinctrl_dev *pctldev, unsigned int selector, const unsigned int **pins, unsigned int *num_pins) argument
64 da850_pupd_pin_config_group_get(struct pinctrl_dev *pctldev, unsigned int selector, unsigned long *config) argument
100 da850_pupd_pin_config_group_set(struct pinctrl_dev *pctldev, unsigned int selector, unsigned long *configs, unsigned int num_configs) argument
[all...]
H A Dpinctrl-mlxbf3.c131 unsigned int selector)
133 return mlxbf3_pinctrl_single_group_names[selector];
137 unsigned int selector,
142 *pins = &selector;
173 unsigned int selector)
175 return mlxbf3_pmx_funcs[selector].name;
179 unsigned int selector,
183 *groups = mlxbf3_pmx_funcs[selector].groups;
190 unsigned int selector,
195 if (selector
130 mlxbf3_get_group_name(struct pinctrl_dev *pctldev, unsigned int selector) argument
136 mlxbf3_get_group_pins(struct pinctrl_dev *pctldev, unsigned int selector, const unsigned int **pins, unsigned int *num_pins) argument
172 mlxbf3_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned int selector) argument
178 mlxbf3_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned int selector, const char * const **groups, unsigned int * const num_groups) argument
189 mlxbf3_pmx_set(struct pinctrl_dev *pctldev, unsigned int selector, unsigned int group) argument
[all...]
H A Dpinctrl-loongson2.c172 unsigned int selector)
174 return loongson2_pmx_groups[selector].grp.name;
177 static int loongson2_get_group_pins(struct pinctrl_dev *pcdev, unsigned int selector, argument
180 *pins = loongson2_pmx_groups[selector].grp.pins;
181 *num_pins = loongson2_pmx_groups[selector].grp.npins;
229 unsigned int selector)
231 return loongson2_pmx_functions[selector].name;
235 unsigned int selector,
239 *groups = loongson2_pmx_functions[selector].groups;
240 *num_groups = loongson2_pmx_functions[selector]
171 loongson2_get_group_name(struct pinctrl_dev *pcdev, unsigned int selector) argument
228 loongson2_pmx_get_func_name(struct pinctrl_dev *pcdev, unsigned int selector) argument
234 loongson2_pmx_get_groups(struct pinctrl_dev *pcdev, unsigned int selector, const char * const **groups, unsigned int * const num_groups) argument
[all...]
H A Dpinconf.c77 int selector, ret; local
96 selector = pinctrl_get_group_selector(pctldev, pin_group);
97 if (selector < 0) {
98 ret = selector;
102 ret = ops->pin_config_group_get(pctldev, selector, config);
336 struct seq_file *s, unsigned int selector,
344 ops->pin_config_group_dbg_show(pctldev, s, selector);
352 unsigned int selector = 0; local
357 while (selector < ngroups) {
358 const char *gname = pctlops->get_group_name(pctldev, selector);
335 pinconf_dump_group(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned int selector, const char *gname) argument
[all...]
H A Dpinctrl-tps6594.c208 unsigned int selector)
212 return pinctrl->funcs[selector].pinfunction.name;
216 unsigned int selector,
222 *groups = pinctrl->funcs[selector].pinfunction.groups;
223 *num_groups = pinctrl->funcs[selector].pinfunction.ngroups;
283 unsigned int selector, const unsigned int **pins,
288 *pins = &pinctrl->pins[selector].number;
295 unsigned int selector)
299 return pinctrl->pins[selector].name;
207 tps6594_pmx_func_name(struct pinctrl_dev *pctldev, unsigned int selector) argument
215 tps6594_pmx_func_groups(struct pinctrl_dev *pctldev, unsigned int selector, const char *const **groups, unsigned int *num_groups) argument
282 tps6594_group_pins(struct pinctrl_dev *pctldev, unsigned int selector, const unsigned int **pins, unsigned int *num_pins) argument
294 tps6594_group_name(struct pinctrl_dev *pctldev, unsigned int selector) argument
H A Dpinmux.h152 unsigned int selector);
155 unsigned int selector,
160 unsigned int selector);
169 unsigned int selector);
/linux-master/drivers/md/
H A Ddm-ps-round-robin.c10 * Round-robin path selector.
15 #include "dm-path-selector.h"
47 * Round-robin selector
50 struct selector { struct
56 static struct selector *alloc_selector(void)
58 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL);
71 struct selector *s;
83 struct selector *s = ps->context;
124 struct selector *s = ps->context;
168 struct selector *
[all...]
H A Ddm-ps-service-time.c9 * Throughput oriented path selector.
13 #include "dm-path-selector.h"
25 struct selector { struct
39 static struct selector *alloc_selector(void)
41 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL);
54 struct selector *s = alloc_selector();
75 struct selector *s = ps->context;
115 struct selector *s = ps->context;
178 struct selector *s = ps->context;
189 struct selector *
[all...]
H A Ddm-ps-queue-length.c13 * queue-length path selector - choose a path with the least number of
18 #include "dm-path-selector.h"
30 struct selector { struct
43 static struct selector *alloc_selector(void)
45 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL);
58 struct selector *s = alloc_selector();
79 struct selector *s = ps->context;
93 /* When called with NULL path, return selector status/args. */
118 struct selector *s = ps->context;
166 struct selector *
[all...]
/linux-master/tools/testing/selftests/syscall_user_dispatch/
H A Dsud_benchmark.c36 * To test returning from a sigsys with selector blocked, the test
59 char selector; variable
60 #define SYSCALL_BLOCK (selector = SYSCALL_DISPATCH_FILTER_BLOCK)
61 #define SYSCALL_UNBLOCK (selector = SYSCALL_DISPATCH_FILTER_ALLOW)
166 &selector)) {
175 if (selector == SYSCALL_DISPATCH_FILTER_ALLOW) {
176 fprintf(stderr, "Failed to return with selector blocked.\n");
/linux-master/drivers/pinctrl/visconti/
H A Dpinctrl-common.c123 unsigned int selector,
132 pins = priv->devdata->groups[selector].pins;
133 num_pins = priv->devdata->groups[selector].nr_pins;
136 __func__, selector, num_pins, num_configs);
163 unsigned int selector)
167 return priv->devdata->groups[selector].name;
171 unsigned int selector,
177 *pins = priv->devdata->groups[selector].pins;
178 *num_pins = priv->devdata->groups[selector].nr_pins;
200 unsigned int selector)
122 visconti_pin_config_group_set(struct pinctrl_dev *pctldev, unsigned int selector, unsigned long *configs, unsigned int num_configs) argument
162 visconti_get_group_name(struct pinctrl_dev *pctldev, unsigned int selector) argument
170 visconti_get_group_pins(struct pinctrl_dev *pctldev, unsigned int selector, const unsigned int **pins, unsigned int *num_pins) argument
199 visconti_get_function_name(struct pinctrl_dev *pctldev, unsigned int selector) argument
207 visconti_get_function_groups(struct pinctrl_dev *pctldev, unsigned int selector, const char * const **groups, unsigned * const num_groups) argument
[all...]
/linux-master/drivers/regulator/
H A Dhelpers.c299 int selector = 0; local
312 selector = i;
317 return selector;
465 unsigned int selector = 0; local
481 selector += linear_range_values_in_range(range);
488 selector += linear_range_values_in_range(range);
492 ret = selector + sel - range->min_sel;
502 selector += linear_range_values_in_range(range);
518 * @selector: Selector to convert into a voltage
527 unsigned int selector)
526 regulator_desc_list_voltage_linear(const struct regulator_desc *desc, unsigned int selector) argument
551 regulator_list_voltage_linear(struct regulator_dev *rdev, unsigned int selector) argument
567 regulator_list_voltage_pickable_linear_range(struct regulator_dev *rdev, unsigned int selector) argument
620 regulator_desc_list_voltage_linear_range(const struct regulator_desc *desc, unsigned int selector) argument
648 regulator_list_voltage_linear_range(struct regulator_dev *rdev, unsigned int selector) argument
665 regulator_list_voltage_table(struct regulator_dev *rdev, unsigned int selector) argument
[all...]
H A Dad5398.c31 unsigned selector)
35 return chip->min_uA + (selector * range_uA / chip->current_level);
89 unsigned selector; local
101 selector = DIV_ROUND_UP((min_uA - chip->min_uA) * chip->current_level,
103 if (ad5398_calc_current(chip, selector) > max_uA)
107 ad5398_calc_current(chip, selector));
115 selector = (selector << chip->current_offset) & chip->current_mask;
116 data = (unsigned short)selector | (data & AD5398_CURRENT_EN_MASK);
30 ad5398_calc_current(struct ad5398_chip_info *chip, unsigned selector) argument
/linux-master/drivers/media/usb/uvc/
H A Duvc_ctrl.c42 .selector = UVC_PU_BRIGHTNESS_CONTROL,
51 .selector = UVC_PU_CONTRAST_CONTROL,
60 .selector = UVC_PU_HUE_CONTROL,
70 .selector = UVC_PU_SATURATION_CONTROL,
79 .selector = UVC_PU_SHARPNESS_CONTROL,
88 .selector = UVC_PU_GAMMA_CONTROL,
97 .selector = UVC_PU_WHITE_BALANCE_TEMPERATURE_CONTROL,
107 .selector = UVC_PU_WHITE_BALANCE_COMPONENT_CONTROL,
117 .selector = UVC_PU_BACKLIGHT_COMPENSATION_CONTROL,
126 .selector
2052 u8 selector; member in struct:uvc_ctrl_fixup
[all...]
/linux-master/tools/testing/selftests/ptrace/
H A Dget_set_sud.c45 ASSERT_EQ(config.selector, 0);
50 config.selector = 0;
65 ASSERT_EQ(config.selector, 0);

Completed in 242 milliseconds

1234567891011>>