Home
last modified time | relevance | path

Searched refs:dhd (Results 1 – 15 of 15) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_linux.c404 static int dhd_toe_get(dhd_info_t *dhd, int idx, uint32 *toe_ol);
405 static int dhd_toe_set(dhd_info_t *dhd, int idx, uint32 toe_ol);
408 static int dhd_wl_host_event(dhd_info_t *dhd, int *ifidx, void *pktdata,
438 extern int dhd_set_suspend(int value, dhd_pub_t *dhd);
521 dhd_net2idx(dhd_info_t *dhd, struct net_device *net) in dhd_net2idx() argument
525 ASSERT(dhd); in dhd_net2idx()
527 if (dhd->iflist[i] && (dhd->iflist[i]->net == net)) in dhd_net2idx()
536 dhd_ifname2idx(dhd_info_t *dhd, char *name) in dhd_ifname2idx() argument
540 ASSERT(dhd); in dhd_ifname2idx()
546 if (dhd->iflist[i] && !strncmp(dhd->iflist[i]->name, name, IFNAMSIZ)) in dhd_ifname2idx()
[all …]
Ddhd_cdc.c72 dhdcdc_msg(dhd_pub_t *dhd) in dhdcdc_msg() argument
74 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg()
80 dhd_os_wake_lock(dhd); in dhdcdc_msg()
90 ret = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
91 dhd_os_wake_unlock(dhd); in dhdcdc_msg()
96 dhdcdc_cmplt(dhd_pub_t *dhd, uint32 id, uint32 len) in dhdcdc_cmplt() argument
99 dhd_prot_t *prot = dhd->prot; in dhdcdc_cmplt()
104 ret = dhd_bus_rxctl(dhd->bus, (uchar*)&prot->msg, len+sizeof(cdc_ioctl_t)); in dhdcdc_cmplt()
113 dhdcdc_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len) in dhdcdc_query_ioctl() argument
115 dhd_prot_t *prot = dhd->prot; in dhdcdc_query_ioctl()
[all …]
Ddhd_sdio.c140 PKTFREE(bus->dhd->osh, pkt, FALSE);
142 extern int dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len);
147 dhd_pub_t *dhd; member
286 #define DHD_NOPMU(dhd) (FALSE) argument
368 regvar = R_REG(bus->dhd->osh, regaddr); \
384 W_REG(bus->dhd->osh, regaddr, regval); \
697 dhd_os_wd_timer(bus->dhd, dhd_watchdog_ms); in dhdsdio_clkctl()
712 dhd_os_wd_timer(bus->dhd, dhd_watchdog_ms); in dhdsdio_clkctl()
727 dhd_os_wd_timer(bus->dhd, dhd_watchdog_ms); in dhdsdio_clkctl()
738 dhd_os_wd_timer(bus->dhd, 0); in dhdsdio_clkctl()
[all …]
Ddhd.h155 dhd_pub_t *dhd; member
256 extern int dhdcdc_query_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf, uint len);
296 extern int dhd_ifname2idx(struct dhd_info *dhd, char *name);
297 extern uint8 *dhd_bssidx2bssid(dhd_pub_t *dhd, int idx);
298 extern int wl_host_event(struct dhd_info *dhd, int *idx, void *pktdata,
304 extern int dhd_add_if(struct dhd_info *dhd, int ifidx, void *handle,
306 extern void dhd_del_if(struct dhd_info *dhd, int ifidx);
308 extern void dhd_vif_add(struct dhd_info *dhd, int ifidx, char * name);
309 extern void dhd_vif_del(struct dhd_info *dhd, int ifidx);
311 extern void dhd_event(struct dhd_info *dhd, char *evpkt, int evlen, int ifidx);
[all …]
Ddhd_proto.h58 extern bool dhd_proto_fcinfo(dhd_pub_t *dhd, void *pktbuf, uint8 *fcbits);
69 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
83 extern int dhd_preinit_ioctls(dhd_pub_t *dhd);
Ddhd_common.c779 wl_host_event(struct dhd_info *dhd, int *ifidx, void *pktdata, in wl_host_event() argument
820 dhd_add_if(dhd, ifevent->ifidx, in wl_host_event()
825 dhd_del_if(dhd, ifevent->ifidx); in wl_host_event()
832 *ifidx = dhd_ifname2idx(dhd, event->ifname); in wl_host_event()
834 dhd_event(dhd, (char *)pvt_data, evlen, *ifidx); in wl_host_event()
852 *ifidx = dhd_ifname2idx(dhd, event->ifname); in wl_host_event()
854 dhd_event(dhd, (char *)pvt_data, evlen, *ifidx); in wl_host_event()
Ddhd_bus.h61 extern bool dhd_bus_watchdog(dhd_pub_t *dhd);
/hardware/broadcom/wlan/bcm4329/src/dhd/exe/
Ddhdu.c77 static int dhd_var_getbuf(void *dhd, char *iovar, void *param, int param_len, void **bufptr);
78 static int dhd_var_setbuf(void *dhd, char *iovar, void *param, int param_len);
82 static int dhd_iovar_getint(void *dhd, char *name, int *var);
83 static int dhd_iovar_setint(void *dhd, char *name, int var);
107 static int dhd_do_msglevel(void *dhd, cmd_t *cmd, char **argv, dbg_msg_t *dbg_msg);
362 dhd_list(void *dhd, cmd_t *garb, char **argv) in dhd_list() argument
369 UNUSED_PARAMETER(dhd); in dhd_list()
454 dhd_check(void *dhd) in dhd_check() argument
459 if ((ret = dhd_get(dhd, DHD_GET_MAGIC, &val, sizeof(int)) < 0)) in dhd_check()
463 if ((ret = dhd_get(dhd, DHD_GET_VERSION, &val, sizeof(int)) < 0)) in dhd_check()
[all …]
Ddhdu_linux.c64 dhd_ioctl(void *dhd, int cmd, void *buf, int len, bool set) in dhd_ioctl() argument
66 struct ifreq *ifr = (struct ifreq *)dhd; in dhd_ioctl()
127 dhd_get(void *dhd, int cmd, void *buf, int len) in dhd_get() argument
129 return dhd_ioctl(dhd, cmd, buf, len, FALSE); in dhd_get()
133 dhd_set(void *dhd, int cmd, void *buf, int len) in dhd_set() argument
135 return dhd_ioctl(dhd, cmd, buf, len, TRUE); in dhd_set()
Ddhdu_cmd.h31 typedef int (cmd_func_t)(void *dhd, cmd_t *cmd, char **argv);
47 extern int dhd_get(void *dhd, int cmd, void *buf, int len);
48 extern int dhd_set(void *dhd, int cmd, void *buf, int len);
DGNUmakefile56 DHD_EXE := dhd
90 PROJECT := dhd.xcodeproj
91 PROJTGT := dhd
Ddhdu.h44 extern void dhd_printlasterror(void *dhd);
48 extern int dhd_check(void *dhd);
/hardware/broadcom/wlan/bcm4329/src/dhd/linux/
Dmakefile.2627 obj-m += dhd.o
28 dhd-objs = $(DHDOFILES)
DMakefile73 vpath %.c $(SRCBASE)/dhd/sys $(SRCBASE)/shared $(SRCBASE)/bcmsdio/sys $(SRCBASE)/wl/sys
/hardware/broadcom/wlan/bcm4329/src/
DAndroid.mk25 dhd/exe/dhdu.c \
26 dhd/exe/dhdu_linux.c \