Home
last modified time | relevance | path

Searched refs:rw (Results 1 – 7 of 7) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmsdbus.h78 extern SDIOH_API_RC sdioh_request_byte(sdioh_info_t *si, uint rw, uint fnc, uint addr, uint8 *byte);
81 extern SDIOH_API_RC sdioh_request_word(sdioh_info_t *si, uint cmd_type, uint rw, uint fnc,
86 uint rw, uint fnc_num, uint32 addr, uint regwidth, uint32 buflen, uint8 *buffer,
Dsdio.h292 #define SDIO_IO_RW_DIRECT_ARG(rw, raw, func, addr, data) \ argument
293 ((((rw) & 1) << 31) | (((func) & 0x7) << 28) | (((raw) & 1) << 27) | \
297 #define SDIO_IO_RW_EXTENDED_ARG(rw, blk, func, addr, inc_addr, count) \ argument
298 ((((rw) & 1) << 31) | (((func) & 0x7) << 28) | (((blk) & 1) << 27) | \
Dbcmsdh.h149 extern int bcmsdh_rwdata(void *sdh, uint rw, uint32 addr, uint8 *buf, uint nbytes);
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdspi.c76 static int sdspi_card_buf(sdioh_info_t *sd, int rw, int func, bool fifo,
565 sdioh_request_byte(sdioh_info_t *sd, uint rw, uint func, uint regaddr, uint8 *byte) in sdioh_request_byte() argument
576 cmd_arg = SFIELD(cmd_arg, CMD52_RW_FLAG, rw == SDIOH_READ ? 0 : 1); in sdioh_request_byte()
578 cmd_arg = SFIELD(cmd_arg, CMD52_DATA, rw == SDIOH_READ ? 0 : *byte); in sdioh_request_byte()
580 sd_trace(("%s: rw=%d, func=%d, regaddr=0x%08x\n", __FUNCTION__, rw, func, regaddr)); in sdioh_request_byte()
597 if (rw == SDIOH_READ) in sdioh_request_byte()
605 sdioh_request_word(sdioh_info_t *sd, uint cmd_type, uint rw, uint func, uint addr, in sdioh_request_word() argument
612 if (rw == SDIOH_READ) in sdioh_request_word()
622 sdioh_request_buffer(sdioh_info_t *sd, uint pio_dma, uint fix_inc, uint rw, uint func, in sdioh_request_buffer() argument
636 __FUNCTION__, rw == SDIOH_READ ? 'R' : 'W', in sdioh_request_buffer()
[all …]
Dbcmsdh_sdmmc.c754 sdioh_request_byte(sdioh_info_t *sd, uint rw, uint func, uint regaddr, uint8 *byte) in sdioh_request_byte() argument
758 sd_info(("%s: rw=%d, func=%d, addr=0x%05x\n", __FUNCTION__, rw, func, regaddr)); in sdioh_request_byte()
762 if(rw) { /* CMD52 Write */ in sdioh_request_byte()
831 rw ? "Write" : "Read", func, regaddr, *byte, err_ret)); in sdioh_request_byte()
838 sdioh_request_word(sdioh_info_t *sd, uint cmd_type, uint rw, uint func, uint addr, in sdioh_request_word() argument
849 __FUNCTION__, cmd_type, rw, func, addr, nbytes)); in sdioh_request_word()
856 if(rw) { /* CMD52 Write */ in sdioh_request_word()
879 rw ? "Write" : "Read", err_ret)); in sdioh_request_word()
Dbcmsdstd.c80 static int sdstd_card_buf(sdioh_info_t *sd, int rw, int func, bool fifo,
753 sdioh_request_byte(sdioh_info_t *sd, uint rw, uint func, uint regaddr, uint8 *byte) in sdioh_request_byte() argument
763 cmd_arg = SFIELD(cmd_arg, CMD52_RW_FLAG, rw == SDIOH_READ ? 0 : 1); in sdioh_request_byte()
765 cmd_arg = SFIELD(cmd_arg, CMD52_DATA, rw == SDIOH_READ ? 0 : *byte); in sdioh_request_byte()
785 if (rw == SDIOH_READ) in sdioh_request_byte()
793 sdioh_request_word(sdioh_info_t *sd, uint cmd_type, uint rw, uint func, uint addr, in sdioh_request_word() argument
801 if (rw == SDIOH_READ) { in sdioh_request_word()
816 sdioh_request_buffer(sdioh_info_t *sd, uint pio_dma, uint fix_inc, uint rw, uint func, in sdioh_request_buffer() argument
832 __FUNCTION__, rw == SDIOH_READ ? 'R' : 'W', in sdioh_request_buffer()
849 if ((func == SDIO_FUNC_1) && ((len % 4) == 3) && (rw == SDIOH_WRITE)) { in sdioh_request_buffer()
[all …]
Dbcmsdh.c533 bcmsdh_rwdata(void *sdh, uint rw, uint32 addr, uint8 *buf, uint nbytes) in bcmsdh_rwdata() argument
546 (rw ? SDIOH_WRITE : SDIOH_READ), SDIO_FUNC_1, in bcmsdh_rwdata()