Lines Matching refs:wbsd_read_index
121 static inline u8 wbsd_read_index(struct wbsd_host *host, u8 index) in wbsd_read_index() function
138 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_init_device()
152 host->clk = wbsd_read_index(host, WBSD_IDX_CLK); in wbsd_init_device()
199 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_reset()
303 if (wbsd_read_index(host, WBSD_IDX_RSPLEN) != WBSD_RSP_SHORT) { in wbsd_get_short_reply()
308 cmd->resp[0] = wbsd_read_index(host, WBSD_IDX_RESP12) << 24; in wbsd_get_short_reply()
309 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP13) << 16; in wbsd_get_short_reply()
310 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP14) << 8; in wbsd_get_short_reply()
311 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP15) << 0; in wbsd_get_short_reply()
312 cmd->resp[1] = wbsd_read_index(host, WBSD_IDX_RESP16) << 24; in wbsd_get_short_reply()
323 if (wbsd_read_index(host, WBSD_IDX_RSPLEN) != WBSD_RSP_LONG) { in wbsd_get_long_reply()
330 wbsd_read_index(host, WBSD_IDX_RESP1 + i * 4) << 24; in wbsd_get_long_reply()
332 wbsd_read_index(host, WBSD_IDX_RESP2 + i * 4) << 16; in wbsd_get_long_reply()
334 wbsd_read_index(host, WBSD_IDX_RESP3 + i * 4) << 8; in wbsd_get_long_reply()
336 wbsd_read_index(host, WBSD_IDX_RESP4 + i * 4) << 0; in wbsd_get_long_reply()
365 status = wbsd_read_index(host, WBSD_IDX_STATUS); in wbsd_send_command()
587 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_prepare_data()
684 status = wbsd_read_index(host, WBSD_IDX_STATUS); in wbsd_finish_data()
883 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_set_ios()