Searched refs:mdiobb_ctrl (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | mdio-bitbang.h | 9 struct mdiobb_ctrl; 17 void (*set_mdc)(struct mdiobb_ctrl *ctrl, int level); 22 void (*set_mdio_dir)(struct mdiobb_ctrl *ctrl, int output); 28 void (*set_mdio_data)(struct mdiobb_ctrl *ctrl, int value); 31 int (*get_mdio_data)(struct mdiobb_ctrl *ctrl); 34 struct mdiobb_ctrl { struct 47 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl); argument
|
/openbmc/linux/drivers/net/mdio/ |
H A D | mdio-bitbang.c | 44 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit() 56 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit() 78 static u16 mdiobb_get_num(struct mdiobb_ctrl *ctrl, int bits) in mdiobb_get_num() 150 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read_common() 176 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read_c22() 186 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read_c45() 197 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write_common() 212 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write_c22() 222 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write_c45() 231 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl) in alloc_mdio_bitbang() [all …]
|
H A D | mdio-gpio.c | 31 struct mdiobb_ctrl ctrl; 53 static void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir() 74 static int mdio_get(struct mdiobb_ctrl *ctrl) in mdio_get() 82 static void mdio_set(struct mdiobb_ctrl *ctrl, int what) in mdio_set() 93 static void mdc_set(struct mdiobb_ctrl *ctrl, int what) in mdc_set()
|
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-bitbang.c | 31 struct mdiobb_ctrl ctrl; 58 static inline void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir() 71 static inline int mdio_read(struct mdiobb_ctrl *ctrl) in mdio_read() 77 static inline void mdio(struct mdiobb_ctrl *ctrl, int what) in mdio() 90 static inline void mdc(struct mdiobb_ctrl *ctrl, int what) in mdc()
|
/openbmc/linux/arch/powerpc/platforms/82xx/ |
H A D | ep8248e.c | 59 static void ep8248e_set_mdc(struct mdiobb_ctrl *ctrl, int level) in ep8248e_set_mdc() 70 static void ep8248e_set_mdio_dir(struct mdiobb_ctrl *ctrl, int output) in ep8248e_set_mdio_dir() 81 static void ep8248e_set_mdio_data(struct mdiobb_ctrl *ctrl, int data) in ep8248e_set_mdio_data() 92 static int ep8248e_get_mdio_data(struct mdiobb_ctrl *ctrl) in ep8248e_get_mdio_data() 105 static struct mdiobb_ctrl ep8248e_mdio_ctrl = {
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | davinci_mdio.c | 95 struct mdiobb_ctrl bb_ctrl; 169 static void davinci_set_mdc(struct mdiobb_ctrl *ctrl, int level) in davinci_set_mdc() 185 static void davinci_set_mdio_dir(struct mdiobb_ctrl *ctrl, int output) in davinci_set_mdio_dir() 201 static void davinci_set_mdio_data(struct mdiobb_ctrl *ctrl, int value) in davinci_set_mdio_data() 217 static int davinci_get_mdio_data(struct mdiobb_ctrl *ctrl) in davinci_get_mdio_data() 350 struct mdiobb_ctrl *ctrl = bus->priv; in davinci_mdiobb_reset()
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | ax88796.c | 81 struct mdiobb_ctrl bb_ctrl; 407 static void ax_bb_mdc(struct mdiobb_ctrl *ctrl, int level) in ax_bb_mdc() 419 static void ax_bb_dir(struct mdiobb_ctrl *ctrl, int output) in ax_bb_dir() 431 static void ax_bb_set_data(struct mdiobb_ctrl *ctrl, int value) in ax_bb_set_data() 443 static int ax_bb_get_data(struct mdiobb_ctrl *ctrl) in ax_bb_get_data()
|
/openbmc/linux/drivers/net/ethernet/renesas/ |
H A D | sh_eth.c | 1172 struct mdiobb_ctrl ctrl; 1176 static void sh_mdio_ctrl(struct mdiobb_ctrl *ctrl, u32 mask, int set) in sh_mdio_ctrl() 1193 static void sh_mmd_ctrl(struct mdiobb_ctrl *ctrl, int bit) in sh_mmd_ctrl() 1199 static void sh_set_mdio(struct mdiobb_ctrl *ctrl, int bit) in sh_set_mdio() 1205 static int sh_get_mdio(struct mdiobb_ctrl *ctrl) in sh_get_mdio() 1216 static void sh_mdc_ctrl(struct mdiobb_ctrl *ctrl, int bit) in sh_mdc_ctrl()
|
H A D | ravb_main.c | 159 static void ravb_mdio_ctrl(struct mdiobb_ctrl *ctrl, u32 mask, int set) in ravb_mdio_ctrl() 168 static void ravb_set_mdc(struct mdiobb_ctrl *ctrl, int level) in ravb_set_mdc() 174 static void ravb_set_mdio_dir(struct mdiobb_ctrl *ctrl, int output) in ravb_set_mdio_dir() 180 static void ravb_set_mdio_data(struct mdiobb_ctrl *ctrl, int value) in ravb_set_mdio_data() 186 static int ravb_get_mdio_data(struct mdiobb_ctrl *ctrl) in ravb_get_mdio_data()
|
H A D | ravb.h | 1055 struct mdiobb_ctrl mdiobb;
|