Searched refs:cdef (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/leds/ |
D | leds-is31fl32xx.c | 44 const struct is31fl32xx_chipdef *cdef; member 167 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() local 234 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 …]
|
D | leds-spi-byte.c | 50 const struct spi_byte_chipdef *cdef; member 72 value = (u8) brightness + led->cdef->off_value; in spi_byte_brightness_set_blocking() 109 led->cdef = of_dev_id->data; in spi_byte_probe() 112 led->ldev.max_brightness = led->cdef->max_value - led->cdef->off_value; in spi_byte_probe()
|
D | leds-is31fl319x.c | 62 const struct is31fl319x_chipdef *cdef; member 128 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl319x_brightness_set() 216 is31->cdef = of_dev_id->data; in is31fl319x_parse_dt() 223 if (!count || count > is31->cdef->num_leds) { in is31fl319x_parse_dt() 225 is31->cdef->num_leds); in is31fl319x_parse_dt() 239 if (reg < 1 || reg > is31->cdef->num_leds) { in is31fl319x_parse_dt() 377 for (i = 0; i < is31->cdef->num_leds; i++) in is31fl319x_probe() 386 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl319x_probe()
|
/Linux-v5.4/drivers/isdn/capi/ |
D | kcapi.c | 1019 avmb1_extcarddef cdef; in old_capi_manufacturer() local 1032 if ((retval = copy_from_user(&cdef, data, in old_capi_manufacturer() 1035 cdef.cardtype = AVM_CARDTYPE_B1; in old_capi_manufacturer() 1036 cdef.cardnr = 0; in old_capi_manufacturer() 1038 if ((retval = copy_from_user(&cdef, data, in old_capi_manufacturer() 1042 cparams.port = cdef.port; in old_capi_manufacturer() 1043 cparams.irq = cdef.irq; in old_capi_manufacturer() 1044 cparams.cardnr = cdef.cardnr; in old_capi_manufacturer() 1048 switch (cdef.cardtype) { in old_capi_manufacturer() 1230 kcapi_carddef cdef; in capi20_manufacturer() local [all …]
|
D | capiutil.c | 37 static _cdef cdef[] = variable 229 #define TYP (cdef[cmsg->par[cmsg->p]].typ) 230 #define OFF (((u8 *)cmsg) + cdef[cmsg->par[cmsg->p]].off)
|