Searched refs:cdef (Results 1 – 4 of 4) sorted by relevance
44 const struct is31fl32xx_chipdef *cdef; member167 for (i = 0; i < priv->cdef->channels; i++) { in is31fl3216_reset()168 ret = is31fl32xx_write(priv, priv->cdef->pwm_register_base+i, in is31fl3216_reset()173 ret = is31fl32xx_write(priv, priv->cdef->pwm_update_reg, 0); in is31fl3216_reset()227 const struct is31fl32xx_chipdef *cdef = led_data->priv->cdef; in is31fl32xx_brightness_set() local234 if (cdef->pwm_registers_reversed) in is31fl32xx_brightness_set()235 pwm_register_offset = cdef->channels - led_data->channel; in is31fl32xx_brightness_set()240 cdef->pwm_register_base + pwm_register_offset, in is31fl32xx_brightness_set()245 return is31fl32xx_write(led_data->priv, cdef->pwm_update_reg, 0); in is31fl32xx_brightness_set()250 const struct is31fl32xx_chipdef *cdef = priv->cdef; in is31fl32xx_reset_regs() local[all …]
50 const struct spi_byte_chipdef *cdef; member72 value = (u8) brightness + led->cdef->off_value; in spi_byte_brightness_set_blocking()104 led->cdef = device_get_match_data(dev); in spi_byte_probe()107 led->ldev.max_brightness = led->cdef->max_value - led->cdef->off_value; in spi_byte_probe()
64 const struct is31fl319x_chipdef *cdef; member131 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl319x_brightness_set()221 is31->cdef = device_get_match_data(dev); in is31fl319x_parse_dt()227 if (!count || count > is31->cdef->num_leds) { in is31fl319x_parse_dt()229 is31->cdef->num_leds); in is31fl319x_parse_dt()243 if (reg < 1 || reg > is31->cdef->num_leds) { in is31fl319x_parse_dt()387 for (i = 0; i < is31->cdef->num_leds; i++) in is31fl319x_probe()396 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl319x_probe()
39 static _cdef cdef[] = variable231 #define TYP (cdef[cmsg->par[cmsg->p]].typ)232 #define OFF (((u8 *)cmsg) + cdef[cmsg->par[cmsg->p]].off)