Lines Matching refs:hostlen
772 uint32 hostlen; in bcmspi_card_byterewrite() local
815 hostlen = datalen + 8; in bcmspi_card_byterewrite()
816 hostlen += (4 - (hostlen & 0x3)); in bcmspi_card_byterewrite()
817 spi_sendrecv(sd, spi_outbuf2, spi_inbuf2, hostlen); in bcmspi_card_byterewrite()
1545 uint32 hostlen; in bcmspi_cmd_issue() local
1618 hostlen = datalen + 8 + resp_delay; in bcmspi_cmd_issue()
1619 hostlen += dstatus_idx; in bcmspi_cmd_issue()
1621 if (hostlen%4) { in bcmspi_cmd_issue()
1623 datalen, hostlen)); in bcmspi_cmd_issue()
1625 hostlen += (4 - (hostlen & 0x3)); in bcmspi_cmd_issue()
1629 spi_sendrecv(sd, spi_outbuf, spi_inbuf, hostlen); in bcmspi_cmd_issue()