Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/platform/scx200/
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-v5.4/drivers/char/
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-v5.4/drivers/scsi/qla2xxx/
Dqla_bsg.c565 uint16_t new_config[4]; in qla81xx_reset_loopback_mode() local
571 memset(new_config, 0 , sizeof(new_config)); in qla81xx_reset_loopback_mode()
576 new_config[0] = config[0] & ~INTERNAL_LOOPBACK_MASK; in qla81xx_reset_loopback_mode()
578 (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_reset_loopback_mode()
579 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3) ; in qla81xx_reset_loopback_mode()
584 ret = qla81xx_set_port_config(vha, new_config); in qla81xx_reset_loopback_mode()
632 uint16_t *new_config, uint16_t mode) in qla81xx_set_loopback_mode() argument
643 new_config[0] = config[0] | (ENABLE_INTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
645 new_config[0] = config[0] | (ENABLE_EXTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
647 "new_config[0]=%02x\n", (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_set_loopback_mode()
[all …]
/Linux-v5.4/drivers/mmc/host/
Dsdhci-msm.c1446 u32 new_config; in sdhci_msm_handle_pwr_irq() local
1460 new_config = config; in sdhci_msm_handle_pwr_irq()
1464 new_config &= ~CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq()
1467 new_config |= CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq()
1469 if (config ^ new_config) in sdhci_msm_handle_pwr_irq()
1470 writel_relaxed(new_config, host->ioaddr + in sdhci_msm_handle_pwr_irq()
/Linux-v5.4/drivers/iio/
Dindustrialio-buffer.c1021 struct iio_device_config new_config; in __iio_update_buffers() local
1025 &new_config); in __iio_update_buffers()
1048 ret = iio_enable_buffers(indio_dev, &new_config); in __iio_update_buffers()
1066 iio_free_scan_mask(indio_dev, new_config.scan_mask); in __iio_update_buffers()
/Linux-v5.4/drivers/usb/core/
Dhcd.c1831 struct usb_host_config *new_config, in usb_hcd_alloc_bandwidth() argument
1846 if (!new_config && !cur_alt) { in usb_hcd_alloc_bandwidth()
1863 if (new_config) { in usb_hcd_alloc_bandwidth()
1864 num_intfs = new_config->desc.bNumInterfaces; in usb_hcd_alloc_bandwidth()
1886 first_alt = &new_config->intf_cache[i]->altsetting[0]; in usb_hcd_alloc_bandwidth()
1889 alt = usb_find_alt_setting(new_config, iface_num, 0); in usb_hcd_alloc_bandwidth()
/Linux-v5.4/arch/x86/kvm/
Dhyperv.c515 union hv_stimer_config new_config = {.as_uint64 = config}, in stimer_set_config() local
523 !new_config.direct_mode && new_config.sintx == 0) in stimer_set_config()
524 new_config.enable = 0; in stimer_set_config()
525 stimer->config.as_uint64 = new_config.as_uint64; in stimer_set_config()
/Linux-v5.4/drivers/input/touchscreen/
Datmel_mxt_ts.c2161 struct t7_config *new_config; in mxt_set_t7_power_cfg() local
2165 new_config = &deepsleep; in mxt_set_t7_power_cfg()
2167 new_config = &data->t7_cfg; in mxt_set_t7_power_cfg()
2170 sizeof(data->t7_cfg), new_config); in mxt_set_t7_power_cfg()
2175 new_config->active, new_config->idle); in mxt_set_t7_power_cfg()
/Linux-v5.4/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c1274 __vxge_hw_device_config_check(struct vxge_hw_device_config *new_config) in __vxge_hw_device_config_check() argument
1279 if ((new_config->intr_mode != VXGE_HW_INTR_MODE_IRQLINE) && in __vxge_hw_device_config_check()
1280 (new_config->intr_mode != VXGE_HW_INTR_MODE_MSIX) && in __vxge_hw_device_config_check()
1281 (new_config->intr_mode != VXGE_HW_INTR_MODE_MSIX_ONE_SHOT) && in __vxge_hw_device_config_check()
1282 (new_config->intr_mode != VXGE_HW_INTR_MODE_DEF)) in __vxge_hw_device_config_check()
1285 if ((new_config->rts_mac_en != VXGE_HW_RTS_MAC_DISABLE) && in __vxge_hw_device_config_check()
1286 (new_config->rts_mac_en != VXGE_HW_RTS_MAC_ENABLE)) in __vxge_hw_device_config_check()
1291 &new_config->vp_config[i]); in __vxge_hw_device_config_check()
/Linux-v5.4/drivers/media/v4l2-core/
Dtuner-core.c298 unsigned int new_mode_mask, void *new_config, in set_type() argument
313 t->config = new_config; in set_type()
/Linux-v5.4/include/linux/usb/
Dhcd.h452 struct usb_host_config *new_config,