/linux/drivers/staging/rts5208/ |
H A D | rtsx_chip.h | 314 #define SD_CARD BIT(SD_NR) macro 388 #define CHK_SD(sd_card) (((sd_card)->sd_type & 0xFF) == TYPE_SD) argument 389 #define CHK_SD_HS(sd_card) (CHK_SD(sd_card) && \ argument 390 ((sd_card)->sd_type & SD_HS)) 391 #define CHK_SD_SDR50(sd_card) (CHK_SD(sd_card) && \ argument 392 ((sd_card)->sd_type & SD_SDR50)) 393 #define CHK_SD_DDR50(sd_card) (CHK_SD(sd_card) && \ argument 394 ((sd_card)->sd_type & SD_DDR50)) 395 #define CHK_SD_SDR104(sd_card) (CHK_SD(sd_card) && \ argument 396 ((sd_card)->sd_type & SD_SDR104)) [all …]
|
H A D | sd.c | 48 struct sd_info *sd_card = &chip->sd_card; in sd_set_err_code() local 50 sd_card->err_code |= err_code; in sd_set_err_code() 55 struct sd_info *sd_card = &chip->sd_card; in sd_clr_err_code() local 57 sd_card->err_code = 0; in sd_clr_err_code() 62 struct sd_info *sd_card = &chip->sd_card; in sd_check_err_code() local 64 return sd_card->err_code & err_code; in sd_check_err_code() 115 struct sd_info *sd_card = &chip->sd_card; local 165 retval = rtsx_send_cmd(chip, SD_CARD, timeout); 248 sd_card->sd_data_buf_ready = 1; 250 sd_card->sd_data_buf_ready = 0; [all …]
|
H A D | rtsx_card.c | 25 struct sd_info *sd_card = &chip->sd_card; in do_remaining_work() local 31 if (chip->card_ready & SD_CARD) { in do_remaining_work() 32 if (sd_card->seq_mode) { in do_remaining_work() 34 sd_card->cleanup_counter++; in do_remaining_work() 36 sd_card->cleanup_counter = 0; in do_remaining_work() 71 if (sd_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work() 143 chip->sd_reset_counter, chip->card2lun[SD_CARD]); in do_reset_sd_card() 145 if (chip->card2lun[SD_CARD] >= MAX_ALLOWED_LUN_CNT) { in do_reset_sd_card() 152 chip->rw_fail_cnt[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card() 158 if (chip->need_release & SD_CARD) in do_reset_sd_card() [all …]
|
H A D | rtsx_chip.c | 43 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_card_int() 70 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_bus_int() 135 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_old() 200 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_new() 216 retval = card_share_mode(chip, SD_CARD); in rtsx_pre_handle_sdio_new() 241 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_new() 756 struct sd_info *sd_card = &chip->sd_card; in rtsx_init_chip() local 768 memset(sd_card, 0, sizeof(struct sd_info)); in rtsx_init_chip() 860 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip() 863 chip->lun2card[0] = SD_CARD; in rtsx_init_chip() [all …]
|
H A D | rtsx_transport.c | 231 if (card == SD_CARD) in rtsx_send_cmd() 337 if (card == SD_CARD) in rtsx_transfer_sglist_adma_partial() 500 if (card == SD_CARD) in rtsx_transfer_sglist_adma() 650 if (card == SD_CARD) in rtsx_transfer_buf() 732 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data_partial() 761 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data()
|
H A D | rtsx_card.h | 1021 struct sd_info *sd_card = &chip->sd_card; in get_card_size() local 1023 if ((get_lun_card(chip, lun) == SD_CARD) && in get_card_size() 1024 (sd_card->sd_lock_status & SD_LOCKED)) in get_card_size()
|
H A D | rtsx.c | 454 struct sd_info *sd_card = &chip->sd_card; in rtsx_polling_thread() local 458 sd_card->cleanup_counter = 0; in rtsx_polling_thread()
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | sunplus,sp7021-pinctrl.yaml | 142 enum: [ SPI_FLASH, SPI_FLASH_4BIT, SPI_NAND, CARD0_EMMC, SD_CARD, 151 SPI_NAND, CARD0_EMMC, SD_CARD, UA0, FPGA_IFX, HDMI_TX1, 211 - SD_CARD 216 - SD_CARD 340 function = "SD_CARD"; 341 groups = "SD_CARD";
|
H A D | qcom,ipq8074-pinctrl.yaml | 86 qdss_tracedata_b, qpic, rx0, rx1, rx2, sd_card, sd_write,
|
H A D | qcom,sdx75-tlmm.yaml | 83 rgmii_rxd, rgmii_tx_ctl, rgmii_txc, rgmii_txd, sd_card, sdc1_tb,
|
H A D | qcom,ipq6018-pinctrl.yaml | 83 qdss_tracedata_a, qdss_tracedata_b, qpic_pad, reset_n, sd_card,
|
H A D | qcom,msm8916-pinctrl.yaml | 96 sd_card, sd_write, sec_mi2s, smb_int, ssbi_wtr0, ssbi_wtr1,
|
H A D | qcom,msm8998-pinctrl.yaml | 96 qua_mi2s, sd_card, sd_write, sdc40, sdc41, sdc42, sdc43,
|
H A D | qcom,sdx65-tlmm.yaml | 101 sd_card, tsif2_data, sdc41, tsif2_sync, sdc40, mdp_vsync_p_b,
|
H A D | qcom,msm8996-pinctrl.yaml | 111 sd_card, tsif2_data, sdc41, tsif2_sync, sdc40, mdp_vsync_p_b,
|
/linux/arch/arm/boot/dts/sunplus/ |
H A D | sunplus-sp7021.dtsi | 126 function = "SD_CARD"; 127 groups = "SD_CARD";
|
/linux/drivers/pinctrl/qcom/ |
H A D | pinctrl-ipq8074.c | 898 MSM_PIN_FUNCTION(sd_card), 1009 PINGROUP(63, sd_card, pwm0, NA, gcc_plltest, NA, NA, NA, NA, NA),
|
H A D | pinctrl-ipq6018.c | 960 MSM_PIN_FUNCTION(sd_card), 1037 PINGROUP(62, sd_card, _, _, _, _, _, _, _, _),
|
H A D | pinctrl-sdx75.c | 905 MSM_PIN_FUNCTION(sd_card), 1037 [105] = PINGROUP(105, sd_card, _, _, _, _, _, _, _, _, _),
|
H A D | pinctrl-msm8916.c | 791 MSM_PIN_FUNCTION(sd_card),
|
H A D | pinctrl-msm8998.c | 1300 MSM_PIN_FUNCTION(sd_card),
|
H A D | pinctrl-msm8996.c | 1616 MSM_PIN_FUNCTION(sd_card),
|
/linux/drivers/pinctrl/sunplus/ |
H A D | sppctl_sp7021.c | 154 EGRP("SD_CARD", 1, pins_sdsd), 560 FNCE("SD_CARD", pinmux_type_grp, 0x01, 6, 1, sp7021grps_sdsd),
|