cell 87 arch/arm/kernel/devtree.c const __be32 *cell; cell 97 arch/arm/kernel/devtree.c cell = of_get_property(cpu, "reg", &prop_bytes); cell 98 arch/arm/kernel/devtree.c if (!cell || prop_bytes < sizeof(*cell)) { cell 109 arch/arm/kernel/devtree.c hwid = be32_to_cpu(*cell++); cell 110 arch/arm/kernel/devtree.c prop_bytes -= sizeof(*cell); cell 441 arch/arm64/kernel/smp.c const __be32 *cell; cell 449 arch/arm64/kernel/smp.c cell = of_get_property(dn, "reg", NULL); cell 450 arch/arm64/kernel/smp.c if (!cell) { cell 455 arch/arm64/kernel/smp.c hwid = of_read_number(cell, of_n_addr_cells(dn)); cell 381 arch/parisc/include/asm/pdcpat.h unsigned long cell); cell 1578 arch/parisc/kernel/firmware.c unsigned long cell) cell 1585 arch/parisc/kernel/firmware.c __pa(&pdc_result), cell); cell 1088 arch/powerpc/platforms/cell/iommu.c machine_arch_initcall(cell, cell_iommu_init); cell 392 arch/powerpc/platforms/cell/pmu.c machine_arch_initcall(cell, cbe_init_pm_irq); cell 87 arch/powerpc/platforms/cell/setup.c if (!machine_is(cell)) cell 183 arch/powerpc/platforms/cell/setup.c machine_subsys_initcall(cell, cell_publish_devices); cell 261 arch/powerpc/platforms/cell/setup.c define_machine(cell) { cell 1437 arch/powerpc/platforms/powermac/feature.c int cell; cell 1460 arch/powerpc/platforms/powermac/feature.c cell = node->name[4] - 'a'; cell 1461 arch/powerpc/platforms/powermac/feature.c switch(cell) { cell 1475 arch/powerpc/platforms/powermac/feature.c MACIO_BIC(KEYLARGO_FCR0, fcrs[cell][0]); cell 1476 arch/powerpc/platforms/powermac/feature.c MACIO_BIS(KEYLARGO_FCR1, fcrs[cell][1]); cell 1477 arch/powerpc/platforms/powermac/feature.c MACIO_BIS(KEYLARGO_FCR3, fcrs[cell][2]); cell 1479 arch/powerpc/platforms/powermac/feature.c MACIO_BIC(KEYLARGO_FCR3, fcrs[cell][2]); cell 1480 arch/powerpc/platforms/powermac/feature.c MACIO_BIC(KEYLARGO_FCR1, fcrs[cell][1]); cell 1481 arch/powerpc/platforms/powermac/feature.c MACIO_BIS(KEYLARGO_FCR0, fcrs[cell][0]); cell 443 arch/powerpc/sysdev/fsl_rio.c const u32 *dt_range, *cell, *port_index; cell 594 arch/powerpc/sysdev/fsl_rio.c cell = of_get_property(np, "#address-cells", NULL); cell 595 arch/powerpc/sysdev/fsl_rio.c if (cell) cell 596 arch/powerpc/sysdev/fsl_rio.c aw = *cell; cell 600 arch/powerpc/sysdev/fsl_rio.c cell = of_get_property(np, "#size-cells", NULL); cell 601 arch/powerpc/sysdev/fsl_rio.c if (cell) cell 602 arch/powerpc/sysdev/fsl_rio.c sw = *cell; cell 65 arch/sh/boards/of-generic.c const __be32 *cell = of_get_property(np, "reg", NULL); cell 67 arch/sh/boards/of-generic.c if (cell) id = of_read_number(cell, of_n_addr_cells(np)); cell 5 arch/sparc/kernel/of_device_common.h static inline u64 of_read_addr(const u32 *cell, int size) cell 9 arch/sparc/kernel/of_device_common.h r = (r << 32) | *(cell++); cell 271 drivers/ata/pata_sil680.c if (machine_is(cell)) cell 125 drivers/atm/idt77252.c static int idt77252_send_oam(struct atm_vcc *vcc, void *cell, cell 1068 drivers/atm/idt77252.c unsigned char *cell; cell 1071 drivers/atm/idt77252.c cell = skb->data; cell 1093 drivers/atm/idt77252.c skb_put_data(sb, cell, ATM_CELL_PAYLOAD); cell 1100 drivers/atm/idt77252.c cell += ATM_CELL_PAYLOAD; cell 1999 drivers/atm/idt77252.c idt77252_send_oam(struct atm_vcc *vcc, void *cell, int flags) cell 2013 drivers/atm/idt77252.c skb_put_data(skb, cell, 52); cell 2019 drivers/atm/nicstar.c unsigned char *cell; cell 2022 drivers/atm/nicstar.c cell = skb->data; cell 2046 drivers/atm/nicstar.c memcpy(skb_tail_pointer(sb), cell, ATM_CELL_PAYLOAD); cell 2052 drivers/atm/nicstar.c cell += ATM_CELL_PAYLOAD; cell 762 drivers/bus/fsl-mc/fsl-mc-bus.c const __be32 *cell; cell 789 drivers/bus/fsl-mc/fsl-mc-bus.c cell = ranges_start; cell 793 drivers/bus/fsl-mc/fsl-mc-bus.c range->mc_region_type = of_read_number(cell, 1); cell 794 drivers/bus/fsl-mc/fsl-mc-bus.c range->start_mc_offset = of_read_number(cell + 1, cell 796 drivers/bus/fsl-mc/fsl-mc-bus.c cell += mc_addr_cells; cell 797 drivers/bus/fsl-mc/fsl-mc-bus.c range->start_phys_addr = of_read_number(cell, paddr_cells); cell 798 drivers/bus/fsl-mc/fsl-mc-bus.c cell += paddr_cells; cell 800 drivers/bus/fsl-mc/fsl-mc-bus.c of_read_number(cell, mc_size_cells); cell 802 drivers/bus/fsl-mc/fsl-mc-bus.c cell += mc_size_cells; cell 489 drivers/bus/hisi_lpc.c const struct hisi_lpc_acpi_cell *cell; cell 502 drivers/bus/hisi_lpc.c cell = (struct hisi_lpc_acpi_cell []){ cell 527 drivers/bus/hisi_lpc.c for (; cell && cell->name; cell++) { cell 528 drivers/bus/hisi_lpc.c if (!strcmp(cell->hid, hid)) { cell 541 drivers/bus/hisi_lpc.c pdev = platform_device_alloc(cell->name, PLATFORM_DEVID_AUTO); cell 554 drivers/bus/hisi_lpc.c ret = platform_device_add_data(pdev, cell->pdata, cell 555 drivers/bus/hisi_lpc.c cell->pdata_size); cell 16 drivers/clk/mmp/reset.c struct mmp_clk_reset_cell *cell; cell 23 drivers/clk/mmp/reset.c cell = &unit->cells[i]; cell 24 drivers/clk/mmp/reset.c if (cell->clk_id == reset_spec->args[0]) cell 38 drivers/clk/mmp/reset.c struct mmp_clk_reset_cell *cell; cell 42 drivers/clk/mmp/reset.c cell = &unit->cells[id]; cell 43 drivers/clk/mmp/reset.c if (cell->lock) cell 44 drivers/clk/mmp/reset.c spin_lock_irqsave(cell->lock, flags); cell 46 drivers/clk/mmp/reset.c val = readl(cell->reg); cell 47 drivers/clk/mmp/reset.c val |= cell->bits; cell 48 drivers/clk/mmp/reset.c writel(val, cell->reg); cell 50 drivers/clk/mmp/reset.c if (cell->lock) cell 51 drivers/clk/mmp/reset.c spin_unlock_irqrestore(cell->lock, flags); cell 60 drivers/clk/mmp/reset.c struct mmp_clk_reset_cell *cell; cell 64 drivers/clk/mmp/reset.c cell = &unit->cells[id]; cell 65 drivers/clk/mmp/reset.c if (cell->lock) cell 66 drivers/clk/mmp/reset.c spin_lock_irqsave(cell->lock, flags); cell 68 drivers/clk/mmp/reset.c val = readl(cell->reg); cell 69 drivers/clk/mmp/reset.c val &= ~cell->bits; cell 70 drivers/clk/mmp/reset.c writel(val, cell->reg); cell 72 drivers/clk/mmp/reset.c if (cell->lock) cell 73 drivers/clk/mmp/reset.c spin_unlock_irqrestore(cell->lock, flags); cell 152 drivers/cpufreq/ppc_cbe_cpufreq.c if (!machine_is(cell)) cell 1403 drivers/gpu/drm/msm/adreno/a5xx_gpu.c struct nvmem_cell *cell; cell 1406 drivers/gpu/drm/msm/adreno/a5xx_gpu.c cell = nvmem_cell_get(dev, "speed_bin"); cell 1409 drivers/gpu/drm/msm/adreno/a5xx_gpu.c if (IS_ERR(cell)) cell 1412 drivers/gpu/drm/msm/adreno/a5xx_gpu.c bin = *((u32 *) nvmem_cell_read(cell, NULL)); cell 1413 drivers/gpu/drm/msm/adreno/a5xx_gpu.c nvmem_cell_put(cell); cell 126 drivers/iio/adc/sc27xx_adc.c struct nvmem_cell *cell; cell 142 drivers/iio/adc/sc27xx_adc.c cell = nvmem_cell_get(data->dev, cell_name); cell 143 drivers/iio/adc/sc27xx_adc.c if (IS_ERR(cell)) cell 144 drivers/iio/adc/sc27xx_adc.c return PTR_ERR(cell); cell 146 drivers/iio/adc/sc27xx_adc.c buf = nvmem_cell_read(cell, &len); cell 147 drivers/iio/adc/sc27xx_adc.c nvmem_cell_put(cell); cell 40 drivers/leds/leds-asic3.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 47 drivers/leds/leds-asic3.c base = led_n_base[cell->id]; cell 59 drivers/leds/leds-asic3.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 79 drivers/leds/leds-asic3.c base = led_n_base[cell->id]; cell 137 drivers/leds/leds-asic3.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 141 drivers/leds/leds-asic3.c if (cell->suspend) cell 142 drivers/leds/leds-asic3.c ret = (*cell->suspend)(pdev); cell 150 drivers/leds/leds-asic3.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 154 drivers/leds/leds-asic3.c if (cell->resume) cell 155 drivers/leds/leds-asic3.c ret = (*cell->resume)(pdev); cell 70 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell) cell 72 drivers/md/dm-bio-prison-v1.c mempool_free(cell, &prison->cell_pool); cell 78 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell) cell 80 drivers/md/dm-bio-prison-v1.c memcpy(&cell->key, key, sizeof(cell->key)); cell 81 drivers/md/dm-bio-prison-v1.c cell->holder = holder; cell 82 drivers/md/dm-bio-prison-v1.c bio_list_init(&cell->bios); cell 119 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell = cell 122 drivers/md/dm-bio-prison-v1.c r = cmp_keys(key, &cell->key); cell 131 drivers/md/dm-bio-prison-v1.c bio_list_add(&cell->bios, inmate); cell 132 drivers/md/dm-bio-prison-v1.c *cell_result = cell; cell 185 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell, cell 188 drivers/md/dm-bio-prison-v1.c rb_erase(&cell->node, &prison->cells); cell 191 drivers/md/dm-bio-prison-v1.c if (cell->holder) cell 192 drivers/md/dm-bio-prison-v1.c bio_list_add(inmates, cell->holder); cell 193 drivers/md/dm-bio-prison-v1.c bio_list_merge(inmates, &cell->bios); cell 198 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell, cell 204 drivers/md/dm-bio-prison-v1.c __cell_release(prison, cell, bios); cell 213 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell, cell 216 drivers/md/dm-bio-prison-v1.c rb_erase(&cell->node, &prison->cells); cell 217 drivers/md/dm-bio-prison-v1.c bio_list_merge(inmates, &cell->bios); cell 221 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell, cell 227 drivers/md/dm-bio-prison-v1.c __cell_release_no_holder(prison, cell, inmates); cell 233 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell, blk_status_t error) cell 239 drivers/md/dm-bio-prison-v1.c dm_cell_release(prison, cell, &bios); cell 251 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell) cell 256 drivers/md/dm-bio-prison-v1.c visit_fn(context, cell); cell 257 drivers/md/dm-bio-prison-v1.c rb_erase(&cell->node, &prison->cells); cell 263 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell) cell 265 drivers/md/dm-bio-prison-v1.c if (bio_list_empty(&cell->bios)) { cell 266 drivers/md/dm-bio-prison-v1.c rb_erase(&cell->node, &prison->cells); cell 270 drivers/md/dm-bio-prison-v1.c cell->holder = bio_list_pop(&cell->bios); cell 275 drivers/md/dm-bio-prison-v1.c struct dm_bio_prison_cell *cell) cell 281 drivers/md/dm-bio-prison-v1.c r = __promote_or_release(prison, cell); cell 62 drivers/md/dm-bio-prison-v1.h struct dm_bio_prison_cell *cell); cell 88 drivers/md/dm-bio-prison-v1.h struct dm_bio_prison_cell *cell, cell 91 drivers/md/dm-bio-prison-v1.h struct dm_bio_prison_cell *cell, cell 94 drivers/md/dm-bio-prison-v1.h struct dm_bio_prison_cell *cell, blk_status_t error); cell 102 drivers/md/dm-bio-prison-v1.h void *context, struct dm_bio_prison_cell *cell); cell 115 drivers/md/dm-bio-prison-v1.h struct dm_bio_prison_cell *cell); cell 73 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell) cell 75 drivers/md/dm-bio-prison-v2.c mempool_free(cell, &prison->cell_pool); cell 80 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell) cell 82 drivers/md/dm-bio-prison-v2.c memset(cell, 0, sizeof(*cell)); cell 83 drivers/md/dm-bio-prison-v2.c memcpy(&cell->key, key, sizeof(cell->key)); cell 84 drivers/md/dm-bio-prison-v2.c bio_list_init(&cell->bios); cell 123 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell = cell 126 drivers/md/dm-bio-prison-v2.c r = cmp_keys(key, &cell->key); cell 136 drivers/md/dm-bio-prison-v2.c *result = cell; cell 154 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 **cell) cell 156 drivers/md/dm-bio-prison-v2.c if (__find_or_insert(prison, key, cell_prealloc, cell)) { cell 157 drivers/md/dm-bio-prison-v2.c if ((*cell)->exclusive_lock) { cell 158 drivers/md/dm-bio-prison-v2.c if (lock_level <= (*cell)->exclusive_level) { cell 159 drivers/md/dm-bio-prison-v2.c bio_list_add(&(*cell)->bios, inmate); cell 164 drivers/md/dm-bio-prison-v2.c (*cell)->shared_count++; cell 167 drivers/md/dm-bio-prison-v2.c (*cell)->shared_count = 1; cell 191 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell) cell 193 drivers/md/dm-bio-prison-v2.c BUG_ON(!cell->shared_count); cell 194 drivers/md/dm-bio-prison-v2.c cell->shared_count--; cell 197 drivers/md/dm-bio-prison-v2.c if (!cell->shared_count) { cell 198 drivers/md/dm-bio-prison-v2.c if (cell->exclusive_lock){ cell 199 drivers/md/dm-bio-prison-v2.c if (cell->quiesce_continuation) { cell 200 drivers/md/dm-bio-prison-v2.c queue_work(prison->wq, cell->quiesce_continuation); cell 201 drivers/md/dm-bio-prison-v2.c cell->quiesce_continuation = NULL; cell 204 drivers/md/dm-bio-prison-v2.c rb_erase(&cell->node, &prison->cells); cell 213 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell) cell 219 drivers/md/dm-bio-prison-v2.c r = __put(prison, cell); cell 232 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell; cell 234 drivers/md/dm-bio-prison-v2.c if (__find_or_insert(prison, key, cell_prealloc, &cell)) { cell 235 drivers/md/dm-bio-prison-v2.c if (cell->exclusive_lock) cell 238 drivers/md/dm-bio-prison-v2.c cell->exclusive_lock = true; cell 239 drivers/md/dm-bio-prison-v2.c cell->exclusive_level = lock_level; cell 240 drivers/md/dm-bio-prison-v2.c *cell_result = cell; cell 244 drivers/md/dm-bio-prison-v2.c return cell->shared_count > 0; cell 247 drivers/md/dm-bio-prison-v2.c cell = cell_prealloc; cell 248 drivers/md/dm-bio-prison-v2.c cell->shared_count = 0; cell 249 drivers/md/dm-bio-prison-v2.c cell->exclusive_lock = true; cell 250 drivers/md/dm-bio-prison-v2.c cell->exclusive_level = lock_level; cell 251 drivers/md/dm-bio-prison-v2.c *cell_result = cell; cell 275 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell, cell 278 drivers/md/dm-bio-prison-v2.c if (!cell->shared_count) cell 281 drivers/md/dm-bio-prison-v2.c cell->quiesce_continuation = continuation; cell 285 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell, cell 291 drivers/md/dm-bio-prison-v2.c __quiesce(prison, cell, continuation); cell 297 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell, cell 300 drivers/md/dm-bio-prison-v2.c if (!cell->exclusive_lock) cell 303 drivers/md/dm-bio-prison-v2.c cell->exclusive_level = new_lock_level; cell 304 drivers/md/dm-bio-prison-v2.c return cell->shared_count > 0; cell 308 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell, cell 315 drivers/md/dm-bio-prison-v2.c r = __promote(prison, cell, new_lock_level); cell 323 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell, cell 326 drivers/md/dm-bio-prison-v2.c BUG_ON(!cell->exclusive_lock); cell 328 drivers/md/dm-bio-prison-v2.c bio_list_merge(bios, &cell->bios); cell 329 drivers/md/dm-bio-prison-v2.c bio_list_init(&cell->bios); cell 331 drivers/md/dm-bio-prison-v2.c if (cell->shared_count) { cell 332 drivers/md/dm-bio-prison-v2.c cell->exclusive_lock = 0; cell 336 drivers/md/dm-bio-prison-v2.c rb_erase(&cell->node, &prison->cells); cell 341 drivers/md/dm-bio-prison-v2.c struct dm_bio_prison_cell_v2 *cell, cell 348 drivers/md/dm-bio-prison-v2.c r = __unlock(prison, cell, bios); cell 69 drivers/md/dm-bio-prison-v2.h struct dm_bio_prison_cell_v2 *cell); cell 99 drivers/md/dm-bio-prison-v2.h struct dm_bio_prison_cell_v2 *cell); cell 122 drivers/md/dm-bio-prison-v2.h struct dm_bio_prison_cell_v2 *cell, cell 134 drivers/md/dm-bio-prison-v2.h struct dm_bio_prison_cell_v2 *cell, cell 147 drivers/md/dm-bio-prison-v2.h struct dm_bio_prison_cell_v2 *cell, cell 492 drivers/md/dm-cache-target.c struct dm_bio_prison_cell_v2 *cell; cell 503 drivers/md/dm-cache-target.c struct dm_bio_prison_cell_v2 *cell; cell 548 drivers/md/dm-cache-target.c static void free_prison_cell(struct cache *cache, struct dm_bio_prison_cell_v2 *cell) cell 550 drivers/md/dm-cache-target.c dm_bio_prison_free_cell_v2(cache->prison, cell); cell 623 drivers/md/dm-cache-target.c pb->cell = NULL; cell 662 drivers/md/dm-cache-target.c struct dm_bio_prison_cell_v2 *cell_prealloc, *cell; cell 667 drivers/md/dm-cache-target.c r = dm_cell_get_v2(cache->prison, &key, lock_level(bio), bio, cell_prealloc, &cell); cell 676 drivers/md/dm-cache-target.c if (cell != cell_prealloc) cell 680 drivers/md/dm-cache-target.c pb->cell = cell; cell 1167 drivers/md/dm-cache-target.c dm_cell_quiesce_v2(mg->cache->prison, mg->cell, &mg->k.ws); cell 1209 drivers/md/dm-cache-target.c if (pb->cell && dm_cell_put_v2(cache->prison, pb->cell)) cell 1210 drivers/md/dm-cache-target.c free_prison_cell(cache, pb->cell); cell 1211 drivers/md/dm-cache-target.c pb->cell = NULL; cell 1309 drivers/md/dm-cache-target.c if (mg->cell) { cell 1310 drivers/md/dm-cache-target.c if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios)) cell 1311 drivers/md/dm-cache-target.c free_prison_cell(cache, mg->cell); cell 1417 drivers/md/dm-cache-target.c r = dm_cell_lock_promote_v2(mg->cache->prison, mg->cell, cell 1499 drivers/md/dm-cache-target.c prealloc, &mg->cell); cell 1506 drivers/md/dm-cache-target.c if (mg->cell != prealloc) cell 1547 drivers/md/dm-cache-target.c if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios)) cell 1548 drivers/md/dm-cache-target.c free_prison_cell(cache, mg->cell); cell 1618 drivers/md/dm-cache-target.c READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell); cell 1625 drivers/md/dm-cache-target.c if (mg->cell != prealloc) cell 210 drivers/md/dm-ioctl.c struct hash_cell *cell, *hc; cell 215 drivers/md/dm-ioctl.c cell = alloc_cell(name, uuid, md); cell 216 drivers/md/dm-ioctl.c if (!cell) cell 229 drivers/md/dm-ioctl.c list_add(&cell->name_list, _name_buckets + hash_str(name)); cell 234 drivers/md/dm-ioctl.c list_del(&cell->name_list); cell 238 drivers/md/dm-ioctl.c list_add(&cell->uuid_list, _uuid_buckets + hash_str(uuid)); cell 242 drivers/md/dm-ioctl.c dm_set_mdptr(md, cell); cell 250 drivers/md/dm-ioctl.c free_cell(cell); cell 224 drivers/md/dm-thin.c typedef void (*process_cell_fn)(struct thin_c *tc, struct dm_bio_prison_cell *cell); cell 467 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, cell 470 drivers/md/dm-thin.c dm_cell_release(pool->prison, cell, bios); cell 471 drivers/md/dm-thin.c dm_bio_prison_free_cell(pool->prison, cell); cell 477 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell) cell 479 drivers/md/dm-thin.c dm_cell_visit_release(pool->prison, fn, context, cell); cell 480 drivers/md/dm-thin.c dm_bio_prison_free_cell(pool->prison, cell); cell 484 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, cell 487 drivers/md/dm-thin.c dm_cell_release_no_holder(pool->prison, cell, bios); cell 488 drivers/md/dm-thin.c dm_bio_prison_free_cell(pool->prison, cell); cell 492 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, blk_status_t error_code) cell 494 drivers/md/dm-thin.c dm_cell_error(pool->prison, cell, error_code); cell 495 drivers/md/dm-thin.c dm_bio_prison_free_cell(pool->prison, cell); cell 503 drivers/md/dm-thin.c static void cell_error(struct pool *pool, struct dm_bio_prison_cell *cell) cell 505 drivers/md/dm-thin.c cell_error_with_code(pool, cell, get_pool_io_error_code(pool)); cell 508 drivers/md/dm-thin.c static void cell_success(struct pool *pool, struct dm_bio_prison_cell *cell) cell 510 drivers/md/dm-thin.c cell_error_with_code(pool, cell, 0); cell 513 drivers/md/dm-thin.c static void cell_requeue(struct pool *pool, struct dm_bio_prison_cell *cell) cell 515 drivers/md/dm-thin.c cell_error_with_code(pool, cell, BLK_STS_DM_REQUEUE); cell 591 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell; cell 630 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, *tmp; cell 638 drivers/md/dm-thin.c list_for_each_entry_safe(cell, tmp, &cells, user_list) cell 639 drivers/md/dm-thin.c cell_requeue(pool, cell); cell 822 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell; cell 887 drivers/md/dm-thin.c static void cell_defer_no_holder(struct thin_c *tc, struct dm_bio_prison_cell *cell) cell 893 drivers/md/dm-thin.c cell_release_no_holder(pool, cell, &tc->deferred_bio_list); cell 908 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell) cell 913 drivers/md/dm-thin.c while ((bio = bio_list_pop(&cell->bios))) { cell 930 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, cell 946 drivers/md/dm-thin.c &info, cell); cell 957 drivers/md/dm-thin.c cell_error(m->tc->pool, m->cell); cell 1003 drivers/md/dm-thin.c cell_error(pool, m->cell); cell 1015 drivers/md/dm-thin.c cell_error(pool, m->cell); cell 1026 drivers/md/dm-thin.c inc_remap_and_issue_cell(tc, m->cell, m->data_block); cell 1029 drivers/md/dm-thin.c inc_all_io_entry(tc->pool, m->cell->holder); cell 1030 drivers/md/dm-thin.c remap_and_issue(tc, m->cell->holder, m->data_block); cell 1031 drivers/md/dm-thin.c inc_remap_and_issue_cell(tc, m->cell, m->data_block); cell 1044 drivers/md/dm-thin.c if (m->cell) cell 1045 drivers/md/dm-thin.c cell_defer_no_holder(tc, m->cell); cell 1066 drivers/md/dm-thin.c r = dm_thin_remove_range(tc->td, m->cell->key.block_begin, m->cell->key.block_end); cell 1073 drivers/md/dm-thin.c cell_defer_no_holder(tc, m->cell); cell 1166 drivers/md/dm-thin.c cell_defer_no_holder(tc, m->cell); cell 1179 drivers/md/dm-thin.c cell_defer_no_holder(tc, m->cell); cell 1224 drivers/md/dm-thin.c cell_defer_no_holder(tc, m->cell); cell 1323 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, struct bio *bio, cell 1333 drivers/md/dm-thin.c m->cell = cell; cell 1383 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, struct bio *bio) cell 1386 drivers/md/dm-thin.c data_origin, data_dest, cell, bio, cell 1391 drivers/md/dm-thin.c dm_block_t data_block, struct dm_bio_prison_cell *cell, cell 1402 drivers/md/dm-thin.c m->cell = cell; cell 1421 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, struct bio *bio) cell 1429 drivers/md/dm-thin.c virt_block, data_dest, cell, bio, cell 1434 drivers/md/dm-thin.c virt_block, data_dest, cell, bio, cell 1438 drivers/md/dm-thin.c schedule_zero(tc, virt_block, data_dest, cell, bio); cell 1640 drivers/md/dm-thin.c static void retry_bios_on_resume(struct pool *pool, struct dm_bio_prison_cell *cell) cell 1648 drivers/md/dm-thin.c cell_error_with_code(pool, cell, error); cell 1653 drivers/md/dm-thin.c cell_release(pool, cell, &bios); cell 1672 drivers/md/dm-thin.c m->cell = virt_cell; cell 1723 drivers/md/dm-thin.c m->cell = data_cell; cell 1752 drivers/md/dm-thin.c h->cell = virt_cell; cell 1795 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell) cell 1805 drivers/md/dm-thin.c data_block, cell, bio); cell 1809 drivers/md/dm-thin.c retry_bios_on_resume(pool, cell); cell 1815 drivers/md/dm-thin.c cell_error(pool, cell); cell 1821 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell) cell 1826 drivers/md/dm-thin.c while ((bio = bio_list_pop(&cell->bios))) { cell 1841 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, cell 1852 drivers/md/dm-thin.c &info, cell); cell 1896 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell) cell 1907 drivers/md/dm-thin.c cell_defer_no_holder(tc, cell); cell 1918 drivers/md/dm-thin.c cell_defer_no_holder(tc, cell); cell 1927 drivers/md/dm-thin.c schedule_external_copy(tc, block, data_block, cell, bio); cell 1929 drivers/md/dm-thin.c schedule_zero(tc, block, data_block, cell, bio); cell 1933 drivers/md/dm-thin.c retry_bios_on_resume(pool, cell); cell 1939 drivers/md/dm-thin.c cell_error(pool, cell); cell 1944 drivers/md/dm-thin.c static void process_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) cell 1948 drivers/md/dm-thin.c struct bio *bio = cell->holder; cell 1953 drivers/md/dm-thin.c cell_requeue(pool, cell); cell 1961 drivers/md/dm-thin.c process_shared_bio(tc, bio, block, &lookup_result, cell); cell 1965 drivers/md/dm-thin.c inc_remap_and_issue_cell(tc, cell, lookup_result.block); cell 1972 drivers/md/dm-thin.c cell_defer_no_holder(tc, cell); cell 1987 drivers/md/dm-thin.c provision_block(tc, bio, block, cell); cell 1993 drivers/md/dm-thin.c cell_defer_no_holder(tc, cell); cell 2003 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell; cell 2011 drivers/md/dm-thin.c if (bio_detain(pool, &key, bio, &cell)) cell 2014 drivers/md/dm-thin.c process_cell(tc, cell); cell 2018 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell) cell 2030 drivers/md/dm-thin.c if (cell) cell 2031 drivers/md/dm-thin.c cell_defer_no_holder(tc, cell); cell 2035 drivers/md/dm-thin.c if (cell) cell 2036 drivers/md/dm-thin.c inc_remap_and_issue_cell(tc, cell, lookup_result.block); cell 2041 drivers/md/dm-thin.c if (cell) cell 2042 drivers/md/dm-thin.c cell_defer_no_holder(tc, cell); cell 2061 drivers/md/dm-thin.c if (cell) cell 2062 drivers/md/dm-thin.c cell_defer_no_holder(tc, cell); cell 2073 drivers/md/dm-thin.c static void process_cell_read_only(struct thin_c *tc, struct dm_bio_prison_cell *cell) cell 2075 drivers/md/dm-thin.c __process_bio_read_only(tc, cell->holder, cell); cell 2088 drivers/md/dm-thin.c static void process_cell_success(struct thin_c *tc, struct dm_bio_prison_cell *cell) cell 2090 drivers/md/dm-thin.c cell_success(tc->pool, cell); cell 2093 drivers/md/dm-thin.c static void process_cell_fail(struct thin_c *tc, struct dm_bio_prison_cell *cell) cell 2095 drivers/md/dm-thin.c cell_error(tc->pool, cell); cell 2251 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, *tmp; cell 2253 drivers/md/dm-thin.c list_for_each_entry_safe(cell, tmp, cells, user_list) { cell 2257 drivers/md/dm-thin.c pool->cell_sort_array[count++] = cell; cell 2258 drivers/md/dm-thin.c list_del(&cell->user_list); cell 2261 drivers/md/dm-thin.c sort(pool->cell_sort_array, count, sizeof(cell), cmp_cells, NULL); cell 2271 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell; cell 2287 drivers/md/dm-thin.c cell = pool->cell_sort_array[i]; cell 2288 drivers/md/dm-thin.c BUG_ON(!cell->holder); cell 2305 drivers/md/dm-thin.c if (bio_op(cell->holder) == REQ_OP_DISCARD) cell 2306 drivers/md/dm-thin.c pool->process_discard_cell(tc, cell); cell 2308 drivers/md/dm-thin.c pool->process_cell(tc, cell); cell 2689 drivers/md/dm-thin.c static void thin_defer_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) cell 2696 drivers/md/dm-thin.c list_add_tail(&cell->user_list, &tc->deferred_cells); cell 2711 drivers/md/dm-thin.c h->cell = NULL; cell 4375 drivers/md/dm-thin.c if (h->cell) cell 4376 drivers/md/dm-thin.c cell_defer_no_holder(h->tc, h->cell); cell 817 drivers/mfd/asic3.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 820 drivers/mfd/asic3.c asic3_clk_enable(asic, &asic->clocks[clock_ledn[cell->id]]); cell 827 drivers/mfd/asic3.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 830 drivers/mfd/asic3.c asic3_clk_disable(asic, &asic->clocks[clock_ledn[cell->id]]); cell 837 drivers/mfd/asic3.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 840 drivers/mfd/asic3.c while (asic3_gpio_get(&asic->gpio, ASIC3_GPIO(C, cell->id)) != 0) cell 843 drivers/mfd/asic3.c asic3_clk_disable(asic, &asic->clocks[clock_ledn[cell->id]]); cell 30 drivers/mfd/at91-usart.c const struct mfd_cell *cell; cell 37 drivers/mfd/at91-usart.c cell = &at91_usart_spi_subdev; cell 40 drivers/mfd/at91-usart.c cell = &at91_usart_serial_subdev; cell 48 drivers/mfd/at91-usart.c return devm_mfd_add_devices(&pdev->dev, PLATFORM_DEVID_AUTO, cell, 1, cell 581 drivers/mfd/da9062-core.c const struct mfd_cell *cell; cell 611 drivers/mfd/da9062-core.c cell = da9061_devs; cell 617 drivers/mfd/da9062-core.c cell = da9062_devs; cell 655 drivers/mfd/da9062-core.c ret = mfd_add_devices(chip->dev, PLATFORM_DEVID_NONE, cell, cell 32 drivers/mfd/davinci_voicecodec.c struct mfd_cell *cell = NULL; cell 90 drivers/mfd/davinci_voicecodec.c cell = &davinci_vc->cells[DAVINCI_VC_VCIF_CELL]; cell 91 drivers/mfd/davinci_voicecodec.c cell->name = "davinci-vcif"; cell 92 drivers/mfd/davinci_voicecodec.c cell->platform_data = davinci_vc; cell 93 drivers/mfd/davinci_voicecodec.c cell->pdata_size = sizeof(*davinci_vc); cell 96 drivers/mfd/davinci_voicecodec.c cell = &davinci_vc->cells[DAVINCI_VC_CQ93VC_CELL]; cell 97 drivers/mfd/davinci_voicecodec.c cell->name = "cq93vc-codec"; cell 98 drivers/mfd/davinci_voicecodec.c cell->platform_data = davinci_vc; cell 99 drivers/mfd/davinci_voicecodec.c cell->pdata_size = sizeof(*davinci_vc); cell 77 drivers/mfd/intel-lpss.c struct mfd_cell *cell; cell 210 drivers/mfd/intel-lpss.c const struct mfd_cell *cell; cell 218 drivers/mfd/intel-lpss.c cell = &intel_lpss_i2c_cell; cell 221 drivers/mfd/intel-lpss.c cell = &intel_lpss_uart_cell; cell 224 drivers/mfd/intel-lpss.c cell = &intel_lpss_spi_cell; cell 230 drivers/mfd/intel-lpss.c lpss->cell = devm_kmemdup(lpss->dev, cell, sizeof(*cell), GFP_KERNEL); cell 231 drivers/mfd/intel-lpss.c if (!lpss->cell) cell 322 drivers/mfd/intel-lpss.c const struct mfd_cell *cell = lpss->cell; cell 336 drivers/mfd/intel-lpss.c snprintf(devname, sizeof(devname), "%s.%d", cell->name, lpss->devid); cell 402 drivers/mfd/intel-lpss.c lpss->cell->properties = info->properties; cell 428 drivers/mfd/intel-lpss.c ret = mfd_add_devices(dev, lpss->devid, lpss->cell, cell 290 drivers/mfd/intel_msic.c struct mfd_cell *cell = &msic_devs[INTEL_MSIC_BLOCK_GPIO]; cell 292 drivers/mfd/intel_msic.c cell->platform_data = pdata->gpio; cell 293 drivers/mfd/intel_msic.c cell->pdata_size = sizeof(*pdata->gpio); cell 158 drivers/mfd/intel_quark_i2c_gpio.c static int intel_quark_i2c_setup(struct pci_dev *pdev, struct mfd_cell *cell) cell 162 drivers/mfd/intel_quark_i2c_gpio.c struct resource *res = (struct resource *)cell->resources; cell 184 drivers/mfd/intel_quark_i2c_gpio.c cell->platform_data = pdata; cell 185 drivers/mfd/intel_quark_i2c_gpio.c cell->pdata_size = sizeof(*pdata); cell 190 drivers/mfd/intel_quark_i2c_gpio.c static int intel_quark_gpio_setup(struct pci_dev *pdev, struct mfd_cell *cell) cell 193 drivers/mfd/intel_quark_i2c_gpio.c struct resource *res = (struct resource *)cell->resources; cell 222 drivers/mfd/intel_quark_i2c_gpio.c cell->platform_data = pdata; cell 223 drivers/mfd/intel_quark_i2c_gpio.c cell->pdata_size = sizeof(*pdata); cell 66 drivers/mfd/janz-cmodio.c struct mfd_cell *cell; cell 71 drivers/mfd/janz-cmodio.c cell = &priv->cells[devno]; cell 75 drivers/mfd/janz-cmodio.c cell->name = name; cell 76 drivers/mfd/janz-cmodio.c cell->resources = res; cell 77 drivers/mfd/janz-cmodio.c cell->num_resources = 3; cell 80 drivers/mfd/janz-cmodio.c cell->id = cmodio_id++; cell 84 drivers/mfd/janz-cmodio.c cell->platform_data = pdata; cell 85 drivers/mfd/janz-cmodio.c cell->pdata_size = sizeof(*pdata); cell 882 drivers/mfd/lpc_ich.c struct mfd_cell *cell = &lpc_ich_wdt_cell; cell 893 drivers/mfd/lpc_ich.c cell->platform_data = pdata; cell 894 drivers/mfd/lpc_ich.c cell->pdata_size = sizeof(*pdata); cell 901 drivers/mfd/lpc_ich.c struct mfd_cell *cell = &lpc_ich_gpio_cell; cell 903 drivers/mfd/lpc_ich.c cell->platform_data = &lpc_chipset_info[priv->chipset]; cell 904 drivers/mfd/lpc_ich.c cell->pdata_size = sizeof(struct lpc_ich_info); cell 117 drivers/mfd/lpc_sch.c int id, struct mfd_cell *cell) cell 130 drivers/mfd/lpc_sch.c memset(cell, 0, sizeof(*cell)); cell 132 drivers/mfd/lpc_sch.c cell->name = name; cell 133 drivers/mfd/lpc_sch.c cell->resources = res; cell 134 drivers/mfd/lpc_sch.c cell->num_resources = 1; cell 135 drivers/mfd/lpc_sch.c cell->ignore_resource_conflicts = true; cell 136 drivers/mfd/lpc_sch.c cell->id = id; cell 148 drivers/mfd/lpc_sch.c cell->num_resources++; cell 369 drivers/mfd/mc13xxx-core.c struct mfd_cell cell = { cell 378 drivers/mfd/mc13xxx-core.c cell.name = kmemdup(buf, strlen(buf) + 1, GFP_KERNEL); cell 379 drivers/mfd/mc13xxx-core.c if (!cell.name) cell 382 drivers/mfd/mc13xxx-core.c return mfd_add_devices(mc13xxx->dev, -1, &cell, 1, NULL, 0, cell 28 drivers/mfd/mfd-core.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 32 drivers/mfd/mfd-core.c if (atomic_inc_return(cell->usage_count) == 1) cell 33 drivers/mfd/mfd-core.c err = cell->enable(pdev); cell 37 drivers/mfd/mfd-core.c atomic_dec(cell->usage_count); cell 45 drivers/mfd/mfd-core.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 49 drivers/mfd/mfd-core.c if (atomic_dec_return(cell->usage_count) == 0) cell 50 drivers/mfd/mfd-core.c err = cell->disable(pdev); cell 54 drivers/mfd/mfd-core.c atomic_inc(cell->usage_count); cell 57 drivers/mfd/mfd-core.c WARN_ON(atomic_read(cell->usage_count) < 0); cell 64 drivers/mfd/mfd-core.c const struct mfd_cell *cell, cell 67 drivers/mfd/mfd-core.c if (!cell) cell 70 drivers/mfd/mfd-core.c pdev->mfd_cell = kmemdup(cell, sizeof(*cell), GFP_KERNEL); cell 79 drivers/mfd/mfd-core.c static void mfd_acpi_add_device(const struct mfd_cell *cell, cell 82 drivers/mfd/mfd-core.c const struct mfd_cell_acpi_match *match = cell->acpi_match; cell 130 drivers/mfd/mfd-core.c static inline void mfd_acpi_add_device(const struct mfd_cell *cell, cell 137 drivers/mfd/mfd-core.c const struct mfd_cell *cell, atomic_t *usage_count, cell 151 drivers/mfd/mfd-core.c platform_id = id + cell->id; cell 153 drivers/mfd/mfd-core.c pdev = platform_device_alloc(cell->name, platform_id); cell 157 drivers/mfd/mfd-core.c res = kcalloc(cell->num_resources, sizeof(*res), GFP_KERNEL); cell 168 drivers/mfd/mfd-core.c &pdev->dev, cell->parent_supplies, cell 169 drivers/mfd/mfd-core.c parent, cell->parent_supplies, cell 170 drivers/mfd/mfd-core.c cell->num_parent_supplies); cell 174 drivers/mfd/mfd-core.c if (parent->of_node && cell->of_compatible) { cell 176 drivers/mfd/mfd-core.c if (of_device_is_compatible(np, cell->of_compatible)) { cell 184 drivers/mfd/mfd-core.c mfd_acpi_add_device(cell, pdev); cell 186 drivers/mfd/mfd-core.c if (cell->pdata_size) { cell 188 drivers/mfd/mfd-core.c cell->platform_data, cell->pdata_size); cell 193 drivers/mfd/mfd-core.c if (cell->properties) { cell 194 drivers/mfd/mfd-core.c ret = platform_device_add_properties(pdev, cell->properties); cell 199 drivers/mfd/mfd-core.c ret = mfd_platform_add_cell(pdev, cell, usage_count); cell 203 drivers/mfd/mfd-core.c for (r = 0; r < cell->num_resources; r++) { cell 204 drivers/mfd/mfd-core.c res[r].name = cell->resources[r].name; cell 205 drivers/mfd/mfd-core.c res[r].flags = cell->resources[r].flags; cell 208 drivers/mfd/mfd-core.c if ((cell->resources[r].flags & IORESOURCE_MEM) && mem_base) { cell 211 drivers/mfd/mfd-core.c cell->resources[r].start; cell 213 drivers/mfd/mfd-core.c cell->resources[r].end; cell 214 drivers/mfd/mfd-core.c } else if (cell->resources[r].flags & IORESOURCE_IRQ) { cell 217 drivers/mfd/mfd-core.c WARN_ON(cell->resources[r].start != cell 218 drivers/mfd/mfd-core.c cell->resources[r].end); cell 220 drivers/mfd/mfd-core.c domain, cell->resources[r].start); cell 223 drivers/mfd/mfd-core.c cell->resources[r].start; cell 225 drivers/mfd/mfd-core.c cell->resources[r].end; cell 228 drivers/mfd/mfd-core.c res[r].parent = cell->resources[r].parent; cell 229 drivers/mfd/mfd-core.c res[r].start = cell->resources[r].start; cell 230 drivers/mfd/mfd-core.c res[r].end = cell->resources[r].end; cell 233 drivers/mfd/mfd-core.c if (!cell->ignore_resource_conflicts) { cell 242 drivers/mfd/mfd-core.c ret = platform_device_add_resources(pdev, res, cell->num_resources); cell 250 drivers/mfd/mfd-core.c if (cell->pm_runtime_no_callbacks) cell 259 drivers/mfd/mfd-core.c cell->parent_supplies, cell 260 drivers/mfd/mfd-core.c cell->num_parent_supplies); cell 318 drivers/mfd/mfd-core.c const struct mfd_cell *cell; cell 325 drivers/mfd/mfd-core.c cell = mfd_get_cell(pdev); cell 327 drivers/mfd/mfd-core.c regulator_bulk_unregister_supply_alias(dev, cell->parent_supplies, cell 328 drivers/mfd/mfd-core.c cell->num_parent_supplies); cell 331 drivers/mfd/mfd-core.c if (!*usage_count || (cell->usage_count < *usage_count)) cell 332 drivers/mfd/mfd-core.c *usage_count = cell->usage_count; cell 385 drivers/mfd/mfd-core.c int mfd_clone_cell(const char *cell, const char **clones, size_t n_clones) cell 393 drivers/mfd/mfd-core.c dev = bus_find_device_by_name(&platform_bus_type, NULL, cell); cell 395 drivers/mfd/mfd-core.c printk(KERN_ERR "failed to find device for cell %s\n", cell); cell 687 drivers/mfd/si476x-i2c.c struct mfd_cell *cell; cell 800 drivers/mfd/si476x-i2c.c cell = &core->cells[SI476X_RADIO_CELL]; cell 801 drivers/mfd/si476x-i2c.c cell->name = "si476x-radio"; cell 811 drivers/mfd/si476x-i2c.c cell = &core->cells[SI476X_CODEC_CELL]; cell 812 drivers/mfd/si476x-i2c.c cell->name = "si476x-codec"; cell 399 drivers/mfd/stmpe.c .cell = &stmpe_gpio_cell, cell 407 drivers/mfd/stmpe.c .cell = &stmpe_gpio_cell_noirq, cell 513 drivers/mfd/stmpe.c .cell = &stmpe_gpio_cell, cell 518 drivers/mfd/stmpe.c .cell = &stmpe_ts_cell, cell 523 drivers/mfd/stmpe.c .cell = &stmpe_adc_cell, cell 638 drivers/mfd/stmpe.c .cell = &stmpe_gpio_cell, cell 701 drivers/mfd/stmpe.c .cell = &stmpe_gpio_cell, cell 706 drivers/mfd/stmpe.c .cell = &stmpe_keypad_cell, cell 711 drivers/mfd/stmpe.c .cell = &stmpe_pwm_cell, cell 868 drivers/mfd/stmpe.c .cell = &stmpe_gpio_cell, cell 873 drivers/mfd/stmpe.c .cell = &stmpe_keypad_cell, cell 985 drivers/mfd/stmpe.c .cell = &stmpe_gpio_cell, cell 990 drivers/mfd/stmpe.c .cell = &stmpe_keypad_cell, cell 995 drivers/mfd/stmpe.c .cell = &stmpe_pwm_cell, cell 1297 drivers/mfd/stmpe.c static int stmpe_add_device(struct stmpe *stmpe, const struct mfd_cell *cell) cell 1299 drivers/mfd/stmpe.c return mfd_add_devices(stmpe->dev, stmpe->pdata->id, cell, 1, cell 1316 drivers/mfd/stmpe.c for (j = 0; j < block->cell->num_resources; j++) { cell 1318 drivers/mfd/stmpe.c (struct resource *) &block->cell->resources[j]; cell 1326 drivers/mfd/stmpe.c ret = stmpe_add_device(stmpe, block->cell); cell 41 drivers/mfd/stmpe.h const struct mfd_cell *cell; cell 128 drivers/mfd/ti_am335x_tscadc.c struct mfd_cell *cell; cell 250 drivers/mfd/ti_am335x_tscadc.c cell = &tscadc->cells[tscadc->used_cells++]; cell 251 drivers/mfd/ti_am335x_tscadc.c cell->name = "TI-am335x-tsc"; cell 252 drivers/mfd/ti_am335x_tscadc.c cell->of_compatible = "ti,am3359-tsc"; cell 253 drivers/mfd/ti_am335x_tscadc.c cell->platform_data = &tscadc; cell 254 drivers/mfd/ti_am335x_tscadc.c cell->pdata_size = sizeof(tscadc); cell 260 drivers/mfd/ti_am335x_tscadc.c cell = &tscadc->cells[tscadc->used_cells++]; cell 261 drivers/mfd/ti_am335x_tscadc.c cell->name = "TI-am335x-adc"; cell 262 drivers/mfd/ti_am335x_tscadc.c cell->of_compatible = "ti,am3359-adc"; cell 263 drivers/mfd/ti_am335x_tscadc.c cell->platform_data = &tscadc; cell 264 drivers/mfd/ti_am335x_tscadc.c cell->pdata_size = sizeof(tscadc); cell 85 drivers/mfd/tps6105x.c struct mfd_cell *cell) cell 87 drivers/mfd/tps6105x.c cell->platform_data = tps6105x; cell 88 drivers/mfd/tps6105x.c cell->pdata_size = sizeof(*tps6105x); cell 91 drivers/mfd/tps6105x.c PLATFORM_DEVID_AUTO, cell, 1, NULL, 0, NULL); cell 183 drivers/mfd/twl4030-audio.c struct mfd_cell *cell = NULL; cell 226 drivers/mfd/twl4030-audio.c cell = &audio->cells[childs]; cell 227 drivers/mfd/twl4030-audio.c cell->name = "twl4030-codec"; cell 229 drivers/mfd/twl4030-audio.c cell->platform_data = pdata->codec; cell 230 drivers/mfd/twl4030-audio.c cell->pdata_size = sizeof(*pdata->codec); cell 235 drivers/mfd/twl4030-audio.c cell = &audio->cells[childs]; cell 236 drivers/mfd/twl4030-audio.c cell->name = "twl4030-vibra"; cell 238 drivers/mfd/twl4030-audio.c cell->platform_data = pdata->vibra; cell 239 drivers/mfd/twl4030-audio.c cell->pdata_size = sizeof(*pdata->vibra); cell 641 drivers/mfd/twl6040.c struct mfd_cell *cell = NULL; cell 762 drivers/mfd/twl6040.c cell = &twl6040->cells[children]; cell 763 drivers/mfd/twl6040.c cell->name = "twl6040-codec"; cell 766 drivers/mfd/twl6040.c cell->resources = twl6040_codec_rsrc; cell 767 drivers/mfd/twl6040.c cell->num_resources = ARRAY_SIZE(twl6040_codec_rsrc); cell 774 drivers/mfd/twl6040.c cell = &twl6040->cells[children]; cell 775 drivers/mfd/twl6040.c cell->name = "twl6040-vibra"; cell 778 drivers/mfd/twl6040.c cell->resources = twl6040_vibra_rsrc; cell 779 drivers/mfd/twl6040.c cell->num_resources = ARRAY_SIZE(twl6040_vibra_rsrc); cell 784 drivers/mfd/twl6040.c cell = &twl6040->cells[children]; cell 785 drivers/mfd/twl6040.c cell->name = "twl6040-gpo"; cell 789 drivers/mfd/twl6040.c cell = &twl6040->cells[children]; cell 790 drivers/mfd/twl6040.c cell->name = "twl6040-pdmclk"; cell 164 drivers/mfd/wl1273-core.c struct mfd_cell *cell; cell 192 drivers/mfd/wl1273-core.c cell = &core->cells[children]; cell 193 drivers/mfd/wl1273-core.c cell->name = "wl1273_fm_radio"; cell 194 drivers/mfd/wl1273-core.c cell->platform_data = &core; cell 195 drivers/mfd/wl1273-core.c cell->pdata_size = sizeof(core); cell 205 drivers/mfd/wl1273-core.c cell = &core->cells[children]; cell 208 drivers/mfd/wl1273-core.c cell->name = "wl1273-codec"; cell 209 drivers/mfd/wl1273-core.c cell->platform_data = &core; cell 210 drivers/mfd/wl1273-core.c cell->pdata_size = sizeof(core); cell 35 drivers/mfd/wm8400-core.c const struct mfd_cell cell = { cell 41 drivers/mfd/wm8400-core.c return devm_mfd_add_devices(wm8400->dev, -1, &cell, 1, NULL, 0, NULL); cell 98 drivers/mmc/host/tmio_mmc.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 104 drivers/mmc/host/tmio_mmc.c if (!ret && cell->disable) cell 105 drivers/mmc/host/tmio_mmc.c cell->disable(pdev); cell 113 drivers/mmc/host/tmio_mmc.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 117 drivers/mmc/host/tmio_mmc.c if (cell->resume) cell 118 drivers/mmc/host/tmio_mmc.c ret = cell->resume(pdev); cell 129 drivers/mmc/host/tmio_mmc.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 149 drivers/mmc/host/tmio_mmc.c if (cell->enable) { cell 150 drivers/mmc/host/tmio_mmc.c ret = cell->enable(pdev); cell 195 drivers/mmc/host/tmio_mmc.c if (cell->disable) cell 196 drivers/mmc/host/tmio_mmc.c cell->disable(pdev); cell 203 drivers/mmc/host/tmio_mmc.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 207 drivers/mmc/host/tmio_mmc.c if (cell->disable) cell 208 drivers/mmc/host/tmio_mmc.c cell->disable(pdev); cell 307 drivers/mtd/nand/raw/tmio_nand.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 310 drivers/mtd/nand/raw/tmio_nand.c if (cell->enable) { cell 311 drivers/mtd/nand/raw/tmio_nand.c ret = cell->enable(dev); cell 351 drivers/mtd/nand/raw/tmio_nand.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 354 drivers/mtd/nand/raw/tmio_nand.c if (cell->disable) cell 355 drivers/mtd/nand/raw/tmio_nand.c cell->disable(dev); cell 470 drivers/mtd/nand/raw/tmio_nand.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 472 drivers/mtd/nand/raw/tmio_nand.c if (cell->suspend) cell 473 drivers/mtd/nand/raw/tmio_nand.c cell->suspend(dev); cell 481 drivers/mtd/nand/raw/tmio_nand.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 488 drivers/mtd/nand/raw/tmio_nand.c if (cell->resume) cell 489 drivers/mtd/nand/raw/tmio_nand.c cell->resume(dev); cell 204 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c struct hinic_api_cmd_cell *cell = chain->curr_node; cell 213 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c cell->desc = HINIC_API_CMD_DESC_SET(SGE_DATA, API_TYPE) | cell 223 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c cell->desc |= HINIC_API_CMD_DESC_SET(dest, DEST) | cell 226 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c cell->desc |= HINIC_API_CMD_DESC_SET(xor_chksum_set(&cell->desc), cell 230 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c cell->desc = cpu_to_be64(cell->desc); cell 598 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c struct hinic_api_cmd_cell *cell, int cell_idx) cell 623 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c cell->write.hw_cmd_paddr = cpu_to_be64(cmd_paddr); cell 1220 drivers/net/ethernet/ni/nixge.c struct nvmem_cell *cell; cell 1224 drivers/net/ethernet/ni/nixge.c cell = nvmem_cell_get(dev, "address"); cell 1225 drivers/net/ethernet/ni/nixge.c if (IS_ERR(cell)) cell 1228 drivers/net/ethernet/ni/nixge.c mac = nvmem_cell_read(cell, &cell_size); cell 1229 drivers/net/ethernet/ni/nixge.c nvmem_cell_put(cell); cell 106 drivers/nvmem/core.c static void nvmem_cell_drop(struct nvmem_cell *cell) cell 108 drivers/nvmem/core.c blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_REMOVE, cell); cell 110 drivers/nvmem/core.c list_del(&cell->node); cell 112 drivers/nvmem/core.c of_node_put(cell->np); cell 113 drivers/nvmem/core.c kfree_const(cell->name); cell 114 drivers/nvmem/core.c kfree(cell); cell 119 drivers/nvmem/core.c struct nvmem_cell *cell, *p; cell 121 drivers/nvmem/core.c list_for_each_entry_safe(cell, p, &nvmem->cells, node) cell 122 drivers/nvmem/core.c nvmem_cell_drop(cell); cell 125 drivers/nvmem/core.c static void nvmem_cell_add(struct nvmem_cell *cell) cell 128 drivers/nvmem/core.c list_add_tail(&cell->node, &cell->nvmem->cells); cell 130 drivers/nvmem/core.c blocking_notifier_call_chain(&nvmem_notifier, NVMEM_CELL_ADD, cell); cell 135 drivers/nvmem/core.c struct nvmem_cell *cell) cell 137 drivers/nvmem/core.c cell->nvmem = nvmem; cell 138 drivers/nvmem/core.c cell->offset = info->offset; cell 139 drivers/nvmem/core.c cell->bytes = info->bytes; cell 140 drivers/nvmem/core.c cell->name = kstrdup_const(info->name, GFP_KERNEL); cell 141 drivers/nvmem/core.c if (!cell->name) cell 144 drivers/nvmem/core.c cell->bit_offset = info->bit_offset; cell 145 drivers/nvmem/core.c cell->nbits = info->nbits; cell 147 drivers/nvmem/core.c if (cell->nbits) cell 148 drivers/nvmem/core.c cell->bytes = DIV_ROUND_UP(cell->nbits + cell->bit_offset, cell 151 drivers/nvmem/core.c if (!IS_ALIGNED(cell->offset, nvmem->stride)) { cell 154 drivers/nvmem/core.c cell->name, nvmem->stride); cell 240 drivers/nvmem/core.c struct nvmem_cell *cell; cell 249 drivers/nvmem/core.c cell = kzalloc(sizeof(*cell), GFP_KERNEL); cell 250 drivers/nvmem/core.c if (!cell) { cell 257 drivers/nvmem/core.c cell); cell 259 drivers/nvmem/core.c kfree(cell); cell 263 drivers/nvmem/core.c nvmem_cell_add(cell); cell 276 drivers/nvmem/core.c struct nvmem_cell *iter, *cell = NULL; cell 281 drivers/nvmem/core.c cell = iter; cell 287 drivers/nvmem/core.c return cell; cell 294 drivers/nvmem/core.c struct nvmem_cell *cell; cell 307 drivers/nvmem/core.c cell = kzalloc(sizeof(*cell), GFP_KERNEL); cell 308 drivers/nvmem/core.c if (!cell) cell 311 drivers/nvmem/core.c cell->nvmem = nvmem; cell 312 drivers/nvmem/core.c cell->np = of_node_get(child); cell 313 drivers/nvmem/core.c cell->offset = be32_to_cpup(addr++); cell 314 drivers/nvmem/core.c cell->bytes = be32_to_cpup(addr); cell 315 drivers/nvmem/core.c cell->name = kasprintf(GFP_KERNEL, "%pOFn", child); cell 319 drivers/nvmem/core.c cell->bit_offset = be32_to_cpup(addr++); cell 320 drivers/nvmem/core.c cell->nbits = be32_to_cpup(addr); cell 323 drivers/nvmem/core.c if (cell->nbits) cell 324 drivers/nvmem/core.c cell->bytes = DIV_ROUND_UP( cell 325 drivers/nvmem/core.c cell->nbits + cell->bit_offset, cell 328 drivers/nvmem/core.c if (!IS_ALIGNED(cell->offset, nvmem->stride)) { cell 330 drivers/nvmem/core.c cell->name, nvmem->stride); cell 332 drivers/nvmem/core.c kfree_const(cell->name); cell 333 drivers/nvmem/core.c kfree(cell); cell 337 drivers/nvmem/core.c nvmem_cell_add(cell); cell 699 drivers/nvmem/core.c struct nvmem_cell *cell = ERR_PTR(-ENOENT); cell 718 drivers/nvmem/core.c cell = ERR_CAST(nvmem); cell 722 drivers/nvmem/core.c cell = nvmem_find_cell_by_name(nvmem, cell 724 drivers/nvmem/core.c if (!cell) { cell 726 drivers/nvmem/core.c cell = ERR_PTR(-ENOENT); cell 733 drivers/nvmem/core.c return cell; cell 740 drivers/nvmem/core.c struct nvmem_cell *iter, *cell = NULL; cell 745 drivers/nvmem/core.c cell = iter; cell 751 drivers/nvmem/core.c return cell; cell 770 drivers/nvmem/core.c struct nvmem_cell *cell; cell 790 drivers/nvmem/core.c cell = nvmem_find_cell_by_node(nvmem, cell_np); cell 791 drivers/nvmem/core.c if (!cell) { cell 796 drivers/nvmem/core.c return cell; cell 815 drivers/nvmem/core.c struct nvmem_cell *cell; cell 818 drivers/nvmem/core.c cell = of_nvmem_cell_get(dev->of_node, id); cell 819 drivers/nvmem/core.c if (!IS_ERR(cell) || PTR_ERR(cell) == -EPROBE_DEFER) cell 820 drivers/nvmem/core.c return cell; cell 848 drivers/nvmem/core.c struct nvmem_cell **ptr, *cell; cell 854 drivers/nvmem/core.c cell = nvmem_cell_get(dev, id); cell 855 drivers/nvmem/core.c if (!IS_ERR(cell)) { cell 856 drivers/nvmem/core.c *ptr = cell; cell 862 drivers/nvmem/core.c return cell; cell 883 drivers/nvmem/core.c void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell) cell 888 drivers/nvmem/core.c devm_nvmem_cell_match, cell); cell 899 drivers/nvmem/core.c void nvmem_cell_put(struct nvmem_cell *cell) cell 901 drivers/nvmem/core.c struct nvmem_device *nvmem = cell->nvmem; cell 907 drivers/nvmem/core.c static void nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, void *buf) cell 910 drivers/nvmem/core.c int i, extra, bit_offset = cell->bit_offset; cell 918 drivers/nvmem/core.c for (i = 1; i < cell->bytes; i++) { cell 927 drivers/nvmem/core.c p += cell->bytes - 1; cell 931 drivers/nvmem/core.c extra = cell->bytes - DIV_ROUND_UP(cell->nbits, BITS_PER_BYTE); cell 936 drivers/nvmem/core.c *p &= GENMASK((cell->nbits%BITS_PER_BYTE) - 1, 0); cell 940 drivers/nvmem/core.c struct nvmem_cell *cell, cell 945 drivers/nvmem/core.c rc = nvmem_reg_read(nvmem, cell->offset, buf, cell->bytes); cell 951 drivers/nvmem/core.c if (cell->bit_offset || cell->nbits) cell 952 drivers/nvmem/core.c nvmem_shift_read_buffer_in_place(cell, buf); cell 955 drivers/nvmem/core.c *len = cell->bytes; cell 970 drivers/nvmem/core.c void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len) cell 972 drivers/nvmem/core.c struct nvmem_device *nvmem = cell->nvmem; cell 979 drivers/nvmem/core.c buf = kzalloc(cell->bytes, GFP_KERNEL); cell 983 drivers/nvmem/core.c rc = __nvmem_cell_read(nvmem, cell, buf, len); cell 993 drivers/nvmem/core.c static void *nvmem_cell_prepare_write_buffer(struct nvmem_cell *cell, cell 996 drivers/nvmem/core.c struct nvmem_device *nvmem = cell->nvmem; cell 997 drivers/nvmem/core.c int i, rc, nbits, bit_offset = cell->bit_offset; cell 1000 drivers/nvmem/core.c nbits = cell->nbits; cell 1001 drivers/nvmem/core.c buf = kzalloc(cell->bytes, GFP_KERNEL); cell 1013 drivers/nvmem/core.c rc = nvmem_reg_read(nvmem, cell->offset, &v, 1); cell 1019 drivers/nvmem/core.c for (i = 1; i < cell->bytes; i++) { cell 1033 drivers/nvmem/core.c cell->offset + cell->bytes - 1, &v, 1); cell 1055 drivers/nvmem/core.c int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len) cell 1057 drivers/nvmem/core.c struct nvmem_device *nvmem = cell->nvmem; cell 1061 drivers/nvmem/core.c (cell->bit_offset == 0 && len != cell->bytes)) cell 1064 drivers/nvmem/core.c if (cell->bit_offset || cell->nbits) { cell 1065 drivers/nvmem/core.c buf = nvmem_cell_prepare_write_buffer(cell, buf, len); cell 1070 drivers/nvmem/core.c rc = nvmem_reg_write(nvmem, cell->offset, buf, cell->bytes); cell 1073 drivers/nvmem/core.c if (cell->bit_offset || cell->nbits) cell 1094 drivers/nvmem/core.c struct nvmem_cell *cell; cell 1098 drivers/nvmem/core.c cell = nvmem_cell_get(dev, cell_id); cell 1099 drivers/nvmem/core.c if (IS_ERR(cell)) cell 1100 drivers/nvmem/core.c return PTR_ERR(cell); cell 1102 drivers/nvmem/core.c buf = nvmem_cell_read(cell, &len); cell 1104 drivers/nvmem/core.c nvmem_cell_put(cell); cell 1109 drivers/nvmem/core.c nvmem_cell_put(cell); cell 1114 drivers/nvmem/core.c nvmem_cell_put(cell); cell 1131 drivers/nvmem/core.c struct nvmem_cell *cell; cell 1135 drivers/nvmem/core.c cell = nvmem_cell_get(dev, cell_id); cell 1136 drivers/nvmem/core.c if (IS_ERR(cell)) cell 1137 drivers/nvmem/core.c return PTR_ERR(cell); cell 1139 drivers/nvmem/core.c buf = nvmem_cell_read(cell, &len); cell 1141 drivers/nvmem/core.c nvmem_cell_put(cell); cell 1146 drivers/nvmem/core.c nvmem_cell_put(cell); cell 1152 drivers/nvmem/core.c nvmem_cell_put(cell); cell 1170 drivers/nvmem/core.c struct nvmem_cell cell; cell 1177 drivers/nvmem/core.c rc = nvmem_cell_info_to_nvmem_cell(nvmem, info, &cell); cell 1181 drivers/nvmem/core.c rc = __nvmem_cell_read(nvmem, &cell, buf, &len); cell 1201 drivers/nvmem/core.c struct nvmem_cell cell; cell 1207 drivers/nvmem/core.c rc = nvmem_cell_info_to_nvmem_cell(nvmem, info, &cell); cell 1211 drivers/nvmem/core.c return nvmem_cell_write(&cell, buf, cell.bytes); cell 378 drivers/of/base.c const __be32 *cell; cell 383 drivers/of/base.c cell = of_get_property(cpun, prop_name, &prop_len); cell 384 drivers/of/base.c if (!cell && !ac && arch_match_cpu_phys_id(cpu, 0)) cell 386 drivers/of/base.c if (!cell || !ac) cell 388 drivers/of/base.c prop_len /= sizeof(*cell) * ac; cell 390 drivers/of/base.c hwid = of_read_number(cell, ac); cell 396 drivers/of/base.c cell += ac; cell 363 drivers/parisc/iosapic.c unsigned long cell = 0; cell 374 drivers/parisc/iosapic.c cell = cell_info.cell_num; cell 380 drivers/parisc/iosapic.c irt_num_entry = iosapic_load_irt(cell, &irt_cell); cell 320 drivers/phy/qualcomm/phy-qcom-qusb2.c struct nvmem_cell *cell; cell 438 drivers/phy/qualcomm/phy-qcom-qusb2.c if (!qphy->cell) cell 448 drivers/phy/qualcomm/phy-qcom-qusb2.c val = nvmem_cell_read(qphy->cell, NULL); cell 857 drivers/phy/qualcomm/phy-qcom-qusb2.c qphy->cell = devm_nvmem_cell_get(dev, NULL); cell 858 drivers/phy/qualcomm/phy-qcom-qusb2.c if (IS_ERR(qphy->cell)) { cell 859 drivers/phy/qualcomm/phy-qcom-qusb2.c if (PTR_ERR(qphy->cell) == -EPROBE_DEFER) cell 861 drivers/phy/qualcomm/phy-qcom-qusb2.c qphy->cell = NULL; cell 970 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c struct nvmem_cell *cell; cell 990 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c cell = nvmem_cell_get(inno->dev, "cpu-version"); cell 991 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c if (IS_ERR(cell)) { cell 992 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c if (PTR_ERR(cell) == -EPROBE_DEFER) cell 998 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c efuse_buf = nvmem_cell_read(cell, &len); cell 999 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c nvmem_cell_put(cell); cell 101 drivers/phy/socionext/phy-uniphier-usb3hs.c struct nvmem_cell *cell; cell 104 drivers/phy/socionext/phy-uniphier-usb3hs.c cell = devm_nvmem_cell_get(priv->dev, name); cell 105 drivers/phy/socionext/phy-uniphier-usb3hs.c if (IS_ERR(cell)) cell 106 drivers/phy/socionext/phy-uniphier-usb3hs.c return PTR_ERR(cell); cell 108 drivers/phy/socionext/phy-uniphier-usb3hs.c buf = nvmem_cell_read(cell, NULL); cell 93 drivers/platform/mellanox/mlxreg-hotplug.c u32 cell; cell 430 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_write(priv->regmap, pdata->cell + cell 436 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_read(priv->regmap, pdata->cell, ®val); cell 487 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_write(priv->regmap, pdata->cell + cell 544 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_write(priv->regmap, pdata->cell + cell 586 drivers/platform/mellanox/mlxreg-hotplug.c regmap_write(priv->regmap, pdata->cell + MLXREG_HOTPLUG_AGGR_MASK_OFF, cell 192 drivers/platform/x86/mlx-platform.c .cell = MLXPLAT_CPLD_LPC_REG_AGGR_OFFSET, cell 397 drivers/platform/x86/mlx-platform.c .cell = MLXPLAT_CPLD_LPC_REG_AGGR_OFFSET, cell 444 drivers/platform/x86/mlx-platform.c .cell = MLXPLAT_CPLD_LPC_REG_AGGR_OFFSET, cell 555 drivers/platform/x86/mlx-platform.c .cell = MLXPLAT_CPLD_LPC_REG_AGGR_OFFSET, cell 602 drivers/platform/x86/mlx-platform.c .cell = MLXPLAT_CPLD_LPC_REG_AGGR_OFFSET, cell 720 drivers/platform/x86/mlx-platform.c .cell = MLXPLAT_CPLD_LPC_REG_AGGR_OFFSET, cell 16 drivers/power/reset/nvmem-reboot-mode.c struct nvmem_cell *cell; cell 27 drivers/power/reset/nvmem-reboot-mode.c ret = nvmem_cell_write(nvmem_rbm->cell, &magic, sizeof(magic)); cell 46 drivers/power/reset/nvmem-reboot-mode.c nvmem_rbm->cell = devm_nvmem_cell_get(&pdev->dev, "reboot-mode"); cell 47 drivers/power/reset/nvmem-reboot-mode.c if (IS_ERR(nvmem_rbm->cell)) { cell 49 drivers/power/reset/nvmem-reboot-mode.c return PTR_ERR(nvmem_rbm->cell); cell 863 drivers/power/supply/sc27xx_fuel_gauge.c struct nvmem_cell *cell; cell 868 drivers/power/supply/sc27xx_fuel_gauge.c cell = nvmem_cell_get(data->dev, "fgu_calib"); cell 869 drivers/power/supply/sc27xx_fuel_gauge.c if (IS_ERR(cell)) cell 870 drivers/power/supply/sc27xx_fuel_gauge.c return PTR_ERR(cell); cell 872 drivers/power/supply/sc27xx_fuel_gauge.c buf = nvmem_cell_read(cell, &len); cell 873 drivers/power/supply/sc27xx_fuel_gauge.c nvmem_cell_put(cell); cell 394 drivers/regulator/da9052-regulator.c const struct mfd_cell *cell = mfd_get_cell(pdev); cell 410 drivers/regulator/da9052-regulator.c cell->id); cell 420 drivers/regulator/da9052-regulator.c config.init_data = pdata->regulators[cell->id]; cell 1087 drivers/s390/char/tty3270.c struct tty3270_cell *cell; cell 1092 drivers/s390/char/tty3270.c cell = line->cells + line->len; cell 1093 drivers/s390/char/tty3270.c cell->character = tp->view.ascebc[' ']; cell 1094 drivers/s390/char/tty3270.c cell->highlight = tp->highlight; cell 1095 drivers/s390/char/tty3270.c cell->f_color = tp->f_color; cell 1100 drivers/s390/char/tty3270.c cell = line->cells + tp->cx; cell 1101 drivers/s390/char/tty3270.c cell->character = tp->view.ascebc[(unsigned int) ch]; cell 1102 drivers/s390/char/tty3270.c cell->highlight = tp->highlight; cell 1103 drivers/s390/char/tty3270.c cell->f_color = tp->f_color; cell 1113 drivers/s390/char/tty3270.c struct tty3270_cell *cell; cell 1126 drivers/s390/char/tty3270.c for (i = 0, cell = line->cells; i < line->len; i++, cell++) { cell 1127 drivers/s390/char/tty3270.c if (cell->highlight != highlight) { cell 1129 drivers/s390/char/tty3270.c highlight = cell->highlight; cell 1131 drivers/s390/char/tty3270.c if (cell->f_color != f_color) { cell 1133 drivers/s390/char/tty3270.c f_color = cell->f_color; cell 1170 drivers/s390/char/tty3270.c for (i = 0, cell = line->cells; i < line->len; i++, cell++) { cell 1171 drivers/s390/char/tty3270.c if (cell->highlight != highlight) { cell 1174 drivers/s390/char/tty3270.c *cp++ = cell->highlight; cell 1175 drivers/s390/char/tty3270.c highlight = cell->highlight; cell 1177 drivers/s390/char/tty3270.c if (cell->f_color != f_color) { cell 1180 drivers/s390/char/tty3270.c *cp++ = cell->f_color; cell 1181 drivers/s390/char/tty3270.c f_color = cell->f_color; cell 1183 drivers/s390/char/tty3270.c *cp++ = cell->character; cell 1314 drivers/s390/char/tty3270.c struct tty3270_cell *cell; cell 1318 drivers/s390/char/tty3270.c cell = line->cells + tp->cx++; cell 1319 drivers/s390/char/tty3270.c cell->character = ' '; cell 1320 drivers/s390/char/tty3270.c cell->highlight = TAX_RESET; cell 1321 drivers/s390/char/tty3270.c cell->f_color = TAC_RESET; cell 1337 drivers/s390/char/tty3270.c struct tty3270_cell *cell; cell 1345 drivers/s390/char/tty3270.c cell = line->cells + i; cell 1346 drivers/s390/char/tty3270.c cell->character = ' '; cell 1347 drivers/s390/char/tty3270.c cell->highlight = TAX_RESET; cell 1348 drivers/s390/char/tty3270.c cell->f_color = TAC_RESET; cell 99 drivers/staging/kpc2000/kpc2000/cell_probe.c struct mfd_cell cell = { .id = core_num, .name = name }; cell 112 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.platform_data = &core_pdata; cell 113 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.pdata_size = sizeof(struct kpc_core_device_platdata); cell 114 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.num_resources = 2; cell 126 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.resources = resources; cell 130 drivers/staging/kpc2000/kpc2000/cell_probe.c &cell, // struct mfd_cell * cell 346 drivers/staging/kpc2000/kpc2000/cell_probe.c struct mfd_cell cell = { .id = engine_num }; cell 349 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.platform_data = NULL; cell 350 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.pdata_size = 0; cell 351 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.name = KP_DRIVER_NAME_DMA_CONTROLLER; cell 352 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.num_resources = 2; cell 364 drivers/staging/kpc2000/kpc2000/cell_probe.c cell.resources = resources; cell 368 drivers/staging/kpc2000/kpc2000/cell_probe.c &cell, // struct mfd_cell * cell 764 drivers/thermal/mtk_thermal.c struct nvmem_cell *cell; cell 776 drivers/thermal/mtk_thermal.c cell = nvmem_cell_get(dev, "calibration-data"); cell 777 drivers/thermal/mtk_thermal.c if (IS_ERR(cell)) { cell 778 drivers/thermal/mtk_thermal.c if (PTR_ERR(cell) == -EPROBE_DEFER) cell 779 drivers/thermal/mtk_thermal.c return PTR_ERR(cell); cell 783 drivers/thermal/mtk_thermal.c buf = (u32 *)nvmem_cell_read(cell, &len); cell 785 drivers/thermal/mtk_thermal.c nvmem_cell_put(cell); cell 17 drivers/thermal/qcom/tsens-common.c struct nvmem_cell *cell; cell 21 drivers/thermal/qcom/tsens-common.c cell = nvmem_cell_get(dev, cname); cell 22 drivers/thermal/qcom/tsens-common.c if (IS_ERR(cell)) cell 23 drivers/thermal/qcom/tsens-common.c return ERR_CAST(cell); cell 25 drivers/thermal/qcom/tsens-common.c ret = nvmem_cell_read(cell, &data); cell 26 drivers/thermal/qcom/tsens-common.c nvmem_cell_put(cell); cell 189 drivers/usb/host/ohci-tmio.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 202 drivers/usb/host/ohci-tmio.c if (!cell) cell 230 drivers/usb/host/ohci-tmio.c if (cell->enable) { cell 231 drivers/usb/host/ohci-tmio.c ret = cell->enable(dev); cell 257 drivers/usb/host/ohci-tmio.c if (cell->disable) cell 258 drivers/usb/host/ohci-tmio.c cell->disable(dev); cell 274 drivers/usb/host/ohci-tmio.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 278 drivers/usb/host/ohci-tmio.c if (cell->disable) cell 279 drivers/usb/host/ohci-tmio.c cell->disable(dev); cell 290 drivers/usb/host/ohci-tmio.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 310 drivers/usb/host/ohci-tmio.c if (cell->suspend) { cell 311 drivers/usb/host/ohci-tmio.c ret = cell->suspend(dev); cell 320 drivers/usb/host/ohci-tmio.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 332 drivers/usb/host/ohci-tmio.c if (cell->resume) { cell 333 drivers/usb/host/ohci-tmio.c ret = cell->resume(dev); cell 262 drivers/video/fbdev/tmiofb.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 265 drivers/video/fbdev/tmiofb.c const struct resource *nlcr = &cell->resources[0]; cell 266 drivers/video/fbdev/tmiofb.c const struct resource *vram = &cell->resources[2]; cell 672 drivers/video/fbdev/tmiofb.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 759 drivers/video/fbdev/tmiofb.c if (cell->enable) { cell 760 drivers/video/fbdev/tmiofb.c retval = cell->enable(dev); cell 784 drivers/video/fbdev/tmiofb.c if (cell->disable) cell 785 drivers/video/fbdev/tmiofb.c cell->disable(dev); cell 802 drivers/video/fbdev/tmiofb.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 813 drivers/video/fbdev/tmiofb.c if (cell->disable) cell 814 drivers/video/fbdev/tmiofb.c cell->disable(dev); cell 930 drivers/video/fbdev/tmiofb.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 951 drivers/video/fbdev/tmiofb.c if (cell->suspend) cell 952 drivers/video/fbdev/tmiofb.c retval = cell->suspend(dev); cell 962 drivers/video/fbdev/tmiofb.c const struct mfd_cell *cell = mfd_get_cell(dev); cell 967 drivers/video/fbdev/tmiofb.c if (cell->resume) { cell 968 drivers/video/fbdev/tmiofb.c retval = cell->resume(dev); cell 101 drivers/w1/masters/ds1wm.c const struct mfd_cell *cell; cell 314 drivers/w1/masters/ds1wm.c if (ds1wm_data->cell->enable) cell 315 drivers/w1/masters/ds1wm.c ds1wm_data->cell->enable(ds1wm_data->pdev); cell 341 drivers/w1/masters/ds1wm.c if (ds1wm_data->cell->disable) cell 342 drivers/w1/masters/ds1wm.c ds1wm_data->cell->disable(ds1wm_data->pdev); cell 532 drivers/w1/masters/ds1wm.c ds1wm_data->cell = mfd_get_cell(pdev); cell 533 drivers/w1/masters/ds1wm.c if (!ds1wm_data->cell) cell 258 drivers/watchdog/rave-sp-wdt.c struct nvmem_cell *cell; cell 278 drivers/watchdog/rave-sp-wdt.c cell = nvmem_cell_get(dev, "wdt-timeout"); cell 279 drivers/watchdog/rave-sp-wdt.c if (!IS_ERR(cell)) { cell 281 drivers/watchdog/rave-sp-wdt.c void *value = nvmem_cell_read(cell, &len); cell 287 drivers/watchdog/rave-sp-wdt.c nvmem_cell_put(cell); cell 241 fs/afs/addr_list.c struct afs_vlserver_list *afs_dns_query(struct afs_cell *cell, time64_t *_expiry) cell 247 fs/afs/addr_list.c _enter("%s", cell->name); cell 249 fs/afs/addr_list.c ret = dns_query(cell->net->net, "afsdb", cell->name, cell->name_len, cell 260 fs/afs/addr_list.c vllist = afs_extract_vlserver_list(cell, result, ret); cell 262 fs/afs/addr_list.c vllist = afs_parse_text_addrs(cell->net, result, ret, ',', cell 50 fs/afs/cell.c struct afs_cell *cell = NULL; cell 66 fs/afs/cell.c if (cell) cell 67 fs/afs/cell.c afs_put_cell(net, cell); cell 68 fs/afs/cell.c cell = NULL; cell 74 fs/afs/cell.c cell = rcu_dereference_raw(net->ws_cell); cell 75 fs/afs/cell.c if (cell) { cell 76 fs/afs/cell.c afs_get_cell(cell); cell 86 fs/afs/cell.c cell = rb_entry(p, struct afs_cell, net_node); cell 88 fs/afs/cell.c n = strncasecmp(cell->name, name, cell 89 fs/afs/cell.c min_t(size_t, cell->name_len, namesz)); cell 91 fs/afs/cell.c n = cell->name_len - namesz; cell 97 fs/afs/cell.c if (atomic_inc_not_zero(&cell->usage)) { cell 105 fs/afs/cell.c cell = NULL; cell 112 fs/afs/cell.c if (ret != 0 && cell) cell 113 fs/afs/cell.c afs_put_cell(net, cell); cell 115 fs/afs/cell.c return ret == 0 ? cell : ERR_PTR(ret); cell 127 fs/afs/cell.c struct afs_cell *cell; cell 151 fs/afs/cell.c cell = kzalloc(sizeof(struct afs_cell), GFP_KERNEL); cell 152 fs/afs/cell.c if (!cell) { cell 157 fs/afs/cell.c cell->net = net; cell 158 fs/afs/cell.c cell->name_len = namelen; cell 160 fs/afs/cell.c cell->name[i] = tolower(name[i]); cell 162 fs/afs/cell.c atomic_set(&cell->usage, 2); cell 163 fs/afs/cell.c INIT_WORK(&cell->manager, afs_manage_cell); cell 164 fs/afs/cell.c INIT_LIST_HEAD(&cell->proc_volumes); cell 165 fs/afs/cell.c rwlock_init(&cell->proc_lock); cell 166 fs/afs/cell.c rwlock_init(&cell->vl_servers_lock); cell 182 fs/afs/cell.c cell->dns_expiry = TIME64_MAX; cell 190 fs/afs/cell.c cell->dns_expiry = ktime_get_real_seconds(); cell 193 fs/afs/cell.c rcu_assign_pointer(cell->vl_servers, vllist); cell 195 fs/afs/cell.c cell->dns_source = vllist->source; cell 196 fs/afs/cell.c cell->dns_status = vllist->status; cell 197 fs/afs/cell.c smp_store_release(&cell->dns_lookup_count, 1); /* vs source/status */ cell 199 fs/afs/cell.c _leave(" = %p", cell); cell 200 fs/afs/cell.c return cell; cell 206 fs/afs/cell.c kfree(cell); cell 228 fs/afs/cell.c struct afs_cell *cell, *candidate, *cursor; cell 237 fs/afs/cell.c cell = afs_lookup_cell_rcu(net, name, namesz); cell 239 fs/afs/cell.c if (!IS_ERR(cell)) cell 279 fs/afs/cell.c cell = candidate; cell 281 fs/afs/cell.c rb_link_node_rcu(&cell->net_node, parent, pp); cell 282 fs/afs/cell.c rb_insert_color(&cell->net_node, &net->cells); cell 286 fs/afs/cell.c queue_work(afs_wq, &cell->manager); cell 290 fs/afs/cell.c wait_var_event(&cell->state, cell 292 fs/afs/cell.c state = smp_load_acquire(&cell->state); /* vs error */ cell 298 fs/afs/cell.c ret = cell->error; cell 302 fs/afs/cell.c _leave(" = %p [cell]", cell); cell 303 fs/afs/cell.c return cell; cell 307 fs/afs/cell.c cell = cursor; cell 320 fs/afs/cell.c afs_put_cell(net, cell); cell 381 fs/afs/cell.c static int afs_update_cell(struct afs_cell *cell) cell 389 fs/afs/cell.c _enter("%s", cell->name); cell 391 fs/afs/cell.c vllist = afs_dns_query(cell, &expiry); cell 395 fs/afs/cell.c _debug("%s: fail %d", cell->name, ret); cell 419 fs/afs/cell.c _debug("%s: got list %d %d", cell->name, vllist->source, vllist->status); cell 420 fs/afs/cell.c cell->dns_status = vllist->status; cell 430 fs/afs/cell.c _debug("%s: status %d", cell->name, vllist->status); cell 437 fs/afs/cell.c cell->dns_expiry = expiry; cell 445 fs/afs/cell.c cell->dns_expiry = now + 10; cell 449 fs/afs/cell.c cell->dns_expiry = expiry; cell 455 fs/afs/cell.c write_lock(&cell->vl_servers_lock); cell 456 fs/afs/cell.c p = rcu_dereference_protected(cell->vl_servers, true); cell 458 fs/afs/cell.c rcu_assign_pointer(cell->vl_servers, vllist); cell 459 fs/afs/cell.c cell->dns_source = vllist->source; cell 462 fs/afs/cell.c write_unlock(&cell->vl_servers_lock); cell 463 fs/afs/cell.c afs_put_vlserverlist(cell->net, old); cell 466 fs/afs/cell.c smp_store_release(&cell->dns_lookup_count, cell 467 fs/afs/cell.c cell->dns_lookup_count + 1); /* vs source/status */ cell 468 fs/afs/cell.c wake_up_var(&cell->dns_lookup_count); cell 478 fs/afs/cell.c struct afs_cell *cell = container_of(rcu, struct afs_cell, rcu); cell 480 fs/afs/cell.c _enter("%p{%s}", cell, cell->name); cell 482 fs/afs/cell.c ASSERTCMP(atomic_read(&cell->usage), ==, 0); cell 484 fs/afs/cell.c afs_put_vlserverlist(cell->net, rcu_access_pointer(cell->vl_servers)); cell 485 fs/afs/cell.c key_put(cell->anonymous_key); cell 486 fs/afs/cell.c kfree(cell); cell 520 fs/afs/cell.c struct afs_cell *afs_get_cell(struct afs_cell *cell) cell 522 fs/afs/cell.c atomic_inc(&cell->usage); cell 523 fs/afs/cell.c return cell; cell 529 fs/afs/cell.c void afs_put_cell(struct afs_net *net, struct afs_cell *cell) cell 533 fs/afs/cell.c if (!cell) cell 536 fs/afs/cell.c _enter("%s", cell->name); cell 539 fs/afs/cell.c cell->last_inactive = now; cell 541 fs/afs/cell.c if (cell->vl_servers->nr_servers) cell 544 fs/afs/cell.c if (atomic_dec_return(&cell->usage) > 1) cell 554 fs/afs/cell.c static int afs_alloc_anon_key(struct afs_cell *cell) cell 562 fs/afs/cell.c cp = cell->name; cell 571 fs/afs/cell.c cell->anonymous_key = key; cell 574 fs/afs/cell.c cell->anonymous_key, key_serial(cell->anonymous_key)); cell 581 fs/afs/cell.c static int afs_activate_cell(struct afs_net *net, struct afs_cell *cell) cell 587 fs/afs/cell.c if (!cell->anonymous_key) { cell 588 fs/afs/cell.c ret = afs_alloc_anon_key(cell); cell 594 fs/afs/cell.c cell->cache = fscache_acquire_cookie(afs_cache_netfs.primary_index, cell 596 fs/afs/cell.c cell->name, strlen(cell->name), cell 598 fs/afs/cell.c cell, 0, true); cell 600 fs/afs/cell.c ret = afs_proc_cell_setup(cell); cell 607 fs/afs/cell.c if (strcmp(cell->name, pcell->name) < 0) cell 611 fs/afs/cell.c cell->proc_link.pprev = p; cell 612 fs/afs/cell.c cell->proc_link.next = *p; cell 613 fs/afs/cell.c rcu_assign_pointer(*p, &cell->proc_link.next); cell 614 fs/afs/cell.c if (cell->proc_link.next) cell 615 fs/afs/cell.c cell->proc_link.next->pprev = &cell->proc_link.next; cell 617 fs/afs/cell.c afs_dynroot_mkdir(net, cell); cell 625 fs/afs/cell.c static void afs_deactivate_cell(struct afs_net *net, struct afs_cell *cell) cell 627 fs/afs/cell.c _enter("%s", cell->name); cell 629 fs/afs/cell.c afs_proc_cell_remove(cell); cell 632 fs/afs/cell.c hlist_del_rcu(&cell->proc_link); cell 633 fs/afs/cell.c afs_dynroot_rmdir(net, cell); cell 637 fs/afs/cell.c fscache_relinquish_cookie(cell->cache, NULL, false); cell 638 fs/afs/cell.c cell->cache = NULL; cell 650 fs/afs/cell.c struct afs_cell *cell = container_of(work, struct afs_cell, manager); cell 651 fs/afs/cell.c struct afs_net *net = cell->net; cell 655 fs/afs/cell.c _enter("%s", cell->name); cell 658 fs/afs/cell.c _debug("state %u", cell->state); cell 659 fs/afs/cell.c switch (cell->state) { cell 664 fs/afs/cell.c deleted = atomic_try_cmpxchg_relaxed(&cell->usage, &usage, 0); cell 666 fs/afs/cell.c rb_erase(&cell->net_node, &net->cells); cell 670 fs/afs/cell.c if (cell->state == AFS_CELL_FAILED) cell 672 fs/afs/cell.c smp_store_release(&cell->state, AFS_CELL_UNSET); cell 673 fs/afs/cell.c wake_up_var(&cell->state); cell 677 fs/afs/cell.c smp_store_release(&cell->state, AFS_CELL_ACTIVATING); cell 678 fs/afs/cell.c wake_up_var(&cell->state); cell 682 fs/afs/cell.c ret = afs_activate_cell(net, cell); cell 686 fs/afs/cell.c smp_store_release(&cell->state, AFS_CELL_ACTIVE); cell 687 fs/afs/cell.c wake_up_var(&cell->state); cell 691 fs/afs/cell.c if (atomic_read(&cell->usage) > 1) { cell 692 fs/afs/cell.c if (test_and_clear_bit(AFS_CELL_FL_DO_LOOKUP, &cell->flags)) { cell 693 fs/afs/cell.c ret = afs_update_cell(cell); cell 695 fs/afs/cell.c cell->error = ret; cell 699 fs/afs/cell.c smp_store_release(&cell->state, AFS_CELL_DEACTIVATING); cell 700 fs/afs/cell.c wake_up_var(&cell->state); cell 704 fs/afs/cell.c if (atomic_read(&cell->usage) > 1) cell 706 fs/afs/cell.c afs_deactivate_cell(net, cell); cell 707 fs/afs/cell.c smp_store_release(&cell->state, AFS_CELL_INACTIVE); cell 708 fs/afs/cell.c wake_up_var(&cell->state); cell 714 fs/afs/cell.c _debug("bad state %u", cell->state); cell 718 fs/afs/cell.c cell->error = ret; cell 719 fs/afs/cell.c afs_deactivate_cell(net, cell); cell 721 fs/afs/cell.c smp_store_release(&cell->state, AFS_CELL_FAILED); /* vs error */ cell 722 fs/afs/cell.c wake_up_var(&cell->state); cell 726 fs/afs/cell.c smp_store_release(&cell->state, AFS_CELL_ACTIVE); cell 727 fs/afs/cell.c wake_up_var(&cell->state); cell 732 fs/afs/cell.c _leave(" [done %u]", cell->state); cell 736 fs/afs/cell.c call_rcu(&cell->rcu, afs_cell_destroy); cell 770 fs/afs/cell.c struct afs_cell *cell = cell 775 fs/afs/cell.c usage = atomic_read(&cell->usage); cell 776 fs/afs/cell.c _debug("manage %s %u", cell->name, usage); cell 781 fs/afs/cell.c if (test_and_clear_bit(AFS_CELL_FL_NO_GC, &cell->flags)) cell 782 fs/afs/cell.c usage = atomic_dec_return(&cell->usage); cell 788 fs/afs/cell.c time64_t expire_at = cell->last_inactive; cell 790 fs/afs/cell.c read_lock(&cell->vl_servers_lock); cell 792 fs/afs/cell.c cell->vl_servers, cell 793 fs/afs/cell.c lockdep_is_held(&cell->vl_servers_lock)); cell 796 fs/afs/cell.c read_unlock(&cell->vl_servers_lock); cell 804 fs/afs/cell.c if (test_bit(AFS_CELL_FL_DO_LOOKUP, &cell->flags)) cell 809 fs/afs/cell.c queue_work(afs_wq, &cell->manager); cell 932 fs/afs/dir.c key = afs_request_key(dvnode->volume->cell); cell 1051 fs/afs/dir.c key = afs_request_key(AFS_FS_S(dentry->d_sb)->volume->cell); cell 1291 fs/afs/dir.c key = afs_request_key(dvnode->volume->cell); cell 1378 fs/afs/dir.c key = afs_request_key(dvnode->volume->cell); cell 1500 fs/afs/dir.c key = afs_request_key(dvnode->volume->cell); cell 1602 fs/afs/dir.c key = afs_request_key(dvnode->volume->cell); cell 1686 fs/afs/dir.c key = afs_request_key(dvnode->volume->cell); cell 1777 fs/afs/dir.c key = afs_request_key(dvnode->volume->cell); cell 1868 fs/afs/dir.c key = afs_request_key(orig_dvnode->volume->cell); cell 19 fs/afs/dynroot.c struct afs_cell *cell; cell 33 fs/afs/dynroot.c cell = afs_lookup_cell_rcu(net, name, len); cell 34 fs/afs/dynroot.c if (!IS_ERR(cell)) { cell 35 fs/afs/dynroot.c afs_put_cell(net, cell); cell 86 fs/afs/dynroot.c struct afs_cell *cell; cell 104 fs/afs/dynroot.c cell = rcu_dereference_raw(net->ws_cell); cell 105 fs/afs/dynroot.c if (cell) { cell 106 fs/afs/dynroot.c len = cell->name_len; cell 107 fs/afs/dynroot.c memcpy(name, cell->name, len + 1); cell 114 fs/afs/dynroot.c if (!cell) cell 188 fs/afs/dynroot.c int afs_dynroot_mkdir(struct afs_net *net, struct afs_cell *cell) cell 200 fs/afs/dynroot.c subdir = lookup_one_len(cell->name, root, cell->name_len); cell 218 fs/afs/dynroot.c void afs_dynroot_rmdir(struct afs_net *net, struct afs_cell *cell) cell 230 fs/afs/dynroot.c subdir = try_lookup_one_len(cell->name, root, cell->name_len); cell 254 fs/afs/dynroot.c struct afs_cell *cell; cell 261 fs/afs/dynroot.c hlist_for_each_entry(cell, &net->proc_cells, proc_link) { cell 262 fs/afs/dynroot.c ret = afs_dynroot_mkdir(net, cell); cell 123 fs/afs/file.c key = afs_request_key(vnode->volume->cell); cell 400 fs/afs/file.c key = afs_request_key(AFS_FS_S(inode->i_sb)->cell); cell 844 fs/afs/inode.c key = afs_request_key(vnode->volume->cell); cell 57 fs/afs/internal.h struct afs_cell *cell; /* cell in which to find volume */ cell 247 fs/afs/internal.h struct afs_cell *cell; /* The cell in which the volume resides */ cell 601 fs/afs/internal.h struct afs_cell *cell; /* Cell to which belongs (pins ref) */ cell 748 fs/afs/internal.h struct afs_cell *cell; /* The cell we're querying */ cell 1095 fs/afs/internal.h static inline int afs_proc_cell_setup(struct afs_cell *cell) { return 0; } cell 1096 fs/afs/internal.h static inline void afs_proc_cell_remove(struct afs_cell *cell) {} cell 77 fs/afs/mntpt.c struct afs_cell *cell; cell 90 fs/afs/mntpt.c if (ctx->cell) { cell 91 fs/afs/mntpt.c afs_put_cell(ctx->net, ctx->cell); cell 92 fs/afs/mntpt.c ctx->cell = NULL; cell 111 fs/afs/mntpt.c cell = afs_lookup_cell(ctx->net, p, size, NULL, false); cell 112 fs/afs/mntpt.c if (IS_ERR(cell)) { cell 114 fs/afs/mntpt.c return PTR_ERR(cell); cell 116 fs/afs/mntpt.c ctx->cell = cell; cell 126 fs/afs/mntpt.c if (src_as->cell) cell 127 fs/afs/mntpt.c ctx->cell = afs_get_cell(src_as->cell); cell 37 fs/afs/proc.c struct afs_cell *cell; cell 45 fs/afs/proc.c cell = list_entry(v, struct afs_cell, proc_link); cell 46 fs/afs/proc.c vllist = rcu_dereference(cell->vl_servers); cell 50 fs/afs/proc.c atomic_read(&cell->usage), cell 51 fs/afs/proc.c cell->dns_expiry - ktime_get_real_seconds(), cell 53 fs/afs/proc.c cell->name); cell 121 fs/afs/proc.c struct afs_cell *cell; cell 123 fs/afs/proc.c cell = afs_lookup_cell(net, name, strlen(name), args, true); cell 124 fs/afs/proc.c if (IS_ERR(cell)) { cell 125 fs/afs/proc.c ret = PTR_ERR(cell); cell 129 fs/afs/proc.c if (test_and_set_bit(AFS_CELL_FL_NO_GC, &cell->flags)) cell 130 fs/afs/proc.c afs_put_cell(net, cell); cell 152 fs/afs/proc.c struct afs_cell *cell; cell 158 fs/afs/proc.c cell = rcu_dereference(net->ws_cell); cell 159 fs/afs/proc.c if (cell) cell 160 fs/afs/proc.c seq_printf(m, "%s\n", cell->name); cell 211 fs/afs/proc.c struct afs_cell *cell = PDE_DATA(file_inode(m->file)); cell 215 fs/afs/proc.c if (v == &cell->proc_volumes) { cell 228 fs/afs/proc.c __acquires(cell->proc_lock) cell 230 fs/afs/proc.c struct afs_cell *cell = PDE_DATA(file_inode(m->file)); cell 232 fs/afs/proc.c read_lock(&cell->proc_lock); cell 233 fs/afs/proc.c return seq_list_start_head(&cell->proc_volumes, *_pos); cell 239 fs/afs/proc.c struct afs_cell *cell = PDE_DATA(file_inode(m->file)); cell 241 fs/afs/proc.c return seq_list_next(v, &cell->proc_volumes, _pos); cell 245 fs/afs/proc.c __releases(cell->proc_lock) cell 247 fs/afs/proc.c struct afs_cell *cell = PDE_DATA(file_inode(m->file)); cell 249 fs/afs/proc.c read_unlock(&cell->proc_lock); cell 322 fs/afs/proc.c struct afs_cell *cell = PDE_DATA(file_inode(m->file)); cell 327 fs/afs/proc.c vllist = rcu_dereference(cell->vl_servers); cell 602 fs/afs/proc.c int afs_proc_cell_setup(struct afs_cell *cell) cell 605 fs/afs/proc.c struct afs_net *net = cell->net; cell 607 fs/afs/proc.c _enter("%p{%s},%p", cell, cell->name, net->proc_afs); cell 609 fs/afs/proc.c dir = proc_net_mkdir(net->net, cell->name, net->proc_afs); cell 616 fs/afs/proc.c cell) || cell 620 fs/afs/proc.c cell)) cell 627 fs/afs/proc.c remove_proc_subtree(cell->name, net->proc_afs); cell 636 fs/afs/proc.c void afs_proc_cell_remove(struct afs_cell *cell) cell 638 fs/afs/proc.c struct afs_net *net = cell->net; cell 641 fs/afs/proc.c remove_proc_subtree(cell->name, net->proc_afs); cell 23 fs/afs/security.c struct key *afs_request_key(struct afs_cell *cell) cell 27 fs/afs/security.c _enter("{%x}", key_serial(cell->anonymous_key)); cell 29 fs/afs/security.c _debug("key %s", cell->anonymous_key->description); cell 30 fs/afs/security.c key = request_key_net(&key_type_rxrpc, cell->anonymous_key->description, cell 31 fs/afs/security.c cell->net->net, NULL); cell 39 fs/afs/security.c _leave(" = {%x} [anon]", key_serial(cell->anonymous_key)); cell 40 fs/afs/security.c return key_get(cell->anonymous_key); cell 51 fs/afs/security.c struct key *afs_request_key_rcu(struct afs_cell *cell) cell 55 fs/afs/security.c _enter("{%x}", key_serial(cell->anonymous_key)); cell 57 fs/afs/security.c _debug("key %s", cell->anonymous_key->description); cell 59 fs/afs/security.c cell->anonymous_key->description, cell 60 fs/afs/security.c cell->net->net); cell 68 fs/afs/security.c _leave(" = {%x} [anon]", key_serial(cell->anonymous_key)); cell 69 fs/afs/security.c return key_get(cell->anonymous_key); cell 316 fs/afs/security.c if (key == vnode->volume->cell->anonymous_key) { cell 356 fs/afs/security.c if (key == vnode->volume->cell->anonymous_key) { cell 412 fs/afs/security.c key = afs_request_key_rcu(vnode->volume->cell); cell 421 fs/afs/security.c key = afs_request_key(vnode->volume->cell); cell 242 fs/afs/server.c static struct afs_addr_list *afs_vl_lookup_addrs(struct afs_cell *cell, cell 250 fs/afs/server.c if (afs_begin_vlserver_operation(&vc, cell, key)) { cell 267 fs/afs/server.c struct afs_server *afs_lookup_server(struct afs_cell *cell, struct key *key, cell 273 fs/afs/server.c _enter("%p,%pU", cell->net, uuid); cell 275 fs/afs/server.c server = afs_find_server_by_uuid(cell->net, uuid); cell 279 fs/afs/server.c alist = afs_vl_lookup_addrs(cell, key, uuid); cell 283 fs/afs/server.c candidate = afs_alloc_server(cell->net, uuid, alist); cell 289 fs/afs/server.c server = afs_install_server(cell->net, candidate); cell 537 fs/afs/server.c alist = afs_vl_lookup_addrs(fc->vnode->volume->cell, fc->key, cell 29 fs/afs/server_list.c struct afs_server_list *afs_alloc_server_list(struct afs_cell *cell, cell 54 fs/afs/server_list.c server = afs_lookup_server(cell, key, &vldb->fs_server[i]); cell 71 fs/afs/server_list.c afs_put_server(cell->net, server, cell 93 fs/afs/server_list.c afs_put_serverlist(cell->net, slist); cell 165 fs/afs/super.c struct afs_cell *cell = as->cell; cell 188 fs/afs/super.c seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); cell 233 fs/afs/super.c struct afs_cell *cell; cell 292 fs/afs/super.c cellnamesz, cellnamesz, cellname ?: "", ctx->cell); cell 296 fs/afs/super.c cell = afs_lookup_cell(ctx->net, cellname, cellnamesz, cell 298 fs/afs/super.c if (IS_ERR(cell)) { cell 301 fs/afs/super.c return PTR_ERR(cell); cell 303 fs/afs/super.c afs_put_cell(ctx->net, ctx->cell); cell 304 fs/afs/super.c ctx->cell = cell; cell 308 fs/afs/super.c ctx->cell->name, ctx->cell, cell 369 fs/afs/super.c if (!ctx->cell) { cell 375 fs/afs/super.c key = afs_request_key(ctx->cell); cell 382 fs/afs/super.c afs_put_volume(ctx->cell, ctx->volume); cell 407 fs/afs/super.c as->cell == ctx->cell && cell 504 fs/afs/super.c as->cell = afs_get_cell(ctx->cell); cell 514 fs/afs/super.c afs_put_volume(as->cell, as->volume); cell 515 fs/afs/super.c afs_put_cell(afs_net(as->net_ns), as->cell); cell 585 fs/afs/super.c trace_afs_get_tree(as->cell, as->volume); cell 601 fs/afs/super.c afs_put_volume(ctx->cell, ctx->volume); cell 602 fs/afs/super.c afs_put_cell(ctx->net, ctx->cell); cell 619 fs/afs/super.c struct afs_cell *cell; cell 630 fs/afs/super.c cell = afs_lookup_cell_rcu(ctx->net, NULL, 0); cell 632 fs/afs/super.c if (IS_ERR(cell)) cell 633 fs/afs/super.c cell = NULL; cell 634 fs/afs/super.c ctx->cell = cell; cell 741 fs/afs/super.c key = afs_request_key(vnode->volume->cell); cell 156 fs/afs/vl_list.c struct afs_vlserver_list *afs_extract_vlserver_list(struct afs_cell *cell, cell 191 fs/afs/vl_list.c read_lock(&cell->vl_servers_lock); cell 193 fs/afs/vl_list.c rcu_dereference_protected(cell->vl_servers, cell 194 fs/afs/vl_list.c lockdep_is_held(&cell->vl_servers_lock))); cell 195 fs/afs/vl_list.c read_unlock(&cell->vl_servers_lock); cell 265 fs/afs/vl_list.c afs_put_vlserver(cell->net, server); cell 275 fs/afs/vl_list.c afs_put_vlserver(cell->net, server); cell 319 fs/afs/vl_list.c afs_put_vlserverlist(cell->net, previous); cell 324 fs/afs/vl_list.c afs_put_vlserver(cell->net, server); cell 326 fs/afs/vl_list.c afs_put_vlserverlist(cell->net, vllist); cell 327 fs/afs/vl_list.c afs_put_vlserverlist(cell->net, previous); cell 17 fs/afs/vl_rotate.c bool afs_begin_vlserver_operation(struct afs_vl_cursor *vc, struct afs_cell *cell, cell 21 fs/afs/vl_rotate.c vc->cell = cell; cell 41 fs/afs/vl_rotate.c struct afs_cell *cell = vc->cell; cell 44 fs/afs/vl_rotate.c if (cell->dns_source == DNS_RECORD_UNAVAILABLE || cell 45 fs/afs/vl_rotate.c cell->dns_expiry <= ktime_get_real_seconds()) { cell 46 fs/afs/vl_rotate.c dns_lookup_count = smp_load_acquire(&cell->dns_lookup_count); cell 47 fs/afs/vl_rotate.c set_bit(AFS_CELL_FL_DO_LOOKUP, &cell->flags); cell 48 fs/afs/vl_rotate.c queue_work(afs_wq, &cell->manager); cell 50 fs/afs/vl_rotate.c if (cell->dns_source == DNS_RECORD_UNAVAILABLE) { cell 52 fs/afs/vl_rotate.c &cell->dns_lookup_count, cell 53 fs/afs/vl_rotate.c smp_load_acquire(&cell->dns_lookup_count) cell 61 fs/afs/vl_rotate.c if (cell->dns_source == DNS_RECORD_UNAVAILABLE) { cell 67 fs/afs/vl_rotate.c read_lock(&cell->vl_servers_lock); cell 69 fs/afs/vl_rotate.c rcu_dereference_protected(cell->vl_servers, cell 70 fs/afs/vl_rotate.c lockdep_is_held(&cell->vl_servers_lock))); cell 71 fs/afs/vl_rotate.c read_unlock(&cell->vl_servers_lock); cell 159 fs/afs/vl_rotate.c afs_put_vlserverlist(vc->cell->net, vc->server_list); cell 170 fs/afs/vl_rotate.c error = afs_send_vl_probes(vc->cell->net, vc->key, vc->server_list); cell 324 fs/afs/vl_rotate.c struct afs_net *net = vc->cell->net; cell 134 fs/afs/vlclient.c struct afs_net *net = vc->cell->net; cell 273 fs/afs/vlclient.c struct afs_net *net = vc->cell->net; cell 628 fs/afs/vlclient.c struct afs_net *net = vc->cell->net; cell 36 fs/afs/volume.c volume->cell = afs_get_cell(params->cell); cell 47 fs/afs/volume.c slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); cell 58 fs/afs/volume.c afs_put_cell(params->net, volume->cell); cell 67 fs/afs/volume.c static struct afs_vldb_entry *afs_vl_lookup_vldb(struct afs_cell *cell, cell 76 fs/afs/volume.c if (!afs_begin_vlserver_operation(&vc, cell, key)) cell 117 fs/afs/volume.c vldb = afs_vl_lookup_vldb(params->cell, params->key, cell 160 fs/afs/volume.c afs_put_cell(net, volume->cell); cell 169 fs/afs/volume.c void afs_put_volume(struct afs_cell *cell, struct afs_volume *volume) cell 175 fs/afs/volume.c afs_destroy_volume(cell->net, volume); cell 185 fs/afs/volume.c volume->cache = fscache_acquire_cookie(volume->cell->cache, cell 192 fs/afs/volume.c write_lock(&volume->cell->proc_lock); cell 193 fs/afs/volume.c list_add_tail(&volume->proc_link, &volume->cell->proc_volumes); cell 194 fs/afs/volume.c write_unlock(&volume->cell->proc_lock); cell 204 fs/afs/volume.c write_lock(&volume->cell->proc_lock); cell 206 fs/afs/volume.c write_unlock(&volume->cell->proc_lock); cell 234 fs/afs/volume.c vldb = afs_vl_lookup_vldb(volume->cell, key, idbuf, idsz); cell 249 fs/afs/volume.c new = afs_alloc_server_list(volume->cell, key, cell 273 fs/afs/volume.c afs_put_serverlist(volume->cell->net, discard); cell 56 fs/afs/xattr.c key = afs_request_key(vnode->volume->cell); cell 121 fs/afs/xattr.c key = afs_request_key(vnode->volume->cell); cell 200 fs/afs/xattr.c key = afs_request_key(vnode->volume->cell); cell 295 fs/afs/xattr.c key = afs_request_key(vnode->volume->cell); cell 340 fs/afs/xattr.c struct afs_cell *cell = vnode->volume->cell; cell 343 fs/afs/xattr.c namelen = cell->name_len; cell 348 fs/afs/xattr.c memcpy(buffer, cell->name, namelen); cell 107 include/linux/atmdev.h int (*push_oam)(struct atm_vcc *vcc,void *cell); cell 198 include/linux/atmdev.h int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags); cell 104 include/linux/mfd/core.h extern int mfd_clone_cell(const char *cell, const char **clones, cell 60 include/linux/nvmem-consumer.h void nvmem_cell_put(struct nvmem_cell *cell); cell 61 include/linux/nvmem-consumer.h void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell); cell 62 include/linux/nvmem-consumer.h void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len); cell 63 include/linux/nvmem-consumer.h int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len); cell 107 include/linux/nvmem-consumer.h struct nvmem_cell *cell) cell 111 include/linux/nvmem-consumer.h static inline void nvmem_cell_put(struct nvmem_cell *cell) cell 115 include/linux/nvmem-consumer.h static inline void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len) cell 120 include/linux/nvmem-consumer.h static inline int nvmem_cell_write(struct nvmem_cell *cell, cell 234 include/linux/of.h static inline u64 of_read_number(const __be32 *cell, int size) cell 237 include/linux/of.h for (; size--; cell++) cell 238 include/linux/of.h r = (r << 32) | be32_to_cpu(*cell); cell 243 include/linux/of.h static inline unsigned long of_read_ulong(const __be32 *cell, int size) cell 246 include/linux/of.h return of_read_number(cell, size); cell 160 include/linux/platform_data/mlxreg.h u32 cell; cell 1201 include/trace/events/afs.h TP_PROTO(struct afs_cell *cell, struct afs_volume *volume), cell 1203 include/trace/events/afs.h TP_ARGS(cell, volume), cell 1207 include/trace/events/afs.h __array(char, cell, 24 ) cell 1214 include/trace/events/afs.h __len = min_t(int, cell->name_len, 23); cell 1215 include/trace/events/afs.h memcpy(__entry->cell, cell->name, __len); cell 1216 include/trace/events/afs.h __entry->cell[__len] = 0; cell 1223 include/trace/events/afs.h __entry->cell, __entry->volume, __entry->vid) cell 175 lib/zstd/fse_decompress.c FSE_decode_t *const cell = (FSE_decode_t *)dPtr; cell 180 lib/zstd/fse_decompress.c cell->newState = 0; cell 181 lib/zstd/fse_decompress.c cell->symbol = symbolValue; cell 182 lib/zstd/fse_decompress.c cell->nbBits = 0; cell 15 net/core/gro_cells.c struct gro_cell *cell; cell 27 net/core/gro_cells.c cell = this_cpu_ptr(gcells->cells); cell 29 net/core/gro_cells.c if (skb_queue_len(&cell->napi_skbs) > netdev_max_backlog) { cell 37 net/core/gro_cells.c __skb_queue_tail(&cell->napi_skbs, skb); cell 38 net/core/gro_cells.c if (skb_queue_len(&cell->napi_skbs) == 1) cell 39 net/core/gro_cells.c napi_schedule(&cell->napi); cell 52 net/core/gro_cells.c struct gro_cell *cell = container_of(napi, struct gro_cell, napi); cell 57 net/core/gro_cells.c skb = __skb_dequeue(&cell->napi_skbs); cell 78 net/core/gro_cells.c struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); cell 80 net/core/gro_cells.c __skb_queue_head_init(&cell->napi_skbs); cell 82 net/core/gro_cells.c set_bit(NAPI_STATE_NO_BUSY_POLL, &cell->napi.state); cell 84 net/core/gro_cells.c netif_napi_add(dev, &cell->napi, gro_cell_poll, cell 86 net/core/gro_cells.c napi_enable(&cell->napi); cell 99 net/core/gro_cells.c struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); cell 101 net/core/gro_cells.c napi_disable(&cell->napi); cell 102 net/core/gro_cells.c netif_napi_del(&cell->napi); cell 103 net/core/gro_cells.c __skb_queue_purge(&cell->napi_skbs); cell 41 net/dccp/ackvec.h static inline u8 dccp_ackvec_runlen(const u8 *cell) cell 43 net/dccp/ackvec.h return *cell & DCCPAV_MAX_RUNLEN; cell 46 net/dccp/ackvec.h static inline u8 dccp_ackvec_state(const u8 *cell) cell 48 net/dccp/ackvec.h return *cell & ~DCCPAV_MAX_RUNLEN; cell 580 net/ethernet/eth.c struct nvmem_cell *cell; cell 584 net/ethernet/eth.c cell = nvmem_cell_get(dev, "mac-address"); cell 585 net/ethernet/eth.c if (IS_ERR(cell)) cell 586 net/ethernet/eth.c return PTR_ERR(cell); cell 588 net/ethernet/eth.c mac = nvmem_cell_read(cell, &len); cell 589 net/ethernet/eth.c nvmem_cell_put(cell); cell 1354 scripts/dtc/checks.c int cell, cellsize = 0; cell 1363 scripts/dtc/checks.c for (cell = 0; cell < prop->val.len / sizeof(cell_t); cell += cellsize + 1) { cell 1368 scripts/dtc/checks.c phandle = propval_cell_n(prop, cell); cell 1386 scripts/dtc/checks.c if (m->offset == (cell * sizeof(cell_t))) cell 1392 scripts/dtc/checks.c cell); cell 1399 scripts/dtc/checks.c cell); cell 1412 scripts/dtc/checks.c prop->name, cell); cell 1416 scripts/dtc/checks.c if (prop->val.len < ((cell + cellsize + 1) * sizeof(cell_t))) { cell 36 scripts/dtc/flattree.c void (*cell)(void *, cell_t); cell 93 scripts/dtc/flattree.c .cell = bin_emit_cell, cell 211 scripts/dtc/flattree.c .cell = asm_emit_cell, cell 264 scripts/dtc/flattree.c emit->cell(etarget, prop->val.len); cell 265 scripts/dtc/flattree.c emit->cell(etarget, nameoff); cell 276 scripts/dtc/flattree.c emit->cell(etarget, tree->basenamelen+1); cell 277 scripts/dtc/flattree.c emit->cell(etarget, stringtable_insert(strbuf, "name")); cell 392 scripts/dtc/util.c const fdt32_t *cell = (const fdt32_t *)data; cell 396 scripts/dtc/util.c printf("0x%08x%s", fdt32_to_cpu(cell[i]), cell 259 scripts/kconfig/gconf.c static void renderer_edited(GtkCellRendererText * cell, cell 778 scripts/kconfig/gconf.c static void renderer_edited(GtkCellRendererText * cell, cell 408 sound/core/seq/seq_clientmgr.c struct snd_seq_event_cell *cell; cell 430 sound/core/seq/seq_clientmgr.c cell = NULL; cell 439 sound/core/seq/seq_clientmgr.c if ((err = snd_seq_fifo_cell_out(fifo, &cell, nonblock)) < 0) { cell 442 sound/core/seq/seq_clientmgr.c if (snd_seq_ev_is_variable(&cell->event)) { cell 444 sound/core/seq/seq_clientmgr.c tmpev = cell->event; cell 452 sound/core/seq/seq_clientmgr.c err = snd_seq_expand_var_event(&cell->event, count, cell 461 sound/core/seq/seq_clientmgr.c if (copy_to_user(buf, &cell->event, sizeof(struct snd_seq_event))) { cell 468 sound/core/seq/seq_clientmgr.c snd_seq_cell_free(cell); cell 469 sound/core/seq/seq_clientmgr.c cell = NULL; /* to be sure */ cell 474 sound/core/seq/seq_clientmgr.c if (cell) cell 475 sound/core/seq/seq_clientmgr.c snd_seq_fifo_cell_putback(fifo, cell); cell 854 sound/core/seq/seq_clientmgr.c int snd_seq_dispatch_event(struct snd_seq_event_cell *cell, int atomic, int hop) cell 859 sound/core/seq/seq_clientmgr.c if (snd_BUG_ON(!cell)) cell 862 sound/core/seq/seq_clientmgr.c client = snd_seq_client_use_ptr(cell->event.source.client); cell 864 sound/core/seq/seq_clientmgr.c snd_seq_cell_free(cell); /* release this cell */ cell 868 sound/core/seq/seq_clientmgr.c if (cell->event.type == SNDRV_SEQ_EVENT_NOTE) { cell 876 sound/core/seq/seq_clientmgr.c tmpev = cell->event; cell 885 sound/core/seq/seq_clientmgr.c ev = &cell->event; cell 905 sound/core/seq/seq_clientmgr.c if (snd_seq_enqueue_event(cell, atomic, hop) < 0) cell 906 sound/core/seq/seq_clientmgr.c snd_seq_cell_free(cell); /* release this cell */ cell 913 sound/core/seq/seq_clientmgr.c result = snd_seq_deliver_event(client, &cell->event, atomic, hop); cell 914 sound/core/seq/seq_clientmgr.c snd_seq_cell_free(cell); cell 932 sound/core/seq/seq_clientmgr.c struct snd_seq_event_cell *cell; cell 968 sound/core/seq/seq_clientmgr.c err = snd_seq_event_dup(client->pool, event, &cell, !blocking || atomic, cell 974 sound/core/seq/seq_clientmgr.c if ((err = snd_seq_enqueue_event(cell, atomic, hop)) < 0) { cell 975 sound/core/seq/seq_clientmgr.c snd_seq_cell_free(cell); cell 79 sound/core/seq/seq_clientmgr.h int snd_seq_dispatch_event(struct snd_seq_event_cell *cell, int atomic, int hop); cell 85 sound/core/seq/seq_fifo.c struct snd_seq_event_cell *cell; cell 93 sound/core/seq/seq_fifo.c while ((cell = fifo_cell_out(f)) != NULL) { cell 94 sound/core/seq/seq_fifo.c snd_seq_cell_free(cell); cell 104 sound/core/seq/seq_fifo.c struct snd_seq_event_cell *cell; cell 112 sound/core/seq/seq_fifo.c err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ cell 123 sound/core/seq/seq_fifo.c f->tail->next = cell; cell 124 sound/core/seq/seq_fifo.c f->tail = cell; cell 126 sound/core/seq/seq_fifo.c f->head = cell; cell 127 sound/core/seq/seq_fifo.c cell->next = NULL; cell 144 sound/core/seq/seq_fifo.c struct snd_seq_event_cell *cell; cell 146 sound/core/seq/seq_fifo.c if ((cell = f->head) != NULL) { cell 147 sound/core/seq/seq_fifo.c f->head = cell->next; cell 150 sound/core/seq/seq_fifo.c if (f->tail == cell) cell 153 sound/core/seq/seq_fifo.c cell->next = NULL; cell 157 sound/core/seq/seq_fifo.c return cell; cell 164 sound/core/seq/seq_fifo.c struct snd_seq_event_cell *cell; cell 174 sound/core/seq/seq_fifo.c while ((cell = fifo_cell_out(f)) == NULL) { cell 192 sound/core/seq/seq_fifo.c *cellp = cell; cell 199 sound/core/seq/seq_fifo.c struct snd_seq_event_cell *cell) cell 203 sound/core/seq/seq_fifo.c if (cell) { cell 205 sound/core/seq/seq_fifo.c cell->next = f->head; cell 206 sound/core/seq/seq_fifo.c f->head = cell; cell 208 sound/core/seq/seq_fifo.c f->tail = cell; cell 227 sound/core/seq/seq_fifo.c struct snd_seq_event_cell *cell, *next, *oldhead; cell 258 sound/core/seq/seq_fifo.c for (cell = oldhead; cell; cell = next) { cell 259 sound/core/seq/seq_fifo.c next = cell->next; cell 260 sound/core/seq/seq_fifo.c snd_seq_cell_free(cell); cell 45 sound/core/seq/seq_fifo.h void snd_seq_fifo_cell_putback(struct snd_seq_fifo *f, struct snd_seq_event_cell *cell); cell 70 sound/core/seq/seq_memory.c struct snd_seq_event_cell *cell; cell 95 sound/core/seq/seq_memory.c cell = (struct snd_seq_event_cell *)event->data.ext.ptr; cell 96 sound/core/seq/seq_memory.c for (; len > 0 && cell; cell = cell->next) { cell 100 sound/core/seq/seq_memory.c err = func(private_data, &cell->event, size); cell 164 sound/core/seq/seq_memory.c struct snd_seq_event_cell *cell) cell 166 sound/core/seq/seq_memory.c cell->next = pool->free; cell 167 sound/core/seq/seq_memory.c pool->free = cell; cell 171 sound/core/seq/seq_memory.c void snd_seq_cell_free(struct snd_seq_event_cell * cell) cell 176 sound/core/seq/seq_memory.c if (snd_BUG_ON(!cell)) cell 178 sound/core/seq/seq_memory.c pool = cell->pool; cell 183 sound/core/seq/seq_memory.c free_cell(pool, cell); cell 184 sound/core/seq/seq_memory.c if (snd_seq_ev_is_variable(&cell->event)) { cell 185 sound/core/seq/seq_memory.c if (cell->event.data.ext.len & SNDRV_SEQ_EXT_CHAINED) { cell 187 sound/core/seq/seq_memory.c curp = cell->event.data.ext.ptr; cell 212 sound/core/seq/seq_memory.c struct snd_seq_event_cell *cell; cell 252 sound/core/seq/seq_memory.c cell = pool->free; cell 253 sound/core/seq/seq_memory.c if (cell) { cell 255 sound/core/seq/seq_memory.c pool->free = cell->next; cell 262 sound/core/seq/seq_memory.c cell->next = NULL; cell 266 sound/core/seq/seq_memory.c *cellp = cell; cell 285 sound/core/seq/seq_memory.c struct snd_seq_event_cell *cell; cell 298 sound/core/seq/seq_memory.c err = snd_seq_cell_alloc(pool, &cell, nonblock, file, mutexp); cell 303 sound/core/seq/seq_memory.c cell->event = *event; cell 313 sound/core/seq/seq_memory.c cell->event.data.ext.len = extlen | SNDRV_SEQ_EXT_CHAINED; cell 314 sound/core/seq/seq_memory.c cell->event.data.ext.ptr = NULL; cell 328 sound/core/seq/seq_memory.c if (cell->event.data.ext.ptr == NULL) cell 329 sound/core/seq/seq_memory.c cell->event.data.ext.ptr = tmp; cell 350 sound/core/seq/seq_memory.c *cellp = cell; cell 354 sound/core/seq/seq_memory.c snd_seq_cell_free(cell); cell 371 sound/core/seq/seq_memory.c int cell; cell 393 sound/core/seq/seq_memory.c for (cell = 0; cell < pool->size; cell++) { cell 394 sound/core/seq/seq_memory.c cellptr = pool->ptr + cell; cell 51 sound/core/seq/seq_memory.h void snd_seq_cell_free(struct snd_seq_event_cell *cell); cell 132 sound/core/seq/seq_prioq.c struct snd_seq_event_cell * cell) cell 139 sound/core/seq/seq_prioq.c if (snd_BUG_ON(!f || !cell)) cell 143 sound/core/seq/seq_prioq.c prior = (cell->event.flags & SNDRV_SEQ_PRIORITY_MASK); cell 151 sound/core/seq/seq_prioq.c if (compare_timestamp(&cell->event, &f->tail->event)) { cell 153 sound/core/seq/seq_prioq.c f->tail->next = cell; cell 154 sound/core/seq/seq_prioq.c f->tail = cell; cell 155 sound/core/seq/seq_prioq.c cell->next = NULL; cell 170 sound/core/seq/seq_prioq.c int rel = compare_timestamp_rel(&cell->event, &cur->event); cell 190 sound/core/seq/seq_prioq.c prev->next = cell; cell 191 sound/core/seq/seq_prioq.c cell->next = cur; cell 194 sound/core/seq/seq_prioq.c f->head = cell; cell 196 sound/core/seq/seq_prioq.c f->tail = cell; cell 215 sound/core/seq/seq_prioq.c struct snd_seq_event_cell *cell; cell 224 sound/core/seq/seq_prioq.c cell = f->head; cell 225 sound/core/seq/seq_prioq.c if (cell && current_time && !event_is_ready(&cell->event, current_time)) cell 226 sound/core/seq/seq_prioq.c cell = NULL; cell 227 sound/core/seq/seq_prioq.c if (cell) { cell 228 sound/core/seq/seq_prioq.c f->head = cell->next; cell 231 sound/core/seq/seq_prioq.c if (f->tail == cell) cell 234 sound/core/seq/seq_prioq.c cell->next = NULL; cell 239 sound/core/seq/seq_prioq.c return cell; cell 252 sound/core/seq/seq_prioq.c static inline int prioq_match(struct snd_seq_event_cell *cell, cell 255 sound/core/seq/seq_prioq.c if (cell->event.source.client == client || cell 256 sound/core/seq/seq_prioq.c cell->event.dest.client == client) cell 260 sound/core/seq/seq_prioq.c switch (cell->event.flags & SNDRV_SEQ_TIME_STAMP_MASK) { cell 262 sound/core/seq/seq_prioq.c if (cell->event.time.tick) cell 266 sound/core/seq/seq_prioq.c if (cell->event.time.time.tv_sec || cell 267 sound/core/seq/seq_prioq.c cell->event.time.time.tv_nsec) cell 277 sound/core/seq/seq_prioq.c register struct snd_seq_event_cell *cell, *next; cell 284 sound/core/seq/seq_prioq.c cell = f->head; cell 285 sound/core/seq/seq_prioq.c while (cell) { cell 286 sound/core/seq/seq_prioq.c next = cell->next; cell 287 sound/core/seq/seq_prioq.c if (prioq_match(cell, client, timestamp)) { cell 289 sound/core/seq/seq_prioq.c if (cell == f->head) { cell 290 sound/core/seq/seq_prioq.c f->head = cell->next; cell 292 sound/core/seq/seq_prioq.c prev->next = cell->next; cell 294 sound/core/seq/seq_prioq.c if (cell == f->tail) cell 295 sound/core/seq/seq_prioq.c f->tail = cell->next; cell 298 sound/core/seq/seq_prioq.c cell->next = NULL; cell 300 sound/core/seq/seq_prioq.c freefirst = cell; cell 302 sound/core/seq/seq_prioq.c freeprev->next = cell; cell 304 sound/core/seq/seq_prioq.c freeprev = cell; cell 309 sound/core/seq/seq_prioq.c cell->event.type, cell 310 sound/core/seq/seq_prioq.c cell->event.source.client, cell 311 sound/core/seq/seq_prioq.c cell->event.dest.client, cell 314 sound/core/seq/seq_prioq.c prev = cell; cell 316 sound/core/seq/seq_prioq.c cell = next; cell 387 sound/core/seq/seq_prioq.c struct snd_seq_event_cell *cell, *next; cell 394 sound/core/seq/seq_prioq.c cell = f->head; cell 396 sound/core/seq/seq_prioq.c while (cell) { cell 397 sound/core/seq/seq_prioq.c next = cell->next; cell 398 sound/core/seq/seq_prioq.c if (cell->event.source.client == client && cell 399 sound/core/seq/seq_prioq.c prioq_remove_match(info, &cell->event)) { cell 402 sound/core/seq/seq_prioq.c if (cell == f->head) { cell 403 sound/core/seq/seq_prioq.c f->head = cell->next; cell 405 sound/core/seq/seq_prioq.c prev->next = cell->next; cell 408 sound/core/seq/seq_prioq.c if (cell == f->tail) cell 409 sound/core/seq/seq_prioq.c f->tail = cell->next; cell 413 sound/core/seq/seq_prioq.c cell->next = NULL; cell 415 sound/core/seq/seq_prioq.c freefirst = cell; cell 417 sound/core/seq/seq_prioq.c freeprev->next = cell; cell 420 sound/core/seq/seq_prioq.c freeprev = cell; cell 422 sound/core/seq/seq_prioq.c prev = cell; cell 424 sound/core/seq/seq_prioq.c cell = next; cell 29 sound/core/seq/seq_prioq.h int snd_seq_prioq_cell_in(struct snd_seq_prioq *f, struct snd_seq_event_cell *cell); cell 240 sound/core/seq/seq_queue.c struct snd_seq_event_cell *cell; cell 261 sound/core/seq/seq_queue.c cell = snd_seq_prioq_cell_out(q->tickq, &cur_tick); cell 262 sound/core/seq/seq_queue.c if (!cell) cell 264 sound/core/seq/seq_queue.c snd_seq_dispatch_event(cell, atomic, hop); cell 270 sound/core/seq/seq_queue.c cell = snd_seq_prioq_cell_out(q->timeq, &cur_time); cell 271 sound/core/seq/seq_queue.c if (!cell) cell 273 sound/core/seq/seq_queue.c snd_seq_dispatch_event(cell, atomic, hop); cell 289 sound/core/seq/seq_queue.c int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop) cell 294 sound/core/seq/seq_queue.c if (snd_BUG_ON(!cell)) cell 296 sound/core/seq/seq_queue.c dest = cell->event.queue; /* destination queue */ cell 301 sound/core/seq/seq_queue.c if ((cell->event.flags & SNDRV_SEQ_TIME_MODE_MASK) == SNDRV_SEQ_TIME_MODE_REL) { cell 302 sound/core/seq/seq_queue.c switch (cell->event.flags & SNDRV_SEQ_TIME_STAMP_MASK) { cell 304 sound/core/seq/seq_queue.c cell->event.time.tick += q->timer->tick.cur_tick; cell 308 sound/core/seq/seq_queue.c snd_seq_inc_real_time(&cell->event.time.time, cell 312 sound/core/seq/seq_queue.c cell->event.flags &= ~SNDRV_SEQ_TIME_MODE_MASK; cell 313 sound/core/seq/seq_queue.c cell->event.flags |= SNDRV_SEQ_TIME_MODE_ABS; cell 316 sound/core/seq/seq_queue.c switch (cell->event.flags & SNDRV_SEQ_TIME_STAMP_MASK) { cell 318 sound/core/seq/seq_queue.c err = snd_seq_prioq_cell_in(q->tickq, cell); cell 323 sound/core/seq/seq_queue.c err = snd_seq_prioq_cell_in(q->timeq, cell); cell 69 sound/core/seq/seq_queue.h int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop);