Searched refs:ms_dev (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/memstick/host/
H A Drtsx_usb_ms.c54 static inline struct device *ms_dev(struct rtsx_usb_ms *host) ms_dev() function
104 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ms_print_debug_regs()
106 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ms_print_debug_regs()
108 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ms_print_debug_regs()
110 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_DATA_SOURCE, *(ptr++)); ms_print_debug_regs()
111 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_SELECT, *(ptr++)); ms_print_debug_regs()
112 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_CLK_EN, *(ptr++)); ms_print_debug_regs()
113 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_PWR_CTL, *(ptr++)); ms_print_debug_regs()
185 dev_dbg(ms_dev(host), "%s\n", __func__); ms_power_on()
225 dev_dbg(ms_dev(host), "%s\n", __func__); ms_power_off()
253 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x, data_dir = %s, length = %d\n", ms_transfer_data()
334 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); ms_write_bytes()
367 dev_dbg(ms_dev(host), "MS_TRANS_CFG: 0x%02x\n", val); ms_write_bytes()
402 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); ms_read_bytes()
435 dev_dbg(ms_dev(host), "MS_TRANS_CFG: 0x%02x\n", val); ms_read_bytes()
474 dev_dbg(ms_dev(host), "%s\n", __func__); rtsx_usb_ms_issue_cmd()
512 dev_dbg(ms_dev(host), "int_reg: 0x%02x\n", req->int_reg); rtsx_usb_ms_issue_cmd()
529 dev_dbg(ms_dev(host), "next req %d\n", rc); rtsx_usb_ms_handle_req()
543 dev_dbg(ms_dev(host), "req result %d\n", rtsx_usb_ms_handle_req()
555 dev_dbg(ms_dev(host), "--> %s\n", __func__); rtsx_usb_ms_request()
570 dev_dbg(ms_dev(host), "%s: param = %d, value = %d\n", rtsx_usb_ms_set_param()
585 pm_runtime_get_sync(ms_dev(host)); rtsx_usb_ms_set_param()
590 pm_runtime_put_noidle(ms_dev(host)); rtsx_usb_ms_set_param()
592 pm_runtime_put(ms_dev(host)); rtsx_usb_ms_set_param()
624 dev_dbg(ms_dev(host), "switch clock failed\n"); rtsx_usb_ms_set_param()
643 dev_dbg(ms_dev(host), "%s: return = %d\n", __func__, err); rtsx_usb_ms_set_param()
653 dev_dbg(ms_dev(host), "--> %s\n", __func__); rtsx_usb_ms_suspend()
664 dev_dbg(ms_dev(host), "--> %s\n", __func__); rtsx_usb_ms_resume()
701 dev_dbg(ms_dev(host), "MS slot change detected\n"); rtsx_usb_detect_ms_card()
801 if (pm_runtime_active(ms_dev(host))) rtsx_usb_ms_drv_remove()
802 pm_runtime_put(ms_dev(host)); rtsx_usb_ms_drv_remove()
H A Drtsx_pci_ms.c45 static inline struct device *ms_dev(struct realtek_pci_ms *host) ms_dev() function
74 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ms_print_debug_regs()
76 dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ms_print_debug_regs()
151 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x, data_dir = %s, length = %d\n", ms_transfer_data()
217 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); ms_write_bytes()
249 dev_dbg(ms_dev(host), "MS_TRANS_CFG: 0x%02x\n", val); ms_write_bytes()
286 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); ms_read_bytes()
318 dev_dbg(ms_dev(host), "MS_TRANS_CFG: 0x%02x\n", val); ms_read_bytes()
356 dev_dbg(ms_dev(host), "%s\n", __func__); rtsx_pci_ms_issue_cmd()
386 dev_dbg(ms_dev(host), "int_reg: 0x%02x\n", int_reg); rtsx_pci_ms_issue_cmd()
422 dev_dbg(ms_dev(host), "next req %d\n", rc); rtsx_pci_ms_handle_req()
436 dev_dbg(ms_dev(host), "--> %s\n", __func__); rtsx_pci_ms_request()
453 dev_dbg(ms_dev(host), "%s: param = %d, value = %d\n", rtsx_pci_ms_set_param()
512 dev_dbg(ms_dev(host), "--> %s\n", __func__); rtsx_pci_ms_suspend()
523 dev_dbg(ms_dev(host), "--> %s\n", __func__); rtsx_pci_ms_resume()

Completed in 145 milliseconds