FreeBSD/sys/dev/bhnd/siba/siba_bhndb.c
/* Suspend all references to the device's cfg register blocks */
Suspend all references to the device's cfg register blocks
Suspend all references to the device ' s cfg register blocks
static void
siba_bhndb_suspend_cfgblocks(device_t dev, struct siba_devinfo *dinfo) {
	for (u_int i = 0; i < dinfo->core_id.num_cfg_blocks; i++) {
		if (dinfo->cfg[i] == NULL)
			continue;
		BHNDB_SUSPEND_RESOURCE(device_get_parent(dev), dev,
		    SYS_RES_MEMORY, dinfo->cfg[i]->res);
	}
}
static void siba_bhndb_suspend_cfgblocks ( device_t dev , struct siba_devinfo * dinfo ) { for ( u_int i = 0 ; i < dinfo -> core_id . num_cfg_blocks ; i ++ ) { if ( dinfo -> cfg [ i ] == NULL ) continue ; BHNDB_SUSPEND_RESOURCE ( device_get_parent ( dev ) , dev , SYS_RES_MEMORY , dinfo -> cfg [ i ] -> res ) ; } }
Suspend all references to the device's cfg register blocks
Suspend all references to the device ' s cfg register blocks