/drivers/video/fbdev/ |
D | atmel_lcdfb.c | 70 #define lcdc_readl(sinfo, reg) __raw_readl((sinfo)->mmio+(reg)) argument 71 #define lcdc_writel(sinfo, reg, val) __raw_writel((val), (sinfo)->mmio+(reg)) argument 149 static inline void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo, in atmel_lcdfb_update_dma2d() argument 161 static void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo, in atmel_lcdfb_update_dma2d() argument 173 lcdc_writel(sinfo, ATMEL_LCDC_DMA2DCFG, dma2dcfg); in atmel_lcdfb_update_dma2d() 176 lcdc_writel(sinfo, ATMEL_LCDC_DMACON, in atmel_lcdfb_update_dma2d() 177 lcdc_readl(sinfo, ATMEL_LCDC_DMACON) in atmel_lcdfb_update_dma2d() 191 struct atmel_lcdfb_info *sinfo = bl_get_data(bl); in atmel_bl_update_status() local 192 int power = sinfo->bl_power; in atmel_bl_update_status() 199 if (bl->props.fb_blank != sinfo->bl_power) in atmel_bl_update_status() [all …]
|
/drivers/pcmcia/ |
D | pxa2xx_base.c | 282 struct skt_dev_info *sinfo; in pxa2xx_drv_pcmcia_probe() local 304 sinfo = devm_kzalloc(&dev->dev, SKT_DEV_INFO_SIZE(ops->nr), in pxa2xx_drv_pcmcia_probe() 306 if (!sinfo) in pxa2xx_drv_pcmcia_probe() 309 sinfo->nskt = ops->nr; in pxa2xx_drv_pcmcia_probe() 313 skt = &sinfo->skt[i]; in pxa2xx_drv_pcmcia_probe() 325 dev_set_drvdata(&dev->dev, sinfo); in pxa2xx_drv_pcmcia_probe() 331 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_probe() 339 struct skt_dev_info *sinfo = platform_get_drvdata(dev); in pxa2xx_drv_pcmcia_remove() local 342 for (i = 0; i < sinfo->nskt; i++) in pxa2xx_drv_pcmcia_remove() 343 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_remove()
|
D | sa11xx_base.c | 220 struct skt_dev_info *sinfo; in sa11xx_drv_pcmcia_probe() local 231 sinfo = devm_kzalloc(dev, SKT_DEV_INFO_SIZE(nr), GFP_KERNEL); in sa11xx_drv_pcmcia_probe() 232 if (!sinfo) in sa11xx_drv_pcmcia_probe() 235 sinfo->nskt = nr; in sa11xx_drv_pcmcia_probe() 239 skt = &sinfo->skt[i]; in sa11xx_drv_pcmcia_probe() 252 soc_pcmcia_remove_one(&sinfo->skt[i]); in sa11xx_drv_pcmcia_probe() 254 dev_set_drvdata(dev, sinfo); in sa11xx_drv_pcmcia_probe()
|
D | sa1100_generic.c | 88 struct skt_dev_info *sinfo = platform_get_drvdata(dev); in sa11x0_drv_pcmcia_remove() local 93 for (i = 0; i < sinfo->nskt; i++) in sa11x0_drv_pcmcia_remove() 94 soc_pcmcia_remove_one(&sinfo->skt[i]); in sa11x0_drv_pcmcia_remove()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | uap_event.c | 111 struct station_info sinfo; in mwifiex_process_uap_event() local 120 memset(&sinfo, 0, sizeof(sinfo)); in mwifiex_process_uap_event() 135 sinfo.assoc_req_ies = &event->data[len]; in mwifiex_process_uap_event() 136 len = (u8 *)sinfo.assoc_req_ies - in mwifiex_process_uap_event() 138 sinfo.assoc_req_ies_len = in mwifiex_process_uap_event() 142 cfg80211_new_sta(priv->netdev, event->sta_addr, &sinfo, in mwifiex_process_uap_event() 155 mwifiex_set_sta_ht_cap(priv, sinfo.assoc_req_ies, in mwifiex_process_uap_event() 156 sinfo.assoc_req_ies_len, node); in mwifiex_process_uap_event()
|
D | cfg80211.c | 1344 struct station_info *sinfo) in mwifiex_dump_station_info() argument 1348 sinfo->filled = BIT(NL80211_STA_INFO_RX_BYTES) | BIT(NL80211_STA_INFO_TX_BYTES) | in mwifiex_dump_station_info() 1357 sinfo->filled |= BIT(NL80211_STA_INFO_INACTIVE_TIME) | in mwifiex_dump_station_info() 1359 sinfo->inactive_time = in mwifiex_dump_station_info() 1362 sinfo->signal = node->stats.rssi; in mwifiex_dump_station_info() 1363 sinfo->signal_avg = node->stats.rssi; in mwifiex_dump_station_info() 1364 sinfo->rx_bytes = node->stats.rx_bytes; in mwifiex_dump_station_info() 1365 sinfo->tx_bytes = node->stats.tx_bytes; in mwifiex_dump_station_info() 1366 sinfo->rx_packets = node->stats.rx_packets; in mwifiex_dump_station_info() 1367 sinfo->tx_packets = node->stats.tx_packets; in mwifiex_dump_station_info() [all …]
|
/drivers/net/wireless/ath/ath10k/ |
D | debugfs_sta.c | 70 struct station_info *sinfo) in ath10k_sta_statistics() argument 78 sinfo->rx_duration = arsta->rx_duration; in ath10k_sta_statistics() 79 sinfo->filled |= 1ULL << NL80211_STA_INFO_RX_DURATION; in ath10k_sta_statistics() 85 sinfo->txrate.legacy = arsta->txrate.legacy; in ath10k_sta_statistics() 87 sinfo->txrate.mcs = arsta->txrate.mcs; in ath10k_sta_statistics() 88 sinfo->txrate.nss = arsta->txrate.nss; in ath10k_sta_statistics() 89 sinfo->txrate.bw = arsta->txrate.bw; in ath10k_sta_statistics() 91 sinfo->txrate.flags = arsta->txrate.flags; in ath10k_sta_statistics() 92 sinfo->filled |= 1ULL << NL80211_STA_INFO_TX_BITRATE; in ath10k_sta_statistics()
|
D | debug.h | 195 struct station_info *sinfo);
|
/drivers/net/wireless/ |
D | virt_wifi.c | 300 const u8 *mac, struct station_info *sinfo) in virt_wifi_get_station() argument 309 sinfo->filled = BIT_ULL(NL80211_STA_INFO_TX_PACKETS) | in virt_wifi_get_station() 313 sinfo->tx_packets = priv->tx_packets; in virt_wifi_get_station() 314 sinfo->tx_failed = priv->tx_failed; in virt_wifi_get_station() 316 sinfo->signal = -50; in virt_wifi_get_station() 317 sinfo->txrate = (struct rate_info) { in virt_wifi_get_station() 325 int idx, u8 *mac, struct station_info *sinfo) in virt_wifi_dump_station() argument 335 return virt_wifi_get_station(wiphy, dev, fake_router_bssid, sinfo); in virt_wifi_dump_station()
|
D | rndis_wlan.c | 520 const u8 *mac, struct station_info *sinfo); 523 int idx, u8 *mac, struct station_info *sinfo); 2472 struct station_info *sinfo) in rndis_fill_station_info() argument 2477 memset(sinfo, 0, sizeof(*sinfo)); in rndis_fill_station_info() 2482 sinfo->txrate.legacy = le32_to_cpu(linkspeed) / 1000; in rndis_fill_station_info() 2483 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); in rndis_fill_station_info() 2490 sinfo->signal = level_to_qual(le32_to_cpu(rssi)); in rndis_fill_station_info() 2491 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); in rndis_fill_station_info() 2496 const u8 *mac, struct station_info *sinfo) in rndis_get_station() argument 2504 rndis_fill_station_info(usbdev, sinfo); in rndis_get_station() [all …]
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 429 qtnf_sta_info_parse_basic_counters(struct station_info *sinfo, in qtnf_sta_info_parse_basic_counters() argument 432 sinfo->filled |= BIT(NL80211_STA_INFO_RX_BYTES) | in qtnf_sta_info_parse_basic_counters() 434 sinfo->rx_bytes = get_unaligned_le64(&counters->rx_bytes); in qtnf_sta_info_parse_basic_counters() 435 sinfo->tx_bytes = get_unaligned_le64(&counters->tx_bytes); in qtnf_sta_info_parse_basic_counters() 437 sinfo->filled |= BIT(NL80211_STA_INFO_RX_PACKETS) | in qtnf_sta_info_parse_basic_counters() 440 sinfo->rx_packets = get_unaligned_le32(&counters->rx_packets); in qtnf_sta_info_parse_basic_counters() 441 sinfo->tx_packets = get_unaligned_le32(&counters->tx_packets); in qtnf_sta_info_parse_basic_counters() 442 sinfo->rx_beacon = get_unaligned_le64(&counters->rx_beacons); in qtnf_sta_info_parse_basic_counters() 444 sinfo->filled |= BIT(NL80211_STA_INFO_RX_DROP_MISC) | in qtnf_sta_info_parse_basic_counters() 446 sinfo->rx_dropped_misc = get_unaligned_le32(&counters->rx_dropped); in qtnf_sta_info_parse_basic_counters() [all …]
|
D | event.c | 36 struct station_info sinfo = { 0 }; in qtnf_event_handle_sta_assoc() local 69 sinfo.assoc_req_ies = NULL; in qtnf_event_handle_sta_assoc() 70 sinfo.assoc_req_ies_len = 0; in qtnf_event_handle_sta_assoc() 88 sinfo.assoc_req_ies = tlv->val; in qtnf_event_handle_sta_assoc() 89 sinfo.assoc_req_ies_len = tlv_value_len; in qtnf_event_handle_sta_assoc() 102 cfg80211_new_sta(vif->netdev, sta_assoc->sta_addr, &sinfo, in qtnf_event_handle_sta_assoc()
|
D | cfg80211.c | 456 const u8 *mac, struct station_info *sinfo) in qtnf_get_station() argument 460 return qtnf_cmd_get_sta_info(vif, mac, sinfo); in qtnf_get_station() 465 int idx, u8 *mac, struct station_info *sinfo) in qtnf_dump_station() argument 478 ret = qtnf_cmd_get_sta_info(vif, sta_node->mac_addr, sinfo); in qtnf_dump_station() 483 sinfo->filled = 0; in qtnf_dump_station()
|
D | commands.h | 45 struct station_info *sinfo);
|
/drivers/staging/wlan-ng/ |
D | cfg80211.c | 261 const u8 *mac, struct station_info *sinfo) in prism2_get_station() argument 267 memset(sinfo, 0, sizeof(*sinfo)); in prism2_get_station() 284 sinfo->txrate.legacy = quality.txrate.data; in prism2_get_station() 285 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); in prism2_get_station() 286 sinfo->signal = quality.level.data; in prism2_get_station() 287 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); in prism2_get_station()
|
/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 262 struct station_info *sinfo) in wil_cid_fill_sinfo() argument 297 sinfo->generation = wil->sinfo_gen; in wil_cid_fill_sinfo() 299 sinfo->filled = BIT(NL80211_STA_INFO_RX_BYTES) | in wil_cid_fill_sinfo() 308 sinfo->txrate.flags = RATE_INFO_FLAGS_60G; in wil_cid_fill_sinfo() 309 sinfo->txrate.mcs = le16_to_cpu(reply.evt.bf_mcs); in wil_cid_fill_sinfo() 310 sinfo->rxrate.mcs = stats->last_mcs_rx; in wil_cid_fill_sinfo() 311 sinfo->rx_bytes = stats->rx_bytes; in wil_cid_fill_sinfo() 312 sinfo->rx_packets = stats->rx_packets; in wil_cid_fill_sinfo() 313 sinfo->rx_dropped_misc = stats->rx_dropped; in wil_cid_fill_sinfo() 314 sinfo->tx_bytes = stats->tx_bytes; in wil_cid_fill_sinfo() [all …]
|
D | wmi.c | 491 struct station_info sinfo; in wmi_evt_connect() local 615 memset(&sinfo, 0, sizeof(sinfo)); in wmi_evt_connect() 617 sinfo.generation = wil->sinfo_gen++; in wmi_evt_connect() 620 sinfo.assoc_req_ies = assoc_req_ie; in wmi_evt_connect() 621 sinfo.assoc_req_ies_len = assoc_req_ielen; in wmi_evt_connect() 624 cfg80211_new_sta(ndev, evt->bssid, &sinfo, GFP_KERNEL); in wmi_evt_connect()
|
D | debugfs.c | 1166 struct station_info sinfo; in wil_link_debugfs_show() local 1187 rc = wil_cid_fill_sinfo(wil, i, &sinfo); in wil_link_debugfs_show() 1191 seq_printf(s, " Tx_mcs = %d\n", sinfo.txrate.mcs); in wil_link_debugfs_show() 1192 seq_printf(s, " Rx_mcs = %d\n", sinfo.rxrate.mcs); in wil_link_debugfs_show() 1193 seq_printf(s, " SQ = %d\n", sinfo.signal); in wil_link_debugfs_show()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 2603 struct station_info *sinfo) in brcmf_cfg80211_get_station_ibss() argument 2617 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); in brcmf_cfg80211_get_station_ibss() 2618 sinfo->txrate.legacy = rate * 5; in brcmf_cfg80211_get_station_ibss() 2628 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); in brcmf_cfg80211_get_station_ibss() 2629 sinfo->signal = rssi; in brcmf_cfg80211_get_station_ibss() 2637 sinfo->filled |= BIT(NL80211_STA_INFO_RX_PACKETS) | in brcmf_cfg80211_get_station_ibss() 2641 sinfo->rx_packets = le32_to_cpu(pktcnt.rx_good_pkt); in brcmf_cfg80211_get_station_ibss() 2642 sinfo->rx_dropped_misc = le32_to_cpu(pktcnt.rx_bad_pkt); in brcmf_cfg80211_get_station_ibss() 2643 sinfo->tx_packets = le32_to_cpu(pktcnt.tx_good_pkt); in brcmf_cfg80211_get_station_ibss() 2644 sinfo->tx_failed = le32_to_cpu(pktcnt.tx_bad_pkt); in brcmf_cfg80211_get_station_ibss() [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 1775 const u8 *mac, struct station_info *sinfo) in ath6kl_get_station() argument 1813 sinfo->rx_bytes = vif->target_stats.rx_byte; in ath6kl_get_station() 1814 sinfo->filled |= BIT(NL80211_STA_INFO_RX_BYTES64); in ath6kl_get_station() 1815 sinfo->rx_packets = vif->target_stats.rx_pkt; in ath6kl_get_station() 1816 sinfo->filled |= BIT(NL80211_STA_INFO_RX_PACKETS); in ath6kl_get_station() 1820 sinfo->tx_bytes = vif->target_stats.tx_byte; in ath6kl_get_station() 1821 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BYTES64); in ath6kl_get_station() 1822 sinfo->tx_packets = vif->target_stats.tx_pkt; in ath6kl_get_station() 1823 sinfo->filled |= BIT(NL80211_STA_INFO_TX_PACKETS); in ath6kl_get_station() 1826 sinfo->signal = vif->target_stats.cs_rssi; in ath6kl_get_station() [all …]
|
D | main.c | 429 struct station_info sinfo; in ath6kl_connect_ap_mode_sta() local 485 memset(&sinfo, 0, sizeof(sinfo)); in ath6kl_connect_ap_mode_sta() 489 sinfo.assoc_req_ies = ies; in ath6kl_connect_ap_mode_sta() 490 sinfo.assoc_req_ies_len = ies_len; in ath6kl_connect_ap_mode_sta() 492 cfg80211_new_sta(vif->ndev, mac_addr, &sinfo, GFP_KERNEL); in ath6kl_connect_ap_mode_sta()
|
/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 1559 const u8 *mac, struct station_info *sinfo) in lbs_cfg_get_station() argument 1566 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BYTES) | in lbs_cfg_get_station() 1570 sinfo->tx_bytes = priv->dev->stats.tx_bytes; in lbs_cfg_get_station() 1571 sinfo->tx_packets = priv->dev->stats.tx_packets; in lbs_cfg_get_station() 1572 sinfo->rx_bytes = priv->dev->stats.rx_bytes; in lbs_cfg_get_station() 1573 sinfo->rx_packets = priv->dev->stats.rx_packets; in lbs_cfg_get_station() 1578 sinfo->signal = signal; in lbs_cfg_get_station() 1579 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); in lbs_cfg_get_station() 1585 sinfo->txrate.legacy = lbs_rates[i].bitrate; in lbs_cfg_get_station() 1586 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); in lbs_cfg_get_station()
|
/drivers/usb/core/ |
D | devio.c | 600 struct siginfo sinfo; in async_completed() local 611 memset(&sinfo, 0, sizeof(sinfo)); in async_completed() 612 sinfo.si_signo = as->signr; in async_completed() 613 sinfo.si_errno = as->status; in async_completed() 614 sinfo.si_code = SI_ASYNCIO; in async_completed() 615 sinfo.si_addr = as->userurb; in async_completed() 634 kill_pid_info_as_cred(sinfo.si_signo, &sinfo, pid, cred, secid); in async_completed() 2650 struct siginfo sinfo; in usbdev_remove() local 2658 memset(&sinfo, 0, sizeof(sinfo)); in usbdev_remove() 2659 sinfo.si_signo = ps->discsignr; in usbdev_remove() [all …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 1245 struct station_info *sinfo) in cfg80211_rtw_get_station() argument 1253 sinfo->filled = 0; in cfg80211_rtw_get_station() 1285 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); in cfg80211_rtw_get_station() 1286 sinfo->signal = translate_percentage_to_dbm(padapter->recvpriv.signal_strength); in cfg80211_rtw_get_station() 1288 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); in cfg80211_rtw_get_station() 1289 sinfo->txrate.legacy = rtw_get_cur_max_rate(padapter); in cfg80211_rtw_get_station() 1291 sinfo->filled |= BIT(NL80211_STA_INFO_RX_PACKETS); in cfg80211_rtw_get_station() 1292 sinfo->rx_packets = sta_rx_data_pkts(psta); in cfg80211_rtw_get_station() 1294 sinfo->filled |= BIT(NL80211_STA_INFO_TX_PACKETS); in cfg80211_rtw_get_station() 1295 sinfo->tx_packets = psta->sta_stats.tx_pkts; in cfg80211_rtw_get_station() [all …]
|
/drivers/staging/wilc1000/ |
D | wilc_wfi_cfgoperations.c | 1175 const u8 *mac, struct station_info *sinfo) in get_station() argument 1199 sinfo->filled |= BIT(NL80211_STA_INFO_INACTIVE_TIME); in get_station() 1202 sinfo->inactive_time = 1000 * inactive_time; in get_station() 1210 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL) | in get_station() 1216 sinfo->signal = strStatistics.rssi; in get_station() 1217 sinfo->rx_packets = strStatistics.rx_cnt; in get_station() 1218 sinfo->tx_packets = strStatistics.tx_cnt + strStatistics.tx_fail_cnt; in get_station() 1219 sinfo->tx_failed = strStatistics.tx_fail_cnt; in get_station() 1220 sinfo->txrate.legacy = strStatistics.link_speed * 10; in get_station() 1779 int idx, u8 *mac, struct station_info *sinfo) in dump_station() argument [all …]
|