Home
last modified time | relevance | path

Searched refs:wr (Results 1 – 25 of 26) sorted by relevance

12

/linux-4.19.296/drivers/media/dvb-frontends/
Ddib3000mb.c152 wr(DIB3000MB_REG_LOCK1_MASK, DIB3000MB_LOCK1_SEARCH_4); in dib3000mb_set_frontend()
157 wr(DIB3000MB_REG_FFT, DIB3000_TRANSMISSION_MODE_2K); in dib3000mb_set_frontend()
161 wr(DIB3000MB_REG_FFT, DIB3000_TRANSMISSION_MODE_8K); in dib3000mb_set_frontend()
173 wr(DIB3000MB_REG_GUARD_TIME, DIB3000_GUARD_TIME_1_32); in dib3000mb_set_frontend()
177 wr(DIB3000MB_REG_GUARD_TIME, DIB3000_GUARD_TIME_1_16); in dib3000mb_set_frontend()
181 wr(DIB3000MB_REG_GUARD_TIME, DIB3000_GUARD_TIME_1_8); in dib3000mb_set_frontend()
185 wr(DIB3000MB_REG_GUARD_TIME, DIB3000_GUARD_TIME_1_4); in dib3000mb_set_frontend()
197 wr(DIB3000MB_REG_DDS_INV, DIB3000_DDS_INVERSION_OFF); in dib3000mb_set_frontend()
204 wr(DIB3000MB_REG_DDS_INV, DIB3000_DDS_INVERSION_ON); in dib3000mb_set_frontend()
213 wr(DIB3000MB_REG_QAM, DIB3000_CONSTELLATION_QPSK); in dib3000mb_set_frontend()
[all …]
Ddib3000mb_priv.h19 #define wr(reg,val) if (dib3000_write_reg(state,reg,val)) \ macro
26 wr(a[i],v[i]); \
29 #define set_or(reg,val) wr(reg,rd(reg) | val)
31 #define set_and(reg,val) wr(reg,rd(reg) & val)
Dlgdt330x.c105 u8 wr[] = { reg }; in i2c_read_demod_bytes() local
110 .buf = wr, in i2c_read_demod_bytes()
/linux-4.19.296/lib/
Ddecompress_unlzma.c292 static inline size_t INIT get_pos(struct writer *wr) in get_pos() argument
295 wr->global_pos + wr->buffer_pos; in get_pos()
298 static inline uint8_t INIT peek_old_byte(struct writer *wr, in peek_old_byte() argument
301 if (!wr->flush) { in peek_old_byte()
303 while (offs > wr->header->dict_size) in peek_old_byte()
304 offs -= wr->header->dict_size; in peek_old_byte()
305 pos = wr->buffer_pos - offs; in peek_old_byte()
306 return wr->buffer[pos]; in peek_old_byte()
308 uint32_t pos = wr->buffer_pos - offs; in peek_old_byte()
309 while (pos >= wr->header->dict_size) in peek_old_byte()
[all …]
/linux-4.19.296/include/linux/
Dhdlcdrv.h28 unsigned rd, wr; member
35 unsigned int wr; member
49 buf->buffer[buf->wr] = buf->shreg; in hdlcdrv_add_bitbuffer()
50 buf->wr = (buf->wr+1) % sizeof(buf->buffer); in hdlcdrv_add_bitbuffer()
58 buf->buffer[buf->wr] = bits & 0xff; in hdlcdrv_add_bitbuffer_word()
59 buf->wr = (buf->wr+1) % sizeof(buf->buffer); in hdlcdrv_add_bitbuffer_word()
60 buf->buffer[buf->wr] = (bits >> 8) & 0xff; in hdlcdrv_add_bitbuffer_word()
61 buf->wr = (buf->wr+1) % sizeof(buf->buffer); in hdlcdrv_add_bitbuffer_word()
164 ret = !((HDLCDRV_HDLCBUFFER - 1 + hb->rd - hb->wr) % HDLCDRV_HDLCBUFFER); in hdlcdrv_hbuf_full()
177 ret = (hb->rd == hb->wr); in hdlcdrv_hbuf_empty()
[all …]
/linux-4.19.296/virt/kvm/arm/vgic/
Dvgic-mmio.h78 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ argument
85 .write = wr, \
90 #define REGISTER_DESC_WITH_LENGTH(off, rd, wr, length, acc) \ argument
97 .write = wr, \
100 #define REGISTER_DESC_WITH_LENGTH_UACCESS(off, rd, wr, urd, uwr, length, acc) \ argument
107 .write = wr, \
Dvgic-mmio-v3.c470 #define REGISTER_DESC_WITH_BITS_PER_IRQ_SHARED(off, rd, wr, ur, uw, bpi, acc) \ argument
484 .write = wr, \
Dvgic-its.c1605 #define REGISTER_ITS_DESC(off, rd, wr, length, acc) \ argument
1611 .its_write = wr, \
1614 #define REGISTER_ITS_DESC_UACCESS(off, rd, wr, uwr, length, acc)\ argument
1620 .its_write = wr, \
/linux-4.19.296/drivers/media/radio/
Dradio-tea5764.c171 struct tea5764_write_regs wr; in tea5764_i2c_write() local
176 .len = sizeof(wr), in tea5764_i2c_write()
177 .buf = (void *)&wr in tea5764_i2c_write()
180 wr.intreg = r->intreg & 0xff; in tea5764_i2c_write()
181 wr.frqset = __cpu_to_be16(r->frqset); in tea5764_i2c_write()
182 wr.tnctrl = __cpu_to_be16(r->tnctrl); in tea5764_i2c_write()
183 wr.testreg = __cpu_to_be16(r->testreg); in tea5764_i2c_write()
184 wr.rdsctrl = __cpu_to_be16(r->rdsctrl); in tea5764_i2c_write()
185 wr.rdsbbl = __cpu_to_be16(r->rdsbbl); in tea5764_i2c_write()
/linux-4.19.296/fs/autofs/
Dwaitq.c54 ssize_t wr = 0; in autofs_write() local
60 wr = __kernel_write(file, data, bytes, &file->f_pos); in autofs_write()
61 if (wr <= 0) in autofs_write()
63 data += wr; in autofs_write()
64 bytes -= wr; in autofs_write()
71 if (wr == -EPIPE && !sigpipe) { in autofs_write()
79 return bytes == 0 ? 0 : wr < 0 ? wr : -EIO; in autofs_write()
/linux-4.19.296/include/rdma/
Drdmavt_qp.h167 struct ib_send_wr wr; /* don't use wr.sg_list */ member
519 for (i = 0; i < wqe->wr.num_sge; i++) { in rvt_put_swqe()
560 if (unlikely(wqe->wr.send_flags & RVT_SEND_RESERVE_USED)) { in rvt_qp_wqe_unreserve()
587 if (unlikely(wqe->wr.send_flags & RVT_SEND_RESERVE_USED)) in rvt_qp_swqe_complete()
590 (wqe->wr.send_flags & IB_SEND_SIGNALED) || in rvt_qp_swqe_complete()
595 wc.wr_id = wqe->wr.wr_id; in rvt_qp_swqe_complete()
Drw.h33 struct ib_rdma_wr wr; member
45 struct ib_rdma_wr wr; member
Dib_verbs.h1357 struct ib_send_wr wr; member
1362 static inline const struct ib_rdma_wr *rdma_wr(const struct ib_send_wr *wr) in rdma_wr() argument
1364 return container_of(wr, struct ib_rdma_wr, wr); in rdma_wr()
1368 struct ib_send_wr wr; member
1377 static inline const struct ib_atomic_wr *atomic_wr(const struct ib_send_wr *wr) in atomic_wr() argument
1379 return container_of(wr, struct ib_atomic_wr, wr); in atomic_wr()
1383 struct ib_send_wr wr; member
1394 static inline const struct ib_ud_wr *ud_wr(const struct ib_send_wr *wr) in ud_wr() argument
1396 return container_of(wr, struct ib_ud_wr, wr); in ud_wr()
1400 struct ib_send_wr wr; member
[all …]
/linux-4.19.296/include/uapi/rdma/
Drdma_user_rxe.h106 } wr; member
135 struct rxe_send_wr wr; member
Dvmw_pvrdma-abi.h273 } wr; member
Dib_user_verbs.h812 } wr; member
/linux-4.19.296/drivers/i2c/busses/
Di2c-ocores.c315 u32 curr, wr; in oc_setreg_grlib() local
322 wr = (curr & 0xff00) | value; in oc_setreg_grlib()
324 wr = (((u32)value) << 8) | (curr & 0xff); in oc_setreg_grlib()
326 wr = value; in oc_setreg_grlib()
328 iowrite32be(wr, i2c->base + (rreg << i2c->reg_shift)); in oc_setreg_grlib()
/linux-4.19.296/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c379 struct scatterlist *rd, *wr; in vb2_dma_sg_dmabuf_ops_attach() local
399 wr = sgt->sgl; in vb2_dma_sg_dmabuf_ops_attach()
401 sg_set_page(wr, sg_page(rd), rd->length, rd->offset); in vb2_dma_sg_dmabuf_ops_attach()
403 wr = sg_next(wr); in vb2_dma_sg_dmabuf_ops_attach()
Dvideobuf2-dma-contig.c230 struct scatterlist *rd, *wr; in vb2_dc_dmabuf_ops_attach() local
250 wr = sgt->sgl; in vb2_dc_dmabuf_ops_attach()
252 sg_set_page(wr, sg_page(rd), rd->length, rd->offset); in vb2_dc_dmabuf_ops_attach()
254 wr = sg_next(wr); in vb2_dc_dmabuf_ops_attach()
/linux-4.19.296/include/trace/events/
Drpcrdma.h1325 const struct ib_send_wr *wr
1328 TP_ARGS(wr),
1337 __entry->cqe = wr->wr_cqe;
1338 __entry->num_sge = wr->num_sge;
1339 __entry->inv_rkey = (wr->opcode == IB_WR_SEND_WITH_INV) ?
1340 wr->ex.invalidate_rkey : 0;
1353 const struct ib_recv_wr *wr,
1357 TP_ARGS(wr, status),
1365 __entry->cqe = wr->wr_cqe;
/linux-4.19.296/fs/cifs/
Dsmbdirect.c2619 reg_wr = &smbdirect_mr->wr; in smbd_register_mr()
2620 reg_wr->wr.opcode = IB_WR_REG_MR; in smbd_register_mr()
2622 reg_wr->wr.wr_cqe = &smbdirect_mr->cqe; in smbd_register_mr()
2623 reg_wr->wr.num_sge = 0; in smbd_register_mr()
2624 reg_wr->wr.send_flags = IB_SEND_SIGNALED; in smbd_register_mr()
2636 rc = ib_post_send(info->id->qp, &reg_wr->wr, NULL); in smbd_register_mr()
2681 struct ib_send_wr *wr; in smbd_deregister_mr() local
2687 wr = &smbdirect_mr->inv_wr; in smbd_deregister_mr()
2688 wr->opcode = IB_WR_LOCAL_INV; in smbd_deregister_mr()
2690 wr->wr_cqe = &smbdirect_mr->cqe; in smbd_deregister_mr()
[all …]
Dsmbdirect.h315 struct ib_reg_wr wr; member
/linux-4.19.296/include/linux/sunrpc/
Dsvc_rdma.h182 extern int svc_rdma_send(struct svcxprt_rdma *rdma, struct ib_send_wr *wr);
/linux-4.19.296/fs/ubifs/
Dlpt.c1737 int ubifs_lpt_init(struct ubifs_info *c, int rd, int wr) in ubifs_lpt_init() argument
1747 if (wr) { in ubifs_lpt_init()
1756 if (wr) in ubifs_lpt_init()
Dubifs.h1697 int ubifs_lpt_init(struct ubifs_info *c, int rd, int wr);

12