Home
last modified time | relevance | path

Searched refs:edata (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/linux/drivers/pci/controller/
H A Dpcie-hisi-error.c195 const struct hisi_pcie_error_data *edata) in hisi_pcie_handle_error() argument
201 if (edata->val_bits == 0) { in hisi_pcie_handle_error()
207 if (edata->val_bits & HISI_PCIE_LOCAL_VALID_SOC_ID) in hisi_pcie_handle_error()
210 dev_info(dev, "Socket ID = %d\n", edata->socket_id); in hisi_pcie_handle_error()
212 dev_info(dev, "Nimbus ID = %d\n", edata->nimbus_id); in hisi_pcie_handle_error()
217 edata->sub_module_id)); in hisi_pcie_handle_error()
218 if (edata->val_bits & HISI_PCIE_LOCAL_VALID_CORE_ID) in hisi_pcie_handle_error()
219 dev_info(dev, "Core ID = core%d\n", edata->core_id); in hisi_pcie_handle_error()
220 if (edata->val_bits & HISI_PCIE_LOCAL_VALID_PORT_ID) in hisi_pcie_handle_error()
226 edata->err_severity)); in hisi_pcie_handle_error()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_eprobe.c533 struct eprobe_data *edata; in new_eprobe_trigger() local
536 edata = kzalloc(sizeof(*edata), GFP_KERNEL); in new_eprobe_trigger()
538 if (!trigger || !edata) { in new_eprobe_trigger()
564 edata->file = file; in new_eprobe_trigger()
565 edata->ep = ep; in new_eprobe_trigger()
566 trigger->private_data = edata; in new_eprobe_trigger()
571 kfree(edata); in new_eprobe_trigger()
608 struct eprobe_data *edata; in disable_eprobe() local
617 edata = iter->private_data; in disable_eprobe()
618 if (edata->ep == ep) { in disable_eprobe()
[all …]
H A Dtrace_events.c3400 edata = *pdata; in event_enable_probe()
3417 edata = *pdata; in event_enable_count_probe()
3419 if (!edata->count) in event_enable_count_probe()
3423 if (edata->enable == !(edata->file->flags & EVENT_FILE_FL_SOFT_DISABLED)) in event_enable_count_probe()
3426 if (edata->count != -1) in event_enable_count_probe()
3427 (edata->count)--; in event_enable_count_probe()
3445 edata = *pdata; in event_enable_print()
3481 edata->ref++; in event_enable_init()
3490 edata->ref--; in free_probe_data()
3491 if (!edata->ref) { in free_probe_data()
[all …]
/openbmc/phosphor-networkd/src/
H A Dsystem_queries.cpp86 ethtool_cmd edata = {}; in getEthInfo() local
87 edata.cmd = ETHTOOL_GSET; in getEthInfo()
91 return EthInfo{.autoneg = edata.autoneg != 0, in getEthInfo()
92 .speed = edata.speed}; in getEthInfo()
94 &edata) in getEthInfo()
/openbmc/qemu/target/riscv/tcg/
H A Dtcg-cpu.c154 const RISCVIsaExtData *edata; in cpu_cfg_ext_get_min_version() local
156 for (edata = isa_edata_arr; edata && edata->name; edata++) { in cpu_cfg_ext_get_min_version()
161 return edata->min_version; in cpu_cfg_ext_get_min_version()
170 const RISCVIsaExtData *edata; in cpu_cfg_ext_get_name() local
172 for (edata = isa_edata_arr; edata->name != NULL; edata++) { in cpu_cfg_ext_get_name()
174 return edata->name; in cpu_cfg_ext_get_name()
290 const RISCVIsaExtData *edata; in riscv_cpu_disable_priv_spec_isa_exts() local
293 for (edata = isa_edata_arr; edata && edata->name; edata++) { in riscv_cpu_disable_priv_spec_isa_exts()
300 if (!strcmp(edata->name, "zicntr") || in riscv_cpu_disable_priv_spec_isa_exts()
301 !strcmp(edata->name, "zihpm")) { in riscv_cpu_disable_priv_spec_isa_exts()
[all …]
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c136 struct ethtool_eee *edata) in sxgbe_get_eee() argument
143 edata->eee_enabled = priv->eee_enabled; in sxgbe_get_eee()
144 edata->eee_active = priv->eee_active; in sxgbe_get_eee()
145 edata->tx_lpi_timer = priv->tx_lpi_timer; in sxgbe_get_eee()
147 return phy_ethtool_get_eee(dev->phydev, edata); in sxgbe_get_eee()
151 struct ethtool_eee *edata) in sxgbe_set_eee() argument
155 priv->eee_enabled = edata->eee_enabled; in sxgbe_set_eee()
169 priv->tx_lpi_timer = edata->tx_lpi_timer; in sxgbe_set_eee()
172 return phy_ethtool_set_eee(dev->phydev, edata); in sxgbe_set_eee()
/openbmc/linux/drivers/devfreq/event/
H A Dexynos-ppmu.c202 struct devfreq_event_data *edata) in exynos_ppmu_get_event() argument
228 edata->total_count = total_count; in exynos_ppmu_get_event()
238 edata->load_count = load_count; in exynos_ppmu_get_event()
249 edata->load_count = ((pmcnt3_high << 8) | pmcnt3_low); in exynos_ppmu_get_event()
266 edata->load_count, edata->total_count); in exynos_ppmu_get_event()
420 struct devfreq_event_data *edata) in exynos_ppmu_v2_get_event() argument
444 edata->total_count = total_count; in exynos_ppmu_v2_get_event()
468 edata->load_count = load_count; in exynos_ppmu_v2_get_event()
481 edata->load_count, edata->total_count); in exynos_ppmu_v2_get_event()
H A Dexynos-nocp.c144 struct devfreq_event_data *edata) in exynos_nocp_get_event() argument
167 edata->load_count = ((counter[1] << 16) | counter[0]); in exynos_nocp_get_event()
168 edata->total_count = ((counter[3] << 16) | counter[2]); in exynos_nocp_get_event()
171 edata->load_count, edata->total_count); in exynos_nocp_get_event()
H A Drockchip-dfi.c150 struct devfreq_event_data *edata) in rockchip_dfi_get_event() argument
157 edata->load_count = info->ch_usage[busier_ch].access; in rockchip_dfi_get_event()
158 edata->total_count = info->ch_usage[busier_ch].total; in rockchip_dfi_get_event()
/openbmc/linux/include/linux/
H A Ddevfreq-event.h74 struct devfreq_event_data *edata);
106 struct devfreq_event_data *edata);
147 struct devfreq_event_data *edata) in devfreq_event_get_event() argument
/openbmc/linux/net/sched/
H A Dact_ife.c46 u16 edata = 0; in ife_encode_meta_u16() local
49 edata = *(u16 *)mi->metaval; in ife_encode_meta_u16()
51 edata = metaval; in ife_encode_meta_u16()
53 if (!edata) /* will not encode */ in ife_encode_meta_u16()
56 edata = htons(edata); in ife_encode_meta_u16()
57 return ife_tlv_meta_encode(skbdata, mi->metaid, 2, &edata); in ife_encode_meta_u16()
90 u32 edata = metaval; in ife_encode_meta_u32() local
93 edata = *(u32 *)mi->metaval; in ife_encode_meta_u32()
95 edata = metaval; in ife_encode_meta_u32()
97 if (!edata) /* will not encode */ in ife_encode_meta_u32()
[all …]
/openbmc/linux/drivers/devfreq/
H A Ddevfreq-event.c161 struct devfreq_event_data *edata) in devfreq_event_get_event() argument
174 edata->total_count = edata->load_count = 0; in devfreq_event_get_event()
177 ret = edev->desc->ops->get_event(edev, edata); in devfreq_event_get_event()
179 edata->total_count = edata->load_count = 0; in devfreq_event_get_event()
H A Dexynos-bus.c64 struct devfreq_event_data *edata) in exynos_bus_get_event() argument
84 edata->load_count = load_count; in exynos_bus_get_event()
85 edata->total_count = total_count; in exynos_bus_get_event()
123 struct devfreq_event_data edata; in exynos_bus_get_dev_status() local
128 ret = exynos_bus_get_event(bus, &edata); in exynos_bus_get_dev_status()
135 stat->busy_time = (edata.load_count * 100) / bus->ratio; in exynos_bus_get_dev_status()
136 stat->total_time = edata.total_count; in exynos_bus_get_dev_status()
H A Drk3399_dmc.c222 struct devfreq_event_data edata; in rk3399_dmcfreq_get_dev_status() local
225 ret = devfreq_event_get_event(dmcfreq->edev, &edata); in rk3399_dmcfreq_get_dev_status()
230 stat->busy_time = edata.load_count; in rk3399_dmcfreq_get_dev_status()
231 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c48 static int emac_get_eee(struct net_device *ndev, struct ethtool_eee *edata) in emac_get_eee() argument
53 return phy_ethtool_get_eee(ndev->phydev, edata); in emac_get_eee()
56 static int emac_set_eee(struct net_device *ndev, struct ethtool_eee *edata) in emac_set_eee() argument
61 return phy_ethtool_set_eee(ndev->phydev, edata); in emac_set_eee()
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dmv_ddr_topology.c289 unsigned int rtt_nom = tm->edata.mem_edata.rtt_nom; in mv_ddr_rtt_nom_get()
306 rtt_park = tm->edata.mem_edata.rtt_park[cs_num - 1]; in mv_ddr_rtt_park_get()
323 rtt_wr = tm->edata.mem_edata.rtt_wr[cs_num - 1]; in mv_ddr_rtt_wr_get()
336 unsigned int dic = tm->edata.mem_edata.dic; in mv_ddr_dic_get()
/openbmc/u-boot/drivers/net/
H A Ddwmac_socfpga.c68 struct eth_pdata *edata = &pdata->dw_eth_pdata.eth_pdata; in dwmac_socfpga_probe() local
74 switch (edata->phy_interface) { in dwmac_socfpga_probe()
/openbmc/linux/net/ethtool/
H A Dioctl.c254 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_one_feature()
265 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_one_feature()
273 if (edata.data) in ethtool_set_one_feature()
1488 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_eee()
1502 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_eee()
1527 edata.data = link; in ethtool_get_link()
1528 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_link()
2217 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_value()
2230 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_value_void()
2233 actor(dev, edata.data); in ethtool_set_value_void()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1626 struct ethtool_eee *edata) in igc_ethtool_get_eee() argument
1633 edata->advertised = in igc_ethtool_get_eee()
1636 *edata = adapter->eee; in igc_ethtool_get_eee()
1643 edata->eee_active = true; in igc_ethtool_get_eee()
1646 edata->tx_lpi_enabled = true; in igc_ethtool_get_eee()
1657 edata->eee_enabled = false; in igc_ethtool_get_eee()
1658 edata->eee_active = false; in igc_ethtool_get_eee()
1659 edata->tx_lpi_enabled = false; in igc_ethtool_get_eee()
1660 edata->advertised &= ~edata->advertised; in igc_ethtool_get_eee()
1691 if (edata->tx_lpi_timer) { in igc_ethtool_set_eee()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c890 struct ethtool_eee *edata) in stmmac_ethtool_op_get_eee() argument
897 edata->eee_enabled = priv->eee_enabled; in stmmac_ethtool_op_get_eee()
898 edata->eee_active = priv->eee_active; in stmmac_ethtool_op_get_eee()
899 edata->tx_lpi_timer = priv->tx_lpi_timer; in stmmac_ethtool_op_get_eee()
900 edata->tx_lpi_enabled = priv->tx_lpi_enabled; in stmmac_ethtool_op_get_eee()
906 struct ethtool_eee *edata) in stmmac_ethtool_op_set_eee() argument
914 if (priv->tx_lpi_enabled != edata->tx_lpi_enabled) in stmmac_ethtool_op_set_eee()
918 if (!edata->eee_enabled) in stmmac_ethtool_op_set_eee()
925 if (edata->eee_enabled && in stmmac_ethtool_op_set_eee()
926 priv->tx_lpi_timer != edata->tx_lpi_timer) { in stmmac_ethtool_op_set_eee()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c1813 edata->advertised = ADVERTISED_1000baseT_Full; in qede_get_eee()
1815 edata->advertised |= ADVERTISED_10000baseT_Full; in qede_get_eee()
1817 edata->supported = ADVERTISED_1000baseT_Full; in qede_get_eee()
1819 edata->supported |= ADVERTISED_10000baseT_Full; in qede_get_eee()
1826 edata->eee_enabled = current_link.eee.enable; in qede_get_eee()
1828 edata->eee_active = current_link.eee_active; in qede_get_eee()
1859 edata->advertised)) { in qede_set_eee()
1862 edata->advertised); in qede_set_eee()
1870 params.eee.enable = edata->eee_enabled; in qede_set_eee()
1871 params.eee.tx_lpi_enable = edata->tx_lpi_enabled; in qede_set_eee()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c3047 edata->advertised = in igb_get_eee()
3060 edata->eee_active = true; in igb_get_eee()
3063 edata->tx_lpi_enabled = true; in igb_get_eee()
3095 (edata->eee_enabled)) in igb_get_eee()
3096 edata->tx_lpi_enabled = true; in igb_get_eee()
3102 edata->eee_enabled = false; in igb_get_eee()
3103 edata->eee_active = false; in igb_get_eee()
3104 edata->tx_lpi_enabled = false; in igb_get_eee()
3105 edata->advertised &= ~edata->advertised; in igb_get_eee()
3138 if (edata->tx_lpi_timer) { in igb_set_eee()
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dgen-fan-zone-defs.py263 def getGroups(zNum, zCond, edata, events): argument
268 if ("groups" in edata) and (edata["groups"] is not None):
269 for eGroups in edata["groups"]:
452 def getActions(zNum, zCond, edata, actions, events): argument
473 zNum, zCond, edata, eActions, events
/openbmc/linux/arch/alpha/boot/
H A Dbootloader.lds16 PROVIDE (edata = .); symbol
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c3437 edata->lp_advertised = 0; in ixgbe_get_eee_fw()
3443 edata->supported = 0; in ixgbe_get_eee_fw()
3446 edata->supported |= ixgbe_ls_map[i].supported; in ixgbe_get_eee_fw()
3449 edata->advertised = 0; in ixgbe_get_eee_fw()
3455 edata->eee_enabled = !!edata->advertised; in ixgbe_get_eee_fw()
3456 edata->tx_lpi_enabled = edata->eee_enabled; in ixgbe_get_eee_fw()
3457 if (edata->advertised & edata->lp_advertised) in ixgbe_get_eee_fw()
3458 edata->eee_active = true; in ixgbe_get_eee_fw()
3472 return ixgbe_get_eee_fw(adapter, edata); in ixgbe_get_eee()
3505 if (eee_data.advertised != edata->advertised) { in ixgbe_set_eee()
[all …]

123