Home
last modified time | relevance | path

Searched refs:rtsx_dev (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/staging/rts5208/
Drtsx_transport.c160 dev_dbg(rtsx_dev(chip), "-- command was aborted\n"); in rtsx_invoke_transport()
167 dev_dbg(rtsx_dev(chip), "-- transport indicates error, resetting\n"); in rtsx_invoke_transport()
225 struct rtsx_dev *rtsx = chip->rtsx; in rtsx_send_cmd()
261 dev_dbg(rtsx_dev(chip), "chip->int_reg = 0x%x\n", in rtsx_send_cmd()
318 struct rtsx_dev *rtsx = chip->rtsx; in rtsx_transfer_sglist_adma_partial()
377 dev_dbg(rtsx_dev(chip), "DMA addr: 0x%x, Len: 0x%x\n", in rtsx_transfer_sglist_adma_partial()
379 dev_dbg(rtsx_dev(chip), "*index = %d, *offset = %d\n", in rtsx_transfer_sglist_adma_partial()
406 dev_dbg(rtsx_dev(chip), "SG table count = %d\n", chip->sgi); in rtsx_transfer_sglist_adma_partial()
423 dev_dbg(rtsx_dev(chip), "Timeout (%s %d)\n", in rtsx_transfer_sglist_adma_partial()
425 dev_dbg(rtsx_dev(chip), "chip->int_reg = 0x%x\n", in rtsx_transfer_sglist_adma_partial()
[all …]
Drtsx_chip.c65 dev_dbg(rtsx_dev(chip), "lun2card[%d] = 0x%02x\n", in rtsx_enable_bus_int()
90 dev_dbg(rtsx_dev(chip), "RTSX_BIER: 0x%08x\n", reg); in rtsx_enable_bus_int()
166 dev_dbg(rtsx_dev(chip), "chip->sdio_in_charge = %d\n", in rtsx_pre_handle_sdio_new()
168 dev_dbg(rtsx_dev(chip), "chip->driver_first_load = %d\n", in rtsx_pre_handle_sdio_new()
170 dev_dbg(rtsx_dev(chip), "sw_bypass_sd = %d\n", in rtsx_pre_handle_sdio_new()
202 dev_dbg(rtsx_dev(chip), "Chip inserted with SDIO!\n"); in rtsx_pre_handle_sdio_new()
495 dev_dbg(rtsx_dev(chip), "In %s, chip->int_reg = 0x%x\n", __func__, in rtsx_reset_chip()
504 dev_dbg(rtsx_dev(chip), "chip->need_reset = 0x%x (%s)\n", in rtsx_reset_chip()
532 dev_dbg(rtsx_dev(chip), "In %s, chip->need_reset = 0x%x\n", __func__, in rtsx_reset_chip()
654 dev_dbg(rtsx_dev(chip), "Value of phy register 0x1C is 0x%x\n", in rts5208_init()
[all …]
Drtsx_card.c87 dev_dbg(rtsx_dev(chip), "reg 0xFF34: 0x%x, reg 0xFF38: 0x%x\n", in try_to_switch_sdio_ctrl()
123 dev_dbg(rtsx_dev(chip), "SDIO enter ASPM!\n"); in dynamic_configure_sdio_aspm()
130 dev_dbg(rtsx_dev(chip), "SDIO exit ASPM!\n"); in dynamic_configure_sdio_aspm()
142 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_sd_card()
196 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_xd_card()
244 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_ms_card()
517 dev_dbg(rtsx_dev(chip), "Reset chip in polling thread!\n"); in rtsx_init_cards()
541 dev_dbg(rtsx_dev(chip), "chip->need_release = 0x%x\n", in rtsx_init_cards()
600 dev_dbg(rtsx_dev(chip), "chip->card_exist = 0x%x\n", in rtsx_init_cards()
608 dev_dbg(rtsx_dev(chip), "chip->need_reset = 0x%x\n", in rtsx_init_cards()
[all …]
Dxd.c250 dev_dbg(rtsx_dev(chip), "ECC_BIT1 = 0x%x, ECC_BYTE1 = 0x%x\n", in xd_read_cis()
253 dev_dbg(rtsx_dev(chip), "Before correct: 0x%x\n", in xd_read_cis()
256 dev_dbg(rtsx_dev(chip), "After correct: 0x%x\n", in xd_read_cis()
278 dev_dbg(rtsx_dev(chip), "ECC_BIT2 = 0x%x, ECC_BYTE2 = 0x%x\n", in xd_read_cis()
281 dev_dbg(rtsx_dev(chip), "Before correct: 0x%x\n", in xd_read_cis()
284 dev_dbg(rtsx_dev(chip), "After correct: 0x%x\n", in xd_read_cis()
496 dev_dbg(rtsx_dev(chip), "Over current, OCPSTAT is 0x%x\n", in reset_xd()
556 dev_dbg(rtsx_dev(chip), "XD_DAT: 0x%x, XD_CTL: 0x%x\n", in reset_xd()
567 dev_dbg(rtsx_dev(chip), "READ_ID: 0x%x 0x%x 0x%x 0x%x\n", in reset_xd()
668 dev_dbg(rtsx_dev(chip), "READ_XD_ID: 0x%x 0x%x 0x%x 0x%x\n", in reset_xd()
[all …]
Drtsx.c112 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in queuecommand_lck()
147 struct rtsx_dev *dev = host_to_rtsx(host); in DEF_SCSI_QCMD()
232 static int rtsx_acquire_irq(struct rtsx_dev *dev) in rtsx_acquire_irq()
260 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_suspend()
292 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_resume()
327 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_shutdown()
350 struct rtsx_dev *dev = __dev; in rtsx_control_thread()
452 struct rtsx_dev *dev = __dev; in rtsx_polling_thread()
500 struct rtsx_dev *dev = dev_id; in rtsx_interrupt()
559 static void rtsx_release_resources(struct rtsx_dev *dev) in rtsx_release_resources()
[all …]
Dsd.c125 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d, arg = 0x%08x\n", cmd_idx, arg);
170 dev_dbg(rtsx_dev(chip), "SD_STAT1: 0x%x\n", val);
173 dev_dbg(rtsx_dev(chip), "SD_CFG3: 0x%x\n", val);
233 dev_dbg(rtsx_dev(chip), "ptr[1]: 0x%02x\n",
238 dev_dbg(rtsx_dev(chip), "ptr[2]: 0x%02x\n",
243 dev_dbg(rtsx_dev(chip), "ptr[3]: 0x%02x\n",
280 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d\n", cmd[0] - 0x40);
354 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d\n", cmd[0] - 0x40);
418 dev_dbg(rtsx_dev(chip), "CSD Response:\n");
419 dev_dbg(rtsx_dev(chip), "%*ph\n", 16, sd_card->raw_csd);
[all …]
Drtsx.h62 struct rtsx_dev { struct
101 static inline struct Scsi_Host *rtsx_to_host(struct rtsx_dev *dev) in rtsx_to_host()
106 static inline struct rtsx_dev *host_to_rtsx(struct Scsi_Host *host) in host_to_rtsx()
108 return (struct rtsx_dev *)host->hostdata; in host_to_rtsx()
Dms.c46 dev_dbg(rtsx_dev(chip), "%s: tpc = 0x%x\n", __func__, tpc); in ms_transfer_tpc()
196 dev_dbg(rtsx_dev(chip), "MS_TRANS_CFG: 0x%02x\n", val); in ms_write_bytes()
294 dev_dbg(rtsx_dev(chip), "Read format progress:\n"); in ms_read_bytes()
540 dev_dbg(rtsx_dev(chip), "Over current, OCPSTAT is 0x%x\n", in ms_prepare_reset()
610 dev_dbg(rtsx_dev(chip), "Type register: 0x%x\n", val); in ms_identify_media_type()
622 dev_dbg(rtsx_dev(chip), "Category register: 0x%x\n", val); in ms_identify_media_type()
632 dev_dbg(rtsx_dev(chip), "Class register: 0x%x\n", val); in ms_identify_media_type()
656 dev_dbg(rtsx_dev(chip), "IF Mode register: 0x%x\n", val); in ms_identify_media_type()
995 dev_dbg(rtsx_dev(chip), "sys_info_addr = 0x%x, sys_info_size = 0x%x\n",
1030 dev_dbg(rtsx_dev(chip), "model_name_addr = 0x%x, model_name_size = 0x%x\n",
[all …]
Drtsx_sys.h21 struct rtsx_dev *dev = chip->rtsx; in rtsx_exclusive_enter_ss()
Drtsx_scsi.c304 dev_dbg(rtsx_dev(chip), "Command %s (%d bytes)\n", in scsi_show_command()
309 dev_dbg(rtsx_dev(chip), "%*ph\n", len, srb->cmnd); in scsi_show_command()
867 dev_dbg(rtsx_dev(chip), "SD card being erased!\n"); in read_write()
874 dev_dbg(rtsx_dev(chip), "SD card locked!\n"); in read_write()
921 dev_dbg(rtsx_dev(chip), "read/write fail three times in succession\n"); in read_write()
933 dev_dbg(rtsx_dev(chip), "Write protected card!\n"); in read_write()
1351 dev_dbg(rtsx_dev(chip), "Host register (0x%x): 0x%x\n", addr, val); in read_host_reg()
1515 dev_dbg(rtsx_dev(chip), "Read from device\n"); in dma_access_ring_buffer()
1517 dev_dbg(rtsx_dev(chip), "Write to device\n"); in dma_access_ring_buffer()
1652 dev_dbg(rtsx_dev(chip), "status[0x17] = 0x%x\n", status[0x17]); in get_dev_status()
[all …]
Drtsx_chip.h694 struct rtsx_dev *rtsx;
922 static inline struct device *rtsx_dev(const struct rtsx_chip *chip) in rtsx_dev() function
Dspi.c440 dev_dbg(rtsx_dev(chip), "%s: err_code = 0x%x\n", __func__, in spi_get_status()
463 dev_dbg(rtsx_dev(chip), "spi_clock = %d, clk_div = %d, write_en = %d\n", in spi_set_parameter()