Lines Matching refs:ctrl
31 struct mdiobb_ctrl ctrl;
53 static void mdio_dir(struct mdiobb_ctrl *ctrl, int dir)
56 container_of(ctrl, struct mdio_gpio_info, ctrl);
74 static int mdio_get(struct mdiobb_ctrl *ctrl)
77 container_of(ctrl, struct mdio_gpio_info, ctrl);
82 static void mdio_set(struct mdiobb_ctrl *ctrl, int what)
85 container_of(ctrl, struct mdio_gpio_info, ctrl);
93 static void mdc_set(struct mdiobb_ctrl *ctrl, int what)
96 container_of(ctrl, struct mdio_gpio_info, ctrl);
116 bitbang->ctrl.ops = &mdio_gpio_ops;
118 new_bus = alloc_mdio_bitbang(&bitbang->ctrl);