Home
last modified time | relevance | path

Searched refs:new_config (Results 1 – 9 of 9) sorted by relevance

/linux/net/psp/
H A Dpsp_nl.c190 struct psp_dev_config new_config; in psp_nl_dev_set_doit() local
194 memcpy(&new_config, &psd->config, sizeof(new_config)); in psp_nl_dev_set_doit()
197 new_config.versions = in psp_nl_dev_set_doit()
199 if (new_config.versions & ~psd->caps->versions) { in psp_nl_dev_set_doit()
212 if (memcmp(&new_config, &psd->config, sizeof(new_config))) { in psp_nl_dev_set_doit()
213 err = psd->ops->set_config(psd, &new_config, info->extack); in psp_nl_dev_set_doit()
217 memcpy(&psd->config, &new_config, sizeof(new_config)); in psp_nl_dev_set_doit()
/linux/arch/x86/platform/scx200/
H A Dscx200_32.c97 u32 config, new_config; in scx200_gpio_configure() local
104 new_config = (config & mask) | bits; in scx200_gpio_configure()
105 outl(new_config, scx200_gpio_base + 0x24); in scx200_gpio_configure()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1546 struct kernel_hwtstamp_config new_config) in mlxsw_sp2_ptp_enable() argument
1555 ptp_state->config = new_config; in mlxsw_sp2_ptp_enable()
1560 struct kernel_hwtstamp_config new_config) in mlxsw_sp2_ptp_disable() argument
1569 ptp_state->config = new_config; in mlxsw_sp2_ptp_disable()
1575 struct kernel_hwtstamp_config new_config) in mlxsw_sp2_ptp_configure_port() argument
1586 egr_types, new_config); in mlxsw_sp2_ptp_configure_port()
1596 struct kernel_hwtstamp_config new_config) in mlxsw_sp2_ptp_deconfigure_port() argument
1606 err = mlxsw_sp2_ptp_disable(mlxsw_sp_port->mlxsw_sp, new_config); in mlxsw_sp2_ptp_deconfigure_port()
1621 struct kernel_hwtstamp_config new_config; in mlxsw_sp2_ptp_hwtstamp_set() local
1636 new_config.flags = config->flags; in mlxsw_sp2_ptp_hwtstamp_set()
[all …]
/linux/drivers/char/
H A Dpc8736x_gpio.c128 u32 config, new_config; in pc8736x_gpio_configure_fn() local
139 new_config = (config & mask) | bits; in pc8736x_gpio_configure_fn()
140 superio_outb(func_slct, new_config); in pc8736x_gpio_configure_fn()
/linux/drivers/scsi/qla2xxx/
H A Dqla_bsg.c594 uint16_t new_config[4]; in qla81xx_reset_loopback_mode() local
600 memset(new_config, 0 , sizeof(new_config)); in qla81xx_reset_loopback_mode()
605 new_config[0] = config[0] & ~INTERNAL_LOOPBACK_MASK; in qla81xx_reset_loopback_mode()
607 (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_reset_loopback_mode()
608 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3) ; in qla81xx_reset_loopback_mode()
613 ret = qla81xx_set_port_config(vha, new_config); in qla81xx_reset_loopback_mode()
661 uint16_t *new_config, uint16_t mode) in qla81xx_set_loopback_mode() argument
672 new_config[0] = config[0] | (ENABLE_INTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
674 new_config[0] = config[0] | (ENABLE_EXTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
676 "new_config[0]=%02x\n", (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_set_loopback_mode()
[all …]
/linux/drivers/usb/core/
H A Dhcd.c1850 struct usb_host_config *new_config, in usb_hcd_alloc_bandwidth() argument
1865 if (!new_config && !cur_alt) { in usb_hcd_alloc_bandwidth()
1882 if (new_config) { in usb_hcd_alloc_bandwidth()
1883 num_intfs = new_config->desc.bNumInterfaces; in usb_hcd_alloc_bandwidth()
1905 first_alt = &new_config->intf_cache[i]->altsetting[0]; in usb_hcd_alloc_bandwidth()
1908 alt = usb_find_alt_setting(new_config, iface_num, 0); in usb_hcd_alloc_bandwidth()
/linux/drivers/iio/
H A Dindustrialio-buffer.c1273 struct iio_device_config new_config; in __iio_update_buffers() local
1277 &new_config); in __iio_update_buffers()
1300 ret = iio_enable_buffers(indio_dev, &new_config); in __iio_update_buffers()
1318 iio_free_scan_mask(indio_dev, new_config.scan_mask); in __iio_update_buffers()
/linux/drivers/media/v4l2-core/
H A Dtuner-core.c298 unsigned int new_mode_mask, void *new_config, in set_type() argument
313 t->config = new_config; in set_type()
/linux/drivers/dma/qcom/
H A Dgpi.c1608 void *new_config; in gpi_peripheral_config() local
1613 new_config = krealloc(gchan->config, config->peripheral_size, GFP_NOWAIT); in gpi_peripheral_config()
1614 if (!new_config) in gpi_peripheral_config()
1617 gchan->config = new_config; in gpi_peripheral_config()