/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A 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 …]
|
H A D | stats.h | 18 struct rtl_stats *pstatus);
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A 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 …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A 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 …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A 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 …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A 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 …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A 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 …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-tiny-usb.c | 53 unsigned char *pstatus; in usb_xfer() local 57 pstatus = kmalloc(sizeof(*pstatus), GFP_KERNEL); in usb_xfer() 58 if (!pstatus) in usb_xfer() 101 if (usb_read(adapter, CMD_GET_STATUS, 0, 0, pstatus, 1) != 1) { in usb_xfer() 107 dev_dbg(&adapter->dev, " status = %d\n", *pstatus); in usb_xfer() 108 if (*pstatus == STATUS_ADDRESS_NAK) { in usb_xfer() 116 kfree(pstatus); in usb_xfer()
|
/linux/drivers/pci/hotplug/ |
H A 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 …]
|
/linux/drivers/scsi/aacraid/ |
H A 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()
|
/linux/drivers/media/usb/as102/ |
H A 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()
|
H A D | as10x_cmd.h | 484 struct as10x_tune_status *pstatus);
|
/linux/drivers/net/fjes/ |
H A D | fjes_main.c | 594 enum ep_partner_status pstatus; in fjes_xmit_frame() local 655 pstatus = fjes_hw_get_partner_ep_status(hw, dest_epid); in fjes_xmit_frame() 656 if (pstatus != EP_PARTNER_SHARED) { in fjes_xmit_frame() 909 enum ep_partner_status pstatus; in fjes_rxframe_search_exist() local 921 pstatus = fjes_hw_get_partner_ep_status(hw, cur_epid); in fjes_rxframe_search_exist() 922 if (pstatus == EP_PARTNER_SHARED) { in fjes_rxframe_search_exist() 1078 enum ep_partner_status pstatus; in fjes_tx_stall_task() local 1099 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_tx_stall_task() 1100 sendable = (pstatus == EP_PARTNER_SHARED); in fjes_tx_stall_task() 1132 enum ep_partner_status pstatus; in fjes_raise_intr_rxdata_task() local [all …]
|
H A 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()
|
/linux/drivers/media/i2c/ |
H A 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()
|
H A 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()
|
H A D | ks0127.c | 587 static int ks0127_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd) in ks0127_status() argument 611 if (pstatus) in ks0127_status() 612 *pstatus = stat; in ks0127_status()
|
H A 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()
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 5183 int pstatus; in fotg210_irq() local 5193 pstatus = fotg210_readl(fotg210, status_reg); in fotg210_irq() 5196 ((pstatus & PORT_RESUME) || in fotg210_irq() 5197 !(pstatus & PORT_SUSPEND)) && in fotg210_irq() 5198 (pstatus & PORT_PE) && in fotg210_irq()
|
/linux/sound/pci/asihpi/ |
H A D | hpi.h | 1648 u16 hpi_cobranet_hmi_get_status(u32 h_control, u32 *pstatus,
|
H A D | hpifunc.c | 1727 u16 hpi_cobranet_hmi_get_status(u32 h_control, u32 *pstatus, in hpi_cobranet_hmi_get_status() argument 1742 if (pstatus) in hpi_cobranet_hmi_get_status() 1743 *pstatus = hr.u.cu.cobranet.status.status; in hpi_cobranet_hmi_get_status()
|
/linux/drivers/scsi/ |
H A D | ips.c | 3815 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus) in ips_chkstatus() argument 3826 scb = &ha->scbs[pstatus->fields.command_id]; in ips_chkstatus() 3828 pstatus->fields.basic_status & IPS_BASIC_STATUS_MASK; in ips_chkstatus() 3829 scb->extended_status = ext_status = pstatus->fields.extended_status; in ips_chkstatus()
|