sidx              110 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = d->hwirq >> 5;
sidx              114 drivers/irqchip/irq-aspeed-vic.c 	if (vic->edge_sources[sidx] & sbit)
sidx              115 drivers/irqchip/irq-aspeed-vic.c 		writel(sbit, vic->base + AVIC_EDGE_CLR + sidx * 4);
sidx              121 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = d->hwirq >> 5;
sidx              124 drivers/irqchip/irq-aspeed-vic.c 	writel(sbit, vic->base + AVIC_INT_ENABLE_CLR + sidx * 4);
sidx              130 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = d->hwirq >> 5;
sidx              133 drivers/irqchip/irq-aspeed-vic.c 	writel(sbit, vic->base + AVIC_INT_ENABLE + sidx * 4);
sidx              140 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = d->hwirq >> 5;
sidx              144 drivers/irqchip/irq-aspeed-vic.c 	writel(sbit, vic->base + AVIC_INT_ENABLE_CLR + sidx * 4);
sidx              147 drivers/irqchip/irq-aspeed-vic.c 	if (vic->edge_sources[sidx] & sbit)
sidx              148 drivers/irqchip/irq-aspeed-vic.c 		writel(sbit, vic->base + AVIC_EDGE_CLR + sidx * 4);
sidx              163 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = hwirq >> 5;
sidx              167 drivers/irqchip/irq-aspeed-vic.c 	if (sidx > 1)
sidx              170 drivers/irqchip/irq-aspeed-vic.c 	if (vic->edge_sources[sidx] & sbit)
sidx              435 drivers/ntb/hw/amd/ntb_hw_amd.c static u32 amd_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx)
sidx              441 drivers/ntb/hw/amd/ntb_hw_amd.c 	if (sidx < 0 || sidx >= ndev->spad_count)
sidx              444 drivers/ntb/hw/amd/ntb_hw_amd.c 	offset = ndev->peer_spad + (sidx << 2);
sidx              449 drivers/ntb/hw/amd/ntb_hw_amd.c 				   int sidx, u32 val)
sidx              455 drivers/ntb/hw/amd/ntb_hw_amd.c 	if (sidx < 0 || sidx >= ndev->spad_count)
sidx              458 drivers/ntb/hw/amd/ntb_hw_amd.c 	offset = ndev->peer_spad + (sidx << 2);
sidx             1177 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx,
sidx             1182 drivers/ntb/hw/intel/ntb_hw_gen1.c 	return ndev_spad_addr(ndev, sidx, spad_addr, ndev->peer_addr,
sidx             1186 drivers/ntb/hw/intel/ntb_hw_gen1.c u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx)
sidx             1190 drivers/ntb/hw/intel/ntb_hw_gen1.c 	return ndev_spad_read(ndev, sidx,
sidx             1195 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx,
sidx             1200 drivers/ntb/hw/intel/ntb_hw_gen1.c 	return ndev_spad_write(ndev, sidx, val,
sidx              176 drivers/ntb/hw/intel/ntb_hw_gen1.h u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx);
sidx              177 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx,
sidx              179 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx,
sidx              758 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 					int sidx)
sidx              765 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad))
sidx              771 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	return ioread32(&sndev->peer_shared->spad[sidx]);
sidx              775 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 					 int sidx, u32 val)
sidx              782 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad))
sidx              788 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	iowrite32(val, &sndev->peer_shared->spad[sidx]);
sidx              794 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 					int sidx, phys_addr_t *spad_addr)
sidx              802 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	offset = (unsigned long)&sndev->peer_shared->spad[sidx] -
sidx              692 drivers/ntb/test/ntb_perf.c 	int ret, sidx, scnt;
sidx              714 drivers/ntb/test/ntb_perf.c 		for (sidx = 0; sidx < scnt; sidx++)
sidx              715 drivers/ntb/test/ntb_perf.c 			ntb_spad_write(perf->ntb, sidx, PERF_CMD_INVAL);
sidx              237 drivers/ntb/test/ntb_tool.c 	int sidx;
sidx             1165 drivers/ntb/test/ntb_tool.c 		ntb_spad_read(spad->tc->ntb, spad->sidx));
sidx             1186 drivers/ntb/test/ntb_tool.c 	ret = ntb_spad_write(spad->tc->ntb, spad->sidx, val);
sidx             1206 drivers/ntb/test/ntb_tool.c 		ntb_peer_spad_read(spad->tc->ntb, spad->pidx, spad->sidx));
sidx             1227 drivers/ntb/test/ntb_tool.c 	ret = ntb_peer_spad_write(spad->tc->ntb, spad->pidx, spad->sidx, val);
sidx             1238 drivers/ntb/test/ntb_tool.c 	int sidx, pidx;
sidx             1247 drivers/ntb/test/ntb_tool.c 	for (sidx = 0; sidx < tc->inspad_cnt; sidx++) {
sidx             1248 drivers/ntb/test/ntb_tool.c 		tc->inspads[sidx].sidx = sidx;
sidx             1249 drivers/ntb/test/ntb_tool.c 		tc->inspads[sidx].pidx = -1;
sidx             1250 drivers/ntb/test/ntb_tool.c 		tc->inspads[sidx].tc = tc;
sidx             1262 drivers/ntb/test/ntb_tool.c 		for (sidx = 0; sidx < tc->peers[pidx].outspad_cnt; sidx++) {
sidx             1263 drivers/ntb/test/ntb_tool.c 			tc->peers[pidx].outspads[sidx].sidx = sidx;
sidx             1264 drivers/ntb/test/ntb_tool.c 			tc->peers[pidx].outspads[sidx].pidx = pidx;
sidx             1265 drivers/ntb/test/ntb_tool.c 			tc->peers[pidx].outspads[sidx].tc = tc;
sidx             1483 drivers/ntb/test/ntb_tool.c 	int pidx, widx, sidx, midx;
sidx             1522 drivers/ntb/test/ntb_tool.c 		for (sidx = 0; sidx < tc->inspad_cnt; sidx++) {
sidx             1523 drivers/ntb/test/ntb_tool.c 			snprintf(buf, sizeof(buf), "spad%d", sidx);
sidx             1526 drivers/ntb/test/ntb_tool.c 					   &tc->inspads[sidx], &tool_spad_fops);
sidx             1586 drivers/ntb/test/ntb_tool.c 		for (sidx = 0; sidx < tc->peers[pidx].outspad_cnt; sidx++) {
sidx             1587 drivers/ntb/test/ntb_tool.c 			snprintf(buf, sizeof(buf), "spad%d", sidx);
sidx             1591 drivers/ntb/test/ntb_tool.c 					    &tc->peers[pidx].outspads[sidx],
sidx              314 include/linux/ntb.h 	u32 (*spad_read)(struct ntb_dev *ntb, int sidx);
sidx              315 include/linux/ntb.h 	int (*spad_write)(struct ntb_dev *ntb, int sidx, u32 val);
sidx              317 include/linux/ntb.h 	int (*peer_spad_addr)(struct ntb_dev *ntb, int pidx, int sidx,
sidx              319 include/linux/ntb.h 	u32 (*peer_spad_read)(struct ntb_dev *ntb, int pidx, int sidx);
sidx              320 include/linux/ntb.h 	int (*peer_spad_write)(struct ntb_dev *ntb, int pidx, int sidx,
sidx             1321 include/linux/ntb.h static inline u32 ntb_spad_read(struct ntb_dev *ntb, int sidx)
sidx             1326 include/linux/ntb.h 	return ntb->ops->spad_read(ntb, sidx);
sidx             1339 include/linux/ntb.h static inline int ntb_spad_write(struct ntb_dev *ntb, int sidx, u32 val)
sidx             1344 include/linux/ntb.h 	return ntb->ops->spad_write(ntb, sidx, val);
sidx             1359 include/linux/ntb.h static inline int ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx,
sidx             1365 include/linux/ntb.h 	return ntb->ops->peer_spad_addr(ntb, pidx, sidx, spad_addr);
sidx             1378 include/linux/ntb.h static inline u32 ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx)
sidx             1383 include/linux/ntb.h 	return ntb->ops->peer_spad_read(ntb, pidx, sidx);
sidx             1397 include/linux/ntb.h static inline int ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx,
sidx             1403 include/linux/ntb.h 	return ntb->ops->peer_spad_write(ntb, pidx, sidx, val);