/Linux-v4.19/drivers/usb/mtu3/ |
D | mtu3_gadget.c | 12 void mtu3_req_complete(struct mtu3_ep *mep, in mtu3_req_complete() argument 14 __releases(mep->mtu->lock) in mtu3_req_complete() 15 __acquires(mep->mtu->lock) in mtu3_req_complete() 19 int busy = mep->busy; in mtu3_req_complete() 27 mep->busy = 1; in mtu3_req_complete() 31 if (mep->epnum) in mtu3_req_complete() 32 usb_gadget_unmap_request(&mtu->g, req, mep->is_in); in mtu3_req_complete() 34 dev_dbg(mtu->dev, "%s complete req: %p, sts %d, %d/%d\n", mep->name, in mtu3_req_complete() 37 usb_gadget_giveback_request(&mep->ep, &mreq->request); in mtu3_req_complete() 40 mep->busy = busy; in mtu3_req_complete() [all …]
|
D | mtu3_qmu.c | 122 static void reset_gpd_list(struct mtu3_ep *mep) in reset_gpd_list() argument 124 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in reset_gpd_list() 133 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep) in mtu3_gpd_ring_alloc() argument 136 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in mtu3_gpd_ring_alloc() 139 gpd = dma_pool_zalloc(mep->mtu->qmu_gpd_pool, GFP_ATOMIC, &ring->dma); in mtu3_gpd_ring_alloc() 148 void mtu3_gpd_ring_free(struct mtu3_ep *mep) in mtu3_gpd_ring_free() argument 150 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in mtu3_gpd_ring_free() 152 dma_pool_free(mep->mtu->qmu_gpd_pool, in mtu3_gpd_ring_free() 178 void mtu3_qmu_resume(struct mtu3_ep *mep) in mtu3_qmu_resume() argument 180 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_resume() [all …]
|
D | mtu3_core.c | 20 static int ep_fifo_alloc(struct mtu3_ep *mep, u32 seg_size) in ep_fifo_alloc() argument 22 struct mtu3_fifo_info *fifo = mep->fifo; in ep_fifo_alloc() 31 mep->fifo_seg_size = num_bits * MTU3_EP_FIFO_UNIT; in ep_fifo_alloc() 32 num_bits = num_bits * (mep->slot + 1); in ep_fifo_alloc() 39 mep->fifo_size = num_bits * MTU3_EP_FIFO_UNIT; in ep_fifo_alloc() 40 mep->fifo_addr = fifo->base + MTU3_EP_FIFO_UNIT * start_bit; in ep_fifo_alloc() 42 dev_dbg(mep->mtu->dev, "%s fifo:%#x/%#x, start_bit: %d\n", in ep_fifo_alloc() 43 __func__, mep->fifo_seg_size, mep->fifo_size, start_bit); in ep_fifo_alloc() 45 return mep->fifo_addr; in ep_fifo_alloc() 48 static void ep_fifo_free(struct mtu3_ep *mep) in ep_fifo_free() argument [all …]
|
D | mtu3_qmu.h | 19 void mtu3_qmu_stop(struct mtu3_ep *mep); 20 int mtu3_qmu_start(struct mtu3_ep *mep); 21 void mtu3_qmu_resume(struct mtu3_ep *mep); 22 void mtu3_qmu_flush(struct mtu3_ep *mep); 24 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq); 25 int mtu3_prepare_transfer(struct mtu3_ep *mep); 27 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep); 28 void mtu3_gpd_ring_free(struct mtu3_ep *mep);
|
D | mtu3_gadget_ep0.c | 78 static void ep0_write_fifo(struct mtu3_ep *mep, const u8 *src, u16 len) in ep0_write_fifo() argument 80 void __iomem *fifo = mep->mtu->mac_base + U3D_FIFO0; in ep0_write_fifo() 83 dev_dbg(mep->mtu->dev, "%s: ep%din, len=%d, buf=%p\n", in ep0_write_fifo() 84 __func__, mep->epnum, len, src); in ep0_write_fifo() 98 static void ep0_read_fifo(struct mtu3_ep *mep, u8 *dst, u16 len) in ep0_read_fifo() argument 100 void __iomem *fifo = mep->mtu->mac_base + U3D_FIFO0; in ep0_read_fifo() 104 dev_dbg(mep->mtu->dev, "%s: ep%dout len=%d buf=%p\n", in ep0_read_fifo() 105 __func__, mep->epnum, len, dst); in ep0_read_fifo() 185 mtu->ep0_req.mep = mtu->ep0; in ep0_set_sel() 197 struct mtu3_ep *mep = NULL; in ep0_get_status() local [all …]
|
D | mtu3.h | 301 struct mtu3_ep *mep; member 386 static inline struct mtu3_request *next_request(struct mtu3_ep *mep) in next_request() argument 388 return list_first_entry_or_null(&mep->req_list, struct mtu3_request, in next_request() 421 void mtu3_req_complete(struct mtu3_ep *mep, 424 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep, 426 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep); 427 void mtu3_ep_stall_set(struct mtu3_ep *mep, bool set);
|
/Linux-v4.19/drivers/scsi/ |
D | mac_esp.c | 128 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); in mac_esp_wait_for_empty_fifo() local 143 mep->error = 1; in mac_esp_wait_for_empty_fifo() 149 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); in mac_esp_wait_for_dreq() local 153 if (mep->pdma_regs == NULL) { in mac_esp_wait_for_dreq() 157 if (nubus_readl(mep->pdma_regs) & 0x200) in mac_esp_wait_for_dreq() 169 mep->error = 1; in mac_esp_wait_for_dreq() 229 : "g" (count1), "a" (mep->pdma_io)) 234 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); in mac_esp_send_pdma_cmd() local 236 mep->error = 0; in mac_esp_send_pdma_cmd() 298 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); in mac_esp_wait_for_intr() local [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | metricgroup.c | 194 struct mep { struct 202 struct mep *a = container_of(rb_node, struct mep, nd); in mep_cmp() argument 203 struct mep *b = (struct mep *)entry; in mep_cmp() 211 struct mep *me = malloc(sizeof(struct mep)); in mep_new() 215 memcpy(me, entry, sizeof(struct mep)); in mep_new() 230 static struct mep *mep_lookup(struct rblist *groups, const char *name) in mep_lookup() 233 struct mep me = { in mep_lookup() 238 return container_of(nd, struct mep, nd); in mep_lookup() 242 return container_of(nd, struct mep, nd); in mep_lookup() 249 struct mep *me = container_of(nd, struct mep, nd); in mep_delete() [all …]
|
/Linux-v4.19/arch/arc/plat-eznps/ |
D | smp.c | 80 lpc.mep = 1; in eznps_init_core()
|
/Linux-v4.19/arch/arc/plat-eznps/include/plat/ |
D | ctop.h | 189 u32 mep:1, __reserved:31; member
|