Searched refs:hwprov_desc (Results 1 – 3 of 3) sorted by relevance
18 struct hwtstamp_provider_desc hwprov_desc; member59 data->hwprov_desc.index = -1; in tsconfig_prepare_data()62 data->hwprov_desc.index = hwprov->desc.index; in tsconfig_prepare_data()63 data->hwprov_desc.qualifier = hwprov->desc.qualifier; in tsconfig_prepare_data()75 data->hwprov_desc.index = ts_info.phc_index; in tsconfig_prepare_data()76 data->hwprov_desc.qualifier = ts_info.phc_qualifier; in tsconfig_prepare_data()122 if (data->hwprov_desc.index >= 0) in tsconfig_reply_size()165 if (data->hwprov_desc.index >= 0) { in tsconfig_fill_reply()173 data->hwprov_desc.index) || in tsconfig_fill_reply()176 data->hwprov_desc.qualifier)) { in tsconfig_fill_reply()[all …]
16 struct hwtstamp_provider_desc hwprov_desc; member42 struct hwtstamp_provider_desc *hwprov_desc, in ts_parse_hwtst_provider() argument62 ethnl_update_u32(&hwprov_desc->index, in ts_parse_hwtst_provider()65 ethnl_update_u32(&hwprov_desc->qualifier, in ts_parse_hwtst_provider()79 req->hwprov_desc.index = -1; in tsinfo_parse_request()85 &req->hwprov_desc, extack, &mod); in tsinfo_parse_request()101 if (req->hwprov_desc.index != -1) { in tsinfo_prepare_data()103 &req->hwprov_desc); in tsinfo_prepare_data()
966 struct hwtstamp_provider_desc *hwprov_desc) in ethtool_net_get_ts_info_by_phc() argument976 info->phc_qualifier = hwprov_desc->qualifier; in ethtool_net_get_ts_info_by_phc()981 if (info->phc_index == hwprov_desc->index && in ethtool_net_get_ts_info_by_phc()982 net_support_hwtstamp_qualifier(dev, hwprov_desc->qualifier)) in ethtool_net_get_ts_info_by_phc()991 struct hwtstamp_provider_desc *hwprov_desc) in ethtool_phy_get_ts_info_by_phc() argument996 if (hwprov_desc->qualifier != HWTSTAMP_PROVIDER_QUALIFIER_PRECISE) in ethtool_phy_get_ts_info_by_phc()1013 if (info->phc_index == hwprov_desc->index) in ethtool_phy_get_ts_info_by_phc()1026 if (info->phc_index == hwprov_desc->index) in ethtool_phy_get_ts_info_by_phc()1035 struct hwtstamp_provider_desc *hwprov_desc) in ethtool_get_ts_info_by_phc() argument1039 err = ethtool_net_get_ts_info_by_phc(dev, info, hwprov_desc); in ethtool_get_ts_info_by_phc()[all …]