Home
last modified time | relevance | path

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

/freebsd/sys/dev/bhnd/
H A Dbhnd_bus_if.m50 struct bhnd_resource;
922 METHOD struct bhnd_resource * alloc_resource { struct
944 struct bhnd_resource *res;
958 struct bhnd_resource *r;
972 struct bhnd_resource *r;
1227 /** An implementation of bus_read_1() compatible with bhnd_resource */
1231 struct bhnd_resource *r;
1235 /** An implementation of bus_read_2() compatible with bhnd_resource */
1239 struct bhnd_resource *r;
1243 /** An implementation of bus_read_4() compatible with bhnd_resource */
[all …]
H A Dbhnd.h339 struct bhnd_resource { struct
347 #define BHND_DIRECT_RESOURCE(_r) ((struct bhnd_resource) { \
517 struct bhnd_resource **res);
521 struct bhnd_resource **res);
619 struct bhnd_resource *bhnd_bus_generic_alloc_resource (device_t dev,
625 struct bhnd_resource *r);
628 struct bhnd_resource *r);
631 struct bhnd_resource *r);
1294 static inline struct bhnd_resource *
1316 static inline struct bhnd_resource *
[all …]
H A Dbhnd.c364 struct bhnd_resource *r; in bhnd_generic_alloc_pmu()
458 r = malloc(sizeof(struct bhnd_resource), M_BHND, M_NOWAIT); in bhnd_generic_alloc_pmu()
487 struct bhnd_resource *r; in bhnd_generic_release_pmu()
988 struct bhnd_resource *r, bus_size_t offset) \
997 struct bhnd_resource *r, bus_size_t offset, _type value) \
1007 struct bhnd_resource *r, bus_size_t offset, _type datap, \
1049 bhnd_barrier(device_t dev, device_t child, struct bhnd_resource *r, in bhnd_barrier()
H A Dbhnd_private.h73 struct bhnd_resource *cc_res; /**< resource mapping core's clkctl register */
H A Dbhndvar.h56 device_t pmu_dev, struct bhnd_resource *r,
H A Dbhnd_erom.c75 struct bhnd_resource *mapped; /**< current mapping, or NULL */
/freebsd/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmuvar.h47 int bhnd_pmu_attach(device_t dev, struct bhnd_resource *res);
107 struct bhnd_resource *res; /**< pmu register block. */
H A Dbhnd_pmu_core.c82 struct bhnd_resource *res; in bhnd_pmu_core_attach()
H A Dbhnd_pmu.c102 bhnd_pmu_attach(device_t dev, struct bhnd_resource *res) in bhnd_pmu_attach()
/freebsd/sys/dev/bhnd/bcma/
H A Dbcma.c237 struct bhnd_resource *r; in bcma_write_ioctl()
298 struct bhnd_resource *r; in bcma_reset_hw()
346 struct bhnd_resource *r; in bcma_suspend_hw()
384 struct bhnd_resource *r; in bcma_read_config()
422 struct bhnd_resource *r; in bcma_write_config()
H A Dbcmavar.h181 struct bhnd_resource *res_agent; /**< Agent (wrapper) resource, or NULL. Not
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_iores.c49 struct bhnd_resource *res; /**< backing resource (borrowed ref) */
76 bhnd_nvram_iores_new(struct bhnd_resource *r, bus_size_t offset, in bhnd_nvram_iores_new()
H A Dbhnd_nvram_io.h58 struct bhnd_nvram_io *bhnd_nvram_iores_new(struct bhnd_resource *r,
H A Dbhnd_sprom.c97 struct bhnd_resource *r; in bhnd_sprom_attach()
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipcvar.h154 struct bhnd_resource *core; /**< core registers. */
H A Dchipc_private.h103 struct bhnd_resource *cr_res; /**< bus resource, or NULL */
H A Dchipc_gpiovar.h121 struct bhnd_resource *mem_res; /**< chipcommon register block */
H A Dchipc.c1009 int rid, struct bhnd_resource *r) in chipc_activate_bhnd_resource()
/freebsd/sys/dev/bhnd/cores/pcie2/
H A Dbhnd_pcie2_var.h85 struct bhnd_resource *mem_res; /**< device register block. */
/freebsd/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctlvar.h109 struct bhnd_resource *res; /**< core register block. */
/freebsd/sys/dev/bhnd/cores/pci/
H A Dbhnd_pcivar.h101 struct bhnd_resource *mem_res; /**< device register block. */
/freebsd/sys/dev/bhnd/siba/
H A Dsiba_subr.c673 struct bhnd_resource *r; in siba_write_target_state()
713 struct bhnd_resource *r; in siba_wait_target_state()
H A Dsiba.c672 struct bhnd_resource *r; in siba_write_ioctl()
728 struct bhnd_resource *r; in siba_reset_hw()
793 struct bhnd_resource *r; in siba_suspend_hw()
953 struct bhnd_resource *r; in siba_write_config()
H A Dsibavar.h213 struct bhnd_resource *cfg_res[SIBA_MAX_CFG]; /**< bus-mapped config block registers */
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb.c1506 int type, int rid, struct bhnd_resource *r) in bhndb_activate_bhnd_resource()
1594 int type, int rid, struct bhnd_resource *r) in bhndb_deactivate_bhnd_resource()
1801 struct bhnd_resource *r, bus_size_t offset) \
1815 struct bhnd_resource *r, bus_size_t offset, _type value) \
1826 device_t child, struct bhnd_resource *r, bus_size_t offset, \
1865 bhndb_bus_barrier(device_t dev, device_t child, struct bhnd_resource *r, in bhndb_bus_barrier()