| /linux/drivers/usb/mtu3/ |
| H A D | mtu3_gadget.c | 14 void mtu3_req_complete(struct mtu3_ep *mep, in mtu3_req_complete() argument 16 __releases(mep->mtu->lock) in mtu3_req_complete() 17 __acquires(mep->mtu->lock) in mtu3_req_complete() 29 if (mep->epnum) in mtu3_req_complete() 30 usb_gadget_unmap_request(&mtu->g, req, mep->is_in); in mtu3_req_complete() 33 mep->name, req, req->status, req->actual, req->length); in mtu3_req_complete() 36 usb_gadget_giveback_request(&mep->ep, req); in mtu3_req_complete() 40 static void nuke(struct mtu3_ep *mep, const int status) in nuke() argument 44 if (list_empty(&mep->req_list)) in nuke() 47 dev_dbg(mep->mtu->dev, "abort %s's req: sts %d\n", mep->name, status); in nuke() [all …]
|
| H A D | mtu3_qmu.c | 154 static void reset_gpd_list(struct mtu3_ep *mep) in reset_gpd_list() argument 156 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in reset_gpd_list() 165 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep) in mtu3_gpd_ring_alloc() argument 168 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in mtu3_gpd_ring_alloc() 171 gpd = dma_pool_zalloc(mep->mtu->qmu_gpd_pool, GFP_ATOMIC, &ring->dma); in mtu3_gpd_ring_alloc() 180 void mtu3_gpd_ring_free(struct mtu3_ep *mep) in mtu3_gpd_ring_free() argument 182 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in mtu3_gpd_ring_free() 184 dma_pool_free(mep->mtu->qmu_gpd_pool, in mtu3_gpd_ring_free() 189 void mtu3_qmu_resume(struct mtu3_ep *mep) in mtu3_qmu_resume() argument 191 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_resume() [all …]
|
| H A D | mtu3_qmu.h | 20 void mtu3_qmu_stop(struct mtu3_ep *mep); 21 int mtu3_qmu_start(struct mtu3_ep *mep); 22 void mtu3_qmu_resume(struct mtu3_ep *mep); 23 void mtu3_qmu_flush(struct mtu3_ep *mep); 25 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq); 26 int mtu3_prepare_transfer(struct mtu3_ep *mep); 28 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep); 29 void mtu3_gpd_ring_free(struct mtu3_ep *mep);
|
| H A D | mtu3_gadget_ep0.c | 80 static void ep0_write_fifo(struct mtu3_ep *mep, const u8 *src, u16 len) in ep0_write_fifo() argument 82 void __iomem *fifo = mep->mtu->mac_base + U3D_FIFO0; in ep0_write_fifo() 85 dev_dbg(mep->mtu->dev, "%s: ep%din, len=%d, buf=%p\n", in ep0_write_fifo() 86 __func__, mep->epnum, len, src); in ep0_write_fifo() 100 static void ep0_read_fifo(struct mtu3_ep *mep, u8 *dst, u16 len) in ep0_read_fifo() argument 102 void __iomem *fifo = mep->mtu->mac_base + U3D_FIFO0; in ep0_read_fifo() 106 dev_dbg(mep->mtu->dev, "%s: ep%dout len=%d buf=%p\n", in ep0_read_fifo() 107 __func__, mep->epnum, len, dst); in ep0_read_fifo() 196 mtu->ep0_req.mep = mtu->ep0; in ep0_set_sel() 208 struct mtu3_ep *mep = NULL; in ep0_get_status() local [all …]
|
| H A D | mtu3.h | 307 struct mtu3_ep *mep; member 393 static inline struct mtu3_request *next_request(struct mtu3_ep *mep) in next_request() argument 395 return list_first_entry_or_null(&mep->req_list, struct mtu3_request, in next_request() 428 void mtu3_req_complete(struct mtu3_ep *mep, 431 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep, 433 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep); 434 void mtu3_ep_stall_set(struct mtu3_ep *mep, bool set);
|
| /linux/drivers/scsi/ |
| H A D | mac_esp.c | 115 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); in mac_esp_wait_for_dreq() local 119 if (mep->pdma_regs == NULL) { in mac_esp_wait_for_dreq() 123 if (nubus_readl(mep->pdma_regs) & 0x200) in mac_esp_wait_for_dreq() 195 : "g" (count1), "a" (mep->pdma_io)) 200 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); in mac_esp_send_pdma_cmd() local 296 struct mac_esp_priv *mep; in esp_mac_probe() local 326 mep = kzalloc_obj(struct mac_esp_priv); in esp_mac_probe() 327 if (!mep) in esp_mac_probe() 329 mep->esp = esp; in esp_mac_probe() 330 platform_set_drvdata(dev, mep); in esp_mac_probe() [all …]
|
| /linux/tools/perf/util/ |
| H A D | print-events.c | 184 /** struct mep - RB-tree node for building printing information. */ 185 struct mep { struct 201 struct mep *a = container_of(rb_node, struct mep, nd); in mep_cmp() argument 202 struct mep *b = (struct mep *)entry; in mep_cmp() 214 struct mep *me = malloc(sizeof(struct mep)); in mep_new() 219 memcpy(me, entry, sizeof(struct mep)); in mep_new() 226 struct mep *m in mep_delete() [all...] |
| /linux/net/bridge/ |
| H A D | br_private_cfm.h | 139 struct br_cfm_mep *mep; member
|