Home
last modified time | relevance | path

Searched refs:destid (Results 1 – 21 of 21) sorted by relevance

/linux-3.4.99/drivers/rapidio/
Drio-scan.c72 static u16 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) in rio_get_device_id() argument
76 rio_mport_read_config_32(port, destid, hopcount, RIO_DID_CSR, &result); in rio_get_device_id()
90 static void rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) in rio_set_device_id() argument
92 rio_mport_write_config_32(port, destid, hopcount, RIO_DID_CSR, in rio_set_device_id()
310 int local, u16 destid, in rio_enable_rx_tx_port() argument
320 "%d, port_num = %d)\n", local, destid, hopcount, port_num); in rio_enable_rx_tx_port()
322 ext_ftr_ptr = rio_mport_get_physefb(port, local, destid, hopcount); in rio_enable_rx_tx_port()
329 if (rio_mport_read_config_32(port, destid, hopcount, in rio_enable_rx_tx_port()
348 if (rio_mport_write_config_32(port, destid, hopcount, in rio_enable_rx_tx_port()
373 struct rio_mport *port, u16 destid, in rio_setup_device() argument
[all …]
Drio.h21 extern u32 rio_mport_get_feature(struct rio_mport *mport, int local, u16 destid,
24 u16 destid, u8 hopcount);
25 extern u32 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid,
27 extern int rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid,
32 extern int rio_std_route_add_entry(struct rio_mport *mport, u16 destid,
35 extern int rio_std_route_get_entry(struct rio_mport *mport, u16 destid,
38 extern int rio_std_route_clr_table(struct rio_mport *mport, u16 destid,
Drio.c410 u16 destid, u8 hopcount) in rio_mport_get_physefb() argument
415 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0); in rio_mport_get_physefb()
422 rio_mport_read_config_32(port, destid, hopcount, in rio_mport_get_physefb()
442 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, in rio_mport_get_physefb()
533 p_port = prev->rswitch->route_table[rdev->destid]; in rio_chk_dev_route()
554 rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid, u8 hopcount) in rio_mport_chk_dev_access() argument
559 while (rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_chk_dev_access()
577 rdev->destid, rdev->hopcount); in rio_chk_dev_access()
878 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid, in rio_mport_get_efb() argument
888 rio_mport_read_config_32(port, destid, hopcount, in rio_mport_get_efb()
[all …]
Drio-access.c104 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
111 res = mport->ops->cread(mport, mport->id, destid, hopcount, offset, len, &data); \
128 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type value) \
134 res = mport->ops->cwrite(mport, mport->id, destid, hopcount, offset, len, value); \
163 int rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, u16 data) in rio_mport_send_doorbell() argument
169 res = mport->ops->dsend(mport, mport->id, destid, data); in rio_mport_send_doorbell()
Drio-sysfs.c37 rio_config_attr(destid, "0x%04x\n");
95 __ATTR_RO(destid),
/linux-3.4.99/drivers/rapidio/switches/
Dtsi568.c36 tsi568_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_add_entry() argument
40 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
42 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
45 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
48 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_add_entry()
58 tsi568_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_get_entry() argument
65 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
67 rio_mport_read_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
70 rio_mport_write_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
73 rio_mport_read_config_32(mport, destid, hopcount, in tsi568_route_get_entry()
[all …]
Dtsi57x.c45 tsi57x_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_add_entry() argument
49 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
51 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
54 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
56 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_add_entry()
66 tsi57x_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_get_entry() argument
75 rio_mport_read_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
80 rio_mport_write_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
82 rio_mport_read_config_32(mport, destid, hopcount, in tsi57x_route_get_entry()
93 tsi57x_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_clr_table() argument
[all …]
Didtcps.c24 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_add_entry() argument
33 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
36 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
40 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
48 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_get_entry() argument
54 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
57 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
71 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_clr_table() argument
78 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
80 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
[all …]
Didt_gen2.c88 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_add_entry() argument
102 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
108 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
112 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
121 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_get_entry() argument
134 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
137 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
141 rio_mport_read_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
153 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_clr_table() argument
166 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_clr_table()
[all …]
Dtsi500.c23 tsi500_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_desti… in tsi500_route_add_entry() argument
30 rio_mport_read_config_32(mport, destid, hopcount, offset, &result); in tsi500_route_add_entry()
33 …rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*i), result | (route_port << (… in tsi500_route_add_entry()
36 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result); in tsi500_route_add_entry()
38 …rio_mport_write_config_32(mport, destid, hopcount, offset + (0x20000*table), result | (route_port … in tsi500_route_add_entry()
45 tsi500_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_desti… in tsi500_route_get_entry() argument
52 rio_mport_read_config_32(mport, destid, hopcount, offset, &result); in tsi500_route_get_entry()
54 rio_mport_read_config_32(mport, destid, hopcount, offset + (0x20000*table), &result); in tsi500_route_get_entry()
/linux-3.4.99/include/linux/
Drio_drv.h36 extern int rio_mport_read_config_32(struct rio_mport *port, u16 destid,
38 extern int rio_mport_write_config_32(struct rio_mport *port, u16 destid,
40 extern int rio_mport_read_config_16(struct rio_mport *port, u16 destid,
42 extern int rio_mport_write_config_16(struct rio_mport *port, u16 destid,
44 extern int rio_mport_read_config_8(struct rio_mport *port, u16 destid,
46 extern int rio_mport_write_config_8(struct rio_mport *port, u16 destid,
152 return rio_mport_read_config_32(rdev->net->hport, rdev->destid, in rio_read_config_32()
168 return rio_mport_write_config_32(rdev->net->hport, rdev->destid, in rio_write_config_32()
184 return rio_mport_read_config_16(rdev->net->hport, rdev->destid, in rio_read_config_16()
200 return rio_mport_write_config_16(rdev->net->hport, rdev->destid, in rio_write_config_16()
[all …]
Drio.h109 int (*add_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,
111 int (*get_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,
113 int (*clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,
115 int (*set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
117 int (*get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
177 u16 destid; member
302 int (*cread) (struct rio_mport *mport, int index, u16 destid,
304 int (*cwrite) (struct rio_mport *mport, int index, u16 destid,
306 int (*dsend) (struct rio_mport *mport, int index, u16 destid, u16 data);
/linux-3.4.99/arch/powerpc/sysdev/
Dfsl_rio.c170 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_read() argument
180 index, destid, hopcount, offset, len); in fsl_rio_config_read()
188 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_read()
189 out_be32(&priv->maint_atmu_regs->rowtear, (destid >> 10)); in fsl_rio_config_read()
208 err, destid, hopcount, offset); in fsl_rio_config_read()
230 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_write() argument
238 index, destid, hopcount, offset, len, val); in fsl_rio_config_write()
246 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_write()
247 out_be32(&priv->maint_atmu_regs->rowtear, (destid >> 10)); in fsl_rio_config_write()
Dfsl_rio.h122 int index, u16 destid, u16 data);
Dfsl_rmu.c622 int index, u16 destid, u16 data) in fsl_rio_doorbell_send() argument
625 index, destid, data); in fsl_rio_doorbell_send()
632 out_be32(&dbell->dbell_regs->oddpr, destid << 16); in fsl_rio_doorbell_send()
661 "%p len %8.8zx\n", rdev->destid, mbox, buffer, len); in fsl_add_outb_message()
675 desc->dport = (rdev->destid << 16) | (mbox & 0x3); in fsl_add_outb_message()
/linux-3.4.99/drivers/net/
Drionet.c177 u16 destid; in rionet_start_xmit() local
210 destid = RIONET_GET_DESTID(eth->h_dest); in rionet_start_xmit()
211 if (rionet_active[destid]) in rionet_start_xmit()
212 rionet_queue_tx_msg(skb, ndev, rionet_active[destid]); in rionet_start_xmit()
233 if (peer->rdev->destid == sid) { in rionet_dbell_event()
371 if (rionet_active[peer->rdev->destid]) { in rionet_close()
373 rionet_active[peer->rdev->destid] = NULL; in rionet_close()
/linux-3.4.99/arch/mips/sgi-ip27/
Dip27-smp.c143 static void ip27_send_ipi_single(int destid, unsigned int action) in ip27_send_ipi_single() argument
158 irq += cputoslice(destid); in ip27_send_ipi_single()
165 REMOTE_HUB_SEND_INTR(COMPACT_TO_NASID_NODEID(cpu_to_node(destid)), irq); in ip27_send_ipi_single()
/linux-3.4.99/arch/mips/alchemy/common/
Ddbdma.c252 u32 au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid, in au1xxx_dbdma_chan_alloc() argument
274 dtp = find_dbdev_id(destid); in au1xxx_dbdma_chan_alloc()
393 u32 desc_base, srcid, destid; in au1xxx_dbdma_ring_alloc() local
443 destid = dtp->dev_id; in au1xxx_dbdma_ring_alloc()
449 cmd0 |= DSCR_CMD0_DID(destid); in au1xxx_dbdma_ring_alloc()
456 ((DSCR_CUSTOM2DEV_ID(destid) == DSCR_CMD0_THROTTLE) || in au1xxx_dbdma_ring_alloc()
457 (DSCR_CUSTOM2DEV_ID(destid) == DSCR_CMD0_ALWAYS))) in au1xxx_dbdma_ring_alloc()
/linux-3.4.99/Documentation/rapidio/
Dsysfs.txt39 destid - returns device destination ID assigned by the enumeration routine
76 destid - device destination ID that defines a route to the switch
/linux-3.4.99/drivers/rapidio/devices/
Dtsi721.c108 u16 destid, u8 hopcount, u32 offset, int len, in tsi721_maint_dma() argument
125 bd_ptr[0].type_id = cpu_to_le32((DTYPE2 << 29) | (op << 19) | destid); in tsi721_maint_dma()
164 do_wr ? MAINT_WR : MAINT_RD, destid, hopcount, offset); in tsi721_maint_dma()
208 static int tsi721_cread_dma(struct rio_mport *mport, int index, u16 destid, in tsi721_cread_dma() argument
213 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cread_dma()
231 static int tsi721_cwrite_dma(struct rio_mport *mport, int index, u16 destid, in tsi721_cwrite_dma() argument
237 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cwrite_dma()
353 u16 destid, u16 data) in tsi721_dsend() argument
359 (destid << 2); in tsi721_dsend()
362 "Send Doorbell 0x%04x to destID 0x%x\n", data, destid); in tsi721_dsend()
[all …]
/linux-3.4.99/arch/mips/include/asm/mach-au1x00/
Dau1xxx_dbdma.h348 extern u32 au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid,