Searched refs:wbsd_read_index (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mmc/host/ |
H A D | wbsd.c | 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() [all …]
|