Home
last modified time | relevance | path

Searched refs:xn (Results 1 – 12 of 12) sorted by relevance

/linux/arch/arm64/kernel/probes/
H A Dsimulate-insn.c70 int xn = opcode & 0x1f; in check_cbz() local
73 (get_x_reg(regs, xn) == 0) : (get_w_reg(regs, xn) == 0); in check_cbz()
78 int xn = opcode & 0x1f; in check_cbnz() local
81 (get_x_reg(regs, xn) != 0) : (get_w_reg(regs, xn) != 0); in check_cbnz()
86 int xn = opcode & 0x1f; in check_tbz() local
89 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) == 0; in check_tbz()
94 int xn = opcode & 0x1f; in check_tbnz() local
97 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) != 0; in check_tbnz()
106 long imm, xn, val; in simulate_adr_adrp() local
108 xn = opcode & 0x1f; in simulate_adr_adrp()
[all …]
/linux/net/netfilter/
H A Dxt_RATEEST.c37 static void xt_rateest_hash_insert(struct xt_rateest_net *xn, in xt_rateest_hash_insert() argument
43 hlist_add_head(&est->list, &xn->hash[h]); in xt_rateest_hash_insert()
46 static struct xt_rateest *__xt_rateest_lookup(struct xt_rateest_net *xn, in __xt_rateest_lookup() argument
53 hlist_for_each_entry(est, &xn->hash[h], list) { in __xt_rateest_lookup()
65 struct xt_rateest_net *xn = net_generic(net, xt_rateest_id); in xt_rateest_lookup() local
68 mutex_lock(&xn->hash_lock); in xt_rateest_lookup()
69 est = __xt_rateest_lookup(xn, name); in xt_rateest_lookup()
70 mutex_unlock(&xn->hash_lock); in xt_rateest_lookup()
77 struct xt_rateest_net *xn = net_generic(net, xt_rateest_id); in xt_rateest_put() local
79 mutex_lock(&xn->hash_lock); in xt_rateest_put()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c301 #define idpf_vc_xn_lock(xn) \ argument
302 raw_spin_lock(&(xn)->completed.wait.lock)
308 #define idpf_vc_xn_unlock(xn) \ argument
309 raw_spin_unlock(&(xn)->completed.wait.lock)
316 static void idpf_vc_xn_release_bufs(struct idpf_vc_xn *xn) in idpf_vc_xn_release_bufs() argument
318 xn->reply.iov_base = NULL; in idpf_vc_xn_release_bufs()
319 xn->reply.iov_len = 0; in idpf_vc_xn_release_bufs()
321 if (xn->state != IDPF_VC_XN_SHUTDOWN) in idpf_vc_xn_release_bufs()
322 xn->state = IDPF_VC_XN_IDLE; in idpf_vc_xn_release_bufs()
336 struct idpf_vc_xn *xn = &vcxn_mngr->ring[i]; in idpf_vc_xn_init() local
[all …]
H A Didpf_virtchnl_ptp.c545 struct idpf_vc_xn *xn, in idpf_ptp_get_tx_tstamp_async_handler() argument
/linux/arch/arm64/include/asm/
H A Dkvm_nested.h131 u8 xn = FIELD_GET(KVM_PTE_LEAF_ATTR_HI_S2_XN, trans->desc); in kvm_s2_trans_exec_el0() local
134 xn &= FIELD_PREP(KVM_PTE_LEAF_ATTR_HI_S2_XN, 0b10); in kvm_s2_trans_exec_el0()
136 switch (xn) { in kvm_s2_trans_exec_el0()
147 u8 xn = FIELD_GET(KVM_PTE_LEAF_ATTR_HI_S2_XN, trans->desc); in kvm_s2_trans_exec_el1() local
150 xn &= FIELD_PREP(KVM_PTE_LEAF_ATTR_HI_S2_XN, 0b10); in kvm_s2_trans_exec_el1()
152 switch (xn) { in kvm_s2_trans_exec_el1()
/linux/drivers/clk/pxa/
H A Dclk-pxa3xx.c336 unsigned int xn = (acsr & ACCR_XN_MASK) >> 8; in clk_pxa3xx_run_get_rate() local
343 return t ? (parent_rate / xn) * 2 : parent_rate; in clk_pxa3xx_run_get_rate()
352 unsigned int xn = (acsr & ACCR_XN_MASK) >> 8; in clk_pxa3xx_cpll_get_rate() local
360 pr_info("RJK: parent_rate=%lu, xl=%u, xn=%u\n", parent_rate, xl, xn); in clk_pxa3xx_cpll_get_rate()
361 return t ? parent_rate * xl * xn : parent_rate * xl; in clk_pxa3xx_cpll_get_rate()
/linux/arch/arm64/kvm/hyp/
H A Dpgtable.c685 u8 xn; in stage2_set_xn_attr() local
694 xn = 0b00; in stage2_set_xn_attr()
696 xn = 0b01; in stage2_set_xn_attr()
698 xn = 0b10; in stage2_set_xn_attr()
700 xn = 0b11; in stage2_set_xn_attr()
703 *attr |= FIELD_PREP(KVM_PTE_LEAF_ATTR_HI_S2_XN, xn); in stage2_set_xn_attr()
1351 kvm_pte_t xn = 0, set = 0, clr = 0; in kvm_pgtable_stage2_relax_perms() local
1364 ret = stage2_set_xn_attr(prot, &xn); in kvm_pgtable_stage2_relax_perms()
1368 set |= xn & KVM_PTE_LEAF_ATTR_HI_S2_XN; in kvm_pgtable_stage2_relax_perms()
1369 clr |= ~xn & KVM_PTE_LEAF_ATTR_HI_S2_XN; in kvm_pgtable_stage2_relax_perms()
/linux/include/linux/input/
H A Das5011.h12 char xp, xn; /* threshold for x axis */ member
/linux/tools/testing/selftests/arm64/abi/
H A Dhwcap.c625 register void *xn asm ("x8") = src; in ls64_sigill()
629 asm volatile(".inst 0xf83fd100" : "=r" (xt_1) : "r" (xn) in ls64_sigill()
633 asm volatile(".inst 0xf83f9100" : : "r" (xt_1), "r" (xn) in ls64_sigill()
/linux/drivers/iommu/
H A Dio-pgtable-arm-v7s.c370 arm_v7s_iopte xn = pte & ARM_V7S_ATTR_XN(lvl); in arm_v7s_pte_to_cont() local
373 pte ^= xn | tex | ARM_V7S_PTE_TYPE_PAGE; in arm_v7s_pte_to_cont()
374 pte |= (xn << ARM_V7S_CONT_PAGE_XN_SHIFT) | in arm_v7s_pte_to_cont()
/linux/drivers/input/joystick/
H A Das5011.c187 error = as5011_i2c_write(client, AS5011_XN, plat_dat->xn); in as5011_configure_chip()
/linux/sound/pci/
H A Dcmipci.c605 int xm, xn, xr; in snd_cmipci_pll_rmn() local
614 for (xn = (1+2); xn < (0x1f+2); xn++) { in snd_cmipci_pll_rmn()
616 xr = ((CM_REFFREQ_XIN/adcmult) * xm) / xn; in snd_cmipci_pll_rmn()
630 *n = xn - 2; in snd_cmipci_pll_rmn()