Home
last modified time | relevance | path

Searched refs:cphy (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb/
A Dmv88x201x.c40 static int led_init(struct cphy *cphy) in led_init() argument
50 static int led_link(struct cphy *cphy, u32 do_enable) in led_link() argument
68 static int mv88x201x_reset(struct cphy *cphy, int wait) in mv88x201x_reset() argument
76 static int mv88x201x_interrupt_enable(struct cphy *cphy) in mv88x201x_interrupt_enable() argument
93 static int mv88x201x_interrupt_disable(struct cphy *cphy) in mv88x201x_interrupt_disable() argument
109 static int mv88x201x_interrupt_clear(struct cphy *cphy) in mv88x201x_interrupt_clear() argument
146 static int mv88x201x_interrupt_handler(struct cphy *cphy) in mv88x201x_interrupt_handler() argument
184 static void mv88x201x_destroy(struct cphy *cphy) in mv88x201x_destroy() argument
186 kfree(cphy); in mv88x201x_destroy()
206 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); in mv88x201x_phy_create() local
[all …]
A Dmv88e1xxx.c18 static void mdio_set_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_set_bit() argument
48 static int mv88e1xxx_reset(struct cphy *cphy, int wait) in mv88e1xxx_reset() argument
65 static int mv88e1xxx_interrupt_enable(struct cphy *cphy) in mv88e1xxx_interrupt_enable() argument
84 static int mv88e1xxx_interrupt_disable(struct cphy *cphy) in mv88e1xxx_interrupt_disable() argument
102 static int mv88e1xxx_interrupt_clear(struct cphy *cphy) in mv88e1xxx_interrupt_clear() argument
161 static int mv88e1xxx_autoneg_enable(struct cphy *cphy) in mv88e1xxx_autoneg_enable() argument
174 static int mv88e1xxx_autoneg_disable(struct cphy *cphy) in mv88e1xxx_autoneg_disable() argument
194 static int mv88e1xxx_autoneg_restart(struct cphy *cphy) in mv88e1xxx_autoneg_restart() argument
336 static void mv88e1xxx_destroy(struct cphy *cphy) in mv88e1xxx_destroy() argument
361 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); in mv88e1xxx_phy_create() local
[all …]
A Dmy3126.c8 static int my3126_reset(struct cphy *cphy, int wait) in my3126_reset() argument
17 static int my3126_interrupt_enable(struct cphy *cphy) in my3126_interrupt_enable() argument
20 t1_tpi_read(cphy->adapter, A_ELMER0_GPO, &cphy->elmer_gpo); in my3126_interrupt_enable()
24 static int my3126_interrupt_disable(struct cphy *cphy) in my3126_interrupt_disable() argument
30 static int my3126_interrupt_clear(struct cphy *cphy) in my3126_interrupt_clear() argument
37 static int my3126_interrupt_handler(struct cphy *cphy) in my3126_interrupt_handler() argument
99 struct cphy *cphy = container_of(work, struct cphy, phy_update.work); in my3126_poll() local
110 static int my3126_get_link_status(struct cphy *cphy, in my3126_get_link_status() argument
153 static void my3126_destroy(struct cphy *cphy) in my3126_destroy() argument
174 struct cphy *cphy = kzalloc(sizeof (*cphy), GFP_KERNEL); in my3126_phy_create() local
[all …]
A Dcphy.h56 struct cphy;
60 void (*destroy)(struct cphy *);
61 int (*reset)(struct cphy *, int wait);
68 int (*autoneg_enable)(struct cphy *);
82 struct cphy { struct
101 static inline int cphy_mdio_read(struct cphy *cphy, int mmd, int reg, in cphy_mdio_read() argument
104 int rc = cphy->mdio.mdio_read(cphy->mdio.dev, cphy->mdio.prtad, mmd, in cphy_mdio_read()
110 static inline int cphy_mdio_write(struct cphy *cphy, int mmd, int reg, in cphy_mdio_write() argument
113 return cphy->mdio.mdio_write(cphy->mdio.dev, cphy->mdio.prtad, mmd, in cphy_mdio_write()
117 static inline int simple_mdio_read(struct cphy *cphy, int reg, in simple_mdio_read() argument
[all …]
A Dcommon.h209 struct cphy;
214 struct cphy *phy;
330 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
A Dsubr.c144 struct cphy *phy = adapter->port[port_id].phy; in t1_link_changed()
195 struct cphy *phy = adapter->port[p].phy; in fpga_phy_intr_handler()
626 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start()
672 struct cphy *phy; in t1_elmer0_ext_intr_handler()
1031 struct cphy *phy = adapter->port[i].phy; in t1_free_sw_modules()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/
A Dvsc8211.c92 static int vsc8211_reset(struct cphy *cphy, int wait) in vsc8211_reset() argument
97 static int vsc8211_intr_enable(struct cphy *cphy) in vsc8211_intr_enable() argument
103 static int vsc8211_intr_disable(struct cphy *cphy) in vsc8211_intr_disable() argument
108 static int vsc8211_intr_clear(struct cphy *cphy) in vsc8211_intr_clear() argument
116 static int vsc8211_autoneg_enable(struct cphy *cphy) in vsc8211_autoneg_enable() argument
123 static int vsc8211_autoneg_restart(struct cphy *cphy) in vsc8211_autoneg_restart() argument
130 static int vsc8211_get_link_status(struct cphy *cphy, int *link_ok, in vsc8211_get_link_status() argument
181 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, in vsc8211_get_link_status()
206 static int vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok, in vsc8211_get_link_status_fiber() argument
316 static int vsc8211_power_down(struct cphy *cphy, int enable) in vsc8211_power_down() argument
[all …]
A Dael1002.c100 static void ael100x_txon(struct cphy *phy) in ael100x_txon()
168 static int ael1002_intr_noop(struct cphy *phy) in ael1002_intr_noop()
293 static int ael2005_setup_sr_edc(struct cphy *phy) in ael2005_setup_sr_edc()
376 static int ael2005_intr_enable(struct cphy *phy) in ael2005_intr_enable()
382 static int ael2005_intr_disable(struct cphy *phy) in ael2005_intr_disable()
388 static int ael2005_intr_clear(struct cphy *phy) in ael2005_intr_clear()
454 static int ael2005_intr_handler(struct cphy *phy) in ael2005_intr_handler()
523 static int ael2020_setup_sr_edc(struct cphy *phy) in ael2020_setup_sr_edc()
625 static int ael2020_intr_enable(struct cphy *phy) in ael2020_intr_enable()
665 static int ael2020_intr_disable(struct cphy *phy) in ael2020_intr_disable()
[all …]
A Dcommon.h153 struct cphy;
518 int (*reset)(struct cphy *phy, int wait);
520 int (*intr_enable)(struct cphy *phy);
521 int (*intr_disable)(struct cphy *phy);
522 int (*intr_clear)(struct cphy *phy);
523 int (*intr_handler)(struct cphy *phy);
525 int (*autoneg_enable)(struct cphy *phy);
526 int (*autoneg_restart)(struct cphy *phy);
548 struct cphy { struct
660 int t3_phy_lasi_intr_enable(struct cphy *phy);
[all …]
A Daq100x.c65 static int aq100x_reset(struct cphy *phy, int wait) in aq100x_reset()
80 static int aq100x_intr_enable(struct cphy *phy) in aq100x_intr_enable()
90 static int aq100x_intr_disable(struct cphy *phy) in aq100x_intr_disable()
95 static int aq100x_intr_clear(struct cphy *phy) in aq100x_intr_clear()
105 static int aq100x_intr_handler(struct cphy *phy) in aq100x_intr_handler()
120 static int aq100x_power_down(struct cphy *phy, int off) in aq100x_power_down()
127 static int aq100x_autoneg_enable(struct cphy *phy) in aq100x_autoneg_enable()
140 static int aq100x_autoneg_restart(struct cphy *phy) in aq100x_autoneg_restart()
153 static int aq100x_advertise(struct cphy *phy, unsigned int advertise_map) in aq100x_advertise()
201 static int aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex) in aq100x_set_speed_duplex()
[all …]
A Dadapter.h72 struct cphy phy;
289 static inline int phy2portid(struct cphy *phy) in phy2portid()
332 int t3_get_edc_fw(struct cphy *phy, int edc_idx, int size);
A Dt3_hw.c353 int t3_phy_reset(struct cphy *phy, int mmd, int wait) in t3_phy_reset()
383 int t3_phy_advertise(struct cphy *phy, unsigned int advert) in t3_phy_advertise()
476 int t3_phy_lasi_intr_enable(struct cphy *phy) in t3_phy_lasi_intr_enable()
482 int t3_phy_lasi_intr_disable(struct cphy *phy) in t3_phy_lasi_intr_disable()
487 int t3_phy_lasi_intr_clear(struct cphy *phy) in t3_phy_lasi_intr_clear()
494 int t3_phy_lasi_intr_handler(struct cphy *phy) in t3_phy_lasi_intr_handler()
1179 struct cphy *phy = &pi->phy; in t3_link_changed()
1236 struct cphy *phy = &pi->phy; in t3_link_fault()
2053 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_enable()
2070 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_disable()
[all …]
A Dcxgb3_main.c1025 int t3_get_edc_fw(struct cphy *phy, int edc_idx, int size) in t3_get_edc_fw()
/linux-6.3-rc2/drivers/media/i2c/
A Dccs-pll.c442 struct ccs_pll_branch_bk *op_pll_bk, bool cphy, in ccs_pll_calculate_vt() argument
593 bool cphy, u32 phy_const) in ccs_pll_calculate_op() argument
708 bool cphy = pll->bus_type == CCS_PLL_BUS_TYPE_CSI2_CPHY; in ccs_pll_calculate() local
709 u32 phy_const = cphy ? CPHY_CONST : DPHY_CONST; in ccs_pll_calculate()
828 op_sys_clk_freq_hz_sdr, l, cphy, in ccs_pll_calculate()
847 op_pll_bk, cphy, phy_const); in ccs_pll_calculate()
/linux-6.3-rc2/drivers/scsi/libsas/
A Dsas_ata.c684 struct sas_phy *cphy = child->phy; in sas_ata_add_dev() local
685 enum sas_linkrate min_prate = cphy->minimum_linkrate, in sas_ata_add_dev()

Completed in 41 milliseconds