/openbmc/u-boot/drivers/pinctrl/rockchip/ |
H A D | pinctrl-rockchip.h | 89 enum rockchip_pin_drv_type drv_type; member 156 { .drv_type = type0, .offset = -1 }, \ 157 { .drv_type = type1, .offset = -1 }, \ 158 { .drv_type = type2, .offset = -1 }, \ 159 { .drv_type = type3, .offset = -1 }, \ 177 { .drv_type = drv0, .offset = -1 }, \ 178 { .drv_type = drv1, .offset = -1 }, \ 179 { .drv_type = drv2, .offset = -1 }, \ 180 { .drv_type = drv3, .offset = -1 }, \ 203 { .drv_type = drv0, .offset = offset0 }, \ [all …]
|
H A D | pinctrl-rockchip-core.c | 262 int drv_type = bank->drv[pin_num / 8].drv_type & (~DRV_TYPE_IO_MASK); in rockchip_set_drive_perpin() local 270 for (i = 0; i < ARRAY_SIZE(rockchip_perpin_drv_list[drv_type]); i++) { in rockchip_set_drive_perpin() 271 if (rockchip_perpin_drv_list[drv_type][i] == strength) { in rockchip_set_drive_perpin() 274 } else if (rockchip_perpin_drv_list[drv_type][i] < 0) { in rockchip_set_drive_perpin() 275 ret = rockchip_perpin_drv_list[drv_type][i]; in rockchip_set_drive_perpin() 285 switch (drv_type) { in rockchip_set_drive_perpin() 319 bit, drv_type); in rockchip_set_drive_perpin() 330 drv_type); in rockchip_set_drive_perpin() 334 if (bank->drv[pin_num / 8].drv_type & DRV_TYPE_WRITABLE_32BIT) { in rockchip_set_drive_perpin() 726 if ((drv->drv_type == DRV_TYPE_IO_1V8_3V0_AUTO) || [all …]
|
H A D | pinctrl-rk3399.c | 100 if (bank->drv[drv_num].drv_type == DRV_TYPE_IO_1V8_3V0_AUTO || in rk3399_calc_drv_reg_and_bit() 101 bank->drv[drv_num].drv_type == DRV_TYPE_IO_3V3_ONLY) in rk3399_calc_drv_reg_and_bit()
|
/openbmc/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-core.c | 78 const char *pull_dir, *drv_type; in uniphier_pctl_pin_dbg_show() local 102 drv_type = "4/8(mA)"; in uniphier_pctl_pin_dbg_show() 105 drv_type = "8/12/16/20(mA)"; in uniphier_pctl_pin_dbg_show() 108 drv_type = "4/5/7/9/11/12/14/16(mA)"; in uniphier_pctl_pin_dbg_show() 111 drv_type = "4(mA)"; in uniphier_pctl_pin_dbg_show() 114 drv_type = "5(mA)"; in uniphier_pctl_pin_dbg_show() 117 drv_type = "8(mA)"; in uniphier_pctl_pin_dbg_show() 120 drv_type = "NONE"; in uniphier_pctl_pin_dbg_show() 126 seq_printf(s, " PULL_DIR=%s DRV_TYPE=%s", pull_dir, drv_type); in uniphier_pctl_pin_dbg_show() 779 enum uniphier_pin_drv_type drv_type; in uniphier_pinctrl_pm_init() local [all …]
|
H A D | pinctrl-uniphier.h | 89 #define UNIPHIER_PIN_ATTR_PACKED(iectrl, drvctrl, drv_type, pupdctrl, pull_dir)\ argument 92 UNIPHIER_PIN_DRV_TYPE(drv_type) | \
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-rockchip.c | 99 { .drv_type = type0, .offset = -1 }, \ 100 { .drv_type = type1, .offset = -1 }, \ 101 { .drv_type = type2, .offset = -1 }, \ 102 { .drv_type = type3, .offset = -1 }, \ 139 { .drv_type = drv0, .offset = -1 }, \ 140 { .drv_type = drv1, .offset = -1 }, \ 141 { .drv_type = drv2, .offset = -1 }, \ 142 { .drv_type = drv3, .offset = -1 }, \ 180 { .drv_type = drv0, .offset = offset0 }, \ 181 { .drv_type = drv1, .offset = offset1 }, \ [all …]
|
H A D | pinctrl-max77620.c | 90 enum max77620_pin_ppdrv drv_type; member 283 if (mpci->pin_info[pin].drv_type == MAX77620_PIN_OD_DRV) in max77620_pinconf_get() 288 if (mpci->pin_info[pin].drv_type == MAX77620_PIN_PP_DRV) in max77620_pinconf_get() 423 mpci->pin_info[pin].drv_type = val ? in max77620_pinconf_set() 436 mpci->pin_info[pin].drv_type = val ? in max77620_pinconf_set()
|
H A D | pinctrl-rockchip.h | 282 enum rockchip_pin_drv_type drv_type; member
|
/openbmc/u-boot/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 40 #define UNIPHIER_PIN_ATTR_PACKED(drvctrl, drv_type) \ argument 42 UNIPHIER_PIN_DRV_TYPE(drv_type)
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-pci-arasan.c | 190 u8 drv_type, u8 itap, u8 trim, u8 clk) in arasan_phy_set() argument 205 ret = arasan_phy_write(host, IOPAD(val, drv_type), IPAD_CTRL1); in arasan_phy_set() 280 host->mmc->ios.drv_type, 0x0, in arasan_select_phy_clock() 290 host->mmc->ios.drv_type, 0xa, in arasan_select_phy_clock()
|
H A D | sdhci.c | 2315 (sdhci_preset_needed(host, ios->timing) || host->drv_type != ios->drv_type); in sdhci_presetable_values_change() 2432 if (ios->drv_type == MMC_SET_DRIVER_TYPE_A) in sdhci_set_ios() 2434 else if (ios->drv_type == MMC_SET_DRIVER_TYPE_B) in sdhci_set_ios() 2436 else if (ios->drv_type == MMC_SET_DRIVER_TYPE_C) in sdhci_set_ios() 2438 else if (ios->drv_type == MMC_SET_DRIVER_TYPE_D) in sdhci_set_ios() 2447 host->drv_type = ios->drv_type; in sdhci_set_ios() 2458 ios->drv_type = FIELD_GET(SDHCI_PRESET_DRV_MASK, in sdhci_set_ios() 2460 host->drv_type = ios->drv_type; in sdhci_set_ios()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | sdio.c | 597 u8 drv_type; in gb_mmc_set_ios() local 694 switch (ios->drv_type) { in gb_mmc_set_ios() 696 drv_type = GB_SDIO_SET_DRIVER_TYPE_A; in gb_mmc_set_ios() 699 drv_type = GB_SDIO_SET_DRIVER_TYPE_C; in gb_mmc_set_ios() 702 drv_type = GB_SDIO_SET_DRIVER_TYPE_D; in gb_mmc_set_ios() 706 drv_type = GB_SDIO_SET_DRIVER_TYPE_B; in gb_mmc_set_ios() 709 request.drv_type = drv_type; in gb_mmc_set_ios()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | core.h | 54 void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type); 56 int card_drv_type, int *drv_type);
|
H A D | debugfs.c | 176 switch (ios->drv_type) { in mmc_ios_show() 193 seq_printf(s, "driver type:\t%u (%s)\n", ios->drv_type, str); in mmc_ios_show()
|
H A D | host.c | 278 u32 bus_width, drv_type, cd_debounce_delay_ms; in mmc_of_parse() local 414 if (device_property_read_u32(dev, "fixed-emmc-driver-type", &drv_type) == 0) { in mmc_of_parse() 416 host->fixed_drv_type = drv_type; in mmc_of_parse()
|
H A D | core.c | 994 host->ios.drv_type = 0; in mmc_set_initial_state() 1282 void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type) in mmc_set_driver_type() argument 1284 host->ios.drv_type = drv_type; in mmc_set_driver_type() 1289 int card_drv_type, int *drv_type) in mmc_select_drive_strength() argument 1294 *drv_type = 0; in mmc_select_drive_strength() 1318 drv_type); in mmc_select_drive_strength()
|
H A D | sdio.c | 484 int card_drv_type, drive_strength, drv_type; in sdio_select_driver_type() local 494 card_drv_type, &drv_type); in sdio_select_driver_type() 514 if (drv_type) in sdio_select_driver_type() 515 mmc_set_driver_type(card->host, drv_type); in sdio_select_driver_type()
|
H A D | sd.c | 425 int card_drv_type, drive_strength, drv_type; in sd_select_driver_type() local 434 card_drv_type, &drv_type); in sd_select_driver_type() 448 if (drv_type) in sd_select_driver_type() 449 mmc_set_driver_type(card->host, drv_type); in sd_select_driver_type()
|
H A D | mmc.c | 1341 int card_drv_type, drive_strength, drv_type = 0; in mmc_select_driver_type() local 1353 card_drv_type, &drv_type); in mmc_select_driver_type() 1357 if (drv_type) in mmc_select_driver_type() 1358 mmc_set_driver_type(card->host, drv_type); in mmc_select_driver_type()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pfrut.h | 127 __u8 drv_type[16]; member
|
/openbmc/u-boot/drivers/mmc/ |
H A D | aspeed_sdhci.c | 99 host->mmc->drv_type = dev_read_u32_default(dev, "sdhci-drive-type", 0); in aspeed_sdhci_probe()
|
/openbmc/linux/include/linux/mmc/ |
H A D | host.h | 73 unsigned char drv_type; /* driver type (A, B, C, D) */ member 207 int card_drv, int *drv_type);
|
/openbmc/linux/include/linux/pds/ |
H A D | pds_core_if.h | 94 __le32 drv_type; member
|
/openbmc/linux/tools/power/acpi/tools/pfrut/ |
H A D | pfrut.c | 182 uuid_unparse(cap->drv_type, uuid); in print_cap()
|
/openbmc/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | dev.c | 266 drv.drv_type = cpu_to_le32(PDS_DRIVER_LINUX); in pdsc_identify()
|