Home
last modified time | relevance | path

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

/linux-3.4.99/arch/arm/mach-omap2/
Dmux.c267 struct omap_hwmod_mux_info *hmux; in omap_hwmod_mux_init() local
273 hmux = kzalloc(sizeof(struct omap_hwmod_mux_info), GFP_KERNEL); in omap_hwmod_mux_init()
274 if (!hmux) in omap_hwmod_mux_init()
277 hmux->nr_pads = nr_pads; in omap_hwmod_mux_init()
279 hmux->pads = kzalloc(sizeof(struct omap_device_pad) * in omap_hwmod_mux_init()
281 if (!hmux->pads) in omap_hwmod_mux_init()
284 for (i = 0; i < hmux->nr_pads; i++) { in omap_hwmod_mux_init()
286 struct omap_device_pad *bpad = &bpads[i], *pad = &hmux->pads[i]; in omap_hwmod_mux_init()
303 kfree(hmux->pads[j].name); in omap_hwmod_mux_init()
321 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