Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rapidio/
Drio-scan.c58 int destid; in rio_destid_alloc() local
62 destid = find_first_zero_bit(idtab->table, idtab->max); in rio_destid_alloc()
64 if (destid < idtab->max) { in rio_destid_alloc()
65 set_bit(destid, idtab->table); in rio_destid_alloc()
66 destid += idtab->start; in rio_destid_alloc()
68 destid = RIO_INVALID_DESTID; in rio_destid_alloc()
71 return (u16)destid; in rio_destid_alloc()
82 static int rio_destid_reserve(struct rio_net *net, u16 destid) in rio_destid_reserve() argument
87 destid -= idtab->start; in rio_destid_reserve()
89 oldbit = test_and_set_bit(destid, idtab->table); in rio_destid_reserve()
[all …]
Drio.c733 int rio_map_outb_region(struct rio_mport *mport, u16 destid, u64 rbase, in rio_map_outb_region() argument
743 rc = mport->ops->map_outb(mport, destid, rbase, size, in rio_map_outb_region()
757 void rio_unmap_outb_region(struct rio_mport *mport, u16 destid, u64 rstart) in rio_unmap_outb_region() argument
765 mport->ops->unmap_outb(mport, destid, rstart); in rio_unmap_outb_region()
781 u16 destid, u8 hopcount, u32 *rmap) in rio_mport_get_physefb() argument
786 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0); in rio_mport_get_physefb()
793 rio_mport_read_config_32(port, destid, hopcount, in rio_mport_get_physefb()
820 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, in rio_mport_get_physefb()
899 int local, u16 destid, in rio_enable_rx_tx_port() argument
911 "%d, port_num = %d)\n", local, destid, hopcount, port_num); in rio_enable_rx_tx_port()
[all …]
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,
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, \
138 int rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, u16 data) in rio_mport_send_doorbell() argument
140 return mport->ops->dsend(mport, mport->id, destid, data); in rio_mport_send_doorbell()
Drio_cm.c209 u32 destid; /* requester destID */ member
402 req->destid = ntohl(hh->bhdr.src_id); in riocm_req_handler()
756 buffer, rdev->destid, cm->tx_slot, cm->tx_cnt); in riocm_post_send()
976 hdr->bhdr.dst_id = htonl(peer->rdev->destid); in riocm_ch_connect()
1144 new_ch->rem_destid = req->destid; in riocm_ch_accept()
1155 if (peer->rdev->destid == new_ch->rem_destid) { in riocm_ch_accept()
1597 *entry_ptr = (u32)peer->rdev->destid; in cm_ep_get_list()
1812 if (peer->rdev->destid == chan.remote_destid) { in cm_chan_connect()
Drio-sysfs.c34 rio_config_attr(destid, "0x%04x\n");
/linux-6.1.9/drivers/rapidio/switches/
Didtcps.c21 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_add_entry() argument
30 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
33 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
37 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_add_entry()
45 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_get_entry() argument
51 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
54 rio_mport_read_config_32(mport, destid, hopcount, in idtcps_route_get_entry()
68 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_clr_table() argument
75 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
77 rio_mport_write_config_32(mport, destid, hopcount, in idtcps_route_clr_table()
[all …]
Didt_gen3.c37 idtg3_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_add_entry() argument
55 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
64 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
72 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_add_entry()
79 idtg3_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_get_entry() argument
88 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_get_entry()
103 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_route_get_entry()
118 idtg3_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_clr_table() argument
127 err = rio_mport_write_config_32(mport, destid, hopcount, in idtg3_route_clr_table()
137 err = rio_mport_read_config_32(mport, destid, hopcount, in idtg3_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 …]
/linux-6.1.9/include/linux/
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, in rio_read_config_32()
164 return rio_mport_write_config_32(rdev->net->hport, rdev->destid, in rio_write_config_32()
180 return rio_mport_read_config_16(rdev->net->hport, rdev->destid, in rio_read_config_16()
196 return rio_mport_write_config_16(rdev->net->hport, rdev->destid, in rio_write_config_16()
[all …]
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,
200 u16 destid; member
404 int (*cread) (struct rio_mport *mport, int index, u16 destid,
406 int (*cwrite) (struct rio_mport *mport, int index, u16 destid,
408 int (*dsend) (struct rio_mport *mport, int index, u16 destid, u16 data);
425 int (*map_outb)(struct rio_mport *mport, u16 destid, u64 rstart,
[all …]
/linux-6.1.9/drivers/net/
Drionet.c175 u16 destid; in rionet_start_xmit() local
205 destid = RIONET_GET_DESTID(eth->h_dest); in rionet_start_xmit()
206 if (nets[rnet->mport->id].active[destid]) in rionet_start_xmit()
208 nets[rnet->mport->id].active[destid]); in rionet_start_xmit()
242 if (peer->rdev->destid == sid) { in rionet_dbell_event()
386 if (nets[netid].active[peer->rdev->destid]) { in rionet_close()
388 nets[netid].active[peer->rdev->destid] = NULL; in rionet_close()
418 if (nets[netid].active[rdev->destid]) { in rionet_remove_dev()
425 nets[netid].active[rdev->destid] = NULL; in rionet_remove_dev()
653 if (nets[i].active[peer->rdev->destid]) { in rionet_shutdown()
[all …]
/linux-6.1.9/arch/mips/sgi-ip27/
Dip27-smp.c97 static void ip27_send_ipi_single(int destid, unsigned int action) in ip27_send_ipi_single() argument
112 irq += cputoslice(destid); in ip27_send_ipi_single()
118 REMOTE_HUB_SEND_INTR(cpu_to_node(destid), irq); in ip27_send_ipi_single()
/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_rio.c189 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_read() argument
200 index, destid, hopcount, offset, len); in fsl_rio_config_read()
210 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_read()
211 out_be32(&priv->maint_atmu_regs->rowtear, (destid >> 10)); in fsl_rio_config_read()
231 err, destid, hopcount, offset); in fsl_rio_config_read()
254 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_write() argument
265 index, destid, hopcount, offset, len, val); in fsl_rio_config_write()
275 (destid << 22) | (hopcount << 12) | (offset >> 12)); in fsl_rio_config_write()
276 out_be32(&priv->maint_atmu_regs->rowtear, (destid >> 10)); in fsl_rio_config_write()
Dfsl_rmu.c625 int index, u16 destid, u16 data) in fsl_rio_doorbell_send() argument
630 index, destid, data); in fsl_rio_doorbell_send()
639 out_be32(&dbell->dbell_regs->oddpr, destid << 16); in fsl_rio_doorbell_send()
670 "%p len %8.8zx\n", rdev->destid, mbox, buffer, len); in fsl_add_outb_message()
684 desc->dport = (rdev->destid << 16) | (mbox & 0x3); in fsl_add_outb_message()
Dfsl_rio.h132 int index, u16 destid, u16 data);
/linux-6.1.9/security/keys/
Dpersistent.c129 long keyctl_get_persistent(uid_t _uid, key_serial_t destid) in keyctl_get_persistent() argument
154 dest_ref = lookup_user_key(destid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_get_persistent()
/linux-6.1.9/drivers/rapidio/devices/
Drio_mport_cdev.c1688 u16 destid; in rio_mport_add_riodev() local
1697 dev_info.comptag, dev_info.destid, dev_info.hopcount); in rio_mport_add_riodev()
1708 destid = dev_info.destid; in rio_mport_add_riodev()
1711 if (rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1716 rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1751 rio_mport_read_config_32(mport, destid, hopcount, in rio_mport_add_riodev()
1755 rio_mport_read_config_32(mport, destid, hopcount, RIO_DEV_INFO_CAR, in rio_mport_add_riodev()
1757 rio_mport_read_config_32(mport, destid, hopcount, RIO_ASM_ID_CAR, in rio_mport_add_riodev()
1761 rio_mport_read_config_32(mport, destid, hopcount, RIO_ASM_INFO_CAR, in rio_mport_add_riodev()
1767 rdev->phys_efptr = rio_mport_get_physefb(mport, 0, destid, in rio_mport_add_riodev()
[all …]
Dtsi721.c110 u16 destid, u8 hopcount, u32 offset, int len, in tsi721_maint_dma() argument
130 bd_ptr[0].type_id = cpu_to_le32((DTYPE2 << 29) | (op << 19) | destid); in tsi721_maint_dma()
170 destid, hopcount, offset); in tsi721_maint_dma()
213 static int tsi721_cread_dma(struct rio_mport *mport, int index, u16 destid, in tsi721_cread_dma() argument
218 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cread_dma()
236 static int tsi721_cwrite_dma(struct rio_mport *mport, int index, u16 destid, in tsi721_cwrite_dma() argument
242 return tsi721_maint_dma(priv, mport->sys_size, destid, hopcount, in tsi721_cwrite_dma()
342 u16 destid, u16 data) in tsi721_dsend() argument
348 (destid << 2); in tsi721_dsend()
351 "Send Doorbell 0x%04x to destID 0x%x", data, destid); in tsi721_dsend()
[all …]
Dtsi721_dma.c342 (desc->rtype << 19) | desc->destid); in tsi721_desc_fill_init()
501 bdma_chan->id, bd_ptr, desc->destid, desc->rio_addr); in tsi721_submit_sg()
588 bdma_chan->id, dmac_sts, desc->destid, desc->rio_addr); in tsi721_dma_tasklet()
872 desc->destid = rext->destid; in tsi721_prep_rio_sg()
Dtsi721.h676 u16 destid; member
861 u16 destid; member
/linux-6.1.9/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-6.1.9/include/uapi/linux/
Drio_mport_cdev.h219 __u16 destid; member
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-rapidio82 What: /sys/bus/rapidio/devices/<nn>:<d>:<iiii>/destid
141 What: /sys/bus/rapidio/devices/<nn>:<s>:<iiii>/destid
/linux-6.1.9/arch/mips/include/asm/mach-au1x00/
Dau1xxx_dbdma.h348 extern u32 au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid,