Home
last modified time | relevance | path

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

/linux/drivers/clk/ti/
A Dclk-dra7-atl.c84 if (!cdesc->probed) in atl_clk_enable()
89 cdesc->id); in atl_clk_enable()
92 atl_write(cdesc->cinfo, DRA7_ATL_ATLCR_REG(cdesc->id), in atl_clk_enable()
94 atl_write(cdesc->cinfo, DRA7_ATL_SWEN_REG(cdesc->id), DRA7_ATL_SWEN); in atl_clk_enable()
97 cdesc->enabled = true; in atl_clk_enable()
106 if (!cdesc->probed) in atl_clk_disable()
109 atl_write(cdesc->cinfo, DRA7_ATL_SWEN_REG(cdesc->id), 0); in atl_clk_disable()
266 cdesc->id = i; in of_dra7_atl_clk_probe()
279 cdesc->bws); in of_dra7_atl_clk_probe()
281 cdesc->aws); in of_dra7_atl_clk_probe()
[all …]
/linux/drivers/crypto/inside-secure/
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 …]
A Dsafexcel_cipher.c88 cdesc->control_data.token[3] = in safexcel_skcipher_iv()
117 cdesc->additional_cdata_size = 1; in safexcel_skcipher_token()
145 cdesc->control_data.token[3] = in safexcel_aead_iv()
153 cdesc->control_data.token[3] = in safexcel_aead_iv()
520 cdesc->control_data.control0 = in safexcel_context_control()
527 cdesc->control_data.control0 = in safexcel_context_control()
538 cdesc->control_data.control0 = in safexcel_context_control()
561 cdesc->control_data.control0 = in safexcel_context_control()
792 if (IS_ERR(cdesc)) { in safexcel_send_req()
794 ret = PTR_ERR(cdesc); in safexcel_send_req()
[all …]
A Dsafexcel.c854 cdesc += commands; in safexcel_dequeue()
886 writel((cdesc * priv->config.cd_offset), in safexcel_dequeue()
952 struct safexcel_command_desc *cdesc; in safexcel_complete() local
957 if (IS_ERR(cdesc)) { in safexcel_complete()
962 } while (!cdesc->last_seg); in safexcel_complete()
980 struct safexcel_command_desc *cdesc; in safexcel_invalidate_cache() local
988 if (IS_ERR(cdesc)) in safexcel_invalidate_cache()
989 return PTR_ERR(cdesc); in safexcel_invalidate_cache()
991 cdesc->control_data.type = EIP197_TYPE_EXTENDED; in safexcel_invalidate_cache()
992 cdesc->control_data.options = 0; in safexcel_invalidate_cache()
[all …]
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 …]
/linux/drivers/net/ethernet/amazon/ena/
A Dena_eth_com.c11 struct ena_eth_io_rx_cdesc_base *cdesc; in ena_com_get_next_rx_cdesc() local
21 desc_phase = (READ_ONCE(cdesc->status) & in ena_com_get_next_rx_cdesc()
33 return cdesc; in ena_com_get_next_rx_cdesc()
239 struct ena_eth_io_rx_cdesc_base *cdesc; in ena_com_cdesc_rx_pkt_get() local
245 if (!cdesc) in ena_com_cdesc_rx_pkt_get()
250 last = (READ_ONCE(cdesc->status) & in ena_com_cdesc_rx_pkt_get()
354 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags()
368 ena_rx_ctx->hash = cdesc->hash; in ena_com_rx_set_flags()
576 ena_buf[i].len = cdesc->length; in ena_com_rx_pkt()
577 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()
[all …]
A Dena_eth_com.h225 struct ena_eth_io_tx_cdesc *cdesc; in ena_com_tx_comp_req_id_get() local
231 cdesc = (struct ena_eth_io_tx_cdesc *) in ena_com_tx_comp_req_id_get()
239 cdesc_phase = READ_ONCE(cdesc->flags) & ENA_ETH_IO_TX_CDESC_PHASE_MASK; in ena_com_tx_comp_req_id_get()
245 *req_id = READ_ONCE(cdesc->req_id); in ena_com_tx_comp_req_id_get()
248 "Invalid req id %d\n", cdesc->req_id); in ena_com_tx_comp_req_id_get()
/linux/drivers/usb/core/
A Dof.c60 struct usb_config_descriptor *cdesc; in usb_of_has_combined_node() local
69 cdesc = &udev->config->desc; in usb_of_has_combined_node()
70 if (cdesc->bNumInterfaces == 1) in usb_of_has_combined_node()
/linux/drivers/net/ethernet/mellanox/mlxfw/
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()
/linux/drivers/net/ethernet/altera/
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()
/linux/drivers/net/ethernet/intel/ice/
A Dice_txrx.c2312 struct ice_tx_ctx_desc *cdesc; in ice_xmit_frame_ring() local
2316 cdesc = ICE_TX_CTX_DESC(tx_ring, i); in ice_xmit_frame_ring()
2321 cdesc->tunneling_params = cpu_to_le32(offload.cd_tunnel_params); in ice_xmit_frame_ring()
2322 cdesc->l2tag2 = cpu_to_le16(offload.cd_l2tag2); in ice_xmit_frame_ring()
2323 cdesc->rsvd = cpu_to_le16(0); in ice_xmit_frame_ring()
2324 cdesc->qw1 = cpu_to_le64(offload.cd_qw1); in ice_xmit_frame_ring()

Completed in 235 milliseconds