Lines Matching refs:link_mask
48 u32 link_mask; /* channel mask for the direction */ member
132 u32 link_mask = mcpdm->config[0].link_mask | mcpdm->config[1].link_mask; in omap_mcpdm_start() local
137 ctrl |= link_mask; in omap_mcpdm_start()
151 u32 link_mask = MCPDM_PDM_DN_MASK | MCPDM_PDM_UP_MASK; in omap_mcpdm_stop() local
156 ctrl &= ~(link_mask); in omap_mcpdm_stop()
287 mcpdm->config[0].link_mask = 0; in omap_mcpdm_dai_shutdown()
288 mcpdm->config[1].link_mask = 0; in omap_mcpdm_dai_shutdown()
304 int link_mask = 0; in omap_mcpdm_dai_hw_params() local
312 link_mask |= 1 << 4; in omap_mcpdm_dai_hw_params()
318 link_mask |= 1 << 3; in omap_mcpdm_dai_hw_params()
321 link_mask |= 1 << 2; in omap_mcpdm_dai_hw_params()
324 link_mask |= 1 << 1; in omap_mcpdm_dai_hw_params()
327 link_mask |= 1 << 0; in omap_mcpdm_dai_hw_params()
339 link_mask <<= 3; in omap_mcpdm_dai_hw_params()
342 if (!mcpdm->config[!stream].link_mask) in omap_mcpdm_dai_hw_params()
343 mcpdm->config[!stream].link_mask = 0x3; in omap_mcpdm_dai_hw_params()
349 if (!mcpdm->config[!stream].link_mask) in omap_mcpdm_dai_hw_params()
350 mcpdm->config[!stream].link_mask = (0x3 << 3); in omap_mcpdm_dai_hw_params()
356 if (mcpdm->config[stream].link_mask && in omap_mcpdm_dai_hw_params()
357 mcpdm->config[stream].link_mask != link_mask) in omap_mcpdm_dai_hw_params()
360 mcpdm->config[stream].link_mask = link_mask; in omap_mcpdm_dai_hw_params()