Lines Matching defs:ctrl
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() local
176 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read_c22() local
186 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_read_c45() local
197 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write_common() local
212 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write_c22() local
222 struct mdiobb_ctrl *ctrl = bus->priv; in mdiobb_write_c45() local
231 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl) in alloc_mdio_bitbang()
258 struct mdiobb_ctrl *ctrl = bus->priv; in free_mdio_bitbang() local