Home
last modified time | relevance | path

Searched refs:rm (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/linux-6.3-rc2/drivers/macintosh/
A Drack-meter.c162 out_le32(&rm->dma_regs->cmdptr, rm->dma_buf_p); in rackmeter_do_pause()
216 struct rackmeter *rm = rcpu->rm; in rackmeter_do_timer() local
246 pause = (rm->cpu[0].zero && rm->cpu[1].zero); in rackmeter_do_timer()
249 pause = (rm->cpu[0].zero && rm->cpu[1].zero); in rackmeter_do_timer()
267 rm->cpu[0].rm = rm; in rackmeter_init_cpu_sniffer()
269 rm->cpu[1].rm = rm; in rackmeter_init_cpu_sniffer()
399 rm = kzalloc(sizeof(*rm), GFP_KERNEL); in rackmeter_probe()
510 rm->dma_buf_v, rm->dma_buf_p); in rackmeter_probe()
518 kfree(rm); in rackmeter_probe()
540 free_irq(rm->irq, rm); in rackmeter_remove()
[all …]
/linux-6.3-rc2/net/rds/
A Dmessage.c53 rdsdebug("addref rm %p ref %d\n", rm, refcount_read(&rm->m_refcount)); in rds_message_addref()
139 if (rm->m_rs) { in rds_message_purge()
149 rm->m_rs = NULL; in rds_message_purge()
182 kfree(rm); in rds_message_put()
292 if (!rm) in rds_message_alloc()
305 return rm; in rds_message_alloc()
321 if (rm->m_used_sgs + nents > rm->m_total_sgs) { in rds_message_alloc_sgs()
323 rm->m_total_sgs, rm->m_used_sgs, nents); in rds_message_alloc_sgs()
342 if (!rm) in rds_message_map_pages()
348 rm->data.op_sg = rds_message_alloc_sgs(rm, num_sgs); in rds_message_map_pages()
[all …]
A Dsend.c204 if (!rm) { in rds_send_xmit()
239 if (!rm) { in rds_send_xmit()
270 if (!rm) in rds_send_xmit()
311 rm->m_final_op = &rm->rdma; in rds_send_xmit()
327 rm->m_final_op = &rm->atomic; in rds_send_xmit()
354 if (rm->atomic.op_active && !rm->atomic.op_silent) in rds_send_xmit()
356 if (rm->rdma.op_active && !rm->rdma.op_silent) in rds_send_xmit()
365 rm->m_final_op = &rm->data; in rds_send_xmit()
1269 if (!rm) { in rds_sendmsg()
1412 if (rm) in rds_sendmsg()
[all …]
A Dtcp_send.c85 rm->m_ack_seq = tc->t_last_sent_nxt + in rds_tcp_xmit()
87 be32_to_cpu(rm->m_inc.i_hdr.h_len) - 1; in rds_tcp_xmit()
96 rm, rds_tcp_write_seq(tc), in rds_tcp_xmit()
97 (unsigned long long)rm->m_ack_seq); in rds_tcp_xmit()
115 while (sg < rm->data.op_nents) { in rds_tcp_xmit()
119 sg_page(&rm->data.op_sg[sg]), in rds_tcp_xmit()
120 rm->data.op_sg[sg].offset + off, in rds_tcp_xmit()
121 rm->data.op_sg[sg].length - off, in rds_tcp_xmit()
124 rm->data.op_sg[sg].offset + off, rm->data.op_sg[sg].length - off, in rds_tcp_xmit()
131 if (off == rm->data.op_sg[sg].length) { in rds_tcp_xmit()
[all …]
A Drdma.c623 || rm->rdma.op_active) in rds_cmsg_rdma_args()
817 rm->m_rdma_cookie != 0) in rds_cmsg_rdma_dest()
820 memcpy(&rm->m_rdma_cookie, CMSG_DATA(cmsg), sizeof(rm->m_rdma_cookie)); in rds_cmsg_rdma_dest()
840 rm->rdma.op_rdma_mr = mr; in rds_cmsg_rdma_dest()
859 &rm->rdma.op_rdma_mr, rm->m_conn_path); in rds_cmsg_rdma_map()
873 || rm->atomic.op_active) in rds_cmsg_atomic()
910 rm->atomic.op_active = 1; in rds_cmsg_atomic()
912 rm->atomic.op_sg = rds_message_alloc_sgs(rm, 1); in rds_cmsg_atomic()
931 if (rm->atomic.op_notify || rm->atomic.op_recverr) { in rds_cmsg_atomic()
937 rm->atomic.op_notifier = kmalloc(sizeof(*rm->atomic.op_notifier), GFP_KERNEL); in rds_cmsg_atomic()
[all …]
A Dib_send.c187 return rm; in rds_ib_send_unmap_op()
288 rds_message_put(rm); in rds_ib_send_cqe_handler()
552 rm->data.op_sg, in rds_ib_xmit()
555 rdsdebug("ic %p mapping rm %p: %d\n", ic, rm, rm->data.op_count); in rds_ib_xmit()
563 rm->data.op_count = 0; in rds_ib_xmit()
567 rm->data.op_dmasg = 0; in rds_ib_xmit()
615 if (rm->rdma.op_active && rm->rdma.op_fence) in rds_ib_xmit()
650 && scat != &rm->data.op_sg[rm->data.op_count]) { in rds_ib_xmit()
664 rm->data.op_dmasg++; in rds_ib_xmit()
708 && scat != &rm->data.op_sg[rm->data.op_count]); in rds_ib_xmit()
[all …]
A Dloop.c75 static int rds_loop_xmit(struct rds_connection *conn, struct rds_message *rm, in rds_loop_xmit() argument
79 struct scatterlist *sgp = &rm->data.op_sg[sg]; in rds_loop_xmit()
81 be32_to_cpu(rm->m_inc.i_hdr.h_len); in rds_loop_xmit()
84 if (rm->m_inc.i_hdr.h_flags & RDS_FLAG_CONG_BITMAP) { in rds_loop_xmit()
92 rds_inc_init(&rm->m_inc, conn, &conn->c_laddr); in rds_loop_xmit()
94 rds_message_addref(rm); in rds_loop_xmit()
96 rds_recv_incoming(conn, &conn->c_laddr, &conn->c_faddr, &rm->m_inc, in rds_loop_xmit()
99 rds_send_drop_acked(conn, be64_to_cpu(rm->m_inc.i_hdr.h_sequence), in rds_loop_xmit()
102 rds_inc_put(&rm->m_inc); in rds_loop_xmit()
113 struct rds_message *rm = container_of(inc, struct rds_message, m_inc); in rds_loop_inc_free() local
[all …]
/linux-6.3-rc2/arch/arm/net/
A Dbpf_jit_32.h168 #define ARM_ADD_R(rd, rn, rm) _AL3_R(ARM_INST_ADD, rd, rn, rm) argument
183 #define ARM_BX(rm) (ARM_INST_BX | (rm)) argument
184 #define ARM_BLX_R(rm) (ARM_INST_BLX_R | (rm)) argument
186 #define ARM_CMP_R(rn, rm) _AL3_R(ARM_INST_CMP, 0, rn, rm) argument
194 | (rm))
201 | (rm))
204 | (rm))
217 #define ARM_MOV_R(rd, rm) _AL3_R(ARM_INST_MOV, rd, 0, rm) argument
218 #define ARM_MOVS_R(rd, rm) _AL3_R(ARM_INST_MOVS, rd, 0, rm) argument
248 #define ARM_REV(rd, rm) (ARM_INST_REV | (rd) << 12 | (rm)) argument
[all …]
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_rm.c42 if (rm->dspp_blks[i]) { in dpu_rm_destroy()
50 if (rm->pingpong_blks[i]) { in dpu_rm_destroy()
66 if (rm->mixer_blks[i]) { in dpu_rm_destroy()
74 if (rm->ctl_blks[i]) { in dpu_rm_destroy()
85 if (rm->dsc_blks[i]) { in dpu_rm_destroy()
109 memset(rm, 0, sizeof(*rm)); in dpu_rm_init()
261 dpu_rm_destroy(rm); in dpu_rm_init()
437 struct dpu_rm *rm, in _dpu_rm_reserve_ctls() argument
456 if (!rm->ctl_blks[j]) in _dpu_rm_reserve_ctls()
517 struct dpu_rm *rm, in _dpu_rm_make_reservation() argument
[all …]
A Ddpu_rm.h44 int dpu_rm_init(struct dpu_rm *rm,
53 int dpu_rm_destroy(struct dpu_rm *rm);
68 int dpu_rm_reserve(struct dpu_rm *rm,
87 int dpu_rm_get_assigned_resources(struct dpu_rm *rm,
96 static inline struct dpu_hw_intf *dpu_rm_get_intf(struct dpu_rm *rm, enum dpu_intf intf_idx) in dpu_rm_get_intf() argument
98 return rm->hw_intf[intf_idx - INTF_0]; in dpu_rm_get_intf()
106 static inline struct dpu_hw_wb *dpu_rm_get_wb(struct dpu_rm *rm, enum dpu_wb wb_idx) in dpu_rm_get_wb() argument
108 return rm->hw_wb[wb_idx - WB_0]; in dpu_rm_get_wb()
/linux-6.3-rc2/tools/perf/arch/x86/util/
A Dperf_regs.c226 rm[4].rm_eo - rm[4].rm_so > SDT_REG_NAME_SIZE) { in arch_sdt_arg_parse_op()
243 if (rm[3].rm_so != rm[3].rm_eo) { in arch_sdt_arg_parse_op()
244 if (rm[1].rm_so != rm[1].rm_eo) in arch_sdt_arg_parse_op()
246 else if (rm[2].rm_so != rm[2].rm_eo) in arch_sdt_arg_parse_op()
253 sdt_rename_register(old_op + rm[4].rm_so, rm[4].rm_eo - rm[4].rm_so, in arch_sdt_arg_parse_op()
258 (rm[2].rm_eo - rm[2].rm_so) + in arch_sdt_arg_parse_op()
259 (rm[3].rm_eo - rm[3].rm_so) + in arch_sdt_arg_parse_op()
261 (rm[5].rm_eo - rm[5].rm_so) + in arch_sdt_arg_parse_op()
270 (int)(rm[2].rm_eo - rm[2].rm_so), old_op + rm[2].rm_so, in arch_sdt_arg_parse_op()
271 (int)(rm[3].rm_eo - rm[3].rm_so), old_op + rm[3].rm_so, in arch_sdt_arg_parse_op()
[all …]
/linux-6.3-rc2/tools/perf/arch/powerpc/util/
A Dperf_regs.c137 regmatch_t rm[5]; in arch_sdt_arg_parse_op() local
150 if (!regexec(&sdt_op_regex1, old_op, 3, rm, 0)) { in arch_sdt_arg_parse_op()
154 new_len += (int)(rm[2].rm_eo - rm[2].rm_so); in arch_sdt_arg_parse_op()
161 (int)(rm[2].rm_eo - rm[2].rm_so), old_op + rm[2].rm_so); in arch_sdt_arg_parse_op()
162 } else if (!regexec(&sdt_op_regex2, old_op, 5, rm, 0)) { in arch_sdt_arg_parse_op()
167 prefix = (rm[1].rm_so == -1) ? '+' : '-'; in arch_sdt_arg_parse_op()
170 new_len += (int)(rm[2].rm_eo - rm[2].rm_so); in arch_sdt_arg_parse_op()
171 new_len += (int)(rm[4].rm_eo - rm[4].rm_so); in arch_sdt_arg_parse_op()
178 (int)(rm[2].rm_eo - rm[2].rm_so), old_op + rm[2].rm_so, in arch_sdt_arg_parse_op()
179 (int)(rm[4].rm_eo - rm[4].rm_so), old_op + rm[4].rm_so); in arch_sdt_arg_parse_op()
/linux-6.3-rc2/tools/perf/arch/arm64/util/
A Dperf_regs.c97 regmatch_t rm[5]; in arch_sdt_arg_parse_op() local
103 if (!regexec(&sdt_op_regex1, old_op, 3, rm, 0)) { in arch_sdt_arg_parse_op()
106 new_len += (int)(rm[1].rm_eo - rm[1].rm_so); in arch_sdt_arg_parse_op()
113 (int)(rm[1].rm_eo - rm[1].rm_so), old_op + rm[1].rm_so); in arch_sdt_arg_parse_op()
114 } else if (!regexec(&sdt_op_regex2, old_op, 5, rm, 0)) { in arch_sdt_arg_parse_op()
119 if (rm[2].rm_so == -1) in arch_sdt_arg_parse_op()
122 new_len += (int)(rm[2].rm_eo - rm[2].rm_so); in arch_sdt_arg_parse_op()
128 if (rm[2].rm_so == -1) in arch_sdt_arg_parse_op()
132 (int)(rm[2].rm_eo - rm[2].rm_so), in arch_sdt_arg_parse_op()
133 old_op + rm[2].rm_so); in arch_sdt_arg_parse_op()
/linux-6.3-rc2/arch/x86/math-emu/
A Dreg_divide.c37 deststnr = rm; in FPU_div()
46 a = (FPU_REG *) rm; in FPU_div()
49 a = &st(rm); in FPU_div()
51 taga = FPU_gettagi(rm); in FPU_div()
58 b = (FPU_REG *) rm; in FPU_div()
61 b = &st(rm); in FPU_div()
63 tagb = FPU_gettagi(rm); in FPU_div()
141 return real_2op_NaN(st0_ptr, tag, rm, in FPU_div()
145 tag = FPU_gettagi(rm); in FPU_div()
147 tag = FPU_Special(&st(rm)); in FPU_div()
[all …]
/linux-6.3-rc2/scripts/
A Dremove-stale-files23 rm -f arch/powerpc/purgatory/kexec-purgatory.c
24 rm -f arch/riscv/purgatory/kexec-purgatory.c
25 rm -f arch/x86/purgatory/kexec-purgatory.c
27 rm -f scripts/extract-cert
29 rm -f scripts/kconfig/[gmnq]conf-cfg
31 rm -f rust/target.json
33 rm -f scripts/bin2c
35 rm -f .scmversion
/linux-6.3-rc2/sound/soc/codecs/
A Dtas5805m.c190 struct regmap *rm = tas5805m->regmap; in tas5805m_refresh() local
195 regmap_write(rm, REG_PAGE, 0x00); in tas5805m_refresh()
196 regmap_write(rm, REG_BOOK, 0x8c); in tas5805m_refresh()
197 regmap_write(rm, REG_PAGE, 0x2a); in tas5805m_refresh()
206 regmap_write(rm, REG_PAGE, 0x00); in tas5805m_refresh()
207 regmap_write(rm, REG_BOOK, 0x00); in tas5805m_refresh()
210 regmap_write(rm, REG_DEVICE_CTRL_2, in tas5805m_refresh()
295 regmap_write(rm, s[i], s[i + 1]); in send_cfg()
333 struct regmap *rm = tas5805m->regmap; in do_work() local
371 regmap_write(rm, REG_PAGE, 0x00); in tas5805m_dac_event()
[all …]
/linux-6.3-rc2/arch/mips/math-emu/
A Ddp_mul.c16 u64 rm; in ieee754dp_mul() local
143 rm = hrm | (lrm != 0); in ieee754dp_mul()
148 if ((s64) rm < 0) { in ieee754dp_mul()
149 rm = (rm >> (64 - (DP_FBITS + 1 + 3))) | in ieee754dp_mul()
150 ((rm << (DP_FBITS + 1 + 3)) != 0); in ieee754dp_mul()
153 rm = (rm >> (64 - (DP_FBITS + 1 + 3 + 1))) | in ieee754dp_mul()
154 ((rm << (DP_FBITS + 1 + 3 + 1)) != 0); in ieee754dp_mul()
156 assert(rm & (DP_HIDDEN_BIT << 3)); in ieee754dp_mul()
158 return ieee754dp_format(rs, re, rm); in ieee754dp_mul()
A Dsp_mul.c16 unsigned int rm; in ieee754sp_mul() local
138 rm = hrm | (lrm != 0); in ieee754sp_mul()
143 if ((int) rm < 0) { in ieee754sp_mul()
144 rm = (rm >> (32 - (SP_FBITS + 1 + 3))) | in ieee754sp_mul()
145 ((rm << (SP_FBITS + 1 + 3)) != 0); in ieee754sp_mul()
148 rm = (rm >> (32 - (SP_FBITS + 1 + 3 + 1))) | in ieee754sp_mul()
149 ((rm << (SP_FBITS + 1 + 3 + 1)) != 0); in ieee754sp_mul()
151 assert(rm & (SP_HIDDEN_BIT << 3)); in ieee754sp_mul()
153 return ieee754sp_format(rs, re, rm); in ieee754sp_mul()
A Dsp_div.c14 unsigned int rm; in ieee754sp_div() local
115 rm = 0; in ieee754sp_div()
121 rm |= bm; in ieee754sp_div()
128 rm <<= 1; in ieee754sp_div()
130 rm |= 1; /* have remainder, set sticky */ in ieee754sp_div()
132 assert(rm); in ieee754sp_div()
136 while ((rm >> (SP_FBITS + 3)) == 0) { in ieee754sp_div()
137 rm <<= 1; in ieee754sp_div()
141 return ieee754sp_format(xs == ys ? 0 : 1, re, rm); in ieee754sp_div()
A Ddp_div.c14 u64 rm; in ieee754dp_div() local
115 rm = 0; in ieee754dp_div()
121 rm |= bm; in ieee754dp_div()
128 rm <<= 1; in ieee754dp_div()
130 rm |= 1; /* have remainder, set sticky */ in ieee754dp_div()
132 assert(rm); in ieee754dp_div()
137 while ((rm >> (DP_FBITS + 3)) == 0) { in ieee754dp_div()
138 rm <<= 1; in ieee754dp_div()
142 return ieee754dp_format(xs == ys ? 0 : 1, re, rm); in ieee754dp_div()
A Dsp_simple.c22 oldrm = ieee754_csr.rm; in ieee754sp_neg()
23 ieee754_csr.rm = FPU_CSR_RD; in ieee754sp_neg()
25 ieee754_csr.rm = oldrm; in ieee754sp_neg()
40 oldrm = ieee754_csr.rm; in ieee754sp_abs()
41 ieee754_csr.rm = FPU_CSR_RD; in ieee754sp_abs()
46 ieee754_csr.rm = oldrm; in ieee754sp_abs()
A Ddp_simple.c22 oldrm = ieee754_csr.rm; in ieee754dp_neg()
23 ieee754_csr.rm = FPU_CSR_RD; in ieee754dp_neg()
25 ieee754_csr.rm = oldrm; in ieee754dp_neg()
40 oldrm = ieee754_csr.rm; in ieee754dp_abs()
41 ieee754_csr.rm = FPU_CSR_RD; in ieee754dp_abs()
46 ieee754_csr.rm = oldrm; in ieee754dp_abs()
/linux-6.3-rc2/arch/arm/probes/kprobes/
A Dactions-arm.c75 int rm = insn & 0xf; in emulate_ldrdstrd() local
81 register unsigned long rmv asm("r3") = regs->uregs[rm]; in emulate_ldrdstrd()
104 int rm = insn & 0xf; in emulate_ldr() local
135 int rm = insn & 0xf; in emulate_str() local
161 int rm = insn & 0xf; in emulate_rd12rn16rm0rs8_rwflags() local
167 register unsigned long rmv asm("r3") = (rm == 15) ? pc in emulate_rd12rn16rm0rs8_rwflags()
168 : regs->uregs[rm]; in emulate_rd12rn16rm0rs8_rwflags()
195 int rm = insn & 0xf; in emulate_rd12rn16rm0_rwflags_nopc() local
223 int rm = insn & 0xf; in emulate_rd16rn12rm0rs8_rwflags_nopc() local
251 int rm = insn & 0xf; in emulate_rd12rm0_noflags_nopc() local
[all …]
/linux-6.3-rc2/arch/arm64/crypto/
A 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
36 .macro sm3tt2a, rd, rn, rm, imm2
[all …]
/linux-6.3-rc2/tools/virtio/ringtest/
A DMakefile23 -rm main.o
24 -rm ring.o ring
25 -rm virtio_ring_0_9.o virtio_ring_0_9
26 -rm virtio_ring_poll.o virtio_ring_poll
27 -rm virtio_ring_inorder.o virtio_ring_inorder
28 -rm ptr_ring.o ptr_ring
29 -rm noring.o noring

Completed in 39 milliseconds

12345678910>>...18