Searched refs:mport (Results 1 - 25 of 30) sorted by path

12

/linux-master/arch/powerpc/sysdev/
H A Dfsl_rio.h30 #define RIO_REGS_WIN(mport) (((struct rio_priv *)(mport->priv))->regs_win)
88 struct rio_mport *mport[MAX_PORT_NUM]; member in struct:fsl_rio_dbell
96 struct rio_mport *mport[MAX_PORT_NUM]; member in struct:fsl_rio_pw
124 extern int fsl_rio_setup_rmu(struct rio_mport *mport,
127 extern int fsl_rio_pw_enable(struct rio_mport *mport, int enable);
131 extern int fsl_rio_doorbell_send(struct rio_mport *mport,
133 extern int fsl_add_outb_message(struct rio_mport *mport,
136 extern int fsl_open_outb_mbox(struct rio_mport *mport,
138 extern void fsl_close_outb_mbox(struct rio_mport *mport, in
[all...]
H A Dfsl_rio.c133 * @mport: RapidIO master port info
142 static int fsl_local_config_read(struct rio_mport *mport, argument
145 struct rio_priv *priv = mport->priv;
155 * @mport: RapidIO master port info
164 static int fsl_local_config_write(struct rio_mport *mport, argument
167 struct rio_priv *priv = mport->priv;
178 * @mport: RapidIO master port info
190 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, argument
193 struct rio_priv *priv = mport->priv;
243 * @mport
255 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, u8 hopcount, u32 offset, int len, u32 val) argument
307 fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, u64 rstart, u64 size, u32 flags) argument
358 fsl_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) argument
[all...]
H A Dfsl_rmu.c32 #define GET_RMM_HANDLE(mport) \
33 (((struct rio_priv *)(mport->priv))->rmm_handle)
326 if (fsl_dbell->mport[i]) {
328 &fsl_dbell->mport[i]->dbells, node) {
338 dbell->dinb(fsl_dbell->mport[i],
506 if (pw->mport[i])
507 rio_inb_pwrite_handler(pw->mport[i],
515 * @mport: Master port implementing the port write unit
518 int fsl_rio_pw_enable(struct rio_mport *mport, int enable) argument
536 * @mport
624 fsl_rio_doorbell_send(struct rio_mport *mport, int index, u16 destid, u16 data) argument
660 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, void *buffer, size_t len) argument
720 fsl_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) argument
823 fsl_close_outb_mbox(struct rio_mport *mport, int mbox) argument
852 fsl_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) argument
924 fsl_close_inb_mbox(struct rio_mport *mport, int mbox) argument
949 fsl_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) argument
981 fsl_get_inb_message(struct rio_mport *mport, int mbox) argument
1065 fsl_rio_setup_rmu(struct rio_mport *mport, struct device_node *node) argument
[all...]
/linux-master/drivers/rapidio/devices/
H A Dtsi721.h16 DBG_MPORT = BIT(2), /* mport add/remove */
647 * mport Driver Definitions
869 struct rio_mport mport; member in struct:tsi721_device
H A Drio_mport_cdev.c3 * RapidIO mport character device
54 DBG_MPORT = BIT(2), /* mport add/remove */
86 MODULE_DESCRIPTION("RapidIO mport character device driver");
145 * mport_dev driver-specific structure that represents mport device
146 * @active mport device status flag
150 * @mport associated subsystem's master port device object
153 * @file_list - list of open files on given mport
154 * @properties properties of this mport
167 struct rio_mport *mport; member in struct:mport_dev
220 * md_node node in mport devic
263 struct rio_mport *mport = priv->md->mport; local
308 struct rio_mport *mport = priv->md->mport; local
365 struct rio_mport *mport = md->mport; local
1205 struct rio_mport *mport = md->mport; local
1399 rio_mport_doorbell_handler(struct rio_mport *mport, void *dev_id, u16 src, u16 dst, u16 info) argument
1519 rio_mport_pw_handler(struct rio_mport *mport, void *context, union rio_pw_msg *msg, int step) argument
1685 struct rio_mport *mport; local
1827 struct rio_mport *mport; local
2152 struct rio_mport *mport = map->md->mport; local
2305 struct rio_mport *mport = priv->md->mport; local
2365 mport_cdev_add(struct rio_mport *mport) argument
2544 struct rio_mport *mport = NULL; local
2564 struct rio_mport *mport = NULL; local
[all...]
H A Dtsi721.c3 * RapidIO mport driver for Tsi721 PCIExpress-to-SRIO bridge
48 * @mport: RapidIO master port info
58 static int tsi721_lcread(struct rio_mport *mport, int index, u32 offset, argument
61 struct tsi721_device *priv = mport->priv;
73 * @mport: RapidIO master port info
83 static int tsi721_lcwrite(struct rio_mport *mport, int index, u32 offset, argument
86 struct tsi721_device *priv = mport->priv;
204 * @mport: RapidIO master port control structure
215 static int tsi721_cread_dma(struct rio_mport *mport, int index, u16 destid, argument
218 struct tsi721_device *priv = mport
238 tsi721_cwrite_dma(struct rio_mport *mport, int index, u16 destid, u8 hopcount, u32 offset, int len, u32 data) argument
317 tsi721_pw_enable(struct rio_mport *mport, int enable) argument
349 tsi721_dsend(struct rio_mport *mport, int index, u16 destid, u16 data) argument
395 struct rio_mport *mport; local
943 tsi721_map_outb_win(struct rio_mport *mport, u16 destid, u64 rstart, u32 size, u32 flags, dma_addr_t *laddr) argument
1026 tsi721_unmap_outb_win(struct rio_mport *mport, u16 destid, u64 rstart) argument
1110 tsi721_rio_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, u64 rstart, u64 size, u32 flags) argument
1263 tsi721_rio_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) argument
1694 tsi721_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, void *buffer, size_t len) argument
1764 struct rio_mport *mport = &priv->mport; local
1902 tsi721_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) argument
2083 tsi721_close_outb_mbox(struct rio_mport *mport, int mbox) argument
2146 struct rio_mport *mport = &priv->mport; local
2191 tsi721_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) argument
2385 tsi721_close_inb_mbox(struct rio_mport *mport, int mbox) argument
2446 tsi721_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) argument
2477 tsi721_get_inb_message(struct rio_mport *mport, int mbox) argument
2581 tsi721_query_mport(struct rio_mport *mport, struct rio_mport_attr *attr) argument
2681 struct rio_mport *mport = to_rio_mport(dev); local
2698 struct rio_mport *mport = &priv->mport; local
[all...]
H A Dtsi721_dma.c969 struct rio_mport *mport = &priv->mport; local
971 INIT_LIST_HEAD(&mport->dma.channels);
981 bdma_chan->dchan.device = &mport->dma;
996 &mport->dma.channels);
1000 mport->dma.chancnt = nr_channels;
1001 dma_cap_zero(mport->dma.cap_mask);
1002 dma_cap_set(DMA_PRIVATE, mport->dma.cap_mask);
1003 dma_cap_set(DMA_SLAVE, mport->dma.cap_mask);
1005 mport
1022 struct rio_mport *mport = &priv->mport; local
[all...]
/linux-master/drivers/rapidio/
H A Drio.h18 extern u32 rio_mport_get_feature(struct rio_mport *mport, int local, u16 destid,
24 extern int rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid,
36 extern struct rio_net *rio_alloc_net(struct rio_mport *mport);
H A Drio-access.c34 (struct rio_mport *mport, u32 offset, type *value) \
39 res = mport->ops->lcread(mport, mport->id, offset, len, &data); \
55 (struct rio_mport *mport, u32 offset, type value) \
58 return mport->ops->lcwrite(mport, mport->id, offset, len, value);\
86 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
91 res = mport
138 rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, u16 data) argument
[all...]
H A Drio-scan.c829 * @mport: Master port associated with the RIO network
837 static struct rio_net *rio_scan_alloc_net(struct rio_mport *mport, argument
842 net = rio_alloc_net(mport);
850 RIO_MAX_ROUTE_ENTRIES(mport->sys_size)
863 idtab->max = RIO_MAX_ROUTE_ENTRIES(mport->sys_size);
869 net->id = mport->id;
870 net->hport = mport;
872 net->dev.parent = &mport->dev;
938 * @mport: Master port to send transactions
946 static int rio_enum_mport(struct rio_mport *mport, u3 argument
1061 rio_disc_mport(struct rio_mport *mport, u32 flags) argument
[all...]
H A Drio-sysfs.c332 struct rio_mport *mport = to_rio_mport(dev); local
334 if (mport)
335 return sprintf(buf, "0x%04x\n", mport->host_deviceid);
344 struct rio_mport *mport = to_rio_mport(dev); local
346 if (mport)
347 return sprintf(buf, "%u\n", mport->sys_size);
/linux-master/drivers/rapidio/switches/
H A Didt_gen2.c87 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
101 rio_mport_write_config_32(mport, destid, hopcount,
107 rio_mport_write_config_32(mport, destid, hopcount,
111 rio_mport_write_config_32(mport, destid, hopcount,
120 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
133 rio_mport_write_config_32(mport, destid, hopcount,
136 rio_mport_write_config_32(mport, destid, hopcount,
140 rio_mport_read_config_32(mport, destid, hopcount,
152 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, argument
165 rio_mport_write_config_32(mport, desti
184 idtg2_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 sw_domain) argument
196 idtg2_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 *sw_domain) argument
[all...]
H A Didt_gen3.c37 idtg3_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
55 err = rio_mport_write_config_32(mport, destid, hopcount,
64 err = rio_mport_read_config_32(mport, destid, hopcount,
72 err = rio_mport_write_config_32(mport, destid, hopcount,
79 idtg3_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
88 err = rio_mport_read_config_32(mport, destid, hopcount,
103 err = rio_mport_read_config_32(mport, destid, hopcount,
118 idtg3_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, argument
127 err = rio_mport_write_config_32(mport, destid, hopcount,
137 err = rio_mport_read_config_32(mport, desti
[all...]
H A Didtcps.c21 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
30 rio_mport_write_config_32(mport, destid, hopcount,
33 rio_mport_read_config_32(mport, destid, hopcount,
37 rio_mport_write_config_32(mport, destid, hopcount,
45 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, argument
51 rio_mport_write_config_32(mport, destid, hopcount,
54 rio_mport_read_config_32(mport, destid, hopcount,
68 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, argument
75 rio_mport_write_config_32(mport, destid, hopcount,
77 rio_mport_write_config_32(mport, desti
90 idtcps_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 sw_domain) argument
102 idtcps_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, u8 *sw_domain) argument
[all...]
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c1969 struct drm_dp_mst_port *port, *mport; local
1976 mport = drm_dp_mst_topology_get_port_validated_locked(
1978 if (mport)
1979 return mport;
/linux-master/drivers/infiniband/hw/mlx4/
H A Dsysfs.c700 struct mlx4_port *mport; local
740 mport = container_of(p, struct mlx4_port, kobj);
741 sysfs_remove_group(p, &mport->pkey_group);
742 sysfs_remove_group(p, &mport->gid_group);
743 remove_vf_smi_entries(mport);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_mirror.c114 struct sparx5_port *mport, u32 dir, u32 *idx)
129 sparx5_mirror_has_monitor(sparx5, i, mport->portno)) {
149 struct sparx5_port *sport, *mport; local
156 mport = entry->mirror.port;
159 if (sport->portno == mport->portno)
162 err = sparx5_mirror_get(sport, mport, dir, &mirror_idx);
176 sparx5_mirror_monitor_set(sparx5, mirror_idx, mport->portno);
113 sparx5_mirror_get(struct sparx5_port *sport, struct sparx5_port *mport, u32 dir, u32 *idx) argument
/linux-master/drivers/net/ethernet/sfc/
H A Def100_rep.c250 /* Look up actual mport ID */
251 rc = efx_mae_lookup_mport(efx, efv->idx, &efv->mport);
254 pci_dbg(efx->pci_dev, "VF %u has mport ID %#x\n", efv->idx, efv->mport);
255 /* mport label should fit in 16 bits */
256 WARN_ON(efv->mport >> 16);
483 struct efx_rep *efx_ef100_find_rep_by_mport(struct efx_nic *efx, u16 mport) argument
493 if (efv->mport == mport) {
H A Def100_rep.h33 * @mport: m-port ID of corresponding VF
50 u32 mport; member in struct:efx_rep
69 * @mport is an m-port label, *not* an m-port ID!
72 struct efx_rep *efx_ef100_find_rep_by_mport(struct efx_nic *efx, u16 mport);
H A Def100_tx.c285 ESF_GZ_TX_PREFIX_EGRESS_MPORT, efv->mport,
H A Defx_devlink.c44 "Port not on local interface (mport: %u)",
63 "No internal client_ID for port (mport: %u)",
71 "No available MAC for port (mport: %u)",
93 "port mac change not allowed (mport: %u)",
106 "No internal client_ID for port (mport: %u)",
121 "sfc MC_CMD_SET_CLIENT_MAC_ADDRESSES mcdi error (mport: %u)",
140 struct mae_mport_desc *mport)
144 if (!ef100_mport_on_local_intf(efx, mport))
147 switch (mport->mport_type) {
149 if (mport
139 efx_devlink_add_port(struct efx_nic *efx, struct mae_mport_desc *mport) argument
625 struct mae_mport_desc *mport; local
[all...]
H A Dmae.c60 efx_dword_t mport; local
62 EFX_POPULATE_DWORD_2(mport,
65 *out = EFX_DWORD_VAL(mport);
70 efx_dword_t mport; local
72 EFX_POPULATE_DWORD_3(mport,
76 *out = EFX_DWORD_VAL(mport);
81 efx_dword_t mport; local
83 EFX_POPULATE_DWORD_3(mport,
87 *out = EFX_DWORD_VAL(mport);
90 /* Constructs an mport selecto
93 efx_dword_t mport; local
1098 struct mae_mport_desc *mport = desc; local
1108 struct mae_mport_desc *mport; local
[all...]
H A Dtc.c67 u32 mport; local
72 efx_mae_mport_uplink(efx, &mport);
74 efx_mae_mport_mport(efx, efv->mport, &mport);
75 return mport;
81 u32 mport; local
86 efx_mae_mport_wire(efx, &mport);
88 efx_mae_mport_mport(efx, efv->mport, &mport);
89 return mport;
[all...]
/linux-master/drivers/net/
H A Drionet.c52 struct rio_mport *mport; member in struct:rionet_private
105 if (!(data = rio_get_inb_message(rnet->mport, RIONET_MAILBOX)))
138 rio_add_inb_buffer(rnet->mport, RIONET_MAILBOX,
150 rio_add_outb_message(rnet->mport, rdev, 0, skb->data, skb->len);
182 add_num = nets[rnet->mport->id].nact;
195 for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rnet->mport->sys_size);
197 if (nets[rnet->mport->id].active[i]) {
199 nets[rnet->mport->id].active[i]);
206 if (nets[rnet->mport->id].active[destid])
208 nets[rnet->mport
227 rionet_dbell_event(struct rio_mport *mport, void *dev_id, u16 sid, u16 tid, u16 info) argument
266 rionet_inb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) argument
282 rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) argument
481 rionet_setup_netdev(struct rio_mport *mport, struct net_device *ndev) argument
667 struct rio_mport *mport = to_rio_mport(dev); local
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c1746 u32 pkt_len, pkt_type, mport, pind; local
1840 mport = (adapter->ioport | SDIO_MPA_ADDR_BASE |
1843 mport = (adapter->ioport | SDIO_MPA_ADDR_BASE |
1849 mport = adapter->ioport + card->mpa_rx.start_port;
1852 card->mpa_rx.buf_len, mport, 1))
2178 u32 mport; local
2273 mport = (adapter->ioport | SDIO_MPA_ADDR_BASE |
2276 mport = (adapter->ioport | SDIO_MPA_ADDR_BASE |
2282 mport = adapter->ioport + card->mpa_tx.start_port;
2285 card->mpa_tx.buf_len, mport);
[all...]

Completed in 460 milliseconds

12