Home
last modified time | relevance | path

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

/drivers/staging/rts5208/
Drtsx_transport.c168 dev_dbg(rtsx_dev(chip), "-- command was aborted\n"); in rtsx_invoke_transport()
175 dev_dbg(rtsx_dev(chip), "-- transport indicates error, resetting\n"); in rtsx_invoke_transport()
236 struct rtsx_dev *rtsx = chip->rtsx; in rtsx_send_cmd()
272 dev_dbg(rtsx_dev(chip), "chip->int_reg = 0x%x\n", in rtsx_send_cmd()
328 struct rtsx_dev *rtsx = chip->rtsx; in rtsx_transfer_sglist_adma_partial()
386 dev_dbg(rtsx_dev(chip), "DMA addr: 0x%x, Len: 0x%x\n", in rtsx_transfer_sglist_adma_partial()
388 dev_dbg(rtsx_dev(chip), "*index = %d, *offset = %d\n", in rtsx_transfer_sglist_adma_partial()
416 dev_dbg(rtsx_dev(chip), "SG table count = %d\n", chip->sgi); in rtsx_transfer_sglist_adma_partial()
433 dev_dbg(rtsx_dev(chip), "Timeout (%s %d)\n", in rtsx_transfer_sglist_adma_partial()
435 dev_dbg(rtsx_dev(chip), "chip->int_reg = 0x%x\n", in rtsx_transfer_sglist_adma_partial()
[all …]
Drtsx_chip.c84 dev_dbg(rtsx_dev(chip), "lun2card[%d] = 0x%02x\n", in rtsx_enable_bus_int()
109 dev_dbg(rtsx_dev(chip), "RTSX_BIER: 0x%08x\n", reg); in rtsx_enable_bus_int()
198 dev_dbg(rtsx_dev(chip), "chip->sdio_in_charge = %d\n", in rtsx_pre_handle_sdio_new()
200 dev_dbg(rtsx_dev(chip), "chip->driver_first_load = %d\n", in rtsx_pre_handle_sdio_new()
202 dev_dbg(rtsx_dev(chip), "sw_bypass_sd = %d\n", in rtsx_pre_handle_sdio_new()
242 dev_dbg(rtsx_dev(chip), "Chip inserted with SDIO!\n"); in rtsx_pre_handle_sdio_new()
617 dev_dbg(rtsx_dev(chip), "In %s, chip->int_reg = 0x%x\n", __func__, in rtsx_reset_chip()
626 dev_dbg(rtsx_dev(chip), "chip->need_reset = 0x%x (rtsx_reset_chip)\n", in rtsx_reset_chip()
660 dev_dbg(rtsx_dev(chip), "In %s, chip->need_reset = 0x%x\n", __func__, in rtsx_reset_chip()
807 dev_dbg(rtsx_dev(chip), "Value of phy register 0x1C is 0x%x\n", in rts5208_init()
[all …]
Drtsx_card.c98 dev_dbg(rtsx_dev(chip), "reg 0xFF34: 0x%x, reg 0xFF38: 0x%x\n", in try_to_switch_sdio_ctrl()
134 dev_dbg(rtsx_dev(chip), "SDIO enter ASPM!\n"); in dynamic_configure_sdio_aspm()
141 dev_dbg(rtsx_dev(chip), "SDIO exit ASPM!\n"); in dynamic_configure_sdio_aspm()
153 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_sd_card()
207 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_xd_card()
255 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_ms_card()
528 dev_dbg(rtsx_dev(chip), "Reset chip in polling thread!\n"); in rtsx_init_cards()
552 dev_dbg(rtsx_dev(chip), "chip->need_release = 0x%x\n", in rtsx_init_cards()
609 dev_dbg(rtsx_dev(chip), "chip->card_exist = 0x%x\n", in rtsx_init_cards()
617 dev_dbg(rtsx_dev(chip), "chip->need_reset = 0x%x\n", in rtsx_init_cards()
[all …]
Drtsx.c129 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in queuecommand_lck()
165 struct rtsx_dev *dev = host_to_rtsx(host); in DEF_SCSI_QCMD()
194 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in device_reset()
205 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in bus_reset()
263 static int rtsx_acquire_irq(struct rtsx_dev *dev) in rtsx_acquire_irq()
309 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_suspend()
344 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_resume()
390 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_shutdown()
414 struct rtsx_dev *dev = __dev; in rtsx_control_thread()
523 struct rtsx_dev *dev = __dev; in rtsx_polling_thread()
[all …]
Dxd.c293 dev_dbg(rtsx_dev(chip), "ECC_BIT1 = 0x%x, ECC_BYTE1 = 0x%x\n", in xd_read_cis()
296 dev_dbg(rtsx_dev(chip), "Before correct: 0x%x\n", in xd_read_cis()
299 dev_dbg(rtsx_dev(chip), "After correct: 0x%x\n", in xd_read_cis()
327 dev_dbg(rtsx_dev(chip), "ECC_BIT2 = 0x%x, ECC_BYTE2 = 0x%x\n", in xd_read_cis()
330 dev_dbg(rtsx_dev(chip), "Before correct: 0x%x\n", in xd_read_cis()
333 dev_dbg(rtsx_dev(chip), "After correct: 0x%x\n", in xd_read_cis()
559 dev_dbg(rtsx_dev(chip), "Over current, OCPSTAT is 0x%x\n", in reset_xd()
624 dev_dbg(rtsx_dev(chip), "XD_DAT: 0x%x, XD_CTL: 0x%x\n", in reset_xd()
637 dev_dbg(rtsx_dev(chip), "READ_ID: 0x%x 0x%x 0x%x 0x%x\n", in reset_xd()
743 dev_dbg(rtsx_dev(chip), "READ_xD_ID: 0x%x 0x%x 0x%x 0x%x\n", in reset_xd()
[all …]
Dsd.c139 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d, arg = 0x%08x\n", cmd_idx, arg);
183 dev_dbg(rtsx_dev(chip), "SD_STAT1: 0x%x\n", val);
186 dev_dbg(rtsx_dev(chip), "SD_CFG3: 0x%x\n", val);
253 dev_dbg(rtsx_dev(chip), "ptr[1]: 0x%02x\n",
259 dev_dbg(rtsx_dev(chip), "ptr[2]: 0x%02x\n",
265 dev_dbg(rtsx_dev(chip), "ptr[3]: 0x%02x\n",
305 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d\n", cmd[0] - 0x40);
385 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d\n", cmd[0] - 0x40);
453 dev_dbg(rtsx_dev(chip), "CSD Response:\n");
454 dev_dbg(rtsx_dev(chip), "%*ph\n", 16, sd_card->raw_csd);
[all …]
Drtsx.h96 struct rtsx_dev { struct
134 typedef struct rtsx_dev rtsx_dev_t; argument
137 static inline struct Scsi_Host *rtsx_to_host(struct rtsx_dev *dev) in rtsx_to_host()
141 static inline struct rtsx_dev *host_to_rtsx(struct Scsi_Host *host) in host_to_rtsx()
143 return (struct rtsx_dev *) host->hostdata; in host_to_rtsx()
Dms.c58 dev_dbg(rtsx_dev(chip), "%s: tpc = 0x%x\n", __func__, tpc); in ms_transfer_tpc()
221 dev_dbg(rtsx_dev(chip), "MS_TRANS_CFG: 0x%02x\n", val); in ms_write_bytes()
329 dev_dbg(rtsx_dev(chip), "Read format progress:\n"); in ms_read_bytes()
602 dev_dbg(rtsx_dev(chip), "Over current, OCPSTAT is 0x%x\n", in ms_prepare_reset()
682 dev_dbg(rtsx_dev(chip), "Type register: 0x%x\n", val); in ms_identify_media_type()
696 dev_dbg(rtsx_dev(chip), "Category register: 0x%x\n", val); in ms_identify_media_type()
708 dev_dbg(rtsx_dev(chip), "Class register: 0x%x\n", val); in ms_identify_media_type()
735 dev_dbg(rtsx_dev(chip), "IF Mode register: 0x%x\n", val); in ms_identify_media_type()
1136 dev_dbg(rtsx_dev(chip), "sys_info_addr = 0x%x, sys_info_size = 0x%x\n",
1174 dev_dbg(rtsx_dev(chip), "model_name_addr = 0x%x, model_name_size = 0x%x\n",
[all …]
Drtsx_sys.h35 struct rtsx_dev *dev = chip->rtsx; in rtsx_exclusive_enter_ss()
Dtrace.c14 dev_dbg(rtsx_dev(chip), "[%s][%s]:[%d]\n", file, func, line); in _rtsx_trace()
Drtsx_scsi.c315 dev_dbg(rtsx_dev(chip), "Command %s (%d bytes)\n", in scsi_show_command()
320 dev_dbg(rtsx_dev(chip), "%*ph\n", len, srb->cmnd); in scsi_show_command()
892 dev_dbg(rtsx_dev(chip), "SD card being erased!\n"); in read_write()
900 dev_dbg(rtsx_dev(chip), "SD card locked!\n"); in read_write()
950 dev_dbg(rtsx_dev(chip), "read/write fail three times in succession\n"); in read_write()
963 dev_dbg(rtsx_dev(chip), "Write protected card!\n"); in read_write()
1428 dev_dbg(rtsx_dev(chip), "Trace message count is %d\n", msg_cnt); in trace_msg_cmd()
1480 dev_dbg(rtsx_dev(chip), "Host register (0x%x): 0x%x\n", addr, val); in read_host_reg()
1649 dev_dbg(rtsx_dev(chip), "Read from device\n"); in dma_access_ring_buffer()
1651 dev_dbg(rtsx_dev(chip), "Write to device\n"); in dma_access_ring_buffer()
[all …]
Dspi.c524 dev_dbg(rtsx_dev(chip), "spi_get_status: err_code = 0x%x\n", in spi_get_status()
547 dev_dbg(rtsx_dev(chip), "spi_set_parameter: spi_clock = %d, clk_div = %d, write_en = %d\n", in spi_set_parameter()
Drtsx_chip.h923 static inline struct device *rtsx_dev(const struct rtsx_chip *chip) in rtsx_dev() function