Searched refs:mdiobb_ctrl (Results 1 – 10 of 10) sorted by relevance
/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() 69 static void mdiobb_send_num(struct mdiobb_ctrl *ctrl, u16 val, int bits) in mdiobb_send_num() 78 static u16 mdiobb_get_num(struct mdiobb_ctrl *ctrl, int bits) in mdiobb_get_num() 94 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) in mdiobb_cmd() 133 static void mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, int dev_addr, in mdiobb_cmd_addr() 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() [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()
|
/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
|
/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-bitbang.c | 28 struct mdiobb_ctrl ctrl; 55 static inline void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) in mdio_dir() 68 static inline int mdio_read(struct mdiobb_ctrl *ctrl) in mdio_read() 74 static inline void mdio(struct mdiobb_ctrl *ctrl, int what) in mdio() 87 static inline void mdc(struct mdiobb_ctrl *ctrl, int what) in mdc()
|
/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 = {
|
/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()
|
/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()
|
/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 | 143 static void ravb_mdio_ctrl(struct mdiobb_ctrl *ctrl, u32 mask, int set) in ravb_mdio_ctrl() 152 static void ravb_set_mdc(struct mdiobb_ctrl *ctrl, int level) in ravb_set_mdc() 158 static void ravb_set_mdio_dir(struct mdiobb_ctrl *ctrl, int output) in ravb_set_mdio_dir() 164 static void ravb_set_mdio_data(struct mdiobb_ctrl *ctrl, int value) in ravb_set_mdio_data() 170 static int ravb_get_mdio_data(struct mdiobb_ctrl *ctrl) in ravb_get_mdio_data()
|
H A D | ravb.h | 1089 struct mdiobb_ctrl mdiobb;
|