Home
last modified time | relevance | path

Searched refs:desc (Results 126 – 150 of 3950) sorted by relevance

12345678910>>...158

/openbmc/linux/drivers/regulator/
H A Drtq2134-regulator.c64 struct regulator_desc desc; member
79 struct rtq2134_regulator_desc *desc = in rtq2134_buck_set_mode() local
90 val <<= ffs(desc->mode_mask) - 1; in rtq2134_buck_set_mode()
91 return regmap_update_bits(rdev->regmap, desc->mode_reg, desc->mode_mask, in rtq2134_buck_set_mode()
97 struct rtq2134_regulator_desc *desc = in rtq2134_buck_get_mode() local
106 if (mode & desc->mode_mask) in rtq2134_buck_get_mode()
124 desc->suspend_vsel_mask, sel); in rtq2134_buck_set_suspend_voltage()
143 desc->suspend_enable_mask, 0); in rtq2134_buck_set_suspend_disable()
162 desc->suspend_mode_mask, val); in rtq2134_buck_set_suspend_mode()
240 int rid = desc->id; in rtq2134_buck_of_parse_cb()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A Drx.c21 struct wl1251_rx_descriptor *desc) in wl1251_rx_header() argument
29 wl1251_mem_read(wl, rx_packet_ring_addr, desc, sizeof(*desc)); in wl1251_rx_header()
33 struct wl1251_rx_descriptor *desc, in wl1251_rx_status() argument
43 status->mactime = desc->timestamp; in wl1251_rx_status()
59 status->signal = desc->rssi; in wl1251_rx_status()
65 wl->noise = desc->rssi - desc->snr / 2; in wl1251_rx_status()
85 switch (desc->rate) { in wl1251_rx_status()
120 if (desc->rate == RATE_1MBPS) { in wl1251_rx_status()
121 if (!(desc->mod_pre & OFDM_RATE_BIT)) in wl1251_rx_status()
129 if (desc->mod_pre & SHORT_PREAMBLE_BIT) in wl1251_rx_status()
[all …]
/openbmc/linux/drivers/usb/gadget/
H A Depautoconf.c65 struct usb_endpoint_descriptor *desc, in usb_ep_autoconfig_ss() argument
91 if (desc->wMaxPacketSize == 0) in usb_ep_autoconfig_ss()
95 desc->bEndpointAddress &= USB_DIR_IN; in usb_ep_autoconfig_ss()
98 desc->bEndpointAddress |= num; in usb_ep_autoconfig_ss()
99 } else if (desc->bEndpointAddress & USB_DIR_IN) { in usb_ep_autoconfig_ss()
106 desc->bEndpointAddress |= gadget->out_epnum; in usb_ep_autoconfig_ss()
109 ep->address = desc->bEndpointAddress; in usb_ep_autoconfig_ss()
110 ep->desc = NULL; in usb_ep_autoconfig_ss()
151 struct usb_endpoint_descriptor *desc in usb_ep_autoconfig() argument
157 ep = usb_ep_autoconfig_ss(gadget, desc, NULL); in usb_ep_autoconfig()
[all …]
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-omnitek.c155 dma_addr_t next = desc->bus; in descriptor_list_create()
257 d->next_l = (u32)desc->bus | in descriptor_list_create()
261 desc->last_desc_virt = d; in descriptor_list_create()
288 desc->size = bytes; in descriptor_list_allocate()
289 desc->virt = dma_alloc_coherent(desc->dev, bytes, in descriptor_list_allocate()
290 &desc->bus, GFP_KERNEL); in descriptor_list_allocate()
291 return desc->virt; in descriptor_list_allocate()
296 if (desc->virt) in descriptor_list_free()
297 dma_free_coherent(desc->dev, desc->size, in descriptor_list_free()
298 desc->virt, desc->bus); in descriptor_list_free()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib-devres.c22 gpiod_put(*desc); in devm_gpiod_release()
102 if (IS_ERR(desc)) in devm_gpiod_get_index()
103 return desc; in devm_gpiod_get_index()
115 return desc; in devm_gpiod_get_index()
125 *dr = desc; in devm_gpiod_get_index()
128 return desc; in devm_gpiod_get_index()
164 return desc; in devm_fwnode_gpiod_get_index()
167 *dr = desc; in devm_fwnode_gpiod_get_index()
170 return desc; in devm_fwnode_gpiod_get_index()
197 return desc; in devm_gpiod_get_index_optional()
[all …]
/openbmc/linux/crypto/
H A Dshash.c157 err = shash->final(desc, buf); in shash_final_unaligned()
181 err = shash->final(desc, out); in crypto_shash_final()
256 SHASH_DESC_ON_STACK(desc, tfm); in crypto_shash_tfm_digest()
259 desc->tfm = tfm; in crypto_shash_tfm_digest()
263 shash_desc_zero(desc); in crypto_shash_tfm_digest()
271 memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(desc->tfm)); in shash_default_export()
277 memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(desc->tfm)); in shash_default_import()
294 desc->tfm = *ctx; in shash_async_init()
348 desc->tfm = *ctx; in shash_async_finup()
382 desc->tfm = *ctx; in shash_async_digest()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_trace.h63 struct iavf_tx_desc *desc,
66 TP_ARGS(ring, desc, buf),
77 __field(void*, desc)
84 __entry->desc = desc;
101 TP_ARGS(ring, desc, buf));
109 TP_ARGS(ring, desc, buf));
118 TP_ARGS(ring, desc, skb),
122 __field(void*, desc)
129 __entry->desc = desc;
146 TP_ARGS(ring, desc, skb));
[all …]
/openbmc/u-boot/include/asm-generic/
H A Dgpio.h140 static inline bool dm_gpio_is_valid(const struct gpio_desc *desc) in dm_gpio_is_valid() argument
142 return desc->dev != NULL; in dm_gpio_is_valid()
291 int (*xlate)(struct udevice *dev, struct gpio_desc *desc,
452 int index, struct gpio_desc *desc, int flags);
511 struct gpio_desc *desc, int flags);
538 int dtflags, struct gpio_desc *desc);
570 int gpio_free_list_nodev(struct gpio_desc *desc, int count);
585 int dm_gpio_get_value(const struct gpio_desc *desc);
600 int dm_gpio_get_open_drain(struct gpio_desc *desc);
631 int dm_gpio_set_dir(struct gpio_desc *desc);
[all …]
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_dp_mst_helper_test.c74 const char *desc; member
87 .desc = "DP_POWER_UP_PHY with port number",
94 .desc = "DP_POWER_DOWN_PHY with port number",
109 .desc = "DP_ALLOCATE_PAYLOAD with port number",
116 .desc = "DP_ALLOCATE_PAYLOAD with VCPI",
123 .desc = "DP_ALLOCATE_PAYLOAD with PBN",
130 .desc = "DP_QUERY_PAYLOAD with port number",
137 .desc = "DP_QUERY_PAYLOAD with VCPI",
144 .desc = "DP_REMOTE_DPCD_READ with port number",
187 .desc = "DP_REMOTE_I2C_READ with port number",
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-partition-percpu.c128 handle_bad_irq(desc); in partition_handle_irq()
181 part = &desc->parts[i]; in partition_translate_id()
205 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in partition_create_desc()
206 if (!desc) in partition_create_desc()
209 desc->ops = *ops; in partition_create_desc()
213 d = irq_domain_create_linear(fwnode, nr_parts, &desc->ops, desc); in partition_create_desc()
216 desc->domain = d; in partition_create_desc()
223 desc->nr_parts = nr_parts; in partition_create_desc()
224 desc->parts = parts; in partition_create_desc()
226 return desc; in partition_create_desc()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dsha512_ssse3_glue.c48 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_update()
52 return crypto_sha512_update(desc, data, len); in sha512_update()
61 sha512_base_do_update(desc, data, len, sha512_xform); in sha512_update()
71 return crypto_sha512_finup(desc, data, len, out); in sha512_finup()
75 sha512_base_do_update(desc, data, len, sha512_xform); in sha512_finup()
76 sha512_base_do_finalize(desc, sha512_xform); in sha512_finup()
79 return sha512_base_finish(desc, out); in sha512_finup()
97 return sha512_ssse3_finup(desc, NULL, 0, out); in sha512_ssse3_final()
161 return sha512_update(desc, data, len, sha512_transform_avx); in sha512_avx_update()
173 return sha512_avx_finup(desc, NULL, 0, out); in sha512_avx_final()
[all …]
/openbmc/u-boot/drivers/fpga/
H A DstratixII.c20 switch (desc->iface) { in StratixII_load()
22 ret_val = StratixII_ps_fpp_load (desc, buf, bsize, 1, 0); in StratixII_load()
25 ret_val = StratixII_ps_fpp_load (desc, buf, bsize, 0, 0); in StratixII_load()
34 desc->iface); in StratixII_load()
43 switch (desc->iface) { in StratixII_dump()
47 ret_val = StratixII_ps_fpp_dump (desc, buf, bsize); in StratixII_dump()
52 desc->iface); in StratixII_dump()
57 int StratixII_info (Altera_desc * desc) in StratixII_info() argument
78 if (!desc) { in StratixII_ps_fpp_load()
90 if (!desc->iface_fns) { in StratixII_ps_fpp_load()
[all …]
/openbmc/linux/drivers/idle/
H A Dintel_idle.c232 .desc = "MWAIT 0x00",
240 .desc = "MWAIT 0x01",
248 .desc = "MWAIT 0x10",
256 .desc = "MWAIT 0x20",
269 .desc = "MWAIT 0x00",
277 .desc = "MWAIT 0x01",
285 .desc = "MWAIT 0x10",
293 .desc = "MWAIT 0x20",
301 .desc = "MWAIT 0x30",
314 .desc = "MWAIT 0x00",
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhal.c1546 desc->buffer_addr_info = in ath12k_hal_ce_src_set_desc()
1559 desc->buffer_addr_info = in ath12k_hal_ce_dst_set_desc()
1579 desc->buf_addr_info.info1 = in ath12k_hal_set_link_desc_addr()
1599 void *desc; in ath12k_hal_srng_dst_get_next_entry() local
1611 return desc; in ath12k_hal_srng_dst_get_next_entry()
1662 void *desc; in ath12k_hal_srng_src_get_next_entry() local
1689 return desc; in ath12k_hal_srng_src_get_next_entry()
1695 void *desc; in ath12k_hal_srng_src_reap_next() local
1709 return desc; in ath12k_hal_srng_src_reap_next()
1715 void *desc; in ath12k_hal_srng_src_get_next_reaped() local
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dcdev.c58 err = desc->mode; in get_exclusive()
89 desc->mode = mode; in revoke_exclusive()
110 if (IS_ERR(desc)) in vol_cdev_open()
111 return PTR_ERR(desc); in vol_cdev_open()
139 ubi_close_volume(desc); in vol_cdev_release()
792 if (IS_ERR(desc)) { in rename_volumes()
793 err = PTR_ERR(desc); in rename_volumes()
812 re1->desc = desc; in rename_volumes()
815 re1->desc->vol->vol_id, re1->desc->vol->name); in rename_volumes()
889 if (IS_ERR(desc)) { in ubi_cdev_ioctl()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Ddebugfs.c141 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
143 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
145 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
147 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
149 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
151 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
153 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
155 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
157 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
159 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
[all …]
/openbmc/linux/drivers/dma/
H A Daltera-msgdma.c195 void __iomem *desc; member
217 list_del(&desc->node); in msgdma_get_descriptor()
222 return desc; in msgdma_get_descriptor()
277 desc->len = len; in msgdma_desc_config()
278 desc->stride = stride; in msgdma_desc_config()
358 desc = &new->hw_desc; in msgdma_prep_memcpy()
396 void *desc = NULL; in msgdma_prep_slave_sg() local
423 desc = &new->hw_desc; in msgdma_prep_slave_sg()
558 if (!desc) in msgdma_start_transfer()
613 if (!desc) in msgdma_complete_descriptor()
[all …]
/openbmc/qemu/hw/net/
H A Dallwinner-sun8i-emac.c365 const uint32_t nxt = desc->next; in allwinner_sun8i_emac_next_desc()
386 desc_addr = desc->next; in allwinner_sun8i_emac_find_desc()
423 FrameDescriptor desc; in allwinner_sun8i_emac_can_receive() local
434 FrameDescriptor desc; in allwinner_sun8i_emac_receive() local
452 desc.status &= ~DESC_STATUS_CTL; in allwinner_sun8i_emac_receive()
491 s->rx_desc_curr = allwinner_sun8i_emac_find_desc(s, &desc, desc.next, in allwinner_sun8i_emac_receive()
511 FrameDescriptor desc; in allwinner_sun8i_emac_transmit() local
531 desc.status &= ~DESC_STATUS_CTL; in allwinner_sun8i_emac_transmit()
590 FrameDescriptor desc; in allwinner_sun8i_emac_read() local
652 value = desc.addr; in allwinner_sun8i_emac_read()
[all …]
H A Dtulip.c137 desc->status, desc->control >> 22, in tulip_dump_tx_descriptor()
138 desc->control & 0x7ff, (desc->control >> 11) & 0x7ff, in tulip_dump_tx_descriptor()
139 desc->buf_addr1, desc->buf_addr2); in tulip_dump_tx_descriptor()
146 desc->status, desc->control >> 22, in tulip_dump_rx_descriptor()
147 desc->control & 0x7ff, (desc->control >> 11) & 0x7ff, in tulip_dump_rx_descriptor()
148 desc->buf_addr1, desc->buf_addr2); in tulip_dump_rx_descriptor()
152 struct tulip_descriptor *desc) in tulip_next_rx_descriptor() argument
232 struct tulip_descriptor desc; in tulip_receive() local
254 desc.status = 0; in tulip_receive()
645 desc->status = 0x7fffffff; in tulip_setup_frame()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dnv50.c33 struct mxms_odev desc; member
40 struct mxms_odev desc; in mxm_match_tmds_partner() local
42 mxms_output_device(mxm, data, &desc); in mxm_match_tmds_partner()
43 if (desc.outp_type == 2 && in mxm_match_tmds_partner()
44 desc.dig_conn == ctx->desc.dig_conn) in mxm_match_tmds_partner()
54 u64 desc = *(u64 *)data; in mxm_match_dcb() local
84 if (ctx->desc.outp_type == 6 && ctx->desc.conn_type == 6 && in mxm_match_dcb()
128 switch (ctx.desc.outp_type) { in mxm_dcb_sanitise_entry()
149 switch (ctx.desc.conn_type) { in mxm_dcb_sanitise_entry()
181 u64 desc = *(u64 *)data; in mxm_show_unmatched() local
[all …]
/openbmc/linux/drivers/dma/sf-pdma/
H A Dsf-pdma.c56 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in sf_pdma_alloc_desc()
57 if (!desc) in sf_pdma_alloc_desc()
62 return desc; in sf_pdma_alloc_desc()
96 if (!desc) in sf_pdma_prep_dma_memcpy()
253 struct sf_pdma_desc *desc = chan->desc; in sf_pdma_xfer_desc() local
256 if (!desc) { in sf_pdma_xfer_desc()
266 chan->desc = desc; in sf_pdma_xfer_desc()
322 struct sf_pdma_desc *desc = chan->desc; in sf_pdma_errbh_tasklet() local
355 struct sf_pdma_desc *desc = chan->desc; in sf_pdma_done_isr() local
357 desc->src_addr += desc->xfer_size - residue; in sf_pdma_done_isr()
[all …]
/openbmc/qemu/target/arm/tcg/
H A Dvec_helper.c318 int idx = simd_data(desc); in HELPER()
336 int idx = simd_data(desc); in HELPER()
354 int idx = simd_data(desc); in HELPER()
372 int idx = simd_data(desc); in HELPER()
435 int idx = simd_data(desc); in HELPER()
450 int idx = simd_data(desc); in HELPER()
553 int idx = simd_data(desc); in HELPER()
571 int idx = simd_data(desc); in HELPER()
589 int idx = simd_data(desc); in HELPER()
607 int idx = simd_data(desc); in HELPER()
[all …]
/openbmc/linux/net/xdp/
H A Dxsk_queue.h125 *addr = ring->desc[idx]; in __xskq_cons_read_addr_unchecked()
144 struct xdp_desc *desc) in xp_aligned_validate_desc() argument
148 if (!desc->len) in xp_aligned_validate_desc()
163 struct xdp_desc *desc) in xp_unaligned_validate_desc() argument
167 if (!desc->len) in xp_unaligned_validate_desc()
183 struct xdp_desc *desc) in xp_validate_desc() argument
206 struct xdp_desc *desc, in xskq_cons_read_desc() argument
213 *desc = ring->desc[idx]; in xskq_cons_read_desc()
230 parsed->mb = xp_mb_desc(desc); in parse_desc()
419 ring->desc[idx].addr = addr; in xskq_prod_reserve_desc()
[all …]
/openbmc/linux/drivers/infiniband/ulp/iser/
H A Diser_initiator.c165 if (!desc->req) in iser_free_login_buf()
174 kfree(desc->req); in iser_free_login_buf()
175 kfree(desc->rsp); in iser_free_login_buf()
178 desc->req = NULL; in iser_free_login_buf()
179 desc->rsp = NULL; in iser_free_login_buf()
188 if (!desc->req) in iser_alloc_login_buf()
191 desc->req_dma = ib_dma_map_single(device->ib_device, desc->req, in iser_alloc_login_buf()
199 if (!desc->rsp) in iser_alloc_login_buf()
202 desc->rsp_dma = ib_dma_map_single(device->ib_device, desc->rsp, in iser_alloc_login_buf()
614 desc = iser_task->rdma_reg[ISER_DIR_IN].desc; in iser_check_remote_inv()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c164 struct hclge_desc desc; in hclge_mac_pause_en_cfg() local
177 struct hclge_desc desc; in hclge_pfc_pause_en_cfg() local
192 struct hclge_desc desc; in hclge_pause_param_cfg() local
209 struct hclge_desc desc; in hclge_pause_addr_cfg() local
253 struct hclge_desc desc; in hclge_up_to_tc_map() local
314 struct hclge_desc desc; in hclge_tm_pg_to_pri_map_cfg() local
330 struct hclge_desc desc; in hclge_tm_qs_to_pri_map_cfg() local
347 struct hclge_desc desc; in hclge_tm_q_to_qs_map_cfg() local
530 desc.data[1] = 0; in hclge_tm_pg_schd_mode_cfg()
546 desc.data[1] = 0; in hclge_tm_pri_schd_mode_cfg()
[all …]

12345678910>>...158