Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 25 of 55) sorted by relevance

123

/drivers/block/
Dswim_asm.S62 lea %a3@(read_handshake), %a2
80 tstb %a2@
91 amark0: tstb %a2@
99 amark1: tstb %a2@
107 amark2: tstb %a2@
115 amark3: tstb %a2@
123 crc0: tstb %a2@
131 crc1: tstb %a2@
160 lea %a3@(read_handshake), %a2
180 tstb %a2@
[all …]
/drivers/s390/net/
Dqeth_l3.h58 struct qeth_ipaddr *a2) in qeth_l3_addr_match_ip() argument
60 if (a1->proto != a2->proto) in qeth_l3_addr_match_ip()
63 return ipv6_addr_equal(&a1->u.a6.addr, &a2->u.a6.addr); in qeth_l3_addr_match_ip()
64 return a1->u.a4.addr == a2->u.a4.addr; in qeth_l3_addr_match_ip()
68 struct qeth_ipaddr *a2) in qeth_l3_addr_match_all() argument
80 if (a1->type != a2->type) in qeth_l3_addr_match_all()
83 return a1->u.a6.pfxlen == a2->u.a6.pfxlen; in qeth_l3_addr_match_all()
84 return a1->u.a4.mask == a2->u.a4.mask; in qeth_l3_addr_match_all()
/drivers/firmware/arm_ffa/
Ddriver.c149 return ffa_to_linux_errno((int)ret.a2); in ffa_rx_release()
162 .a1 = tx_buf, .a2 = rx_buf, .a3 = pg_cnt, in ffa_rxtx_map()
166 return ffa_to_linux_errno((int)ret.a2); in ffa_rxtx_map()
180 return ffa_to_linux_errno((int)ret.a2); in ffa_rxtx_unmap()
196 .a1 = uuid0, .a2 = uuid1, .a3 = uuid2, .a4 = uuid3, in __ffa_partition_info_get()
201 return ffa_to_linux_errno((int)partition_info.a2); in __ffa_partition_info_get()
204 count = partition_info.a2; in __ffa_partition_info_get()
254 return ffa_to_linux_errno((int)id.a2); in ffa_id_get()
256 *vm_id = FIELD_GET(VM_ID_MASK, (id.a2)); in ffa_id_get()
276 .a0 = req_id, .a1 = src_dst_ids, .a2 = 0, in ffa_msg_send_direct_req()
[all …]
/drivers/firmware/
Dstratix10-svc.c219 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_data_claim()
220 svc_pa_to_va(res.a2) : NULL; in svc_thread_cmd_data_claim()
315 cb_data->kaddr2 = &res.a2; in svc_thread_recv_status_ok()
343 unsigned long a0, a1, a2; in svc_normal_to_secure_thread() local
359 a2 = 0; in svc_normal_to_secure_thread()
383 a2 = 0; in svc_normal_to_secure_thread()
388 a2 = (unsigned long)pdata->size; in svc_normal_to_secure_thread()
393 a2 = 0; in svc_normal_to_secure_thread()
398 a2 = 0; in svc_normal_to_secure_thread()
403 a2 = 0; in svc_normal_to_secure_thread()
[all …]
Dqcom_scm-smc.c147 res->result[1] = smc_res.a2; in __scm_smc_call()
/drivers/isdn/mISDN/
Ddsp_biquad.h18 int32_t a2; member
27 int32_t gain, int32_t a1, int32_t a2, int32_t b1, int32_t b2) in biquad2_init() argument
31 bq->a2 = a2; in biquad2_init()
44 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; in biquad2()
/drivers/firmware/smccc/
Dkvm_guest.c28 res.a2 != ARM_SMCCC_VENDOR_HYP_UID_KVM_REG_2 || in kvm_init_hyp_services()
37 val[2] = lower_32_bits(res.a2); in kvm_init_hyp_services()
43 res.a3, res.a2, res.a1, res.a0); in kvm_init_hyp_services()
/drivers/net/wan/
Dwanxlfw.S347 movel scc_reg_addr(%d0), %a2 // A2 = SCC_REGS address
349 movel #0xFFFF, SCC_SCCE(%a2) // clear status bits
350 movel #0x0000, SCC_SCCM(%a2) // interrupt mask
362 clrw SCC_PSMR(%a2) // CRC16-CCITT
372 movew #0x0800, SCC_PSMR(%a2) // CRC32-CCITT
382 clrw SCC_PSMR(%a2) // CRC16-CCITT preset 0
392 movew #0x0800, SCC_PSMR(%a2) // CRC32-CCITT preset 0
400 clrw SCC_PSMR(%a2) // no parity
407 movel #0x00000003, SCC_GSMR_H(%a2) // RTSM
410 movel #0x10040900, SCC_GSMR_L(%a2) // NRZI: TCI Tend RECN+TENC=1
[all …]
/drivers/platform/mellanox/
Dmlxbf-bootctl.c288 res->a2, res->a2 >> 8, res->a2 >> 16, in mlxbf_bootctl_guid_match()
289 res->a2 >> 24, res->a3, res->a3 >> 8, in mlxbf_bootctl_guid_match()
Dmlxbf-pmc.c1334 guid_t id = GUID_INIT(res->a0, res->a1, res->a1 >> 16, res->a2, in mlxbf_pmc_guid_match()
1335 res->a2 >> 8, res->a2 >> 16, res->a2 >> 24, in mlxbf_pmc_guid_match()
/drivers/acpi/acpica/
Dacpredef.h117 #define METHOD_2ARGS(a1,a2) (2 | (a1 << 3) | (a2 << 6)) argument
118 #define METHOD_3ARGS(a1,a2,a3) (3 | (a1 << 3) | (a2 << 6) | (a3 << 9)) argument
119 #define METHOD_4ARGS(a1,a2,a3,a4) (4 | (a1 << 3) | (a2 << 6) | (a3 << 9) | (a4 << 12)) argument
120 #define METHOD_5ARGS(a1,a2,a3,a4,a5) (5 | (a1 << 3) | (a2 << 6) | (a3 << 9) | (a4 << 12) | (a5 <… argument
/drivers/hwmon/
Dnct6683.c363 struct sensor_device_attribute_2 a2; member
408 struct sensor_device_attribute_2 *a2; in nct6683_create_attr_group() local
449 a2 = &su->u.a2; in nct6683_create_attr_group()
450 sysfs_attr_init(&a2->dev_attr.attr); in nct6683_create_attr_group()
451 a2->dev_attr.attr.name = su->name; in nct6683_create_attr_group()
452 a2->nr = (*t)->u.s.nr + i; in nct6683_create_attr_group()
453 a2->index = (*t)->u.s.index; in nct6683_create_attr_group()
454 a2->dev_attr.attr.mode = in nct6683_create_attr_group()
456 a2->dev_attr.show = (*t)->dev_attr.show; in nct6683_create_attr_group()
457 a2->dev_attr.store = (*t)->dev_attr.store; in nct6683_create_attr_group()
[all …]
/drivers/thermal/
Drcar_gen3_thermal.c78 int a2; member
153 tsc->coef.a2 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[0]), in rcar_gen3_thermal_calc_coefs()
155 tsc->coef.b2 = FIXPT_INT(thcode[0]) - tsc->coef.a2 * ths_tj_1; in rcar_gen3_thermal_calc_coefs()
182 tsc->coef.a2); in rcar_gen3_thermal_get_temp()
202 val = celsius * tsc->coef.a2 + tsc->coef.b2; in rcar_gen3_thermal_mcelsius_to_temp()
/drivers/input/touchscreen/
Dmc13783_ts.c58 #define sort3(a0, a1, a2) ({ \ argument
61 if (a1 > a2) \
62 swap(a1, a2); \
/drivers/watchdog/
Darm_smc_wdt.c138 wdd->timeout = res.a2; in smcwd_probe()
139 wdd->max_timeout = res.a2; in smcwd_probe()
/drivers/tee/optee/
Drpc.c510 reg_pair_from_64(&param->a1, &param->a2, pa); in optee_handle_rpc()
515 param->a2 = 0; in optee_handle_rpc()
521 shm = reg_pair_to_ptr(param->a1, param->a2); in optee_handle_rpc()
533 shm = reg_pair_to_ptr(param->a1, param->a2); in optee_handle_rpc()
Dcore.c365 res.a2 == OPTEE_MSG_UID_2 && res.a3 == OPTEE_MSG_UID_3) in optee_msg_api_uid_is_optee_api()
540 unsigned long a2, unsigned long a3, in optee_smccc_smc() argument
545 arm_smccc_smc(a0, a1, a2, a3, a4, a5, a6, a7, res); in optee_smccc_smc()
549 unsigned long a2, unsigned long a3, in optee_smccc_hvc() argument
554 arm_smccc_hvc(a0, a1, a2, a3, a4, a5, a6, a7, res); in optee_smccc_hvc()
Dcall.c137 reg_pair_from_64(&param.a1, &param.a2, parg); in optee_do_call_with_arg()
144 optee->invoke_fn(param.a0, param.a1, param.a2, param.a3, in optee_do_call_with_arg()
159 param.a2 = res.a2; in optee_do_call_with_arg()
/drivers/mailbox/
Dzynqmp-ipi-mailbox.c126 unsigned long a1, a2; in zynqmp_ipi_fw_call() local
129 a2 = ipi_mbox->remote_id; in zynqmp_ipi_fw_call()
131 arm_smccc_smc(a0, a1, a2, a3, 0, 0, 0, 0, res); in zynqmp_ipi_fw_call()
133 arm_smccc_hvc(a0, a1, a2, a3, 0, 0, 0, 0, res); in zynqmp_ipi_fw_call()
/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c318 coefficients->a2[i] = dc_fixpt_from_fraction( in build_coefficients()
348 scratch_1 = dc_fixpt_sub(args->a2, scratch_1); in translate_from_linear_space()
376 scratch_1 = dc_fixpt_sub(scratch_1, args->a2); in translate_from_linear_space()
395 args->a2, in translate_from_linear_space_long()
412 args->a2); in translate_from_linear_space_long()
425 scratch_gamma_args.a2 = dc_fixpt_zero; in calculate_gamma22()
441 struct fixed31_32 a2, in translate_to_linear_space() argument
453 dc_fixpt_sub(a2, arg), in translate_to_linear_space()
463 dc_fixpt_add(a2, arg), in translate_to_linear_space()
481 scratch_gamma_args.a2 = coeff->a2[color_index]; in translate_from_linear_space_ex()
[all …]
Dcolor_gamma.h98 struct fixed31_32 a2; member
/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.c48 int a1, a2; in amdgpu_atombios_crtc_overscan_setup() local
63 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay; in amdgpu_atombios_crtc_overscan_setup()
65 if (a1 > a2) { in amdgpu_atombios_crtc_overscan_setup()
66 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup()
67 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in amdgpu_atombios_crtc_overscan_setup()
68 } else if (a2 > a1) { in amdgpu_atombios_crtc_overscan_setup()
/drivers/iio/magnetometer/
Dyamaha-yas530.c107 s32 a2, a3, a4, a5, a6, a7, a8, a9, k; member
372 *xo = c->k * ((100 * sx + c->a2 * sy + c->a3 * sz) / 10); in yas5xx_get_measure()
564 c->a2 = FIELD_GET(GENMASK_ULL(63, 58), val) - 32; in yas53x_extract_calibration()
689 dev_dbg(yas5xx->dev, "a2 = %d\n", c->a2); in yas5xx_dump_calibration()
/drivers/char/hw_random/
Darm_smccc_trng.c51 memcpy(&buf[copied], &res->a2, chunk); in copy_from_registers()
/drivers/net/phy/
Dsfp.c359 static int sfp_i2c_read(struct sfp *sfp, bool a2, u8 dev_addr, void *buf, in sfp_i2c_read() argument
363 u8 bus_addr = a2 ? 0x51 : 0x50; in sfp_i2c_read()
399 static int sfp_i2c_write(struct sfp *sfp, bool a2, u8 dev_addr, void *buf, in sfp_i2c_write() argument
403 u8 bus_addr = a2 ? 0x51 : 0x50; in sfp_i2c_write()
457 static int sfp_read(struct sfp *sfp, bool a2, u8 addr, void *buf, size_t len) in sfp_read() argument
459 return sfp->read(sfp, a2, addr, buf, len); in sfp_read()
462 static int sfp_write(struct sfp *sfp, bool a2, u8 addr, void *buf, size_t len) in sfp_write() argument
464 return sfp->write(sfp, a2, addr, buf, len); in sfp_write()

123