Home
last modified time | relevance | path

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

/drivers/acpi/acpica/
Drsserial.c62 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.gpio.pin_config),
63 AML_OFFSET(gpio.pin_config),
135 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.pin_function.pin_config),
136 AML_OFFSET(pin_function.pin_config),
517 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.pin_config.revision_id),
518 AML_OFFSET(pin_config.revision_id),
521 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_config.shareable),
522 AML_OFFSET(pin_config.flags),
525 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.pin_config.producer_consumer),
526 AML_OFFSET(pin_config.flags),
[all …]
Drscalc.c346 pin_config. in acpi_rs_get_aml_length()
348 resource->data.pin_config. in acpi_rs_get_aml_length()
351 resource->data.pin_config. in acpi_rs_get_aml_length()
613 if (aml_resource->pin_config.vendor_length) { in acpi_rs_get_list_length()
615 aml_resource->pin_config.vendor_offset - in acpi_rs_get_list_length()
616 aml_resource->pin_config.pin_table_offset + in acpi_rs_get_list_length()
617 aml_resource->pin_config.vendor_length; in acpi_rs_get_list_length()
622 aml_resource->pin_config.pin_table_offset; in acpi_rs_get_list_length()
Drsdumpinfo.c256 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(gpio.pin_config), "PinConfig",
286 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(pin_function.pin_config), "PinConfig",
307 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(pin_config.revision_id), "RevisionId",
309 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_config.producer_consumer),
311 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(pin_config.shareable), "Sharing",
313 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(pin_config.pin_config_type),
315 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(pin_config.pin_config_value),
317 {ACPI_RSD_SOURCE, ACPI_RSD_OFFSET(pin_config.resource_source),
319 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(pin_config.pin_table_length),
321 {ACPI_RSD_WORDLIST, ACPI_RSD_OFFSET(pin_config.pin_table), "PinTable",
[all …]
Damlresrc.h279 u8 pin_config; member
379 u8 pin_config; member
515 struct aml_resource_pin_config pin_config; member
/drivers/pinctrl/renesas/
Dpinctrl-rzn1.c216 u32 pin_config, u8 use_locks) in rzn1_set_hw_pin_func() argument
224 if (pin_config >= RZN1_FUNC_MDIO0_HIGHZ && in rzn1_set_hw_pin_func()
225 pin_config <= RZN1_FUNC_MDIO1_E1_SWITCH) { in rzn1_set_hw_pin_func()
229 if (pin_config <= RZN1_FUNC_MDIO1_HIGHZ) in rzn1_set_hw_pin_func()
235 if (pin_config <= RZN1_FUNC_MDIO0_SWITCH) { in rzn1_set_hw_pin_func()
236 mdio_func = pin_config - RZN1_FUNC_MDIO0_HIGHZ; in rzn1_set_hw_pin_func()
237 pin_config = RZN1_FUNC_ETH_MDIO; in rzn1_set_hw_pin_func()
238 } else if (pin_config <= RZN1_FUNC_MDIO0_E1_SWITCH) { in rzn1_set_hw_pin_func()
239 mdio_func = pin_config - RZN1_FUNC_MDIO0_E1_HIGHZ; in rzn1_set_hw_pin_func()
240 pin_config = RZN1_FUNC_ETH_MDIO_E1; in rzn1_set_hw_pin_func()
[all …]
/drivers/pinctrl/
Dpinctrl-da9062.c41 unsigned int pin_config[DA9062_GPIO_NUM]; member
75 pctl->pin_config[offset] = mode_req; in da9062_pctl_set_pin_mode()
172 unsigned int pin_config = pctl->pin_config[offset]; in da9062_gpio_direction_output() local
175 ret = da9062_pctl_set_pin_mode(pctl, offset, pin_config); in da9062_gpio_direction_output()
270 for (i = 0; i < ARRAY_SIZE(pctl->pin_config); i++) in da9062_pctl_probe()
271 pctl->pin_config[i] = DA9062_PIN_GPO_PP; in da9062_pctl_probe()
/drivers/gpio/
Dgpio-max730x.c52 u8 offset_bits, pin_config; in max7301_direction_input() local
62 pin_config = PIN_CONFIG_IN_PULLUP; in max7301_direction_input()
64 pin_config = PIN_CONFIG_IN_WO_PULLUP; in max7301_direction_input()
69 | (pin_config << offset_bits); in max7301_direction_input()
Dgpiolib-acpi.h27 int pin_config; member
Dgpiolib-acpi.c543 switch (agpio->pin_config) { in acpi_gpio_to_gpiod_flags()
616 switch (info->pin_config) { in acpi_gpio_update_gpiod_lookup_flags()
671 lookup->info.pin_config = agpio->pin_config; in acpi_populate_gpio_lookup()
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c509 clock->ptp_info.pin_config = in mlx5_init_pin_config()
511 sizeof(*clock->ptp_info.pin_config), in mlx5_init_pin_config()
513 if (!clock->ptp_info.pin_config) in mlx5_init_pin_config()
520 snprintf(clock->ptp_info.pin_config[i].name, in mlx5_init_pin_config()
521 sizeof(clock->ptp_info.pin_config[i].name), in mlx5_init_pin_config()
523 clock->ptp_info.pin_config[i].index = i; in mlx5_init_pin_config()
524 clock->ptp_info.pin_config[i].func = mlx5_get_pps_pin_mode(clock, i); in mlx5_init_pin_config()
525 clock->ptp_info.pin_config[i].chan = 0; in mlx5_init_pin_config()
571 switch (clock->ptp_info.pin_config[pin].func) { in mlx5_pps_event()
604 clock->ptp_info.pin_config[pin].func); in mlx5_pps_event()
[all …]
/drivers/ptp/
Dptp_sysfs.c206 if (!strcmp(ptp->info->pin_config[i].name, name)) in ptp_pin_name2index()
226 func = ptp->info->pin_config[index].func; in ptp_pin_show()
227 chan = ptp->info->pin_config[index].chan; in ptp_pin_show()
279 da->attr.name = info->pin_config[i].name; in ptp_populate_pin_groups()
Dptp_chardev.c52 struct ptp_pin_desc *pin1 = NULL, *pin2 = &info->pin_config[pin]; in ptp_set_pinfunc()
57 if (info->pin_config[i].func == func && in ptp_set_pinfunc()
58 info->pin_config[i].chan == chan) { in ptp_set_pinfunc()
59 pin1 = &info->pin_config[i]; in ptp_set_pinfunc()
385 pd = ops->pin_config[pin_index]; in ptp_ioctl()
Dptp_clock.c362 if (ptp->info->pin_config[i].func == func && in ptp_find_pin()
363 ptp->info->pin_config[i].chan == chan) { in ptp_find_pin()
364 pin = &ptp->info->pin_config[i]; in ptp_find_pin()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c514 if (!ptp->pin_config || pin >= ptp->n_pins) in aq_ptp_verify()
518 if (chan != ptp->pin_config[pin].chan) in aq_ptp_verify()
522 if (func != ptp->pin_config[pin].func) in aq_ptp_verify()
1043 .pin_config = NULL,
1141 info->pin_config = kcalloc(info->n_pins, sizeof(struct ptp_pin_desc), in aq_ptp_gpio_init()
1144 if (!info->pin_config) in aq_ptp_gpio_init()
1147 memcpy(info->pin_config, &pin_desc, in aq_ptp_gpio_init()
1244 kfree(aq_ptp->ptp_info.pin_config); in aq_ptp_init()
1277 kfree(aq_ptp->ptp_info.pin_config); in aq_ptp_free()
/drivers/net/dsa/mv88e6xxx/
Dptp.c477 struct ptp_pin_desc *ppd = &chip->pin_config[i]; in mv88e6xxx_ptp_setup()
483 chip->ptp_clock_info.pin_config = chip->pin_config; in mv88e6xxx_ptp_setup()
Dchip.h337 struct ptp_pin_desc pin_config[MV88E6XXX_MAX_GPIO]; member
/drivers/net/ethernet/microchip/
Dlan743x_ptp.h71 struct ptp_pin_desc pin_config[LAN743X_PTP_N_GPIO]; member
Dlan743x_ptp.c1009 struct ptp_pin_desc *ptp_pin = &ptp->pin_config[i]; in lan743x_ptp_open()
1026 ptp->ptp_clock_info.pin_config = ptp->pin_config; in lan743x_ptp_open()
/drivers/net/phy/
Ddp83640.c528 if (clock->caps.pin_config[pin].func == PTP_PF_PHYSYNC && in ptp_dp83640_verify()
995 kfree(clock->caps.pin_config); in dp83640_free_clocks()
1026 dp83640_gpio_defaults(clock->caps.pin_config); in dp83640_clock_init()
1077 clock->caps.pin_config = kcalloc(DP83640_N_PINS, in dp83640_clock_get_bus()
1080 if (!clock->caps.pin_config) { in dp83640_clock_get_bus()
/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c61 struct omap_dsi_pin_config pin_config; member
588 if (ddata->pin_config.num_pins > 0) { in dsicm_power_on()
589 r = in->ops.dsi->configure_pins(in, &ddata->pin_config); in dsicm_power_on()
/drivers/gpu/drm/omapdrm/displays/
Dpanel-dsi-cm.c71 struct omap_dsi_pin_config pin_config; member
626 if (ddata->pin_config.num_pins > 0) { in dsicm_power_on()
627 r = src->ops->dsi.configure_pins(src, &ddata->pin_config); in dsicm_power_on()
/drivers/net/ethernet/mscc/
Docelot_ptp.c319 ocelot->ptp_info.pin_config = &ocelot->ptp_pins[0]; in ocelot_init_timestamp()
/drivers/net/dsa/sja1105/
Dsja1105_ptp.c858 .pin_config = &sja1105_ptp_pin, in sja1105_ptp_clock_register()
/drivers/net/ethernet/intel/igb/
Digb_ptp.c1252 adapter->ptp_caps.pin_config = adapter->sdp_config; in igb_ptp_init()
/drivers/pinctrl/samsung/
Dpinctrl-samsung.c37 static struct pin_config { struct