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()
306 if (wbsd_read_index(host, WBSD_IDX_RSPLEN) != WBSD_RSP_SHORT) { in wbsd_get_short_reply()
311 cmd->resp[0] = wbsd_read_index(host, WBSD_IDX_RESP12) << 24; in wbsd_get_short_reply()
312 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP13) << 16; in wbsd_get_short_reply()
313 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP14) << 8; in wbsd_get_short_reply()
314 cmd->resp[0] |= wbsd_read_index(host, WBSD_IDX_RESP15) << 0; in wbsd_get_short_reply()
315 cmd->resp[1] = wbsd_read_index(host, WBSD_IDX_RESP16) << 24; in wbsd_get_short_reply()
326 if (wbsd_read_index(host, WBSD_IDX_RSPLEN) != WBSD_RSP_LONG) { in wbsd_get_long_reply()
333 wbsd_read_index(host, WBSD_IDX_RESP1 + i * 4) << 24; in wbsd_get_long_reply()
335 wbsd_read_index(host, WBSD_IDX_RESP2 + i * 4) << 16; in wbsd_get_long_reply()
337 wbsd_read_index(host, WBSD_IDX_RESP3 + i * 4) << 8; in wbsd_get_long_reply()
339 wbsd_read_index(host, WBSD_IDX_RESP4 + i * 4) << 0; in wbsd_get_long_reply()
368 status = wbsd_read_index(host, WBSD_IDX_STATUS); in wbsd_send_command()
590 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_prepare_data()
687 status = wbsd_read_index(host, WBSD_IDX_STATUS); in wbsd_finish_data()
886 setup = wbsd_read_index(host, WBSD_IDX_SETUP); in wbsd_set_ios()