Home
last modified time | relevance | path

Searched refs:mr (Results 1 – 25 of 27) sorted by relevance

12

/linux-4.19.296/drivers/rtc/
Drtc-at91sam9.c141 u32 offset, alarm, mr; in at91_rtc_settime() local
152 mr = rtt_readl(rtc, MR); in at91_rtc_settime()
155 rtt_writel(rtc, MR, mr & ~(AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN)); in at91_rtc_settime()
176 mr &= ~AT91_RTT_ALMIEN; in at91_rtc_settime()
182 rtt_writel(rtc, MR, mr | AT91_RTT_RTTRST); in at91_rtc_settime()
219 u32 mr; in at91_rtc_setalarm() local
231 mr = rtt_readl(rtc, MR); in at91_rtc_setalarm()
232 rtt_writel(rtc, MR, mr & ~AT91_RTT_ALMIEN); in at91_rtc_setalarm()
243 rtt_writel(rtc, MR, mr | AT91_RTT_ALMIEN); in at91_rtc_setalarm()
255 u32 mr = rtt_readl(rtc, MR); in at91_rtc_alarm_irq_enable() local
[all …]
/linux-4.19.296/drivers/sh/intc/
Dhandle.c44 struct intc_mask_reg *mr = desc->hw.mask_regs; in _intc_mask_data() local
48 while (mr && enum_id && *reg_idx < desc->hw.nr_mask_regs) { in _intc_mask_data()
49 mr = desc->hw.mask_regs + *reg_idx; in _intc_mask_data()
51 for (; *fld_idx < ARRAY_SIZE(mr->enum_ids); (*fld_idx)++) { in _intc_mask_data()
52 if (mr->enum_ids[*fld_idx] != enum_id) in _intc_mask_data()
55 if (mr->set_reg && mr->clr_reg) { in _intc_mask_data()
58 reg_e = mr->clr_reg; in _intc_mask_data()
59 reg_d = mr->set_reg; in _intc_mask_data()
62 if (mr->set_reg) { in _intc_mask_data()
64 reg_e = mr->set_reg; in _intc_mask_data()
[all …]
Dbalancing.c44 struct intc_mask_reg *mr = desc->hw.mask_regs; in intc_dist_data() local
48 for (i = 0; mr && enum_id && i < desc->hw.nr_mask_regs; i++) { in intc_dist_data()
49 mr = desc->hw.mask_regs + i; in intc_dist_data()
55 if (!mr->dist_reg) in intc_dist_data()
58 for (j = 0; j < ARRAY_SIZE(mr->enum_ids); j++) { in intc_dist_data()
59 if (mr->enum_ids[j] != enum_id) in intc_dist_data()
64 reg_e = mr->dist_reg; in intc_dist_data()
65 reg_d = mr->dist_reg; in intc_dist_data()
67 fn += (mr->reg_width >> 3) - 1; in intc_dist_data()
72 (mr->reg_width - 1) - j); in intc_dist_data()
/linux-4.19.296/include/rdma/
Drdmavt_mr.h110 struct rvt_mregion *mr; member
125 static inline void rvt_put_mr(struct rvt_mregion *mr) in rvt_put_mr() argument
127 percpu_ref_put(&mr->refcount); in rvt_put_mr()
130 static inline void rvt_get_mr(struct rvt_mregion *mr) in rvt_get_mr() argument
132 percpu_ref_get(&mr->refcount); in rvt_get_mr()
138 rvt_put_mr(ss->sge.mr); in rvt_put_ss()
166 rvt_put_mr(sge->mr); in rvt_update_sge()
169 } else if (sge->length == 0 && sge->mr->lkey) { in rvt_update_sge()
171 if (++sge->m >= sge->mr->mapsz) in rvt_update_sge()
175 sge->vaddr = sge->mr->map[sge->m]->segs[sge->n].vaddr; in rvt_update_sge()
[all …]
Dmr_pool.h19 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr);
Dib_verbs.h1401 struct ib_mr *mr; member
2432 int (*rereg_user_mr)(struct ib_mr *mr,
2439 int (*dereg_mr)(struct ib_mr *mr);
2443 int (*map_mr_sg)(struct ib_mr *mr,
2485 int (*check_mr_status)(struct ib_mr *mr, u32 check_mask,
3752 int ib_dereg_mr(struct ib_mr *mr);
3764 static inline void ib_update_fast_reg_key(struct ib_mr *mr, u8 newkey) in ib_update_fast_reg_key() argument
3766 mr->lkey = (mr->lkey & 0xffffff00) | newkey; in ib_update_fast_reg_key()
3767 mr->rkey = (mr->rkey & 0xffffff00) | newkey; in ib_update_fast_reg_key()
3899 int ib_check_mr_status(struct ib_mr *mr, u32 check_mask,
[all …]
Drw.h48 struct ib_mr *mr; member
Drdmavt_qp.h522 rvt_put_mr(sge->mr); in rvt_put_swqe()
/linux-4.19.296/drivers/isdn/hisax/
Dhfc4s8s_l1.c195 } mr; member
319 l1->hw->mr.r_irq_fifo_blx[l1->st_num] |= in dch_l2l1()
399 l1->hw->mr.r_irq_fifo_blx[l1->st_num] |= in bch_l2l1()
418 l1->hw->mr.timer_usg_cnt++; in bch_l2l1()
419 l1->hw->mr. in bch_l2l1()
448 l1->hw->mr.r_ctrl0 |= in bch_l2l1()
451 l1->hw->mr.r_ctrl0); in bch_l2l1()
465 l1->hw->mr. in bch_l2l1()
471 l1->hw->mr.timer_usg_cnt++; in bch_l2l1()
495 l1->hw->mr.r_ctrl0 |= in bch_l2l1()
[all …]
/linux-4.19.296/include/trace/events/
Drpcrdma.h91 struct rpcrdma_mr *mr,
95 TP_ARGS(task, pos, mr, nsegs),
100 __field(const void *, mr)
112 __entry->mr = mr;
114 __entry->nents = mr->mr_nents;
115 __entry->handle = mr->mr_handle;
116 __entry->length = mr->mr_length;
117 __entry->offset = mr->mr_offset;
122 __entry->task_id, __entry->client_id, __entry->mr,
134 struct rpcrdma_mr *mr, \
[all …]
/linux-4.19.296/fs/cifs/
Dsmbdirect.c2349 struct smbd_mr *mr; in register_mr_done() local
2355 mr = container_of(cqe, struct smbd_mr, cqe); in register_mr_done()
2356 smbd_disconnect_rdma_connection(mr->conn); in register_mr_done()
2381 rc = ib_dereg_mr(smbdirect_mr->mr); in smbd_mr_recovery_work()
2390 smbdirect_mr->mr = ib_alloc_mr( in smbd_mr_recovery_work()
2393 if (IS_ERR(smbdirect_mr->mr)) { in smbd_mr_recovery_work()
2426 struct smbd_mr *mr, *tmp; in destroy_mr_list() local
2429 list_for_each_entry_safe(mr, tmp, &info->mr_list, list) { in destroy_mr_list()
2430 if (mr->state == MR_INVALIDATED) in destroy_mr_list()
2431 ib_dma_unmap_sg(info->id->device, mr->sgl, in destroy_mr_list()
[all …]
Dsmbdirect.h310 struct ib_mr *mr; member
327 int smbd_deregister_mr(struct smbd_mr *mr);
Dsmb2pdu.c3095 rdata->mr = smbd_register_mr( in smb2_new_read_req()
3099 if (!rdata->mr) in smb2_new_read_req()
3110 v1->offset = cpu_to_le64(rdata->mr->mr->iova); in smb2_new_read_req()
3111 v1->token = cpu_to_le32(rdata->mr->mr->rkey); in smb2_new_read_req()
3112 v1->length = cpu_to_le32(rdata->mr->mr->length); in smb2_new_read_req()
3208 if (rdata->mr) { in smb2_readv_callback()
3209 smbd_deregister_mr(rdata->mr); in smb2_readv_callback()
3210 rdata->mr = NULL; in smb2_readv_callback()
3435 if (wdata->mr) { in smb2_writev_callback()
3436 smbd_deregister_mr(wdata->mr); in smb2_writev_callback()
[all …]
Dcifsglob.h1224 struct smbd_mr *mr; member
1250 struct smbd_mr *mr; member
Dfile.c3002 if (rdata->mr) { in cifs_readdata_release()
3003 smbd_deregister_mr(rdata->mr); in cifs_readdata_release()
3004 rdata->mr = NULL; in cifs_readdata_release()
3147 else if (rdata->mr) in uncached_fill_pages()
3730 else if (rdata->mr) in readpages_fill_pages()
Dcifssmb.c1585 use_rdma_mr = rdata->mr; in cifs_readv_receive()
1969 if (wdata->mr) { in cifs_writedata_release()
1970 smbd_deregister_mr(wdata->mr); in cifs_writedata_release()
1971 wdata->mr = NULL; in cifs_writedata_release()
/linux-4.19.296/include/net/netfilter/
Dnf_nat_redirect.h7 const struct nf_nat_ipv4_multi_range_compat *mr,
/linux-4.19.296/drivers/media/usb/usbvision/
Dusbvision.h189 #define YUV_TO_RGB_BY_THE_BOOK(my, mu, mv, mr, mg, mb) { \ argument
200 mr = LIMIT_RGB(mm_r); \
/linux-4.19.296/include/uapi/rdma/
Drdma_user_rxe.h100 struct ib_mr *mr; member
/linux-4.19.296/include/linux/mlx4/
Ddevice.h711 struct mlx4_mr mr; member
1118 int npages, int page_shift, struct mlx4_mr *mr);
1119 int mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr);
1120 int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr);
1535 void mlx4_mr_rereg_mem_cleanup(struct mlx4_dev *dev, struct mlx4_mr *mr);
1536 int mlx4_mr_rereg_mem_write(struct mlx4_dev *dev, struct mlx4_mr *mr,
/linux-4.19.296/drivers/message/fusion/
Dmptscsih.c586 mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) in mptscsih_io_done() argument
598 req_idx_MR = (mr != NULL) ? in mptscsih_io_done()
599 le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx) : req_idx; in mptscsih_io_done()
643 pScsiReply = (SCSIIOReply_t *) mr; in mptscsih_io_done()
648 ioc->name, mf, mr, sc, req_idx, pScsiReply->TaskTag)); in mptscsih_io_done()
652 ioc->name, mf, mr, sc, req_idx)); in mptscsih_io_done()
2054 MPT_FRAME_HDR *mr) in mptscsih_taskmgmt_complete() argument
2057 "TaskMgmt completed (mf=%p, mr=%p)\n", ioc->name, mf, mr)); in mptscsih_taskmgmt_complete()
2061 if (!mr) in mptscsih_taskmgmt_complete()
2065 memcpy(ioc->taskmgmt_cmds.reply, mr, in mptscsih_taskmgmt_complete()
[all …]
Dmptbase.c446 MPT_FRAME_HDR *mr = NULL; in mpt_turbo_reply() local
478 mr = (MPT_FRAME_HDR *) CAST_U32_TO_PTR(pa); in mpt_turbo_reply()
482 mr = (MPT_FRAME_HDR *) CAST_U32_TO_PTR(pa); in mpt_turbo_reply()
497 if (MptCallbacks[cb_idx](ioc, mf, mr)) in mpt_turbo_reply()
507 MPT_FRAME_HDR *mr; in mpt_reply() local
526 mr = (MPT_FRAME_HDR *)((u8 *)ioc->reply_frames + in mpt_reply()
529 req_idx = le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_reply()
530 cb_idx = mr->u.frame.hwhdr.msgctxu.fld.cb_idx; in mpt_reply()
534 ioc->name, mr, req_idx, cb_idx, mr->u.hdr.Function)); in mpt_reply()
535 DBG_DUMP_REPLY_FRAME(ioc, (u32 *)mr); in mpt_reply()
[all …]
Dmptctl.c286 mptctl_taskmgmt_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) in mptctl_taskmgmt_reply() argument
293 ioc->name, mf, mr)); in mptctl_taskmgmt_reply()
297 if (!mr) in mptctl_taskmgmt_reply()
301 memcpy(ioc->taskmgmt_cmds.reply, mr, in mptctl_taskmgmt_reply()
302 min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); in mptctl_taskmgmt_reply()
Dmptsas.c1193 mptsas_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) in mptsas_taskmgmt_complete() argument
1202 "(mf = %p, mr = %p)\n", ioc->name, mf, mr)); in mptsas_taskmgmt_complete()
1204 pScsiTmReply = (SCSITaskMgmtReply_t *)mr; in mptsas_taskmgmt_complete()
1229 memcpy(ioc->taskmgmt_cmds.reply, mr, in mptsas_taskmgmt_complete()
1230 min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); in mptsas_taskmgmt_complete()
/linux-4.19.296/drivers/iio/adc/
Dat91-sama5d2_adc.c1168 unsigned f_per, prescal, startup, mr; in at91_adc_setup_samp_freq() local
1176 mr = at91_adc_readl(st, AT91_SAMA5D2_MR); in at91_adc_setup_samp_freq()
1177 mr &= ~(AT91_SAMA5D2_MR_STARTUP_MASK | AT91_SAMA5D2_MR_PRESCAL_MASK); in at91_adc_setup_samp_freq()
1178 mr |= AT91_SAMA5D2_MR_STARTUP(startup); in at91_adc_setup_samp_freq()
1179 mr |= AT91_SAMA5D2_MR_PRESCAL(prescal); in at91_adc_setup_samp_freq()
1180 at91_adc_writel(st, AT91_SAMA5D2_MR, mr); in at91_adc_setup_samp_freq()

12