Home
last modified time | relevance | path

Searched refs:pin_index (Results 1 – 16 of 16) sorted by relevance

/linux-6.3-rc2/drivers/ptp/
A Dptp_chardev.c121 unsigned int i, pin_index; in ptp_ioctl() local
377 pin_index = pd.index; in ptp_ioctl()
378 if (pin_index >= ops->n_pins) { in ptp_ioctl()
382 pin_index = array_index_nospec(pin_index, ops->n_pins); in ptp_ioctl()
385 pd = ops->pin_config[pin_index]; in ptp_ioctl()
409 pin_index = pd.index; in ptp_ioctl()
410 if (pin_index >= ops->n_pins) { in ptp_ioctl()
414 pin_index = array_index_nospec(pin_index, ops->n_pins); in ptp_ioctl()
417 err = ptp_set_pinfunc(ptp, pin_index, pd.func, pd.chan); in ptp_ioctl()
/linux-6.3-rc2/drivers/pinctrl/ti/
A Dpinctrl-ti-iodelay.c429 int *pins, int pin_index, void *data) in ti_iodelay_node_iterator() argument
451 cfg[pin_index].offset = pinctrl_spec->args[0]; in ti_iodelay_node_iterator()
452 cfg[pin_index].a_delay = pinctrl_spec->args[1] & 0xffff; in ti_iodelay_node_iterator()
453 cfg[pin_index].g_delay = pinctrl_spec->args[2] & 0xffff; in ti_iodelay_node_iterator()
455 pin = ti_iodelay_offset_to_pin(iod, cfg[pin_index].offset); in ti_iodelay_node_iterator()
458 np, cfg[pin_index].offset); in ti_iodelay_node_iterator()
461 pins[pin_index] = pin; in ti_iodelay_node_iterator()
464 pd->drv_data = &cfg[pin_index]; in ti_iodelay_node_iterator()
467 np, cfg[pin_index].offset, cfg[pin_index].a_delay, in ti_iodelay_node_iterator()
468 cfg[pin_index].g_delay); in ti_iodelay_node_iterator()
/linux-6.3-rc2/drivers/input/keyboard/
A Dtca6416-keypad.c92 int error, i, pin_index; in tca6416_keys_scan() local
104 for (i = 0, pin_index = 0; i < 16; i++) { in tca6416_keys_scan()
106 struct tca6416_button *button = &chip->buttons[pin_index]; in tca6416_keys_scan()
116 pin_index++; in tca6416_keys_scan()
/linux-6.3-rc2/drivers/gpio/
A Dgpiolib-acpi.c743 u16 pin_index; member
760 u16 pin_index; in acpi_populate_gpio_lookup() local
768 pin_index = lookup->pin_index; in acpi_populate_gpio_lookup()
769 if (pin_index >= agpio->pin_table_length) in acpi_populate_gpio_lookup()
773 desc = gpio_to_desc(agpio->pin_table[pin_index]); in acpi_populate_gpio_lookup()
776 agpio->pin_table[pin_index]); in acpi_populate_gpio_lookup()
859 lookup->pin_index = args.args[1]; in acpi_gpio_property_lookup()
914 lookup.pin_index, lookup.active_low); in acpi_get_gpiod_by_index()
1128 u16 pin_index = address; in acpi_gpio_adr_space_handler() local
1151 length = min_t(u16, agpio->pin_table_length, pin_index + bits); in acpi_gpio_adr_space_handler()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_ptp.c372 pin_index, start, (u32)period); in aq_ptp_hw_pin_conf()
376 pin_index, start, (u32)period); in aq_ptp_hw_pin_conf()
382 aq_nic->aq_hw_ops->hw_gpio_pulse(aq_nic->aq_hw, pin_index, in aq_ptp_hw_pin_conf()
397 u32 pin_index = rq->perout.index; in aq_ptp_perout_pin_configure() local
400 if (pin_index >= ptp->n_per_out) in aq_ptp_perout_pin_configure()
421 aq_ptp_hw_pin_conf(aq_nic, pin_index, start, period); in aq_ptp_perout_pin_configure()
432 u32 pin_index = 0; in aq_ptp_pps_pin_configure() local
436 if (pin_index >= ptp->n_per_out) in aq_ptp_pps_pin_configure()
445 aq_ptp_hw_pin_conf(aq_nic, pin_index, start, period); in aq_ptp_pps_pin_configure()
465 u32 pin_index = rq->extts.index; in aq_ptp_extts_pin_configure() local
[all …]
/linux-6.3-rc2/tools/testing/selftests/ptp/
A Dtestptp.c178 int pin_index = -1, pin_func; in main() local
222 cnt = sscanf(optarg, "%d,%d", &pin_index, &pin_func); in main()
367 if (pin_index >= 0) { in main()
369 desc.index = pin_index; in main()
/linux-6.3-rc2/sound/soc/intel/avs/
A Dtopology.h53 u32 pin_index; member
A Dpath.c500 pin->pin_index = tpin->pin_index; in avs_modext_create()
A Dmessages.h663 u32 pin_index; member
A Dtopology.c795 .offset = offsetof(struct avs_tplg_pin_format, pin_index),
/linux-6.3-rc2/sound/soc/intel/skylake/
A Dskl-messages.c513 pin_fmt->pin_idx = pin_res->pin_index; in skl_set_base_ext_module_format()
516 format = &fmt->inputs[pin_res->pin_index].fmt; in skl_set_base_ext_module_format()
524 pin_fmt->pin_idx = pin_res->pin_index; in skl_set_base_ext_module_format()
527 format = &fmt->outputs[pin_res->pin_index].fmt; in skl_set_base_ext_module_format()
A Dskl-topology.c2088 int pin_index) in skl_tplg_fill_pin() argument
2094 m_pin[pin_index].id.module_id = tkn_elem->value; in skl_tplg_fill_pin()
2098 m_pin[pin_index].id.instance_id = tkn_elem->value; in skl_tplg_fill_pin()
2102 ret = skl_tplg_get_uuid(dev, &m_pin[pin_index].id.mod_uuid, in skl_tplg_fill_pin()
2263 m_pin->pin_index = tkn_elem->value; in skl_tplg_manifest_pin_res_tkn()
2346 static int pin_index, dir, conf_idx; in skl_tplg_get_token() local
2429 ret = skl_tplg_fill_res_tkn(dev, tkn_elem, res, pin_index, dir); in skl_tplg_get_token()
2512 pin_index = (tkn_elem->value & in skl_tplg_get_token()
2526 tkn_elem->value, dir, pin_index); in skl_tplg_get_token()
2538 pin_index); in skl_tplg_get_token()
A Dskl-topology.h358 u8 pin_index; member
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_ptp.c540 int pin_index; in i40e_ptp_enable_pin() local
558 pin_index = ptp_find_pin(pf->ptp_clock, func, chan); in i40e_ptp_enable_pin()
559 if (pin_index < 0) in i40e_ptp_enable_pin()
562 switch (pin_index) { in i40e_ptp_enable_pin()
/linux-6.3-rc2/drivers/acpi/acpica/
A Damlresrc.h561 u32 pin_index,
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Dsh_css.c7981 int pin_index, in ia_css_pipe_override_frame_format() argument
7986 IA_CSS_ENTER_PRIVATE("pipe = %p, pin_index = %d, new_formats = %d", pipe, pin_index, new_format); in ia_css_pipe_override_frame_format()
7994 if (0 != pin_index && 1 != pin_index) { in ia_css_pipe_override_frame_format()
8008 if (pin_index == 0) in ia_css_pipe_override_frame_format()

Completed in 58 milliseconds