Home
last modified time | relevance | path

Searched refs:scfg (Results 1 – 9 of 9) sorted by relevance

/drivers/hwmon/
A Dk8temp.c135 u8 scfg; in k8temp_probe() local
171 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
173 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
174 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
176 if (scfg & (SEL_PLACE | SEL_CORE)) { in k8temp_probe()
181 scfg |= (SEL_PLACE | SEL_CORE); in k8temp_probe()
182 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
188 scfg &= ~SEL_CORE; /* Select sensor 1, core0 */ in k8temp_probe()
189 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
197 scfg &= ~SEL_PLACE; /* Select sensor 0, core1 */ in k8temp_probe()
[all …]
/drivers/pci/controller/dwc/
A Dpci-layerscape.c67 struct regmap *scfg; member
193 static void scfg_pcie_send_turnoff_msg(struct regmap *scfg, u32 reg, u32 mask) in scfg_pcie_send_turnoff_msg() argument
196 regmap_write_bits(scfg, reg, mask, mask); in scfg_pcie_send_turnoff_msg()
208 regmap_write_bits(scfg, reg, mask, 0); in scfg_pcie_send_turnoff_msg()
219 static int scfg_pcie_exit_from_l2(struct regmap *scfg, u32 reg, u32 mask) in scfg_pcie_exit_from_l2() argument
222 regmap_write_bits(scfg, reg, mask, mask); in scfg_pcie_exit_from_l2()
223 regmap_write_bits(scfg, reg, mask, 0); in scfg_pcie_exit_from_l2()
241 scfg_pcie_send_turnoff_msg(pcie->scfg, SCFG_PEXPMECR, PEXPME(pcie->index)); in ls1043a_pcie_send_turnoff_msg()
357 pcie->scfg = in ls_pcie_probe()
361 if (IS_ERR(pcie->scfg)) { in ls_pcie_probe()
[all …]
/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_dcb_nl.c23 struct ixgbe_dcb_config *scfg = &adapter->temp_dcb_cfg; in ixgbe_copy_dcb_cfg() local
43 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()
93 if (dcfg->bw_percentage[tx][j] != scfg->bw_percentage[tx][j]) { in ixgbe_copy_dcb_cfg()
94 dcfg->bw_percentage[tx][j] = scfg->bw_percentage[tx][j]; in ixgbe_copy_dcb_cfg()
97 if (dcfg->bw_percentage[rx][j] != scfg->bw_percentage[rx][j]) { in ixgbe_copy_dcb_cfg()
98 dcfg->bw_percentage[rx][j] = scfg->bw_percentage[rx][j]; in ixgbe_copy_dcb_cfg()
105 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { in ixgbe_copy_dcb_cfg()
106 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; in ixgbe_copy_dcb_cfg()
111 if (dcfg->pfc_mode_enable != scfg->pfc_mode_enable) { in ixgbe_copy_dcb_cfg()
112 dcfg->pfc_mode_enable = scfg->pfc_mode_enable; in ixgbe_copy_dcb_cfg()
/drivers/gpu/drm/fsl-dcu/
A Dfsl_dcu_drm_drv.c104 struct regmap *scfg; in fsl_dcu_load() local
111 scfg = syscon_regmap_lookup_by_compatible("fsl,ls1021a-scfg"); in fsl_dcu_load()
112 if (PTR_ERR(scfg) != -ENODEV) { in fsl_dcu_load()
119 ret = regmap_update_bits(scfg, SCFG_PIXCLKCR, SCFG_PIXCLKCR_PXCEN, in fsl_dcu_load()
/drivers/irqchip/
A Dirq-mchp-eic.c41 u32 scfg[MCHP_EIC_NIRQ]; member
117 eic->scfg[hwirq] = readl_relaxed(eic->base + in mchp_eic_irq_suspend()
134 writel_relaxed(eic->scfg[hwirq], eic->base + in mchp_eic_irq_resume()
A DMakefile91 obj-$(CONFIG_LS_SCFG_MSI) += irq-ls-scfg-msi.o
/drivers/dma/
A Dst_fdma.c359 maxburst = fchan->scfg.src_maxburst; in config_reqctrl()
360 width = fchan->scfg.src_addr_width; in config_reqctrl()
361 addr = fchan->scfg.src_addr; in config_reqctrl()
366 maxburst = fchan->scfg.dst_maxburst; in config_reqctrl()
367 width = fchan->scfg.dst_addr_width; in config_reqctrl()
368 addr = fchan->scfg.dst_addr; in config_reqctrl()
683 memcpy(&fchan->scfg, slave_cfg, sizeof(fchan->scfg)); in st_fdma_slave_config()
A Dst_fdma.h120 struct dma_slave_config scfg; member
/drivers/net/ethernet/intel/i40e/
A Di40e_common.c1834 struct i40e_aqc_switch_seid *scfg; in i40e_aq_get_switch_config() local
1840 scfg = libie_aq_raw(&desc); in i40e_aq_get_switch_config()
1844 scfg->seid = cpu_to_le16(*start_seid); in i40e_aq_get_switch_config()
1847 *start_seid = le16_to_cpu(scfg->seid); in i40e_aq_get_switch_config()
1868 struct i40e_aqc_set_switch_config *scfg; in i40e_aq_set_switch_config() local
1874 scfg = libie_aq_raw(&desc); in i40e_aq_set_switch_config()
1875 scfg->flags = cpu_to_le16(flags); in i40e_aq_set_switch_config()
1876 scfg->valid_flags = cpu_to_le16(valid_flags); in i40e_aq_set_switch_config()
1877 scfg->mode = mode; in i40e_aq_set_switch_config()
1879 scfg->switch_tag = cpu_to_le16(hw->switch_tag); in i40e_aq_set_switch_config()
[all …]

Completed in 26 milliseconds