| /linux/net/psp/ |
| H A D | psp_nl.c | 401 struct psp_dev_config new_config; in psp_nl_put_key() 405 memcpy(&new_config, &psd->config, sizeof(new_config)); in psp_nl_put_key() 408 new_config.versions = in psp_nl_put_key() 410 if (new_config.versions & ~psd->caps->versions) { in psp_nl_put_key() 423 if (memcmp(&new_config, &psd->config, sizeof(new_config))) { in psp_nl_rx_assoc_doit() 424 err = psd->ops->set_config(psd, &new_config, info->extack); in psp_nl_rx_assoc_doit() 428 memcpy(&psd->config, &new_config, sizeof(new_config)); in psp_nl_rx_assoc_doit() 190 struct psp_dev_config new_config; psp_nl_dev_set_doit() local [all...] |
| /linux/arch/x86/platform/scx200/ |
| H A D | scx200_32.c | 97 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 D | spectrum_ptp.c | 1546 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 D | pc8736x_gpio.c | 128 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 D | qla_bsg.c | 594 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 D | hcd.c | 1832 * @new_config: new configuration to install 1836 * To change configurations, pass in the new configuration in new_config, 1840 * pass in NULL for new_config, cur_alt, and new_alt. 1842 * To change alternate interface settings, pass in NULL for new_config, 1850 struct usb_host_config *new_config, in usb_hcd_alloc_bandwidth() 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_nu in usb_hcd_alloc_bandwidth() 1848 usb_hcd_alloc_bandwidth(struct usb_device * udev,struct usb_host_config * new_config,struct usb_host_interface * cur_alt,struct usb_host_interface * new_alt) usb_hcd_alloc_bandwidth() argument [all...] |
| /linux/drivers/mmc/host/ |
| H A D | sdhci-msm.c | 1784 u32 new_config; in sdhci_msm_handle_pwr_irq() local 1798 new_config = config; in sdhci_msm_handle_pwr_irq() 1802 new_config &= ~CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq() 1805 new_config |= CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq() 1807 if (config ^ new_config) in sdhci_msm_handle_pwr_irq() 1808 writel_relaxed(new_config, host->ioaddr + in sdhci_msm_handle_pwr_irq()
|
| /linux/drivers/input/touchscreen/ |
| H A D | atmel_mxt_ts.c | 2297 struct t7_config *new_config; in mxt_set_t7_power_cfg() 2301 new_config = &deepsleep; in mxt_set_t7_power_cfg() 2303 new_config = &data->t7_cfg; in mxt_set_t7_power_cfg() 2306 sizeof(data->t7_cfg), new_config); in mxt_set_t7_power_cfg() 2311 new_config->active, new_config->idle); in mxt_set_t7_power_cfg() 2296 struct t7_config *new_config; mxt_set_t7_power_cfg() local
|
| /linux/drivers/iio/ |
| H A D | industrialio-buffer.c | 1295 struct iio_device_config new_config; in __iio_update_buffers() 1299 &new_config); in __iio_update_buffers() 1322 ret = iio_enable_buffers(indio_dev, &new_config); in iio_update_buffers() 1340 iio_free_scan_mask(indio_dev, new_config.scan_mask); in iio_update_buffers() 1273 struct iio_device_config new_config; __iio_update_buffers() local
|
| /linux/drivers/media/v4l2-core/ |
| H A D | tuner-core.c | 289 * @new_config: an optional parameter used by a few tuners to adjust 298 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 D | gpi.c | 1608 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()
|