Home
last modified time | relevance | path

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

/linux-2.6.39/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-2.6.39/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.c87 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_add_entry() argument
101 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
107 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
111 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_add_entry()
120 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_get_entry() argument
133 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
136 rio_mport_write_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
140 rio_mport_read_config_32(mport, destid, hopcount, in idtg2_route_get_entry()
152 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_clr_table() argument
165 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-2.6.39/include/linux/
Drio_drv.h37 extern int rio_mport_read_config_32(struct rio_mport *port, u16 destid,
39 extern int rio_mport_write_config_32(struct rio_mport *port, u16 destid,
41 extern int rio_mport_read_config_16(struct rio_mport *port, u16 destid,
43 extern int rio_mport_write_config_16(struct rio_mport *port, u16 destid,
45 extern int rio_mport_read_config_8(struct rio_mport *port, u16 destid,
47 extern int rio_mport_write_config_8(struct rio_mport *port, u16 destid,
153 return rio_mport_read_config_32(rdev->net->hport, rdev->destid, in rio_read_config_32()
169 return rio_mport_write_config_32(rdev->net->hport, rdev->destid, in rio_write_config_32()
185 return rio_mport_read_config_16(rdev->net->hport, rdev->destid, in rio_read_config_16()
201 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-2.6.39/drivers/net/
Drionet.c176 u16 destid; in rionet_start_xmit() local
200 destid = RIONET_GET_DESTID(eth->h_dest); in rionet_start_xmit()
201 if (rionet_active[destid]) in rionet_start_xmit()
202 rionet_queue_tx_msg(skb, ndev, rionet_active[destid]); in rionet_start_xmit()
223 if (peer->rdev->destid == sid) in rionet_dbell_event()
364 if (rionet_active[peer->rdev->destid]) { in rionet_close()
366 rionet_active[peer->rdev->destid] = NULL; in rionet_close()
/linux-2.6.39/arch/powerpc/sysdev/
Dfsl_rio.c305 int index, u16 destid, u16 data) in fsl_rio_doorbell_send() argument
309 index, destid, data); in fsl_rio_doorbell_send()
312 out_be32(&priv->dbell_atmu_regs->rowtar, destid << 22); in fsl_rio_doorbell_send()
321 out_be32(&priv->msg_regs->oddpr, destid << 16); in fsl_rio_doorbell_send()
389 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_read() argument
398 index, destid, hopcount, offset, len); in fsl_rio_config_read()
406 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_read()
407 out_be32(&priv->maint_atmu_regs->rowtear, (destid >> 10)); in fsl_rio_config_read()
426 err, destid, hopcount, offset); in fsl_rio_config_read()
448 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_write() argument
[all …]
/linux-2.6.39/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-2.6.39/arch/mips/alchemy/common/
Ddbdma.c233 u32 au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid, in au1xxx_dbdma_chan_alloc() argument
255 dtp = find_dbdev_id(destid); in au1xxx_dbdma_chan_alloc()
374 u32 desc_base, srcid, destid; in au1xxx_dbdma_ring_alloc() local
424 destid = dtp->dev_id; in au1xxx_dbdma_ring_alloc()
430 cmd0 |= DSCR_CMD0_DID(destid); in au1xxx_dbdma_ring_alloc()
437 ((DSCR_CUSTOM2DEV_ID(destid) == DSCR_CMD0_THROTTLE) || in au1xxx_dbdma_ring_alloc()
438 (DSCR_CUSTOM2DEV_ID(destid) == DSCR_CMD0_ALWAYS))) in au1xxx_dbdma_ring_alloc()
/linux-2.6.39/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-2.6.39/arch/mips/include/asm/mach-au1x00/
Dau1xxx_dbdma.h329 extern u32 au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid,