Home
last modified time | relevance | path

Searched refs:hmux (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-omap2/
Dmux.c265 struct omap_hwmod_mux_info *hmux; in omap_hwmod_mux_init() local
271 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 …]
Dmux.h226 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