Home
last modified time | relevance | path

Searched refs:mw (Results 1 – 14 of 14) sorted by relevance

/linux-4.19.296/drivers/misc/mic/host/
Dmic_x100.c81 struct mic_mw *mw = &mdev->mmio; in mic_x100_enable_interrupts() local
85 reg = mic_mmio_read(mw, sice0); in mic_x100_enable_interrupts()
87 mic_mmio_write(mw, reg, sice0); in mic_x100_enable_interrupts()
94 reg = mic_mmio_read(mw, siac0); in mic_x100_enable_interrupts()
97 mic_mmio_write(mw, reg, siac0); in mic_x100_enable_interrupts()
108 struct mic_mw *mw = &mdev->mmio; in mic_x100_disable_interrupts() local
113 reg = mic_mmio_read(mw, sice0); in mic_x100_disable_interrupts()
114 mic_mmio_write(mw, reg, sicc0); in mic_x100_disable_interrupts()
117 reg = mic_mmio_read(mw, siac0); in mic_x100_disable_interrupts()
120 mic_mmio_write(mw, reg, siac0); in mic_x100_disable_interrupts()
[all …]
Dmic_device.h145 static inline u32 mic_mmio_read(struct mic_mw *mw, u32 offset) in mic_mmio_read() argument
147 return ioread32(mw->va + offset); in mic_mmio_read()
159 mic_mmio_write(struct mic_mw *mw, u32 val, u32 offset) in mic_mmio_write() argument
161 iowrite32(val, mw->va + offset); in mic_mmio_write()
/linux-4.19.296/drivers/misc/mic/card/
Dmic_x100.c62 struct mic_mw *mw = &mdev->mmio; in mic_send_intr() local
68 mic_mmio_write(mw, MIC_X100_SBOX_SDBIC0_DBREQ_BIT, in mic_send_intr()
76 static void mic_x100_send_sbox_intr(struct mic_mw *mw, int doorbell) in mic_x100_send_sbox_intr() argument
79 u32 apicicr_low = mic_mmio_read(mw, MIC_X100_SBOX_BASE_ADDRESS + in mic_x100_send_sbox_intr()
91 mic_mmio_write(mw, apicicr_low, in mic_x100_send_sbox_intr()
95 static void mic_x100_send_rdmasr_intr(struct mic_mw *mw, int doorbell) in mic_x100_send_rdmasr_intr() argument
105 mic_mmio_write(mw, 0, MIC_X100_SBOX_BASE_ADDRESS + rdmasr_offset); in mic_x100_send_rdmasr_intr()
129 void mic_send_p2p_intr(int db, struct mic_mw *mw) in mic_send_p2p_intr() argument
134 mic_x100_send_sbox_intr(mw, db); in mic_send_p2p_intr()
137 mic_x100_send_rdmasr_intr(mw, rdmasr_index); in mic_send_p2p_intr()
Dmic_device.h110 static inline u32 mic_mmio_read(struct mic_mw *mw, u32 offset) in mic_mmio_read() argument
112 return ioread32(mw->va + offset); in mic_mmio_read()
124 mic_mmio_write(struct mic_mw *mw, u32 val, u32 offset) in mic_mmio_write() argument
126 iowrite32(val, mw->va + offset); in mic_mmio_write()
138 void mic_send_p2p_intr(int doorbell, struct mic_mw *mw);
Dmic_device.c220 struct mic_mw *mw) in ___mic_send_p2p_intr() argument
222 mic_send_p2p_intr(db, mw); in ___mic_send_p2p_intr()
/linux-4.19.296/fs/ocfs2/
Ddlmglue.c448 struct ocfs2_mask_waiter *mw, int ret) in ocfs2_update_lock_stats() argument
461 kt = ktime_sub(ktime_get(), mw->mw_lock_start); in ocfs2_update_lock_stats()
484 static inline void ocfs2_init_start_time(struct ocfs2_mask_waiter *mw) in ocfs2_init_start_time() argument
486 mw->mw_lock_start = ktime_get(); in ocfs2_init_start_time()
493 int level, struct ocfs2_mask_waiter *mw, int ret) in ocfs2_update_lock_stats() argument
499 static inline void ocfs2_init_start_time(struct ocfs2_mask_waiter *mw) in ocfs2_init_start_time() argument
880 struct ocfs2_mask_waiter *mw, *tmp; in lockres_set_flags() local
886 list_for_each_entry_safe(mw, tmp, &lockres->l_mask_waiters, mw_item) { in lockres_set_flags()
887 if ((lockres->l_flags & mw->mw_mask) != mw->mw_goal) in lockres_set_flags()
890 list_del_init(&mw->mw_item); in lockres_set_flags()
[all …]
/linux-4.19.296/drivers/ntb/
Dntb_transport.c600 struct ntb_transport_mw *mw; in ntb_transport_setup_qp_mw() local
612 mw = &nt->mw_vec[mw_num]; in ntb_transport_setup_qp_mw()
614 if (!mw->virt_addr) in ntb_transport_setup_qp_mw()
622 rx_size = (unsigned int)mw->xlat_size / num_qps_mw; in ntb_transport_setup_qp_mw()
623 qp->rx_buff = mw->virt_addr + rx_size * (qp_num / mw_count); in ntb_transport_setup_qp_mw()
668 struct ntb_transport_mw *mw = &nt->mw_vec[num_mw]; in ntb_free_mw() local
671 if (!mw->virt_addr) in ntb_free_mw()
675 dma_free_coherent(&pdev->dev, mw->buff_size, in ntb_free_mw()
676 mw->virt_addr, mw->dma_addr); in ntb_free_mw()
677 mw->xlat_size = 0; in ntb_free_mw()
[all …]
/linux-4.19.296/drivers/clk/rockchip/
Dclk.h420 #define COMPOSITE(_id, cname, pnames, f, mo, ms, mw, mf, ds, dw,\ argument
431 .mux_width = mw, \
478 #define COMPOSITE_NODIV(_id, cname, pnames, f, mo, ms, mw, mf, \ argument
489 .mux_width = mw, \
496 #define COMPOSITE_NOGATE(_id, cname, pnames, f, mo, ms, mw, mf, \ argument
507 .mux_width = mw, \
516 mw, mf, ds, dw, df, dt) \ argument
526 .mux_width = mw, \
586 #define COMPOSITE_DDRCLK(_id, cname, pnames, f, mo, ms, mw, \ argument
597 .mux_width = mw, \
[all …]
/linux-4.19.296/include/linux/usb/
Dpd.h254 #define PDO_BATT_MAX_POWER(mw) ((((mw) / 250) & PDO_PWR_MASK) << PDO_BATT_MAX_PWR_SHIFT) argument
379 #define RDO_BATT_OP_PWR(mw) ((((mw) / 250) & RDO_PWR_MASK) << RDO_BATT_OP_PWR_SHIFT) argument
380 #define RDO_BATT_MAX_PWR(mw) ((((mw) / 250) & RDO_PWR_MASK) << RDO_BATT_MAX_PWR_SHIFT) argument
/linux-4.19.296/include/dt-bindings/usb/
Dpd.h44 #define PDO_BATT_MAX_POWER(mw) ((((mw) / 250) & PDO_PWR_MASK) << PDO_BATT_MAX_PWR_SHIFT) argument
/linux-4.19.296/drivers/misc/mic/bus/
Dscif_bus.h106 struct mic_mw *mw);
/linux-4.19.296/drivers/ntb/test/
Dntb_tool.c227 struct tool_mw *mw; member
876 struct tool_mw *outmw = outmw_wrap->mw; in tool_peer_mw_trans_read()
934 struct tool_mw *outmw = outmw_wrap->mw; in tool_peer_mw_trans_write()
1006 tc->peers[pidx].outmws[widx].mw = &tc->outmws[widx]; in tool_init_mws()
/linux-4.19.296/include/linux/mlx4/
Ddevice.h1122 struct mlx4_mw *mw);
1123 void mlx4_mw_free(struct mlx4_dev *dev, struct mlx4_mw *mw);
1124 int mlx4_mw_enable(struct mlx4_dev *dev, struct mlx4_mw *mw);
/linux-4.19.296/include/rdma/
Dib_verbs.h2450 int (*dealloc_mw)(struct ib_mw *mw);