Home
last modified time | relevance | path

Searched full:sd_card (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/staging/rts5208/
H A Drtsx_chip.h314 #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 Dsd.c48 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 Drtsx_card.c25 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 Drtsx_chip.c43 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 Drtsx_transport.c231 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 Drtsx_card.h1021 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 Drtsx.c454 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 Dsunplus,sp7021-pinctrl.yaml142 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 Dqcom,ipq8074-pinctrl.yaml86 qdss_tracedata_b, qpic, rx0, rx1, rx2, sd_card, sd_write,
H A Dqcom,sdx75-tlmm.yaml83 rgmii_rxd, rgmii_tx_ctl, rgmii_txc, rgmii_txd, sd_card, sdc1_tb,
H A Dqcom,ipq6018-pinctrl.yaml83 qdss_tracedata_a, qdss_tracedata_b, qpic_pad, reset_n, sd_card,
H A Dqcom,msm8916-pinctrl.yaml96 sd_card, sd_write, sec_mi2s, smb_int, ssbi_wtr0, ssbi_wtr1,
H A Dqcom,msm8998-pinctrl.yaml96 qua_mi2s, sd_card, sd_write, sdc40, sdc41, sdc42, sdc43,
H A Dqcom,sdx65-tlmm.yaml101 sd_card, tsif2_data, sdc41, tsif2_sync, sdc40, mdp_vsync_p_b,
H A Dqcom,msm8996-pinctrl.yaml111 sd_card, tsif2_data, sdc41, tsif2_sync, sdc40, mdp_vsync_p_b,
/linux/arch/arm/boot/dts/sunplus/
H A Dsunplus-sp7021.dtsi126 function = "SD_CARD";
127 groups = "SD_CARD";
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-ipq8074.c898 MSM_PIN_FUNCTION(sd_card),
1009 PINGROUP(63, sd_card, pwm0, NA, gcc_plltest, NA, NA, NA, NA, NA),
H A Dpinctrl-ipq6018.c960 MSM_PIN_FUNCTION(sd_card),
1037 PINGROUP(62, sd_card, _, _, _, _, _, _, _, _),
H A Dpinctrl-sdx75.c905 MSM_PIN_FUNCTION(sd_card),
1037 [105] = PINGROUP(105, sd_card, _, _, _, _, _, _, _, _, _),
H A Dpinctrl-msm8916.c791 MSM_PIN_FUNCTION(sd_card),
H A Dpinctrl-msm8998.c1300 MSM_PIN_FUNCTION(sd_card),
H A Dpinctrl-msm8996.c1616 MSM_PIN_FUNCTION(sd_card),
/linux/drivers/pinctrl/sunplus/
H A Dsppctl_sp7021.c154 EGRP("SD_CARD", 1, pins_sdsd),
560 FNCE("SD_CARD", pinmux_type_grp, 0x01, 6, 1, sp7021grps_sdsd),