imx 39 drivers/pwm/pwm-imx1.c struct pwm_imx1_chip *imx = to_pwm_imx1_chip(chip); imx 42 drivers/pwm/pwm-imx1.c ret = clk_prepare_enable(imx->clk_ipg); imx 46 drivers/pwm/pwm-imx1.c ret = clk_prepare_enable(imx->clk_per); imx 48 drivers/pwm/pwm-imx1.c clk_disable_unprepare(imx->clk_ipg); imx 57 drivers/pwm/pwm-imx1.c struct pwm_imx1_chip *imx = to_pwm_imx1_chip(chip); imx 59 drivers/pwm/pwm-imx1.c clk_disable_unprepare(imx->clk_per); imx 60 drivers/pwm/pwm-imx1.c clk_disable_unprepare(imx->clk_ipg); imx 66 drivers/pwm/pwm-imx1.c struct pwm_imx1_chip *imx = to_pwm_imx1_chip(chip); imx 86 drivers/pwm/pwm-imx1.c max = readl(imx->mmio_base + MX1_PWMP); imx 89 drivers/pwm/pwm-imx1.c writel(max - p, imx->mmio_base + MX1_PWMS); imx 96 drivers/pwm/pwm-imx1.c struct pwm_imx1_chip *imx = to_pwm_imx1_chip(chip); imx 104 drivers/pwm/pwm-imx1.c value = readl(imx->mmio_base + MX1_PWMC); imx 106 drivers/pwm/pwm-imx1.c writel(value, imx->mmio_base + MX1_PWMC); imx 113 drivers/pwm/pwm-imx1.c struct pwm_imx1_chip *imx = to_pwm_imx1_chip(chip); imx 116 drivers/pwm/pwm-imx1.c value = readl(imx->mmio_base + MX1_PWMC); imx 118 drivers/pwm/pwm-imx1.c writel(value, imx->mmio_base + MX1_PWMC); imx 138 drivers/pwm/pwm-imx1.c struct pwm_imx1_chip *imx; imx 141 drivers/pwm/pwm-imx1.c imx = devm_kzalloc(&pdev->dev, sizeof(*imx), GFP_KERNEL); imx 142 drivers/pwm/pwm-imx1.c if (!imx) imx 145 drivers/pwm/pwm-imx1.c platform_set_drvdata(pdev, imx); imx 147 drivers/pwm/pwm-imx1.c imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); imx 148 drivers/pwm/pwm-imx1.c if (IS_ERR(imx->clk_ipg)) { imx 150 drivers/pwm/pwm-imx1.c PTR_ERR(imx->clk_ipg)); imx 151 drivers/pwm/pwm-imx1.c return PTR_ERR(imx->clk_ipg); imx 154 drivers/pwm/pwm-imx1.c imx->clk_per = devm_clk_get(&pdev->dev, "per"); imx 155 drivers/pwm/pwm-imx1.c if (IS_ERR(imx->clk_per)) { imx 156 drivers/pwm/pwm-imx1.c int ret = PTR_ERR(imx->clk_per); imx 166 drivers/pwm/pwm-imx1.c imx->chip.ops = &pwm_imx1_ops; imx 167 drivers/pwm/pwm-imx1.c imx->chip.dev = &pdev->dev; imx 168 drivers/pwm/pwm-imx1.c imx->chip.base = -1; imx 169 drivers/pwm/pwm-imx1.c imx->chip.npwm = 1; imx 172 drivers/pwm/pwm-imx1.c imx->mmio_base = devm_ioremap_resource(&pdev->dev, r); imx 173 drivers/pwm/pwm-imx1.c if (IS_ERR(imx->mmio_base)) imx 174 drivers/pwm/pwm-imx1.c return PTR_ERR(imx->mmio_base); imx 176 drivers/pwm/pwm-imx1.c return pwmchip_add(&imx->chip); imx 181 drivers/pwm/pwm-imx1.c struct pwm_imx1_chip *imx = platform_get_drvdata(pdev); imx 183 drivers/pwm/pwm-imx1.c pwm_imx1_clk_disable_unprepare(&imx->chip); imx 185 drivers/pwm/pwm-imx1.c return pwmchip_remove(&imx->chip); imx 94 drivers/pwm/pwm-imx27.c struct pwm_imx27_chip *imx = to_pwm_imx27_chip(chip); imx 97 drivers/pwm/pwm-imx27.c ret = clk_prepare_enable(imx->clk_ipg); imx 101 drivers/pwm/pwm-imx27.c ret = clk_prepare_enable(imx->clk_per); imx 103 drivers/pwm/pwm-imx27.c clk_disable_unprepare(imx->clk_ipg); imx 112 drivers/pwm/pwm-imx27.c struct pwm_imx27_chip *imx = to_pwm_imx27_chip(chip); imx 114 drivers/pwm/pwm-imx27.c clk_disable_unprepare(imx->clk_per); imx 115 drivers/pwm/pwm-imx27.c clk_disable_unprepare(imx->clk_ipg); imx 121 drivers/pwm/pwm-imx27.c struct pwm_imx27_chip *imx = to_pwm_imx27_chip(chip); imx 130 drivers/pwm/pwm-imx27.c val = readl(imx->mmio_base + MX3_PWMCR); imx 149 drivers/pwm/pwm-imx27.c pwm_clk = clk_get_rate(imx->clk_per); imx 151 drivers/pwm/pwm-imx27.c val = readl(imx->mmio_base + MX3_PWMPR); imx 160 drivers/pwm/pwm-imx27.c val = readl(imx->mmio_base + MX3_PWMSAR); imx 173 drivers/pwm/pwm-imx27.c struct pwm_imx27_chip *imx = to_pwm_imx27_chip(chip); imx 178 drivers/pwm/pwm-imx27.c writel(MX3_PWMCR_SWR, imx->mmio_base + MX3_PWMCR); imx 181 drivers/pwm/pwm-imx27.c cr = readl(imx->mmio_base + MX3_PWMCR); imx 192 drivers/pwm/pwm-imx27.c struct pwm_imx27_chip *imx = to_pwm_imx27_chip(chip); imx 198 drivers/pwm/pwm-imx27.c sr = readl(imx->mmio_base + MX3_PWMSR); imx 205 drivers/pwm/pwm-imx27.c sr = readl(imx->mmio_base + MX3_PWMSR); imx 215 drivers/pwm/pwm-imx27.c struct pwm_imx27_chip *imx = to_pwm_imx27_chip(chip); imx 224 drivers/pwm/pwm-imx27.c c = clk_get_rate(imx->clk_per); imx 261 drivers/pwm/pwm-imx27.c writel(duty_cycles, imx->mmio_base + MX3_PWMSAR); imx 262 drivers/pwm/pwm-imx27.c writel(period_cycles, imx->mmio_base + MX3_PWMPR); imx 273 drivers/pwm/pwm-imx27.c writel(cr, imx->mmio_base + MX3_PWMCR); imx 275 drivers/pwm/pwm-imx27.c writel(0, imx->mmio_base + MX3_PWMCR); imx 297 drivers/pwm/pwm-imx27.c struct pwm_imx27_chip *imx; imx 299 drivers/pwm/pwm-imx27.c imx = devm_kzalloc(&pdev->dev, sizeof(*imx), GFP_KERNEL); imx 300 drivers/pwm/pwm-imx27.c if (imx == NULL) imx 303 drivers/pwm/pwm-imx27.c platform_set_drvdata(pdev, imx); imx 305 drivers/pwm/pwm-imx27.c imx->clk_ipg = devm_clk_get(&pdev->dev, "ipg"); imx 306 drivers/pwm/pwm-imx27.c if (IS_ERR(imx->clk_ipg)) { imx 308 drivers/pwm/pwm-imx27.c PTR_ERR(imx->clk_ipg)); imx 309 drivers/pwm/pwm-imx27.c return PTR_ERR(imx->clk_ipg); imx 312 drivers/pwm/pwm-imx27.c imx->clk_per = devm_clk_get(&pdev->dev, "per"); imx 313 drivers/pwm/pwm-imx27.c if (IS_ERR(imx->clk_per)) { imx 314 drivers/pwm/pwm-imx27.c int ret = PTR_ERR(imx->clk_per); imx 324 drivers/pwm/pwm-imx27.c imx->chip.ops = &pwm_imx27_ops; imx 325 drivers/pwm/pwm-imx27.c imx->chip.dev = &pdev->dev; imx 326 drivers/pwm/pwm-imx27.c imx->chip.base = -1; imx 327 drivers/pwm/pwm-imx27.c imx->chip.npwm = 1; imx 329 drivers/pwm/pwm-imx27.c imx->chip.of_xlate = of_pwm_xlate_with_flags; imx 330 drivers/pwm/pwm-imx27.c imx->chip.of_pwm_n_cells = 3; imx 332 drivers/pwm/pwm-imx27.c imx->mmio_base = devm_platform_ioremap_resource(pdev, 0); imx 333 drivers/pwm/pwm-imx27.c if (IS_ERR(imx->mmio_base)) imx 334 drivers/pwm/pwm-imx27.c return PTR_ERR(imx->mmio_base); imx 336 drivers/pwm/pwm-imx27.c return pwmchip_add(&imx->chip); imx 341 drivers/pwm/pwm-imx27.c struct pwm_imx27_chip *imx; imx 343 drivers/pwm/pwm-imx27.c imx = platform_get_drvdata(pdev); imx 345 drivers/pwm/pwm-imx27.c pwm_imx27_clk_disable_unprepare(&imx->chip); imx 347 drivers/pwm/pwm-imx27.c return pwmchip_remove(&imx->chip); imx 2295 net/core/pktgen.c __u32 imx; imx 2400 net/core/pktgen.c imx = ntohl(pkt_dev->saddr_max); imx 2401 net/core/pktgen.c if (imn < imx) { imx 2404 net/core/pktgen.c t = prandom_u32() % (imx - imn) + imn; imx 2408 net/core/pktgen.c if (t > imx) imx 2419 net/core/pktgen.c imx = ntohl(pkt_dev->daddr_max); imx 2420 net/core/pktgen.c if (imn < imx) { imx 2427 net/core/pktgen.c (imx - imn) + imn; imx 2438 net/core/pktgen.c if (t > imx) { imx 49 sound/soc/fsl/fsl_micfil.c bool imx; imx 53 sound/soc/fsl/fsl_micfil.c .imx = true, imx 199 sound/soc/fsl/fsl_ssi.c bool imx; imx 320 sound/soc/fsl/fsl_ssi.c .imx = false, imx 328 sound/soc/fsl/fsl_ssi.c .imx = true, imx 335 sound/soc/fsl/fsl_ssi.c .imx = true, imx 343 sound/soc/fsl/fsl_ssi.c .imx = true, imx 1098 sound/soc/fsl/fsl_ssi.c if (ssi->soc->imx && ssi->use_dma) imx 1552 sound/soc/fsl/fsl_ssi.c if (ssi->soc->imx) { imx 1621 sound/soc/fsl/fsl_ssi.c if (ssi->soc->imx) imx 1639 sound/soc/fsl/fsl_ssi.c if (ssi->soc->imx)