cdef 37 drivers/isdn/capi/capiutil.c static _cdef cdef[] = cdef 229 drivers/isdn/capi/capiutil.c #define TYP (cdef[cmsg->par[cmsg->p]].typ) cdef 230 drivers/isdn/capi/capiutil.c #define OFF (((u8 *)cmsg) + cdef[cmsg->par[cmsg->p]].off) cdef 1019 drivers/isdn/capi/kcapi.c avmb1_extcarddef cdef; cdef 1032 drivers/isdn/capi/kcapi.c if ((retval = copy_from_user(&cdef, data, cdef 1035 drivers/isdn/capi/kcapi.c cdef.cardtype = AVM_CARDTYPE_B1; cdef 1036 drivers/isdn/capi/kcapi.c cdef.cardnr = 0; cdef 1038 drivers/isdn/capi/kcapi.c if ((retval = copy_from_user(&cdef, data, cdef 1042 drivers/isdn/capi/kcapi.c cparams.port = cdef.port; cdef 1043 drivers/isdn/capi/kcapi.c cparams.irq = cdef.irq; cdef 1044 drivers/isdn/capi/kcapi.c cparams.cardnr = cdef.cardnr; cdef 1048 drivers/isdn/capi/kcapi.c switch (cdef.cardtype) { cdef 1230 drivers/isdn/capi/kcapi.c kcapi_carddef cdef; cdef 1232 drivers/isdn/capi/kcapi.c if ((retval = copy_from_user(&cdef, data, sizeof(cdef)))) cdef 1235 drivers/isdn/capi/kcapi.c cparams.port = cdef.port; cdef 1236 drivers/isdn/capi/kcapi.c cparams.irq = cdef.irq; cdef 1237 drivers/isdn/capi/kcapi.c cparams.membase = cdef.membase; cdef 1238 drivers/isdn/capi/kcapi.c cparams.cardnr = cdef.cardnr; cdef 1240 drivers/isdn/capi/kcapi.c cdef.driver[sizeof(cdef.driver) - 1] = 0; cdef 1246 drivers/isdn/capi/kcapi.c if (strcmp(driver->name, cdef.driver) == 0) cdef 1251 drivers/isdn/capi/kcapi.c cdef.driver); cdef 1254 drivers/isdn/capi/kcapi.c printk(KERN_ERR "kcapi: driver \"%s\" has no add card function.\n", cdef.driver); cdef 62 drivers/leds/leds-is31fl319x.c const struct is31fl319x_chipdef *cdef; cdef 128 drivers/leds/leds-is31fl319x.c for (i = 0; i < is31->cdef->num_leds; i++) { cdef 216 drivers/leds/leds-is31fl319x.c is31->cdef = of_dev_id->data; cdef 223 drivers/leds/leds-is31fl319x.c if (!count || count > is31->cdef->num_leds) { cdef 225 drivers/leds/leds-is31fl319x.c is31->cdef->num_leds); cdef 239 drivers/leds/leds-is31fl319x.c if (reg < 1 || reg > is31->cdef->num_leds) { cdef 377 drivers/leds/leds-is31fl319x.c for (i = 0; i < is31->cdef->num_leds; i++) cdef 386 drivers/leds/leds-is31fl319x.c for (i = 0; i < is31->cdef->num_leds; i++) { cdef 44 drivers/leds/leds-is31fl32xx.c const struct is31fl32xx_chipdef *cdef; cdef 167 drivers/leds/leds-is31fl32xx.c for (i = 0; i < priv->cdef->channels; i++) { cdef 168 drivers/leds/leds-is31fl32xx.c ret = is31fl32xx_write(priv, priv->cdef->pwm_register_base+i, cdef 173 drivers/leds/leds-is31fl32xx.c ret = is31fl32xx_write(priv, priv->cdef->pwm_update_reg, 0); cdef 227 drivers/leds/leds-is31fl32xx.c const struct is31fl32xx_chipdef *cdef = led_data->priv->cdef; cdef 234 drivers/leds/leds-is31fl32xx.c if (cdef->pwm_registers_reversed) cdef 235 drivers/leds/leds-is31fl32xx.c pwm_register_offset = cdef->channels - led_data->channel; cdef 240 drivers/leds/leds-is31fl32xx.c cdef->pwm_register_base + pwm_register_offset, cdef 245 drivers/leds/leds-is31fl32xx.c return is31fl32xx_write(led_data->priv, cdef->pwm_update_reg, 0); cdef 250 drivers/leds/leds-is31fl32xx.c const struct is31fl32xx_chipdef *cdef = priv->cdef; cdef 253 drivers/leds/leds-is31fl32xx.c if (cdef->reset_reg != IS31FL32XX_REG_NONE) { cdef 254 drivers/leds/leds-is31fl32xx.c ret = is31fl32xx_write(priv, cdef->reset_reg, 0); cdef 259 drivers/leds/leds-is31fl32xx.c if (cdef->reset_func) cdef 260 drivers/leds/leds-is31fl32xx.c return cdef->reset_func(priv); cdef 268 drivers/leds/leds-is31fl32xx.c const struct is31fl32xx_chipdef *cdef = priv->cdef; cdef 271 drivers/leds/leds-is31fl32xx.c if (cdef->shutdown_reg != IS31FL32XX_REG_NONE) { cdef 274 drivers/leds/leds-is31fl32xx.c ret = is31fl32xx_write(priv, cdef->shutdown_reg, value); cdef 279 drivers/leds/leds-is31fl32xx.c if (cdef->sw_shutdown_func) cdef 280 drivers/leds/leds-is31fl32xx.c return cdef->sw_shutdown_func(priv, enable); cdef 287 drivers/leds/leds-is31fl32xx.c const struct is31fl32xx_chipdef *cdef = priv->cdef; cdef 298 drivers/leds/leds-is31fl32xx.c if (cdef->led_control_register_base != IS31FL32XX_REG_NONE) { cdef 300 drivers/leds/leds-is31fl32xx.c GENMASK(cdef->enable_bits_per_led_control_register-1, 0); cdef 301 drivers/leds/leds-is31fl32xx.c u8 num_regs = cdef->channels / cdef 302 drivers/leds/leds-is31fl32xx.c cdef->enable_bits_per_led_control_register; cdef 307 drivers/leds/leds-is31fl32xx.c cdef->led_control_register_base+i, cdef 318 drivers/leds/leds-is31fl32xx.c if (cdef->global_control_reg != IS31FL32XX_REG_NONE) { cdef 319 drivers/leds/leds-is31fl32xx.c ret = is31fl32xx_write(priv, cdef->global_control_reg, 0x00); cdef 339 drivers/leds/leds-is31fl32xx.c if (ret || reg < 1 || reg > led_data->priv->cdef->channels) { cdef 430 drivers/leds/leds-is31fl32xx.c const struct is31fl32xx_chipdef *cdef; cdef 441 drivers/leds/leds-is31fl32xx.c cdef = of_dev_id->data; cdef 453 drivers/leds/leds-is31fl32xx.c priv->cdef = cdef; cdef 50 drivers/leds/leds-spi-byte.c const struct spi_byte_chipdef *cdef; cdef 72 drivers/leds/leds-spi-byte.c value = (u8) brightness + led->cdef->off_value; cdef 109 drivers/leds/leds-spi-byte.c led->cdef = of_dev_id->data; cdef 112 drivers/leds/leds-spi-byte.c led->ldev.max_brightness = led->cdef->max_value - led->cdef->off_value;