/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/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() 91 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723be_query_rxphystatus() 92 pstatus->bt_rx_rssi_percentage = pwdb_all; in _rtl8723be_query_rxphystatus() 93 pstatus->recvsignalpower = rx_pwr_all; in _rtl8723be_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/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 | 505 int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus) in ibmphp_hpc_readslot() argument 513 debug_polling("%s - Entry pslot[%p] cmd[%x] pstatus[%p]\n", __func__, pslot, cmd, pstatus); in ibmphp_hpc_readslot() 516 || ((pstatus == NULL) && (cmd != READ_ALLSTAT) && (cmd != READ_BUSSTATUS))) { in ibmphp_hpc_readslot() 570 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 575 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 580 *pstatus = status; in ibmphp_hpc_readslot() 587 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 590 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 594 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 1069 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 | 495 enum ep_partner_status pstatus; in fjes_tx_stall_task() local 516 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_tx_stall_task() 517 sendable = (pstatus == EP_PARTNER_SHARED); in fjes_tx_stall_task() 560 enum ep_partner_status pstatus; in fjes_raise_intr_rxdata_task() local 573 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_raise_intr_rxdata_task() 574 if (pstatus == EP_PARTNER_SHARED) { in fjes_raise_intr_rxdata_task() 590 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_raise_intr_rxdata_task() 593 (pstatus == EP_PARTNER_SHARED) && in fjes_raise_intr_rxdata_task() 632 enum ep_partner_status pstatus; in fjes_xmit_frame() local 693 pstatus = fjes_hw_get_partner_ep_status(hw, dest_epid); in fjes_xmit_frame() [all …]
|
D | fjes_hw.c | 964 enum ep_partner_status pstatus; in fjes_hw_update_zone_task() local 1006 pstatus = fjes_hw_get_partner_ep_status(hw, epidx); in fjes_hw_update_zone_task() 1007 switch (pstatus) { in fjes_hw_update_zone_task()
|
/drivers/media/i2c/ |
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 | 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 | 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/net/wan/ |
D | sdla.c | 340 struct _dlci_stat *pstatus; in sdla_errors() local 369 for(pstatus = data, i=0;i < len;i++,pstatus++) in sdla_errors() 371 if (pstatus->flags & SDLA_DLCI_NEW) in sdla_errors() 373 else if (pstatus->flags & SDLA_DLCI_DELETED) in sdla_errors() 375 else if (pstatus->flags & SDLA_DLCI_ACTIVE) in sdla_errors() 379 sprintf(line, "unknown status: %02X", pstatus->flags); in sdla_errors() 383 pstatus->dlci, state); in sdla_errors()
|
/drivers/usb/host/ |
D | ehci-hcd.c | 780 int pstatus; in ehci_irq() local 785 pstatus = ehci_readl(ehci, in ehci_irq() 788 if (pstatus & PORT_OWNER) in ehci_irq() 791 ((pstatus & PORT_RESUME) || in ehci_irq() 792 !(pstatus & PORT_SUSPEND)) && in ehci_irq() 793 (pstatus & PORT_PE) && in ehci_irq()
|
D | fotg210-hcd.c | 5197 int pstatus; in fotg210_irq() local 5207 pstatus = fotg210_readl(fotg210, status_reg); in fotg210_irq() 5210 ((pstatus & PORT_RESUME) || in fotg210_irq() 5211 !(pstatus & PORT_SUSPEND)) && in fotg210_irq() 5212 (pstatus & PORT_PE) && in fotg210_irq()
|
D | oxu210hp-hcd.c | 2908 int pstatus = readl(&oxu->regs->port_status[i]); in oxu210_hcd_irq() local 2910 if (pstatus & PORT_OWNER) in oxu210_hcd_irq() 2912 if (!(pstatus & PORT_RESUME) in oxu210_hcd_irq()
|
/drivers/media/usb/s2255/ |
D | s2255drv.c | 1033 static int s2255_cmd_status(struct s2255_vc *vc, u32 *pstatus) in s2255_cmd_status() argument 1047 *pstatus = 0; in s2255_cmd_status() 1057 *pstatus = vc->vidstatus; in s2255_cmd_status() 1058 dprintk(dev, 4, "%s, vid status %d\n", __func__, *pstatus); in s2255_cmd_status()
|
/drivers/usb/gadget/udc/ |
D | atmel_usba_udc.c | 832 static int stop_dma(struct usba_ep *ep, u32 *pstatus) in stop_dma() argument 851 if (pstatus) in stop_dma() 852 *pstatus = status; in stop_dma()
|
/drivers/scsi/ |
D | ips.c | 3830 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus) in ips_chkstatus() argument 3841 scb = &ha->scbs[pstatus->fields.command_id]; in ips_chkstatus() 3843 pstatus->fields.basic_status & IPS_BASIC_STATUS_MASK; in ips_chkstatus() 3844 scb->extended_status = ext_status = pstatus->fields.extended_status; in ips_chkstatus()
|