Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chipset/
H A Dchipset.c81 nvlist_t *fmri = NULL, *auth = NULL, *presource = NULL; in topo_chipset_enum() local
123 if (topo_node_resource(pnode, &presource, &ret) != 0) { in topo_chipset_enum()
130 if (topo_node_fru_set(tn, presource, 0, &ret) != 0) { in topo_chipset_enum()
149 nvlist_free(presource); in topo_chipset_enum()
154 nvlist_free(presource); in topo_chipset_enum()
/illumos-gate/usr/src/lib/fm/topo/modules/common/shared/
H A Dtopo_port.c59 nvlist_t *fmri = NULL, *auth = NULL, *presource = NULL; in port_create_common() local
89 if (topo_node_resource(pnode, &presource, &err) != 0) { in port_create_common()
95 if (topo_node_fru_set(tn, presource, 0, &err) != 0) { in port_create_common()
123 nvlist_free(presource); in port_create_common()
129 nvlist_free(presource); in port_create_common()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/
H A Dlm_vf_common.h341 void lm_vf_acquire_resource(u32_t * presource, u8_t base_value, u8_t num);
342 u8_t lm_vf_get_resource_value(u32_t * presource, u8_t base_value);
343 void lm_vf_release_resource(u32_t * presource, u8_t base_value, u8_t num);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_pf.c522 void lm_vf_acquire_resource(u32_t * presource, u8_t base_value, u8_t num) in lm_vf_acquire_resource() argument
528 presource[ind] |= (1 << offset); in lm_vf_acquire_resource()
534 u8_t lm_vf_get_resource_value(u32_t * presource, u8_t base_value) in lm_vf_get_resource_value() argument
541 value = presource[ind] & (1 << offset); in lm_vf_get_resource_value()
546 void lm_vf_release_resource(u32_t * presource, u8_t base_value, u8_t num) in lm_vf_release_resource() argument
552 presource[ind] &= ~(1 << offset); in lm_vf_release_resource()