Home
last modified time | relevance | path

Searched refs:sidx (Results 1 – 11 of 11) sorted by relevance

/drivers/irqchip/
Dirq-aspeed-vic.c110 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/
Dntb_tool.c237 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 …]
Dntb_perf.c699 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/
Dntb_hw_gen1.h178 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,
Dntb_hw_gen1.c1180 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/
Dsparx5_serdes.c687 __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 …]
Dsparx5_serdes.h39 u32 sidx; member
/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c758 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/
Dntb_hw_amd.c516 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/
Dwmi.h4314 s32 sidx; member
Dwmi.c6810 ev->freq_offset, ev->sidx); in ath11k_wmi_pdev_dfs_radar_detected_event()