Searched refs:LEDS_TO_BYTES (Results 1 – 1 of 1) sorted by relevance
55 #define LEDS_TO_BYTES(n) ((n) * sizeof(u32)) macro104 LEDS_TO_BYTES(length), DMA_MEM_TO_DEV, 0); in sun50i_a100_ledc_dma_xfer()469 priv->buffer = devm_kzalloc(dev, LEDS_TO_BYTES(LEDC_MAX_LEDS), GFP_KERNEL); in sun50i_a100_ledc_probe()486 LEDS_TO_BYTES(LEDC_MAX_LEDS), &priv->dma_handle, in sun50i_a100_ledc_probe()