/linux-master/drivers/char/tpm/ |
H A D | tpm_tis_i2c.c | 110 struct tpm_tis_i2c_phy *phy = to_tpm_tis_i2c_phy(data); local 116 guard_time = phy->guard_time_read; 118 guard_time = phy->guard_time_write; 121 ret = i2c_transfer(phy->i2c_client->adapter, msg, 1); 125 usleep_range(phy->guard_time_min, phy->guard_time_max); 185 struct tpm_tis_i2c_phy *phy = to_tpm_tis_i2c_phy(data); local 186 struct i2c_msg msg = { .addr = phy->i2c_client->addr }; 229 struct tpm_tis_i2c_phy *phy = to_tpm_tis_i2c_phy(data); local 230 struct i2c_msg msg = { .addr = phy 294 tpm_tis_i2c_init_guard_time(struct tpm_tis_i2c_phy *phy) argument 332 struct tpm_tis_i2c_phy *phy; local [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.c | 38 mt7915_tm_set_tx_power(struct mt7915_phy *phy) argument 40 struct mt7915_dev *dev = phy->dev; 41 struct mt76_phy *mphy = phy->mt76; 54 .band_idx = phy->mt76->band_idx, 59 if (phy->mt76->test.state != MT76_TM_STATE_OFF) 60 tx_power = phy->mt76->test.tx_power; 74 mt7915_tm_set_freq_offset(struct mt7915_phy *phy, bool en, u32 val) argument 76 struct mt7915_dev *dev = phy->dev; 80 .param.freq.band = phy->mt76->band_idx, 106 mt7915_tm_set_trx(struct mt7915_phy *phy, in argument 122 mt7915_tm_clean_hwq(struct mt7915_phy *phy, u8 wcid) argument 137 mt7915_tm_set_slot_time(struct mt7915_phy *phy, u8 slot_time, u8 sifs) argument 155 mt7915_tm_set_tam_arb(struct mt7915_phy *phy, bool enable, bool mu) argument 171 mt7915_tm_set_wmm_qid(struct mt7915_phy *phy, u8 qid, u8 aifs, u8 cw_min, u16 cw_max, u16 txop) argument 190 mt7915_tm_set_ipg_params(struct mt7915_phy *phy, u32 ipg, u8 mode) argument 255 mt7915_tm_set_tx_len(struct mt7915_phy *phy, u32 tx_time) argument 335 mt7915_tm_reg_backup_restore(struct mt7915_phy *phy) argument 404 mt7915_tm_init(struct mt7915_phy *phy, bool en) argument 425 mt7915_tm_update_channel(struct mt7915_phy *phy) argument 435 mt7915_tm_set_tx_frames(struct mt7915_phy *phy, bool en) argument 483 mt7915_tm_set_rx_frames(struct mt7915_phy *phy, bool en) argument 510 mt7915_tm_set_tx_cont(struct mt7915_phy *phy, bool en) argument 636 mt7915_tm_update_params(struct mt7915_phy *phy, u32 changed) argument 651 struct mt7915_phy *phy = mphy->priv; local 694 struct mt7915_phy *phy = mphy->priv; local 723 struct mt7915_phy *phy = mphy->priv; local [all...] |
H A D | debugfs.c | 52 struct mt7915_phy *phy = file->private_data; local 53 struct mt7915_dev *dev = phy->dev; 54 bool band = phy->mt76->band_idx; 128 struct mt7915_phy *phy = file->private_data; local 129 struct mt7915_dev *dev = phy->dev; 252 struct mt7915_phy *phy = file->private; local 253 struct mt7915_dev *dev = phy->dev; 277 ret = mt7915_mcu_muru_debug_get(phy); 289 phy->mib.dl_cck_cnt, 290 phy 681 mt7915_ampdu_stat_read_phy(struct mt7915_phy *phy, struct seq_file *file) argument 712 mt7915_txbf_stat_read_phy(struct mt7915_phy *phy, struct seq_file *s) argument 761 struct mt7915_phy *phy = file->private; local 795 struct mt7915_phy *phy = s->private; local 853 struct mt7915_phy *phy = file->private; local 923 struct mt7915_phy *phy = file->private; local 975 struct mt7915_phy *phy = file->private_data; local 1052 struct mt7915_phy *phy = file->private_data; local 1206 mt7915_init_debugfs(struct mt7915_phy *phy) argument 1322 struct sta_phy phy = {}; local [all...] |
/linux-master/drivers/gpu/drm/hisilicon/kirin/ |
H A D | dw_drm_dsi.c | 89 struct mipi_phy_params phy; member in struct:dw_dsi 122 static u32 dsi_calc_phy_rate(u32 req_kHz, struct mipi_phy_params *phy) argument 152 phy->pll_vco_750M = dphy_range_info[i].pll_vco_750M; 153 phy->hstx_ckg_sel = dphy_range_info[i].hstx_ckg_sel; 155 if (phy->hstx_ckg_sel <= 7 && 156 phy->hstx_ckg_sel >= 4) 157 q_pll = 0x10 >> (7 - phy->hstx_ckg_sel); 191 phy->pll_fbd_p = 0; 192 phy->pll_pre_div1p = 1; 194 phy 245 dsi_get_phy_params(u32 phy_req_kHz, struct mipi_phy_params *phy) argument 331 dsi_set_phy_timer(void __iomem *base, struct mipi_phy_params *phy, u32 lanes) argument 364 dsi_set_mipi_phy(void __iomem *base, struct mipi_phy_params *phy, u32 lanes) argument 541 struct mipi_phy_params *phy = &dsi->phy; local 614 struct mipi_phy_params phy; local [all...] |
/linux-master/drivers/usb/phy/ |
H A D | phy-generic.h | 10 struct usb_phy phy; member in struct:usb_phy_generic 22 int usb_gen_phy_init(struct usb_phy *phy); 23 void usb_gen_phy_shutdown(struct usb_phy *phy);
|
H A D | phy-isp1301.c | 13 #include <linux/usb/phy.h> 19 struct usb_phy phy; member in struct:isp1301 25 #define phy_to_isp(p) (container_of((p), struct isp1301, phy)) 56 static int isp1301_phy_init(struct usb_phy *phy) argument 58 struct isp1301 *isp = phy_to_isp(phy); 83 static int isp1301_phy_set_vbus(struct usb_phy *phy, int on) argument 85 struct isp1301 *isp = phy_to_isp(phy); 98 struct usb_phy *phy; local 107 phy = &isp->phy; [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | testmode.c | 48 mt7615_tm_set_tx_power(struct mt7615_phy *phy) argument 50 struct mt7615_dev *dev = phy->dev; 51 struct mt76_phy *mphy = phy->mt76; 66 .dbdc_idx = phy != &dev->phy, 98 mt7615_tm_reg_backup_restore(struct mt7615_phy *phy) argument 100 struct mt7615_dev *dev = phy->dev; 101 u32 *b = phy->test.reg_backup; 106 if (phy->mt76->test.state == MT76_TM_STATE_OFF) { 124 phy 133 mt7615_tm_init(struct mt7615_phy *phy) argument 172 mt7615_tm_set_tx_antenna(struct mt7615_phy *phy, bool en) argument 225 mt7615_tm_set_tx_frames(struct mt7615_phy *phy, bool en) argument 242 mt7615_tm_update_params(struct mt7615_phy *phy, u32 changed) argument 261 struct mt7615_phy *phy = mphy->priv; local 300 struct mt7615_phy *phy = mphy->priv; local 326 struct mt7615_phy *phy = mphy->priv; local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 72 int (*advertise)(struct cphy *phy, unsigned int advertise_map); 74 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); 75 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed, 130 static inline void cphy_init(struct cphy *phy, struct net_device *dev, argument 135 phy->adapter = adapter; 136 phy->ops = phy_ops; 138 phy->mdio.prtad = phy_addr; 139 phy->mdio.mmds = phy_ops->mmds; 140 phy->mdio.mode_support = mdio_ops->mode_support; 141 phy [all...] |
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852b_rfk.h | 15 void rtw8852b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 17 void rtw8852b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, bool hwtx_en); 18 void rtw8852b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
|
H A D | rtw8852a_rfk.h | 15 void rtw8852a_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 17 void rtw8852a_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 18 void rtw8852a_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
|
H A D | rtw8852c_rfk.h | 10 void rtw8852c_mcc_get_ch_info(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 17 void rtw8852c_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 19 void rtw8852c_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy); 20 void rtw8852c_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy);
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_snps_phy.h | 17 enum phy; 21 enum phy phy, bool enable);
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | testmode.c | 31 void mt76_testmode_tx_pending(struct mt76_phy *phy) argument 33 struct mt76_testmode_data *td = &phy->test; 34 struct mt76_dev *dev = phy->dev; 45 q = phy->q_tx[qid]; 71 mt76_testmode_max_mpdu_len(struct mt76_phy *phy, u8 tx_rate_mode) argument 81 if (phy->sband_5g.sband.vht_cap.cap & 93 mt76_testmode_free_skb(struct mt76_phy *phy) argument 95 struct mt76_testmode_data *td = &phy->test; 101 int mt76_testmode_alloc_skb(struct mt76_phy *phy, u32 len) argument 106 struct mt76_testmode_data *td = &phy 178 mt76_testmode_tx_init(struct mt76_phy *phy) argument 270 mt76_testmode_tx_start(struct mt76_phy *phy) argument 282 mt76_testmode_tx_stop(struct mt76_phy *phy) argument 312 mt76_testmode_init_defaults(struct mt76_phy *phy) argument 330 __mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state) argument 364 mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state) argument 410 struct mt76_phy *phy = hw->priv; local 537 mt76_testmode_dump_stats(struct mt76_phy *phy, struct sk_buff *msg) argument 573 struct mt76_phy *phy = hw->priv; local [all...] |
/linux-master/drivers/phy/ |
H A D | phy-pistachio-usb.c | 15 #include <linux/phy/phy.h> 19 #include <dt-bindings/phy/phy-pistachio-usb.h> 52 static int pistachio_usb_phy_power_on(struct phy *phy) argument 54 struct pistachio_usb_phy *p_phy = phy_get_drvdata(phy); 117 static int pistachio_usb_phy_power_off(struct phy *phy) argument 119 struct pistachio_usb_phy *p_phy = phy_get_drvdata(phy); 136 struct phy *phy; local [all...] |
H A D | phy-can-transceiver.c | 3 * phy-can-transceiver.c - phy driver for CAN transceivers 9 #include <linux/phy/phy.h> 23 struct phy *generic_phy; 30 static int can_transceiver_phy_power_on(struct phy *phy) argument 32 struct can_transceiver_phy *can_transceiver_phy = phy_get_drvdata(phy); 38 dev_err(&phy->dev, "Failed to select CAN mux: %d\n", ret); 51 static int can_transceiver_phy_power_off(struct phy *ph argument 103 struct phy *phy; local [all...] |
/linux-master/drivers/nfc/microread/ |
H A D | i2c.c | 106 struct microread_i2c_phy *phy = phy_id; local 107 struct i2c_client *client = phy->i2c_dev; 109 if (phy->hard_fault != 0) 110 return phy->hard_fault; 138 static int microread_i2c_read(struct microread_i2c_phy *phy, argument 144 struct i2c_client *client = phy->i2c_dev; 200 struct microread_i2c_phy *phy = phy_id; local 204 if (!phy || irq != phy->i2c_dev->irq) { 209 if (phy 236 struct microread_i2c_phy *phy; local 272 struct microread_i2c_phy *phy = i2c_get_clientdata(client); local [all...] |
/linux-master/drivers/phy/ingenic/ |
H A D | phy-ingenic-usb.c | 15 #include <linux/phy/phy.h> 87 void (*usb_phy_init)(struct phy *phy); 93 struct phy *phy; member in struct:ingenic_usb_phy 99 static int ingenic_usb_phy_init(struct phy *phy) argument 101 struct ingenic_usb_phy *priv = phy_get_drvdata(phy); 107 dev_err(&phy 122 ingenic_usb_phy_exit(struct phy *phy) argument 132 ingenic_usb_phy_power_on(struct phy *phy) argument 146 ingenic_usb_phy_power_off(struct phy *phy) argument 155 ingenic_usb_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) argument 205 jz4770_usb_phy_init(struct phy *phy) argument 221 jz4775_usb_phy_init(struct phy *phy) argument 235 jz4780_usb_phy_init(struct phy *phy) argument 248 x1000_usb_phy_init(struct phy *phy) argument 263 x1830_usb_phy_init(struct phy *phy) argument 280 x2000_usb_phy_init(struct phy *phy) argument [all...] |
/linux-master/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy_7nm.c | 79 struct msm_dsi_phy *phy; member in struct:dsi_pll_7nm 127 if (pll->phy->cfg->quirks & DSI_PHY_7NM_QUIRK_PRE_V4_1) 129 else if ((pll->phy->cfg->quirks & DSI_PHY_7NM_QUIRK_V5_2)) { 192 void __iomem *base = pll->phy->pll_base; 216 void __iomem *base = pll->phy->pll_base; 219 if (!(pll->phy->cfg->quirks & DSI_PHY_7NM_QUIRK_PRE_V4_1)) 223 if (pll->phy->cfg->quirks & DSI_PHY_7NM_QUIRK_V4_1) { 230 if ((pll->phy->cfg->quirks & DSI_PHY_7NM_QUIRK_V4_2) || 231 (pll->phy->cfg->quirks & DSI_PHY_7NM_QUIRK_V4_3)) { 238 if ((pll->phy 533 dsi_7nm_pll_save_state(struct msm_dsi_phy *phy) argument 556 dsi_7nm_pll_restore_state(struct msm_dsi_phy *phy) argument 591 dsi_7nm_set_usecase(struct msm_dsi_phy *phy) argument 758 dsi_pll_7nm_init(struct msm_dsi_phy *phy) argument 790 dsi_phy_hw_v4_0_is_pll_on(struct msm_dsi_phy *phy) argument 801 dsi_phy_hw_v4_0_config_lpcdrx(struct msm_dsi_phy *phy, bool enable) argument 818 dsi_phy_hw_v4_0_lane_settings(struct msm_dsi_phy *phy) argument 851 dsi_7nm_phy_enable(struct msm_dsi_phy *phy, struct msm_dsi_phy_clk_request *clk_req) argument 1065 dsi_7nm_set_continuous_clock(struct msm_dsi_phy *phy, bool enable) argument 1080 dsi_7nm_phy_disable(struct msm_dsi_phy *phy) argument [all...] |
H A D | dsi_phy_10nm.c | 72 struct msm_dsi_phy *phy; member in struct:dsi_pll_10nm 185 void __iomem *base = pll->phy->pll_base; 209 void __iomem *base = pll->phy->pll_base; 238 void __iomem *base = pll->phy->pll_base; 262 DBG("DSI PLL%d rate=%lu, parent's=%lu", pll_10nm->phy->id, rate, 287 struct device *dev = &pll->phy->pdev->dev; 293 rc = readl_poll_timeout_atomic(pll->phy->pll_base + 301 pll->phy->id, status); 308 u32 data = dsi_phy_read(pll->phy->base + REG_DSI_10nm_PHY_CMN_CTRL_0); 310 dsi_phy_write(pll->phy 484 dsi_10nm_pll_save_state(struct msm_dsi_phy *phy) argument 507 dsi_10nm_pll_restore_state(struct msm_dsi_phy *phy) argument 542 dsi_10nm_set_usecase(struct msm_dsi_phy *phy) argument 690 dsi_pll_10nm_init(struct msm_dsi_phy *phy) argument 722 dsi_phy_hw_v3_0_is_pll_on(struct msm_dsi_phy *phy) argument 733 dsi_phy_hw_v3_0_config_lpcdrx(struct msm_dsi_phy *phy, bool enable) argument 750 dsi_phy_hw_v3_0_lane_settings(struct msm_dsi_phy *phy) argument 802 dsi_10nm_phy_enable(struct msm_dsi_phy *phy, struct msm_dsi_phy_clk_request *clk_req) argument 910 dsi_10nm_phy_disable(struct msm_dsi_phy *phy) argument 936 dsi_10nm_phy_parse_dt(struct msm_dsi_phy *phy) argument [all...] |
/linux-master/drivers/phy/rockchip/ |
H A D | phy-rockchip-pcie.c | 15 #include <linux/phy/phy.h> 68 struct phy *phy; member in struct:rockchip_pcie_phy::phy_pcie_instance 84 static struct phy *rockchip_pcie_phy_of_xlate(struct device *dev, 90 return rk_phy->phys[0].phy; 95 return rk_phy->phys[args->args[0]].phy; 121 static int rockchip_pcie_phy_power_off(struct phy *phy) argument 123 struct phy_pcie_instance *inst = phy_get_drvdata(phy); 159 rockchip_pcie_phy_power_on(struct phy *phy) argument 269 rockchip_pcie_phy_init(struct phy *phy) argument 305 rockchip_pcie_phy_exit(struct phy *phy) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | main.c | 13 mt7921_init_he_caps(struct mt792x_phy *phy, enum nl80211_band band, argument 17 int nss = hweight8(phy->mt76->chainmask); 130 if (is_mt7922(phy->mt76->dev)) { 142 if (is_mt7922(phy->mt76->dev)) { 159 &phy->mt76->sband_5g.sband; 188 void mt7921_set_stream_he_caps(struct mt792x_phy *phy) argument 194 if (phy->mt76->cap.has_2ghz) { 195 data = phy->iftype[NL80211_BAND_2GHZ]; 196 n = mt7921_init_he_caps(phy, NL80211_BAND_2GHZ, data); 198 band = &phy 219 __mt7921_start(struct mt792x_phy *phy) argument 252 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 267 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 323 struct mt792x_phy *phy = priv; local 330 struct mt792x_phy *phy = &dev->phy; local 343 struct mt792x_phy *phy; local 359 mt7921_abort_roc(struct mt792x_phy *phy, struct mt792x_vif *vif) argument 374 mt7921_set_roc(struct mt792x_phy *phy, struct mt792x_vif *vif, struct ieee80211_channel *chan, int duration, enum mt7921_roc_req type) argument 411 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 425 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 430 mt7921_set_channel(struct mt792x_phy *phy) argument 591 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 656 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 722 struct mt792x_phy *phy = mvif->phy; local 950 struct mt792x_phy *phy; local 1047 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 1074 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 1098 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 1261 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 1289 struct mt792x_phy *phy = mt792x_hw_phy(hw); local 1339 struct mt792x_phy *phy = mt792x_hw_phy(hw); local [all...] |
/linux-master/include/linux/ |
H A D | pxa168_eth.h | 8 #include <linux/phy.h>
|
/linux-master/drivers/phy/mediatek/ |
H A D | phy-mtk-hdmi.h | 14 #include <linux/phy/phy.h> 26 int (*hdmi_phy_configure)(struct phy *phy, union phy_configure_opts *opts);
|
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | phy.c | 26 #include "phy.h" 77 B43legacy_WARN_ON(dev->phy.phy_locked); 78 dev->phy.phy_locked = 1; 92 B43legacy_WARN_ON(!dev->phy.phy_locked); 93 dev->phy.phy_locked = 0; 118 struct b43legacy_phy *phy = &dev->phy; local 121 if (phy->calibrated) 123 if (phy->type == B43legacy_PHYTYPE_G && phy 136 struct b43legacy_phy *phy = &dev->phy; local 195 struct b43legacy_phy *phy = &dev->phy; local 311 struct b43legacy_phy *phy = &dev->phy; local 423 struct b43legacy_phy *phy = &dev->phy; local 472 struct b43legacy_phy *phy = &dev->phy; local 528 struct b43legacy_phy *phy = &dev->phy; local 643 struct b43legacy_phy *phy = &dev->phy; local 786 struct b43legacy_phy *phy = &dev->phy; local 985 struct b43legacy_phy *phy = &dev->phy; local 1123 struct b43legacy_phy *phy = &dev->phy; local 1219 struct b43legacy_phy *phy = &dev->phy; local 1294 struct b43legacy_phy *phy = &dev->phy; local 1308 struct b43legacy_phy *phy = &dev->phy; local 1329 struct b43legacy_phy *phy = &dev->phy; local 1444 struct b43legacy_phy *phy = &dev->phy; local 1470 struct b43legacy_phy *phy = &dev->phy; local 1714 struct b43legacy_phy *phy = &dev->phy; local 1729 struct b43legacy_phy *phy = &dev->phy; local 1753 struct b43legacy_phy *phy = &dev->phy; local 1971 struct b43legacy_phy *phy = &dev->phy; local 2035 struct b43legacy_phy *phy = &dev->phy; local 2072 struct b43legacy_phy *phy = &dev->phy; local [all...] |
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsiphy.h | 27 /* the entity that acquired the phy */ 37 int omap3isp_csiphy_acquire(struct isp_csiphy *phy, 39 void omap3isp_csiphy_release(struct isp_csiphy *phy);
|