Searched refs:selector (Results 1 - 25 of 300) 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 Dpinmux.h152 unsigned int selector);
155 unsigned int selector,
160 unsigned int selector);
169 unsigned int selector);
/linux-master/drivers/firmware/arm_scmi/
H A Dpinctrl.c175 u32 selector,
184 if (selector >= value || value == 0)
192 u32 selector, char *name,
204 ret = scmi_pinctrl_validate_id(ph, selector, type);
215 tx->identifier = cpu_to_le32(selector);
238 selector, (u32 *)&type, name,
244 u32 selector; member in struct:scmi_pinctrl_ipriv
256 msg->identifier = cpu_to_le32(p->selector);
287 u32 selector,
299 .selector
174 scmi_pinctrl_validate_id(const struct scmi_protocol_handle *ph, u32 selector, enum scmi_pinctrl_selector_type type) argument
190 scmi_pinctrl_attributes(const struct scmi_protocol_handle *ph, enum scmi_pinctrl_selector_type type, u32 selector, char *name, u32 *n_elems) argument
286 scmi_pinctrl_list_associations(const struct scmi_protocol_handle *ph, u32 selector, enum scmi_pinctrl_selector_type type, u16 size, u32 *array) argument
322 u32 selector; member in struct:scmi_settings_get_ipriv
394 scmi_pinctrl_settings_get(const struct scmi_protocol_handle *ph, u32 selector, enum scmi_pinctrl_selector_type type, unsigned int *nr_configs, enum scmi_pinctrl_conf_type *config_types, u32 *config_values) argument
436 scmi_pinctrl_settings_get_one(const struct scmi_protocol_handle *ph, u32 selector, enum scmi_pinctrl_selector_type type, enum scmi_pinctrl_conf_type config_type, u32 *config_value) argument
448 scmi_pinctrl_settings_get_all(const struct scmi_protocol_handle *ph, u32 selector, enum scmi_pinctrl_selector_type type, unsigned int *nr_configs, enum scmi_pinctrl_conf_type *config_types, u32 *config_values) argument
463 scmi_pinctrl_settings_conf(const struct scmi_protocol_handle *ph, u32 selector, enum scmi_pinctrl_selector_type type, u32 nr_configs, enum scmi_pinctrl_conf_type *config_type, u32 *config_value) argument
598 scmi_pinctrl_get_group_info(const struct scmi_protocol_handle *ph, u32 selector, struct scmi_group_info *group) argument
631 scmi_pinctrl_get_group_name(const struct scmi_protocol_handle *ph, u32 selector, const char **name) argument
656 scmi_pinctrl_group_pins_get(const struct scmi_protocol_handle *ph, u32 selector, const u32 **pins, u32 *nr_pins) argument
683 scmi_pinctrl_get_function_info(const struct scmi_protocol_handle *ph, u32 selector, struct scmi_function_info *func) argument
715 scmi_pinctrl_get_function_name(const struct scmi_protocol_handle *ph, u32 selector, const char **name) argument
740 scmi_pinctrl_function_groups_get(const struct scmi_protocol_handle *ph, u32 selector, u32 *nr_groups, const u32 **groups) argument
767 scmi_pinctrl_mux_set(const struct scmi_protocol_handle *ph, u32 selector, u32 group) argument
773 scmi_pinctrl_get_pin_info(const struct scmi_protocol_handle *ph, u32 selector, struct scmi_pin_info *pin) argument
789 scmi_pinctrl_get_pin_name(const struct scmi_protocol_handle *ph, u32 selector, const char **name) argument
813 scmi_pinctrl_name_get(const struct scmi_protocol_handle *ph, u32 selector, enum scmi_pinctrl_selector_type type, const char **name) argument
[all...]
/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...]
/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.c178 * written if the range changed, even if the old selector was same as
316 int selector = 0; local
329 selector = i;
334 return selector;
482 unsigned int selector = 0; local
498 selector += linear_range_values_in_range(range);
505 selector += linear_range_values_in_range(range);
509 ret = selector + sel - range->min_sel;
519 selector += linear_range_values_in_range(range);
535 * @selector
543 regulator_desc_list_voltage_linear(const struct regulator_desc *desc, unsigned int selector) argument
568 regulator_list_voltage_linear(struct regulator_dev *rdev, unsigned int selector) argument
584 regulator_list_voltage_pickable_linear_range(struct regulator_dev *rdev, unsigned int selector) argument
637 regulator_desc_list_voltage_linear_range(const struct regulator_desc *desc, unsigned int selector) argument
665 regulator_list_voltage_linear_range(struct regulator_dev *rdev, unsigned int selector) argument
682 regulator_list_voltage_table(struct regulator_dev *rdev, unsigned int selector) argument
[all...]
H A Dsun20i-regulator.c23 unsigned int selector)
28 if (selector >= desc->n_voltages)
31 uV = desc->min_uV + (desc->uV_step * selector);
32 fraction = selector + (desc->min_uV % 4);
22 sun20i_d1_system_ldo_list_voltage(struct regulator_dev *rdev, unsigned int 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
2054 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);
/linux-master/tools/testing/selftests/net/
H A Dlib.sh194 local selector=${1:-.packets}; shift
197 | jq ".[1].options.actions[].stats$selector"
204 local selector=${1:-.packets}; shift
209 .options.actions[0].stats$selector"

Completed in 363 milliseconds

1234567891011>>