Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 18 of 18) sorted by relevance

/hardware/ti/wlan/wl1271/platforms/os/linux/src/
DWlanDrvIf.c135 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)NETDEV_GET_PRIVATE(dev); in wlanDrvIf_Xmit() local
141 os_profile (drv, 0, 0); in wlanDrvIf_Xmit()
142 drv->stats.tx_packets++; in wlanDrvIf_Xmit()
143 drv->stats.tx_bytes += skb->len; in wlanDrvIf_Xmit()
146 pPktCtrlBlk = TWD_txCtrlBlk_Alloc (drv->tCommon.hTWD); in wlanDrvIf_Xmit()
148 …pPktCtrlBlk->tTxDescriptor.startTime = os_timeStampMs(drv); /* remove use of skb->tstamp.off_us… in wlanDrvIf_Xmit()
160 status = txDataQ_InsertPacket (drv->tCommon.hTxDataQ, pPktCtrlBlk,(TI_UINT8)skb->priority); in wlanDrvIf_Xmit()
165 drv->stats.tx_errors++; in wlanDrvIf_Xmit()
167 os_profile (drv, 1, 0); in wlanDrvIf_Xmit()
229 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)NETDEV_GET_PRIVATE(dev); in wlanDrvIf_NetGetStat() local
[all …]
Dosapi.c90 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)OsContext; in SendLoggerData() local
94 EvHandlerSendEvent(drv->tCommon.hEvHandler, IPC_EVENT_LOGGER, pMsg, len); in SendLoggerData()
275 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)OsContext; in os_periodicIntrTimerStart() local
277 mod_timer (drv->hPollTimer, jiffies + TIWLAN_IRQ_POLL_INTERVAL); in os_periodicIntrTimerStart()
398 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)OsContext; in os_protectLock() local
400 spin_lock_irqsave (&drv->lock, drv->flags); in os_protectLock()
417 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)OsContext; in os_protectUnlock() local
419 spin_unlock_irqrestore (&drv->lock, drv->flags); in os_protectUnlock()
434 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)OsContext; in os_receivePacket() local
474 skb->dev = drv->netdev; in os_receivePacket()
[all …]
DWlanDrvWext.c61 extern int wlanDrvIf_LoadFiles (TWlanDrvIfObj *drv, TLoaderFilesData *pInitInfo);
157 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)NETDEV_GET_PRIVATE(dev); in wlanDrvWext_GetWirelessStats() local
159 return (struct iw_statistics *) cmdHndlr_GetStat (drv->tCommon.hCmdHndlr); in wlanDrvWext_GetWirelessStats()
170 TWlanDrvIfObj *drv = (TWlanDrvIfObj *)NETDEV_GET_PRIVATE(dev); in wlanDrvWext_Handler() local
176 os_memoryZero(drv, &my_command, sizeof(ti_private_cmd_t)); in wlanDrvWext_Handler()
177 os_memoryZero(drv, &mlme, sizeof(struct iw_mlme)); in wlanDrvWext_Handler()
178 os_memoryZero(drv, &scanreq, sizeof(struct iw_scan_req)); in wlanDrvWext_Handler()
186 …if (os_memoryCopyFromUser(drv, &my_command, ((union iwreq_data *)iw_req)->data.pointer, sizeof(ti_… in wlanDrvWext_Handler()
197 return wlanDrvIf_LoadFiles(drv, my_command.in_buffer); in wlanDrvWext_Handler()
207 (drv->tCommon.eDriverState == DRV_STATE_RUNNING) ? TI_TRUE : TI_FALSE; in wlanDrvWext_Handler()
[all …]
Dipc_k.c70 TWlanDrvIfObj *drv = (TWlanDrvIfObj *) hAdapter; in IPC_EventSend() local
76 os_wake_lock_timeout_enable(drv); in IPC_EventSend()
111 …res = netlink_unicast(drv->wl_sock, skb, (( IPC_EVENT_PARAMS *) pEvData) ->uProcessID, MSG_DONTWAI… in IPC_EventSend()
DosRgstry_parser.c50 TWlanDrvIfObjPtr drv = (TWlanDrvIfObjPtr)hOs; in osInitTable_IniFile() local
57 regFillInitTable (drv, InitTable); in osInitTable_IniFile()
59 regReadLastDbgState(drv); in osInitTable_IniFile()
/hardware/ti/wlan/wl1271/wpa_supplicant_lib/
Ddriver_ti.c105 struct wpa_driver_ti_data *drv = priv; in wpa_driver_tista_get_bssid() local
106 TI_CHECK_DRIVER( drv->driver_is_loaded, -1 ); in wpa_driver_tista_get_bssid()
107 return wpa_driver_wext_get_bssid(drv->wext, bssid); in wpa_driver_tista_get_bssid()
112 struct wpa_driver_ti_data *drv = priv; in wpa_driver_tista_get_ssid() local
113 TI_CHECK_DRIVER( drv->driver_is_loaded, -1 ); in wpa_driver_tista_get_ssid()
114 return wpa_driver_wext_get_ssid(drv->wext, ssid); in wpa_driver_tista_get_ssid()
119 struct wpa_driver_ti_data *drv = (struct wpa_driver_ti_data *)priv; in wpa_driver_tista_private_send() local
136 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_tista_private_send()
142 res = ioctl(drv->ioctl_sock, SIOCIWFIRSTPRIV, &iwr); in wpa_driver_tista_private_send()
146 drv->errors++; in wpa_driver_tista_private_send()
[all …]
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
Ddriver_mac80211.c54 static void wpa_driver_wext_finish_drv_init(struct wpa_driver_wext_data *drv);
55 static void wpa_driver_wext_disconnect(struct wpa_driver_wext_data *drv);
58 static int wpa_driver_wext_send_oper_ifla(struct wpa_driver_wext_data *drv, in wpa_driver_wext_send_oper_ifla() argument
80 req.ifinfo.ifi_index = drv->ifindex; in wpa_driver_wext_send_oper_ifla()
107 ret = send(drv->ioctl_sock, &req, req.hdr.nlmsg_len, 0); in wpa_driver_wext_send_oper_ifla()
226 struct wpa_driver_wext_data *drv, const char *ev, size_t len) in wpa_driver_wext_event_wireless_pmkidcand() argument
247 wpa_supplicant_event(drv->ctx, EVENT_PMKID_CANDIDATE, &data); in wpa_driver_wext_event_wireless_pmkidcand()
254 struct wpa_driver_wext_data *drv, const char *ev, int len) in wpa_driver_wext_event_wireless_assocreqie() argument
262 os_free(drv->assoc_req_ies); in wpa_driver_wext_event_wireless_assocreqie()
263 drv->assoc_req_ies = os_malloc(len); in wpa_driver_wext_event_wireless_assocreqie()
[all …]
Ddriver_mac80211_nl.c43 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
47 static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv) in wpa_driver_send_hang_msg() argument
52 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
105 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_get_link_signal() local
116 genlmsg_put(msg, 0, 0, genl_family_get_id(drv->nl80211), 0, in wpa_driver_get_link_signal()
119 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex); in wpa_driver_get_link_signal()
120 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, drv->bssid); in wpa_driver_get_link_signal()
122 ret = send_and_recv_msgs(drv, msg, get_link_signal, sig); in wpa_driver_get_link_signal()
149 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_set_power_save() local
158 genlmsg_put(msg, 0, 0, genl_family_get_id(drv->nl80211), 0, 0, in wpa_driver_set_power_save()
[all …]
Ddriver_nl80211.h73 struct wpa_driver_nl80211_data *drv; member
/hardware/broadcom/wlan/bcm4329/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c46 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_set_scan_timeout() local
51 if (drv->scan_complete_events) { in wpa_driver_wext_set_scan_timeout()
61 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); in wpa_driver_wext_set_scan_timeout()
62 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, drv, in wpa_driver_wext_set_scan_timeout()
63 drv->ctx); in wpa_driver_wext_set_scan_timeout()
75 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_combo_scan() local
80 if (!drv->driver_is_started) { in wpa_driver_wext_combo_scan()
115 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_combo_scan()
119 if ((ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr)) < 0) { in wpa_driver_wext_combo_scan()
120 if (!drv->bgscan_enabled) in wpa_driver_wext_combo_scan()
[all …]
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c49 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_set_scan_timeout() local
54 if (drv->scan_complete_events) { in wpa_driver_wext_set_scan_timeout()
64 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); in wpa_driver_wext_set_scan_timeout()
65 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, drv, in wpa_driver_wext_set_scan_timeout()
66 drv->ctx); in wpa_driver_wext_set_scan_timeout()
78 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_combo_scan() local
83 if (!drv->driver_is_started) { in wpa_driver_wext_combo_scan()
118 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_combo_scan()
122 if ((ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr)) < 0) { in wpa_driver_wext_combo_scan()
123 if (!drv->bgscan_enabled) in wpa_driver_wext_combo_scan()
[all …]
Ddriver_cmd_nl80211.c31 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
37 static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv) in wpa_driver_send_hang_msg() argument
42 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
49 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_set_power_save() local
58 genlmsg_put(msg, 0, 0, drv->global->nl80211_id, 0, 0, in wpa_driver_set_power_save()
66 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex); in wpa_driver_set_power_save()
69 ret = send_and_recv_msgs(drv, msg, NULL, NULL); in wpa_driver_set_power_save()
103 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_get_power_save() local
112 genlmsg_put(msg, 0, 0, drv->global->nl80211_id, 0, 0, in wpa_driver_get_power_save()
115 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex); in wpa_driver_get_power_save()
[all …]
Ddriver_nl80211.h92 struct wpa_driver_nl80211_data *drv; member
/hardware/ti/wlan/wl1271/platforms/hw/linux/
Dhost_platform.c205 TWlanDrvIfObj *drv = tnet_drv; in hPlatform_Wlan_Hardware_Init() local
210 drv->irq = wifi_irqres->start; in hPlatform_Wlan_Hardware_Init()
211 drv->irq_flags = wifi_irqres->flags & IRQF_TRIGGER_MASK; in hPlatform_Wlan_Hardware_Init()
214 drv->irq = TNETW_IRQ; in hPlatform_Wlan_Hardware_Init()
215 drv->irq_flags = (unsigned long)IRQF_TRIGGER_FALLING; in hPlatform_Wlan_Hardware_Init()
242 TWlanDrvIfObj *drv = tnet_drv; in hPlatform_initInterrupt() local
245 if (drv->irq == 0 || handle_add == NULL) in hPlatform_initInterrupt()
247 …print_err("hPlatform_initInterrupt() bad param drv->irq=%d handle_add=0x%x !!!\n",drv->irq,(int)ha… in hPlatform_initInterrupt()
250 printk("drv->irq = %u, %lx\n", drv->irq, drv->irq_flags); in hPlatform_initInterrupt()
251 if ((rc = request_irq(drv->irq, handle_add, drv->irq_flags, drv->netdev->name, drv))) in hPlatform_initInterrupt()
[all …]
/hardware/ti/wlan/wl1271/platforms/os/linux/inc/
DWlanDrvIf.h77 #define NETDEV_SET_PRIVATE(dev, drv) dev->priv = drv argument
80 #define NETDEV_SET_PRIVATE(dev, drv) dev->ml_priv = drv argument
129 #define NETDEV(drv) (((TWlanDrvIfObj*)(drv))->netdev) argument
/hardware/qcom/media/mm-video/vidc/vdec/
DAndroid.mk99 mm-vdec-drv-test-inc := $(TARGET_OUT_HEADERS)/mm-core/omxcore
100 mm-vdec-drv-test-inc += $(LOCAL_PATH)/inc
105 LOCAL_C_INCLUDES := $(mm-vdec-drv-test-inc)
/hardware/ti/wlan/wl1271/utils/
Dmem.c225 size, drv->cur_heap_bytes_allocated); in mem_Free()
/hardware/ti/wlan/wl1271/external_drivers/sdio/linux/
DSdioDrv.c376 irqreturn_t sdiodrv_irq(int irq, void *drv) in sdiodrv_irq() argument