Lines Matching refs:wbsd_read_index
124 static inline u8 wbsd_read_index(struct wbsd_host *host, u8 index) in wbsd_read_index() function
141 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_init_device()
155 host->clk = wbsd_read_index(host, WBSD_IDX_CLK); in wbsd_init_device()
202 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_reset()
320 if (wbsd_read_index(host, WBSD_IDX_RSPLEN) != WBSD_RSP_SHORT) { in wbsd_get_short_reply()
325 cmd->resp[0] = wbsd_read_index(host, WBSD_IDX_RESP12) << 24; in wbsd_get_short_reply()
326 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP13) << 16; in wbsd_get_short_reply()
327 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP14) << 8; in wbsd_get_short_reply()
328 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP15) << 0; in wbsd_get_short_reply()
329 cmd->resp[1] = wbsd_read_index(host, WBSD_IDX_RESP16) << 24; in wbsd_get_short_reply()
340 if (wbsd_read_index(host, WBSD_IDX_RSPLEN) != WBSD_RSP_LONG) { in wbsd_get_long_reply()
347 wbsd_read_index(host, WBSD_IDX_RESP1 + i * 4) << 24; in wbsd_get_long_reply()
349 wbsd_read_index(host, WBSD_IDX_RESP2 + i * 4) << 16; in wbsd_get_long_reply()
351 wbsd_read_index(host, WBSD_IDX_RESP3 + i * 4) << 8; in wbsd_get_long_reply()
353 wbsd_read_index(host, WBSD_IDX_RESP4 + i * 4) << 0; in wbsd_get_long_reply()
382 status = wbsd_read_index(host, WBSD_IDX_STATUS); in wbsd_send_command()
598 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_prepare_data()
695 status = wbsd_read_index(host, WBSD_IDX_STATUS); in wbsd_finish_data()
896 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_set_ios()