Home
last modified time | relevance | path

Searched refs:cphy (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88x201x.c39 #include "cphy.h"
49 static int led_init(struct cphy *cphy) in led_init() argument
55 cphy_mdio_write(cphy, MDIO_MMD_PCS, 0x8304, 0xdddd); in led_init()
59 static int led_link(struct cphy *cphy, u32 do_enable) in led_link() argument
64 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, &led); in led_link()
68 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
71 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
77 static int mv88x201x_reset(struct cphy *cph argument
85 mv88x201x_interrupt_enable(struct cphy *cphy) mv88x201x_interrupt_enable() argument
102 mv88x201x_interrupt_disable(struct cphy *cphy) mv88x201x_interrupt_disable() argument
118 mv88x201x_interrupt_clear(struct cphy *cphy) mv88x201x_interrupt_clear() argument
155 mv88x201x_interrupt_handler(struct cphy *cphy) mv88x201x_interrupt_handler() argument
166 mv88x201x_set_loopback(struct cphy *cphy, int on) mv88x201x_set_loopback() argument
171 mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) mv88x201x_get_link_status() argument
193 mv88x201x_destroy(struct cphy *cphy) mv88x201x_destroy() argument
215 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); mv88x201x_phy_create() local
[all...]
H A Dmv88e1xxx.c5 #include "cphy.h"
18 static void mdio_set_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_set_bit() argument
22 (void) simple_mdio_read(cphy, reg, &val); in mdio_set_bit()
23 (void) simple_mdio_write(cphy, reg, val | bitval); in mdio_set_bit()
29 static void mdio_clear_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_clear_bit() argument
33 (void) simple_mdio_read(cphy, reg, &val); in mdio_clear_bit()
34 (void) simple_mdio_write(cphy, reg, val & ~bitval); in mdio_clear_bit()
43 * PARAMS: cphy
48 mv88e1xxx_reset(struct cphy *cphy, int wait) mv88e1xxx_reset() argument
65 mv88e1xxx_interrupt_enable(struct cphy *cphy) mv88e1xxx_interrupt_enable() argument
84 mv88e1xxx_interrupt_disable(struct cphy *cphy) mv88e1xxx_interrupt_disable() argument
102 mv88e1xxx_interrupt_clear(struct cphy *cphy) mv88e1xxx_interrupt_clear() argument
148 mv88e1xxx_crossover_set(struct cphy *cphy, int crossover) mv88e1xxx_crossover_set() argument
161 mv88e1xxx_autoneg_enable(struct cphy *cphy) mv88e1xxx_autoneg_enable() argument
174 mv88e1xxx_autoneg_disable(struct cphy *cphy) mv88e1xxx_autoneg_disable() argument
194 mv88e1xxx_autoneg_restart(struct cphy *cphy) mv88e1xxx_autoneg_restart() argument
232 mv88e1xxx_set_loopback(struct cphy *cphy, int on) mv88e1xxx_set_loopback() argument
241 mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) mv88e1xxx_get_link_status() argument
274 mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable) mv88e1xxx_downshift_set() argument
294 mv88e1xxx_interrupt_handler(struct cphy *cphy) mv88e1xxx_interrupt_handler() argument
336 mv88e1xxx_destroy(struct cphy *cphy) mv88e1xxx_destroy() argument
361 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); mv88e1xxx_phy_create() local
[all...]
H A Dmy3126.c3 #include "cphy.h"
8 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
19 schedule_delayed_work(&cphy->phy_update, HZ/30); in my3126_interrupt_enable()
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 my3126_interrupt_clear(struct cphy *cphy) my3126_interrupt_clear() argument
37 my3126_interrupt_handler(struct cphy *cphy) my3126_interrupt_handler() argument
99 struct cphy *cphy = container_of(work, struct cphy, phy_update.work); my3126_poll() local
104 my3126_set_loopback(struct cphy *cphy, int on) my3126_set_loopback() argument
110 my3126_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) my3126_get_link_status() argument
153 my3126_destroy(struct cphy *cphy) my3126_destroy() argument
174 struct cphy *cphy = kzalloc(sizeof (*cphy), GFP_KERNEL); my3126_phy_create() local
[all...]
H A Dcphy.h3 * File: cphy.h *
65 struct cphy;
69 void (*destroy)(struct cphy *);
70 int (*reset)(struct cphy *, int wait);
72 int (*interrupt_enable)(struct cphy *);
73 int (*interrupt_disable)(struct cphy *);
74 int (*interrupt_clear)(struct cphy *);
75 int (*interrupt_handler)(struct cphy *);
77 int (*autoneg_enable)(struct cphy *);
78 int (*autoneg_disable)(struct cphy *);
91 struct cphy { global() struct
110 cphy_mdio_read(struct cphy *cphy, int mmd, int reg, unsigned int *valp) cphy_mdio_read() argument
119 cphy_mdio_write(struct cphy *cphy, int mmd, int reg, unsigned int val) cphy_mdio_write() argument
126 simple_mdio_read(struct cphy *cphy, int reg, unsigned int *valp) simple_mdio_read() argument
132 simple_mdio_write(struct cphy *cphy, int reg, unsigned int val) simple_mdio_write() argument
[all...]
H A Dcommon.h218 struct cphy;
223 struct cphy *phy;
340 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
H A Dsubr.c43 #include "cphy.h"
153 struct cphy *phy = adapter->port[port_id].phy; in t1_link_changed()
200 struct cphy *phy = adapter->port[p].phy; in fpga_phy_intr_handler()
623 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start()
669 struct cphy *phy; in t1_elmer0_ext_intr_handler()
1014 struct cphy *phy = adapter->port[i].phy; in t1_free_sw_modules()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88x201x.c30 #include "cphy.h"
40 static int led_init(struct cphy *cphy) in led_init() argument
46 cphy_mdio_write(cphy, MDIO_MMD_PCS, 0x8304, 0xdddd); in led_init()
50 static int led_link(struct cphy *cphy, u32 do_enable) in led_link() argument
55 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, &led); in led_link()
59 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
62 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
68 static int mv88x201x_reset(struct cphy *cph argument
76 mv88x201x_interrupt_enable(struct cphy *cphy) mv88x201x_interrupt_enable() argument
93 mv88x201x_interrupt_disable(struct cphy *cphy) mv88x201x_interrupt_disable() argument
109 mv88x201x_interrupt_clear(struct cphy *cphy) mv88x201x_interrupt_clear() argument
146 mv88x201x_interrupt_handler(struct cphy *cphy) mv88x201x_interrupt_handler() argument
157 mv88x201x_set_loopback(struct cphy *cphy, int on) mv88x201x_set_loopback() argument
162 mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) mv88x201x_get_link_status() argument
184 mv88x201x_destroy(struct cphy *cphy) mv88x201x_destroy() argument
206 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); mv88x201x_phy_create() local
[all...]
H A Dmv88e1xxx.c5 #include "cphy.h"
18 static void mdio_set_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_set_bit() argument
22 (void) simple_mdio_read(cphy, reg, &val); in mdio_set_bit()
23 (void) simple_mdio_write(cphy, reg, val | bitval); in mdio_set_bit()
29 static void mdio_clear_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_clear_bit() argument
33 (void) simple_mdio_read(cphy, reg, &val); in mdio_clear_bit()
34 (void) simple_mdio_write(cphy, reg, val & ~bitval); in mdio_clear_bit()
43 * PARAMS: cphy
48 mv88e1xxx_reset(struct cphy *cphy, int wait) mv88e1xxx_reset() argument
65 mv88e1xxx_interrupt_enable(struct cphy *cphy) mv88e1xxx_interrupt_enable() argument
84 mv88e1xxx_interrupt_disable(struct cphy *cphy) mv88e1xxx_interrupt_disable() argument
102 mv88e1xxx_interrupt_clear(struct cphy *cphy) mv88e1xxx_interrupt_clear() argument
148 mv88e1xxx_crossover_set(struct cphy *cphy, int crossover) mv88e1xxx_crossover_set() argument
161 mv88e1xxx_autoneg_enable(struct cphy *cphy) mv88e1xxx_autoneg_enable() argument
174 mv88e1xxx_autoneg_disable(struct cphy *cphy) mv88e1xxx_autoneg_disable() argument
194 mv88e1xxx_autoneg_restart(struct cphy *cphy) mv88e1xxx_autoneg_restart() argument
232 mv88e1xxx_set_loopback(struct cphy *cphy, int on) mv88e1xxx_set_loopback() argument
241 mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) mv88e1xxx_get_link_status() argument
274 mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable) mv88e1xxx_downshift_set() argument
294 mv88e1xxx_interrupt_handler(struct cphy *cphy) mv88e1xxx_interrupt_handler() argument
336 mv88e1xxx_destroy(struct cphy *cphy) mv88e1xxx_destroy() argument
361 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); mv88e1xxx_phy_create() local
[all...]
H A Dmy3126.c3 #include "cphy.h"
8 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
19 schedule_delayed_work(&cphy->phy_update, HZ/30); in my3126_interrupt_enable()
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 my3126_interrupt_clear(struct cphy *cphy) my3126_interrupt_clear() argument
37 my3126_interrupt_handler(struct cphy *cphy) my3126_interrupt_handler() argument
99 struct cphy *cphy = container_of(work, struct cphy, phy_update.work); my3126_poll() local
104 my3126_set_loopback(struct cphy *cphy, int on) my3126_set_loopback() argument
110 my3126_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) my3126_get_link_status() argument
153 my3126_destroy(struct cphy *cphy) my3126_destroy() argument
174 struct cphy *cphy = kzalloc(sizeof (*cphy), GFP_KERNEL); my3126_phy_create() local
[all...]
H A Dcphy.h4 * File: cphy.h *
56 struct cphy;
60 void (*destroy)(struct cphy *);
61 int (*reset)(struct cphy *, int wait);
63 int (*interrupt_enable)(struct cphy *);
64 int (*interrupt_disable)(struct cphy *);
65 int (*interrupt_clear)(struct cphy *);
66 int (*interrupt_handler)(struct cphy *);
68 int (*autoneg_enable)(struct cphy *);
69 int (*autoneg_disable)(struct cphy *);
82 struct cphy { global() struct
101 cphy_mdio_read(struct cphy *cphy, int mmd, int reg, unsigned int *valp) cphy_mdio_read() argument
110 cphy_mdio_write(struct cphy *cphy, int mmd, int reg, unsigned int val) cphy_mdio_write() argument
117 simple_mdio_read(struct cphy *cphy, int reg, unsigned int *valp) simple_mdio_read() argument
123 simple_mdio_write(struct cphy *cphy, int reg, unsigned int val) simple_mdio_write() argument
[all...]
H A Dcommon.h209 struct cphy;
214 struct cphy *phy;
330 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c92 static int vsc8211_reset(struct cphy *cphy, int wait) in vsc8211_reset() argument
94 return t3_phy_reset(cphy, MDIO_DEVAD_NONE, 0); in vsc8211_reset()
97 static int vsc8211_intr_enable(struct cphy *cphy) in vsc8211_intr_enable() argument
99 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, in vsc8211_intr_enable()
103 static int vsc8211_intr_disable(struct cphy *cphy) in vsc8211_intr_disable() argument
105 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, 0); in vsc8211_intr_disable()
108 static int vsc8211_intr_clear(struct cphy *cph argument
116 vsc8211_autoneg_enable(struct cphy *cphy) vsc8211_autoneg_enable() argument
123 vsc8211_autoneg_restart(struct cphy *cphy) vsc8211_autoneg_restart() argument
130 vsc8211_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) vsc8211_get_link_status() argument
206 vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) vsc8211_get_link_status_fiber() argument
316 vsc8211_power_down(struct cphy *cphy, int enable) vsc8211_power_down() argument
322 vsc8211_intr_handler(struct cphy *cphy) vsc8211_intr_handler() argument
[all...]
H 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);
528 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
529 int (*set_loopback)(struct cphy *ph
548 struct cphy { global() struct
[all...]
H 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()
194 static int aq100x_set_loopback(struct cphy *ph
[all...]
H A Dael1002.c84 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv) in set_phy_regs()
100 static void ael100x_txon(struct cphy *phy) in ael100x_txon()
113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd()
141 static int ael1002_power_down(struct cphy *phy, int enable) in ael1002_power_down()
153 static int ael1002_reset(struct cphy *phy, int wait) in ael1002_reset()
168 static int ael1002_intr_noop(struct cphy *phy) in ael1002_intr_noop()
176 static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed, in get_link_status_r()
212 int t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1002_phy_prep()
222 static int ael1006_reset(struct cphy *phy, int wait) in ael1006_reset()
238 int t3_ael1006_phy_prep(struct cphy *ph
[all...]
H 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);
H A Dt3_hw.c328 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear, in t3_mdio_change_bits()
352 int t3_phy_reset(struct cphy *phy, int mmd, int wait) in t3_phy_reset()
382 int t3_phy_advertise(struct cphy *phy, unsigned int advert) in t3_phy_advertise()
425 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert) in t3_phy_advertise_fiber()
449 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex) in t3_set_phy_speed_duplex()
475 int t3_phy_lasi_intr_enable(struct cphy *phy) in t3_phy_lasi_intr_enable()
481 int t3_phy_lasi_intr_disable(struct cphy *phy) in t3_phy_lasi_intr_disable()
486 int t3_phy_lasi_intr_clear(struct cphy *phy) in t3_phy_lasi_intr_clear()
493 int t3_phy_lasi_intr_handler(struct cphy *phy) in t3_phy_lasi_intr_handler()
548 int (*phy_prep)(struct cphy *ph
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c92 static int vsc8211_reset(struct cphy *cphy, int wait) in vsc8211_reset() argument
94 return t3_phy_reset(cphy, MDIO_DEVAD_NONE, 0); in vsc8211_reset()
97 static int vsc8211_intr_enable(struct cphy *cphy) in vsc8211_intr_enable() argument
99 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, in vsc8211_intr_enable()
103 static int vsc8211_intr_disable(struct cphy *cphy) in vsc8211_intr_disable() argument
105 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, 0); in vsc8211_intr_disable()
108 static int vsc8211_intr_clear(struct cphy *cph argument
116 vsc8211_autoneg_enable(struct cphy *cphy) vsc8211_autoneg_enable() argument
123 vsc8211_autoneg_restart(struct cphy *cphy) vsc8211_autoneg_restart() argument
130 vsc8211_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) vsc8211_get_link_status() argument
206 vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) vsc8211_get_link_status_fiber() argument
316 vsc8211_power_down(struct cphy *cphy, int enable) vsc8211_power_down() argument
322 vsc8211_intr_handler(struct cphy *cphy) vsc8211_intr_handler() argument
[all...]
H 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);
528 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
529 int (*set_loopback)(struct cphy *ph
548 struct cphy { global() struct
[all...]
H 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()
194 static int aq100x_set_loopback(struct cphy *ph
[all...]
H A Dael1002.c84 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv) in set_phy_regs()
100 static void ael100x_txon(struct cphy *phy) in ael100x_txon()
113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd()
141 static int ael1002_power_down(struct cphy *phy, int enable) in ael1002_power_down()
153 static int ael1002_reset(struct cphy *phy, int wait) in ael1002_reset()
168 static int ael1002_intr_noop(struct cphy *phy) in ael1002_intr_noop()
176 static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed, in get_link_status_r()
212 int t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1002_phy_prep()
222 static int ael1006_reset(struct cphy *phy, int wait) in ael1006_reset()
238 int t3_ael1006_phy_prep(struct cphy *ph
[all...]
H 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);
H A Dt3_hw.c329 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear, in t3_mdio_change_bits()
353 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()
426 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert) in t3_phy_advertise_fiber()
450 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex) in t3_set_phy_speed_duplex()
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()
549 int (*phy_prep)(struct cphy *ph
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/max96712/
H A Dmax96712.c33 bool cphy; member
132 if (priv->cphy) { in max96712_mipi_configure()
366 priv->cphy = false; in max96712_parse_dt()
370 priv->cphy = true; in max96712_parse_dt()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dccs-pll.c442 struct ccs_pll_branch_bk *op_pll_bk, bool cphy, in ccs_pll_calculate_vt()
593 bool cphy, u32 phy_const) in ccs_pll_calculate_op()
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()
439 ccs_pll_calculate_vt(struct device *dev, const struct ccs_pll_limits *lim, const struct ccs_pll_branch_limits_bk *op_lim_bk, struct ccs_pll *pll, struct ccs_pll_branch_fr *pll_fr, struct ccs_pll_branch_bk *op_pll_bk, bool cphy, u32 phy_const) ccs_pll_calculate_vt() argument
587 ccs_pll_calculate_op(struct device *dev, const struct ccs_pll_limits *lim, const struct ccs_pll_branch_limits_fr *op_lim_fr, const struct ccs_pll_branch_limits_bk *op_lim_bk, struct ccs_pll *pll, struct ccs_pll_branch_fr *op_pll_fr, struct ccs_pll_branch_bk *op_pll_bk, u32 mul, u32 div, u32 op_sys_clk_freq_hz_sdr, u32 l, bool cphy, u32 phy_const) ccs_pll_calculate_op() argument

Completed in 25 milliseconds

12