Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 11 of 11) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdh.c448 uint8 *buf, uint nbytes, void *pkt, in bcmsdh_recv_buf() argument
462 __FUNCTION__, fn, addr, nbytes)); in bcmsdh_recv_buf()
484 SDIOH_READ, fn, addr, width, nbytes, buf, pkt); in bcmsdh_recv_buf()
491 uint8 *buf, uint nbytes, void *pkt, in bcmsdh_send_buf() argument
505 __FUNCTION__, fn, addr, nbytes)); in bcmsdh_send_buf()
527 SDIOH_WRITE, fn, addr, width, nbytes, buf, pkt); in bcmsdh_send_buf()
533 bcmsdh_rwdata(void *sdh, uint rw, uint32 addr, uint8 *buf, uint nbytes) in bcmsdh_rwdata() argument
547 addr, 4, nbytes, buf, NULL); in bcmsdh_rwdata()
Dbcmsdspi.c77 uint32 addr, int nbytes, uint32 *data);
606 uint32 *word, uint nbytes) in sdioh_request_word() argument
613 status = sdspi_card_regread(sd, func, addr, nbytes, word); in sdioh_request_word()
615 status = sdspi_card_regwrite(sd, func, addr, nbytes, *word); in sdioh_request_word()
1436 sdspi_card_buf(sdioh_info_t *sd, int rw, int func, bool fifo, uint32 addr, int nbytes, uint32 *data) in sdspi_card_buf() argument
1445 ASSERT(nbytes); in sdspi_card_buf()
1450 addr, nbytes, sd->r_cnt, sd->t_cnt)); in sdspi_card_buf()
1458 if (nbytes < sd->client_block_size[func]) { in sdspi_card_buf()
1460 nbytes, sd->client_block_size[func])); in sdspi_card_buf()
1466 blocksize = MIN(sd->client_block_size[func], nbytes); in sdspi_card_buf()
[all …]
Dbcmsdstd.c81 uint32 addr, int nbytes, uint32 *data);
794 uint32 *word, uint nbytes) in sdioh_request_word() argument
802 status = sdstd_card_regread(sd, func, addr, nbytes, word); in sdioh_request_word()
808 status = sdstd_card_regwrite(sd, func, addr, nbytes, *word); in sdioh_request_word()
2513 sdstd_card_buf(sdioh_info_t *sd, int rw, int func, bool fifo, uint32 addr, int nbytes, uint32 *data) in sdstd_card_buf() argument
2525 ASSERT(nbytes); in sdstd_card_buf()
2530 __FUNCTION__, read ? "Rd" : "Wr", addr, nbytes, sd->r_cnt, sd->t_cnt)); in sdstd_card_buf()
2538 if (nbytes < sd->client_block_size[func]) { in sdstd_card_buf()
2540 nbytes, sd->client_block_size[func])); in sdstd_card_buf()
2546 blocksize = MIN(sd->client_block_size[func], nbytes); in sdstd_card_buf()
[all …]
Dbcmsdh_sdmmc.c839 uint32 *word, uint nbytes) in sdioh_request_word() argument
849 __FUNCTION__, cmd_type, rw, func, addr, nbytes)); in sdioh_request_word()
857 if (nbytes == 4) { in sdioh_request_word()
859 } else if (nbytes == 2) { in sdioh_request_word()
862 sd_err(("%s: Invalid nbytes: %d\n", __FUNCTION__, nbytes)); in sdioh_request_word()
865 if (nbytes == 4) { in sdioh_request_word()
867 } else if (nbytes == 2) { in sdioh_request_word()
870 sd_err(("%s: Invalid nbytes: %d\n", __FUNCTION__, nbytes)); in sdioh_request_word()
/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmsdh.h128 uint8 *buf, uint nbytes, void *pkt,
131 uint8 *buf, uint nbytes, void *pkt,
149 extern int bcmsdh_rwdata(void *sdh, uint rw, uint32 addr, uint8 *buf, uint nbytes);
Dbcmutils.h567 extern uint8 hndcrc8(uint8 *p, uint nbytes, uint8 crc);
568 extern uint16 hndcrc16(uint8 *p, uint nbytes, uint16 crc);
569 extern uint32 hndcrc32(uint8 *p, uint nbytes, uint32 crc);
609 extern int bcm_cmp_bytes(uchar *arg1, uchar *arg2, uint8 nbytes);
Dbcmsdh_sdmmc.h37 #define sd_sync_dma(sd, read, nbytes) argument
Dbcmsdstd.h36 #define sd_sync_dma(sd, read, nbytes) argument
/hardware/broadcom/wlan/bcm4329/src/shared/
Dbcmutils.c1122 uint nbytes, /* number of input data bytes to process */ in hndcrc8() argument
1129 while (nbytes-- > 0) in hndcrc8()
1195 uint nbytes, /* number of input data bytes to process */ in hndcrc16() argument
1199 while (nbytes-- > 0) in hndcrc16()
1274 uint nbytes, /* number of input data bytes to process */ in hndcrc32() argument
1285 nbytes -= (pend - pdata); in hndcrc32()
1290 pend = pdata + (nbytes & 0xfffffffc); in hndcrc32()
1301 pend = pdata + (nbytes & 0x03); in hndcrc32()
1305 pend = pdata + nbytes; in hndcrc32()
1506 prhex(const char *msg, uchar *buf, uint nbytes) in prhex() argument
[all …]
/hardware/broadcom/wlan/bcm4329/src/dhd/exe/
Ddhdu.c491 dhd_hexdump(uchar *buf, uint nbytes, uint saddr) in dhd_hexdump() argument
497 if (nbytes == 0) { in dhd_hexdump()
503 for (i = 0; i < nbytes; i++) { in dhd_hexdump()
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_sdio.c425 uint8 *buf, uint nbytes,
428 uint8 *buf, uint nbytes,
5326 dhd_bcmsdh_recv_buf(dhd_bus_t *bus, uint32 addr, uint fn, uint flags, uint8 *buf, uint nbytes, in dhd_bcmsdh_recv_buf() argument
5332 status = bcmsdh_recv_buf(bus->sdh, addr, fn, flags, buf, nbytes, pkt, complete, handle); in dhd_bcmsdh_recv_buf()
5337 dhd_bcmsdh_send_buf(dhd_bus_t *bus, uint32 addr, uint fn, uint flags, uint8 *buf, uint nbytes, in dhd_bcmsdh_send_buf() argument
5340 return (bcmsdh_send_buf(bus->sdh, addr, fn, flags, buf, nbytes, pkt, complete, handle)); in dhd_bcmsdh_send_buf()