Home
last modified time | relevance | path

Searched refs:dev_p (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_device_tbl.c244 device_entry_create_devinfo(const struct devinfo_dev *dev_p) in device_entry_create_devinfo() argument
247 assert(dev_p->dd_name != NULL); in device_entry_create_devinfo()
248 assert(dev_p->dd_location != NULL); in device_entry_create_devinfo()
250 return (device_entry_create(dev_p->dd_name, dev_p->dd_location, in device_entry_create_devinfo()
251 dev_p->dd_desc)); in device_entry_create_devinfo()
279 device_find_by_dev(const struct devinfo_dev *dev_p) in device_find_by_dev() argument
283 assert(dev_p != NULL); in device_find_by_dev()
286 if (strcmp(map->name_key, dev_p->dd_name) == 0 && in device_find_by_dev()
287 strcmp(map->location_key, dev_p->dd_location) == 0) in device_find_by_dev()
327 device_get_type(struct devinfo_dev *dev_p, const struct asn_oid **out_type_p) in device_get_type() argument
[all …]
/freebsd/contrib/libfido2/src/
H A Ddev.c465 fido_dev_free(fido_dev_t **dev_p) in fido_dev_free() argument
469 if (dev_p == NULL || (dev = *dev_p) == NULL) in fido_dev_free()
475 *dev_p = NULL; in fido_dev_free()
/freebsd/sys/dev/ice/
H A Dice_common.c2867 * @dev_p: pointer to device capabilities structure
2873 ice_parse_valid_functions_cap(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_discover_dev_caps()
2878 dev_p->num_funcs = ice_hweight32(number); in ice_discover_dev_caps()
2880 dev_p->num_funcs); in ice_discover_dev_caps()
2887 * @dev_p: pointer to device capabilities structure in ice_discover_dev_caps()
2893 ice_parse_vf_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_discover_dev_caps()
2898 dev_p->num_vfs_exposed = number;
2900 dev_p->num_vfs_exposed);
2906 * @dev_p: pointer to device capabilities structure in ice_discover_func_caps()
2912 ice_parse_vsi_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_discover_func_caps()
2665 ice_parse_valid_functions_cap(struct ice_hw * hw,struct ice_hw_dev_caps * dev_p,struct ice_aqc_list_caps_elem * cap) ice_parse_valid_functions_cap() argument
2685 ice_parse_vf_dev_caps(struct ice_hw * hw,struct ice_hw_dev_caps * dev_p,struct ice_aqc_list_caps_elem * cap) ice_parse_vf_dev_caps() argument
2704 ice_parse_vsi_dev_caps(struct ice_hw * hw,struct ice_hw_dev_caps * dev_p,struct ice_aqc_list_caps_elem * cap) ice_parse_vsi_dev_caps() argument
2723 ice_parse_nac_topo_dev_caps(struct ice_hw * hw,struct ice_hw_dev_caps * dev_p,struct ice_aqc_list_caps_elem * cap) ice_parse_nac_topo_dev_caps() argument
2747 ice_parse_sensor_reading_cap(struct ice_hw * hw,struct ice_hw_dev_caps * dev_p,struct ice_aqc_list_caps_elem * cap) ice_parse_sensor_reading_cap() argument
2772 ice_parse_dev_caps(struct ice_hw * hw,struct ice_hw_dev_caps * dev_p,void * buf,u32 cap_count) ice_parse_dev_caps() argument
[all...]
/freebsd/sys/dev/bxe/
H A Dbxe.c19198 bxe_get_settings(struct bxe_softc *sc, bxe_dev_setting_t *dev_p) in bxe_get_settings() argument
19204 dev_p->supported = sc->port.supported[cfg_idx] | in bxe_get_settings()
19207 dev_p->advertising = sc->port.advertising[cfg_idx]; in bxe_get_settings()
19210 dev_p->supported = ~(ELINK_SUPPORTED_10000baseT_Full); in bxe_get_settings()
19211 dev_p->advertising &= ~(ADVERTISED_10000baseT_Full); in bxe_get_settings()
19215 dev_p->duplex = sc->link_vars.duplex; in bxe_get_settings()
19217 dev_p->speed = bxe_get_mf_speed(sc); in bxe_get_settings()
19219 dev_p->speed = sc->link_vars.line_speed; in bxe_get_settings()
19221 dev_p->duplex = DUPLEX_UNKNOWN; in bxe_get_settings()
19222 dev_p->speed = SPEED_UNKNOWN; in bxe_get_settings()
[all …]