Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/dev/bhnd/
Dbhnd_bus_if.m51 struct bhnd_resource;
923 METHOD struct bhnd_resource * alloc_resource { struct
945 struct bhnd_resource *res;
959 struct bhnd_resource *r;
973 struct bhnd_resource *r;
1228 /** An implementation of bus_read_1() compatible with bhnd_resource */
1232 struct bhnd_resource *r;
1236 /** An implementation of bus_read_2() compatible with bhnd_resource */
1240 struct bhnd_resource *r;
1244 /** An implementation of bus_read_4() compatible with bhnd_resource */
[all …]
Dbhnd.h347 struct bhnd_resource { struct
355 #define BHND_DIRECT_RESOURCE(_r) ((struct bhnd_resource) { \
527 struct bhnd_resource **res);
531 struct bhnd_resource **res);
629 struct bhnd_resource *bhnd_bus_generic_alloc_resource (device_t dev,
635 struct bhnd_resource *r);
638 struct bhnd_resource *r);
641 struct bhnd_resource *r);
1305 static inline struct bhnd_resource *
1328 static inline struct bhnd_resource *
[all …]
Dbhnd.c366 struct bhnd_resource *r; in bhnd_generic_alloc_pmu()
460 r = malloc(sizeof(struct bhnd_resource), M_BHND, M_NOWAIT); in bhnd_generic_alloc_pmu()
490 struct bhnd_resource *r; in bhnd_generic_release_pmu()
1037 struct bhnd_resource *r, bus_size_t offset) \
1046 struct bhnd_resource *r, bus_size_t offset, _type value) \
1056 struct bhnd_resource *r, bus_size_t offset, _type datap, \
1098 bhnd_barrier(device_t dev, device_t child, struct bhnd_resource *r, in bhnd_barrier()
Dbhnd_subr.c1018 struct bhnd_resource **res) in bhnd_alloc_resources()
1048 struct bhnd_resource **res) in bhnd_release_resources()
1082 bhnd_alloc_core_clkctl(device_t dev, device_t pmu_dev, struct bhnd_resource *r, in bhnd_alloc_core_clkctl()
2217 struct bhnd_resource *
2222 struct bhnd_resource *br; in bhnd_bus_generic_alloc_resource()
2236 br = malloc(sizeof(struct bhnd_resource), M_BHND, M_NOWAIT); in bhnd_bus_generic_alloc_resource()
2268 int rid, struct bhnd_resource *r) in bhnd_bus_generic_release_resource()
2293 int rid, struct bhnd_resource *r) in bhnd_bus_generic_activate_resource()
2328 int type, int rid, struct bhnd_resource *r) in bhnd_bus_generic_deactivate_resource()
Dbhnd_private.h76 struct bhnd_resource *cc_res; /**< resource mapping core's clkctl register */
Dbhndvar.h57 device_t pmu_dev, struct bhnd_resource *r,
/freebsd-12-stable/sys/dev/bhnd/cores/pmu/
Dbhnd_pmuvar.h49 int bhnd_pmu_attach(device_t dev, struct bhnd_resource *res);
109 struct bhnd_resource *res; /**< pmu register block. */
Dbhnd_pmu_core.c85 struct bhnd_resource *res; in bhnd_pmu_core_attach()
/freebsd-12-stable/sys/dev/bhnd/bcma/
Dbcma.c244 struct bhnd_resource *r; in bcma_write_ioctl()
305 struct bhnd_resource *r; in bcma_reset_hw()
353 struct bhnd_resource *r; in bcma_suspend_hw()
391 struct bhnd_resource *r; in bcma_read_config()
429 struct bhnd_resource *r; in bcma_write_config()
Dbcmavar.h183 struct bhnd_resource *res_agent; /**< Agent (wrapper) resource, or NULL. Not
/freebsd-12-stable/sys/mips/broadcom/
Dbhnd_nexus.c82 struct bhnd_resource *r) in bhnd_nexus_activate_resource()
99 int type, int rid, struct bhnd_resource *r) in bhnd_nexus_deactivate_resource()
/freebsd-12-stable/sys/dev/bhnd/nvram/
Dbhnd_nvram_iores.c52 struct bhnd_resource *res; /**< backing resource (borrowed ref) */
79 bhnd_nvram_iores_new(struct bhnd_resource *r, bus_size_t offset, in bhnd_nvram_iores_new()
Dbhnd_nvram_io.h59 struct bhnd_nvram_io *bhnd_nvram_iores_new(struct bhnd_resource *r,
Dbhnd_sprom.c99 struct bhnd_resource *r; in bhnd_sprom_attach()
/freebsd-12-stable/sys/dev/bhnd/cores/chipc/
Dchipcvar.h157 struct bhnd_resource *core; /**< core registers. */
Dbhnd_pmu_chipc.c105 struct bhnd_resource *r; in bhnd_pmu_chipc_attach()
Dchipc_private.h104 struct bhnd_resource *cr_res; /**< bus resource, or NULL */
Dchipc_gpiovar.h123 struct bhnd_resource *mem_res; /**< chipcommon register block */
/freebsd-12-stable/sys/dev/bhnd/cores/pcie2/
Dbhnd_pcie2_var.h87 struct bhnd_resource *mem_res; /**< device register block. */
/freebsd-12-stable/sys/dev/bhnd/cores/chipc/pwrctl/
Dbhnd_pwrctlvar.h112 struct bhnd_resource *res; /**< core register block. */
/freebsd-12-stable/sys/dev/bhnd/siba/
Dsiba_subr.c677 struct bhnd_resource *r; in siba_write_target_state()
717 struct bhnd_resource *r; in siba_wait_target_state()
Dsiba.c676 struct bhnd_resource *r; in siba_write_ioctl()
732 struct bhnd_resource *r; in siba_reset_hw()
797 struct bhnd_resource *r; in siba_suspend_hw()
957 struct bhnd_resource *r; in siba_write_config()
Dsibavar.h214 struct bhnd_resource *cfg_res[SIBA_MAX_CFG]; /**< bus-mapped config block registers */
/freebsd-12-stable/sys/dev/bhnd/cores/pci/
Dbhnd_pcivar.h102 struct bhnd_resource *mem_res; /**< device register block. */
/freebsd-12-stable/sys/dev/bhnd/bhndb/
Dbhndb.c1529 int type, int rid, struct bhnd_resource *r) in bhndb_activate_bhnd_resource()
1618 int type, int rid, struct bhnd_resource *r) in bhndb_deactivate_bhnd_resource()
1825 struct bhnd_resource *r, bus_size_t offset) \
1839 struct bhnd_resource *r, bus_size_t offset, _type value) \
1850 device_t child, struct bhnd_resource *r, bus_size_t offset, \
1889 bhndb_bus_barrier(device_t dev, device_t child, struct bhnd_resource *r, in bhndb_bus_barrier()

12