Lines Matching refs:spec
83 * struct mt6323_regs - register spec for the LED device
124 * @regs: Register spec for this device
125 * @spec: Hardware specific parameters
129 const struct mt6323_hwspec *spec;
296 const struct mt6323_hwspec *spec = leds->pdata->spec;
319 if (period > spec->max_period)
326 duty_hw = DIV_ROUND_CLOSEST(*delay_on * 100000ul, period * spec->unit_duty);
535 const struct mt6323_hwspec *spec;
549 spec = leds->pdata->spec;
550 max_leds = spec->max_leds + spec->max_wleds;
595 leds->led[reg]->cdev.max_brightness = spec->max_brightness;
703 .spec = &mt6323_spec,
708 .spec = &mt6323_spec,
713 .spec = &mt6332_spec,