Home
last modified time | relevance | path

Searched full:wr (Results 1 – 25 of 766) sorted by relevance

12345678910>>...31

/linux-6.12.1/drivers/media/dvb-frontends/
Ddib3000mb.c148 wr(DIB3000MB_REG_LOCK1_MASK, DIB3000MB_LOCK1_SEARCH_4); in dib3000mb_set_frontend()
153 wr(DIB3000MB_REG_FFT, DIB3000_TRANSMISSION_MODE_2K); in dib3000mb_set_frontend()
157 wr(DIB3000MB_REG_FFT, DIB3000_TRANSMISSION_MODE_8K); in dib3000mb_set_frontend()
169 wr(DIB3000MB_REG_GUARD_TIME, DIB3000_GUARD_TIME_1_32); in dib3000mb_set_frontend()
173 wr(DIB3000MB_REG_GUARD_TIME, DIB3000_GUARD_TIME_1_16); in dib3000mb_set_frontend()
177 wr(DIB3000MB_REG_GUARD_TIME, DIB3000_GUARD_TIME_1_8); in dib3000mb_set_frontend()
181 wr(DIB3000MB_REG_GUARD_TIME, DIB3000_GUARD_TIME_1_4); in dib3000mb_set_frontend()
193 wr(DIB3000MB_REG_DDS_INV, DIB3000_DDS_INVERSION_OFF); in dib3000mb_set_frontend()
200 wr(DIB3000MB_REG_DDS_INV, DIB3000_DDS_INVERSION_ON); in dib3000mb_set_frontend()
209 wr(DIB3000MB_REG_QAM, DIB3000_CONSTELLATION_QPSK); in dib3000mb_set_frontend()
[all …]
/linux-6.12.1/lib/
Ddecompress_unlzma.c294 static inline size_t INIT get_pos(struct writer *wr) in get_pos() argument
297 wr->global_pos + wr->buffer_pos; in get_pos()
300 static inline uint8_t INIT peek_old_byte(struct writer *wr, in peek_old_byte() argument
303 if (!wr->flush) { in peek_old_byte()
305 while (offs > wr->header->dict_size) in peek_old_byte()
306 offs -= wr->header->dict_size; in peek_old_byte()
307 pos = wr->buffer_pos - offs; in peek_old_byte()
308 return wr->buffer[pos]; in peek_old_byte()
310 uint32_t pos = wr->buffer_pos - offs; in peek_old_byte()
311 while (pos >= wr->header->dict_size) in peek_old_byte()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Djson_writer.c311 json_writer_t *wr = jsonw_new(stdout); in main() local
313 jsonw_start_object(wr); in main()
314 jsonw_pretty(wr, true); in main()
315 jsonw_name(wr, "Vyatta"); in main()
316 jsonw_start_object(wr); in main()
317 jsonw_string_field(wr, "url", "http://vyatta.com"); in main()
318 jsonw_uint_field(wr, "downloads", 2000000ul); in main()
319 jsonw_float_field(wr, "stock", 8.16); in main()
321 jsonw_name(wr, "ARGV"); in main()
322 jsonw_start_array(wr); in main()
[all …]
/linux-6.12.1/tools/bpf/bpftool/
Djson_writer.c311 json_writer_t *wr = jsonw_new(stdout); in main() local
313 jsonw_start_object(wr); in main()
314 jsonw_pretty(wr, true); in main()
315 jsonw_name(wr, "Vyatta"); in main()
316 jsonw_start_object(wr); in main()
317 jsonw_string_field(wr, "url", "http://vyatta.com"); in main()
318 jsonw_uint_field(wr, "downloads", 2000000ul); in main()
319 jsonw_float_field(wr, "stock", 8.16); in main()
321 jsonw_name(wr, "ARGV"); in main()
322 jsonw_start_array(wr); in main()
[all …]
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dwr.c9 #include "wr.h"
54 static void set_eth_seg(const struct ib_send_wr *wr, struct mlx5_ib_qp *qp, in set_eth_seg() argument
61 if (wr->send_flags & IB_SEND_IP_CSUM) in set_eth_seg()
65 if (wr->opcode == IB_WR_LSO) { in set_eth_seg()
66 struct ib_ud_wr *ud_wr = container_of(wr, struct ib_ud_wr, wr); in set_eth_seg()
103 const struct ib_send_wr *wr) in set_datagram_seg() argument
105 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg()
107 cpu_to_be32(ud_wr(wr)->remote_qpn | MLX5_EXTENDED_UD_AV); in set_datagram_seg()
108 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey); in set_datagram_seg()
228 static __be32 send_ieth(const struct ib_send_wr *wr) in send_ieth() argument
[all …]
Dgsi.c51 struct mlx5_ib_gsi_wr *wr; in generate_completions() local
56 wr = &gsi->outstanding_wrs[index % gsi->cap.max_send_wr]; in generate_completions()
58 if (!wr->completed) in generate_completions()
61 WARN_ON_ONCE(mlx5_ib_generate_wc(gsi_cq, &wr->wc)); in generate_completions()
62 wr->completed = false; in generate_completions()
71 struct mlx5_ib_gsi_wr *wr = in handle_single_completion() local
78 wr->completed = true; in handle_single_completion()
79 wr_id = wr->wc.wr_id; in handle_single_completion()
80 wr->wc = *wc; in handle_single_completion()
81 wr->wc.wr_id = wr_id; in handle_single_completion()
[all …]
/linux-6.12.1/include/trace/events/
Dib_mad.h24 TP_PROTO(struct ib_mad_send_wr_private *wr,
26 TP_ARGS(wr, qp_info),
55 __entry->dev_index = wr->mad_agent_priv->agent.device->index;
56 __entry->port_num = wr->mad_agent_priv->agent.port_num;
57 __entry->qp_num = wr->mad_agent_priv->qp_info->qp->qp_num;
58 __entry->agent_priv = wr->mad_agent_priv;
59 __entry->wrtid = wr->tid;
60 __entry->max_retries = wr->max_retries;
61 __entry->retries_left = wr->retries_left;
62 __entry->retry = wr->retry;
[all …]
/linux-6.12.1/drivers/ata/pata_parport/
Dbpck.c93 #define WR(r,v) bpck_write_regr(pi,2,r,v) macro
103 WR(4, 0x40); in bpck_write_block()
109 WR(4, 0); in bpck_write_block()
113 WR(4, 0x50); in bpck_write_block()
119 WR(4, 0x10); in bpck_write_block()
123 WR(4, 0x48); in bpck_write_block()
128 WR(4, 8); in bpck_write_block()
132 WR(4, 0x48); in bpck_write_block()
137 WR(4, 8); in bpck_write_block()
141 WR(4, 0x48); in bpck_write_block()
[all …]
Depia.c94 #define WR(r, v) epia_write_regr(pi, 0, r, v) macro
114 WR(0x86, 8); in epia_connect()
119 /* WR(0x84,0x10); */ in epia_disconnect()
167 WR(0x84, 3); in epia_read_block()
171 w2(4); WR(0x84, 0); in epia_read_block()
175 WR(0x84, 3); in epia_read_block()
179 w2(4); WR(0x84, 0); in epia_read_block()
183 WR(0x84, 3); in epia_read_block()
187 w2(4); WR(0x84, 0); in epia_read_block()
215 WR(0x84, 1); in epia_write_block()
[all …]
/linux-6.12.1/drivers/isdn/hardware/mISDN/
Dipac.h122 #define IPAC_MASKB 0x20 /* WR */
124 #define IPAC_CMDRB 0x21 /* WR */
128 #define IPAC_RAH1 0x26 /* WR */
129 #define IPAC_RAH2 0x27 /* WR */
132 #define IPAC_RAL2 0x29 /* WR */
134 #define IPAC_XBCL 0x2A /* WR */
137 #define IPAC_XBCH 0x2D /* WR */
139 #define IPAC_RLCR 0x2E /* WR */
141 #define IPAC_TSAX 0x30 /* WR */
142 #define IPAC_TSAR 0x31 /* WR */
[all …]
/linux-6.12.1/drivers/infiniband/core/
Drw.c81 reg->inv_wr.next = &reg->reg_wr.wr; in rdma_rw_inv_key()
112 reg->reg_wr.wr.opcode = IB_WR_REG_MR; in rdma_rw_init_one_mr()
152 prev->wr.wr.next = &reg->inv_wr; in rdma_rw_init_mr_wrs()
154 prev->wr.wr.next = &reg->reg_wr.wr; in rdma_rw_init_mr_wrs()
157 reg->reg_wr.wr.next = &reg->wr.wr; in rdma_rw_init_mr_wrs()
159 reg->wr.wr.sg_list = &reg->sge; in rdma_rw_init_mr_wrs()
160 reg->wr.wr.num_sge = 1; in rdma_rw_init_mr_wrs()
161 reg->wr.remote_addr = remote_addr; in rdma_rw_init_mr_wrs()
162 reg->wr.rkey = rkey; in rdma_rw_init_mr_wrs()
164 reg->wr.wr.opcode = IB_WR_RDMA_WRITE; in rdma_rw_init_mr_wrs()
[all …]
/linux-6.12.1/fs/orangefs/
Dinode.c23 struct orangefs_write_range *wr = NULL; in orangefs_writepage_locked() local
34 wr = (struct orangefs_write_range *)page_private(page); in orangefs_writepage_locked()
35 WARN_ON(wr->pos >= len); in orangefs_writepage_locked()
36 off = wr->pos; in orangefs_writepage_locked()
37 if (off + wr->len > len) in orangefs_writepage_locked()
40 wlen = wr->len; in orangefs_writepage_locked()
57 len, wr, NULL, NULL); in orangefs_writepage_locked()
91 struct orangefs_write_range *wrp, wr; in orangefs_writepages_work() local
115 wr.uid = ow->uid; in orangefs_writepages_work()
116 wr.gid = ow->gid; in orangefs_writepages_work()
[all …]
/linux-6.12.1/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c647 const struct ib_reg_wr *wr) in set_reg_seg() argument
649 struct pvrdma_user_mr *mr = to_vmr(wr->mr); in set_reg_seg()
651 wqe_hdr->wr.fast_reg.iova_start = mr->ibmr.iova; in set_reg_seg()
652 wqe_hdr->wr.fast_reg.pl_pdir_dma = mr->pdir.dir_dma; in set_reg_seg()
653 wqe_hdr->wr.fast_reg.page_shift = mr->page_shift; in set_reg_seg()
654 wqe_hdr->wr.fast_reg.page_list_len = mr->npages; in set_reg_seg()
655 wqe_hdr->wr.fast_reg.length = mr->ibmr.length; in set_reg_seg()
656 wqe_hdr->wr.fast_reg.access_flags = wr->access; in set_reg_seg()
657 wqe_hdr->wr.fast_reg.rkey = wr->key; in set_reg_seg()
666 * @wr: work request list to post
[all …]
/linux-6.12.1/drivers/infiniband/ulp/iser/
Diser_memory.c257 struct ib_reg_wr *wr = &tx_desc->reg_wr; in iser_reg_sig_mr() local
268 iser_inv_rkey(&tx_desc->inv_wr, mr, cqe, &wr->wr); in iser_reg_sig_mr()
280 memset(wr, 0, sizeof(*wr)); in iser_reg_sig_mr()
281 wr->wr.next = &tx_desc->send_wr; in iser_reg_sig_mr()
282 wr->wr.opcode = IB_WR_REG_MR_INTEGRITY; in iser_reg_sig_mr()
283 wr->wr.wr_cqe = cqe; in iser_reg_sig_mr()
284 wr->wr.num_sge = 0; in iser_reg_sig_mr()
285 wr->wr.send_flags = 0; in iser_reg_sig_mr()
286 wr->mr = mr; in iser_reg_sig_mr()
287 wr->key = mr->rkey; in iser_reg_sig_mr()
[all …]
/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_verbs.c674 /* Complete SQ WR's without processing */
675 static int siw_sq_flush_wr(struct siw_qp *qp, const struct ib_send_wr *wr, in siw_sq_flush_wr() argument
680 while (wr) { in siw_sq_flush_wr()
683 switch (wr->opcode) { in siw_sq_flush_wr()
713 sqe.id = wr->wr_id; in siw_sq_flush_wr()
719 *bad_wr = wr; in siw_sq_flush_wr()
722 wr = wr->next; in siw_sq_flush_wr()
727 /* Complete RQ WR's without processing */
728 static int siw_rq_flush_wr(struct siw_qp *qp, const struct ib_recv_wr *wr, in siw_rq_flush_wr() argument
734 while (wr) { in siw_rq_flush_wr()
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/
Dpipeline.json27 …issue is stalled and there is an interlock. Stall cycles due to a stall in Wr (typically awaiting …
30 …issue is stalled and there is an interlock. Stall cycles due to a stall in Wr (typically awaiting …
33 …r data to calculate the address in the AGU. Stall cycles due to a stall in Wr (typically awaiting …
36 …r data to calculate the address in the AGU. Stall cycles due to a stall in Wr (typically awaiting …
39 …that is due to an FPU/NEON instruction. Stall cycles due to a stall in the Wr stage (typically awa…
42 …that is due to an FPU/NEON instruction. Stall cycles due to a stall in the Wr stage (typically awa…
45 …to the backend, load.This event counts every cycle there is a stall in the Wr stage due to a load",
48 … to the backend, load.This event counts every cycle there is a stall in the Wr stage due to a load"
51 …o the backend, store.This event counts every cycle there is a stall in the Wr stage due to a store…
54 …o the backend, store.This event counts every cycle there is a stall in the Wr stage due to a store"
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/
Dpipeline.json39 …on is stalled and there is an interlock. Stall cycles due to a stall in the Wr stage are excluded",
42 …ion is stalled and there is an interlock. Stall cycles due to a stall in the Wr stage are excluded"
45 …iting for data to calculate the address. Stall cycles due to a stall in the Wr stage are excluded",
48 …aiting for data to calculate the address. Stall cycles due to a stall in the Wr stage are excluded"
51 …ock that is caused by a VPU instruction. Stall cycles due to a stall in the Wr stage are excluded",
54 …lock that is caused by a VPU instruction. Stall cycles due to a stall in the Wr stage are excluded"
57 …backend, load. This event counts every cycle where there is a stall in the Wr stage due to a load",
60 … backend, load. This event counts every cycle where there is a stall in the Wr stage due to a load"
63 …ackend, store. This event counts every cycle where there is a stall in the Wr stage due to a store…
66 …ackend, store. This event counts every cycle where there is a stall in the Wr stage due to a store"
[all …]
/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_mw.c83 if (unlikely(!mr || wqe->wr.wr.mw.length == 0)) { in rxe_check_bind_mw()
117 if (unlikely(wqe->wr.wr.mw.length > mr->ibmr.length)) { in rxe_check_bind_mw()
123 if (unlikely((wqe->wr.wr.mw.addr < mr->ibmr.iova) || in rxe_check_bind_mw()
124 ((wqe->wr.wr.mw.addr + wqe->wr.wr.mw.length) > in rxe_check_bind_mw()
138 u32 key = wqe->wr.wr.mw.rkey & 0xff; in rxe_do_bind_mw()
143 mw->addr = wqe->wr.wr.mw.addr; in rxe_do_bind_mw()
144 mw->length = wqe->wr.wr.mw.length; in rxe_do_bind_mw()
170 u32 mw_rkey = wqe->wr.wr.mw.mw_rkey; in rxe_bind_mw()
171 u32 mr_lkey = wqe->wr.wr.mw.mr_lkey; in rxe_bind_mw()
172 int access = wqe->wr.wr.mw.access; in rxe_bind_mw()
[all …]
Drxe_verbs.c488 static int rxe_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr, in rxe_post_srq_recv() argument
497 while (wr) { in rxe_post_srq_recv()
498 err = post_one_recv(&srq->rq, wr); in rxe_post_srq_recv()
501 wr = wr->next; in rxe_post_srq_recv()
507 *bad_wr = wr; in rxe_post_srq_recv()
662 /* send wr */
678 rxe_err_qp(qp, "bad wr opcode for qp type\n"); in validate_send_wr()
726 static int init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr, in init_send_wr() argument
729 wr->wr_id = ibwr->wr_id; in init_send_wr()
730 wr->opcode = ibwr->opcode; in init_send_wr()
[all …]
/linux-6.12.1/drivers/infiniband/hw/cxgb4/
Dqp.c155 * so no need to post a RESET WR for these EQs. in destroy_qp()
415 const struct ib_send_wr *wr, int max, u32 *plenp) in build_immd() argument
423 for (i = 0; i < wr->num_sge; i++) { in build_immd()
424 if ((plen + wr->sg_list[i].length) > max) in build_immd()
426 srcp = (u8 *)(unsigned long)wr->sg_list[i].addr; in build_immd()
427 plen += wr->sg_list[i].length; in build_immd()
428 rem = wr->sg_list[i].length; in build_immd()
490 const struct ib_send_wr *wr, u8 *len16) in build_rdma_send() argument
496 if (wr->num_sge > T4_MAX_SEND_SGE) in build_rdma_send()
498 switch (wr->opcode) { in build_rdma_send()
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-au1550.c44 static inline void WR(struct i2c_au1550_data *a, int r, unsigned long v) in WR() function
104 WR(adap, PSC_SMBEVNT, PSC_SMBEVNT_ALLCLR); in do_address()
107 WR(adap, PSC_SMBPCR, PSC_SMBPCR_DC); in do_address()
123 WR(adap, PSC_SMBTXRX, addr); in do_address()
124 WR(adap, PSC_SMBPCR, PSC_SMBPCR_MS); in do_address()
168 WR(adap, PSC_SMBTXRX, 0); in i2c_read()
176 WR(adap, PSC_SMBTXRX, PSC_SMBTXRX_STP); in i2c_read()
196 WR(adap, PSC_SMBTXRX, data); in i2c_write()
205 WR(adap, PSC_SMBTXRX, data); in i2c_write()
218 WR(adap, PSC_CTRL, PSC_CTRL_ENABLE); in au1550_xfer()
[all …]
/linux-6.12.1/arch/arm64/kvm/
Dat.c50 static void fail_s1_walk(struct s1_walk_result *wr, u8 fst, bool ptw, bool s2) in fail_s1_walk() argument
52 wr->fst = fst; in fail_s1_walk()
53 wr->ptw = ptw; in fail_s1_walk()
54 wr->s2 = s2; in fail_s1_walk()
55 wr->failed = true; in fail_s1_walk()
91 struct s1_walk_result *wr, u64 va) in setup_s1_walk() argument
156 wr->level = S1_MMU_DISABLED; in setup_s1_walk()
163 wr->level = S1_MMU_DISABLED; in setup_s1_walk()
167 if (wr->level == S1_MMU_DISABLED) { in setup_s1_walk()
171 wr->pa = va; in setup_s1_walk()
[all …]
/linux-6.12.1/drivers/infiniband/hw/mthca/
Dmthca_qp.c1501 const struct ib_ud_wr *wr, in build_mlx_header() argument
1511 mthca_ah_grh_present(to_mah(wr->ah)), 0, 0, 0, in build_mlx_header()
1514 err = mthca_read_ah(dev, to_mah(wr->ah), &sqp->ud_header); in build_mlx_header()
1525 switch (wr->wr.opcode) { in build_mlx_header()
1533 sqp->ud_header.immediate_data = wr->wr.ex.imm_data; in build_mlx_header()
1542 sqp->ud_header.bth.solicited_event = !!(wr->wr.send_flags & IB_SEND_SOLICITED); in build_mlx_header()
1547 ib_get_cached_pkey(&dev->ib_dev, qp->port, wr->pkey_index, in build_mlx_header()
1550 sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); in build_mlx_header()
1552 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header()
1553 sqp->qkey : wr->remote_qkey); in build_mlx_header()
[all …]
/linux-6.12.1/drivers/scsi/csiostor/
Dcsio_scsi.c193 * csio_scsi_init_cmd_wr - Initialize the SCSI CMD WR.
196 * @size: Size of WR (including FW WR + immed data + rsp SG entry
205 struct fw_scsi_cmd_wr *wr = (struct fw_scsi_cmd_wr *)addr; in csio_scsi_init_cmd_wr() local
209 wr->op_immdlen = cpu_to_be32(FW_WR_OP_V(FW_SCSI_CMD_WR) | in csio_scsi_init_cmd_wr()
211 wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID_V(rn->flowid) | in csio_scsi_init_cmd_wr()
215 wr->cookie = (uintptr_t) req; in csio_scsi_init_cmd_wr()
216 wr->iqid = cpu_to_be16(csio_q_physiqid(hw, req->iq_idx)); in csio_scsi_init_cmd_wr()
217 wr->tmo_val = (uint8_t) req->tmo; in csio_scsi_init_cmd_wr()
218 wr->r3 = 0; in csio_scsi_init_cmd_wr()
219 memset(&wr->r5, 0, 8); in csio_scsi_init_cmd_wr()
[all …]
/linux-6.12.1/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c33 static void child(int size, int wr) in child() argument
35 volatile uint8_t *addr = &var[32 + wr]; in child()
112 static bool run_test(int wr_size, int wp_size, int wr, int wp) in run_test() argument
125 child(wr_size, wr); in run_test()
204 int wr, wp, size; in main() local
215 for (wr = 0; wr <= 32; wr = wr + size) { in main()
216 for (wp = wr - size; wp <= wr + size; wp = wp + size) { in main()
217 result = run_test(size, MIN(size, 8), wr, wp); in main()
218 if ((result && wr == wp) || in main()
219 (!result && wr != wp)) in main()
[all …]

12345678910>>...31