/drivers/net/wireless/realtek/rtlwifi/ |
D | stats.c | 70 struct rtl_stats *pstatus) in rtl_process_ui_rssi() argument 77 if (!pstatus->packet_toself && !pstatus->packet_beacon) in rtl_process_ui_rssi() 80 rtlpriv->stats.pwdb_all_cnt += pstatus->rx_pwdb_all; in rtl_process_ui_rssi() 89 rtlpriv->stats.ui_rssi.total_val += pstatus->signalstrength; in rtl_process_ui_rssi() 91 pstatus->signalstrength; in rtl_process_ui_rssi() 98 pstatus->rssi = rtlpriv->stats.signal_strength; in rtl_process_ui_rssi() 100 if (pstatus->is_cck) in rtl_process_ui_rssi() 107 pstatus->rx_mimo_signalstrength[rfpath]; in rtl_process_ui_rssi() 110 if (pstatus->rx_mimo_signalstrength[rfpath] > in rtl_process_ui_rssi() 115 (pstatus->rx_mimo_signalstrength[rfpath])) / in rtl_process_ui_rssi() [all …]
|
D | stats.h | 18 struct rtl_stats *pstatus);
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.c | 27 struct rtl_stats *pstatus, u8 *pdesc, in _rtl8723e_query_rxphystatus() argument 39 bool is_cck = pstatus->is_cck; in _rtl8723e_query_rxphystatus() 42 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl8723e_query_rxphystatus() 43 pstatus->packet_toself = bpacket_toself; in _rtl8723e_query_rxphystatus() 44 pstatus->packet_beacon = packet_beacon; in _rtl8723e_query_rxphystatus() 45 pstatus->rx_mimo_signalquality[0] = -1; in _rtl8723e_query_rxphystatus() 46 pstatus->rx_mimo_signalquality[1] = -1; in _rtl8723e_query_rxphystatus() 123 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723e_query_rxphystatus() 124 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723e_query_rxphystatus() 130 if (pstatus->rx_pwdb_all > 40) in _rtl8723e_query_rxphystatus() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | trx.c | 28 struct rtl_stats *pstatus, __le32 *pdesc, in _rtl88ee_query_rxphystatus() argument 43 bool is_cck = pstatus->is_cck; in _rtl88ee_query_rxphystatus() 47 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl88ee_query_rxphystatus() 48 pstatus->packet_toself = bpacket_toself; in _rtl88ee_query_rxphystatus() 49 pstatus->packet_beacon = packet_beacon; in _rtl88ee_query_rxphystatus() 50 pstatus->rx_mimo_signalquality[0] = -1; in _rtl88ee_query_rxphystatus() 51 pstatus->rx_mimo_signalquality[1] = -1; in _rtl88ee_query_rxphystatus() 141 pstatus->rx_pwdb_all = pwdb_all; in _rtl88ee_query_rxphystatus() 142 pstatus->recvsignalpower = rx_pwr_all; in _rtl88ee_query_rxphystatus() 148 if (pstatus->rx_pwdb_all > 40) in _rtl88ee_query_rxphystatus() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.c | 29 struct rtl_stats *pstatus, in _rtl8723be_query_rxphystatus() argument 42 bool is_cck = pstatus->is_cck; in _rtl8723be_query_rxphystatus() 46 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl8723be_query_rxphystatus() 47 pstatus->packet_toself = bpacket_toself; in _rtl8723be_query_rxphystatus() 48 pstatus->packet_beacon = packet_beacon; in _rtl8723be_query_rxphystatus() 49 pstatus->rx_mimo_signalquality[0] = -1; in _rtl8723be_query_rxphystatus() 50 pstatus->rx_mimo_signalquality[1] = -1; in _rtl8723be_query_rxphystatus() 89 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723be_query_rxphystatus() 90 pstatus->bt_rx_rssi_percentage = pwdb_all; in _rtl8723be_query_rxphystatus() 91 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723be_query_rxphystatus() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | trx.c | 59 struct rtl_stats *pstatus, __le32 *pdesc, in query_rxphystatus() argument 72 bool is_cck = pstatus->is_cck; in query_rxphystatus() 76 pstatus->packet_matchbssid = bpacket_match_bssid; in query_rxphystatus() 77 pstatus->packet_toself = bpacket_toself; in query_rxphystatus() 78 pstatus->packet_beacon = packet_beacon; in query_rxphystatus() 79 pstatus->rx_mimo_signalquality[0] = -1; in query_rxphystatus() 80 pstatus->rx_mimo_signalquality[1] = -1; in query_rxphystatus() 172 pstatus->rx_pwdb_all = pwdb_all; in query_rxphystatus() 173 pstatus->recvsignalpower = rx_pwr_all; in query_rxphystatus() 179 if (pstatus->rx_pwdb_all > 40) { in query_rxphystatus() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | trx.c | 29 struct rtl_stats *pstatus, u8 *pdesc, in _rtl92ee_query_rxphystatus() argument 41 bool is_cck = pstatus->is_cck; in _rtl92ee_query_rxphystatus() 45 pstatus->packet_matchbssid = bpacket_match_bssid; in _rtl92ee_query_rxphystatus() 46 pstatus->packet_toself = bpacket_toself; in _rtl92ee_query_rxphystatus() 47 pstatus->packet_beacon = packet_beacon; in _rtl92ee_query_rxphystatus() 48 pstatus->rx_mimo_signalquality[0] = -1; in _rtl92ee_query_rxphystatus() 49 pstatus->rx_mimo_signalquality[1] = -1; in _rtl92ee_query_rxphystatus() 114 pstatus->rx_pwdb_all = pwdb_all; in _rtl92ee_query_rxphystatus() 115 pstatus->bt_rx_rssi_percentage = pwdb_all; in _rtl92ee_query_rxphystatus() 116 pstatus->recvsignalpower = rx_pwr_all; in _rtl92ee_query_rxphystatus() [all …]
|
/drivers/i2c/busses/ |
D | i2c-tiny-usb.c | 53 unsigned char *pstatus; in usb_xfer() local 59 pstatus = kmalloc(sizeof(*pstatus), GFP_KERNEL); in usb_xfer() 60 if (!pstatus) in usb_xfer() 103 if (usb_read(adapter, CMD_GET_STATUS, 0, 0, pstatus, 1) != 1) { in usb_xfer() 109 dev_dbg(&adapter->dev, " status = %d\n", *pstatus); in usb_xfer() 110 if (*pstatus == STATUS_ADDRESS_NAK) { in usb_xfer() 118 kfree(pstatus); in usb_xfer()
|
/drivers/pci/hotplug/ |
D | ibmphp_hpc.c | 503 int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus) in ibmphp_hpc_readslot() argument 511 debug_polling("%s - Entry pslot[%p] cmd[%x] pstatus[%p]\n", __func__, pslot, cmd, pstatus); in ibmphp_hpc_readslot() 514 || ((pstatus == NULL) && (cmd != READ_ALLSTAT) && (cmd != READ_BUSSTATUS))) { in ibmphp_hpc_readslot() 568 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 573 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 578 *pstatus = status; in ibmphp_hpc_readslot() 585 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 588 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 592 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 1067 u8 *pstatus) in hpc_wait_ctlr_notworking() argument [all …]
|
/drivers/scsi/aacraid/ |
D | dpcsup.c | 96 __le32 *pstatus = (__le32 *)hwfib->data; in aac_response_normal() local 97 if (*pstatus & cpu_to_le32(0xffff0000)) in aac_response_normal() 98 *pstatus = cpu_to_le32(ST_OK); in aac_response_normal() 398 __le32 *pstatus = (__le32 *)hwfib->data; in aac_intr_normal() local 400 if (*pstatus & cpu_to_le32(0xffff0000)) in aac_intr_normal() 401 *pstatus = cpu_to_le32(ST_OK); in aac_intr_normal()
|
/drivers/media/usb/as102/ |
D | as10x_cmd.c | 156 struct as10x_tune_status *pstatus) in as10x_cmd_get_tune_status() argument 191 pstatus->tune_state = prsp->body.get_tune_status.rsp.sts.tune_state; in as10x_cmd_get_tune_status() 192 pstatus->signal_strength = in as10x_cmd_get_tune_status() 194 pstatus->PER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.PER); in as10x_cmd_get_tune_status() 195 pstatus->BER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.BER); in as10x_cmd_get_tune_status()
|
D | as10x_cmd.h | 484 struct as10x_tune_status *pstatus);
|
/drivers/net/fjes/ |
D | fjes_main.c | 597 enum ep_partner_status pstatus; in fjes_xmit_frame() local 658 pstatus = fjes_hw_get_partner_ep_status(hw, dest_epid); in fjes_xmit_frame() 659 if (pstatus != EP_PARTNER_SHARED) { in fjes_xmit_frame() 912 enum ep_partner_status pstatus; in fjes_rxframe_search_exist() local 924 pstatus = fjes_hw_get_partner_ep_status(hw, cur_epid); in fjes_rxframe_search_exist() 925 if (pstatus == EP_PARTNER_SHARED) { in fjes_rxframe_search_exist() 1081 enum ep_partner_status pstatus; in fjes_tx_stall_task() local 1102 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_tx_stall_task() 1103 sendable = (pstatus == EP_PARTNER_SHARED); in fjes_tx_stall_task() 1135 enum ep_partner_status pstatus; in fjes_raise_intr_rxdata_task() local [all …]
|
D | fjes_hw.c | 988 enum ep_partner_status pstatus; in fjes_hw_update_zone_task() local 1030 pstatus = fjes_hw_get_partner_ep_status(hw, epidx); in fjes_hw_update_zone_task() 1031 switch (pstatus) { in fjes_hw_update_zone_task()
|
/drivers/media/i2c/ |
D | bt819.c | 200 static int bt819_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in bt819_status() argument 218 if (pstatus) in bt819_status() 219 *pstatus = res; in bt819_status()
|
D | vpx3220.c | 282 static int vpx3220_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in vpx3220_status() argument 320 if (pstatus) in vpx3220_status() 321 *pstatus = res; in vpx3220_status()
|
D | ks0127.c | 595 static int ks0127_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in ks0127_status() argument 619 if (pstatus) in ks0127_status() 620 *pstatus = stat; in ks0127_status()
|
D | saa7110.c | 235 static int saa7110_g_input_status(struct v4l2_subdev *sd, u32 *pstatus) in saa7110_g_input_status() argument 248 *pstatus = res; in saa7110_g_input_status()
|
/drivers/usb/host/ |
D | ehci-hcd.c | 810 int pstatus; in ehci_irq() local 815 pstatus = ehci_readl(ehci, in ehci_irq() 818 if (pstatus & PORT_OWNER) in ehci_irq() 821 ((pstatus & PORT_RESUME) || in ehci_irq() 822 !(pstatus & PORT_SUSPEND)) && in ehci_irq() 823 (pstatus & PORT_PE) && in ehci_irq()
|
D | oxu210hp-hcd.c | 2911 int pstatus = readl(&oxu->regs->port_status[i]); in oxu210_hcd_irq() local 2913 if (pstatus & PORT_OWNER) in oxu210_hcd_irq() 2915 if (!(pstatus & PORT_RESUME) in oxu210_hcd_irq()
|
/drivers/media/usb/s2255/ |
D | s2255drv.c | 1031 static int s2255_cmd_status(struct s2255_vc *vc, u32 *pstatus) in s2255_cmd_status() argument 1045 *pstatus = 0; in s2255_cmd_status() 1055 *pstatus = vc->vidstatus; in s2255_cmd_status() 1056 dprintk(dev, 4, "%s, vid status %d\n", __func__, *pstatus); in s2255_cmd_status()
|
/drivers/usb/gadget/udc/ |
D | atmel_usba_udc.c | 827 static int stop_dma(struct usba_ep *ep, u32 *pstatus) in stop_dma() argument 846 if (pstatus) in stop_dma() 847 *pstatus = status; in stop_dma()
|
/drivers/usb/fotg210/ |
D | fotg210-hcd.c | 5187 int pstatus; in fotg210_irq() local 5197 pstatus = fotg210_readl(fotg210, status_reg); in fotg210_irq() 5200 ((pstatus & PORT_RESUME) || in fotg210_irq() 5201 !(pstatus & PORT_SUSPEND)) && in fotg210_irq() 5202 (pstatus & PORT_PE) && in fotg210_irq()
|
/drivers/scsi/ |
D | ips.c | 3833 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus) in ips_chkstatus() argument 3844 scb = &ha->scbs[pstatus->fields.command_id]; in ips_chkstatus() 3846 pstatus->fields.basic_status & IPS_BASIC_STATUS_MASK; in ips_chkstatus() 3847 scb->extended_status = ext_status = pstatus->fields.extended_status; in ips_chkstatus()
|