Home
last modified time | relevance | path

Searched refs:a1 (Results 1 – 25 of 73) sorted by relevance

123

/drivers/net/ethernet/cisco/enic/
Dvnic_dev.c457 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_proxy() argument
467 vdev->args[3] = *a1; in vnic_dev_cmd_proxy()
484 *a1 = vdev->args[2]; in vnic_dev_cmd_proxy()
490 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() argument
495 vdev->args[1] = *a1; in vnic_dev_cmd_no_proxy()
500 *a1 = vdev->args[1]; in vnic_dev_cmd_no_proxy()
518 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() argument
525 a0, a1, wait); in vnic_dev_cmd()
528 a0, a1, wait); in vnic_dev_cmd()
531 return vnic_dev_cmd_no_proxy(vdev, cmd, a0, a1, wait); in vnic_dev_cmd()
[all …]
Denic_res.c124 u64 a0 = vlanid, a1 = 0; in enic_add_vlan() local
128 err = vnic_dev_cmd(enic->vdev, CMD_VLAN_ADD, &a0, &a1, wait); in enic_add_vlan()
137 u64 a0 = vlanid, a1 = 0; in enic_del_vlan() local
141 err = vnic_dev_cmd(enic->vdev, CMD_VLAN_DEL, &a0, &a1, wait); in enic_del_vlan()
153 u64 a0, a1; in enic_set_nic_cfg() local
162 a1 = 0; in enic_set_nic_cfg()
168 return vnic_dev_cmd(enic->vdev, cmd, &a0, &a1, wait); in enic_set_nic_cfg()
173 u64 a0 = (u64)key_pa, a1 = len; in enic_set_rss_key() local
176 return vnic_dev_cmd(enic->vdev, CMD_RSS_KEY, &a0, &a1, wait); in enic_set_rss_key()
181 u64 a0 = (u64)cpu_pa, a1 = len; in enic_set_rss_cpu() local
[all …]
Denic_api.c30 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in enic_api_devcmd_proxy_by_index() argument
40 err = vnic_dev_cmd(vdev, cmd, a0, a1, wait); in enic_api_devcmd_proxy_by_index()
Denic_api.h28 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait);
/drivers/scsi/fnic/
Dvnic_dev.c272 u64 *a1 = &vdev->args[1]; in vnic_dev_cmd1() local
282 writeq(*a1, &devcmd->args[1]); in vnic_dev_cmd1()
308 *a1 = readq(&devcmd->args[1]); in vnic_dev_cmd1()
507 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() argument
512 vdev->args[1] = *a1; in vnic_dev_cmd_no_proxy()
517 *a1 = vdev->args[1]; in vnic_dev_cmd_no_proxy()
524 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() argument
531 return vnic_dev_cmd_no_proxy(vdev, cmd, a0, a1, wait); in vnic_dev_cmd()
539 u64 a0, a1 = 0; in vnic_dev_fw_info() local
553 err = vnic_dev_cmd(vdev, CMD_MCPU_FW_INFO, &a0, &a1, wait); in vnic_dev_fw_info()
[all …]
/drivers/scsi/snic/
Dvnic_dev.c448 u64 *a0, u64 *a1, int wait) in svnic_dev_cmd() argument
454 vdev->args[1] = *a1; in svnic_dev_cmd()
459 *a1 = vdev->args[1]; in svnic_dev_cmd()
467 u64 a0, a1 = 0; in svnic_dev_fw_info() local
481 err = svnic_dev_cmd(vdev, CMD_MCPU_FW_INFO, &a0, &a1, wait); in svnic_dev_fw_info()
492 u64 a0, a1; in svnic_dev_spec() local
497 a1 = size; in svnic_dev_spec()
499 err = svnic_dev_cmd(vdev, CMD_DEV_SPEC, &a0, &a1, wait); in svnic_dev_spec()
524 u64 a0 = 0, a1 = 0; in svnic_dev_stats_clear() local
527 return svnic_dev_cmd(vdev, CMD_STATS_CLEAR, &a0, &a1, wait); in svnic_dev_stats_clear()
[all …]
/drivers/net/wan/
Dwanxlfw.S318 movel tx_first_bd(%d0), %a1 // A1 = starting TX BD address
325 movel %d3, (%a1)+ // TX flags + length
326 movel %d1, (%a1)+ // buffer address
331 movel %d3, (%a1)+ // Final TX flags + length
332 movel %d1, (%a1)+ // buffer address
337 movel #0x90000000, (%a1)+ // RX flags + length
338 movel %d1, (%a1)+ // buffer address
342 movel #0xB0000000, (%a1)+ // Final RX flags + length
343 movel %d1, (%a1)+ // buffer address
346 movel scc_base_addr(%d0), %a1 // A1 = SCC_BASE address
[all …]
/drivers/s390/net/
Dqeth_l3.h60 static inline bool qeth_l3_addr_match_ip(struct qeth_ipaddr *a1, in qeth_l3_addr_match_ip() argument
63 if (a1->proto != a2->proto) in qeth_l3_addr_match_ip()
65 if (a1->proto == QETH_PROT_IPV6) in qeth_l3_addr_match_ip()
66 return ipv6_addr_equal(&a1->u.a6.addr, &a2->u.a6.addr); in qeth_l3_addr_match_ip()
67 return a1->u.a4.addr == a2->u.a4.addr; in qeth_l3_addr_match_ip()
70 static inline bool qeth_l3_addr_match_all(struct qeth_ipaddr *a1, in qeth_l3_addr_match_all() argument
85 if (a1->type != a2->type) in qeth_l3_addr_match_all()
87 if (a1->proto == QETH_PROT_IPV6) in qeth_l3_addr_match_all()
88 return a1->u.a6.pfxlen == a2->u.a6.pfxlen; in qeth_l3_addr_match_all()
89 return a1->u.a4.mask == a2->u.a4.mask; in qeth_l3_addr_match_all()
/drivers/infiniband/hw/usnic/
Dusnic_fwd.c43 u64 *a1) in usnic_fwd_devcmd_locked() argument
53 a0, a1, in usnic_fwd_devcmd_locked()
73 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1) in usnic_fwd_devcmd() argument
78 status = usnic_fwd_devcmd_locked(ufdev, vnic_idx, cmd, a0, a1); in usnic_fwd_devcmd()
204 uint64_t a0, a1; in usnic_fwd_alloc_flow() local
243 a1 = tlv_size; in usnic_fwd_alloc_flow()
245 CMD_ADD_FILTER, &a0, &a1); in usnic_fwd_alloc_flow()
272 u64 a0, a1; in usnic_fwd_dealloc_flow() local
277 CMD_DEL_FILTER, &a0, &a1); in usnic_fwd_dealloc_flow()
308 u64 a0, a1; in usnic_fwd_enable_qp() local
[all …]
/drivers/firmware/
Dstratix10-svc.c213 if (!res.a1) { in svc_thread_cmd_data_claim()
218 cb_data->kaddr1 = svc_pa_to_va(res.a1); in svc_thread_cmd_data_claim()
304 cb_data->kaddr1 = svc_pa_to_va(res.a1); in svc_thread_recv_status_ok()
315 cb_data->kaddr1 = &res.a1; in svc_thread_recv_status_ok()
343 unsigned long a0, a1, a2; in svc_normal_to_secure_thread() local
358 a1 = 0; in svc_normal_to_secure_thread()
382 a1 = pdata->flag; in svc_normal_to_secure_thread()
387 a1 = (unsigned long)pdata->paddr; in svc_normal_to_secure_thread()
392 a1 = 0; in svc_normal_to_secure_thread()
397 a1 = 0; in svc_normal_to_secure_thread()
[all …]
Dqcom_scm-64.c262 return ret ? : res.a1; in __qcom_scm_is_call_available()
289 *resp = res.a1; in __qcom_scm_hdcp_req()
307 if (!res.a0 && res.a1) in __qcom_scm_init()
326 return ret ? false : !!res.a1; in __qcom_scm_pas_supported()
343 return ret ? : res.a1; in __qcom_scm_pas_init_image()
361 return ret ? : res.a1; in __qcom_scm_pas_mem_setup()
377 return ret ? : res.a1; in __qcom_scm_pas_auth_and_reset()
392 return ret ? : res.a1; in __qcom_scm_pas_shutdown()
408 return ret ? : res.a1; in __qcom_scm_pas_mss_reset()
424 return ret ? : res.a1; in __qcom_scm_set_remote_state()
[all …]
/drivers/isdn/mISDN/
Ddsp_biquad.h17 int32_t a1; member
27 int32_t gain, int32_t a1, int32_t a2, int32_t b1, int32_t b2) in biquad2_init() argument
30 bq->a1 = a1; in biquad2_init()
44 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; in biquad2()
/drivers/input/touchscreen/
Dmc13783_ts.c58 #define sort3(a0, a1, a2) ({ \ argument
59 if (a0 > a1) \
60 swap(a0, a1); \
61 if (a1 > a2) \
62 swap(a1, a2); \
63 if (a0 > a1) \
64 swap(a0, a1); \
/drivers/acpi/acpica/
Dacpredef.h116 #define METHOD_1ARGS(a1) (1 | (a1 << 3)) argument
117 #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
/drivers/tee/optee/
Dcore.c344 if (res.a0 == OPTEE_MSG_UID_0 && res.a1 == OPTEE_MSG_UID_1 && in optee_msg_api_uid_is_optee_api()
393 u32 a1 = 0; in optee_msg_exchange_capabilities() local
401 a1 |= OPTEE_SMC_NSEC_CAP_UNIPROCESSOR; in optee_msg_exchange_capabilities()
403 invoke_fn(OPTEE_SMC_EXCHANGE_CAPABILITIES, a1, 0, 0, 0, 0, 0, 0, in optee_msg_exchange_capabilities()
519 static void optee_smccc_smc(unsigned long a0, unsigned long a1, in optee_smccc_smc() argument
525 arm_smccc_smc(a0, a1, a2, a3, a4, a5, a6, a7, res); in optee_smccc_smc()
528 static void optee_smccc_hvc(unsigned long a0, unsigned long a1, in optee_smccc_hvc() argument
534 arm_smccc_hvc(a0, a1, a2, a3, a4, a5, a6, a7, res); in optee_smccc_hvc()
Drpc.c408 shm = tee_shm_alloc(ctx, param->a1, TEE_SHM_MAPPED); in optee_handle_rpc()
410 reg_pair_from_64(&param->a1, &param->a2, pa); in optee_handle_rpc()
414 param->a1 = 0; in optee_handle_rpc()
421 shm = reg_pair_to_ptr(param->a1, param->a2); in optee_handle_rpc()
433 shm = reg_pair_to_ptr(param->a1, param->a2); in optee_handle_rpc()
Dcall.c134 reg_pair_from_64(&param.a1, &param.a2, parg); in optee_do_call_with_arg()
140 optee->invoke_fn(param.a0, param.a1, param.a2, param.a3, in optee_do_call_with_arg()
153 param.a1 = res.a1; in optee_do_call_with_arg()
/drivers/iio/pressure/
Dmpl115.c49 int a1, y1, pcomp; in mpl115_comp_pressure() local
68 a1 = data->b1 + ((data->c12 * tadc) >> 11); in mpl115_comp_pressure()
69 y1 = (data->a0 << 10) + a1 * padc; in mpl115_comp_pressure()
/drivers/thermal/
Drcar_gen3_thermal.c74 int a1; member
149 tsc->coef.a1 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[2]), in rcar_gen3_thermal_calc_coefs()
151 tsc->coef.b1 = FIXPT_INT(thcode[2]) - tsc->coef.a1 * TJ_3; in rcar_gen3_thermal_calc_coefs()
179 tsc->coef.a1); in rcar_gen3_thermal_get_temp()
202 val = celsius * tsc->coef.a1 + tsc->coef.b1; in rcar_gen3_thermal_mcelsius_to_temp()
/drivers/staging/wlan-ng/
Dp80211conv.c178 memcpy(p80211_hdr->a3.a1, &e_hdr.daddr, ETH_ALEN); in skb_ether_to_p80211()
184 memcpy(p80211_hdr->a3.a1, wlandev->bssid, ETH_ALEN); in skb_ether_to_p80211()
190 memcpy(p80211_hdr->a3.a1, &e_hdr.daddr, ETH_ALEN); in skb_ether_to_p80211()
299 ether_addr_copy(daddr, w_hdr->a3.a1); in skb_p80211_to_ether()
303 ether_addr_copy(daddr, w_hdr->a3.a1); in skb_p80211_to_ether()
Dp80211hdr.h154 u8 a1[ETH_ALEN]; member
163 u8 a1[ETH_ALEN]; member
/drivers/firmware/xilinx/
Dzynqmp.c92 ret_payload[2] = lower_32_bits(res.a1); in do_fw_call_smc()
93 ret_payload[3] = upper_32_bits(res.a1); in do_fw_call_smc()
122 ret_payload[2] = lower_32_bits(res.a1); in do_fw_call_hvc()
123 ret_payload[3] = upper_32_bits(res.a1); in do_fw_call_hvc()
/drivers/net/wireless/broadcom/b43/
Dphy_ht.c628 s16 a1[3], b0[3], b1[3]; in b43_phy_ht_tx_power_ctl_setup() local
636 a1[c] = sprom->core_pwr_info[c].pa_2g[0]; in b43_phy_ht_tx_power_ctl_setup()
643 a1[c] = sprom->core_pwr_info[c].pa_5gl[0]; in b43_phy_ht_tx_power_ctl_setup()
650 a1[c] = sprom->core_pwr_info[c].pa_5g[0]; in b43_phy_ht_tx_power_ctl_setup()
657 a1[c] = sprom->core_pwr_info[c].pa_5gh[0]; in b43_phy_ht_tx_power_ctl_setup()
663 a1[0] = a1[1] = a1[2] = -424; in b43_phy_ht_tx_power_ctl_setup()
721 den = 32768 + a1[c] * i; in b43_phy_ht_tx_power_ctl_setup()
/drivers/soc/bcm/brcmstb/pm/
Ds3-mips.S44 addiu t1, a1, -1
54 addu t0, a1
/drivers/mfd/
Dsi476x-cmd.c696 enum si476x_a1_config a1) in si476x_core_cmd_intb_pin_cfg_a10() argument
701 PIN_CFG_BYTE(a1), in si476x_core_cmd_intb_pin_cfg_a10()
712 enum si476x_a1_config a1) in si476x_core_cmd_intb_pin_cfg_a20() argument
717 PIN_CFG_BYTE(a1), in si476x_core_cmd_intb_pin_cfg_a20()
1070 const bool intsel = (core->pinmux.a1 == SI476X_A1_IRQ); in si476x_core_cmd_power_up_a10()
1093 const bool intsel = (core->pinmux.a1 == SI476X_A1_IRQ); in si476x_core_cmd_power_up_a20()
1444 enum si476x_a1_config a1);
1535 enum si476x_a1_config a1) in si476x_core_cmd_intb_pin_cfg() argument
1540 return si476x_cmds_vtable[core->revision].intb_pin_cfg(core, intb, a1); in si476x_core_cmd_intb_pin_cfg()

123