Searched refs:destid (Results 1 - 24 of 24) sorted by relevance

/linux-master/drivers/rapidio/switches/
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, destid, hopcoun
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...]
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, destid, hopcoun
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, destid, hopcoun
314 u16 destid; local
[all...]
/linux-master/drivers/rapidio/
H A Drio-scan.c58 int destid; local
62 destid = find_first_zero_bit(idtab->table, idtab->max);
64 if (destid < idtab->max) {
65 set_bit(destid, idtab->table);
66 destid += idtab->start;
68 destid = RIO_INVALID_DESTID;
71 return (u16)destid;
77 * @destid: destID to reserve
82 static int rio_destid_reserve(struct rio_net *net, u16 destid) argument
87 destid
101 rio_destid_free(struct rio_net *net, u16 destid) argument
117 int destid; local
137 int destid; local
159 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) argument
177 rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) argument
322 rio_setup_device(struct rio_net *net, struct rio_mport *port, u16 destid, u8 hopcount, int do_enum) argument
596 u16 destid; local
730 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, u8 hopcount, struct rio_dev *prev, int prev_port) argument
893 u16 destid; local
[all...]
H A Drio.h18 extern u32 rio_mport_get_feature(struct rio_mport *mport, int local, u16 destid,
21 u16 destid, u8 hopcount, u32 *rmap);
22 extern u32 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid,
24 extern int rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid,
26 extern int rio_lock_device(struct rio_mport *port, u16 destid,
28 extern int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount);
41 extern int rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid,
H A Drio-access.c86 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
91 res = mport->ops->cread(mport, mport->id, destid, hopcount, offset, len, &data); \
107 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type value) \
110 return mport->ops->cwrite(mport, mport->id, destid, hopcount, \
132 * @destid: RIO device destination ID
138 int rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, u16 data) argument
140 return mport->ops->dsend(mport, mport->id, destid, data);
H A Drio.c723 * @destid: destination id window points to
733 int rio_map_outb_region(struct rio_mport *mport, u16 destid, u64 rbase, argument
743 rc = mport->ops->map_outb(mport, destid, rbase, size,
754 * @destid: destination id mapping points to
757 void rio_unmap_outb_region(struct rio_mport *mport, u16 destid, u64 rstart) argument
765 mport->ops->unmap_outb(mport, destid, rstart);
775 * @destid: Destination ID of the device
781 u16 destid, u8 hopcount, u32 *rmap)
786 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0);
793 rio_mport_read_config_32(port, destid, hopcoun
780 rio_mport_get_physefb(struct rio_mport *port, int local, u16 destid, u8 hopcount, u32 *rmap) argument
898 rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid, u8 hopcount, u8 port_num) argument
993 rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid, u8 hopcount) argument
1345 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid, u8 hopcount, u32 from) argument
1383 rio_mport_get_feature(struct rio_mport * port, int local, u16 destid, u8 hopcount, int ftr) argument
1426 rio_std_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 route_port) argument
1454 rio_std_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 *route_port) argument
1480 rio_std_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, u16 table) argument
1532 rio_lock_device(struct rio_mport *port, u16 destid, u8 hopcount, int wait_ms) argument
1576 rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount) argument
1816 rio_dma_prep_xfer(struct dma_chan *dchan, u16 destid, struct rio_dma_data *data, enum dma_transfer_direction direction, unsigned long flags) argument
[all...]
H A Drio_cm.c209 u32 destid; /* requester destID */ member in struct:conn_req
404 req->destid = ntohl(hh->bhdr.src_id);
757 riocm_debug(TX, "Add buf@%p destid=%x tx_slot=%d tx_cnt=%d",
758 buffer, rdev->destid, cm->tx_slot, cm->tx_cnt);
978 hdr->bhdr.dst_id = htonl(peer->rdev->destid);
1146 new_ch->rem_destid = req->destid;
1157 if (peer->rdev->destid == new_ch->rem_destid) {
1599 *entry_ptr = (u32)peer->rdev->destid;
1814 if (peer->rdev->destid == chan.remote_destid) {
H A Drio-sysfs.c34 rio_config_attr(destid, "0x%04x\n");
/linux-master/include/linux/
H A Drio_drv.h32 extern int rio_mport_read_config_32(struct rio_mport *port, u16 destid,
34 extern int rio_mport_write_config_32(struct rio_mport *port, u16 destid,
36 extern int rio_mport_read_config_16(struct rio_mport *port, u16 destid,
38 extern int rio_mport_write_config_16(struct rio_mport *port, u16 destid,
40 extern int rio_mport_read_config_8(struct rio_mport *port, u16 destid,
42 extern int rio_mport_write_config_8(struct rio_mport *port, u16 destid,
148 return rio_mport_read_config_32(rdev->net->hport, rdev->destid,
164 return rio_mport_write_config_32(rdev->net->hport, rdev->destid,
180 return rio_mport_read_config_16(rdev->net->hport, rdev->destid,
196 return rio_mport_write_config_16(rdev->net->hport, rdev->destid,
[all...]
H A Drio.h122 int (*add_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,
124 int (*get_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,
126 int (*clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,
128 int (*set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
130 int (*get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,
169 * @destid: Network destination ID (or associated destid for switch)
200 u16 destid; member in struct:rio_dev
404 int (*cread) (struct rio_mport *mport, int index, u16 destid,
406 int (*cwrite) (struct rio_mport *mport, int index, u16 destid,
500 u16 destid; member in struct:rio_dma_ext
[all...]
/linux-master/arch/mips/sgi-ip27/
H A Dip27-smp.c97 static void ip27_send_ipi_single(int destid, unsigned int action) argument
112 irq += cputoslice(destid);
118 REMOTE_HUB_SEND_INTR(cpu_to_node(destid), irq);
/linux-master/arch/powerpc/sysdev/
H A Dfsl_rio.c180 * @destid: Destination ID of transaction
190 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, argument
200 " index %d destid %d hopcount %d offset %8.8x len %d\n",
201 index, destid, hopcount, offset, len);
211 (destid << 22) | (hopcount << 12) | (offset >> 12));
212 out_be32(&priv->maint_atmu_regs->rowtear, (destid >> 10));
232 err, destid, hopcount, offset);
245 * @destid: Destination ID of transaction
255 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, argument
265 " index %d destid
[all...]
H A Dfsl_rio.h132 int index, u16 destid, u16 data);
H A Dfsl_rmu.c618 * @destid: Destination ID of target device
625 int index, u16 destid, u16 data)
629 pr_debug("fsl_doorbell_send: index %d destid %4.4x data %4.4x\n",
630 index, destid, data);
639 out_be32(&dbell->dbell_regs->oddpr, destid << 16);
669 pr_debug("RIO: fsl_add_outb_message(): destid %4.4x mbox %d buffer " \
670 "%p len %8.8zx\n", rdev->destid, mbox, buffer, len);
683 /* Set mbox field for message, and set destid */
684 desc->dport = (rdev->destid << 16) | (mbox & 0x3);
624 fsl_rio_doorbell_send(struct rio_mport *mport, int index, u16 destid, u16 data) argument
/linux-master/security/keys/
H A Dpersistent.c129 long keyctl_get_persistent(uid_t _uid, key_serial_t destid) argument
154 dest_ref = lookup_user_key(destid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE);
/linux-master/drivers/net/
H A Drionet.c175 u16 destid; local
205 destid = RIONET_GET_DESTID(eth->h_dest);
206 if (nets[rnet->mport->id].active[destid])
208 nets[rnet->mport->id].active[destid]);
242 if (peer->rdev->destid == sid) {
386 if (nets[netid].active[peer->rdev->destid]) {
388 nets[netid].active[peer->rdev->destid] = NULL;
418 if (nets[netid].active[rdev->destid]) {
425 nets[netid].active[rdev->destid] = NULL;
653 if (nets[i].active[peer->rdev->destid]) {
[all...]
/linux-master/drivers/rapidio/devices/
H A Dtsi721.c101 * @destid: Destination ID of transaction
112 u16 destid, u8 hopcount, u32 offset, int len,
132 bd_ptr[0].type_id = cpu_to_le32((DTYPE2 << 29) | (op << 19) | destid);
170 "OP=%d : destid=%x hc=%x off=%x",
172 destid, hopcount, offset);
206 * @destid: Destination ID of transaction
215 static int tsi721_cread_dma(struct rio_mport *mport, int index, u16 destid, argument
220 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount,
229 * @destid: Destination ID of transaction
238 static int tsi721_cwrite_dma(struct rio_mport *mport, int index, u16 destid, argument
111 tsi721_maint_dma(struct tsi721_device *priv, u32 sys_size, u16 destid, u8 hopcount, u32 offset, int len, u32 *data, int do_wr) argument
349 tsi721_dsend(struct rio_mport *mport, int index, u16 destid, u16 data) argument
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
[all...]
H A Drio_mport_cdev.c1690 u16 destid; local
1699 dev_info.comptag, dev_info.destid, dev_info.hopcount);
1710 destid = dev_info.destid;
1713 if (rio_mport_read_config_32(mport, destid, hopcount,
1718 rio_mport_read_config_32(mport, destid, hopcount,
1753 rio_mport_read_config_32(mport, destid, hopcount,
1757 rio_mport_read_config_32(mport, destid, hopcount, RIO_DEV_INFO_CAR,
1759 rio_mport_read_config_32(mport, destid, hopcount, RIO_ASM_ID_CAR,
1763 rio_mport_read_config_32(mport, destid, hopcoun
[all...]
H A Dtsi721_dma.c344 (desc->rtype << 19) | desc->destid);
503 bdma_chan->id, bd_ptr, desc->destid, desc->rio_addr);
590 bdma_chan->id, dmac_sts, desc->destid, desc->rio_addr);
874 desc->destid = rext->destid;
H A Dtsi721.h676 u16 destid; member in struct:tsi721_tx_desc
861 u16 destid; member in struct:tsi721_ob_win
/linux-master/arch/mips/alchemy/common/
H A Ddbdma.c253 u32 au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid, argument
275 dtp = find_dbdev_id(destid);
394 u32 desc_base, srcid, destid; local
444 destid = dtp->dev_id;
450 cmd0 |= DSCR_CMD0_DID(destid);
457 ((DSCR_CUSTOM2DEV_ID(destid) == DSCR_CMD0_THROTTLE) ||
458 (DSCR_CUSTOM2DEV_ID(destid) == DSCR_CMD0_ALWAYS)))
/linux-master/include/uapi/linux/
H A Drio_mport_cdev.h219 __u16 destid; member in struct:rio_rdev_info
/linux-master/arch/mips/include/asm/mach-au1x00/
H A Dau1xxx_dbdma.h348 extern u32 au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid,

Completed in 282 milliseconds