Home
last modified time | relevance | path

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

/openbmc/skeleton/op-hostctl/
H A Dcontrol_host_obj.c117 int rc, cfam_fd; in on_boot() local
143 cfam_fd = open(FSI_RAW_PATH, O_RDWR); in on_boot()
144 if (cfam_fd < 0) { in on_boot()
151 rc = fsi_putcfam(cfam_fd, FSI_A_SI1S, 0x20000000); in on_boot()
152 rc |= fsi_putcfam(cfam_fd, TRUE_MASK, 0x40000000); in on_boot()
153 rc |= fsi_putcfam(cfam_fd, INTERRUPT_STATUS_REG, 0xFFFFFFFF); in on_boot()
159 rc |= fsi_putcfam(cfam_fd, SBE_VITAL, PRIMARY_SIDE); in on_boot()
161 rc |= fsi_putcfam(cfam_fd, SBE_VITAL, GOLDEN_SIDE); in on_boot()
169 rc = fsi_putcfam(cfam_fd, SBE_VITAL, START_SBE); in on_boot()
176 close(cfam_fd); in on_boot()