/linux/drivers/pci/controller/ |
A D | pcie-hisi-error.c | 195 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 …]
|
/linux/kernel/trace/ |
A D | trace_eprobe.c | 507 if (edata->ep->event) in __eprobe_trace_func() 601 struct eprobe_data *edata; in new_eprobe_trigger() local 603 edata = kzalloc(sizeof(*edata), GFP_KERNEL); in new_eprobe_trigger() 605 if (!trigger || !edata) { in new_eprobe_trigger() 606 kfree(edata); in new_eprobe_trigger() 625 edata->file = file; in new_eprobe_trigger() 626 edata->ep = ep; in new_eprobe_trigger() 627 trigger->private_data = edata; in new_eprobe_trigger() 663 struct eprobe_data *edata; in disable_eprobe() local 673 if (edata->ep == ep) in disable_eprobe() [all …]
|
A D | trace_events.c | 3075 edata = *pdata; in event_enable_probe() 3092 edata = *pdata; in event_enable_count_probe() 3094 if (!edata->count) in event_enable_count_probe() 3098 if (edata->enable == !(edata->file->flags & EVENT_FILE_FL_SOFT_DISABLED)) in event_enable_count_probe() 3101 if (edata->count != -1) in event_enable_count_probe() 3102 (edata->count)--; in event_enable_count_probe() 3120 edata = *pdata; in event_enable_print() 3156 edata->ref++; in event_enable_init() 3165 edata->ref--; in free_probe_data() 3166 if (!edata->ref) { in free_probe_data() [all …]
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_ethtool.c | 136 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()
|
/linux/drivers/devfreq/event/ |
A D | exynos-ppmu.c | 202 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()
|
A D | exynos-nocp.c | 144 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()
|
A D | rockchip-dfi.c | 150 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()
|
/linux/net/sched/ |
A D | act_ife.c | 46 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 …]
|
/linux/drivers/devfreq/ |
A D | exynos-bus.c | 64 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()
|
A D | devfreq-event.c | 161 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()
|
A D | rk3399_dmc.c | 169 struct devfreq_event_data edata; in rk3399_dmcfreq_get_dev_status() local 172 ret = devfreq_event_get_event(dmcfreq->edev, &edata); in rk3399_dmcfreq_get_dev_status() 177 stat->busy_time = edata.load_count; in rk3399_dmcfreq_get_dev_status() 178 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
|
/linux/include/linux/ |
A D | devfreq-event.h | 74 struct devfreq_event_data *edata); 106 struct devfreq_event_data *edata); 147 struct devfreq_event_data *edata) in devfreq_event_get_event() argument
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_ethtool.c | 760 struct ethtool_eee *edata) in stmmac_ethtool_op_get_eee() argument 767 edata->eee_enabled = priv->eee_enabled; in stmmac_ethtool_op_get_eee() 768 edata->eee_active = priv->eee_active; in stmmac_ethtool_op_get_eee() 769 edata->tx_lpi_timer = priv->tx_lpi_timer; in stmmac_ethtool_op_get_eee() 770 edata->tx_lpi_enabled = priv->tx_lpi_enabled; in stmmac_ethtool_op_get_eee() 776 struct ethtool_eee *edata) in stmmac_ethtool_op_set_eee() argument 791 edata->eee_enabled); in stmmac_ethtool_op_set_eee() 796 if (!edata->eee_enabled) in stmmac_ethtool_op_set_eee() 803 if (edata->eee_enabled && in stmmac_ethtool_op_set_eee() 804 priv->tx_lpi_timer != edata->tx_lpi_timer) { in stmmac_ethtool_op_set_eee() [all …]
|
/linux/net/ethtool/ |
A D | ioctl.c | 259 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_one_feature() 270 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_one_feature() 278 if (edata.data) in ethtool_set_one_feature() 1480 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_eee() 1494 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_eee() 1519 edata.data = link; in ethtool_get_link() 1520 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_link() 2165 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_value() 2178 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_value_void() 2181 actor(dev, edata.data); in ethtool_set_value_void() [all …]
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_ethtool.c | 1576 struct ethtool_eee *edata) in igc_ethtool_get_eee() argument 1583 edata->advertised = in igc_ethtool_get_eee() 1586 *edata = adapter->eee; in igc_ethtool_get_eee() 1593 edata->eee_active = true; in igc_ethtool_get_eee() 1596 edata->tx_lpi_enabled = true; in igc_ethtool_get_eee() 1607 edata->eee_enabled = false; in igc_ethtool_get_eee() 1608 edata->eee_active = false; in igc_ethtool_get_eee() 1609 edata->tx_lpi_enabled = false; in igc_ethtool_get_eee() 1610 edata->advertised &= ~edata->advertised; in igc_ethtool_get_eee() 1641 if (edata->tx_lpi_timer) { in igc_ethtool_set_eee() [all …]
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ethtool.c | 1779 edata->advertised = ADVERTISED_1000baseT_Full; in qede_get_eee() 1781 edata->advertised |= ADVERTISED_10000baseT_Full; in qede_get_eee() 1783 edata->supported = ADVERTISED_1000baseT_Full; in qede_get_eee() 1785 edata->supported |= ADVERTISED_10000baseT_Full; in qede_get_eee() 1792 edata->eee_enabled = current_link.eee.enable; in qede_get_eee() 1794 edata->eee_active = current_link.eee_active; in qede_get_eee() 1825 edata->advertised)) { in qede_set_eee() 1828 edata->advertised); in qede_set_eee() 1836 params.eee.enable = edata->eee_enabled; in qede_set_eee() 1837 params.eee.tx_lpi_enable = edata->tx_lpi_enabled; in qede_set_eee() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ethtool.c | 3038 edata->advertised = in igb_get_eee() 3051 edata->eee_active = true; in igb_get_eee() 3054 edata->tx_lpi_enabled = true; in igb_get_eee() 3086 (edata->eee_enabled)) in igb_get_eee() 3087 edata->tx_lpi_enabled = true; in igb_get_eee() 3093 edata->eee_enabled = false; in igb_get_eee() 3094 edata->eee_active = false; in igb_get_eee() 3095 edata->tx_lpi_enabled = false; in igb_get_eee() 3096 edata->advertised &= ~edata->advertised; in igb_get_eee() 3129 if (edata->tx_lpi_timer) { in igb_set_eee() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 3403 edata->lp_advertised = 0; in ixgbe_get_eee_fw() 3409 edata->supported = 0; in ixgbe_get_eee_fw() 3412 edata->supported |= ixgbe_ls_map[i].supported; in ixgbe_get_eee_fw() 3415 edata->advertised = 0; in ixgbe_get_eee_fw() 3421 edata->eee_enabled = !!edata->advertised; in ixgbe_get_eee_fw() 3422 edata->tx_lpi_enabled = edata->eee_enabled; in ixgbe_get_eee_fw() 3423 if (edata->advertised & edata->lp_advertised) in ixgbe_get_eee_fw() 3424 edata->eee_active = true; in ixgbe_get_eee_fw() 3438 return ixgbe_get_eee_fw(adapter, edata); in ixgbe_get_eee() 3471 if (eee_data.advertised != edata->advertised) { in ixgbe_set_eee() [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | ethtool.c | 2211 edata->supported = mmd_eee_cap_to_ethtool_sup_t(phy_data); in e1000e_get_eee() 2214 edata->advertised = mmd_eee_adv_to_ethtool_adv_t(adapter->eee_advert); in e1000e_get_eee() 2220 edata->lp_advertised = mmd_eee_adv_to_ethtool_adv_t(phy_data); in e1000e_get_eee() 2234 edata->eee_active = true; in e1000e_get_eee() 2236 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee() 2237 edata->tx_lpi_enabled = true; in e1000e_get_eee() 2238 edata->tx_lpi_timer = er32(LPIC) >> E1000_LPIC_LPIET_SHIFT; in e1000e_get_eee() 2261 if (eee_curr.tx_lpi_enabled != edata->tx_lpi_enabled) { in e1000e_set_eee() 2266 if (eee_curr.tx_lpi_timer != edata->tx_lpi_timer) { in e1000e_set_eee() 2271 if (edata->advertised & ~(ADVERTISE_100_FULL | ADVERTISE_1000_FULL)) { in e1000e_set_eee() [all …]
|
/linux/arch/alpha/boot/ |
A D | bootloader.lds | 16 PROVIDE (edata = .); symbol
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 2119 edata->supported = in bnx2x_get_eee() 2123 edata->advertised = in bnx2x_get_eee() 2126 edata->lp_advertised = in bnx2x_get_eee() 2131 edata->tx_lpi_timer = (eee_cfg & SHMEM_EEE_TIMER_MASK) << 4; in bnx2x_get_eee() 2161 advertised = bnx2x_adv_to_eee(edata->advertised, in bnx2x_set_eee() 2169 if (edata->tx_lpi_timer > EEE_MODE_TIMER_MASK) { in bnx2x_set_eee() 2175 if (edata->tx_lpi_enabled && in bnx2x_set_eee() 2176 (edata->tx_lpi_timer < EEE_MODE_NVRAM_AGGRESSIVE_TIME)) { in bnx2x_set_eee() 2184 if (edata->eee_enabled) in bnx2x_set_eee() 2189 if (edata->tx_lpi_enabled) in bnx2x_set_eee() [all …]
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 2979 if (!edata->eee_enabled) in bnxt_set_eee() 2987 if (edata->tx_lpi_enabled) { in bnxt_set_eee() 2998 if (!edata->advertised) { in bnxt_set_eee() 3002 edata->advertised, advertising); in bnxt_set_eee() 3007 eee->advertised = edata->advertised; in bnxt_set_eee() 3009 eee->tx_lpi_timer = edata->tx_lpi_timer; in bnxt_set_eee() 3011 eee->eee_enabled = edata->eee_enabled; in bnxt_set_eee() 3028 *edata = bp->eee; in bnxt_get_eee() 3033 edata->advertised = 0; in bnxt_get_eee() 3034 edata->tx_lpi_enabled = 0; in bnxt_get_eee() [all …]
|
/linux/drivers/net/ethernet/ti/ |
A D | cpsw_ethtool.c | 427 int cpsw_get_eee(struct net_device *ndev, struct ethtool_eee *edata) in cpsw_get_eee() argument 434 return phy_ethtool_get_eee(cpsw->slaves[slave_no].phy, edata); in cpsw_get_eee() 439 int cpsw_set_eee(struct net_device *ndev, struct ethtool_eee *edata) in cpsw_set_eee() argument 446 return phy_ethtool_set_eee(cpsw->slaves[slave_no].phy, edata); in cpsw_set_eee()
|
A D | am65-cpsw-ethtool.c | 542 static int am65_cpsw_get_eee(struct net_device *ndev, struct ethtool_eee *edata) in am65_cpsw_get_eee() argument 549 return phy_ethtool_get_eee(salve->phy, edata); in am65_cpsw_get_eee() 552 static int am65_cpsw_set_eee(struct net_device *ndev, struct ethtool_eee *edata) in am65_cpsw_set_eee() argument 559 return phy_ethtool_set_eee(salve->phy, edata); in am65_cpsw_set_eee()
|
/linux/arch/um/kernel/ |
A D | uml.lds.S | 106 PROVIDE (edata = .);
|