Home
last modified time | relevance | path

Searched +defs:phy +defs:mode (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/sys/dev/phy/
H A Dphy.c276 phynode_set_mode(struct phynode *phynode, phy_mode_t mode, in phynode_set_mode()
315 struct phy *phy; in phy_create() local
333 phy_enable(phy_t phy) in phy_enable()
351 phy_disable(phy_t phy) in phy_disable()
371 phy_set_mode(phy_t phy, phy_mode_t mode, phy_submode_t submode) in phy_set_mode()
387 phy_status(phy_t phy, int *status) in phy_status()
404 phy_t *phy) in phy_get_by_id()
422 phy_release(phy_t phy) in phy_release()
479 phy_get_by_ofw_idx(device_t consumer_dev, phandle_t cnode, int idx, phy_t *phy) in phy_get_by_ofw_idx()
516 phy_t *phy) in phy_get_by_ofw_name()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dtestmode.c38 mt7915_tm_set_tx_power(struct mt7915_phy *phy) in mt7915_tm_set_tx_power()
74 mt7915_tm_set_freq_offset(struct mt7915_phy *phy, bool en, u32 val) in mt7915_tm_set_freq_offset()
106 mt7915_tm_set_trx(struct mt7915_phy *phy, int type, bool en) in mt7915_tm_set_trx()
122 mt7915_tm_clean_hwq(struct mt7915_phy *phy, u8 wcid) in mt7915_tm_clean_hwq()
137 mt7915_tm_set_slot_time(struct mt7915_phy *phy, u8 slot_time, u8 sifs) in mt7915_tm_set_slot_time()
155 mt7915_tm_set_tam_arb(struct mt7915_phy *phy, bool enable, bool mu) in mt7915_tm_set_tam_arb()
171 mt7915_tm_set_wmm_qid(struct mt7915_phy *phy, u8 qid, u8 aifs, u8 cw_min, in mt7915_tm_set_wmm_qid()
190 mt7915_tm_set_ipg_params(struct mt7915_phy *phy, u32 ipg, u8 mode) in mt7915_tm_set_ipg_params()
255 mt7915_tm_set_tx_len(struct mt7915_phy *phy, u32 tx_time) in mt7915_tm_set_tx_len()
335 mt7915_tm_reg_backup_restore(struct mt7915_phy *phy) in mt7915_tm_reg_backup_restore()
[all …]
H A Ddebugfs.c52 struct mt7915_phy *phy = file->private_data; in mt7915_sys_recovery_set() local
128 struct mt7915_phy *phy = file->private_data; in mt7915_sys_recovery_get() local
252 struct mt7915_phy *phy = file->private; in mt7915_muru_stats_show() local
586 create_buf_file_cb(const char *filename, struct dentry *parent, umode_t mode, in create_buf_file_cb()
682 mt7915_ampdu_stat_read_phy(struct mt7915_phy *phy, in mt7915_ampdu_stat_read_phy()
713 mt7915_txbf_stat_read_phy(struct mt7915_phy *phy, struct seq_file *s) in mt7915_txbf_stat_read_phy()
762 struct mt7915_phy *phy = file->private; in mt7915_tx_stats_show() local
796 struct mt7915_phy *phy = s->private; in mt7915_hw_queue_read() local
854 struct mt7915_phy *phy = file->private; in mt7915_hw_queues_show() local
924 struct mt7915_phy *phy = file->private; in mt7915_xmit_queues_show() local
[all …]
H A Dmac.c292 struct mt7915_phy *phy = &dev->phy; in mt7915_mac_fill_rx() local
304 u8 mode = 0, qos_ctl = 0; in mt7915_mac_fill_rx() local
574 struct mt7915_phy *phy = &dev->phy; in mt7915_mac_fill_rx_vector() local
620 mt7915_mac_write_txwi_tm(struct mt7915_phy *phy, __le32 *txwi, in mt7915_mac_write_txwi_tm()
626 u8 bw, mode, nss = td->tx_rate_nss; in mt7915_mac_write_txwi_tm() local
1149 void mt7915_mac_cca_stats_reset(struct mt7915_phy *phy) in mt7915_mac_cca_stats_reset()
1158 void mt7915_mac_reset_counters(struct mt7915_phy *phy) in mt7915_mac_reset_counters()
1178 void mt7915_mac_set_timing(struct mt7915_phy *phy) in mt7915_mac_set_timing()
1253 mt7915_phy_get_nf(struct mt7915_phy *phy, int idx) in mt7915_phy_get_nf()
1280 struct mt7915_phy *phy = mphy->priv; in mt7915_update_channel() local
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dchannel.c22 mt76_phy_update_channel(struct mt76_phy *phy, in mt76_phy_update_channel()
36 struct mt76_phy *phy = hw->priv; in mt76_add_chanctx() local
62 struct mt76_phy *phy = hw->priv; in mt76_remove_chanctx() local
84 struct mt76_phy *phy = ctx->phy; in mt76_change_chanctx() local
109 struct mt76_phy *phy = ctx->phy; in mt76_assign_vif_chanctx() local
160 struct mt76_phy *phy = ctx->phy; in mt76_unassign_vif_chanctx() local
193 enum ieee80211_chanctx_switch_mode mode) in mt76_switch_vif_chanctx()
199 struct mt76_phy *phy = hw->priv; in mt76_switch_vif_chanctx() local
266 struct mt76_vif_link *mt76_get_vif_phy_link(struct mt76_phy *phy, in mt76_get_vif_phy_link()
300 void mt76_put_vif_phy_link(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_put_vif_phy_link()
[all …]
H A Dmt76_connac_mac.c36 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_wake()
62 void mt76_connac_power_save_sched(struct mt76_phy *phy, in mt76_connac_power_save_sched()
108 struct mt76_phy *phy = hw->priv; in mt76_connac_pm_queue_skb() local
123 void mt76_connac_pm_dequeue_skbs(struct mt76_phy *phy, in mt76_connac_pm_dequeue_skbs()
261 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc, in mt76_connac_init_tx_queues()
303 u8 nss = 0, mode = 0, band = chandef->chan->band; in mt76_connac2_mac_tx_rate_val() local
619 u32 txrate, txs, mode, stbc; in mt76_connac2_mac_fill_txs() local
868 __le32 *rxv, u32 mode) in mt76_connac2_mac_decode_he_radiotap()
1029 __le32 *rxv, u8 *mode) in mt76_connac2_mac_fill_rx_rate()
H A Dmt76_connac_mcu.c54 u32 mode) in mt76_connac_mcu_init_download()
59 __le32 mode; in mt76_connac_mcu_init_download() member
80 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy) in mt76_connac_mcu_set_channel_domain()
800 u8 mode = 0; in mt76_connac_get_phy_mode_v2() local
860 struct sta_rec_phy *phy; in mt76_connac_mcu_sta_tlv() local
1042 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy, in mt76_connac_mcu_sta_cmd()
1142 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy, in mt76_connac_mcu_uni_add_dev()
1320 u8 mt76_connac_get_phy_mode(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode()
1328 u8 mode = 0; in mt76_connac_get_phy_mode() local
1374 u8 mt76_connac_get_phy_mode_ext(struct mt76_phy *phy, struct ieee80211_bss_conf *conf, in mt76_connac_get_phy_mode_ext()
[all …]
/freebsd/sys/arm64/rockchip/
H A Drk_usb2phy.c93 int mode; member
122 intptr_t phy; in rk_usb2phy_enable() local
150 rk_usb2phy_get_mode(struct phynode *phynode, int *mode) in rk_usb2phy_get_mode()
153 intptr_t phy; in rk_usb2phy_get_mode() local
169 rk_usb2phy_set_mode(struct phynode *phynode, int mode) in rk_usb2phy_set_mode()
172 intptr_t phy; in rk_usb2phy_set_mode() local
H A Drk_typec_phy.c130 int mode; member
189 intptr_t phy; in rk_typec_phy_enable() local
288 rk_typec_phy_get_mode(struct phynode *phynode, int *mode) in rk_typec_phy_get_mode()
291 intptr_t phy; in rk_typec_phy_get_mode() local
307 rk_typec_phy_set_mode(struct phynode *phynode, int mode) in rk_typec_phy_set_mode()
310 intptr_t phy; in rk_typec_phy_set_mode() local
H A Drk_usbphy.c83 int mode; member
91 rk_phynode_phy_enable(struct phynode *phy, bool enable) in rk_phynode_phy_enable()
108 rk_phynode_get_mode(struct phynode *phynode, int *mode) in rk_phynode_get_mode()
118 rk_phynode_set_mode(struct phynode *phynode, int mode) in rk_phynode_set_mode()
/freebsd/sys/dev/isci/scil/
H A Dscic_sds_port_configuration_agent.c143 SCIC_SDS_PHY_T * phy in scic_sds_port_configuration_agent_find_port()
480 SCIC_SDS_PHY_T * phy in scic_sds_mpc_agent_link_up()
529 SCIC_SDS_PHY_T * phy in scic_sds_mpc_agent_link_down()
649 SCIC_SDS_PHY_T * phy, in scic_sds_apc_agent_start_timer()
683 SCIC_SDS_PHY_T * phy, in scic_sds_apc_agent_configure_ports()
828 SCIC_SDS_PHY_T * phy in scic_sds_apc_agent_link_up()
886 SCIC_SDS_PHY_T * phy in scic_sds_apc_agent_link_down()
1025 enum SCIC_PORT_CONFIGURATION_MODE mode; in scic_sds_port_configuration_agent_initialize() local
/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch.c111 int phy, err = 0; in mtkswitch_attach_phys() local
148 mtkswitch_set_vlan_mode(struct mtkswitch_softc *sc, uint32_t mode) in mtkswitch_set_vlan_mode()
251 int error, phy; in mtkswitch_detach() local
272 mtkswitch_portforphy(int phy) in mtkswitch_portforphy()
288 int phy = mtkswitch_phyforport(port); in mtkswitch_miiforport() local
299 int phy = mtkswitch_phyforport(port); in mtkswitch_ifpforport() local
587 mtkswitch_readphy(device_t dev, int phy, int reg) in mtkswitch_readphy()
595 mtkswitch_writephy(device_t dev, int phy, int reg, int val) in mtkswitch_writephy()
/freebsd/sys/dev/vnic/
H A Dthunder_mdio.c191 enum thunder_mdio_mode mode) in thunder_mdio_set_mode()
212 thunder_mdio_c45_addr(struct thunder_mdio_softc *sc, int phy, int reg) in thunder_mdio_c45_addr()
252 thunder_mdio_read(device_t dev, int phy, int reg) in thunder_mdio_read()
304 thunder_mdio_write(device_t dev, int phy, int reg, int data) in thunder_mdio_write()
440 thunder_mdio_phy_connect(device_t dev, int lmacid, int phy) in thunder_mdio_phy_connect()
478 thunder_mdio_phy_disconnect(device_t dev, int lmacid, int phy) in thunder_mdio_phy_disconnect()
/freebsd/sys/dev/etherswitch/ip17x/
H A Dip175c.c84 int i, err, phy; in ip175c_port_vlan_setup() local
198 ip175c_set_vlan_mode(struct ip17x_softc *sc, uint32_t mode) in ip175c_set_vlan_mode()
/freebsd/sys/dev/bxe/
H A Dbxe_elink.c3413 struct elink_phy *phy, in elink_cl22_write()
3416 uint32_t tmp, mode; in elink_cl22_write() local
3448 struct elink_phy *phy, in elink_cl22_read()
3451 uint32_t val, mode; in elink_cl22_read() local
3489 static elink_status_t elink_cl45_read(struct bxe_softc *sc, struct elink_phy *phy, in elink_cl45_read()
3566 static elink_status_t elink_cl45_write(struct bxe_softc *sc, struct elink_phy *phy, in elink_cl45_write()
3761 struct elink_vars *vars, uint8_t mode) in elink_eee_initial_config()
3779 static elink_status_t elink_eee_disable(struct elink_phy *phy, in elink_eee_disable()
3795 static elink_status_t elink_eee_advertise(struct elink_phy *phy, in elink_eee_advertise()
3832 static void elink_eee_an_resolve(struct elink_phy *phy, in elink_eee_an_resolve()
[all …]
/freebsd/sbin/etherswitchcfg/
H A Detherswitchcfg.c73 enum cmdmode mode; member
78 enum cmdmode mode; member
143 read_phyregister(struct cfg *cfg, int phy, int reg) in read_phyregister()
155 write_phyregister(struct cfg *cfg, int phy, int reg, int val) in write_phyregister()
415 int phy, reg, val; in set_phyregister() local
701 newmode(struct cfg *cfg, enum cmdmode mode) in newmode()
/freebsd/sys/arm/allwinner/
H A Daw_usbphy.c154 int mode; member
345 intptr_t phy; in awusbphy_phy_enable() local
397 awusbphy_get_mode(struct phynode *phynode, int *mode) in awusbphy_get_mode()
411 awusbphy_set_mode(struct phynode *phynode, int mode) in awusbphy_set_mode()
414 intptr_t phy; in awusbphy_set_mode() local
/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch.c146 int phy, err = 0; in arswitch_attach_phys() local
207 arswitch_set_vlan_mode(struct arswitch_softc *sc, uint32_t mode) in arswitch_set_vlan_mode()
695 arswitch_portforphy(int phy) in arswitch_portforphy()
703 int phy = port-1; in arswitch_miiforport() local
713 int phy = port-1; in arswitch_ifpforport() local
1053 arswitch_setled(struct arswitch_softc *sc, int phy, int led, int style) in arswitch_setled()
1249 arswitch_readphy(device_t dev, int phy, int reg) in arswitch_readphy()
1257 arswitch_writephy(device_t dev, int phy, int reg, int val) in arswitch_writephy()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmain.c13 mt7921_init_he_caps(struct mt792x_phy *phy, enum nl80211_band band, in mt7921_init_he_caps()
188 void mt7921_set_stream_he_caps(struct mt792x_phy *phy) in mt7921_set_stream_he_caps()
219 int __mt7921_start(struct mt792x_phy *phy) in __mt7921_start()
266 struct mt792x_phy *phy = mt792x_hw_phy(hw); in mt7921_start() local
297 struct mt792x_phy *phy = mt792x_hw_phy(hw); in mt7921_add_interface() local
358 struct mt792x_phy *phy = priv; in mt7921_roc_iter() local
365 struct mt792x_phy *phy = &dev->phy; in mt7921_roc_abort_sync() local
378 struct mt792x_phy *phy; in mt7921_roc_work() local
394 static int mt7921_abort_roc(struct mt792x_phy *phy, struct mt792x_vif *vif) in mt7921_abort_roc()
409 static int mt7921_set_roc(struct mt792x_phy *phy, in mt7921_set_roc()
[all …]
/freebsd/sys/dev/bwn/
H A Dif_bwn_phy_g.c152 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_attach() local
239 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_init_pre() local
272 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_prepare_hw() local
443 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_txctl() local
522 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_rf_onoff() local
577 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_set_antenna() local
628 bwn_phy_g_im(struct bwn_mac *mac, int mode) in bwn_phy_g_im()
630 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_im() local
646 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_recalc_txpwr() local
698 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_g_set_txpwr() local
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmac.c293 __le32 *rxv, u8 *mode) in mt7996_mac_fill_rx_rate()
432 struct mt7996_phy *phy = &dev->phy; in mt7996_mac_fill_rx() local
447 u8 mode = 0, qos_ctl = 0; in mt7996_mac_fill_rx() local
1218 u32 txrate, txs, mode, stbc; in mt7996_mac_add_txs_skb() local
1480 void mt7996_mac_cca_stats_reset(struct mt7996_phy *phy) in mt7996_mac_cca_stats_reset()
1489 void mt7996_mac_reset_counters(struct mt7996_phy *phy) in mt7996_mac_reset_counters()
1509 void mt7996_mac_set_coverage_class(struct mt7996_phy *phy) in mt7996_mac_set_coverage_class()
1553 mt7996_phy_get_nf(struct mt7996_phy *phy, u8 band_idx) in mt7996_phy_get_nf()
1575 struct mt7996_phy *phy = mphy->priv; in mt7996_update_channel() local
2113 void mt7996_mac_update_stats(struct mt7996_phy *phy) in mt7996_mac_update_stats()
[all …]
H A Ddebugfs.c379 create_buf_file_cb(const char *filename, struct dentry *parent, umode_t mode, in create_buf_file_cb()
452 mt7996_ampdu_stat_read_phy(struct mt7996_phy *phy, struct seq_file *file) in mt7996_ampdu_stat_read_phy()
482 mt7996_txbf_stat_read_phy(struct mt7996_phy *phy, struct seq_file *s) in mt7996_txbf_stat_read_phy()
530 mt7996_tx_stats_show_phy(struct seq_file *file, struct mt7996_phy *phy) in mt7996_tx_stats_show_phy()
565 struct mt7996_phy *phy = &dev->phy; in mt7996_tx_stats_show() local
588 struct mt7996_phy *phy = s->private; in mt7996_hw_queue_read() local
647 struct mt7996_phy *phy = &dev->phy; in mt7996_hw_queues_show() local
726 struct mt7996_phy *phy; in mt7996_xmit_queues_show() local
933 struct ra_rate phy = {}; in mt7996_sta_fixed_rate_set() local
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmac.c113 void mt7615_mac_reset_counters(struct mt7615_phy *phy) in mt7615_mac_reset_counters()
140 void mt7615_mac_set_timing(struct mt7615_phy *phy) in mt7615_mac_set_timing()
220 static void mt7615_mac_fill_tm_rx(struct mt7615_phy *phy, __le32 *rxv) in mt7615_mac_fill_tm_rx()
228 u8 mode = FIELD_GET(MT_RXV1_TX_MODE, rxv1); in mt7615_mac_fill_tm_rx() local
340 struct mt7615_phy *phy = &dev->phy; in mt7615_mac_fill_rx() local
664 u8 phy, nss, rate_idx; in mt7615_mac_tx_rate_val() local
964 mt7615_mac_update_rate_desc(struct mt7615_phy *phy, struct mt7615_sta *sta, in mt7615_mac_update_rate_desc()
1054 mt7615_mac_queue_rate_update(struct mt7615_phy *phy, struct mt7615_sta *sta, in mt7615_mac_queue_rate_update()
1100 void mt7615_mac_set_rates(struct mt7615_phy *phy, struct mt7615_sta *sta, in mt7615_mac_set_rates()
1375 struct mt7615_phy *phy = &dev->phy; in mt7615_fill_txs() local
[all …]
/freebsd/sys/dev/etherswitch/e6000sw/
H A De6000sw.c680 e6000sw_waitready(e6000sw_softc_t *sc, uint32_t phy, uint32_t reg,
696 e6000sw_read_xmdio(device_t dev, int phy, int devaddr, int devreg)
735 e6000sw_write_xmdio(device_t dev, int phy, int devaddr, int devreg, int val)
768 e6000sw_readphy(device_t dev, int phy, int reg)
790 e6000sw_readphy_locked(device_t dev, int phy, int reg)
822 e6000sw_writephy(device_t dev, int phy, int reg, int data)
840 e6000sw_writephy_locked(device_t dev, int phy, int reg, int data)
869 int error, phy; local
1153 e6000sw_set_vlan_mode(struct e6000sw_softc *sc, uint32_t mode)
1403 e6000sw_miiforphy(e6000sw_softc_t *sc, unsigned int phy)
[all …]
H A De6060sw.c204 int phy, port, err; in e6060sw_attach_phys() local
358 e6060sw_portforphy(struct e6060sw_softc *sc, int phy) in e6060sw_portforphy()
462 int err, phy; in e6060sw_getport() local
702 e6060sw_dot1q_mode(device_t dev, int mode) in e6060sw_dot1q_mode()
909 e6060sw_readphy(device_t dev, int phy, int reg) in e6060sw_readphy()
930 e6060sw_writephy(device_t dev, int phy, int reg, int data) in e6060sw_writephy()

123