Home
last modified time | relevance | path

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

/drivers/staging/rts5208/
Drtsx_transport.c172 dev_dbg(rtsx_dev(chip), "-- command was aborted\n"); in rtsx_invoke_transport()
179 dev_dbg(rtsx_dev(chip), "-- transport indicates error, resetting\n"); in rtsx_invoke_transport()
240 struct rtsx_dev *rtsx = chip->rtsx; in rtsx_send_cmd()
276 dev_dbg(rtsx_dev(chip), "chip->int_reg = 0x%x\n", in rtsx_send_cmd()
331 struct rtsx_dev *rtsx = chip->rtsx; in rtsx_transfer_sglist_adma_partial()
389 dev_dbg(rtsx_dev(chip), "DMA addr: 0x%x, Len: 0x%x\n", in rtsx_transfer_sglist_adma_partial()
391 dev_dbg(rtsx_dev(chip), "*index = %d, *offset = %d\n", in rtsx_transfer_sglist_adma_partial()
419 dev_dbg(rtsx_dev(chip), "SG table count = %d\n", chip->sgi); in rtsx_transfer_sglist_adma_partial()
436 dev_dbg(rtsx_dev(chip), "Timeout (%s %d)\n", in rtsx_transfer_sglist_adma_partial()
438 dev_dbg(rtsx_dev(chip), "chip->int_reg = 0x%x\n", in rtsx_transfer_sglist_adma_partial()
[all …]
Drtsx_chip.c91 dev_dbg(rtsx_dev(chip), "lun2card[%d] = 0x%02x\n", in rtsx_enable_bus_int()
116 dev_dbg(rtsx_dev(chip), "RTSX_BIER: 0x%08x\n", reg); in rtsx_enable_bus_int()
172 dev_dbg(rtsx_dev(chip), "chip->sdio_in_charge = %d\n", in rtsx_pre_handle_sdio_new()
174 dev_dbg(rtsx_dev(chip), "chip->driver_first_load = %d\n", in rtsx_pre_handle_sdio_new()
176 dev_dbg(rtsx_dev(chip), "sw_bypass_sd = %d\n", in rtsx_pre_handle_sdio_new()
196 dev_dbg(rtsx_dev(chip), "Chip inserted with SDIO!\n"); in rtsx_pre_handle_sdio_new()
426 dev_dbg(rtsx_dev(chip), "In %s, chip->int_reg = 0x%x\n", __func__, in rtsx_reset_chip()
435 dev_dbg(rtsx_dev(chip), "chip->need_reset = 0x%x (rtsx_reset_chip)\n", in rtsx_reset_chip()
457 dev_dbg(rtsx_dev(chip), "In %s, chip->need_reset = 0x%x\n", __func__, in rtsx_reset_chip()
553 dev_dbg(rtsx_dev(chip), "Value of phy register 0x1C is 0x%x\n", in rts5208_init()
[all …]
Drtsx_card.c105 dev_dbg(rtsx_dev(chip), "reg 0xFF34: 0x%x, reg 0xFF38: 0x%x\n", in try_to_switch_sdio_ctrl()
141 dev_dbg(rtsx_dev(chip), "SDIO enter ASPM!\n"); in dynamic_configure_sdio_aspm()
148 dev_dbg(rtsx_dev(chip), "SDIO exit ASPM!\n"); in dynamic_configure_sdio_aspm()
160 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_sd_card()
214 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_xd_card()
262 dev_dbg(rtsx_dev(chip), "%s: %d, card2lun = 0x%x\n", __func__, in do_reset_ms_card()
535 dev_dbg(rtsx_dev(chip), "Reset chip in polling thread!\n"); in rtsx_init_cards()
559 dev_dbg(rtsx_dev(chip), "chip->need_release = 0x%x\n", in rtsx_init_cards()
616 dev_dbg(rtsx_dev(chip), "chip->card_exist = 0x%x\n", in rtsx_init_cards()
624 dev_dbg(rtsx_dev(chip), "chip->need_reset = 0x%x\n", in rtsx_init_cards()
[all …]
Drtsx.c135 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in queuecommand_lck()
171 struct rtsx_dev *dev = host_to_rtsx(host); in DEF_SCSI_QCMD()
200 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in device_reset()
211 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in bus_reset()
270 static int rtsx_acquire_irq(struct rtsx_dev *dev) in rtsx_acquire_irq()
316 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_suspend()
351 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_resume()
397 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_shutdown()
421 struct rtsx_dev *dev = (struct rtsx_dev *)__dev; in rtsx_control_thread()
530 struct rtsx_dev *dev = (struct rtsx_dev *)__dev; in rtsx_polling_thread()
[all …]
Dxd.c256 dev_dbg(rtsx_dev(chip), "ECC_BIT1 = 0x%x, ECC_BYTE1 = 0x%x\n", in xd_read_cis()
259 dev_dbg(rtsx_dev(chip), "Before correct: 0x%x\n", in xd_read_cis()
262 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()
452 dev_dbg(rtsx_dev(chip), "Over current, OCPSTAT is 0x%x\n", in reset_xd()
510 dev_dbg(rtsx_dev(chip), "XD_DAT: 0x%x, XD_CTL: 0x%x\n", in reset_xd()
521 dev_dbg(rtsx_dev(chip), "READ_ID: 0x%x 0x%x 0x%x 0x%x\n", in reset_xd()
622 dev_dbg(rtsx_dev(chip), "READ_xD_ID: 0x%x 0x%x 0x%x 0x%x\n", in reset_xd()
[all …]
Drtsx.h102 struct rtsx_dev { struct
140 typedef struct rtsx_dev rtsx_dev_t; argument
143 static inline struct Scsi_Host *rtsx_to_host(struct rtsx_dev *dev) in rtsx_to_host()
147 static inline struct rtsx_dev *host_to_rtsx(struct Scsi_Host *host) in host_to_rtsx()
149 return (struct rtsx_dev *) host->hostdata; in host_to_rtsx()
Dsd.c136 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d, arg = 0x%08x\n", cmd_idx, arg); in sd_send_cmd_get_rsp()
180 dev_dbg(rtsx_dev(chip), "SD_STAT1: 0x%x\n", val); in sd_send_cmd_get_rsp()
183 dev_dbg(rtsx_dev(chip), "SD_CFG3: 0x%x\n", val); in sd_send_cmd_get_rsp()
244 dev_dbg(rtsx_dev(chip), "ptr[1]: 0x%02x\n", in sd_send_cmd_get_rsp()
249 dev_dbg(rtsx_dev(chip), "ptr[2]: 0x%02x\n", in sd_send_cmd_get_rsp()
254 dev_dbg(rtsx_dev(chip), "ptr[3]: 0x%02x\n", in sd_send_cmd_get_rsp()
291 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d\n", cmd[0] - 0x40); in sd_read_data()
365 dev_dbg(rtsx_dev(chip), "SD/MMC CMD %d\n", cmd[0] - 0x40); in sd_write_data()
429 dev_dbg(rtsx_dev(chip), "CSD Response:\n"); in sd_check_csd()
430 dev_dbg(rtsx_dev(chip), "%*ph\n", 16, sd_card->raw_csd); in sd_check_csd()
[all …]
Dms.c60 dev_dbg(rtsx_dev(chip), "%s: tpc = 0x%x\n", __func__, tpc); in ms_transfer_tpc()
207 dev_dbg(rtsx_dev(chip), "MS_TRANS_CFG: 0x%02x\n", val); in ms_write_bytes()
307 dev_dbg(rtsx_dev(chip), "Read format progress:\n"); in ms_read_bytes()
511 dev_dbg(rtsx_dev(chip), "Over current, OCPSTAT is 0x%x\n", in ms_prepare_reset()
561 dev_dbg(rtsx_dev(chip), "Type register: 0x%x\n", val); in ms_identify_media_type()
570 dev_dbg(rtsx_dev(chip), "Category register: 0x%x\n", val); in ms_identify_media_type()
577 dev_dbg(rtsx_dev(chip), "Class register: 0x%x\n", val); in ms_identify_media_type()
595 dev_dbg(rtsx_dev(chip), "IF Mode register: 0x%x\n", val); in ms_identify_media_type()
928 dev_dbg(rtsx_dev(chip), "sys_info_addr = 0x%x, sys_info_size = 0x%x\n", in ms_read_attribute_info()
963 dev_dbg(rtsx_dev(chip), "model_name_addr = 0x%x, model_name_size = 0x%x\n", in ms_read_attribute_info()
[all …]
Dtrace.h52 dev_dbg(rtsx_dev(chip), "[%s][%s]:[%d]\n", _file, \
69 dev_dbg(rtsx_dev(chip), "[%s][%s]:[%d]\n", _file, \
Drtsx_sys.h35 struct rtsx_dev *dev = chip->rtsx; in rtsx_exclusive_enter_ss()
Drtsx_scsi.c318 dev_dbg(rtsx_dev(chip), "Command %s (%d bytes)\n", in scsi_show_command()
323 dev_dbg(rtsx_dev(chip), "%*ph\n", len, srb->cmnd); in scsi_show_command()
887 dev_dbg(rtsx_dev(chip), "SD card being erased!\n"); in read_write()
894 dev_dbg(rtsx_dev(chip), "SD card locked!\n"); in read_write()
939 dev_dbg(rtsx_dev(chip), "read/write fail three times in succession\n"); in read_write()
951 dev_dbg(rtsx_dev(chip), "Write protected card!\n"); in read_write()
1384 dev_dbg(rtsx_dev(chip), "Trace message count is %d\n", msg_cnt); in trace_msg_cmd()
1436 dev_dbg(rtsx_dev(chip), "Host register (0x%x): 0x%x\n", addr, val); in read_host_reg()
1600 dev_dbg(rtsx_dev(chip), "Read from device\n"); in dma_access_ring_buffer()
1602 dev_dbg(rtsx_dev(chip), "Write to device\n"); in dma_access_ring_buffer()
[all …]
Dspi.c412 dev_dbg(rtsx_dev(chip), "spi_get_status: err_code = 0x%x\n", in spi_get_status()
435 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