Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dstats.c70 struct rtl_stats *pstatus) in rtl_process_ui_rssi() argument
77 if (!pstatus->packet_toself && !pstatus->packet_beacon) in rtl_process_ui_rssi()
91 pstatus->signalstrength; in rtl_process_ui_rssi()
100 if (pstatus->is_cck) in rtl_process_ui_rssi()
130 pstatus->cfo_short[rfpath]; in rtl_process_ui_rssi()
136 struct rtl_stats *pstatus) in rtl_update_rxsignalstatistics() argument
194 struct rtl_stats *pstatus) in rtl_process_ui_link_quality() argument
199 if (pstatus->signalquality == 0) in rtl_process_ui_link_quality()
213 pstatus->signalquality; in rtl_process_ui_link_quality()
237 struct rtl_stats *pstatus) in rtl_process_phyinfo() argument
[all …]
H A Dstats.h18 struct rtl_stats *pstatus);
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dtrx.c39 bool is_cck = pstatus->is_cck; in _rtl8723e_query_rxphystatus()
123 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723e_query_rxphystatus()
130 if (pstatus->rx_pwdb_all > 40) in _rtl8723e_query_rxphystatus()
142 pstatus->signalquality = sq; in _rtl8723e_query_rxphystatus()
179 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723e_query_rxphystatus()
180 pstatus->rxpower = rx_pwr_all; in _rtl8723e_query_rxphystatus()
184 if (pstatus->is_ht && pstatus->rate >= DESC92C_RATEMCS8 && in _rtl8723e_query_rxphystatus()
198 pstatus->signalquality = in _rtl8723e_query_rxphystatus()
231 tmp_buf = skb->data + pstatus->rx_drvinfo_size + pstatus->rx_bufshift; in translate_rx_signal_stuff()
242 (!pstatus->hwerror) && in translate_rx_signal_stuff()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dtrx.c43 bool is_cck = pstatus->is_cck; in _rtl88ee_query_rxphystatus()
148 if (pstatus->rx_pwdb_all > 40) in _rtl88ee_query_rxphystatus()
160 pstatus->signalquality = sq; in _rtl88ee_query_rxphystatus()
197 pstatus->rxpower = rx_pwr_all; in _rtl88ee_query_rxphystatus()
201 if (pstatus->is_ht && pstatus->rate >= DESC92C_RATEMCS8 && in _rtl88ee_query_rxphystatus()
215 pstatus->signalquality = in _rtl88ee_query_rxphystatus()
239 struct rtl_stats *pstatus) in _rtl88ee_smart_antenna() argument
254 pstatus->rx_pwdb_all; in _rtl88ee_smart_antenna()
260 if (pstatus->packet_toself || pstatus->packet_matchbssid) { in _rtl88ee_smart_antenna()
286 tmp_buf = skb->data + pstatus->rx_drvinfo_size + pstatus->rx_bufshift; in _rtl88ee_translate_rx_signal_stuff()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dtrx.c29 struct rtl_stats *pstatus, in _rtl8723be_query_rxphystatus() argument
42 bool is_cck = pstatus->is_cck; in _rtl8723be_query_rxphystatus()
89 pstatus->rx_pwdb_all = pwdb_all; in _rtl8723be_query_rxphystatus()
107 pstatus->signalquality = sq; in _rtl8723be_query_rxphystatus()
121 pstatus->rx_pwr[i] = rx_pwr[i]; in _rtl8723be_query_rxphystatus()
139 pstatus->rxpower = rx_pwr_all; in _rtl8723be_query_rxphystatus()
158 pstatus->signalquality = in _rtl8723be_query_rxphystatus()
190 struct rtl_stats *pstatus, in _rtl8723be_translate_rx_signal_stuff() argument
203 tmp_buf = skb->data + pstatus->rx_drvinfo_size + pstatus->rx_bufshift; in _rtl8723be_translate_rx_signal_stuff()
216 (!pstatus->hwerror) && in _rtl8723be_translate_rx_signal_stuff()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dtrx.c72 bool is_cck = pstatus->is_cck; in query_rxphystatus()
172 pstatus->rx_pwdb_all = pwdb_all; in query_rxphystatus()
191 pstatus->signalquality = sq; in query_rxphystatus()
224 pstatus->rx_pwdb_all = pwdb_all; in query_rxphystatus()
225 pstatus->rxpower = rx_pwr_all; in query_rxphystatus()
229 if ((pstatus->is_ht && pstatus->rate >= DESC_RATEMCS8 && in query_rxphystatus()
231 (pstatus->is_vht && in query_rxphystatus()
247 pstatus->signalquality = evm; in query_rxphystatus()
289 tmp_buf = skb->data + pstatus->rx_drvinfo_size + pstatus->rx_bufshift; in translate_rx_signal_stuff()
303 (!pstatus->hwerror) && in translate_rx_signal_stuff()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dtrx.c41 bool is_cck = pstatus->is_cck; in _rtl92ee_query_rxphystatus()
47 pstatus->packet_beacon = packet_beacon; in _rtl92ee_query_rxphystatus()
114 pstatus->rx_pwdb_all = pwdb_all; in _rtl92ee_query_rxphystatus()
122 if (pstatus->rx_pwdb_all > 40) { in _rtl92ee_query_rxphystatus()
134 pstatus->signalquality = sq; in _rtl92ee_query_rxphystatus()
148 pstatus->rx_pwr[i] = rx_pwr[i]; in _rtl92ee_query_rxphystatus()
163 pstatus->rx_pwdb_all = pwdb_all; in _rtl92ee_query_rxphystatus()
165 pstatus->rxpower = rx_pwr_all; in _rtl92ee_query_rxphystatus()
230 pstatus->rx_bufshift + 24; in _rtl92ee_translate_rx_signal_stuff()
244 (!pstatus->hwerror) && (!pstatus->crc) && in _rtl92ee_translate_rx_signal_stuff()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-tiny-usb.c53 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()
/openbmc/linux/drivers/pci/hotplug/
H A Dibmphp_hpc.c503 int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus) in ibmphp_hpc_readslot() argument
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
1075 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, WPG_CTLR_INDEX); in hpc_wait_ctlr_notworking()
1076 if (*pstatus == HPC_ERROR) { in hpc_wait_ctlr_notworking()
[all …]
/openbmc/linux/drivers/scsi/aacraid/
H A Ddpcsup.c96 __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()
/openbmc/linux/drivers/media/usb/as102/
H A Das10x_cmd.c156 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 Das10x_cmd.h484 struct as10x_tune_status *pstatus);
/openbmc/linux/drivers/net/fjes/
H A Dfjes_main.c597 enum ep_partner_status pstatus; in fjes_xmit_frame() local
659 if (pstatus != EP_PARTNER_SHARED) { in fjes_xmit_frame()
912 enum ep_partner_status pstatus; in fjes_rxframe_search_exist() local
925 if (pstatus == EP_PARTNER_SHARED) { in fjes_rxframe_search_exist()
1081 enum ep_partner_status pstatus; in fjes_tx_stall_task() local
1103 sendable = (pstatus == EP_PARTNER_SHARED); in fjes_tx_stall_task()
1135 enum ep_partner_status pstatus; in fjes_raise_intr_rxdata_task() local
1148 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_raise_intr_rxdata_task()
1149 if (pstatus == EP_PARTNER_SHARED) { in fjes_raise_intr_rxdata_task()
1165 pstatus = fjes_hw_get_partner_ep_status(hw, epid); in fjes_raise_intr_rxdata_task()
[all …]
H A Dfjes_hw.c988 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()
/openbmc/linux/drivers/media/i2c/
H A Dvpx3220.c282 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 Dbt819.c200 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 Dks0127.c595 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()
H A Dsaa7110.c235 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()
/openbmc/linux/drivers/usb/host/
H A Dehci-hcd.c810 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()
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.c203 static const char *pstatus[] = { variable
293 assert(stsidx < sizeof(pstatus) / sizeof(*pstatus)); in dwc2_handle_packet()
295 trace_usb_dwc2_packet_status(pstatus[stsidx], actual); in dwc2_handle_packet()
302 trace_usb_dwc2_packet_error(pstatus[stsidx]); in dwc2_handle_packet()
386 trace_usb_dwc2_packet_done(pstatus[stsidx], actual, len, pcnt); in dwc2_handle_packet()
400 trace_usb_dwc2_packet_next(pstatus[stsidx], len, pcnt); in dwc2_handle_packet()
/openbmc/u-boot/drivers/net/
H A Darmada100_fec.h165 u32 pstatus; /* Port Status */ member
/openbmc/linux/drivers/media/usb/s2255/
H A Ds2255drv.c1031 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()
/openbmc/linux/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c827 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()
/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c5187 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()
/openbmc/linux/sound/pci/asihpi/
H A Dhpi.h1648 u16 hpi_cobranet_hmi_get_status(u32 h_control, u32 *pstatus,

12