Lines Matching refs:dev_p
2867 * @dev_p: pointer to device capabilities structure
2873 ice_parse_valid_functions_cap(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p,
2878 dev_p->num_funcs = ice_hweight32(number);
2880 dev_p->num_funcs);
2887 * @dev_p: pointer to device capabilities structure
2893 ice_parse_vf_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p,
2898 dev_p->num_vfs_exposed = number;
2900 dev_p->num_vfs_exposed);
2906 * @dev_p: pointer to device capabilities structure
2912 ice_parse_vsi_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p,
2917 dev_p->num_vsi_allocd_to_host = number;
2919 dev_p->num_vsi_allocd_to_host);
2925 * @dev_p: pointer to device capabilities structure
2931 ice_parse_nac_topo_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p,
2934 dev_p->nac_topo.mode = LE32_TO_CPU(cap->number);
2935 dev_p->nac_topo.id = LE32_TO_CPU(cap->phys_id) & ICE_NAC_TOPO_ID_M;
2938 (dev_p->nac_topo.mode & ICE_NAC_TOPO_PRIMARY_M) ?
2939 "primary" : "secondary", dev_p->nac_topo.id);
2942 !!(dev_p->nac_topo.mode & ICE_NAC_TOPO_PRIMARY_M));
2944 !!(dev_p->nac_topo.mode & ICE_NAC_TOPO_DUAL_M));
2946 dev_p->nac_topo.id);
2952 * @dev_p: pointer to device capabilities structure
2959 ice_parse_sensor_reading_cap(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p,
2962 dev_p->supported_sensors = LE32_TO_CPU(cap->number);
2966 dev_p->supported_sensors);
2972 * @dev_p: pointer to device capabilities structure
2984 ice_parse_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p,
2992 ice_memset(dev_p, 0, sizeof(*dev_p), ICE_NONDMA_MEM);
2998 found = ice_parse_common_caps(hw, &dev_p->common_cap,
3003 ice_parse_valid_functions_cap(hw, dev_p, &cap_resp[i]);
3006 ice_parse_vf_dev_caps(hw, dev_p, &cap_resp[i]);
3009 ice_parse_vsi_dev_caps(hw, dev_p, &cap_resp[i]);
3012 ice_parse_nac_topo_dev_caps(hw, dev_p, &cap_resp[i]);
3015 ice_parse_sensor_reading_cap(hw, dev_p, &cap_resp[i]);
3026 ice_print_led_caps(hw, &dev_p->common_cap, "dev caps", true);
3027 ice_print_sdp_caps(hw, &dev_p->common_cap, "dev caps", true);
3029 ice_recalc_port_limited_caps(hw, &dev_p->common_cap);