/linux-master/drivers/usb/mtu3/ |
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.c | 13 void mtu3_req_complete(struct mtu3_ep *mep, 15 __releases(mep->mtu->lock) 16 __acquires(mep->mtu->lock) 28 if (mep->epnum) 29 usb_gadget_unmap_request(&mtu->g, req, mep->is_in); 32 mep->name, req, req->status, req->actual, req->length); 35 usb_gadget_giveback_request(&mep->ep, req); 39 static void nuke(struct mtu3_ep *mep, const int status) argument 43 if (list_empty(&mep->req_list)) 46 dev_dbg(mep 59 mtu3_ep_enable(struct mtu3_ep *mep) argument 132 mtu3_ep_disable(struct mtu3_ep *mep) argument 154 struct mtu3_ep *mep; local 208 struct mtu3_ep *mep = to_mtu3_ep(ep); local 234 struct mtu3_ep *mep = to_mtu3_ep(ep); local 261 struct mtu3_ep *mep = to_mtu3_ep(ep); local 323 struct mtu3_ep *mep = to_mtu3_ep(ep); local 364 struct mtu3_ep *mep = to_mtu3_ep(ep); local 410 struct mtu3_ep *mep = to_mtu3_ep(ep); local 646 init_hw_ep(struct mtu3 *mtu, struct mtu3_ep *mep, u32 epnum, u32 is_in) argument [all...] |
H A D | mtu3_trace.h | 120 __string(name, mreq->mep->name) 174 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd), 175 TP_ARGS(mep, gpd), 177 __string(name, mep->name) 200 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd), 201 TP_ARGS(mep, gpd) 205 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd), 206 TP_ARGS(mep, gpd) 210 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd), 211 TP_ARGS(mep, gp [all...] |
H A D | mtu3_qmu.c | 154 static void reset_gpd_list(struct mtu3_ep *mep) argument 156 struct mtu3_gpd_ring *ring = &mep->gpd_ring; 165 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep) argument 168 struct mtu3_gpd_ring *ring = &mep->gpd_ring; 171 gpd = dma_pool_zalloc(mep->mtu->qmu_gpd_pool, GFP_ATOMIC, &ring->dma); 180 void mtu3_gpd_ring_free(struct mtu3_ep *mep) argument 182 struct mtu3_gpd_ring *ring = &mep->gpd_ring; 184 dma_pool_free(mep->mtu->qmu_gpd_pool, 189 void mtu3_qmu_resume(struct mtu3_ep *mep) argument 191 struct mtu3 *mtu = mep 239 mtu3_prepare_transfer(struct mtu3_ep *mep) argument 244 mtu3_prepare_tx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) argument 287 mtu3_prepare_rx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) argument 322 mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) argument 331 mtu3_qmu_start(struct mtu3_ep *mep) argument 375 mtu3_qmu_stop(struct mtu3_ep *mep) argument 409 mtu3_qmu_flush(struct mtu3_ep *mep) argument 427 struct mtu3_ep *mep = mtu->in_eps + epnum; local 476 struct mtu3_ep *mep = mtu->out_eps + epnum; local 510 struct mtu3_ep *mep = mtu->in_eps + epnum; local 550 struct mtu3_ep *mep = mtu->out_eps + epnum; local [all...] |
H A D | mtu3_core.c | 23 static int ep_fifo_alloc(struct mtu3_ep *mep, u32 seg_size) argument 25 struct mtu3_fifo_info *fifo = mep->fifo; 29 /* ensure that @mep->fifo_seg_size is power of two */ 34 mep->fifo_seg_size = num_bits * MTU3_EP_FIFO_UNIT; 35 num_bits = num_bits * (mep->slot + 1); 42 mep->fifo_size = num_bits * MTU3_EP_FIFO_UNIT; 43 mep->fifo_addr = fifo->base + MTU3_EP_FIFO_UNIT * start_bit; 45 dev_dbg(mep->mtu->dev, "%s fifo:%#x/%#x, start_bit: %d\n", 46 __func__, mep->fifo_seg_size, mep 51 ep_fifo_free(struct mtu3_ep *mep) argument 298 mtu3_ep_reset(struct mtu3_ep *mep) argument 308 mtu3_ep_stall_set(struct mtu3_ep *mep, bool set) argument 404 mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep, int interval, int burst, int mult) argument 506 mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep) argument 629 struct mtu3_ep *mep = mtu->in_eps + i; local [all...] |
H A D | mtu3_debugfs.c | 94 struct mtu3_ep *mep; local 102 mep = mtu->in_eps + i; 103 if (mep->flags & MTU3_EP_ENABLED) { 104 seq_printf(sf, "%s - type: %s\n", mep->name, usb_ep_type_string(mep->type)); 108 mep = mtu->out_eps + i; 109 if (mep->flags & MTU3_EP_ENABLED) { 110 seq_printf(sf, "%s - type: %s\n", mep->name, usb_ep_type_string(mep->type)); 144 static void mtu3_debugfs_ep_regset(struct mtu3 *mtu, struct mtu3_ep *mep, argument 175 struct mtu3_ep *mep = sf->private; local 189 struct mtu3_ep *mep = sf->private; local 203 struct mtu3_ep *mep = sf->private; local 221 struct mtu3_ep *mep = sf->private; local 369 mtu3_debugfs_create_ep_dir(struct mtu3_ep *mep, struct dentry *parent) argument [all...] |
H A D | mtu3_gadget_ep0.c | 80 static void ep0_write_fifo(struct mtu3_ep *mep, const u8 *src, u16 len) argument 82 void __iomem *fifo = mep->mtu->mac_base + U3D_FIFO0; 85 dev_dbg(mep->mtu->dev, "%s: ep%din, len=%d, buf=%p\n", 86 __func__, mep->epnum, len, src); 100 static void ep0_read_fifo(struct mtu3_ep *mep, u8 *dst, u16 len) argument 102 void __iomem *fifo = mep->mtu->mac_base + U3D_FIFO0; 106 dev_dbg(mep->mtu->dev, "%s: ep%dout len=%d buf=%p\n", 107 __func__, mep->epnum, len, dst); 196 mtu->ep0_req.mep = mtu->ep0; 208 struct mtu3_ep *mep local 384 struct mtu3_ep *mep; local 794 ep0_queue(struct mtu3_ep *mep, struct mtu3_request *mreq) argument 839 struct mtu3_ep *mep; local 866 struct mtu3_ep *mep; local [all...] |
H A D | mtu3.h | 299 struct mtu3_ep *mep; member in struct:mtu3_request 385 static inline struct mtu3_request *next_request(struct mtu3_ep *mep) argument 387 return list_first_entry_or_null(&mep->req_list, struct mtu3_request, 420 void mtu3_req_complete(struct mtu3_ep *mep, 423 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep, 425 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep); 426 void mtu3_ep_stall_set(struct mtu3_ep *mep, bool set);
|
/linux-master/net/bridge/ |
H A D | br_cfm.c | 9 struct br_cfm_mep *mep; local 11 hlist_for_each_entry(mep, &br->mep_list, head) 12 if (mep->instance == instance) 13 return mep; 21 struct br_cfm_mep *mep; local 23 hlist_for_each_entry_rcu(mep, &br->mep_list, head, 25 if (mep->create.ifindex == ifindex) 26 return mep; 31 static struct br_cfm_peer_mep *br_peer_mep_find(struct br_cfm_mep *mep, argument 36 hlist_for_each_entry_rcu(peer_mep, &mep 161 ccm_frame_build(struct br_cfm_mep *mep, const struct br_cfm_cc_ccm_tx_info *const tx_info) argument 270 struct br_cfm_mep *mep; local 378 struct br_cfm_mep *mep; local 503 struct br_cfm_mep *mep; local 569 mep_delete_implementation(struct net_bridge *br, struct br_cfm_mep *mep) argument 598 struct br_cfm_mep *mep; local 619 struct br_cfm_mep *mep; local 641 struct br_cfm_mep *mep; local 678 struct br_cfm_mep *mep; local 717 struct br_cfm_mep *mep; local 746 struct br_cfm_mep *mep; local 766 struct br_cfm_mep *mep; local 822 struct br_cfm_mep *mep; local 837 struct br_cfm_mep *mep; local 860 struct br_cfm_mep *mep; local [all...] |
H A D | br_cfm_netlink.c | 458 struct br_cfm_mep *mep; local 461 hlist_for_each_entry_rcu(mep, &br->mep_list, head) { 467 mep->instance)) 471 mep->create.domain)) 475 mep->create.direction)) 479 mep->create.ifindex)) 490 mep->instance)) 494 sizeof(mep->config.unicast_mac.addr), 495 mep->config.unicast_mac.addr)) 499 mep 621 struct br_cfm_mep *mep; local [all...] |
H A D | br_private_cfm.h | 139 struct br_cfm_mep *mep; member in struct:br_cfm_peer_mep
|
/linux-master/drivers/scsi/ |
H A D | mac_esp.c | 115 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); local 119 if (mep->pdma_regs == NULL) { 123 if (nubus_readl(mep->pdma_regs) & 0x200) 195 : "g" (count1), "a" (mep->pdma_io)) 200 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); local 296 struct mac_esp_priv *mep; local 326 mep = kzalloc(sizeof(struct mac_esp_priv), GFP_KERNEL); 327 if (!mep) 329 mep->esp = esp; 330 platform_set_drvdata(dev, mep); 412 struct mac_esp_priv *mep = platform_get_drvdata(dev); local [all...] |
/linux-master/tools/perf/util/ |
H A D | metricgroup.c | 385 /** struct mep - RB-tree node for building printing information. */ 386 struct mep { struct 401 struct mep *a = container_of(rb_node, struct mep, nd); 402 struct mep *b = (struct mep *)entry; 414 struct mep *me = malloc(sizeof(struct mep)); 419 memcpy(me, entry, sizeof(struct mep)); 426 struct mep *m [all...] |