/drivers/acpi/acpica/ |
D | rsserial.c | 62 {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 …]
|
D | rscalc.c | 346 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()
|
D | rsdumpinfo.c | 256 {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 …]
|
D | amlresrc.h | 279 u8 pin_config; member 379 u8 pin_config; member 515 struct aml_resource_pin_config pin_config; member
|
/drivers/pinctrl/renesas/ |
D | pinctrl-rzn1.c | 216 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/ |
D | pinctrl-da9062.c | 41 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/ |
D | gpio-max730x.c | 52 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()
|
D | gpiolib-acpi.h | 27 int pin_config; member
|
D | gpiolib-acpi.c | 543 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/ |
D | clock.c | 509 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/ |
D | ptp_sysfs.c | 206 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()
|
D | ptp_chardev.c | 52 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()
|
D | ptp_clock.c | 362 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/ |
D | aq_ptp.c | 514 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/ |
D | ptp.c | 477 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()
|
D | chip.h | 337 struct ptp_pin_desc pin_config[MV88E6XXX_MAX_GPIO]; member
|
/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.h | 71 struct ptp_pin_desc pin_config[LAN743X_PTP_N_GPIO]; member
|
D | lan743x_ptp.c | 1009 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/ |
D | dp83640.c | 528 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/ |
D | panel-dsi-cm.c | 61 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/ |
D | panel-dsi-cm.c | 71 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/ |
D | ocelot_ptp.c | 319 ocelot->ptp_info.pin_config = &ocelot->ptp_pins[0]; in ocelot_init_timestamp()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 858 .pin_config = &sja1105_ptp_pin, in sja1105_ptp_clock_register()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 1252 adapter->ptp_caps.pin_config = adapter->sdp_config; in igb_ptp_init()
|
/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 37 static struct pin_config { struct
|