Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1540 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_enable() argument
1549 ptp_state->config = new_config; in mlxsw_sp2_ptp_enable()
1554 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_disable() argument
1563 ptp_state->config = new_config; in mlxsw_sp2_ptp_disable()
1569 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_configure_port() argument
1580 egr_types, new_config); in mlxsw_sp2_ptp_configure_port()
1590 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_deconfigure_port() argument
1600 err = mlxsw_sp2_ptp_disable(mlxsw_sp_port->mlxsw_sp, new_config); in mlxsw_sp2_ptp_deconfigure_port()
1616 struct hwtstamp_config new_config; in mlxsw_sp2_ptp_hwtstamp_set() local
1629 new_config.flags = config->flags; in mlxsw_sp2_ptp_hwtstamp_set()
[all …]
/linux-6.6.21/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.6.21/drivers/scsi/qla2xxx/
Dqla_bsg.c598 uint16_t new_config[4]; in qla81xx_reset_loopback_mode() local
604 memset(new_config, 0 , sizeof(new_config)); in qla81xx_reset_loopback_mode()
609 new_config[0] = config[0] & ~INTERNAL_LOOPBACK_MASK; in qla81xx_reset_loopback_mode()
611 (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_reset_loopback_mode()
612 memcpy(&new_config[1], &config[1], sizeof(uint16_t) * 3) ; in qla81xx_reset_loopback_mode()
617 ret = qla81xx_set_port_config(vha, new_config); in qla81xx_reset_loopback_mode()
665 uint16_t *new_config, uint16_t mode) in qla81xx_set_loopback_mode() argument
676 new_config[0] = config[0] | (ENABLE_INTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
678 new_config[0] = config[0] | (ENABLE_EXTERNAL_LOOPBACK << 1); in qla81xx_set_loopback_mode()
680 "new_config[0]=%02x\n", (new_config[0] & INTERNAL_LOOPBACK_MASK)); in qla81xx_set_loopback_mode()
[all …]
/linux-6.6.21/arch/x86/kvm/
Dpmu.c403 u64 new_config = eventsel; in reprogram_counter() local
426 new_config = (u64)fixed_ctr_ctrl; in reprogram_counter()
429 if (pmc->current_config == new_config && pmc_resume_counter(pmc)) in reprogram_counter()
434 pmc->current_config = new_config; in reprogram_counter()
Dhyperv.c687 union hv_stimer_config new_config = {.as_uint64 = config}, in stimer_set_config() local
696 if (unlikely(!host && hv_vcpu->enforce_cpuid && new_config.direct_mode && in stimer_set_config()
706 !new_config.direct_mode && new_config.sintx == 0) in stimer_set_config()
707 new_config.enable = 0; in stimer_set_config()
708 stimer->config.as_uint64 = new_config.as_uint64; in stimer_set_config()
/linux-6.6.21/arch/x86/events/amd/
Dibs.c1030 u64 *buf, *config, period, new_config = 0; in perf_ibs_handle_irq() local
1139 new_config = period & IBS_OP_MAX_CNT_EXT_MASK; in perf_ibs_handle_irq()
1143 new_config |= *config & IBS_OP_CUR_CNT_RAND; in perf_ibs_handle_irq()
1145 new_config |= period >> 4; in perf_ibs_handle_irq()
1147 perf_ibs_enable_event(perf_ibs, hwc, new_config); in perf_ibs_handle_irq()
/linux-6.6.21/drivers/usb/core/
Dhcd.c1842 struct usb_host_config *new_config, in usb_hcd_alloc_bandwidth() argument
1857 if (!new_config && !cur_alt) { in usb_hcd_alloc_bandwidth()
1874 if (new_config) { in usb_hcd_alloc_bandwidth()
1875 num_intfs = new_config->desc.bNumInterfaces; in usb_hcd_alloc_bandwidth()
1897 first_alt = &new_config->intf_cache[i]->altsetting[0]; in usb_hcd_alloc_bandwidth()
1900 alt = usb_find_alt_setting(new_config, iface_num, 0); in usb_hcd_alloc_bandwidth()
/linux-6.6.21/drivers/mmc/host/
Dsdhci-msm.c1692 u32 new_config; in sdhci_msm_handle_pwr_irq() local
1706 new_config = config; in sdhci_msm_handle_pwr_irq()
1710 new_config &= ~CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq()
1713 new_config |= CORE_IO_PAD_PWR_SWITCH; in sdhci_msm_handle_pwr_irq()
1715 if (config ^ new_config) in sdhci_msm_handle_pwr_irq()
1716 writel_relaxed(new_config, host->ioaddr + in sdhci_msm_handle_pwr_irq()
/linux-6.6.21/drivers/iio/
Dindustrialio-buffer.c1201 struct iio_device_config new_config; in __iio_update_buffers() local
1205 &new_config); in __iio_update_buffers()
1228 ret = iio_enable_buffers(indio_dev, &new_config); in __iio_update_buffers()
1246 iio_free_scan_mask(indio_dev, new_config.scan_mask); in __iio_update_buffers()
/linux-6.6.21/drivers/input/touchscreen/
Datmel_mxt_ts.c2310 struct t7_config *new_config; in mxt_set_t7_power_cfg() local
2314 new_config = &deepsleep; in mxt_set_t7_power_cfg()
2316 new_config = &data->t7_cfg; in mxt_set_t7_power_cfg()
2319 sizeof(data->t7_cfg), new_config); in mxt_set_t7_power_cfg()
2324 new_config->active, new_config->idle); in mxt_set_t7_power_cfg()
/linux-6.6.21/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.6.21/include/linux/usb/
Dhcd.h445 struct usb_host_config *new_config,