Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_bsg.c575 uint16_t new_config[4]; in qla81xx_reset_loopback_mode() local
581 memset(new_config, 0 , sizeof(new_config)); in qla81xx_reset_loopback_mode()
586 new_config[0] = config[0] & ~INTERNAL_LOOPBACK_MASK; in qla81xx_reset_loopback_mode()
588 (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_reset_loopback_mode()
589 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3) ; in qla81xx_reset_loopback_mode()
594 ret = qla81xx_set_port_config(vha, new_config); in qla81xx_reset_loopback_mode()
642 uint16_t *new_config, uint16_t mode) in qla81xx_set_loopback_mode() argument
653 new_config[0] = config[0] | (ENABLE_INTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
655 new_config[0] = config[0] | (ENABLE_EXTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
657 "new_config[0]=%02x\n", (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_set_loopback_mode()
[all …]
/kernel/linux/linux-5.10/arch/x86/events/amd/
Dibs.c611 u64 *buf, *config, period, new_config = 0; in perf_ibs_handle_irq() local
720 new_config = period & IBS_OP_MAX_CNT_EXT_MASK; in perf_ibs_handle_irq()
724 new_config |= *config & IBS_OP_CUR_CNT_RAND; in perf_ibs_handle_irq()
726 new_config |= period >> 4; in perf_ibs_handle_irq()
728 perf_ibs_enable_event(perf_ibs, hwc, new_config); in perf_ibs_handle_irq()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-buffer.c1064 struct iio_device_config new_config; in __iio_update_buffers() local
1068 &new_config); in __iio_update_buffers()
1091 ret = iio_enable_buffers(indio_dev, &new_config); in __iio_update_buffers()
1109 iio_free_scan_mask(indio_dev, new_config.scan_mask); in __iio_update_buffers()
/kernel/linux/linux-5.10/drivers/usb/core/
Dhcd.c1863 struct usb_host_config *new_config, in usb_hcd_alloc_bandwidth() argument
1878 if (!new_config && !cur_alt) { in usb_hcd_alloc_bandwidth()
1895 if (new_config) { in usb_hcd_alloc_bandwidth()
1896 num_intfs = new_config->desc.bNumInterfaces; in usb_hcd_alloc_bandwidth()
1918 first_alt = &new_config->intf_cache[i]->altsetting[0]; in usb_hcd_alloc_bandwidth()
1921 alt = usb_find_alt_setting(new_config, iface_num, 0); in usb_hcd_alloc_bandwidth()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-msm.c1672 u32 new_config; in sdhci_msm_handle_pwr_irq() local
1686 new_config = config; in sdhci_msm_handle_pwr_irq()
1690 new_config &= ~CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq()
1693 new_config |= CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq()
1695 if (config ^ new_config) in sdhci_msm_handle_pwr_irq()
1696 writel_relaxed(new_config, host->ioaddr + in sdhci_msm_handle_pwr_irq()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dhyperv.c640 union hv_stimer_config new_config = {.as_uint64 = config}, in stimer_set_config() local
653 !new_config.direct_mode && new_config.sintx == 0) in stimer_set_config()
654 new_config.enable = 0; in stimer_set_config()
655 stimer->config.as_uint64 = new_config.as_uint64; in stimer_set_config()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Datmel_mxt_ts.c2210 struct t7_config *new_config; in mxt_set_t7_power_cfg() local
2214 new_config = &deepsleep; in mxt_set_t7_power_cfg()
2216 new_config = &data->t7_cfg; in mxt_set_t7_power_cfg()
2219 sizeof(data->t7_cfg), new_config); in mxt_set_t7_power_cfg()
2224 new_config->active, new_config->idle); in mxt_set_t7_power_cfg()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c1277 __vxge_hw_device_config_check(struct vxge_hw_device_config *new_config) in __vxge_hw_device_config_check() argument
1282 if ((new_config->intr_mode != VXGE_HW_INTR_MODE_IRQLINE) && in __vxge_hw_device_config_check()
1283 (new_config->intr_mode != VXGE_HW_INTR_MODE_MSIX) && in __vxge_hw_device_config_check()
1284 (new_config->intr_mode != VXGE_HW_INTR_MODE_MSIX_ONE_SHOT) && in __vxge_hw_device_config_check()
1285 (new_config->intr_mode != VXGE_HW_INTR_MODE_DEF)) in __vxge_hw_device_config_check()
1288 if ((new_config->rts_mac_en != VXGE_HW_RTS_MAC_DISABLE) && in __vxge_hw_device_config_check()
1289 (new_config->rts_mac_en != VXGE_HW_RTS_MAC_ENABLE)) in __vxge_hw_device_config_check()
1294 &new_config->vp_config[i]); in __vxge_hw_device_config_check()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/usb/
Dhcd.h455 struct usb_host_config *new_config,