Home
last modified time | relevance | path

Searched refs:cdesc (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/clk/ti/
H A Dclk-dra7-atl.c76 if (!cdesc->probed) in atl_clk_enable()
81 cdesc->id); in atl_clk_enable()
84 atl_write(cdesc->cinfo, DRA7_ATL_ATLCR_REG(cdesc->id), in atl_clk_enable()
86 atl_write(cdesc->cinfo, DRA7_ATL_SWEN_REG(cdesc->id), DRA7_ATL_SWEN); in atl_clk_enable()
89 cdesc->enabled = true; in atl_clk_enable()
98 if (!cdesc->probed) in atl_clk_disable()
101 atl_write(cdesc->cinfo, DRA7_ATL_SWEN_REG(cdesc->id), 0); in atl_clk_disable()
252 cdesc->id = i; in of_dra7_atl_clk_probe()
265 cdesc->bws); in of_dra7_atl_clk_probe()
267 cdesc->aws); in of_dra7_atl_clk_probe()
[all …]
/openbmc/linux/arch/loongarch/mm/
H A Dcache.c53 for (i = 0; i < cdesc->sets; i++) { in flush_cache_leaf()
54 for (j = 0; j < cdesc->ways; j++) { in flush_cache_leaf()
59 addr -= cdesc->ways; in flush_cache_leaf()
60 addr += cdesc->linesz; in flush_cache_leaf()
73 if (cache_inclusive(cdesc + leaf)) { in __flush_cache_all()
107 cdesc->level = level; \
112 cdesc++; leaf++; \
125 cdesc->type = CACHE_TYPE_INST; in cpu_cache_init()
130 cdesc->type = CACHE_TYPE_DATA; in cpu_cache_init()
143 cdesc->type = CACHE_TYPE_INST; in cpu_cache_init()
[all …]
/openbmc/linux/drivers/crypto/inside-secure/
H A Dsafexcel_ring.c18 struct safexcel_command_desc *cdesc; in safexcel_init_ring_descriptors() local
48 cdesc = cdr->base; in safexcel_init_ring_descriptors()
53 cdesc = (void *)cdesc + cdr->offset; in safexcel_init_ring_descriptors()
191 if (IS_ERR(cdesc)) in safexcel_add_cdesc()
192 return cdesc; in safexcel_add_cdesc()
194 cdesc->particle_size = data_len; in safexcel_add_cdesc()
195 cdesc->rsvd0 = 0; in safexcel_add_cdesc()
196 cdesc->last_seg = last; in safexcel_add_cdesc()
197 cdesc->first_seg = first; in safexcel_add_cdesc()
199 cdesc->rsvd1 = 0; in safexcel_add_cdesc()
[all …]
H A Dsafexcel_cipher.c87 cdesc->control_data.token[3] = in safexcel_skcipher_iv()
116 cdesc->additional_cdata_size = 1; in safexcel_skcipher_token()
144 cdesc->control_data.token[3] = in safexcel_aead_iv()
152 cdesc->control_data.token[3] = in safexcel_aead_iv()
519 cdesc->control_data.control0 = in safexcel_context_control()
526 cdesc->control_data.control0 = in safexcel_context_control()
537 cdesc->control_data.control0 = in safexcel_context_control()
560 cdesc->control_data.control0 = in safexcel_context_control()
806 if (IS_ERR(cdesc)) { in safexcel_send_req()
808 ret = PTR_ERR(cdesc); in safexcel_send_req()
[all …]
H A Dsafexcel.c862 cdesc += commands; in safexcel_dequeue()
894 writel((cdesc * priv->config.cd_offset), in safexcel_dequeue()
960 struct safexcel_command_desc *cdesc; in safexcel_complete() local
965 if (IS_ERR(cdesc)) { in safexcel_complete()
970 } while (!cdesc->last_seg); in safexcel_complete()
977 struct safexcel_command_desc *cdesc; in safexcel_invalidate_cache() local
985 if (IS_ERR(cdesc)) in safexcel_invalidate_cache()
986 return PTR_ERR(cdesc); in safexcel_invalidate_cache()
988 cdesc->control_data.type = EIP197_TYPE_EXTENDED; in safexcel_invalidate_cache()
989 cdesc->control_data.options = 0; in safexcel_invalidate_cache()
[all …]
H A Dsafexcel_hash.c116 cdesc->control_data.control1 = 0; in safexcel_context_control()
130 cdesc->control_data.control0 |= in safexcel_context_control()
137 cdesc->control_data.control0 |= in safexcel_context_control()
188 cdesc->control_data.control0 |= in safexcel_context_control()
194 cdesc->control_data.control0 |= in safexcel_context_control()
196 cdesc->control_data.control1 |= in safexcel_context_control()
210 cdesc->control_data.control0 |= in safexcel_context_control()
216 cdesc->control_data.control0 |= in safexcel_context_control()
450 if (IS_ERR(cdesc)) { in safexcel_ahash_send_req()
451 ret = PTR_ERR(cdesc); in safexcel_ahash_send_req()
[all …]
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.c11 struct ena_eth_io_rx_cdesc_base *cdesc; in ena_com_get_next_rx_cdesc() local
32 return cdesc; in ena_com_get_next_rx_cdesc()
235 struct ena_eth_io_rx_cdesc_base *cdesc; in ena_com_cdesc_rx_pkt_get() local
241 if (!cdesc) in ena_com_cdesc_rx_pkt_get()
346 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags()
360 ena_rx_ctx->hash = cdesc->hash; in ena_com_rx_set_flags()
561 ena_rx_ctx->pkt_offset = cdesc->offset; in ena_com_rx_pkt()
564 ena_buf[i].len = cdesc->length; in ena_com_rx_pkt()
565 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()
630 struct ena_eth_io_rx_cdesc_base *cdesc; in ena_com_cq_empty() local
[all …]
H A Dena_eth_com.h228 struct ena_eth_io_tx_cdesc *cdesc; in ena_com_tx_comp_req_id_get() local
234 cdesc = (struct ena_eth_io_tx_cdesc *) in ena_com_tx_comp_req_id_get()
242 cdesc_phase = READ_ONCE(cdesc->flags) & ENA_ETH_IO_TX_CDESC_PHASE_MASK; in ena_com_tx_comp_req_id_get()
248 *req_id = READ_ONCE(cdesc->req_id); in ena_com_tx_comp_req_id_get()
251 cdesc->req_id); in ena_com_tx_comp_req_id_get()
/openbmc/u-boot/drivers/usb/emul/
H A Dusb-emul-uclass.c61 struct usb_config_descriptor *cdesc; in usb_emul_find_descriptor() local
63 cdesc = (struct usb_config_descriptor *)*ptr; in usb_emul_find_descriptor()
64 if (cdesc && cdesc->bConfigurationValue == index) in usb_emul_find_descriptor()
264 struct usb_config_descriptor *cdesc; in usb_emul_setup_device() local
275 if (cdesc) { in usb_emul_setup_device()
276 cdesc->wTotalLength = upto; in usb_emul_setup_device()
278 cdesc->bConfigurationValue, in usb_emul_setup_device()
279 cdesc->bLength); in usb_emul_setup_device()
285 if (cdesc) { in usb_emul_setup_device()
286 cdesc->wTotalLength = upto; in usb_emul_setup_device()
[all …]
/openbmc/linux/arch/loongarch/include/asm/
H A Dcacheflush.h12 static inline bool cache_present(struct cache_desc *cdesc) in cache_present() argument
14 return cdesc->flags & CACHE_PRESENT; in cache_present()
17 static inline bool cache_private(struct cache_desc *cdesc) in cache_private() argument
19 return cdesc->flags & CACHE_PRIVATE; in cache_private()
22 static inline bool cache_inclusive(struct cache_desc *cdesc) in cache_inclusive() argument
24 return cdesc->flags & CACHE_INCLUSIVE; in cache_inclusive()
/openbmc/linux/drivers/usb/core/
H A Dof.c59 struct usb_config_descriptor *cdesc; in usb_of_has_combined_node() local
68 cdesc = &udev->config->desc; in usb_of_has_combined_node()
69 if (cdesc->bNumInterfaces == 1) in usb_of_has_combined_node()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_mfa2.c189 const struct mlxfw_mfa2_tlv_component_descriptor *cdesc; in mlxfw_mfa2_file_comp_validate() local
211 cdesc = mlxfw_mfa2_tlv_component_descriptor_get(mfa2_file, tlv); in mlxfw_mfa2_file_comp_validate()
212 if (!cdesc) { in mlxfw_mfa2_file_comp_validate()
217 pr_debug(" -- Component type %d\n", be16_to_cpu(cdesc->identifier)); in mlxfw_mfa2_file_comp_validate()
219 ((u64) be32_to_cpu(cdesc->cb_offset_h) << 32) in mlxfw_mfa2_file_comp_validate()
220 | be32_to_cpu(cdesc->cb_offset_l), be32_to_cpu(cdesc->size)); in mlxfw_mfa2_file_comp_validate()
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_sgdma.c172 struct sgdma_descrip __iomem *cdesc = &descbase[0]; in sgdma_tx_buffer() local
179 sgdma_setup_descrip(cdesc, /* current descriptor */ in sgdma_tx_buffer()
189 sgdma_async_write(priv, cdesc); in sgdma_tx_buffer()
341 struct sgdma_descrip __iomem *cdesc = &descbase[0]; in sgdma_async_read() local
352 sgdma_setup_descrip(cdesc, /* current descriptor */ in sgdma_async_read()
367 csrwr32(lower_32_bits(sgdma_rxphysaddr(priv, cdesc)), in sgdma_async_read()
/openbmc/linux/arch/loongarch/kernel/
H A Dcacheinfo.c67 struct cache_desc *cd, *cdesc = current_cpu_data.cache_leaves; in populate_cache_leaves() local
70 cd = cdesc + i; in populate_cache_leaves()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.c2417 struct ice_tx_ctx_desc *cdesc; in ice_xmit_frame_ring() local
2421 cdesc = ICE_TX_CTX_DESC(tx_ring, i); in ice_xmit_frame_ring()
2426 cdesc->tunneling_params = cpu_to_le32(offload.cd_tunnel_params); in ice_xmit_frame_ring()
2427 cdesc->l2tag2 = cpu_to_le16(offload.cd_l2tag2); in ice_xmit_frame_ring()
2428 cdesc->rsvd = cpu_to_le16(0); in ice_xmit_frame_ring()
2429 cdesc->qw1 = cpu_to_le64(offload.cd_qw1); in ice_xmit_frame_ring()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_midi2.c1860 struct usb_ms20_endpoint_descriptor_32 *cdesc) in fill_midi2_class_desc() argument
1864 cdesc->bLength = USB_DT_MS20_ENDPOINT_SIZE(ep->num_blks); in fill_midi2_class_desc()
1865 cdesc->bDescriptorType = USB_DT_CS_ENDPOINT; in fill_midi2_class_desc()
1866 cdesc->bDescriptorSubtype = USB_MS_GENERAL_2_0; in fill_midi2_class_desc()
1867 cdesc->bNumGrpTrmBlock = ep->num_blks; in fill_midi2_class_desc()
1869 cdesc->baAssoGrpTrmBlkID[blk] = ep->blks[blk].gtb_id; in fill_midi2_class_desc()