Home
last modified time | relevance | path

Searched refs:pc_funcs (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/dev/fdt/
H A Dfdt_phy.c43 const struct fdtbus_phy_controller_func *pc_funcs; member
60 pc->pc_funcs = funcs; in fdtbus_register_phy_controller()
115 phy_priv = pc->pc_funcs->acquire(pc->pc_dev, in fdtbus_phy_get_index()
154 pc->pc_funcs->release(pc->pc_dev, phy->phy_priv); in fdtbus_phy_put()
169 return pc->pc_funcs->enable(pc->pc_dev, phy->phy_priv, enable); in fdtbus_phy_enable()
H A Dfdt_pwm.c43 const struct fdtbus_pwm_controller_func *pc_funcs; member
60 pc->pc_funcs = funcs; in fdtbus_register_pwm_controller()
108 return pc->pc_funcs->get_tag(pc->pc_dev, in fdtbus_pwm_acquire_index()
H A Dfdt_pinctrl.c46 const struct fdtbus_pinctrl_controller_func *pc_funcs; member
63 pc->pc_funcs = funcs; in fdtbus_register_pinctrl_config()
107 error = pc->pc_funcs->set_config(pc->pc_dev, pinctrl_data, pinctrl_cells * 4); in fdtbus_pinctrl_set_config_index()