Lines Matching +full:0 +full:x02000
29 #define TIFM_MS_STAT_DRQ 0x04000
30 #define TIFM_MS_STAT_MSINT 0x02000
31 #define TIFM_MS_STAT_RDY 0x01000
32 #define TIFM_MS_STAT_CRC 0x00200
33 #define TIFM_MS_STAT_TOE 0x00100
34 #define TIFM_MS_STAT_EMP 0x00020
35 #define TIFM_MS_STAT_FUL 0x00010
36 #define TIFM_MS_STAT_CED 0x00008
37 #define TIFM_MS_STAT_ERR 0x00004
38 #define TIFM_MS_STAT_BRQ 0x00002
39 #define TIFM_MS_STAT_CNK 0x00001
41 #define TIFM_MS_SYS_DMA 0x10000
42 #define TIFM_MS_SYS_RESET 0x08000
43 #define TIFM_MS_SYS_SRAC 0x04000
44 #define TIFM_MS_SYS_INTEN 0x02000
45 #define TIFM_MS_SYS_NOCRC 0x01000
46 #define TIFM_MS_SYS_INTCLR 0x00800
47 #define TIFM_MS_SYS_MSIEN 0x00400
48 #define TIFM_MS_SYS_FCLR 0x00200
49 #define TIFM_MS_SYS_FDIR 0x00100
50 #define TIFM_MS_SYS_DAM 0x00080
51 #define TIFM_MS_SYS_DRM 0x00040
52 #define TIFM_MS_SYS_DRQSL 0x00020
53 #define TIFM_MS_SYS_REI 0x00010
54 #define TIFM_MS_SYS_REO 0x00008
55 #define TIFM_MS_SYS_BSY_MASK 0x00007
62 CMD_READY = 0x01,
63 FIFO_READY = 0x02,
64 CARD_INT = 0x04
86 unsigned int off = 0; in tifm_ms_read_data()
89 buf[off++] = host->io_word & 0xff; in tifm_ms_read_data()
111 buf[off++] = host->io_word & 0xff; in tifm_ms_read_data()
126 unsigned int off = 0; in tifm_ms_write_data()
141 host->io_pos = 0; in tifm_ms_write_data()
142 host->io_word = 0; in tifm_ms_write_data()
188 unsigned long flags = 0; in tifm_ms_transfer_data()
195 off = 0; in tifm_ms_transfer_data()
244 writel(0, sock->addr + SOCK_MS_DATA); in tifm_ms_transfer_data()
257 host->cmd_flags = 0; in tifm_ms_issue_cmd()
258 host->block_pos = 0; in tifm_ms_issue_cmd()
259 host->io_pos = 0; in tifm_ms_issue_cmd()
260 host->io_word = 0; in tifm_ms_issue_cmd()
261 host->cmd_flags = 0; in tifm_ms_issue_cmd()
268 host->use_dma = 0; in tifm_ms_issue_cmd()
271 host->use_dma = 0; in tifm_ms_issue_cmd()
314 host->req->error = 0; in tifm_ms_issue_cmd()
326 cmd = (host->req->tpc & 0xf) << 12; in tifm_ms_issue_cmd()
331 return 0; in tifm_ms_issue_cmd()
342 host->req->int_reg = readl(sock->addr + SOCK_MS_STATUS) & 0xff; in tifm_ms_complete_cmd()
344 | ((host->req->int_reg << 4) & 0xe0); in tifm_ms_complete_cmd()
377 return 0; in tifm_ms_check_status()
384 unsigned int fifo_status = 0, host_status = 0; in tifm_ms_data_event()
420 unsigned int host_status = 0; in tifm_ms_card_event()
509 writel(0xffffffff, sock->addr + SOCK_MS_STATUS); in tifm_ms_set_param()
513 writel(0xffffffff, sock->addr + SOCK_MS_STATUS); in tifm_ms_set_param()
524 host->mode_mask = 0; in tifm_ms_set_param()
533 return 0; in tifm_ms_set_param()
545 dev_name(&host->dev->dev), host->req ? host->req->tpc : 0, in tifm_ms_abort()
573 timer_setup(&host->timer, tifm_ms_abort, 0); in tifm_ms_probe()
585 return 0; in tifm_ms_probe()
595 int rc = 0; in tifm_ms_remove()
633 return 0; in tifm_ms_suspend()
641 return 0; in tifm_ms_resume()
652 { TIFM_TYPE_MS }, { 0 }