/hardware/broadcom/wlan/bcm4329/src/include/ |
bcmspi.h | 27 extern void spi_devintr_off(sdioh_info_t *sd); 28 extern void spi_devintr_on(sdioh_info_t *sd); 29 extern bool spi_start_clock(sdioh_info_t *sd, uint16 new_sd_divisor); 30 extern bool spi_controller_highspeed_mode(sdioh_info_t *sd, bool hsmode); 31 extern bool spi_check_client_intr(sdioh_info_t *sd, int *is_dev_intr); 32 extern bool spi_hw_attach(sdioh_info_t *sd); 33 extern bool spi_hw_detach(sdioh_info_t *sd); 34 extern void spi_sendrecv(sdioh_info_t *sd, uint8 *msg_out, uint8 *msg_in, int msglen); 35 extern void spi_spinbits(sdioh_info_t *sd); 36 extern void spi_waitbits(sdioh_info_t *sd, bool yield) [all...] |
bcmsdbus.h | 53 typedef struct sdioh_info sdioh_info_t; typedef in typeref:struct:sdioh_info 62 extern sdioh_info_t * sdioh_attach(osl_t *osh, void *cfghdl, uint irq); 63 extern SDIOH_API_RC sdioh_detach(osl_t *osh, sdioh_info_t *si); 64 extern SDIOH_API_RC sdioh_interrupt_register(sdioh_info_t *si, sdioh_cb_fn_t fn, void *argh); 65 extern SDIOH_API_RC sdioh_interrupt_deregister(sdioh_info_t *si); 68 extern SDIOH_API_RC sdioh_interrupt_query(sdioh_info_t *si, bool *onoff); 71 extern SDIOH_API_RC sdioh_interrupt_set(sdioh_info_t *si, bool enable_disable); 74 extern bool sdioh_interrupt_pending(sdioh_info_t *si); 78 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 [all...] |
bcmsdh_sdmmc.h | 43 extern int sdioh_sdmmc_osinit(sdioh_info_t *sd); 44 extern void sdioh_sdmmc_osfree(sdioh_info_t *sd); 98 extern bool check_client_intr(sdioh_info_t *sd); 101 extern void sdioh_sdmmc_devintr_on(sdioh_info_t *sd); 102 extern void sdioh_sdmmc_devintr_off(sdioh_info_t *sd); 114 extern int sdioh_sdmmc_register_irq(sdioh_info_t *sd, uint irq); 115 extern void sdioh_sdmmc_free_irq(uint irq, sdioh_info_t *sd); 118 sdioh_info_t *sd;
|
bcmsdstd.h | 42 extern int sdstd_osinit(sdioh_info_t *sd); 43 extern void sdstd_osfree(sdioh_info_t *sd); 192 extern bool check_client_intr(sdioh_info_t *sd); 195 extern void sdstd_devintr_on(sdioh_info_t *sd); 196 extern void sdstd_devintr_off(sdioh_info_t *sd); 199 extern void sdstd_intrs_on(sdioh_info_t *sd, uint16 norm, uint16 err); 200 extern void sdstd_intrs_off(sdioh_info_t *sd, uint16 norm, uint16 err); 203 extern void sdstd_spinbits(sdioh_info_t *sd, uint16 norm, uint16 err); 215 extern int sdstd_register_irq(sdioh_info_t *sd, uint irq); 216 extern void sdstd_free_irq(uint irq, sdioh_info_t *sd) [all...] |
bcmsdspi.h | 122 extern int spi_register_irq(sdioh_info_t *sd, uint irq); 123 extern void spi_free_irq(uint irq, sdioh_info_t *sd); 126 extern void spi_lock(sdioh_info_t *sd); 127 extern void spi_unlock(sdioh_info_t *sd); 130 extern int spi_osinit(sdioh_info_t *sd); 131 extern void spi_osfree(sdioh_info_t *sd);
|
bcmspibrcm.h | 114 extern int spi_register_irq(sdioh_info_t *sd, uint irq); 115 extern void spi_free_irq(uint irq, sdioh_info_t *sd); 118 extern void spi_lock(sdioh_info_t *sd); 119 extern void spi_unlock(sdioh_info_t *sd); 122 extern int spi_osinit(sdioh_info_t *sd); 123 extern void spi_osfree(sdioh_info_t *sd);
|
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/ |
bcmsdspi_linux.c | 48 sdioh_info_t *sd; 67 sdioh_info_t *sd; 71 sd = (sdioh_info_t *)dev_id; 92 spi_register_irq(sdioh_info_t *sd, uint irq) 104 spi_free_irq(uint irq, sdioh_info_t *sd) 124 spi_osinit(sdioh_info_t *sd) 140 spi_osfree(sdioh_info_t *sd) 151 sdioh_interrupt_set(sdioh_info_t *sd, bool enable) 187 spi_lock(sdioh_info_t *sd) 209 spi_unlock(sdioh_info_t *sd [all...] |
bcmsdstd_linux.c | 39 sdioh_info_t *sd; 58 sdioh_info_t *sd; 62 sd = (sdioh_info_t *)dev_id; 82 sdstd_register_irq(sdioh_info_t *sd, uint irq) 94 sdstd_free_irq(uint irq, sdioh_info_t *sd) 114 sdstd_osinit(sdioh_info_t *sd) 130 sdstd_osfree(sdioh_info_t *sd) 141 sdioh_interrupt_set(sdioh_info_t *sd, bool enable) 177 sdstd_lock(sdioh_info_t *sd) 201 sdstd_unlock(sdioh_info_t *sd [all...] |
bcmsdspi.c | 65 static bool sdspi_start_power(sdioh_info_t *sd); 66 static int sdspi_set_highspeed_mode(sdioh_info_t *sd, bool HSMode); 67 static int sdspi_card_enablefuncs(sdioh_info_t *sd); 68 static void sdspi_cmd_getrsp(sdioh_info_t *sd, uint32 *rsp_buffer, int count); 69 static int sdspi_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd, uint32 arg, 71 static int sdspi_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, 73 static int sdspi_card_regwrite(sdioh_info_t *sd, int func, uint32 regaddr, 75 static int sdspi_driver_init(sdioh_info_t *sd); 76 static bool sdspi_reset(sdioh_info_t *sd, bool host_reset, bool client_reset); 77 static int sdspi_card_buf(sdioh_info_t *sd, int rw, int func, bool fifo [all...] |
bcmsdh_sdmmc_linux.c | 63 extern void sdioh_sdmmc_devintr_off(sdioh_info_t *sd); 64 extern void sdioh_sdmmc_devintr_on(sdioh_info_t *sd); 153 sdioh_info_t *sd; 159 sdioh_sdmmc_osinit(sdioh_info_t *sd) 174 sdioh_sdmmc_osfree(sdioh_info_t *sd) 185 sdioh_interrupt_set(sdioh_info_t *sd, bool enable)
|
bcmsdh_sdmmc.c | 59 static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, uint32 regaddr); 81 int sdioh_sdmmc_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 *data); 84 sdioh_sdmmc_card_enablefuncs(sdioh_info_t *sd) 122 extern sdioh_info_t * 125 sdioh_info_t *sd; 135 if ((sd = (sdioh_info_t *)MALLOC(osh, sizeof(sdioh_info_t))) == NULL) { 139 bzero((char *)sd, sizeof(sdioh_info_t)); 143 MFREE(sd->osh, sd, sizeof(sdioh_info_t)); 189 sdioh_detach(osl_t *osh, sdioh_info_t *sd [all...] |
bcmspibrcm.c | 71 static bool bcmspi_test_card(sdioh_info_t *sd); 72 static bool bcmspi_host_device_init_adapt(sdioh_info_t *sd); 73 static int bcmspi_set_highspeed_mode(sdioh_info_t *sd, bool hsmode); 74 static int bcmspi_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd_arg, 76 static int bcmspi_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, 78 static int bcmspi_card_regwrite(sdioh_info_t *sd, int func, uint32 regaddr, 80 static int bcmspi_card_bytewrite(sdioh_info_t *sd, int func, uint32 regaddr, 82 static int bcmspi_driver_init(sdioh_info_t *sd); 83 static int bcmspi_card_buf(sdioh_info_t *sd, int rw, int func, bool fifo, 85 static int bcmspi_card_regread_fixedaddr(sdioh_info_t *sd, int func, uint32 regaddr, int regsize [all...] |
bcmsdstd.c | 72 static bool sdstd_start_clock(sdioh_info_t *sd, uint16 divisor); 73 static bool sdstd_start_power(sdioh_info_t *sd); 74 static bool sdstd_bus_width(sdioh_info_t *sd, int width); 75 static int sdstd_set_highspeed_mode(sdioh_info_t *sd, bool HSMode); 76 static int sdstd_set_dma_mode(sdioh_info_t *sd, int8 dma_mode); 77 static int sdstd_card_enablefuncs(sdioh_info_t *sd); 78 static void sdstd_cmd_getrsp(sdioh_info_t *sd, uint32 *rsp_buffer, int count); 79 static int sdstd_cmd_issue(sdioh_info_t *sd, bool use_dma, uint32 cmd, uint32 arg); 80 static int sdstd_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, 82 static int sdstd_card_regwrite(sdioh_info_t *sd, int func, uint32 regaddr [all...] |
bcmpcispi.c | 68 spi_hw_attach(sdioh_info_t *sd) 179 spi_hw_detach(sdioh_info_t *sd) 213 sdspi_switch_clock(sdioh_info_t *sd, bool ext_clk) 237 spi_start_clock(sdioh_info_t *sd, uint16 div) 383 spi_controller_highspeed_mode(sdioh_info_t *sd, bool hsmode) 402 spi_devintr_off(sdioh_info_t *sd) 417 spi_devintr_on(sdioh_info_t *sd) 438 spi_check_client_intr(sdioh_info_t *sd, int *is_dev_intr) 527 spi_sendrecv(sdioh_info_t *sd, uint8 *msg_out, uint8 *msg_in, int msglen) 599 spi_spinbits(sdioh_info_t *sd [all...] |