Home
last modified time | relevance | path

Searched refs:ae (Results 1 – 25 of 64) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dqat_hal.c36 #define AE(handle, ae) handle->hal_handle->aes[ae] argument
70 unsigned char ae, unsigned int ctx_mask) in qat_hal_set_live_ctx() argument
72 AE(handle, ae).live_ctx_mask = ctx_mask; in qat_hal_set_live_ctx()
77 unsigned char ae, unsigned int csr) in qat_hal_rd_ae_csr() argument
83 value = GET_AE_CSR(handle, ae, csr); in qat_hal_rd_ae_csr()
84 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_rd_ae_csr()
93 unsigned char ae, unsigned int csr, in qat_hal_wr_ae_csr() argument
99 SET_AE_CSR(handle, ae, csr, value); in qat_hal_wr_ae_csr()
100 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_wr_ae_csr()
109 unsigned char ae, unsigned char ctx, in qat_hal_get_wakeup_event() argument
[all …]
Dicp_qat_hal.h96 #define AE_CSR(handle, ae) \ argument
98 ((ae & handle->hal_handle->ae_mask) << 12))
99 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & csr)) argument
100 #define SET_AE_CSR(handle, ae, csr, val) \ argument
101 ADF_CSR_WR(AE_CSR_ADDR(handle, ae, csr), 0, val)
102 #define GET_AE_CSR(handle, ae, csr) ADF_CSR_RD(AE_CSR_ADDR(handle, ae, csr), 0) argument
103 #define AE_XFER(handle, ae) \ argument
105 ((ae & handle->hal_handle->ae_mask) << 12))
106 #define AE_XFER_ADDR(handle, ae, reg) (AE_XFER(handle, ae) + \ argument
108 #define SET_AE_XFER(handle, ae, reg, val) \ argument
[all …]
Dqat_uclo.c20 unsigned int ae, unsigned int image_num) in qat_uclo_init_ae_data() argument
27 ae_data = &obj_handle->ae_data[ae]; in qat_uclo_init_ae_data()
141 unsigned char ae, unsigned int addr, in qat_uclo_wr_umem_by_words() argument
152 qat_hal_wr_umem(handle, ae, addr++, 1, &outval); in qat_uclo_wr_umem_by_words()
159 unsigned char ae, in qat_uclo_batch_wr_umem() argument
171 ae = umem_init->ae; in qat_uclo_batch_wr_umem()
175 qat_uclo_wr_umem_by_words(handle, ae, addr, value, size); in qat_uclo_batch_wr_umem()
200 unsigned long ae = 0; in qat_uclo_parse_num() local
210 if ((kstrtoul(buf, 10, &ae))) in qat_uclo_parse_num()
213 *num = (unsigned int)ae; in qat_uclo_parse_num()
[all …]
Dadf_accel_engine.c77 u32 ae_ctr, ae, max_aes = GET_MAX_ACCELENGINES(accel_dev); in adf_ae_start() local
82 for (ae = 0, ae_ctr = 0; ae < max_aes; ae++) { in adf_ae_start()
83 if (hw_data->ae_mask & (1 << ae)) { in adf_ae_start()
84 qat_hal_start(loader_data->fw_loader, ae, 0xFF); in adf_ae_start()
98 u32 ae_ctr, ae, max_aes = GET_MAX_ACCELENGINES(accel_dev); in adf_ae_stop() local
103 for (ae = 0, ae_ctr = 0; ae < max_aes; ae++) { in adf_ae_stop()
104 if (hw_data->ae_mask & (1 << ae)) { in adf_ae_stop()
105 qat_hal_stop(loader_data->fw_loader, ae, 0xFF); in adf_ae_stop()
115 static int adf_ae_reset(struct adf_accel_dev *accel_dev, int ae) in adf_ae_reset() argument
Dadf_common_drv.h136 void qat_hal_start(struct icp_qat_fw_loader_handle *handle, unsigned char ae,
138 void qat_hal_stop(struct icp_qat_fw_loader_handle *handle, unsigned char ae,
143 unsigned char ae, unsigned int ctx_mask);
145 unsigned int ae);
147 unsigned char ae, enum icp_qat_uof_regtype lm_type,
150 unsigned char ae, unsigned char mode);
152 unsigned char ae, unsigned char mode);
154 unsigned char ae, unsigned int ctx_mask, unsigned int upc);
156 unsigned char ae, unsigned int uaddr,
158 void qat_hal_wr_umem(struct icp_qat_fw_loader_handle *handle, unsigned char ae,
[all …]
Dadf_admin.c113 static int adf_put_admin_msg_sync(struct adf_accel_dev *accel_dev, u32 ae, in adf_put_admin_msg_sync() argument
119 int offset = ae * ADF_ADMINMSG_LEN * 2; in adf_put_admin_msg_sync()
121 int mb_offset = ae * ADF_DH895XCC_MAILBOX_STRIDE; in adf_put_admin_msg_sync()
142 request->cmd_id, ae); in adf_put_admin_msg_sync()
160 u32 ae; in adf_send_admin() local
162 for_each_set_bit(ae, &ae_mask, ICP_QAT_HW_AE_DELIMITER) in adf_send_admin()
163 if (adf_put_admin_msg_sync(accel_dev, ae, req, resp) || in adf_send_admin()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_ct.c2083 struct lpfc_fdmi_attr_entry *ae; in lpfc_fdmi_hba_attr_wwnn() local
2086 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_wwnn()
2087 memset(ae, 0, sizeof(*ae)); in lpfc_fdmi_hba_attr_wwnn()
2089 memcpy(&ae->un.AttrWWN, &vport->fc_sparam.nodeName, in lpfc_fdmi_hba_attr_wwnn()
2100 struct lpfc_fdmi_attr_entry *ae; in lpfc_fdmi_hba_attr_manufacturer() local
2103 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_manufacturer()
2104 memset(ae, 0, sizeof(*ae)); in lpfc_fdmi_hba_attr_manufacturer()
2109 strncpy(ae->un.AttrString, in lpfc_fdmi_hba_attr_manufacturer()
2111 sizeof(ae->un.AttrString)); in lpfc_fdmi_hba_attr_manufacturer()
2112 len = strnlen(ae->un.AttrString, in lpfc_fdmi_hba_attr_manufacturer()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Desas2r_int.c702 static void esas2r_lun_event(struct esas2r_adapter *a, union atto_vda_ae *ae, in esas2r_lun_event() argument
712 esas2r_trace("ae->lu.dwevent: %x", ae->lu.dwevent); in esas2r_lun_event()
713 esas2r_trace("ae->lu.bystate: %x", ae->lu.bystate); in esas2r_lun_event()
719 if (ae->lu.dwevent & VDAAE_LU_LOST) { in esas2r_lun_event()
722 switch (ae->lu.bystate) { in esas2r_lun_event()
738 memcpy(&t->lu_event, &ae->lu, cplen); in esas2r_lun_event()
750 union atto_vda_ae *ae = in esas2r_ae_complete() local
770 last = ae; in esas2r_ae_complete()
773 while (ae < last) { in esas2r_ae_complete()
776 esas2r_trace("ae: %p", ae); in esas2r_ae_complete()
[all …]
Desas2r_main.c1453 void esas2r_nuxi_ae_data(union atto_vda_ae *ae) in esas2r_nuxi_ae_data() argument
1455 struct atto_vda_ae_raid *r = &ae->raid; in esas2r_nuxi_ae_data()
1456 struct atto_vda_ae_lu *l = &ae->lu; in esas2r_nuxi_ae_data()
1458 switch (ae->hdr.bytype) { in esas2r_nuxi_ae_data()
1711 struct esas2r_vda_ae *ae = (struct esas2r_vda_ae *)fw_event->data; in esas2r_send_ae_event() local
1714 switch (ae->vda_ae.hdr.bytype) { in esas2r_send_ae_event()
1783 esas2r_log_hexdump(ESAS2R_LOG_WARN, &ae->vda_ae, in esas2r_send_ae_event()
1784 ae->vda_ae.hdr.bylength); in esas2r_send_ae_event()
1843 struct esas2r_vda_ae *ae = in esas2r_queue_fw_event() local
1846 ae->signature = ESAS2R_VDA_EVENT_SIG; in esas2r_queue_fw_event()
[all …]
/kernel/linux/linux-5.10/net/can/
Disotp.c183 static int isotp_send_fc(struct sock *sk, int ae, u8 flowstatus) in isotp_send_fc() argument
217 ncf->len = ae + FC_CONTENT_SZ; in isotp_send_fc()
220 ncf->data[ae] = N_PCI_FC | flowstatus; in isotp_send_fc()
221 ncf->data[ae + 1] = so->rxfc.bs; in isotp_send_fc()
222 ncf->data[ae + 2] = so->rxfc.stmin; in isotp_send_fc()
224 if (ae) in isotp_send_fc()
329 static int isotp_rcv_fc(struct isotp_sock *so, struct canfd_frame *cf, int ae) in isotp_rcv_fc() argument
339 if ((cf->len < ae + FC_CONTENT_SZ) || in isotp_rcv_fc()
341 check_pad(so, cf, ae + FC_CONTENT_SZ, so->opt.rxpad_content))) { in isotp_rcv_fc()
354 so->txfc.bs = cf->data[ae + 1]; in isotp_rcv_fc()
[all …]
/kernel/linux/linux-5.10/security/selinux/
Davc.c56 struct avc_entry ae; member
335 node->ae.xp_node->xp.len++; in avc_add_xperms_decision()
340 list_add(&dest_xpd->xpd_list, &node->ae.xp_node->xpd_head); in avc_add_xperms_decision()
379 node->ae.xp_node = dest; in avc_xperms_populate()
437 avc_xperms_free(node->ae.xp_node); in avc_node_free()
451 avc_xperms_free(node->ae.xp_node); in avc_node_kill()
521 node->ae.ssid = ssid; in avc_node_populate()
522 node->ae.tsid = tsid; in avc_node_populate()
523 node->ae.tclass = tclass; in avc_node_populate()
524 memcpy(&node->ae.avd, avd, sizeof(node->ae.avd)); in avc_node_populate()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dhisilicon-hns-nic.txt7 - ae-handle: accelerator engine handle for hns,
42 - port-idx-in-ae: is the index of port provided by AE.
44 to the CPU. The port-idx-in-ae can be 0 to 5. Here is the diagram:
55 single NIC connected to this switch. In this case, the port-idx-in-ae
73 ae-handle = <&dsaf0>;
74 port-idx-in-ae = <0>;
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dpower7-pmu.c161 s64 ae; in power7_get_alternatives() local
168 ae = event_alternatives[i][j]; in power7_get_alternatives()
169 if (ae && ae != event) in power7_get_alternatives()
170 alt[nalt++] = ae; in power7_get_alternatives()
173 ae = find_alternative_decode(event); in power7_get_alternatives()
174 if (ae > 0) in power7_get_alternatives()
175 alt[nalt++] = ae; in power7_get_alternatives()
Dpower5+-pmu.c278 s64 ae; in power5p_get_alternatives() local
286 ae = event_alternatives[i][j]; in power5p_get_alternatives()
287 if (ae && ae != event) in power5p_get_alternatives()
288 alt[nalt++] = ae; in power5p_get_alternatives()
289 nlim += power5p_limited_pmc_event(ae); in power5p_get_alternatives()
292 ae = find_alternative_bdecode(event); in power5p_get_alternatives()
293 if (ae > 0) in power5p_get_alternatives()
294 alt[nalt++] = ae; in power5p_get_alternatives()
Dpower5-pmu.c273 s64 ae; in power5_get_alternatives() local
280 ae = event_alternatives[i][j]; in power5_get_alternatives()
281 if (ae && ae != event) in power5_get_alternatives()
282 alt[nalt++] = ae; in power5_get_alternatives()
285 ae = find_alternative_bdecode(event); in power5_get_alternatives()
286 if (ae > 0) in power5_get_alternatives()
287 alt[nalt++] = ae; in power5_get_alternatives()
Dmpc7450-pmu.c225 u32 ae; in mpc7450_get_alternatives() local
232 ae = event_alternatives[i][j]; in mpc7450_get_alternatives()
233 if (ae && ae != (u32)event) in mpc7450_get_alternatives()
234 alt[nalt++] = ae; in mpc7450_get_alternatives()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Defi.c972 u64 as = 0, ae; in find_memmap_space() local
1015 ae = min(contig_high, efi_md_end(md)); in find_memmap_space()
1019 ae = min(ae, max_addr); in find_memmap_space()
1020 if (ae <= as) in find_memmap_space()
1024 if (total_mem + (ae - as) > mem_limit) in find_memmap_space()
1025 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space()
1027 if (ae <= as) in find_memmap_space()
1030 if (ae - as > space_needed) in find_memmap_space()
1049 u64 as, ae, lim; in efi_memmap_init() local
1132 ae = contig_high; in efi_memmap_init()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a.host.c106 ia_css_ae_encode(&to->ae, from, sizeof(to->ae)); in ia_css_s3a_encode()
141 const struct sh_css_isp_ae_params *ae, in ia_css_ae_dump() argument
144 if (!ae) return; in ia_css_ae_dump()
146 "ae_y_coef_r", ae->y_coef_r); in ia_css_ae_dump()
148 "ae_y_coef_g", ae->y_coef_g); in ia_css_ae_dump()
150 "ae_y_coef_b", ae->y_coef_b); in ia_css_ae_dump()
207 ia_css_ae_dump(&s3a->ae, level); in ia_css_s3a_dump()
Dia_css_s3a_param.h45 struct sh_css_isp_ae_params ae; member
Dia_css_s3a.host.h38 const struct sh_css_isp_ae_params *ae,
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
Dipu3-css-params.c2448 acc->ae.grid_cfg = acc_user->ae.grid_cfg; in imgu_css_cfg_acc()
2449 acc->ae.ae_ccm = acc_user->ae.ae_ccm; in imgu_css_cfg_acc()
2451 acc->ae.weights[i] = acc_user->ae.weights[i]; in imgu_css_cfg_acc()
2454 acc->ae.grid_cfg = acc_old->ae.grid_cfg; in imgu_css_cfg_acc()
2455 acc->ae.ae_ccm = acc_old->ae.ae_ccm; in imgu_css_cfg_acc()
2457 acc->ae.weights[i] = acc_old->ae.weights[i]; in imgu_css_cfg_acc()
2463 acc->ae.grid_cfg = imgu_css_ae_grid_defaults; in imgu_css_cfg_acc()
2464 acc->ae.ae_ccm = imgu_css_ae_ccm_defaults; in imgu_css_cfg_acc()
2466 acc->ae.weights[i] = weight_def; in imgu_css_cfg_acc()
2469 b_w_log2 = acc->ae.grid_cfg.block_width_log2; in imgu_css_cfg_acc()
[all …]
/kernel/linux/linux-5.10/Documentation/scsi/
Dtcm_qla2xxx.rst32 echo 1 > /sys/kernel/config/target/qla2xxx/21:00:00:24:ff:27:8f:ae/tpgt_1/attrib/jam_host
36 echo 0 > /sys/kernel/config/target/qla2xxx/21:00:00:24:ff:27:8f:ae/tpgt_1/attrib/jam_host
/kernel/linux/linux-5.10/lib/
Dtest_hexdump.c167 int ae, he, e, f, r; in test_hexdump_overflow() local
180 ae = rs * 2 /* hex */ + rs / gs /* spaces */ + 1 /* space */ + len /* ascii */; in test_hexdump_overflow()
184 e = ae; in test_hexdump_overflow()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/hisilicon/
Dhip06.dtsi568 ae-handle = <&dsaf0>;
569 port-idx-in-ae = <4>;
577 ae-handle = <&dsaf0>;
578 port-idx-in-ae = <5>;
586 ae-handle = <&dsaf0>;
587 port-idx-in-ae = <0>;
595 ae-handle = <&dsaf0>;
596 port-idx-in-ae = <1>;
/kernel/linux/linux-5.10/arch/powerpc/crypto/
Daes-tab-4k.S50 .long R(3d, 93, 93, ae), R(4c, 26, 26, 6a)
128 .long R(47, ae, ae, e9), R(10, 08, 08, 18)
142 .long R(ae, 57, 57, f9), R(69, b9, b9, d0)
186 .long R(b1, 64, 77, e0), R(bb, 6b, ae, 84)
205 .long R(dd, 3e, 05, ae), R(4d, e6, bd, 46)
217 .long R(3d, ae, d5, 1e), R(36, 2d, 39, 27)
237 .long R(ae, f9, 32, 11), R(c7, 29, a1, 6d)

123