Home
last modified time | relevance | path

Searched refs:scfg (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dsiena_vpd.c45 siena_mc_static_config_hdr_t *scfg; in siena_vpd_get_static() local
63 EFSYS_KMEM_ALLOC(enp->en_esip, size, scfg); in siena_vpd_get_static()
64 if (scfg == NULL) { in siena_vpd_get_static()
70 (caddr_t)scfg, SIENA_NVRAM_CHUNK)) != 0) in siena_vpd_get_static()
74 if (EFX_DWORD_FIELD(scfg->magic, EFX_DWORD_0) != in siena_vpd_get_static()
83 hdr_length = EFX_WORD_FIELD(scfg->length, EFX_WORD_0); in siena_vpd_get_static()
84 vpd_offset = EFX_DWORD_FIELD(scfg->static_vpd_offset, EFX_DWORD_0); in siena_vpd_get_static()
85 vpd_length = EFX_DWORD_FIELD(scfg->static_vpd_length, EFX_DWORD_0); in siena_vpd_get_static()
98 (caddr_t)scfg + SIENA_NVRAM_CHUNK, in siena_vpd_get_static()
106 cksum += ((uint8_t *)scfg)[pos]; in siena_vpd_get_static()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_safte.c48 struct scfg { struct
81 #define SAFTE_PRIVATE sizeof (struct scfg) argument
84 _NOTE(MUTEX_PROTECTS_DATA(scsi_device::sd_mutex, scfg))
85 _NOTE(DATA_READABLE_WITHOUT_LOCK(scfg::Nfans)) in _NOTE()
86 _NOTE(DATA_READABLE_WITHOUT_LOCK(scfg::Npwr)) in _NOTE()
87 _NOTE(DATA_READABLE_WITHOUT_LOCK(scfg::Nslots)) in _NOTE()
88 _NOTE(DATA_READABLE_WITHOUT_LOCK(scfg::DoorLock)) in _NOTE()
89 _NOTE(DATA_READABLE_WITHOUT_LOCK(scfg::Ntherm)) in _NOTE()
90 _NOTE(DATA_READABLE_WITHOUT_LOCK(scfg::Nspkrs)) in _NOTE()
91 _NOTE(DATA_READABLE_WITHOUT_LOCK(scfg::Nalarm)) in _NOTE()
[all …]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_common.c2726 struct i40e_aqc_switch_seid *scfg = in i40e_aq_get_switch_config() local
2735 scfg->seid = CPU_TO_LE16(*start_seid); in i40e_aq_get_switch_config()
2738 *start_seid = LE16_TO_CPU(scfg->seid); in i40e_aq_get_switch_config()
2758 struct i40e_aqc_set_switch_config *scfg = in i40e_aq_set_switch_config() local
2764 scfg->flags = CPU_TO_LE16(flags); in i40e_aq_set_switch_config()
2765 scfg->valid_flags = CPU_TO_LE16(valid_flags); in i40e_aq_set_switch_config()
2766 scfg->mode = mode; in i40e_aq_set_switch_config()
2768 scfg->switch_tag = CPU_TO_LE16(hw->switch_tag); in i40e_aq_set_switch_config()
2769 scfg->first_tag = CPU_TO_LE16(hw->first_tag); in i40e_aq_set_switch_config()
2770 scfg->second_tag = CPU_TO_LE16(hw->second_tag); in i40e_aq_set_switch_config()