Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/bhnd/cores/chipc/chipcvar.h
/*- | /*- | ||||
* Copyright (c) 2015 Landon Fuller <landon@landonf.org> | * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> | ||||
* Copyright (c) 2017 The FreeBSD Foundation | |||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Portions of this software were developed by Landon Fuller | |||||
* under sponsorship from the FreeBSD Foundation. | |||||
* | |||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | ||||
* are met: | * are met: | ||||
* 1. Redistributions of source code must retain the above copyright | * 1. Redistributions of source code must retain the above copyright | ||||
* notice, this list of conditions and the following disclaimer, | * notice, this list of conditions and the following disclaimer, | ||||
* without modification. | * without modification. | ||||
* 2. Redistributions in binary form must reproduce at minimum a disclaimer | * 2. Redistributions in binary form must reproduce at minimum a disclaimer | ||||
* similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any | * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any | ||||
▲ Show 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | enum { | ||||
CHIPC_QUIRK_IPX_OTPL_SIZE = (1<<10) | CHIPC_QUIRK_IPX_OTPL_SIZE = (1<<10) | ||||
}; | }; | ||||
/** | /** | ||||
* chipc child device info. | * chipc child device info. | ||||
*/ | */ | ||||
struct chipc_devinfo { | struct chipc_devinfo { | ||||
struct resource_list resources; /**< child resources */ | struct resource_list resources; /**< child resources */ | ||||
rman_res_t irq; /**< child IRQ, if mapped */ | |||||
bool irq_mapped; /**< true if IRQ mapped, false otherwise */ | |||||
}; | }; | ||||
/** | /** | ||||
* chipc driver instance state. | * chipc driver instance state. | ||||
*/ | */ | ||||
struct chipc_softc { | struct chipc_softc { | ||||
device_t dev; | device_t dev; | ||||
Show All 21 Lines |