/linux-master/drivers/irqchip/ |
H A D | irq-aspeed-vic.c | 110 unsigned int sidx = d->hwirq >> 5; local 114 if (vic->edge_sources[sidx] & sbit) 115 writel(sbit, vic->base + AVIC_EDGE_CLR + sidx * 4); 121 unsigned int sidx = d->hwirq >> 5; local 124 writel(sbit, vic->base + AVIC_INT_ENABLE_CLR + sidx * 4); 130 unsigned int sidx = d->hwirq >> 5; local 133 writel(sbit, vic->base + AVIC_INT_ENABLE + sidx * 4); 140 unsigned int sidx = d->hwirq >> 5; local 144 writel(sbit, vic->base + AVIC_INT_ENABLE_CLR + sidx * 4); 147 if (vic->edge_sources[sidx] 163 unsigned int sidx = hwirq >> 5; local [all...] |
/linux-master/drivers/net/wireless/purelifi/plfxlc/ |
H A D | mac.c | 303 u8 sidx; local 307 for (sidx = 0; sidx < MAX_STA_NUM; sidx++) { 308 if (!(tx->station[sidx].flag & STATION_CONNECTED_FLAG)) 310 if (memcmp(tx->station[sidx].mac, dst_mac, ETH_ALEN)) 318 sidx = STA_BROADCAST_INDEX; 321 if (skb_queue_len(&tx->station[sidx].data_list) > 60) 325 if (skb_queue_len(&tx->station[sidx].data_list) > 256) 327 skb_queue_tail(&tx->station[sidx] 410 int sidx; local [all...] |
H A D | usb.c | 44 last_served_sidx = usb->sidx; 46 usb->sidx = (usb->sidx + 1) % MAX_STA_NUM; 47 if (!(tx->station[usb->sidx].flag & STATION_CONNECTED_FLAG)) 49 if (!(tx->station[usb->sidx].flag & STATION_FIFO_FULL_FLAG)) 50 skb = skb_peek(&tx->station[usb->sidx].data_list); 51 } while ((usb->sidx != last_served_sidx) && (!skb)); 54 skb = skb_dequeue(&tx->station[usb->sidx].data_list); 57 if (skb_queue_len(&tx->station[usb->sidx].data_list) <= 60) 76 u8 sidx; local 561 int sidx; local [all...] |
H A D | usb.h | 133 u8 sidx; /* store last served */ member in struct:plfxlc_usb
|
/linux-master/drivers/ntb/hw/intel/ |
H A 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,
|
H A D | ntb_hw_gen1.c | 1180 int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, argument 1185 return ndev_spad_addr(ndev, sidx, spad_addr, ndev->peer_addr, 1189 u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) argument 1193 return ndev_spad_read(ndev, sidx, 1198 int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, argument 1203 return ndev_spad_write(ndev, sidx, val,
|
/linux-master/drivers/ntb/test/ |
H A D | ntb_tool.c | 237 int sidx; member in struct:tool_spad 1162 ntb_spad_read(spad->tc->ntb, spad->sidx)); 1183 ret = ntb_spad_write(spad->tc->ntb, spad->sidx, val); 1203 ntb_peer_spad_read(spad->tc->ntb, spad->pidx, spad->sidx)); 1224 ret = ntb_peer_spad_write(spad->tc->ntb, spad->pidx, spad->sidx, val); 1235 int sidx, pidx; local 1244 for (sidx = 0; sidx < tc->inspad_cnt; sidx++) { 1245 tc->inspads[sidx] 1480 int pidx, widx, sidx, midx; local [all...] |
H A D | ntb_perf.c | 699 int ret, sidx, scnt; local 721 for (sidx = 0; sidx < scnt; sidx++) 722 ntb_spad_write(perf->ntb, sidx, PERF_CMD_INVAL);
|
/linux-master/include/linux/ |
H A D | ntb.h | 314 u32 (*spad_read)(struct ntb_dev *ntb, int sidx); 315 int (*spad_write)(struct ntb_dev *ntb, int sidx, u32 val); 317 int (*peer_spad_addr)(struct ntb_dev *ntb, int pidx, int sidx, 319 u32 (*peer_spad_read)(struct ntb_dev *ntb, int pidx, int sidx); 320 int (*peer_spad_write)(struct ntb_dev *ntb, int pidx, int sidx, 1315 * @sidx: Scratchpad index. 1321 static inline u32 ntb_spad_read(struct ntb_dev *ntb, int sidx) argument 1326 return ntb->ops->spad_read(ntb, sidx); 1332 * @sidx: Scratchpad index. 1339 static inline int ntb_spad_write(struct ntb_dev *ntb, int sidx, u3 argument 1359 ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, phys_addr_t *spad_addr) argument 1378 ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) argument 1397 ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, u32 val) argument [all...] |
/linux-master/drivers/phy/microchip/ |
H A D | sparx5_serdes.c | 691 dev_err(macro->priv->dev, "%s: Illegal speed: %02u, sidx: %02u, mode (%u)", 692 __func__, macro->speed, macro->sidx, 1643 u32 lane_index = macro->sidx; 2126 sparx5_sd10g28_reset(macro->priv->regs, macro->sidx); 2162 sd_lane_inst = sdx5_inst_get(priv, TARGET_SD_LANE, macro->sidx); 2193 SD_LANE_MISC(macro->sidx)); 2229 macro->sidx, 2243 macro->sidx, err); 2300 if (macro->sidx < SPX5_SERDES_10G_START && speed > SPEED_5000) 2302 if (macro->sidx < SPX5_SERDES_25G_STAR 2516 unsigned int sidx; local [all...] |
H A D | sparx5_serdes.h | 38 u32 sidx; member in struct:sparx5_serdes_macro
|
/linux-master/drivers/ntb/hw/amd/ |
H A D | ntb_hw_amd.c | 516 static u32 amd_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) argument 522 if (sidx < 0 || sidx >= ndev->spad_count) 525 offset = ndev->peer_spad + (sidx << 2); 530 int sidx, u32 val) 536 if (sidx < 0 || sidx >= ndev->spad_count) 539 offset = ndev->peer_spad + (sidx << 2); 529 amd_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, u32 val) argument
|
/linux-master/drivers/ntb/hw/mscc/ |
H A D | ntb_hw_switchtec.c | 760 int sidx) 767 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) 773 return ioread32(&sndev->peer_shared->spad[sidx]); 777 int sidx, u32 val) 784 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) 790 iowrite32(val, &sndev->peer_shared->spad[sidx]); 796 int sidx, phys_addr_t *spad_addr) 804 offset = (unsigned long)&sndev->peer_shared->spad[sidx] 759 switchtec_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) argument 776 switchtec_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, u32 val) argument 795 switchtec_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, phys_addr_t *spad_addr) argument [all...] |
/linux-master/drivers/hwmon/ |
H A D | asus-ec-sensors.c | 882 int sidx = find_ec_sensor_index(state, type, channel); local 884 if (sidx < 0) { 885 return sidx; 888 ret = get_cached_value_or_update(dev, sidx, state, &value); 891 get_sensor_info(state, sidx)->type);
|
/linux-master/mm/damon/ |
H A D | core.c | 1009 unsigned int sidx = 0; local 1019 sidx++; 1043 trace_damos_before_apply(cidx, sidx, tidx, r,
|
/linux-master/kernel/bpf/ |
H A D | verifier.c | 5911 int next_insn, sidx; local 5942 sidx = find_subprog(env, next_insn); 5943 if (sidx < 0) { 5948 if (subprog[sidx].is_async_cb) { 5949 if (subprog[sidx].has_tail_call) { 5956 if (subprog[sidx].is_exception_cb) { 5962 idx = sidx;
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | wmi.h | 4135 a_sle32 sidx; member in struct:ath12k_wmi_pdev_radar_event
|
H A D | wmi.c | 6591 "pdev dfs radar detected on pdev %d, detection mode %d, chan freq %d, chan_width %d, detector id %d, seg id %d, timestamp %d, chirp %d, freq offset %d, sidx %d", 6594 ev->freq_offset, ev->sidx);
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | wmi.h | 4853 s32 sidx; member in struct:wmi_pdev_radar_ev
|
H A D | wmi.c | 8293 "event pdev dfs radar detected on pdev %d, detection mode %d, chan freq %d, chan_width %d, detector id %d, seg id %d, timestamp %d, chirp %d, freq offset %d, sidx %d", 8296 ev->freq_offset, ev->sidx);
|