/drivers/irqchip/ |
D | irq-aspeed-vic.c | 110 unsigned int sidx = d->hwirq >> 5; in avic_ack_irq() local 114 if (vic->edge_sources[sidx] & sbit) in avic_ack_irq() 115 writel(sbit, vic->base + AVIC_EDGE_CLR + sidx * 4); in avic_ack_irq() 121 unsigned int sidx = d->hwirq >> 5; in avic_mask_irq() local 124 writel(sbit, vic->base + AVIC_INT_ENABLE_CLR + sidx * 4); in avic_mask_irq() 130 unsigned int sidx = d->hwirq >> 5; in avic_unmask_irq() local 133 writel(sbit, vic->base + AVIC_INT_ENABLE + sidx * 4); in avic_unmask_irq() 140 unsigned int sidx = d->hwirq >> 5; in avic_mask_ack_irq() local 144 writel(sbit, vic->base + AVIC_INT_ENABLE_CLR + sidx * 4); in avic_mask_ack_irq() 147 if (vic->edge_sources[sidx] & sbit) in avic_mask_ack_irq() [all …]
|
/drivers/ntb/test/ |
D | ntb_tool.c | 237 int sidx; member 1169 ntb_spad_read(spad->tc->ntb, spad->sidx)); in tool_spad_read() 1190 ret = ntb_spad_write(spad->tc->ntb, spad->sidx, val); in tool_spad_write() 1210 ntb_peer_spad_read(spad->tc->ntb, spad->pidx, spad->sidx)); in tool_peer_spad_read() 1231 ret = ntb_peer_spad_write(spad->tc->ntb, spad->pidx, spad->sidx, val); in tool_peer_spad_write() 1242 int sidx, pidx; in tool_init_spads() local 1251 for (sidx = 0; sidx < tc->inspad_cnt; sidx++) { in tool_init_spads() 1252 tc->inspads[sidx].sidx = sidx; in tool_init_spads() 1253 tc->inspads[sidx].pidx = -1; in tool_init_spads() 1254 tc->inspads[sidx].tc = tc; in tool_init_spads() [all …]
|
D | ntb_perf.c | 699 int ret, sidx, scnt; in perf_enable_service() local 721 for (sidx = 0; sidx < scnt; sidx++) in perf_enable_service() 722 ntb_spad_write(perf->ntb, sidx, PERF_CMD_INVAL); in perf_enable_service()
|
/drivers/ntb/hw/intel/ |
D | ntb_hw_gen1.h | 178 u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx); 179 int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, 181 int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx,
|
D | ntb_hw_gen1.c | 1180 int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, in intel_ntb_peer_spad_addr() argument 1185 return ndev_spad_addr(ndev, sidx, spad_addr, ndev->peer_addr, in intel_ntb_peer_spad_addr() 1189 u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) in intel_ntb_peer_spad_read() argument 1193 return ndev_spad_read(ndev, sidx, in intel_ntb_peer_spad_read() 1198 int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, in intel_ntb_peer_spad_write() argument 1203 return ndev_spad_write(ndev, sidx, val, in intel_ntb_peer_spad_write()
|
/drivers/phy/microchip/ |
D | sparx5_serdes.c | 687 __func__, macro->speed, macro->sidx, in sparx5_sd10g28_get_mode_preset() 1422 u32 lane_index = macro->sidx; in sparx5_sd10g28_apply_params() 1894 sparx5_sd10g28_reset(macro->priv->regs, macro->sidx); in sparx5_sd10g28_config() 1937 SD_LANE_MISC(macro->sidx)); in sparx5_serdes_clock_config() 2130 macro->sidx, in sparx5_serdes_config() 2144 macro->sidx, err); in sparx5_serdes_config() 2201 if (macro->sidx < SPX5_SERDES_10G_START && speed > SPEED_5000) in sparx5_serdes_set_speed() 2203 if (macro->sidx < SPX5_SERDES_25G_START && speed > SPEED_10000) in sparx5_serdes_set_speed() 2227 macro->sidx, err); in sparx5_serdes_reset() 2244 if (macro->sidx < SPX5_SERDES_10G_START && macro->speed > SPEED_5000) in sparx5_serdes_validate() [all …]
|
D | sparx5_serdes.h | 39 u32 sidx; member
|
/drivers/ntb/hw/mscc/ |
D | ntb_hw_switchtec.c | 758 int sidx) in switchtec_ntb_peer_spad_read() argument 765 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) in switchtec_ntb_peer_spad_read() 771 return ioread32(&sndev->peer_shared->spad[sidx]); in switchtec_ntb_peer_spad_read() 775 int sidx, u32 val) in switchtec_ntb_peer_spad_write() argument 782 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) in switchtec_ntb_peer_spad_write() 788 iowrite32(val, &sndev->peer_shared->spad[sidx]); in switchtec_ntb_peer_spad_write() 794 int sidx, phys_addr_t *spad_addr) in switchtec_ntb_peer_spad_addr() argument 802 offset = (unsigned long)&sndev->peer_shared->spad[sidx] - in switchtec_ntb_peer_spad_addr()
|
/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 516 static u32 amd_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) in amd_ntb_peer_spad_read() argument 522 if (sidx < 0 || sidx >= ndev->spad_count) in amd_ntb_peer_spad_read() 525 offset = ndev->peer_spad + (sidx << 2); in amd_ntb_peer_spad_read() 530 int sidx, u32 val) in amd_ntb_peer_spad_write() argument 536 if (sidx < 0 || sidx >= ndev->spad_count) in amd_ntb_peer_spad_write() 539 offset = ndev->peer_spad + (sidx << 2); in amd_ntb_peer_spad_write()
|
/drivers/net/wireless/ath/ath11k/ |
D | wmi.h | 4314 s32 sidx; member
|
D | wmi.c | 6810 ev->freq_offset, ev->sidx); in ath11k_wmi_pdev_dfs_radar_detected_event()
|