Home
last modified time | relevance | path

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

12345678910>>...18

/linux-6.1.9/drivers/macintosh/
Drack-meter.c51 struct rackmeter *rm; member
95 static void rackmeter_setup_i2s(struct rackmeter *rm) in rackmeter_setup_i2s() argument
97 struct macio_chip *macio = rm->mdev->bus->chip; in rackmeter_setup_i2s()
106 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, rm->i2s, 0, 1); in rackmeter_setup_i2s()
121 out_le32(rm->i2s_regs + 0x10, 0x01fa0000); in rackmeter_setup_i2s()
122 (void)in_le32(rm->i2s_regs + 0x10); in rackmeter_setup_i2s()
132 static void rackmeter_set_default_pattern(struct rackmeter *rm) in rackmeter_set_default_pattern() argument
138 rm->ubuf[i] = (i & 1) * 255; in rackmeter_set_default_pattern()
140 rm->ubuf[i] = ((~i) & 1) * 255; in rackmeter_set_default_pattern()
144 static void rackmeter_do_pause(struct rackmeter *rm, int pause) in rackmeter_do_pause() argument
[all …]
/linux-6.1.9/net/rds/
Dmessage.c51 void rds_message_addref(struct rds_message *rm) in rds_message_addref() argument
53 rdsdebug("addref rm %p ref %d\n", rm, refcount_read(&rm->m_refcount)); in rds_message_addref()
54 refcount_inc(&rm->m_refcount); in rds_message_addref()
130 static void rds_message_purge(struct rds_message *rm) in rds_message_purge() argument
135 if (unlikely(test_bit(RDS_MSG_PAGEVEC, &rm->m_flags))) in rds_message_purge()
138 spin_lock_irqsave(&rm->m_rs_lock, flags); in rds_message_purge()
139 if (rm->m_rs) { in rds_message_purge()
140 struct rds_sock *rs = rm->m_rs; in rds_message_purge()
142 if (rm->data.op_mmp_znotifier) { in rds_message_purge()
144 rds_rm_zerocopy_callback(rs, rm->data.op_mmp_znotifier); in rds_message_purge()
[all …]
Dsend.c67 struct rds_message *rm, *tmp; in rds_send_path_reset() local
71 rm = cp->cp_xmit_rm; in rds_send_path_reset()
77 rds_message_unmapped(rm); in rds_send_path_reset()
78 rds_message_put(rm); in rds_send_path_reset()
95 list_for_each_entry_safe(rm, tmp, &cp->cp_retrans, m_conn_item) { in rds_send_path_reset()
96 set_bit(RDS_MSG_ACK_REQUIRED, &rm->m_flags); in rds_send_path_reset()
97 set_bit(RDS_MSG_RETRANSMITTED, &rm->m_flags); in rds_send_path_reset()
140 struct rds_message *rm; in rds_send_xmit() local
202 rm = cp->cp_xmit_rm; in rds_send_xmit()
204 if (!rm) { in rds_send_xmit()
[all …]
Dtcp_send.c70 int rds_tcp_xmit(struct rds_connection *conn, struct rds_message *rm, in rds_tcp_xmit() argument
73 struct rds_conn_path *cp = rm->m_inc.i_conn_path; in rds_tcp_xmit()
85 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()
89 set_bit(RDS_MSG_HAS_ACK_SEQ, &rm->m_flags); in rds_tcp_xmit()
90 tc->t_last_expected_una = rm->m_ack_seq + 1; in rds_tcp_xmit()
92 if (test_bit(RDS_MSG_RETRANSMITTED, &rm->m_flags)) in rds_tcp_xmit()
93 rm->m_inc.i_hdr.h_flags |= RDS_FLAG_RETRANSMITTED; 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()
[all …]
Drdma.c608 int rds_cmsg_rdma_args(struct rds_sock *rs, struct rds_message *rm, in rds_cmsg_rdma_args() argument
613 struct rm_rdma_op *op = &rm->rdma; in rds_cmsg_rdma_args()
623 || rm->rdma.op_active) in rds_cmsg_rdma_args()
669 op->op_sg = rds_message_alloc_sgs(rm, nr_pages); in rds_cmsg_rdma_args()
808 int rds_cmsg_rdma_dest(struct rds_sock *rs, struct rds_message *rm, in rds_cmsg_rdma_dest() argument
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()
827 r_key = rds_rdma_cookie_key(rm->m_rdma_cookie); in rds_cmsg_rdma_dest()
840 rm->rdma.op_rdma_mr = mr; in rds_cmsg_rdma_dest()
851 int rds_cmsg_rdma_map(struct rds_sock *rs, struct rds_message *rm, in rds_cmsg_rdma_map() argument
[all …]
Dib_send.c48 static void rds_ib_send_complete(struct rds_message *rm, in rds_ib_send_complete() argument
50 void (*complete)(struct rds_message *rm, int status)) in rds_ib_send_complete() argument
70 complete(rm, notify_status); in rds_ib_send_complete()
154 struct rds_message *rm = NULL; in rds_ib_send_unmap_op() local
160 rm = container_of(send->s_op, struct rds_message, data); in rds_ib_send_unmap_op()
167 rm = container_of(send->s_op, struct rds_message, rdma); in rds_ib_send_unmap_op()
174 rm = container_of(send->s_op, struct rds_message, atomic); in rds_ib_send_unmap_op()
187 return rm; in rds_ib_send_unmap_op()
245 struct rds_message *rm = NULL; in rds_ib_send_cqe_handler() local
276 rm = rds_ib_send_unmap_op(ic, send, wc->status); in rds_ib_send_cqe_handler()
[all …]
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.1.9/arch/arm/net/
Dbpf_jit_32.h162 #define _AL3_R(op, rd, rn, rm) ((op ## _R) | (rd) << 12 | (rn) << 16 | (rm)) 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
172 #define ARM_ADC_R(rd, rn, rm) _AL3_R(ARM_INST_ADC, rd, rn, rm) 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
179 #define ARM_BIC_R(rd, rn, rm) _AL3_R(ARM_INST_BIC, 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
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c35 int dpu_rm_destroy(struct dpu_rm *rm) in dpu_rm_destroy() argument
39 for (i = 0; i < ARRAY_SIZE(rm->dspp_blks); i++) { in dpu_rm_destroy()
42 if (rm->dspp_blks[i]) { in dpu_rm_destroy()
43 hw = to_dpu_hw_dspp(rm->dspp_blks[i]); in dpu_rm_destroy()
47 for (i = 0; i < ARRAY_SIZE(rm->pingpong_blks); i++) { in dpu_rm_destroy()
50 if (rm->pingpong_blks[i]) { in dpu_rm_destroy()
51 hw = to_dpu_hw_pingpong(rm->pingpong_blks[i]); in dpu_rm_destroy()
55 for (i = 0; i < ARRAY_SIZE(rm->merge_3d_blks); i++) { in dpu_rm_destroy()
58 if (rm->merge_3d_blks[i]) { in dpu_rm_destroy()
59 hw = to_dpu_hw_merge_3d(rm->merge_3d_blks[i]); in dpu_rm_destroy()
[all …]
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.1.9/tools/perf/arch/x86/util/
Dperf_regs.c206 regmatch_t rm[6]; in arch_sdt_arg_parse_op() local
225 regexec(&sdt_op_regex, old_op, 6, rm, 0) || in arch_sdt_arg_parse_op()
226 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()
245 prefix[0] = *(old_op + rm[1].rm_so); 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()
[all …]
/linux-6.1.9/tools/perf/arch/powerpc/util/
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.1.9/tools/perf/arch/arm64/util/
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.1.9/arch/x86/math-emu/
Dreg_divide.c28 int FPU_div(int flags, int rm, int control_w) in FPU_div() argument
37 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()
133 return real_2op_NaN((FPU_REG *) rm, flags & 0x0f, 0, in FPU_div()
141 return real_2op_NaN(st0_ptr, tag, rm, in FPU_div()
[all …]
/linux-6.1.9/sound/soc/codecs/
Dtas5805m.c170 static void set_dsp_scale(struct regmap *rm, int offset, int vol) in set_dsp_scale() argument
181 regmap_bulk_write(rm, offset, v, ARRAY_SIZE(v)); in set_dsp_scale()
188 struct regmap *rm = tas5805m->regmap; in tas5805m_refresh() local
193 regmap_write(rm, REG_PAGE, 0x00); in tas5805m_refresh()
194 regmap_write(rm, REG_BOOK, 0x8c); in tas5805m_refresh()
195 regmap_write(rm, REG_PAGE, 0x2a); in tas5805m_refresh()
201 set_dsp_scale(rm, 0x24, tas5805m->vol[0]); in tas5805m_refresh()
202 set_dsp_scale(rm, 0x28, tas5805m->vol[1]); in tas5805m_refresh()
205 regmap_write(rm, REG_DEVICE_CTRL_2, in tas5805m_refresh()
278 static void send_cfg(struct regmap *rm, in send_cfg() argument
[all …]
/linux-6.1.9/arch/mips/math-emu/
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()
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()
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()
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()
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()
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.1.9/scripts/
Dremove-stale-files23 rm -f arch/powerpc/purgatory/kexec-purgatory.c
31 rm -f arch/arm/boot/compressed/${f}
36 rm -f arch/mips/boot/compressed/${f}
41 rm -f arch/parisc/boot/compressed/${f}
45 rm -f arch/riscv/purgatory/kexec-purgatory.c
47 rm -f scripts/extract-cert
49 rm -f arch/x86/purgatory/kexec-purgatory.c
/linux-6.1.9/arch/arm/probes/kprobes/
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
109 register unsigned long rmv asm("r3") = regs->uregs[rm]; in emulate_ldr()
135 int rm = insn & 0xf; in emulate_str() local
141 register unsigned long rmv asm("r3") = regs->uregs[rm]; in emulate_str()
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
[all …]
/linux-6.1.9/arch/arm64/crypto/
Dsm3-ce-core.S16 .macro sm3partw1, rd, rn, rm argument
17 .inst 0xce60c000 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
20 .macro sm3partw2, rd, rn, rm argument
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 …]
/linux-6.1.9/tools/virtio/ringtest/
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

12345678910>>...18