Home
last modified time | relevance | path

Searched refs:desc (Results 426 – 450 of 4078) sorted by relevance

1...<<11121314151617181920>>...164

/openbmc/linux/drivers/net/ethernet/
H A Dlantiq_etop.c112 if (!ch->skb[ch->dma.desc]) in ltq_etop_alloc_skb()
130 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_hw_receive() local
141 ch->dma.desc++; in ltq_etop_hw_receive()
158 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_poll_rx() local
222 for (dma->desc = 0; dma->desc < LTQ_DESC_NUM; dma->desc++) in ltq_etop_free_channel()
289 for (ch->dma.desc = 0; ch->dma.desc < LTQ_DESC_NUM; in ltq_etop_hw_init()
290 ch->dma.desc++) in ltq_etop_hw_init()
293 ch->dma.desc = 0; in ltq_etop_hw_init()
480 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_tx() local
489 if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) || ch->skb[ch->dma.desc]) { in ltq_etop_tx()
[all …]
/openbmc/linux/drivers/regulator/
H A Dda903x-regulator.c73 struct regulator_desc desc; member
106 if (rdev->desc->n_voltages == 1) in da903x_set_voltage_sel()
122 if (rdev->desc->n_voltages == 1) in da903x_get_voltage_sel()
218 volt = rdev->desc->min_uV + in da9030_list_ldo14_voltage()
311 .desc = { \
331 .desc = { \
424 if (ri->desc.id == id) in find_regulator_info()
445 ri->desc.n_voltages = 16; in da903x_regulator_probe()
450 if (ri->desc.id == DA9030_ID_LDO14) in da903x_regulator_probe()
453 if (ri->desc.id == DA9030_ID_LDO1 || ri->desc.id == DA9030_ID_LDO15) in da903x_regulator_probe()
[all …]
H A Dtps65218-regulator.c74 ret = tps65218_set_bits(tps, dev->desc->vsel_reg, dev->desc->vsel_mask, in tps65218_pmic_set_voltage_sel()
100 return tps65218_set_bits(tps, dev->desc->enable_reg, in tps65218_pmic_enable()
101 dev->desc->enable_mask, dev->desc->enable_mask, in tps65218_pmic_enable()
115 dev->desc->enable_mask, TPS65218_PROTECT_L1); in tps65218_pmic_disable()
127 dev->desc->bypass_mask, in tps65218_pmic_set_suspend_enable()
154 return tps65218_set_bits(tps, dev->desc->bypass_reg, in tps65218_pmic_set_suspend_disable()
155 dev->desc->bypass_mask, in tps65218_pmic_set_suspend_disable()
201 return tps65218_set_bits(tps, dev->desc->csel_reg, dev->desc->csel_mask, in tps65218_pmic_set_input_current_lim()
202 index << __builtin_ctz(dev->desc->csel_mask), in tps65218_pmic_set_input_current_lim()
221 return tps65218_set_bits(tps, dev->desc->csel_reg, dev->desc->csel_mask, in tps65218_pmic_set_current_limit()
[all …]
H A Dof_regulator.c186 if (desc && desc->of_map_mode) { in of_get_regulation_constraints()
187 mode = desc->of_map_mode(pval); in of_get_regulation_constraints()
201 if (desc && desc->of_map_mode) { in of_get_regulation_constraints()
210 mode = desc->of_map_mode(pval); in of_get_regulation_constraints()
276 if (desc && desc->of_map_mode) { in of_get_regulation_constraints()
432 match->desc); in of_regulator_match()
460 if (desc->regulators_node) { in regulator_of_get_init_node()
472 desc->regulators_node); in regulator_of_get_init_node()
479 if (!desc->of_match_full_name) in regulator_of_get_init_node()
518 if (desc->of_parse_cb) { in regulator_of_get_init_data()
[all …]
H A Dcros-ec-regulator.c15 struct regulator_desc desc; member
146 data->desc.n_voltages = data->num_voltages; in cros_ec_regulator_init_info()
150 data->desc.name = devm_kstrdup(dev, resp.name, GFP_KERNEL); in cros_ec_regulator_init_info()
151 if (!data->desc.name) in cros_ec_regulator_init_info()
164 struct regulator_desc *desc; in cros_ec_regulator_probe() local
173 desc = &drvdata->desc; in cros_ec_regulator_probe()
175 init_data = of_get_regulator_init_data(dev, np, desc); in cros_ec_regulator_probe()
183 desc->owner = THIS_MODULE; in cros_ec_regulator_probe()
184 desc->type = REGULATOR_VOLTAGE; in cros_ec_regulator_probe()
185 desc->ops = &cros_ec_regulator_voltage_ops; in cros_ec_regulator_probe()
[all …]
/openbmc/linux/sound/firewire/motu/
H A Damdtp-motu.c293 __be32 *buf = desc->ctx_payload; in probe_tracepoints_events()
299 desc = amdtp_stream_next_packet_desc(s, desc); in probe_tracepoints_events()
336 const struct pkt_desc *cursor = desc; in process_ir_ctx_payloads()
345 __be32 *buf = desc->ctx_payload; in process_ir_ctx_payloads()
358 desc = amdtp_stream_next_packet_desc(s, desc); in process_ir_ctx_payloads()
361 desc = cursor; in process_ir_ctx_payloads()
370 probe_tracepoints_events(s, desc, count); in process_ir_ctx_payloads()
399 const struct pkt_desc *cursor = desc; in process_it_ctx_payloads()
408 __be32 *buf = desc->ctx_payload; in process_it_ctx_payloads()
423 desc = amdtp_stream_next_packet_desc(s, desc); in process_it_ctx_payloads()
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Dr4kcache.h201 unsigned long end = start + current_cpu_data.desc.waysize; \
202 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
203 unsigned long ws_end = current_cpu_data.desc.ways << \
204 current_cpu_data.desc.waybit; \
229 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
230 unsigned long ws_end = current_cpu_data.desc.ways << \
231 current_cpu_data.desc.waybit; \
288 unsigned long lsize = cpu_##desc##_line_size(); \
317 unsigned long end = start + current_cpu_data.desc.waysize; \
319 unsigned long ws_end = current_cpu_data.desc.ways << \
[all …]
/openbmc/linux/arch/powerpc/platforms/embedded6xx/
H A Dhlwd-pic.c121 static void hlwd_pic_irq_cascade(struct irq_desc *desc) in hlwd_pic_irq_cascade() argument
123 struct irq_chip *chip = irq_desc_get_chip(desc); in hlwd_pic_irq_cascade()
124 struct irq_domain *irq_domain = irq_desc_get_handler_data(desc); in hlwd_pic_irq_cascade()
127 raw_spin_lock(&desc->lock); in hlwd_pic_irq_cascade()
128 chip->irq_mask(&desc->irq_data); /* IRQ_LEVEL */ in hlwd_pic_irq_cascade()
129 raw_spin_unlock(&desc->lock); in hlwd_pic_irq_cascade()
137 raw_spin_lock(&desc->lock); in hlwd_pic_irq_cascade()
138 chip->irq_ack(&desc->irq_data); /* IRQ_LEVEL */ in hlwd_pic_irq_cascade()
139 if (!irqd_irq_disabled(&desc->irq_data) && chip->irq_unmask) in hlwd_pic_irq_cascade()
140 chip->irq_unmask(&desc->irq_data); in hlwd_pic_irq_cascade()
[all …]
/openbmc/linux/fs/verity/
H A Dread_metadata.c100 struct fsverity_descriptor *desc; in fsverity_read_descriptor() local
104 res = fsverity_get_descriptor(inode, &desc); in fsverity_read_descriptor()
110 desc->sig_size = 0; in fsverity_read_descriptor()
112 res = fsverity_read_buffer(buf, offset, length, desc, desc_size); in fsverity_read_descriptor()
114 kfree(desc); in fsverity_read_descriptor()
121 struct fsverity_descriptor *desc; in fsverity_read_signature() local
124 res = fsverity_get_descriptor(inode, &desc); in fsverity_read_signature()
128 if (desc->sig_size == 0) { in fsverity_read_signature()
137 res = fsverity_read_buffer(buf, offset, length, desc->signature, in fsverity_read_signature()
138 le32_to_cpu(desc->sig_size)); in fsverity_read_signature()
[all …]
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-tpiu.c125 struct coresight_desc desc = { 0 }; in tpiu_probe() local
127 desc.name = coresight_alloc_device_name(&tpiu_devs, dev); in tpiu_probe()
128 if (!desc.name) in tpiu_probe()
149 desc.access = CSDEV_ACCESS_IOMEM(base); in tpiu_probe()
152 tpiu_disable_hw(&desc.access); in tpiu_probe()
159 desc.type = CORESIGHT_DEV_TYPE_SINK; in tpiu_probe()
160 desc.subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_PORT; in tpiu_probe()
161 desc.ops = &tpiu_cs_ops; in tpiu_probe()
162 desc.pdata = pdata; in tpiu_probe()
163 desc.dev = dev; in tpiu_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmm.c140 const struct nvkm_vmm_desc *desc = it->desc; in nvkm_vmm_unref_pdes() local
260 const struct nvkm_vmm_desc *desc = it->desc; in nvkm_vmm_unref_ptes() local
366 const struct nvkm_vmm_desc *desc = it->desc; in nvkm_vmm_ref_ptes() local
415 const struct nvkm_vmm_desc *desc = &it->desc[it->lvl - 1]; in nvkm_vmm_ref_hwpt() local
486 const struct nvkm_vmm_desc *desc = &it->desc[it->lvl - 1]; in nvkm_vmm_ref_swpt() local
507 const struct nvkm_vmm_desc *desc = page->desc; in nvkm_vmm_iter() local
512 it.desc = desc; in nvkm_vmm_iter()
608 page->desc->func->invalid : page->desc->func->unmap); in nvkm_vmm_ptes_sparse_put()
1114 for (levels = 0, desc = page->desc; desc->bits; desc++, levels++) in nvkm_vmm_ctor()
1117 desc--; in nvkm_vmm_ctor()
[all …]
/openbmc/linux/crypto/
H A Dkdf_sp800108.c21 SHASH_DESC_ON_STACK(desc, kmd); in crypto_kdf108_ctr_generate()
28 desc->tfm = kmd; in crypto_kdf108_ctr_generate()
31 err = crypto_shash_init(desc); in crypto_kdf108_ctr_generate()
35 err = crypto_shash_update(desc, (u8 *)&counter, sizeof(__be32)); in crypto_kdf108_ctr_generate()
40 err = crypto_shash_update(desc, info[i].iov_base, in crypto_kdf108_ctr_generate()
49 err = crypto_shash_final(desc, tmpbuffer); in crypto_kdf108_ctr_generate()
57 err = crypto_shash_final(desc, dst); in crypto_kdf108_ctr_generate()
69 shash_desc_zero(desc); in crypto_kdf108_ctr_generate()
H A Dhmac.c89 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export() local
91 return crypto_shash_export(desc, out); in hmac_export()
96 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import() local
99 desc->tfm = ctx->hash; in hmac_import()
101 return crypto_shash_import(desc, in); in hmac_import()
114 return crypto_shash_update(desc, data, nbytes); in hmac_update()
125 return crypto_shash_final(desc, out) ?: in hmac_final()
126 crypto_shash_import(desc, opad) ?: in hmac_final()
127 crypto_shash_finup(desc, out, ds, out); in hmac_final()
141 crypto_shash_import(desc, opad) ?: in hmac_finup()
[all …]
/openbmc/linux/fs/crypto/
H A Dhkdf.c120 SHASH_DESC_ON_STACK(desc, hkdf->hmac_tfm); in fscrypt_hkdf_expand()
131 desc->tfm = hkdf->hmac_tfm; in fscrypt_hkdf_expand()
138 err = crypto_shash_init(desc); in fscrypt_hkdf_expand()
143 err = crypto_shash_update(desc, prev, HKDF_HASHLEN); in fscrypt_hkdf_expand()
148 err = crypto_shash_update(desc, prefix, sizeof(prefix)); in fscrypt_hkdf_expand()
152 err = crypto_shash_update(desc, info, infolen); in fscrypt_hkdf_expand()
158 err = crypto_shash_finup(desc, &counter, 1, tmp); in fscrypt_hkdf_expand()
164 err = crypto_shash_finup(desc, &counter, 1, &okm[i]); in fscrypt_hkdf_expand()
175 shash_desc_zero(desc); in fscrypt_hkdf_expand()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhal.h1041 u8 (*rx_desc_get_decap_type)(struct hal_rx_desc *desc);
1042 u8 (*rx_desc_get_mesh_ctl)(struct hal_rx_desc *desc);
1046 u16 (*rx_desc_get_msdu_len)(struct hal_rx_desc *desc);
1047 u8 (*rx_desc_get_msdu_sgi)(struct hal_rx_desc *desc);
1049 u8 (*rx_desc_get_msdu_rx_bw)(struct hal_rx_desc *desc);
1050 u32 (*rx_desc_get_msdu_freq)(struct hal_rx_desc *desc);
1052 u8 (*rx_desc_get_msdu_nss)(struct hal_rx_desc *desc);
1053 u8 (*rx_desc_get_mpdu_tid)(struct hal_rx_desc *desc);
1066 bool (*rx_desc_is_da_mcbc)(struct hal_rx_desc *desc);
1074 bool (*dp_rx_h_msdu_done)(struct hal_rx_desc *desc);
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-rpc-if.c78 static ssize_t rpcif_spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc, in rpcif_spi_mem_dirmap_read() argument
82 spi_controller_get_devdata(desc->mem->spi->controller); in rpcif_spi_mem_dirmap_read()
84 if (offs + desc->info.offset + len > U32_MAX) in rpcif_spi_mem_dirmap_read()
87 rpcif_spi_mem_prepare(desc->mem->spi, &desc->info.op_tmpl, &offs, &len); in rpcif_spi_mem_dirmap_read()
92 static int rpcif_spi_mem_dirmap_create(struct spi_mem_dirmap_desc *desc) in rpcif_spi_mem_dirmap_create() argument
95 spi_controller_get_devdata(desc->mem->spi->controller); in rpcif_spi_mem_dirmap_create()
97 if (desc->info.offset + desc->info.length > U32_MAX) in rpcif_spi_mem_dirmap_create()
100 if (!rpcif_spi_mem_supports_op(desc->mem, &desc->info.op_tmpl)) in rpcif_spi_mem_dirmap_create()
103 if (!rpc->dirmap && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create()
106 if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) in rpcif_spi_mem_dirmap_create()
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c224 desc = &props->devices[i]; in dvb_usb_find_device()
229 if (desc != NULL) in dvb_usb_find_device()
237 desc = &props->devices[i]; in dvb_usb_find_device()
243 if (desc != NULL && props->identify_state != NULL) in dvb_usb_find_device()
244 props->identify_state(udev, props, &desc, cold); in dvb_usb_find_device()
246 return desc; in dvb_usb_find_device()
290 if (!desc) { in dvb_usb_device_init()
303 info("found a '%s' in warm state.", desc->name); in dvb_usb_device_init()
305 d->desc = desc; in dvb_usb_device_init()
336 if (d != NULL && d->desc != NULL) { in dvb_usb_device_exit()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-moxtet.c31 const struct moxtet_gpio_desc *desc; member
39 if (chip->desc->in_mask & BIT(offset)) { in moxtet_gpio_get_value()
41 } else if (chip->desc->out_mask & BIT(offset)) { in moxtet_gpio_get_value()
80 if (chip->desc->in_mask & BIT(offset)) in moxtet_gpio_get_direction()
82 else if (chip->desc->out_mask & BIT(offset)) in moxtet_gpio_get_direction()
93 if (chip->desc->in_mask & BIT(offset)) in moxtet_gpio_direction_input()
95 else if (chip->desc->out_mask & BIT(offset)) in moxtet_gpio_direction_input()
106 if (chip->desc->out_mask & BIT(offset)) in moxtet_gpio_direction_output()
108 else if (chip->desc->in_mask & BIT(offset)) in moxtet_gpio_direction_output()
136 chip->desc = &descs[id]; in moxtet_gpio_probe()
/openbmc/linux/drivers/media/dvb-frontends/
H A Ddvb-pll.c613 if (i == desc->count) in dvb_pll_configure()
617 desc->entries[i].stepsize/2) / desc->entries[i].stepsize; in dvb_pll_configure()
621 buf[3] = desc->entries[i].cb; in dvb_pll_configure()
623 if (desc->set) in dvb_pll_configure()
624 desc->set(fe, buf); in dvb_pll_configure()
631 return (div * desc->entries[i].stepsize) - desc->iffreq; in dvb_pll_configure()
810 desc = pll_list[pll_desc_id]; in dvb_pll_attach()
829 priv->pll_desc = desc; in dvb_pll_attach()
842 desc->name, desc->min, desc->max); in dvb_pll_attach()
844 if (!desc->initdata) in dvb_pll_attach()
[all …]
/openbmc/linux/arch/s390/crypto/
H A Dcrc32-vx.c100 static int crc32_vx_init(struct shash_desc *desc) in crc32_vx_init() argument
102 struct crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in crc32_vx_init()
103 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); in crc32_vx_init()
131 static int crc32le_vx_final(struct shash_desc *desc, u8 *out) in crc32le_vx_final() argument
133 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); in crc32le_vx_final()
139 static int crc32be_vx_final(struct shash_desc *desc, u8 *out) in crc32be_vx_final() argument
141 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); in crc32be_vx_final()
147 static int crc32c_vx_final(struct shash_desc *desc, u8 *out) in crc32c_vx_final() argument
149 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); in crc32c_vx_final()
189 return __ ## alg ## _vx_finup(shash_desc_ctx(desc), \
[all …]
/openbmc/linux/drivers/pinctrl/berlin/
H A Dberlin.c29 const struct berlin_pinctrl_desc *desc; member
39 return pctrl->desc->ngroups; in berlin_pinctrl_get_group_count()
47 return pctrl->desc->groups[group].name; in berlin_pinctrl_get_group_name()
210 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state()
211 desc_group = pctrl->desc->groups + i; in berlin_pinctrl_build_state()
223 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state()
224 desc_group = pctrl->desc->groups + i; in berlin_pinctrl_build_state()
241 desc_group = pctrl->desc->groups + i; in berlin_pinctrl_build_state()
297 const struct berlin_pinctrl_desc *desc, in berlin_pinctrl_probe_regmap() argument
312 pctrl->desc = desc; in berlin_pinctrl_probe_regmap()
[all …]
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dmic.c50 SHASH_DESC_ON_STACK(desc, tfm_michael); in orinoco_mic()
67 desc->tfm = tfm_michael; in orinoco_mic()
73 err = crypto_shash_init(desc); in orinoco_mic()
77 err = crypto_shash_update(desc, hdr, sizeof(hdr)); in orinoco_mic()
81 err = crypto_shash_update(desc, data, data_len); in orinoco_mic()
85 err = crypto_shash_final(desc, mic); in orinoco_mic()
86 shash_desc_zero(desc); in orinoco_mic()
/openbmc/u-boot/include/
H A DACEX1K.h15 extern int ACEX1K_load(Altera_desc *desc, const void *image, size_t size);
16 extern int ACEX1K_dump(Altera_desc *desc, const void *buf, size_t bsize);
17 extern int ACEX1K_info(Altera_desc *desc);
19 extern int CYC2_load(Altera_desc *desc, const void *image, size_t size);
20 extern int CYC2_dump(Altera_desc *desc, const void *buf, size_t bsize);
21 extern int CYC2_info(Altera_desc *desc);
/openbmc/linux/drivers/staging/vt6655/
H A Ddevice_main.c608 desc->rd_info = kzalloc(sizeof(*desc->rd_info), GFP_KERNEL); in device_init_rd0_ring()
609 if (!desc->rd_info) { in device_init_rd0_ring()
631 kfree(desc->rd_info); in device_init_rd0_ring()
637 kfree(desc->rd_info); in device_init_rd0_ring()
654 desc->rd_info = kzalloc(sizeof(*desc->rd_info), GFP_KERNEL); in device_init_rd1_ring()
655 if (!desc->rd_info) { in device_init_rd1_ring()
677 kfree(desc->rd_info); in device_init_rd1_ring()
683 kfree(desc->rd_info); in device_init_rd1_ring()
724 desc->td_info = kzalloc(sizeof(*desc->td_info), GFP_KERNEL); in device_init_td0_ring()
765 desc->td_info = kzalloc(sizeof(*desc->td_info), GFP_KERNEL); in device_init_td1_ring()
[all …]
/openbmc/linux/lib/
H A Dlocking-selftest.c1506 print_testname(desc"/"#nr); \
1511 print_testname(desc"/"#nr); \
1516 print_testname(desc"/"#nr); \
1522 print_testname(desc"/"#nr); \
1529 print_testname(desc"/"#nr); \
1536 print_testname(desc"/"#nr); \
1562 print_testname(desc); \
1573 print_testname(desc); \
1587 print_testname(desc); \
1615 DO_TESTCASE_3(desc, name, 21);
[all …]

1...<<11121314151617181920>>...164