/linux/drivers/gpu/drm/i915/ |
H A D | i915_ttm_buddy_manager.c | 39 struct i915_ttm_buddy_manager *bman = to_buddy_manager(man); in i915_ttm_buddy_man_alloc() local 41 struct drm_buddy *mm = &bman->mm; in i915_ttm_buddy_man_alloc() 71 min_page_size = bman->default_page_size; in i915_ttm_buddy_man_alloc() 85 mutex_lock(&bman->lock); in i915_ttm_buddy_man_alloc() 86 if (lpfn <= bman->visible_size && n_pages > bman->visible_avail) { in i915_ttm_buddy_man_alloc() 87 mutex_unlock(&bman->lock); in i915_ttm_buddy_man_alloc() 101 if (lpfn <= bman->visible_size) { in i915_ttm_buddy_man_alloc() 110 if (start < bman->visible_size) { in i915_ttm_buddy_man_alloc() 115 min(end, bman->visible_size) - start; in i915_ttm_buddy_man_alloc() 121 bman->visible_avail -= bman_res->used_visible_size; in i915_ttm_buddy_man_alloc() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | qoriq-bman-portals.dtsi | 3 * QorIQ BMan Portals device tree 14 bman-portal@0 { 17 * "fsl,bman-portal-<hardware revision>" compatible 19 compatible = "fsl,bman-portal"; 24 bman-portal@10000 { 25 compatible = "fsl,bman-portal"; 30 bman-portal@20000 { 31 compatible = "fsl,bman-portal"; 36 bman-portal@30000 { 37 compatible = "fsl,bman-portal"; [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | qoriq-bman1-portals.dtsi | 2 * QorIQ BMan Portal device tree stub for 10 portals 40 bman-portal@0 { 41 compatible = "fsl,bman-portal"; 45 bman-portal@4000 { 46 compatible = "fsl,bman-portal"; 50 bman-portal@8000 { 51 compatible = "fsl,bman-portal"; 55 bman-portal@c000 { 56 compatible = "fsl,bman-portal"; 60 bman-portal@10000 { [all …]
|
H A D | t4240si-post.dtsi | 36 compatible = "fsl,bman-fbpr"; 317 bman-portal@0 { 318 compatible = "fsl,bman-portal"; 322 bman-portal@4000 { 323 compatible = "fsl,bman-portal"; 327 bman-portal@8000 { 328 compatible = "fsl,bman-portal"; 332 bman-portal@c000 { 333 compatible = "fsl,bman-portal"; 337 bman-portal@10000 { [all …]
|
H A D | b4860si-post.dtsi | 111 bman-portal@38000 { 112 compatible = "fsl,bman-portal"; 116 bman-portal@3c000 { 117 compatible = "fsl,bman-portal"; 121 bman-portal@40000 { 122 compatible = "fsl,bman-portal"; 126 bman-portal@44000 { 127 compatible = "fsl,bman-portal"; 131 bman-portal@48000 { 132 compatible = "fsl,bman-portal"; [all …]
|
H A D | b4si-post.dtsi | 36 compatible = "fsl,bman-fbpr"; 151 bman-portal@0 { 152 compatible = "fsl,bman-portal"; 156 bman-portal@4000 { 157 compatible = "fsl,bman-portal"; 161 bman-portal@8000 { 162 compatible = "fsl,bman-portal"; 166 bman-portal@c000 { 167 compatible = "fsl,bman-portal"; 171 bman-portal@10000 { [all …]
|
H A D | t2081si-post.dtsi | 36 compatible = "fsl,bman-fbpr"; 247 bman-portal@0 { 248 compatible = "fsl,bman-portal"; 252 bman-portal@4000 { 253 compatible = "fsl,bman-portal"; 257 bman-portal@8000 { 258 compatible = "fsl,bman-portal"; 262 bman-portal@c000 { 263 compatible = "fsl,bman-portal"; 267 bman-portal@10000 { [all …]
|
H A D | p1023si-post.dtsi | 36 compatible = "fsl,bman-fbpr"; 145 bman-portal@0 { 146 compatible = "fsl,bman-portal"; 150 bman-portal@4000 { 151 compatible = "fsl,bman-portal"; 155 bman-portal@8000 { 156 compatible = "fsl,bman-portal"; 294 bman: bman@8a000 { label 295 compatible = "fsl,bman"; 298 fsl,bman-portals = <&bportals>;
|
H A D | qoriq-bman1.dtsi | 2 * QorIQ BMan device tree stub [ controller @ offset 0x31a000 ] 35 bman: bman@31a000 { label 36 compatible = "fsl,bman"; 39 fsl,bman-portals = <&bportals>;
|
H A D | t1040si-post.dtsi | 38 compatible = "fsl,bman-fbpr"; 243 bman-portal@0 { 244 compatible = "fsl,bman-portal"; 248 bman-portal@4000 { 249 compatible = "fsl,bman-portal"; 253 bman-portal@8000 { 254 compatible = "fsl,bman-portal"; 258 bman-portal@c000 { 259 compatible = "fsl,bman-portal"; 263 bman-portal@10000 { [all …]
|
H A D | t1023si-post.dtsi | 38 compatible = "fsl,bman-fbpr"; 203 bman-portal@0 { 205 compatible = "fsl,bman-portal"; 209 bman-portal@4000 { 211 compatible = "fsl,bman-portal"; 215 bman-portal@8000 { 217 compatible = "fsl,bman-portal"; 221 bman-portal@c000 { 223 compatible = "fsl,bman-portal"; 227 bman-portal@10000 { [all …]
|
H A D | oca4080.dts | 57 bman_fbpr: bman-fbpr { 75 bportals: bman-portals@ff4000000 {
|
H A D | cyrus_p5020.dts | 29 bman_fbpr: bman-fbpr { 47 bportals: bman-portals@ff4000000 {
|
H A D | kmcoge4.dts | 29 bman_fbpr: bman-fbpr { 47 bportals: bman-portals@ff4000000 {
|
/linux/Documentation/devicetree/bindings/soc/fsl/ |
H A D | fsl,bman.yaml | 4 $id: http://devicetree.org/schemas/soc/fsl/fsl,bman.yaml# 14 BMan supports hardware allocation and deallocation of buffers belonging to 21 - const: fsl,bman 24 - fsl,ls1043a-bman 25 - fsl,ls1046a-bman 26 - const: fsl,bman 33 The BMan revision information is located in the BMAN_IP_REV_1/2 44 List of phandles referencing the BMan private memory 45 nodes (described below). The bman-fqd node must be 46 first followed by bman-pfdr node. Only used on ARM [all …]
|
H A D | fsl,bman-portal.yaml | 4 $id: http://devicetree.org/schemas/soc/fsl/fsl,bman-portal.yaml# 15 Portals are memory mapped interfaces to BMan that allow low-latency, lock-less 17 interfaces with the BMan 22 - const: fsl,bman-portal 25 - fsl,bman-portal-1.0.0 28 - const: fsl,bman-portal 48 bman-portal@0 { 49 compatible = "fsl,bman-portal-1.0.0", "fsl,bman-portal";
|
H A D | fsl,qman-fqd.yaml | 17 BMan requires a contiguous range of physical memory used for the backing store 18 for BMan Free Buffer Proxy Records (FBPR). This memory is reserved/allocated as 23 The BMan FBPR memory node must be named "bman-fbpr" 41 pattern: '^(qman-fqd|qman-pfdr|bman-fbpr)+$' 47 - fsl,bman-fbpr
|
/linux/drivers/soc/fsl/qbman/ |
H A D | bman_ccsr.c | 77 /* Pointer to the start of the BMan's CCSR space */ 115 /* Check to see if BMan has already been initialized */ in bm_set_memory() 121 pr_err("Attempted to reinitialize BMan with different BAR, got 0x%llx read BARE=0x%x BAR=0x%x\n", in bm_set_memory() 125 pr_info("BMan BAR already configured\n"); in bm_set_memory() 137 * Location and size of BMan private memory 229 dev_err(dev, "Unknown Bman version:%04x,%02x,%02x\n", in fsl_bman_probe() 234 ret = qbman_init_private_mem(dev, 0, "fsl,bman-fbpr", &fbpr_a, &fbpr_sz); in fsl_bman_probe() 250 ret = devm_request_irq(dev, err_irq, bman_isr, IRQF_SHARED, "bman-err", in fsl_bman_probe() 267 bm_bpalloc = devm_gen_pool_create(dev, 0, -1, "bman-bpalloc"); in fsl_bman_probe() 270 dev_err(dev, "bman-bpalloc pool init failed (%d)\n", ret); in fsl_bman_probe() [all …]
|
H A D | Kconfig | 11 The major h/w blocks composing DPAA are BMan and QMan. 13 The Buffer Manager (BMan) is a hardware buffer pool management block 30 tristate "BMan self-tests" 32 Compile the BMan self-test code. These tests will 33 exercise the BMan APIs to confirm functionality
|
H A D | Makefile | 4 bman.o qman.o dpaa_sys.o 6 obj-$(CONFIG_FSL_BMAN_TEST) += bman-test.o 7 bman-test-y = bman_test.o 8 bman-test-$(CONFIG_FSL_BMAN_TEST_API) += bman_test_api.o
|
H A D | bman_portal.c | 36 /* protect bman global registers and global data shared among portals */ 109 dev_err(&pdev->dev, "failing probe due to bman probe error\n"); in bman_portal_probe() 182 * BMan wasn't reset prior to boot (Kexec for example) in bman_portal_probe() 210 .compatible = "fsl,bman-portal", 236 pr_err("bman: failed to register hotplug callbacks.\n"); in bman_portal_driver_register()
|
H A D | bman_test_api.c | 56 * On SoCs with BMan revison 2.0, BMan only respects the 40 in bufs_cmp() 61 * upper 8-bits when releasing to BMan (otherwise we'll be in bufs_cmp() 62 * disappointed when the buffers we acquire back from BMan in bufs_cmp()
|
H A D | bman.c | 33 #define IRQNAME "BMan portal %d" 34 #define MAX_IRQNAME 16 /* big enough for "BMan portal %d" */ 242 * more than one such object per BMan buffer pool, eg. if different users of the 652 pr_crit("BMan Acquire Command timedout\n"); in bm_shutdown_pool() 801 pr_crit("BMan Acquire Timeout\n"); in bman_acquire()
|
/linux/include/soc/fsl/ |
H A D | bman.h | 46 * Restore the 48 bit address previously stored in BMan 130 * bman_is_probed - Check if bman is probed 132 * Returns 1 if the bman driver successfully probed, -1 if the bman driver 133 * failed to probe or 0 if the bman driver did not probed yet. 137 * bman_portals_probed - Check if all cpu bound bman portals are probed 139 * Returns 1 if all the required cpu bound bman portals successfully probed, 140 * -1 if probe errors appeared or 0 if the bman portals did not yet finished
|
/linux/Documentation/networking/device_drivers/ethernet/freescale/ |
H A D | dpaa.rst | 36 - Queue Manager (QMan), Buffer Manager (BMan) 55 The dpaa_eth relation to the QMan, BMan and FMan:: 61 QMan driver / \ / \ / \ \ / | BMan | 68 | FMan HW FMan BMI | BMan HW | 77 BMan DPAA Buffers Manager 79 BMI BMan interface in FMan
|