Home
last modified time | relevance | path

Searched refs:rn (Results 1 – 25 of 108) sorted by relevance

12345

/linux-6.6.21/drivers/scsi/csiostor/
Dcsio_rnode.c89 csio_is_rnode_ready(struct csio_rnode *rn) in csio_is_rnode_ready() argument
91 return csio_match_state(rn, csio_rns_ready); in csio_is_rnode_ready()
95 csio_is_rnode_uninit(struct csio_rnode *rn) in csio_is_rnode_uninit() argument
97 return csio_match_state(rn, csio_rns_uninit); in csio_is_rnode_uninit()
125 struct csio_rnode *rn; in csio_rn_lookup() local
128 rn = (struct csio_rnode *) tmp; in csio_rn_lookup()
129 if (rn->flowid == flowid) in csio_rn_lookup()
130 return rn; in csio_rn_lookup()
149 struct csio_rnode *rn; in csio_rn_lookup_wwpn() local
152 rn = (struct csio_rnode *) tmp; in csio_rn_lookup_wwpn()
[all …]
Dcsio_rnode.h120 #define csio_rn_flowid(rn) ((rn)->flowid) argument
121 #define csio_rn_wwpn(rn) ((rn)->rn_sparm.wwpn) argument
122 #define csio_rn_wwnn(rn) ((rn)->rn_sparm.wwnn) argument
123 #define csio_rnode_to_lnode(rn) ((rn)->lnp) argument
125 int csio_is_rnode_ready(struct csio_rnode *rn);
126 void csio_rnode_state_to_str(struct csio_rnode *rn, int8_t *str);
132 void csio_rnode_fwevt_handler(struct csio_rnode *rn, uint8_t fwevt);
134 void csio_put_rnode(struct csio_lnode *ln, struct csio_rnode *rn);
Dcsio_attr.c59 csio_reg_rnode(struct csio_rnode *rn) in csio_reg_rnode() argument
61 struct csio_lnode *ln = csio_rnode_to_lnode(rn); in csio_reg_rnode()
67 ids.node_name = wwn_to_u64(csio_rn_wwnn(rn)); in csio_reg_rnode()
68 ids.port_name = wwn_to_u64(csio_rn_wwpn(rn)); in csio_reg_rnode()
69 ids.port_id = rn->nport_id; in csio_reg_rnode()
72 if (rn->role & CSIO_RNFR_INITIATOR || rn->role & CSIO_RNFR_TARGET) { in csio_reg_rnode()
73 rport = rn->rport; in csio_reg_rnode()
78 rn->rport = fc_remote_port_add(shost, 0, &ids); in csio_reg_rnode()
79 if (!rn->rport) { in csio_reg_rnode()
81 rn->nport_id); in csio_reg_rnode()
[all …]
/linux-6.6.21/arch/arm/net/
Dbpf_jit_32.h162 #define _AL3_R(op, rd, rn, rm) ((op ## _R) | (rd) << 12 | (rn) << 16 | (rm)) argument
164 #define _AL3_I(op, rd, rn, imm) ((op ## _I) | (rd) << 12 | (rn) << 16 | (imm)) argument
168 #define ARM_ADD_R(rd, rn, rm) _AL3_R(ARM_INST_ADD, rd, rn, rm) argument
169 #define ARM_ADDS_R(rd, rn, rm) _AL3_R(ARM_INST_ADDS, rd, rn, rm) argument
170 #define ARM_ADD_I(rd, rn, imm) _AL3_I(ARM_INST_ADD, rd, rn, imm) argument
171 #define ARM_ADDS_I(rd, rn, imm) _AL3_I(ARM_INST_ADDS, rd, rn, imm) argument
172 #define ARM_ADC_R(rd, rn, rm) _AL3_R(ARM_INST_ADC, rd, rn, rm) argument
173 #define ARM_ADC_I(rd, rn, imm) _AL3_I(ARM_INST_ADC, rd, rn, imm) argument
175 #define ARM_AND_R(rd, rn, rm) _AL3_R(ARM_INST_AND, rd, rn, rm) argument
176 #define ARM_ANDS_R(rd, rn, rm) _AL3_R(ARM_INST_ANDS, rd, rn, rm) argument
[all …]
Dbpf_jit_32.c311 static u32 arm_bpf_ldst_imm12(u32 op, u8 rt, u8 rn, s16 imm12) in arm_bpf_ldst_imm12() argument
313 op |= rt << 12 | rn << 16; in arm_bpf_ldst_imm12()
321 static u32 arm_bpf_ldst_imm8(u32 op, u8 rt, u8 rn, s16 imm8) in arm_bpf_ldst_imm8() argument
323 op |= rt << 12 | rn << 16; in arm_bpf_ldst_imm8()
331 #define ARM_LDR_I(rt, rn, off) arm_bpf_ldst_imm12(ARM_INST_LDR_I, rt, rn, off) argument
332 #define ARM_LDRB_I(rt, rn, off) arm_bpf_ldst_imm12(ARM_INST_LDRB_I, rt, rn, off) argument
333 #define ARM_LDRD_I(rt, rn, off) arm_bpf_ldst_imm8(ARM_INST_LDRD_I, rt, rn, off) argument
334 #define ARM_LDRH_I(rt, rn, off) arm_bpf_ldst_imm8(ARM_INST_LDRH_I, rt, rn, off) argument
336 #define ARM_STR_I(rt, rn, off) arm_bpf_ldst_imm12(ARM_INST_STR_I, rt, rn, off) argument
337 #define ARM_STRB_I(rt, rn, off) arm_bpf_ldst_imm12(ARM_INST_STRB_I, rt, rn, off) argument
[all …]
/linux-6.6.21/fs/f2fs/
Dnode.h241 struct f2fs_node *rn = F2FS_NODE(node_page); in ino_of_node() local
242 return le32_to_cpu(rn->footer.ino); in ino_of_node()
247 struct f2fs_node *rn = F2FS_NODE(node_page); in nid_of_node() local
248 return le32_to_cpu(rn->footer.nid); in nid_of_node()
253 struct f2fs_node *rn = F2FS_NODE(node_page); in ofs_of_node() local
254 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node()
260 struct f2fs_node *rn = F2FS_NODE(node_page); in cpver_of_node() local
261 return le64_to_cpu(rn->footer.cp_ver); in cpver_of_node()
266 struct f2fs_node *rn = F2FS_NODE(node_page); in next_blkaddr_of_node() local
267 return le32_to_cpu(rn->footer.next_blkaddr); in next_blkaddr_of_node()
[all …]
/linux-6.6.21/drivers/s390/char/
Dsclp_cmd.c172 u16 rn; member
178 u16 rn; member
188 static unsigned long long rn2addr(u16 rn) in rn2addr() argument
190 return (unsigned long long) (rn - 1) * sclp.rzm; in rn2addr()
193 static int do_assign_storage(sclp_cmdw_t cmd, u16 rn) in do_assign_storage() argument
202 sccb->rn = rn; in do_assign_storage()
212 cmd, sccb->header.response_code, rn); in do_assign_storage()
221 static int sclp_assign_storage(u16 rn) in sclp_assign_storage() argument
226 rc = do_assign_storage(0x000d0001, rn); in sclp_assign_storage()
229 start = rn2addr(rn); in sclp_assign_storage()
[all …]
/linux-6.6.21/arch/arm/probes/kprobes/
Dactions-arm.c74 int rn = (insn >> 16) & 0xf; in emulate_ldrdstrd() local
79 register unsigned long rnv asm("r2") = (rn == 15) ? pc in emulate_ldrdstrd()
80 : regs->uregs[rn]; in emulate_ldrdstrd()
94 regs->uregs[rn] = rnv; in emulate_ldrdstrd()
103 int rn = (insn >> 16) & 0xf; in emulate_ldr() local
107 register unsigned long rnv asm("r2") = (rn == 15) ? pc in emulate_ldr()
108 : regs->uregs[rn]; in emulate_ldr()
124 regs->uregs[rn] = rnv; in emulate_ldr()
134 int rn = (insn >> 16) & 0xf; in emulate_str() local
139 register unsigned long rnv asm("r2") = (rn == 15) ? rnpc in emulate_str()
[all …]
Dactions-common.c22 int rn = (insn >> 16) & 0xf; in simulate_ldm1stm1() local
27 long *addr = (long *)regs->uregs[rn]; in simulate_ldm1stm1()
56 regs->uregs[rn] = (long)addr; in simulate_ldm1stm1()
133 int rn = (insn >> 16) & 0xf; in kprobe_decode_ldmstm() local
135 if (rn <= 12 && (reglist & 0xe000) == 0) { in kprobe_decode_ldmstm()
139 } else if (rn >= 2 && (reglist & 0x8003) == 0) { in kprobe_decode_ldmstm()
141 rn -= 2; in kprobe_decode_ldmstm()
145 } else if (rn >= 3 && (reglist & 0x0007) == 0) { in kprobe_decode_ldmstm()
148 rn -= 3; in kprobe_decode_ldmstm()
157 (rn << 16) | reglist); in kprobe_decode_ldmstm()
Dactions-thumb.c28 int rn = (insn >> 16) & 0xf; in t32_simulate_table_branch() local
31 unsigned long rnv = (rn == 15) ? pc : regs->uregs[rn]; in t32_simulate_table_branch()
164 int rn = (insn >> 16) & 0xf; in t32_emulate_ldrdstrd() local
168 register unsigned long rnv asm("r2") = (rn == 15) ? pc in t32_emulate_ldrdstrd()
169 : regs->uregs[rn]; in t32_emulate_ldrdstrd()
178 if (rn != 15) in t32_emulate_ldrdstrd()
179 regs->uregs[rn] = rnv; /* Writeback base register */ in t32_emulate_ldrdstrd()
189 int rn = (insn >> 16) & 0xf; in t32_emulate_ldrstr() local
193 register unsigned long rnv asm("r2") = regs->uregs[rn]; in t32_emulate_ldrstr()
203 regs->uregs[rn] = rnv; /* Writeback base register */ in t32_emulate_ldrstr()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Ddcr-native.h53 #define mfdcr(rn) \ argument
55 if (__builtin_constant_p(rn) && rn < 1024) \
57 : "n" (rn)); \
59 rval = mfdcrx(rn); \
61 rval = __mfdcr(rn); \
64 #define mtdcr(rn, v) \ argument
66 if (__builtin_constant_p(rn) && rn < 1024) \
68 : : "n" (rn), "r" (v)); \
70 mtdcrx(rn, v); \
72 __mtdcr(rn, v); \
Dreg_fsl_emb.h14 #define mfpmr(rn) ({unsigned int rval; \ argument
15 asm volatile("mfpmr %0," __stringify(rn) \
17 #define mtpmr(rn, v) asm volatile("mtpmr " __stringify(rn) ",%0" : : "r" (v)) argument
/linux-6.6.21/drivers/w1/
Dw1.c391 struct w1_reg_num *rn) in w1_atoreg_num() argument
415 rn->family = family; in w1_atoreg_num()
416 rn->id = id; in w1_atoreg_num()
418 rn64_le = cpu_to_le64(*(u64 *)rn); in w1_atoreg_num()
419 rn->crc = w1_calc_crc8((u8 *)&rn64_le, 7); in w1_atoreg_num()
423 rn->family, (unsigned long long)rn->id, rn->crc); in w1_atoreg_num()
433 struct w1_reg_num *rn) in w1_slave_search_device() argument
438 if (sl->reg_num.family == rn->family && in w1_slave_search_device()
439 sl->reg_num.id == rn->id && in w1_slave_search_device()
440 sl->reg_num.crc == rn->crc) { in w1_slave_search_device()
[all …]
/linux-6.6.21/sound/soc/amd/renoir/
DMakefile3 snd-rn-pci-acp3x-objs := rn-pci-acp3x.o
5 snd-acp3x-rn-objs := acp3x-rn.o
6 obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-rn-pci-acp3x.o
8 obj-$(CONFIG_SND_SOC_AMD_RENOIR_MACH) += snd-acp3x-rn.o
/linux-6.6.21/tools/perf/util/
Dintlist.h48 struct rb_node *rn = rb_first_cached(&ilist->rblist.entries); in intlist__first() local
49 return rn ? rb_entry(rn, struct int_node, rb_node) : NULL; in intlist__first()
53 struct rb_node *rn; in intlist__next() local
56 rn = rb_next(&in->rb_node); in intlist__next()
57 return rn ? rb_entry(rn, struct int_node, rb_node) : NULL; in intlist__next()
Dstrlist.h60 struct rb_node *rn = rb_first_cached(&slist->rblist.entries); in strlist__first() local
61 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL; in strlist__first()
65 struct rb_node *rn; in strlist__next() local
68 rn = rb_next(&sn->rb_node); in strlist__next()
69 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL; in strlist__next()
/linux-6.6.21/arch/arm64/crypto/
Dsm3-ce-core.S16 .macro sm3partw1, rd, rn, rm
17 .inst 0xce60c000 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
20 .macro sm3partw2, rd, rn, rm
21 .inst 0xce60c400 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
24 .macro sm3ss1, rd, rn, rm, ra
25 .inst 0xce400000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16)
28 .macro sm3tt1a, rd, rn, rm, imm2
29 .inst 0xce408000 | .L\rd | (.L\rn << 5) | ((\imm2) << 12) | (.L\rm << 16)
32 .macro sm3tt1b, rd, rn, rm, imm2
33 .inst 0xce408400 | .L\rd | (.L\rn << 5) | ((\imm2) << 12) | (.L\rm << 16)
[all …]
Dsha512-ce-core.S20 .macro sha512h, rd, rn, rm
21 .inst 0xce608000 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
24 .macro sha512h2, rd, rn, rm
25 .inst 0xce608400 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
28 .macro sha512su0, rd, rn argument
29 .inst 0xcec08000 | .L\rd | (.L\rn << 5)
32 .macro sha512su1, rd, rn, rm
33 .inst 0xce608800 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
/linux-6.6.21/arch/arm64/kvm/
Dva_layout.c112 static u32 compute_instruction(int n, u32 rd, u32 rn) in compute_instruction() argument
120 rn, rd, va_mask); in compute_instruction()
126 rn, rn, rd, in compute_instruction()
131 insn = aarch64_insn_gen_add_sub_imm(rd, rn, in compute_instruction()
138 insn = aarch64_insn_gen_add_sub_imm(rd, rn, in compute_instruction()
147 rn, rn, rd, 64 - tag_lsb); in compute_instruction()
162 u32 rd, rn, insn, oinsn; in kvm_update_va_mask() local
179 rn = aarch64_insn_decode_register(AARCH64_INSN_REGTYPE_RN, oinsn); in kvm_update_va_mask()
181 insn = compute_instruction(i, rd, rn); in kvm_update_va_mask()
/linux-6.6.21/arch/powerpc/boot/
Ddcr.h5 #define mfdcr(rn) \ argument
8 asm volatile("mfdcr %0,%1" : "=r"(rval) : "i"(rn)); \
11 #define mtdcr(rn, val) \ argument
12 asm volatile("mtdcr %0,%1" : : "i"(rn), "r"(val))
13 #define mfdcrx(rn) \ argument
16 asm volatile("mfdcrx %0,%1" : "=r"(rval) : "r"(rn)); \
19 #define mtdcrx(rn, val) \ argument
21 asm volatile("mtdcrx %0,%1" : : "r"(rn), "r" (val)); \
Dreg.h18 #define mfspr(rn) ({unsigned long rval; \ argument
19 asm volatile("mfspr %0," __stringify(rn) \
21 #define mtspr(rn, v) asm volatile("mtspr " __stringify(rn) ",%0" : : "r" (v)) argument
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-net-cdc_ncm4 Contact: Bjørn Mork <bjorn@mork.no>
25 Contact: Bjørn Mork <bjorn@mork.no>
44 Contact: Bjørn Mork <bjorn@mork.no>
60 Contact: Bjørn Mork <bjorn@mork.no>
72 Contact: Bjørn Mork <bjorn@mork.no>
92 Contact: Bjørn Mork <bjorn@mork.no>
101 Contact: Bjørn Mork <bjorn@mork.no>
108 Contact: Bjørn Mork <bjorn@mork.no>
115 Contact: Bjørn Mork <bjorn@mork.no>
124 Contact: Bjørn Mork <bjorn@mork.no>
[all …]
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dipoib_main.c198 struct rdma_netdev *rn = netdev_priv(netdev); in hfi1_ipoib_setup_rn() local
202 rn->send = hfi1_ipoib_send; in hfi1_ipoib_setup_rn()
203 rn->tx_timeout = hfi1_ipoib_tx_timeout; in hfi1_ipoib_setup_rn()
204 rn->attach_mcast = hfi1_ipoib_mcast_attach; in hfi1_ipoib_setup_rn()
205 rn->detach_mcast = hfi1_ipoib_mcast_detach; in hfi1_ipoib_setup_rn()
206 rn->set_id = hfi1_ipoib_set_id; in hfi1_ipoib_setup_rn()
207 rn->hca = device; in hfi1_ipoib_setup_rn()
208 rn->port_num = port_num; in hfi1_ipoib_setup_rn()
209 rn->mtu = netdev->mtu; in hfi1_ipoib_setup_rn()
/linux-6.6.21/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_netdev.c137 struct rdma_netdev *rn = netdev_priv(adapter->netdev); in opa_vnic_process_vema_config() local
157 rn->set_id(netdev, info->vesw.vesw_id); in opa_vnic_process_vema_config()
327 struct rdma_netdev *rn; in opa_vnic_add_netdev() local
339 rn = netdev_priv(netdev); in opa_vnic_add_netdev()
346 rn->clnt_priv = adapter; in opa_vnic_add_netdev()
347 rn->hca = ibdev; in opa_vnic_add_netdev()
348 rn->port_num = port_num; in opa_vnic_add_netdev()
382 rn->free_rdma_netdev(netdev); in opa_vnic_add_netdev()
391 struct rdma_netdev *rn = netdev_priv(netdev); in opa_vnic_rem_netdev() local
399 rn->free_rdma_netdev(netdev); in opa_vnic_rem_netdev()
/linux-6.6.21/arch/arm/mm/
Dabort-lv4t.S37 /* 0 */ b .data_arm_lateldrhpost @ ldrh rd, [rn], #m/rm
38 /* 1 */ b .data_arm_lateldrhpre @ ldrh rd, [rn, #m/rm]
41 /* 4 */ b .data_arm_lateldrpostconst @ ldr rd, [rn], #m
42 /* 5 */ b .data_arm_lateldrpreconst @ ldr rd, [rn, #m]
43 /* 6 */ b .data_arm_lateldrpostreg @ ldr rd, [rn], rm
44 /* 7 */ b .data_arm_lateldrprereg @ ldr rd, [rn, rm]
45 /* 8 */ b .data_arm_ldmstm @ ldm*a rn, <rlist>
46 /* 9 */ b .data_arm_ldmstm @ ldm*b rn, <rlist>
49 /* c */ b do_DataAbort @ ldc rd, [rn], #m @ Same as ldr rd, [rn], #m
50 /* d */ b do_DataAbort @ ldc rd, [rn, #m]

12345