Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1552 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_enable() argument
1561 ptp_state->config = new_config; in mlxsw_sp2_ptp_enable()
1566 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_disable() argument
1575 ptp_state->config = new_config; in mlxsw_sp2_ptp_disable()
1581 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_configure_port() argument
1592 egr_types, new_config); in mlxsw_sp2_ptp_configure_port()
1602 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_deconfigure_port() argument
1612 err = mlxsw_sp2_ptp_disable(mlxsw_sp_port->mlxsw_sp, new_config); in mlxsw_sp2_ptp_deconfigure_port()
1628 struct hwtstamp_config new_config; in mlxsw_sp2_ptp_hwtstamp_set() local
1641 new_config.flags = config->flags; in mlxsw_sp2_ptp_hwtstamp_set()
[all …]
/linux-6.1.9/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-6.1.9/arch/x86/kvm/
Dpmu.c300 u64 new_config = eventsel; in reprogram_counter() local
323 new_config = (u64)fixed_ctr_ctrl; in reprogram_counter()
326 if (pmc->current_config == new_config && pmc_resume_counter(pmc)) in reprogram_counter()
331 pmc->current_config = new_config; in reprogram_counter()
Dhyperv.c665 union hv_stimer_config new_config = {.as_uint64 = config}, in stimer_set_config() local
674 if (unlikely(!host && hv_vcpu->enforce_cpuid && new_config.direct_mode && in stimer_set_config()
684 !new_config.direct_mode && new_config.sintx == 0) in stimer_set_config()
685 new_config.enable = 0; in stimer_set_config()
686 stimer->config.as_uint64 = new_config.as_uint64; in stimer_set_config()
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_bsg.c593 uint16_t new_config[4]; in qla81xx_reset_loopback_mode() local
599 memset(new_config, 0 , sizeof(new_config)); in qla81xx_reset_loopback_mode()
604 new_config[0] = config[0] & ~INTERNAL_LOOPBACK_MASK; in qla81xx_reset_loopback_mode()
606 (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_reset_loopback_mode()
607 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3) ; in qla81xx_reset_loopback_mode()
612 ret = qla81xx_set_port_config(vha, new_config); in qla81xx_reset_loopback_mode()
660 uint16_t *new_config, uint16_t mode) in qla81xx_set_loopback_mode() argument
671 new_config[0] = config[0] | (ENABLE_INTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
673 new_config[0] = config[0] | (ENABLE_EXTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
675 "new_config[0]=%02x\n", (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_set_loopback_mode()
[all …]
/linux-6.1.9/arch/x86/events/amd/
Dibs.c1025 u64 *buf, *config, period, new_config = 0; in perf_ibs_handle_irq() local
1137 new_config = period & IBS_OP_MAX_CNT_EXT_MASK; in perf_ibs_handle_irq()
1141 new_config |= *config & IBS_OP_CUR_CNT_RAND; in perf_ibs_handle_irq()
1143 new_config |= period >> 4; in perf_ibs_handle_irq()
1145 perf_ibs_enable_event(perf_ibs, hwc, new_config); in perf_ibs_handle_irq()
/linux-6.1.9/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()
/linux-6.1.9/drivers/mmc/host/
Dsdhci-msm.c1688 u32 new_config; in sdhci_msm_handle_pwr_irq() local
1702 new_config = config; in sdhci_msm_handle_pwr_irq()
1706 new_config &= ~CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq()
1709 new_config |= CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq()
1711 if (config ^ new_config) in sdhci_msm_handle_pwr_irq()
1712 writel_relaxed(new_config, host->ioaddr + in sdhci_msm_handle_pwr_irq()
/linux-6.1.9/drivers/iio/
Dindustrialio-buffer.c1195 struct iio_device_config new_config; in __iio_update_buffers() local
1199 &new_config); in __iio_update_buffers()
1222 ret = iio_enable_buffers(indio_dev, &new_config); in __iio_update_buffers()
1240 iio_free_scan_mask(indio_dev, new_config.scan_mask); in __iio_update_buffers()
/linux-6.1.9/drivers/input/touchscreen/
Datmel_mxt_ts.c2253 struct t7_config *new_config; in mxt_set_t7_power_cfg() local
2257 new_config = &deepsleep; in mxt_set_t7_power_cfg()
2259 new_config = &data->t7_cfg; in mxt_set_t7_power_cfg()
2262 sizeof(data->t7_cfg), new_config); in mxt_set_t7_power_cfg()
2267 new_config->active, new_config->idle); in mxt_set_t7_power_cfg()
/linux-6.1.9/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-6.1.9/include/linux/usb/
Dhcd.h444 struct usb_host_config *new_config,