/Linux-v4.19/fs/afs/ |
D | cell.c | 52 struct afs_cell *cell = NULL; in afs_lookup_cell_rcu() local 68 if (cell) in afs_lookup_cell_rcu() 69 afs_put_cell(net, cell); in afs_lookup_cell_rcu() 70 cell = NULL; in afs_lookup_cell_rcu() 76 cell = rcu_dereference_raw(net->ws_cell); in afs_lookup_cell_rcu() 77 if (cell) { in afs_lookup_cell_rcu() 78 afs_get_cell(cell); in afs_lookup_cell_rcu() 87 cell = rb_entry(p, struct afs_cell, net_node); in afs_lookup_cell_rcu() 89 n = strncasecmp(cell->name, name, in afs_lookup_cell_rcu() 90 min_t(size_t, cell->name_len, namesz)); in afs_lookup_cell_rcu() [all …]
|
D | proc.c | 35 struct afs_cell *cell = list_entry(v, struct afs_cell, proc_link); in afs_proc_cells_show() local 44 seq_printf(m, "%3u %s\n", atomic_read(&cell->usage), cell->name); in afs_proc_cells_show() 112 struct afs_cell *cell; in afs_proc_cells_write() local 114 cell = afs_lookup_cell(net, name, strlen(name), args, true); in afs_proc_cells_write() 115 if (IS_ERR(cell)) { in afs_proc_cells_write() 116 ret = PTR_ERR(cell); in afs_proc_cells_write() 120 if (test_and_set_bit(AFS_CELL_FL_NO_GC, &cell->flags)) in afs_proc_cells_write() 121 afs_put_cell(net, cell); in afs_proc_cells_write() 143 struct afs_cell *cell; in afs_proc_rootcell_show() local 149 cell = rcu_dereference(net->ws_cell); in afs_proc_rootcell_show() [all …]
|
D | dynroot.c | 30 struct afs_cell *cell; in afs_probe_cell_name() local 43 cell = afs_lookup_cell_rcu(afs_d2net(dentry), name, len); in afs_probe_cell_name() 44 if (!IS_ERR(cell)) { in afs_probe_cell_name() 45 afs_put_cell(afs_d2net(dentry), cell); in afs_probe_cell_name() 95 struct afs_cell *cell; in afs_lookup_atcell() local 113 cell = rcu_dereference_raw(net->ws_cell); in afs_lookup_atcell() 114 if (cell) { in afs_lookup_atcell() 115 len = cell->name_len; in afs_lookup_atcell() 116 memcpy(name, cell->name, len + 1); in afs_lookup_atcell() 123 if (!cell) in afs_lookup_atcell() [all …]
|
D | volume.c | 42 volume->cell = afs_get_cell(params->cell); in afs_alloc_volume() 52 slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); in afs_alloc_volume() 63 afs_put_cell(params->net, volume->cell); in afs_alloc_volume() 72 static struct afs_vldb_entry *afs_vl_lookup_vldb(struct afs_cell *cell, in afs_vl_lookup_vldb() argument 81 ret = afs_set_vl_cursor(&ac, cell); in afs_vl_lookup_vldb() 87 ret = afs_vl_get_capabilities(cell->net, &ac, key); in afs_vl_lookup_vldb() 102 vldb = afs_vl_get_entry_by_name_u(cell->net, &ac, key, in afs_vl_lookup_vldb() 158 vldb = afs_vl_lookup_vldb(params->cell, params->key, in afs_create_volume() 201 afs_put_cell(net, volume->cell); in afs_destroy_volume() 210 void afs_put_volume(struct afs_cell *cell, struct afs_volume *volume) in afs_put_volume() argument [all …]
|
D | super.c | 151 struct afs_cell *cell = as->cell; in afs_show_devname() local 174 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname() 200 struct afs_cell *cell; in afs_parse_options() local 217 cell = afs_lookup_cell_rcu(params->net, in afs_parse_options() 221 if (IS_ERR(cell)) in afs_parse_options() 222 return PTR_ERR(cell); in afs_parse_options() 223 afs_put_cell(params->net, params->cell); in afs_parse_options() 224 params->cell = cell; in afs_parse_options() 269 struct afs_cell *cell; in afs_parse_device_name() local 325 cellnamesz, cellnamesz, cellname ?: "", params->cell); in afs_parse_device_name() [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-bio-prison-v2.c | 73 struct dm_bio_prison_cell_v2 *cell) in dm_bio_prison_free_cell_v2() argument 75 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell_v2() 80 struct dm_bio_prison_cell_v2 *cell) in __setup_new_cell() argument 82 memset(cell, 0, sizeof(*cell)); in __setup_new_cell() 83 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell() 84 bio_list_init(&cell->bios); in __setup_new_cell() 123 struct dm_bio_prison_cell_v2 *cell = in __find_or_insert() local 126 r = cmp_keys(key, &cell->key); in __find_or_insert() 136 *result = cell; in __find_or_insert() 154 struct dm_bio_prison_cell_v2 **cell) in __get() argument [all …]
|
D | dm-bio-prison-v1.c | 70 struct dm_bio_prison_cell *cell) in dm_bio_prison_free_cell() argument 72 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell() 78 struct dm_bio_prison_cell *cell) in __setup_new_cell() argument 80 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell() 81 cell->holder = holder; in __setup_new_cell() 82 bio_list_init(&cell->bios); in __setup_new_cell() 119 struct dm_bio_prison_cell *cell = in __bio_detain() local 122 r = cmp_keys(key, &cell->key); in __bio_detain() 131 bio_list_add(&cell->bios, inmate); in __bio_detain() 132 *cell_result = cell; in __bio_detain() [all …]
|
/Linux-v4.19/sound/core/seq/ |
D | seq_prioq.c | 147 struct snd_seq_event_cell * cell) in snd_seq_prioq_cell_in() argument 154 if (snd_BUG_ON(!f || !cell)) in snd_seq_prioq_cell_in() 158 prior = (cell->event.flags & SNDRV_SEQ_PRIORITY_MASK); in snd_seq_prioq_cell_in() 166 if (compare_timestamp(&cell->event, &f->tail->event)) { in snd_seq_prioq_cell_in() 168 f->tail->next = cell; in snd_seq_prioq_cell_in() 169 f->tail = cell; in snd_seq_prioq_cell_in() 170 cell->next = NULL; in snd_seq_prioq_cell_in() 185 int rel = compare_timestamp_rel(&cell->event, &cur->event); in snd_seq_prioq_cell_in() 205 prev->next = cell; in snd_seq_prioq_cell_in() 206 cell->next = cur; in snd_seq_prioq_cell_in() [all …]
|
D | seq_fifo.c | 100 struct snd_seq_event_cell *cell; in snd_seq_fifo_clear() local 109 while ((cell = fifo_cell_out(f)) != NULL) { in snd_seq_fifo_clear() 110 snd_seq_cell_free(cell); in snd_seq_fifo_clear() 120 struct snd_seq_event_cell *cell; in snd_seq_fifo_event_in() local 128 err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ in snd_seq_fifo_event_in() 139 f->tail->next = cell; in snd_seq_fifo_event_in() 140 f->tail = cell; in snd_seq_fifo_event_in() 142 f->head = cell; in snd_seq_fifo_event_in() 143 cell->next = NULL; in snd_seq_fifo_event_in() 160 struct snd_seq_event_cell *cell; in fifo_cell_out() local [all …]
|
D | seq_memory.c | 84 struct snd_seq_event_cell *cell; in snd_seq_dump_var_event() local 109 cell = (struct snd_seq_event_cell *)event->data.ext.ptr; in snd_seq_dump_var_event() 110 for (; len > 0 && cell; cell = cell->next) { in snd_seq_dump_var_event() 114 err = func(private_data, &cell->event, size); in snd_seq_dump_var_event() 178 struct snd_seq_event_cell *cell) in free_cell() argument 180 cell->next = pool->free; in free_cell() 181 pool->free = cell; in free_cell() 185 void snd_seq_cell_free(struct snd_seq_event_cell * cell) in snd_seq_cell_free() argument 190 if (snd_BUG_ON(!cell)) in snd_seq_cell_free() 192 pool = cell->pool; in snd_seq_cell_free() [all …]
|
/Linux-v4.19/drivers/mfd/ |
D | mfd-core.c | 32 const struct mfd_cell *cell = mfd_get_cell(pdev); in mfd_cell_enable() local 36 if (atomic_inc_return(cell->usage_count) == 1) in mfd_cell_enable() 37 err = cell->enable(pdev); in mfd_cell_enable() 41 atomic_dec(cell->usage_count); in mfd_cell_enable() 49 const struct mfd_cell *cell = mfd_get_cell(pdev); in mfd_cell_disable() local 53 if (atomic_dec_return(cell->usage_count) == 0) in mfd_cell_disable() 54 err = cell->disable(pdev); in mfd_cell_disable() 58 atomic_inc(cell->usage_count); in mfd_cell_disable() 61 WARN_ON(atomic_read(cell->usage_count) < 0); in mfd_cell_disable() 68 const struct mfd_cell *cell, in mfd_platform_add_cell() argument [all …]
|
D | davinci_voicecodec.c | 46 struct mfd_cell *cell = NULL; in davinci_vc_probe() local 104 cell = &davinci_vc->cells[DAVINCI_VC_VCIF_CELL]; in davinci_vc_probe() 105 cell->name = "davinci-vcif"; in davinci_vc_probe() 106 cell->platform_data = davinci_vc; in davinci_vc_probe() 107 cell->pdata_size = sizeof(*davinci_vc); in davinci_vc_probe() 110 cell = &davinci_vc->cells[DAVINCI_VC_CQ93VC_CELL]; in davinci_vc_probe() 111 cell->name = "cq93vc-codec"; in davinci_vc_probe() 112 cell->platform_data = davinci_vc; in davinci_vc_probe() 113 cell->pdata_size = sizeof(*davinci_vc); in davinci_vc_probe()
|
D | lpc_sch.c | 125 int id, struct mfd_cell *cell) in lpc_sch_populate_cell() argument 138 memset(cell, 0, sizeof(*cell)); in lpc_sch_populate_cell() 140 cell->name = name; in lpc_sch_populate_cell() 141 cell->resources = res; in lpc_sch_populate_cell() 142 cell->num_resources = 1; in lpc_sch_populate_cell() 143 cell->ignore_resource_conflicts = true; in lpc_sch_populate_cell() 144 cell->id = id; in lpc_sch_populate_cell() 156 cell->num_resources++; in lpc_sch_populate_cell()
|
/Linux-v4.19/drivers/nvmem/ |
D | core.c | 302 static void nvmem_cell_drop(struct nvmem_cell *cell) in nvmem_cell_drop() argument 305 list_del(&cell->node); in nvmem_cell_drop() 307 kfree(cell); in nvmem_cell_drop() 312 struct nvmem_cell *cell; in nvmem_device_remove_all_cells() local 316 cell = list_entry(p, struct nvmem_cell, node); in nvmem_device_remove_all_cells() 317 if (cell->nvmem == nvmem) in nvmem_device_remove_all_cells() 318 nvmem_cell_drop(cell); in nvmem_device_remove_all_cells() 322 static void nvmem_cell_add(struct nvmem_cell *cell) in nvmem_cell_add() argument 325 list_add_tail(&cell->node, &nvmem_cells); in nvmem_cell_add() 331 struct nvmem_cell *cell) in nvmem_cell_info_to_nvmem_cell() argument [all …]
|
/Linux-v4.19/drivers/clk/mmp/ |
D | reset.c | 16 struct mmp_clk_reset_cell *cell; in mmp_of_reset_xlate() local 23 cell = &unit->cells[i]; in mmp_of_reset_xlate() 24 if (cell->clk_id == reset_spec->args[0]) in mmp_of_reset_xlate() 38 struct mmp_clk_reset_cell *cell; in mmp_clk_reset_assert() local 42 cell = &unit->cells[id]; in mmp_clk_reset_assert() 43 if (cell->lock) in mmp_clk_reset_assert() 44 spin_lock_irqsave(cell->lock, flags); in mmp_clk_reset_assert() 46 val = readl(cell->reg); in mmp_clk_reset_assert() 47 val |= cell->bits; in mmp_clk_reset_assert() 48 writel(val, cell->reg); in mmp_clk_reset_assert() [all …]
|
/Linux-v4.19/net/core/ |
D | gro_cells.c | 15 struct gro_cell *cell; in gro_cells_receive() local 20 cell = this_cpu_ptr(gcells->cells); in gro_cells_receive() 22 if (skb_queue_len(&cell->napi_skbs) > netdev_max_backlog) { in gro_cells_receive() 28 __skb_queue_tail(&cell->napi_skbs, skb); in gro_cells_receive() 29 if (skb_queue_len(&cell->napi_skbs) == 1) in gro_cells_receive() 30 napi_schedule(&cell->napi); in gro_cells_receive() 38 struct gro_cell *cell = container_of(napi, struct gro_cell, napi); in gro_cell_poll() local 43 skb = __skb_dequeue(&cell->napi_skbs); in gro_cell_poll() 64 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_init() local 66 __skb_queue_head_init(&cell->napi_skbs); in gro_cells_init() [all …]
|
/Linux-v4.19/drivers/mmc/host/ |
D | tmio_mmc.c | 30 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_suspend() local 36 if (!ret && cell->disable) in tmio_mmc_suspend() 37 cell->disable(pdev); in tmio_mmc_suspend() 45 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_resume() local 49 if (cell->resume) in tmio_mmc_resume() 50 ret = cell->resume(pdev); in tmio_mmc_resume() 61 const struct mfd_cell *cell = mfd_get_cell(pdev); in tmio_mmc_probe() local 81 if (cell->enable) { in tmio_mmc_probe() 82 ret = cell->enable(pdev); in tmio_mmc_probe() 127 if (cell->disable) in tmio_mmc_probe() [all …]
|
/Linux-v4.19/arch/arm64/boot/dts/freescale/ |
D | qoriq-qman-portals.dtsi | 22 cell-index = <0>; 29 cell-index = <1>; 36 cell-index = <2>; 43 cell-index = <3>; 50 cell-index = <4>; 57 cell-index = <5>; 64 cell-index = <6>; 71 cell-index = <7>; 78 cell-index = <8>; 85 cell-index = <9>;
|
/Linux-v4.19/Documentation/devicetree/bindings/net/ |
D | fsl-fman.txt | 32 - cell-index 37 The cell-index value may be used by the SoC, to identify the 39 there's a description of the cell-index use in each SoC: 42 register[bit] FMan unit cell-index 47 register[bit] FMan unit cell-index 54 register[bit] FMan unit cell-index 101 channels in the FMan. The first cell specifies the beginning 102 of the range and the second cell specifies the number of 170 - cell-index 184 The page of a specific port is determined by the cell-index. [all …]
|
D | ibm,emac.txt | 24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated 26 - mal-rx-channel : 1 cell, index of the rx channel on McMAL associated 28 - cell-index : 1 cell, hardware index of the EMAC cell on a given 31 - max-frame-size : 1 cell, maximum frame size supported in bytes 32 - rx-fifo-size : 1 cell, Rx fifo size in bytes for 10 and 100 Mb/sec 35 - tx-fifo-size : 1 cell, Tx fifo size in bytes for 10 and 100 Mb/sec 38 - fifo-entry-size : 1 cell, size of a fifo entry (used to calculate 41 - mal-burst-size : 1 cell, MAL burst size (used to calculate thresholds) 48 - mdio-device : 1 cell, required iff using shared MDIO registers 51 - zmii-device : 1 cell, required iff connected to a ZMII. phandle of [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/mips/cavium/ |
D | bootbus.txt | 13 - #address-cells: Must be <2>. The first cell is the chip select 14 within the bootbus. The second cell is the offset from the chip select. 29 - cavium,cs-index: A single cell indicating the chip select that 32 - cavium,t-adr: A cell specifying the ADR timing (in nS). 34 - cavium,t-ce: A cell specifying the CE timing (in nS). 36 - cavium,t-oe: A cell specifying the OE timing (in nS). 38 - cavium,t-we: A cell specifying the WE timing (in nS). 40 - cavium,t-rd-hld: A cell specifying the RD_HLD timing (in nS). 42 - cavium,t-wr-hld: A cell specifying the WR_HLD timing (in nS). 44 - cavium,t-pause: A cell specifying the PAUSE timing (in nS). [all …]
|
/Linux-v4.19/drivers/leds/ |
D | leds-asic3.c | 43 const struct mfd_cell *cell = mfd_get_cell(pdev); in brightness_set() local 50 base = led_n_base[cell->id]; in brightness_set() 62 const struct mfd_cell *cell = mfd_get_cell(pdev); in blink_set() local 82 base = led_n_base[cell->id]; in blink_set() 140 const struct mfd_cell *cell = mfd_get_cell(pdev); in asic3_led_suspend() local 144 if (cell->suspend) in asic3_led_suspend() 145 ret = (*cell->suspend)(pdev); in asic3_led_suspend() 153 const struct mfd_cell *cell = mfd_get_cell(pdev); in asic3_led_resume() local 157 if (cell->resume) in asic3_led_resume() 158 ret = (*cell->resume)(pdev); in asic3_led_resume()
|
/Linux-v4.19/drivers/usb/host/ |
D | ohci-tmio.c | 186 const struct mfd_cell *cell = mfd_get_cell(dev); in ohci_hcd_tmio_drv_probe() local 199 if (!cell) in ohci_hcd_tmio_drv_probe() 232 if (cell->enable) { in ohci_hcd_tmio_drv_probe() 233 ret = cell->enable(dev); in ohci_hcd_tmio_drv_probe() 254 if (cell->disable) in ohci_hcd_tmio_drv_probe() 255 cell->disable(dev); in ohci_hcd_tmio_drv_probe() 273 const struct mfd_cell *cell = mfd_get_cell(dev); in ohci_hcd_tmio_drv_remove() local 277 if (cell->disable) in ohci_hcd_tmio_drv_remove() 278 cell->disable(dev); in ohci_hcd_tmio_drv_remove() 290 const struct mfd_cell *cell = mfd_get_cell(dev); in ohci_hcd_tmio_drv_suspend() local [all …]
|
/Linux-v4.19/drivers/of/ |
D | of_net.c | 95 struct nvmem_cell *cell; in of_get_nvmem_mac_address() local 100 cell = of_nvmem_cell_get(np, "mac-address"); in of_get_nvmem_mac_address() 101 if (IS_ERR(cell)) in of_get_nvmem_mac_address() 102 return PTR_ERR(cell); in of_get_nvmem_mac_address() 104 mac = nvmem_cell_read(cell, &len); in of_get_nvmem_mac_address() 106 nvmem_cell_put(cell); in of_get_nvmem_mac_address()
|
/Linux-v4.19/include/linux/ |
D | nvmem-consumer.h | 37 void nvmem_cell_put(struct nvmem_cell *cell); 38 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell); 39 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len); 40 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len); 73 struct nvmem_cell *cell) in devm_nvmem_cell_put() argument 77 static inline void nvmem_cell_put(struct nvmem_cell *cell) in nvmem_cell_put() argument 81 static inline void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len) in nvmem_cell_read() argument 86 static inline int nvmem_cell_write(struct nvmem_cell *cell, in nvmem_cell_write() argument
|