Searched refs:config_buf (Results 1 – 7 of 7) sorted by relevance
/drivers/base/regmap/ |
D | regmap-irq.c | 45 unsigned int **config_buf; member 213 ret = regmap_write(map, reg, d->config_buf[i][j]); in regmap_irq_sync_unlock() 328 ret = d->chip->set_type_config(d->config_buf, type, in regmap_irq_set_type() 841 d->config_buf = kcalloc(chip->num_config_bases, in regmap_add_irq_chip_fwnode() 842 sizeof(*d->config_buf), GFP_KERNEL); in regmap_add_irq_chip_fwnode() 843 if (!d->config_buf) in regmap_add_irq_chip_fwnode() 847 d->config_buf[i] = kcalloc(chip->num_config_regs, in regmap_add_irq_chip_fwnode() 848 sizeof(**d->config_buf), in regmap_add_irq_chip_fwnode() 850 if (!d->config_buf[i]) in regmap_add_irq_chip_fwnode() 1065 if (d->config_buf) { in regmap_add_irq_chip_fwnode() [all …]
|
/drivers/net/dsa/sja1105/ |
D | sja1105_spi.c | 280 void *config_buf, int buf_len) in static_config_buf_prepare_for_upload() argument 297 sja1105_static_config_pack(config_buf, config); in static_config_buf_prepare_for_upload() 303 final_header_ptr = config_buf + buf_len - SJA1105_SIZE_TABLE_HEADER; in static_config_buf_prepare_for_upload() 306 final_header.crc = sja1105_crc32(config_buf, crc_len); in static_config_buf_prepare_for_upload() 323 u8 *config_buf; in sja1105_static_config_upload() local 327 config_buf = kcalloc(buf_len, sizeof(char), GFP_KERNEL); in sja1105_static_config_upload() 328 if (!config_buf) in sja1105_static_config_upload() 331 rc = static_config_buf_prepare_for_upload(priv, config_buf, buf_len); in sja1105_static_config_upload() 363 config_buf, buf_len); in sja1105_static_config_upload() 407 kfree(config_buf); in sja1105_static_config_upload()
|
D | sja1105.h | 333 void *config_buf, int buf_len);
|
/drivers/usb/serial/ |
D | cp210x.c | 1805 u8 *config_buf; in cp2102n_gpioconf_init() local 1818 config_buf = kmalloc(config_size, GFP_KERNEL); in cp2102n_gpioconf_init() 1819 if (!config_buf) in cp2102n_gpioconf_init() 1825 config_buf, in cp2102n_gpioconf_init() 1828 kfree(config_buf); in cp2102n_gpioconf_init() 1832 config_version = config_buf[CP210X_2NCONFIG_CONFIG_VERSION_IDX]; in cp2102n_gpioconf_init() 1833 gpio_pushpull = config_buf[CP210X_2NCONFIG_GPIO_MODE_IDX]; in cp2102n_gpioconf_init() 1834 gpio_ctrl = config_buf[CP210X_2NCONFIG_GPIO_CONTROL_IDX]; in cp2102n_gpioconf_init() 1835 gpio_rst_latch = config_buf[CP210X_2NCONFIG_GPIO_RSTLATCH_IDX]; in cp2102n_gpioconf_init() 1837 kfree(config_buf); in cp2102n_gpioconf_init()
|
/drivers/usb/gadget/legacy/ |
D | inode.c | 1303 config_buf (struct dev_data *dev, u8 type, unsigned index) in config_buf() function 1399 value = config_buf (dev, in gadgetfs_setup()
|
/drivers/vdpa/vdpa_user/ |
D | vduse_dev.c | 1490 void *config_buf, u64 api_version) in vduse_create_dev() argument 1517 dev->config = config_buf; in vduse_create_dev()
|
/drivers/usb/gadget/ |
D | composite.c | 514 static int config_buf(struct usb_configuration *config, in config_buf() function 622 return config_buf(c, speed, cdev->req->buf, type); in config_desc()
|