Searched refs:cells (Results 126 - 150 of 157) sorted by path

1234567

/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c128 u32 mlxsw_sp_cells_bytes(const struct mlxsw_sp *mlxsw_sp, u32 cells) argument
130 return mlxsw_sp->sb->cell_size * cells;
1147 * thresholds, therefore 'max_buff' isn't specified in cells.
/linux-master/drivers/nvmem/
H A Dbrcm_nvram.c28 * @cells: Array of discovered NVMEM cells
29 * @ncells: Number of elements in cells
37 struct nvmem_cell_info *cells; member in struct:brcm_nvram
136 priv->cells = devm_kcalloc(dev, priv->ncells, sizeof(*priv->cells), GFP_KERNEL);
137 if (!priv->cells) {
159 priv->cells[idx].name = name;
160 priv->cells[idx].offset = value - (char *)data;
161 priv->cells[id
[all...]
H A Dcore.c362 .name = "cells",
439 if (list_empty(&nvmem->cells) || nvmem->sysfs_cells_populated) {
445 ncells = list_count_nodes(&nvmem->cells);
460 list_for_each_entry(entry, &nvmem->cells, node) {
539 list_for_each_entry_safe(cell, p, &nvmem->cells, node)
546 list_add_tail(&cell->node, &cell->nvmem->cells);
601 * @nvmem: nvmem device to add cells to.
631 * @nvmem: nvmem device to add cells to.
633 * @ncells: number of cells in info
689 info = &table->cells[
[all...]
H A Dinternals.h25 struct list_head cells; member in struct:nvmem_device
/linux-master/drivers/of/
H A Dbase.c91 u32 cells; local
94 if (!of_property_read_u32(np, "#address-cells", &cells))
95 return cells;
97 /* No #address-cells property for the root node */
112 u32 cells; local
115 if (!of_property_read_u32(np, "#size-cells", &cells))
116 return cells;
118 /* No #size-cells propert
[all...]
H A Dproperty.c1134 #define DEFINE_SIMPLE_PROP(fname, name, cells) \
1138 return parse_prop_cells(np, prop_name, index, name, cells); \
1188 #define DEFINE_SUFFIX_PROP(fname, suffix, cells) \
1192 return parse_suffix_prop_cells(np, prop_name, index, suffix, cells); \
1225 DEFINE_SIMPLE_PROP(clocks, "clocks", "#clock-cells")
1226 DEFINE_SIMPLE_PROP(interconnects, "interconnects", "#interconnect-cells")
1227 DEFINE_SIMPLE_PROP(iommus, "iommus", "#iommu-cells")
1228 DEFINE_SIMPLE_PROP(mboxes, "mboxes", "#mbox-cells")
1229 DEFINE_SIMPLE_PROP(io_channels, "io-channels", "#io-channel-cells")
1230 DEFINE_SIMPLE_PROP(io_backends, "io-backends", "#io-backend-cells")
[all...]
/linux-master/drivers/pinctrl/
H A Dpinctrl-single.c1165 /* Index plus two value cells */
1341 const char *cellname = "#pinctrl-single,gpio-range-cells";
1732 * @cells: number of cells
1734 * Handle legacy binding with no #pinctrl-cells. This should be
1740 int cells)
1743 const char *name = "#pinctrl-cells";
1752 name, cells);
1762 *(__be32 *)p->value = cpu_to_be32(cells);
1832 dev_err(&pdev->dev, "unable to patch #pinctrl-cells\
1738 pcs_quirk_missing_pinctrl_cells(struct pcs_device *pcs, struct device_node *np, int cells) argument
[all...]
/linux-master/drivers/platform/x86/intel/int3472/
H A Dtps68470.c101 * on to pass .pdata_size to cells.
148 struct mfd_cell *cells; local
180 cells = kcalloc(TPS68470_WIN_MFD_CELL_COUNT, sizeof(*cells), GFP_KERNEL);
181 if (!cells)
185 * The order of the cells matters here! The clk must be first
190 cells[0].name = "tps68470-clk";
191 cells[0].platform_data = clk_pdata;
192 cells[0].pdata_size = struct_size(clk_pdata, consumers, n_consumers);
193 cells[
[all...]
/linux-master/drivers/s390/char/
H A Dcon3270.c62 struct tty3270_cell *cells; member in struct:tty3270_line
325 for (i = 0, cell = line->cells; i < line->len; i++, cell++) {
423 for (i = 0, cell = line->cells; i < line->len; i++, cell++) {
901 screen[lines].cells = kcalloc(cols, sizeof(struct tty3270_cell), GFP_KERNEL);
902 if (!screen[lines].cells)
909 kfree(screen[lines].cells);
955 kfree(screen[lines].cells);
1266 cell = line->cells + line->len;
1273 cell = line->cells + tp->cx;
1331 tty3270_reset_cell(tp, &line->cells[lin
[all...]
/linux-master/drivers/soc/tegra/fuse/
H A Dfuse-tegra.c215 nvmem.cells = fuse->soc->cells;
H A Dfuse-tegra30.c288 .cells = tegra124_fuse_cells,
458 .cells = tegra210_fuse_cells,
516 .cells = tegra186_fuse_cells,
609 .cells = tegra194_fuse_cells,
674 .cells = tegra234_fuse_cells,
H A Dfuse.h35 const struct nvmem_cell_info *cells; member in struct:tegra_fuse_soc
/linux-master/drivers/video/
H A Dof_display_timing.c29 int length, cells, ret; local
37 cells = length / sizeof(u32);
38 if (cells == 1) {
42 } else if (cells == 3) {
43 ret = of_property_read_u32_array(np, name, &result->min, cells);
/linux-master/fs/afs/
H A Dcell.c73 p = net->cells.rb_node;
268 pp = &net->cells.rb_node;
291 rb_insert_color(&cell->net_node, &net->cells);
739 rb_erase(&cell->net_node, &net->cells);
833 * Manage the records of cells known to a network namespace. This includes
834 * updating the DNS records and garbage collecting unused cells that were
837 * Note that constructed cell records may only be removed from net->cells by
839 * into the tree and then return to caller (provided it skips cells that are
854 /* Trawl the cell database looking for cells that have expired from
855 * lack of use and cells whos
[all...]
H A Dinternal.h303 struct rb_root cells; member in struct:afs_net
385 * Two cells are determined to be aliases if they have an explicit alias (YFS
393 struct rb_node net_node; /* Node in net->cells */
H A Dmain.c78 net->cells = RB_ROOT;
/linux-master/include/linux/mfd/atc260x/
H A Dcore.h41 const struct mfd_cell *cells; member in struct:atc260x
/linux-master/include/linux/mfd/
H A Daxp20x.h937 const struct mfd_cell *cells; member in struct:axp20x_dev
970 * This lets the axp20x core configure the mfd cells and register maps
H A Dcore.h133 const struct mfd_cell *cells, int n_devs,
138 const struct mfd_cell *cells, int n_devs)
140 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs,
148 const struct mfd_cell *cells, int n_devs,
137 mfd_add_hotplug_devices(struct device *parent, const struct mfd_cell *cells, int n_devs) argument
H A Dintel-m10-bmc.h212 * @cells: MFD cells
213 * @n_cells: MFD cells ARRAY_SIZE()
219 struct mfd_cell *cells; member in struct:intel_m10bmc_platform_info
H A Dsi476x-core.h81 * @cells: MFD cell devices created by this driver.
119 struct mfd_cell cells[SI476X_MFD_CELLS]; member in struct:si476x_core
H A Dti_am335x_tscadc.h162 struct mfd_cell cells[TSCADC_CELLS]; member in struct:ti_tscadc_dev
H A Dtwl6040.h190 struct mfd_cell cells[TWL6040_CELLS]; member in struct:twl6040
/linux-master/include/linux/
H A Dnvmem-provider.h84 * @cells: Optional array of pre-defined NVMEM cells.
85 * @ncells: Number of elements in cells.
86 * @add_legacy_fixed_of_cells: Read fixed NVMEM cells from old OF syntax.
116 const struct nvmem_cell_info *cells; member in struct:nvmem_config
144 * @cells: Array of cell definitions.
154 const struct nvmem_cell_info *cells; member in struct:nvmem_cell_table
166 * specific cells with nvmem_add_one_cell().
171 * cells.
/linux-master/net/core/
H A Dgro_cells.c23 if (!gcells->cells || skb_cloned(skb) || netif_elide_gro(dev)) {
28 cell = this_cpu_ptr(gcells->cells);
74 gcells->cells = alloc_percpu(struct gro_cell);
75 if (!gcells->cells)
79 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i);
111 if (!gcells->cells)
114 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i);
120 /* We need to observe an rcu grace period before freeing ->cells,
128 defer->ptr = gcells->cells;
135 free_percpu(gcells->cells);
[all...]

Completed in 415 milliseconds

1234567