Home
last modified time | relevance | path

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

12345678910>>...20

/OK3568_Linux_fs/u-boot/drivers/pinctrl/
H A Dpinctrl-generic.c22 unsigned npins, selector; in pinctrl_pin_name_to_selector() local
32 for (selector = 0; selector < npins; selector++) { in pinctrl_pin_name_to_selector()
33 const char *pname = ops->get_pin_name(dev, selector); in pinctrl_pin_name_to_selector()
36 return selector; in pinctrl_pin_name_to_selector()
53 unsigned ngroups, selector; in pinctrl_group_name_to_selector() local
63 for (selector = 0; selector < ngroups; selector++) { in pinctrl_group_name_to_selector()
64 const char *gname = ops->get_group_name(dev, selector); in pinctrl_group_name_to_selector()
67 return selector; in pinctrl_group_name_to_selector()
85 unsigned nfuncs, selector = 0; in pinmux_func_name_to_selector() local
96 for (selector = 0; selector < nfuncs; selector++) { in pinmux_func_name_to_selector()
[all …]
H A Dpinctrl-sandbox.c52 static const char *sandbox_get_pin_name(struct udevice *dev, unsigned selector) in sandbox_get_pin_name() argument
54 return sandbox_pins[selector]; in sandbox_get_pin_name()
63 unsigned selector) in sandbox_get_group_name() argument
65 return sandbox_groups[selector]; in sandbox_get_group_name()
74 unsigned selector) in sandbox_get_function_name() argument
76 return sandbox_functions[selector]; in sandbox_get_function_name()
/OK3568_Linux_fs/kernel/lib/
H A Dlinear_ranges.c87 int linear_range_get_value(const struct linear_range *r, unsigned int selector, in linear_range_get_value() argument
90 if (r->min_sel > selector || r->max_sel < selector) in linear_range_get_value()
93 *val = r->min + (selector - r->min_sel) * r->step; 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()
118 return linear_range_get_value(&r[i], selector, val); in linear_range_get_value_array()
139 unsigned int val, unsigned int *selector, in linear_range_get_selector_low() argument
148 *selector = r->max_sel; in linear_range_get_selector_low()
155 *selector = r->min_sel; in linear_range_get_selector_low()
157 *selector = (val - r->min) / r->step + r->min_sel; in linear_range_get_selector_low()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/browser/
H A Dselenium_helpers_base.py154 def find(self, selector): argument
156 return self.driver.find_element_by_css_selector(selector)
158 def find_all(self, selector): argument
160 return self.driver.find_elements_by_css_selector(selector)
162 def element_exists(self, selector): argument
167 return len(self.find_all(selector)) == 1
173 def wait_until_present(self, selector): argument
175 is_present = lambda driver: self.find(selector)
176 msg = 'An element matching "%s" should be on the page' % selector
180 def wait_until_visible(self, selector): argument
[all …]
H A Dtest_builddashboard_page_artifacts.py116 selector = '[data-value="target-package-count"]'
117 self.assertFalse(self.element_exists(selector),
120 selector = '[data-value="target-package-size"]'
121 self.assertFalse(self.element_exists(selector),
124 selector = '[data-link="target-packages"]'
125 self.assertFalse(self.element_exists(selector),
178 selector = '[data-links="image-artifacts"] li'
179 self.assertTrue(self.element_exists(selector),
180 'should be a link to the image file (selector %s)' % selector)
189 selector = 'a[data-link="license-manifest"]'
[all …]
H A Dtest_most_recent_builds_states.py46 selector = base_selector + '[data-build-state="Queued"]'
47 element = self.wait_until_visible(selector)
61 selector = base_selector + '[data-build-state="Parsing"]'
62 element = self.wait_until_visible(selector)
75 element = self.wait_until_visible(selector)
95 selector = base_selector + '[data-build-state="Starting"]'
96 element = self.wait_until_visible(selector)
106 selector = base_selector + '[data-build-state="In Progress"]'
107 element = self.wait_until_visible(selector)
123 element = self.wait_until_visible(selector)
[all …]
H A Dtest_all_projects_page.py119 selector = 'span[data-project-field="release"] span.text-muted'
120 element = default_project_row.find_element_by_css_selector(selector)
129 selector = 'span[data-project-field="release"]'
130 element = other_project_row.find_element_by_css_selector(selector)
154 selector = 'span[data-project-field="machine"] span.text-muted'
155 element = default_project_row.find_element_by_css_selector(selector)
164 selector = 'span[data-project-field="machine"]'
165 element = other_project_row.find_element_by_css_selector(selector)
189 selector = 'span[data-project-field="name"] a'
190 element = default_project_row.find_element_by_css_selector(selector)
[all …]
H A Dtest_all_builds_page.py68 selector = 'div[data-latest-build-result="%s"] ' \
72 self.wait_until_present(selector)
74 build_time_spans = self.find_all(selector)
89 selector = 'td.target a[href="%s"]' % url
94 outcome_links = row.find_elements_by_css_selector(selector)
135 selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % default_build.id
136 run_again_button = self.find_all(selector)
141 selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % build1.id
142 run_again_button = self.find_all(selector)
163 selector = 'span.get-help'
[all …]
/OK3568_Linux_fs/yocto/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 …]
/OK3568_Linux_fs/kernel/drivers/media/usb/uvc/
H A Duvc_ctrl.c39 .selector = UVC_PU_BRIGHTNESS_CONTROL,
48 .selector = UVC_PU_CONTRAST_CONTROL,
57 .selector = UVC_PU_HUE_CONTROL,
67 .selector = UVC_PU_SATURATION_CONTROL,
76 .selector = UVC_PU_SHARPNESS_CONTROL,
85 .selector = UVC_PU_GAMMA_CONTROL,
94 .selector = UVC_PU_WHITE_BALANCE_TEMPERATURE_CONTROL,
104 .selector = UVC_PU_WHITE_BALANCE_COMPONENT_CONTROL,
114 .selector = UVC_PU_BACKLIGHT_COMPENSATION_CONTROL,
123 .selector = UVC_PU_GAIN_CONTROL,
[all …]
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-da850-pupd.c41 unsigned int selector) in da850_pupd_get_group_name() argument
43 return da850_pupd_group_names[selector]; in da850_pupd_get_group_name()
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()
[all …]
H A Dpinmux.c35 unsigned selector = 0; in pinmux_check_ops() local
48 while (selector < nfuncs) { in pinmux_check_ops()
50 selector); in pinmux_check_ops()
53 selector); in pinmux_check_ops()
56 selector++; in pinmux_check_ops()
324 unsigned selector = 0; in pinmux_func_name_to_selector() local
327 while (selector < nfuncs) { in pinmux_func_name_to_selector()
328 const char *fname = ops->get_function_name(pctldev, selector); in pinmux_func_name_to_selector()
331 return selector; in pinmux_func_name_to_selector()
333 selector++; in pinmux_func_name_to_selector()
[all …]
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()
100 ret = ops->pin_config_group_get(pctldev, selector, config); 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()
356 const char *gname = pctlops->get_group_name(pctldev, selector); in pinconf_groups_show()
[all …]
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dhelpers.c296 int selector = 0; in regulator_map_voltage_iterate() local
309 selector = i; in regulator_map_voltage_iterate()
314 return selector; in regulator_map_voltage_iterate()
462 unsigned int selector = 0; in regulator_map_voltage_pickable_linear_range() local
478 selector += linear_range_values_in_range(range); in regulator_map_voltage_pickable_linear_range()
485 selector += linear_range_values_in_range(range); in regulator_map_voltage_pickable_linear_range()
489 ret = selector + sel - range->min_sel; in regulator_map_voltage_pickable_linear_range()
499 selector += linear_range_values_in_range(range); in regulator_map_voltage_pickable_linear_range()
522 unsigned int selector) in regulator_list_voltage_linear() argument
524 if (selector >= rdev->desc->n_voltages) in regulator_list_voltage_linear()
[all …]
H A Dtps65910-regulator.c596 unsigned selector) in tps65910_set_voltage_dcdc_sel() argument
604 dcdc_mult = (selector / VDD1_2_NUM_VOLT_FINE) + 1; in tps65910_set_voltage_dcdc_sel()
607 vsel = (selector % VDD1_2_NUM_VOLT_FINE) + 3; in tps65910_set_voltage_dcdc_sel()
614 dcdc_mult = (selector / VDD1_2_NUM_VOLT_FINE) + 1; in tps65910_set_voltage_dcdc_sel()
617 vsel = (selector % VDD1_2_NUM_VOLT_FINE) + 3; in tps65910_set_voltage_dcdc_sel()
624 vsel = selector + 3; in tps65910_set_voltage_dcdc_sel()
633 unsigned selector) in tps65910_set_voltage_sel() argument
654 selector << LDO_SEL_SHIFT); in tps65910_set_voltage_sel()
657 selector << BBCH_BBSEL_SHIFT); in tps65910_set_voltage_sel()
664 unsigned selector) in tps65911_set_voltage_sel() argument
[all …]
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 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()
225 u8 selector = (max8660->shadow_regs[MAX8660_L12VCR] >> shift) & 0xf; in max8660_ldo67_get_voltage_sel() local
227 return selector; in max8660_ldo67_get_voltage_sel()
[all …]
/OK3568_Linux_fs/kernel/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()
178 *num_pins = priv->devdata->groups[selector].nr_pins; in visconti_get_group_pins()
200 unsigned int selector) in visconti_get_function_name() argument
[all …]
/OK3568_Linux_fs/u-boot/drivers/pinctrl/aspeed/
H A Dpinctrl_ast2500.c74 unsigned selector) in ast2500_pinctrl_get_group_name() argument
76 debug("PINCTRL: get_(function/group)_name %u\n", selector); in ast2500_pinctrl_get_group_name()
78 return ast2500_groups[selector].group_name; in ast2500_pinctrl_get_group_name()
81 static int ast2500_pinctrl_group_set(struct udevice *dev, unsigned selector, in ast2500_pinctrl_group_set() argument
88 debug("PINCTRL: group_set <%u, %u>\n", selector, func_selector); in ast2500_pinctrl_group_set()
89 if (selector >= ARRAY_SIZE(ast2500_groups)) in ast2500_pinctrl_group_set()
92 config = &ast2500_groups[selector]; in ast2500_pinctrl_group_set()
/OK3568_Linux_fs/kernel/drivers/pinctrl/cirrus/
H A Dpinctrl-madera-core.c452 unsigned int selector) in madera_get_group_name() argument
456 if (selector < priv->chip->n_pin_groups) in madera_get_group_name()
457 return priv->chip->pin_groups[selector].name; in madera_get_group_name()
459 selector -= priv->chip->n_pin_groups; in madera_get_group_name()
460 return madera_pin_single_group_names[selector]; in madera_get_group_name()
464 unsigned int selector, in madera_get_group_pins() argument
470 if (selector < priv->chip->n_pin_groups) { in madera_get_group_pins()
471 *pins = priv->chip->pin_groups[selector].pins; in madera_get_group_pins()
472 *num_pins = priv->chip->pin_groups[selector].n_pins; in madera_get_group_pins()
475 selector -= priv->chip->n_pin_groups; in madera_get_group_pins()
[all …]
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-round-robin.c46 struct selector { struct
52 static struct selector *alloc_selector(void) in alloc_selector() argument
54 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
67 struct selector *s; in rr_create()
79 struct selector *s = ps->context; in rr_destroy()
116 struct selector *s = ps->context; in rr_add_path()
160 struct selector *s = ps->context; in rr_fail_path()
171 struct selector *s = ps->context; in rr_reinstate_path()
184 struct selector *s = ps->context; in rr_select_path()
H A Ddm-historical-service-time.c44 struct selector { struct
130 static struct selector *alloc_selector(void) in alloc_selector()
132 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
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()
267 struct selector *s = ps->context; in hst_add_path()
318 struct selector *s = ps->context; in hst_fail_path()
[all …]
H A Ddm-queue-length.c29 struct selector { struct
42 static struct selector *alloc_selector(void) in alloc_selector() argument
44 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
57 struct selector *s = alloc_selector(); in ql_create()
78 struct selector *s = ps->context; in ql_destroy()
114 struct selector *s = ps->context; in ql_add_path()
162 struct selector *s = ps->context; in ql_fail_path()
173 struct selector *s = ps->context; in ql_reinstate_path()
189 struct selector *s = ps->context; in ql_select_path()
/OK3568_Linux_fs/kernel/sound/usb/
H A Dclock.c271 struct uac_clock_selector_descriptor *selector; in __uac_clock_find_source() local
297 selector = snd_usb_find_clock_selector(chip->ctrl_intf, entity_id); in __uac_clock_find_source()
298 if (selector) { in __uac_clock_find_source()
303 ret = uac_clock_selector_get_val(chip, selector->bClockID); in __uac_clock_find_source()
309 if (ret > selector->bNrInPins || ret < 1) { in __uac_clock_find_source()
312 __func__, selector->bClockID, ret); in __uac_clock_find_source()
319 selector->baCSourceID[ret - 1], in __uac_clock_find_source()
337 for (i = 1; i <= selector->bNrInPins; i++) { in __uac_clock_find_source()
342 selector->baCSourceID[i - 1], in __uac_clock_find_source()
375 struct uac3_clock_selector_descriptor *selector; in __uac3_clock_find_source() local
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dlinear_range.h34 int linear_range_get_value(const struct linear_range *r, unsigned int selector,
37 unsigned int selector, unsigned int *val);
39 unsigned int val, unsigned int *selector,
42 unsigned int val, unsigned int *selector,
46 unsigned int *selector, bool *found);

12345678910>>...20