Home
last modified time | relevance | path

Searched refs:pstatus (Results 1 – 25 of 25) sorted by relevance

/drivers/net/wireless/realtek/rtlwifi/
Dstats.c91 struct rtl_stats *pstatus) in rtl_process_ui_rssi() argument
98 if (!pstatus->packet_toself && !pstatus->packet_beacon) in rtl_process_ui_rssi()
101 rtlpriv->stats.pwdb_all_cnt += pstatus->rx_pwdb_all; in rtl_process_ui_rssi()
110 rtlpriv->stats.ui_rssi.total_val += pstatus->signalstrength; in rtl_process_ui_rssi()
112 pstatus->signalstrength; in rtl_process_ui_rssi()
119 pstatus->rssi = rtlpriv->stats.signal_strength; in rtl_process_ui_rssi()
121 if (pstatus->is_cck) in rtl_process_ui_rssi()
128 pstatus->rx_mimo_signalstrength[rfpath]; in rtl_process_ui_rssi()
131 if (pstatus->rx_mimo_signalstrength[rfpath] > in rtl_process_ui_rssi()
136 (pstatus->rx_mimo_signalstrength[rfpath])) / in rtl_process_ui_rssi()
[all …]
Dstats.h40 struct rtl_stats *pstatus);
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c51 struct rtl_stats *pstatus, u8 *pdesc, in _rtl88ee_query_rxphystatus() argument
66 bool is_cck = pstatus->is_cck; in _rtl88ee_query_rxphystatus()
70 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl88ee_query_rxphystatus()
71 pstatus->packet_toself = bpacket_toself; in _rtl88ee_query_rxphystatus()
72 pstatus->packet_beacon = packet_beacon; in _rtl88ee_query_rxphystatus()
73 pstatus->rx_mimo_signalquality[0] = -1; in _rtl88ee_query_rxphystatus()
74 pstatus->rx_mimo_signalquality[1] = -1; in _rtl88ee_query_rxphystatus()
164 pstatus->rx_pwdb_all = pwdb_all; in _rtl88ee_query_rxphystatus()
165 pstatus->recvsignalpower = rx_pwr_all; in _rtl88ee_query_rxphystatus()
171 if (pstatus->rx_pwdb_all > 40) in _rtl88ee_query_rxphystatus()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c49 struct rtl_stats *pstatus, u8 *pdesc, in _rtl8723e_query_rxphystatus() argument
61 bool is_cck = pstatus->is_cck; in _rtl8723e_query_rxphystatus()
64 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl8723e_query_rxphystatus()
65 pstatus->packet_toself = bpacket_toself; in _rtl8723e_query_rxphystatus()
66 pstatus->packet_beacon = packet_beacon; in _rtl8723e_query_rxphystatus()
67 pstatus->rx_mimo_signalquality[0] = -1; in _rtl8723e_query_rxphystatus()
68 pstatus->rx_mimo_signalquality[1] = -1; in _rtl8723e_query_rxphystatus()
145 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723e_query_rxphystatus()
146 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723e_query_rxphystatus()
152 if (pstatus->rx_pwdb_all > 40) in _rtl8723e_query_rxphystatus()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c51 struct rtl_stats *pstatus, u8 *pdesc, in _rtl8723be_query_rxphystatus() argument
63 bool is_cck = pstatus->is_cck; in _rtl8723be_query_rxphystatus()
67 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl8723be_query_rxphystatus()
68 pstatus->packet_toself = bpacket_toself; in _rtl8723be_query_rxphystatus()
69 pstatus->packet_beacon = packet_beacon; in _rtl8723be_query_rxphystatus()
70 pstatus->rx_mimo_signalquality[0] = -1; in _rtl8723be_query_rxphystatus()
71 pstatus->rx_mimo_signalquality[1] = -1; in _rtl8723be_query_rxphystatus()
112 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723be_query_rxphystatus()
113 pstatus->bt_rx_rssi_percentage = pwdb_all; in _rtl8723be_query_rxphystatus()
114 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723be_query_rxphystatus()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c82 struct rtl_stats *pstatus, u8 *pdesc, in query_rxphystatus() argument
95 bool is_cck = pstatus->is_cck; in query_rxphystatus()
99 pstatus->packet_matchbssid = bpacket_match_bssid; in query_rxphystatus()
100 pstatus->packet_toself = bpacket_toself; in query_rxphystatus()
101 pstatus->packet_beacon = packet_beacon; in query_rxphystatus()
102 pstatus->rx_mimo_signalquality[0] = -1; in query_rxphystatus()
103 pstatus->rx_mimo_signalquality[1] = -1; in query_rxphystatus()
195 pstatus->rx_pwdb_all = pwdb_all; in query_rxphystatus()
196 pstatus->recvsignalpower = rx_pwr_all; in query_rxphystatus()
202 if (pstatus->rx_pwdb_all > 40) { in query_rxphystatus()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c51 struct rtl_stats *pstatus, u8 *pdesc, in _rtl92ee_query_rxphystatus() argument
63 bool is_cck = pstatus->is_cck; in _rtl92ee_query_rxphystatus()
67 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl92ee_query_rxphystatus()
68 pstatus->packet_toself = bpacket_toself; in _rtl92ee_query_rxphystatus()
69 pstatus->packet_beacon = packet_beacon; in _rtl92ee_query_rxphystatus()
70 pstatus->rx_mimo_signalquality[0] = -1; in _rtl92ee_query_rxphystatus()
71 pstatus->rx_mimo_signalquality[1] = -1; in _rtl92ee_query_rxphystatus()
135 pstatus->rx_pwdb_all = pwdb_all; in _rtl92ee_query_rxphystatus()
136 pstatus->bt_rx_rssi_percentage = pwdb_all; in _rtl92ee_query_rxphystatus()
137 pstatus->recvsignalpower = rx_pwr_all; in _rtl92ee_query_rxphystatus()
[all …]
/drivers/i2c/busses/
Di2c-tiny-usb.c57 unsigned char *pstatus; in usb_xfer() local
63 pstatus = kmalloc(sizeof(*pstatus), GFP_KERNEL); in usb_xfer()
64 if (!pstatus) in usb_xfer()
107 if (usb_read(adapter, CMD_GET_STATUS, 0, 0, pstatus, 1) != 1) { in usb_xfer()
113 dev_dbg(&adapter->dev, " status = %d\n", *pstatus); in usb_xfer()
114 if (*pstatus == STATUS_ADDRESS_NAK) { in usb_xfer()
122 kfree(pstatus); in usb_xfer()
/drivers/pci/hotplug/
Dibmphp_hpc.c536 int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus) in ibmphp_hpc_readslot() argument
544 debug_polling("%s - Entry pslot[%p] cmd[%x] pstatus[%p]\n", __func__, pslot, cmd, pstatus); in ibmphp_hpc_readslot()
547 || ((pstatus == NULL) && (cmd != READ_ALLSTAT) && (cmd != READ_BUSSTATUS))) { in ibmphp_hpc_readslot()
601 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
606 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
611 *pstatus = status; in ibmphp_hpc_readslot()
618 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
621 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
625 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
1102 u8 *pstatus) in hpc_wait_ctlr_notworking() argument
[all …]
/drivers/scsi/aacraid/
Ddpcsup.c111 __le32 *pstatus = (__le32 *)hwfib->data; in aac_response_normal() local
112 if (*pstatus & cpu_to_le32(0xffff0000)) in aac_response_normal()
113 *pstatus = cpu_to_le32(ST_OK); in aac_response_normal()
378 __le32 *pstatus = (__le32 *)hwfib->data; in aac_intr_normal() local
379 if (*pstatus & cpu_to_le32(0xffff0000)) in aac_intr_normal()
380 *pstatus = cpu_to_le32(ST_OK); in aac_intr_normal()
/drivers/net/fjes/
Dfjes_main.c467 enum ep_partner_status pstatus; in fjes_tx_stall_task() local
488 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_tx_stall_task()
489 sendable = (pstatus == EP_PARTNER_SHARED); in fjes_tx_stall_task()
532 enum ep_partner_status pstatus; in fjes_raise_intr_rxdata_task() local
545 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_raise_intr_rxdata_task()
546 if (pstatus == EP_PARTNER_SHARED) { in fjes_raise_intr_rxdata_task()
562 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_raise_intr_rxdata_task()
565 (pstatus == EP_PARTNER_SHARED) && in fjes_raise_intr_rxdata_task()
603 enum ep_partner_status pstatus; in fjes_xmit_frame() local
664 pstatus = fjes_hw_get_partner_ep_status(hw, dest_epid); in fjes_xmit_frame()
[all …]
Dfjes_hw.c944 enum ep_partner_status pstatus; in fjes_hw_update_zone_task() local
986 pstatus = fjes_hw_get_partner_ep_status(hw, epidx); in fjes_hw_update_zone_task()
987 switch (pstatus) { in fjes_hw_update_zone_task()
/drivers/media/usb/as102/
Das10x_cmd.c165 struct as10x_tune_status *pstatus) in as10x_cmd_get_tune_status() argument
200 pstatus->tune_state = prsp->body.get_tune_status.rsp.sts.tune_state; in as10x_cmd_get_tune_status()
201 pstatus->signal_strength = in as10x_cmd_get_tune_status()
203 pstatus->PER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.PER); in as10x_cmd_get_tune_status()
204 pstatus->BER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.BER); in as10x_cmd_get_tune_status()
Das10x_cmd.h493 struct as10x_tune_status *pstatus);
/drivers/media/i2c/
Dbt819.c213 static int bt819_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in bt819_status() argument
231 if (pstatus) in bt819_status()
232 *pstatus = res; in bt819_status()
Dvpx3220.c295 static int vpx3220_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in vpx3220_status() argument
333 if (pstatus) in vpx3220_status()
334 *pstatus = res; in vpx3220_status()
Dks0127.c608 static int ks0127_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in ks0127_status() argument
632 if (pstatus) in ks0127_status()
633 *pstatus = stat; in ks0127_status()
Dsaa7110.c248 static int saa7110_g_input_status(struct v4l2_subdev *sd, u32 *pstatus) in saa7110_g_input_status() argument
261 *pstatus = res; in saa7110_g_input_status()
/drivers/net/wan/
Dsdla.c344 struct _dlci_stat *pstatus; in sdla_errors() local
373 for(pstatus = data, i=0;i < len;i++,pstatus++) in sdla_errors()
375 if (pstatus->flags & SDLA_DLCI_NEW) in sdla_errors()
377 else if (pstatus->flags & SDLA_DLCI_DELETED) in sdla_errors()
379 else if (pstatus->flags & SDLA_DLCI_ACTIVE) in sdla_errors()
383 sprintf(line, "unknown status: %02X", pstatus->flags); in sdla_errors()
387 pstatus->dlci, state); in sdla_errors()
/drivers/usb/host/
Dehci-hcd.c793 int pstatus; in ehci_irq() local
798 pstatus = ehci_readl(ehci, in ehci_irq()
801 if (pstatus & PORT_OWNER) in ehci_irq()
804 ((pstatus & PORT_RESUME) || in ehci_irq()
805 !(pstatus & PORT_SUSPEND)) && in ehci_irq()
806 (pstatus & PORT_PE) && in ehci_irq()
Dfotg210-hcd.c5221 int pstatus; in fotg210_irq() local
5231 pstatus = fotg210_readl(fotg210, status_reg); in fotg210_irq()
5234 ((pstatus & PORT_RESUME) || in fotg210_irq()
5235 !(pstatus & PORT_SUSPEND)) && in fotg210_irq()
5236 (pstatus & PORT_PE) && in fotg210_irq()
Doxu210hp-hcd.c2488 int pstatus = readl(&oxu->regs->port_status[i]); in oxu210_hcd_irq() local
2490 if (pstatus & PORT_OWNER) in oxu210_hcd_irq()
2492 if (!(pstatus & PORT_RESUME) in oxu210_hcd_irq()
/drivers/media/usb/s2255/
Ds2255drv.c1066 static int s2255_cmd_status(struct s2255_vc *vc, u32 *pstatus) in s2255_cmd_status() argument
1080 *pstatus = 0; in s2255_cmd_status()
1090 *pstatus = vc->vidstatus; in s2255_cmd_status()
1091 dprintk(dev, 4, "%s, vid status %d\n", __func__, *pstatus); in s2255_cmd_status()
/drivers/usb/gadget/udc/
Datmel_usba_udc.c803 static int stop_dma(struct usba_ep *ep, u32 *pstatus) in stop_dma() argument
822 if (pstatus) in stop_dma()
823 *pstatus = status; in stop_dma()
/drivers/scsi/
Dips.c3845 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus) in ips_chkstatus() argument
3856 scb = &ha->scbs[pstatus->fields.command_id]; in ips_chkstatus()
3858 pstatus->fields.basic_status & IPS_BASIC_STATUS_MASK; in ips_chkstatus()
3859 scb->extended_status = ext_status = pstatus->fields.extended_status; in ips_chkstatus()