Searched refs:hmux (Results 1 – 2 of 2) sorted by relevance
265 struct omap_hwmod_mux_info *hmux; in omap_hwmod_mux_init() local271 hmux = kzalloc(sizeof(struct omap_hwmod_mux_info), GFP_KERNEL); in omap_hwmod_mux_init()272 if (!hmux) in omap_hwmod_mux_init()275 hmux->nr_pads = nr_pads; in omap_hwmod_mux_init()277 hmux->pads = kzalloc(sizeof(struct omap_device_pad) * in omap_hwmod_mux_init()279 if (!hmux->pads) in omap_hwmod_mux_init()282 for (i = 0; i < hmux->nr_pads; i++) { in omap_hwmod_mux_init()284 struct omap_device_pad *bpad = &bpads[i], *pad = &hmux->pads[i]; in omap_hwmod_mux_init()301 kfree(hmux->pads[j].name); in omap_hwmod_mux_init()319 return hmux; in omap_hwmod_mux_init()[all …]
226 void omap_hwmod_mux(struct omap_hwmod_mux_info *hmux, u8 state);245 static inline void omap_hwmod_mux(struct omap_hwmod_mux_info *hmux, u8 state) in omap_hwmod_mux() argument