/drivers/gpu/drm/nouveau/nvkm/core/ |
D | memory.c | 34 struct nvkm_tags *tags = *ptags; in nvkm_memory_tags_put() local 35 if (tags) { in nvkm_memory_tags_put() 36 mutex_lock(&fb->tags.mutex); in nvkm_memory_tags_put() 37 if (refcount_dec_and_test(&tags->refcount)) { in nvkm_memory_tags_put() 38 nvkm_mm_free(&fb->tags.mm, &tags->mn); in nvkm_memory_tags_put() 39 kfree(memory->tags); in nvkm_memory_tags_put() 40 memory->tags = NULL; in nvkm_memory_tags_put() 42 mutex_unlock(&fb->tags.mutex); in nvkm_memory_tags_put() 53 struct nvkm_tags *tags; in nvkm_memory_tags_get() local 55 mutex_lock(&fb->tags.mutex); in nvkm_memory_tags_get() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | nv20.c | 47 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv20_fb_tile_comp() local 48 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { in nv20_fb_tile_comp() 66 nvkm_mm_free(&fb->tags.mm, &tile->tag); in nv20_fb_tile_fini() 83 const u32 tags = nvkm_rd32(fb->subdev.device, 0x100320); in nv20_fb_tags() local 84 return tags ? tags + 1 : 0; in nv20_fb_tags() 89 .tags = nv20_fb_tags,
|
D | nv35.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv35_fb_tile_comp() local 35 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { in nv35_fb_tile_comp() 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 13; in nv35_fb_tile_comp() 48 .tags = nv20_fb_tags,
|
D | nv36.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv36_fb_tile_comp() local 35 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { in nv36_fb_tile_comp() 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 14; in nv36_fb_tile_comp() 48 .tags = nv20_fb_tags,
|
D | nv40.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x100); in nv40_fb_tile_comp() local 36 !nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { in nv40_fb_tile_comp() 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 8) << 13; in nv40_fb_tile_comp() 54 .tags = nv20_fb_tags,
|
D | base.c | 109 u32 tags = 0; in nvkm_fb_oneinit() local 129 if (fb->func->tags) { in nvkm_fb_oneinit() 130 tags = fb->func->tags(fb); in nvkm_fb_oneinit() 131 nvkm_debug(subdev, "%d comptags\n", tags); in nvkm_fb_oneinit() 134 return nvkm_mm_init(&fb->tags.mm, 0, 0, tags, 1); in nvkm_fb_oneinit() 243 nvkm_mm_fini(&fb->tags.mm); in nvkm_fb_dtor() 244 mutex_destroy(&fb->tags.mutex); in nvkm_fb_dtor() 279 mutex_init(&fb->tags.mutex); in nvkm_fb_ctor()
|
D | nv25.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv25_fb_tile_comp() local 35 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { in nv25_fb_tile_comp() 47 .tags = nv20_fb_tags,
|
D | nv30.c | 53 u32 tags = round_up(tiles / fb->ram->parts, 0x40); in nv30_fb_tile_comp() local 54 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { in nv30_fb_tile_comp() 58 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 12; in nv30_fb_tile_comp() 119 .tags = nv20_fb_tags,
|
D | nv50.c | 209 if (fb->func->tags) in nv50_fb_tags() 210 return fb->func->tags(&fb->base); in nv50_fb_tags() 231 .tags = nv50_fb_tags, 255 .tags = nv20_fb_tags,
|
/drivers/i2c/busses/ |
D | i2c-qup.c | 97 /* QUP tags */ 105 /* QUP v2 tags */ 144 * Max tags length (start, stop and maximum 2 bytes address) for each QUP 148 /* Max data length for each DATARD tags */ 177 * cur_tx_tags: pointer to tell cur position in tags 184 * tags: contains tx tag bytes for current QUP transfer 209 u8 tags[6]; member 276 /* function to write tags in tx fifo for i2c read transfer */ 520 static int qup_i2c_set_tags_smb(u16 addr, u8 *tags, struct qup_i2c_dev *qup, in qup_i2c_set_tags_smb() argument 526 tags[len++] = QUP_TAG_V2_DATARD_STOP; in qup_i2c_set_tags_smb() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | gpio.c | 30 static const u8 tags[] = { variable 42 for (i = 0; i < ARRAY_SIZE(tags); i++) { in nvkm_voltgpio_get() 44 int ret = nvkm_gpio_get(gpio, 0, tags[i], 0xff); in nvkm_voltgpio_get() 60 for (i = 0; i < ARRAY_SIZE(tags); i++, vid >>= 1) { in nvkm_voltgpio_set() 62 int ret = nvkm_gpio_set(gpio, 0, tags[i], 0xff, vid & 1); in nvkm_voltgpio_set() 85 for (i = 0; i < ARRAY_SIZE(tags); i++) { in nvkm_voltgpio_init() 87 int ret = nvkm_gpio_find(gpio, 0, tags[i], 0xff, &func); in nvkm_voltgpio_init()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
D | gf100.c | 163 /* No VRAM, no tags for now. */ in gf100_ltc_oneinit_tag_ram() 169 /* tags for 1/4 of VRAM should be enough (8192/4 per GiB of VRAM) */ in gf100_ltc_oneinit_tag_ram() 178 /* 4 part 4 sub: 0x2000 bytes for 56 tags */ in gf100_ltc_oneinit_tag_ram() 179 /* 3 part 4 sub: 0x6000 bytes for 168 tags */ in gf100_ltc_oneinit_tag_ram() 182 * 0x4980 bytes for 64 tags, and round up to 0x6000 bytes for 64 tags. in gf100_ltc_oneinit_tag_ram() 184 * For 4 GiB of memory we'll have 8192 tags which makes 3 MiB, < 0.1 %. in gf100_ltc_oneinit_tag_ram() 203 nvkm_mm_fini(&fb->tags.mm); in gf100_ltc_oneinit_tag_ram() 204 return nvkm_mm_init(&fb->tags.mm, 0, 0, ltc->num_tags, 1); in gf100_ltc_oneinit_tag_ram()
|
/drivers/block/ |
D | ps3vram.c | 64 struct ps3vram_tag *tags; member 313 if (!(cache->tags[entry].flags & CACHE_PAGE_DIRTY)) in ps3vram_cache_evict() 317 cache->tags[entry].address); in ps3vram_cache_evict() 319 cache->tags[entry].address, DMA_PAGE_SIZE, in ps3vram_cache_evict() 323 entry * cache->page_size, cache->tags[entry].address, in ps3vram_cache_evict() 326 cache->tags[entry].flags &= ~CACHE_PAGE_DIRTY; in ps3vram_cache_evict() 345 cache->tags[entry].address = address; in ps3vram_cache_load() 346 cache->tags[entry].flags |= CACHE_PAGE_PRESENT; in ps3vram_cache_load() 359 cache->tags[i].flags = 0; in ps3vram_cache_flush() 378 if ((cache->tags[i].flags & CACHE_PAGE_PRESENT) && in ps3vram_cache_match() [all …]
|
/drivers/net/ethernet/microchip/vcap/ |
D | vcap_ag_api.h | 78 * First DEI in multiple vlan tags (outer tag or default port tag) 80 * Second DEI in multiple vlan tags (inner tag) 82 * Third DEI in multiple vlan tags (not always available) 86 * First PCP in multiple vlan tags (outer tag or default port tag) 88 * Second PCP in multiple vlan tags (inner tag) 90 * Third PCP in multiple vlan tags (not always available) 96 * First TPIC in multiple vlan tags (outer tag or default port tag) 98 * Second TPID in multiple vlan tags (inner tag) 100 * Third TPID in multiple vlan tags (not always available) 102 * First VID in multiple vlan tags (outer tag or default port tag) [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | vmmgf100.c | 284 u32 tags = ALIGN(nvkm_memory_size(memory), 1 << 17) >> comp; in gf100_vmm_valid() local 291 ret = nvkm_memory_tags_get(memory, device, tags, in gf100_vmm_valid() 293 &map->tags); in gf100_vmm_valid() 300 if (!map->no_comp && map->tags->mn) { in gf100_vmm_valid() 301 u64 tags = map->tags->mn->offset + (map->offset >> 17); in gf100_vmm_valid() local 303 map->type |= tags << 44; in gf100_vmm_valid() 307 map->ctag |= tags << 1 | 1; in gf100_vmm_valid()
|
D | vmmnv50.c | 293 u32 tags = (nvkm_memory_size(memory) >> 16) * comp; in nv50_vmm_valid() local 300 ret = nvkm_memory_tags_get(memory, device, tags, NULL, in nv50_vmm_valid() 301 &map->tags); in nv50_vmm_valid() 307 if (map->tags->mn) { in nv50_vmm_valid() 308 u32 tags = map->tags->mn->offset + in nv50_vmm_valid() local 312 map->type |= (u64)tags << 49; in nv50_vmm_valid()
|
D | vmmgp100.c | 450 u64 tags = nvkm_memory_size(memory) >> 16; in gp100_vmm_valid() local 457 ret = nvkm_memory_tags_get(memory, device, tags, in gp100_vmm_valid() 459 &map->tags); in gp100_vmm_valid() 466 if (!map->no_comp && map->tags->mn) { in gp100_vmm_valid() 467 tags = map->tags->mn->offset + (map->offset >> 16); in gp100_vmm_valid() 469 map->type |= tags << 36; in gp100_vmm_valid()
|
/drivers/firmware/ |
D | raspberrypi.c | 78 * @data: Buffer holding tags. 79 * @tag_size: Size of tags buffer. 81 * Submits a set of concatenated tags to the VPU firmware through the 85 * don't need to be supplied, just the actual tags for your operation. 122 * error, if there were multiple tags in the request. in rpi_firmware_property_list()
|
/drivers/scsi/aic7xxx/ |
D | aic79xx_osm.c | 94 * 1 <= n <= 253 n == max tags ever dispatched. 111 * driver to attempt to use up to 64 tags for ID 1. 346 " # Set tag depth on Controller 2/Target 2 to 10 tags\n" 405 if (ahd->tags[0] == BUS_SPACE_MEMIO) { in ahd_inb() 420 if (ahd->tags[0] == BUS_SPACE_MEMIO) { 433 if (ahd->tags[0] == BUS_SPACE_MEMIO) { in ahd_outb() 444 if (ahd->tags[0] == BUS_SPACE_MEMIO) { in ahd_outw_atomic() 1011 int tags, i, j; in ahd_linux_setup_tag_info_global() local 1013 tags = simple_strtoul(p + 1, NULL, 0) & 0xff; in ahd_linux_setup_tag_info_global() 1014 printk("Setting Global Tags= %d\n", tags); in ahd_linux_setup_tag_info_global() [all …]
|
D | aic79xx_osm_pci.c | 307 ahd->tags[0] = BUS_SPACE_MEMIO; in ahd_pci_map_registers() 309 ahd->tags[1] = BUS_SPACE_MEMIO; in ahd_pci_map_registers() 342 ahd->tags[0] = BUS_SPACE_PIO; in ahd_pci_map_registers() 343 ahd->tags[1] = BUS_SPACE_PIO; in ahd_pci_map_registers()
|
D | aic7xxx_osm.c | 167 * 1 <= n <= 253 n == max tags ever dispatched. 184 * driver to attempt to use up to 64 tags for ID 1. 356 " # Set tag depth on Controller 1/Target 1 to 10 tags\n" 892 int tags, i, j; in ahc_linux_setup_tag_info_global() local 894 tags = simple_strtoul(p + 1, NULL, 0) & 0xff; in ahc_linux_setup_tag_info_global() 895 printk("Setting Global Tags= %d\n", tags); in ahc_linux_setup_tag_info_global() 899 aic7xxx_tag_info[i].tag_commands[j] = tags; in ahc_linux_setup_tag_info_global() 1343 u_int tags; in ahc_linux_user_tagdepth() local 1345 tags = 0; in ahc_linux_user_tagdepth() 1357 tags = AHC_MAX_QUEUE; in ahc_linux_user_tagdepth() [all …]
|
/drivers/clk/ti/ |
D | clk.c | 172 char *tags[2]; in ti_dt_clocks_register() local 186 tags[i] = NULL; in ti_dt_clocks_register() 191 pr_warn("Bad number of tags on %s\n", in ti_dt_clocks_register() 195 tags[num_args++] = ptr + 1; in ti_dt_clocks_register() 219 ret = kstrtoint(tags[i], i ? 10 : 16, clkspec.args + i); in ti_dt_clocks_register() 222 c->node_name, i, tags[i]); in ti_dt_clocks_register()
|
/drivers/net/bonding/ |
D | bond_main.c | 249 .offset = offsetof(struct flow_keys, tags), 2883 static bool bond_handle_vlan(struct slave *slave, struct bond_vlan_tag *tags, in bond_handle_vlan() argument 2888 struct bond_vlan_tag *outer_tag = tags; in bond_handle_vlan() 2890 if (!tags || tags->vlan_proto == BOND_VLAN_PROTO_NONE) in bond_handle_vlan() 2893 tags++; in bond_handle_vlan() 2895 /* Go through all the tags backwards and add them to the packet */ in bond_handle_vlan() 2896 while (tags->vlan_proto != BOND_VLAN_PROTO_NONE) { in bond_handle_vlan() 2897 if (!tags->vlan_id) { in bond_handle_vlan() 2898 tags++; in bond_handle_vlan() 2903 ntohs(outer_tag->vlan_proto), tags->vlan_id); in bond_handle_vlan() [all …]
|
/drivers/gpu/drm/ci/ |
D | build.yml | 16 tags: 27 tags:
|
/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_ifh.h | 63 /* Number of tags to pop from frame */ 66 /* Number of tags in front of the ethertype */
|