Home
last modified time | relevance | path

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

/openbmc/linux/drivers/irqchip/
H A 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
130 unsigned int sidx = d->hwirq >> 5; in avic_unmask_irq() local
140 unsigned int sidx = d->hwirq >> 5; in avic_mask_ack_irq() local
147 if (vic->edge_sources[sidx] & sbit) in avic_mask_ack_irq()
148 writel(sbit, vic->base + AVIC_EDGE_CLR + sidx * 4); in avic_mask_ack_irq()
163 unsigned int sidx = hwirq >> 5; in avic_map() local
167 if (sidx > 1) in avic_map()
[all …]
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dmac.c304 u8 sidx; in plfxlc_op_tx() local
308 for (sidx = 0; sidx < MAX_STA_NUM; sidx++) { in plfxlc_op_tx()
319 sidx = STA_BROADCAST_INDEX; in plfxlc_op_tx()
328 skb_queue_tail(&tx->station[sidx].data_list, skb); in plfxlc_op_tx()
411 int sidx; in plfxlc_mac_rx() local
454 for (sidx = 0; sidx < MAX_STA_NUM - 1; sidx++) { in plfxlc_mac_rx()
458 tx->station[sidx].flag |= STATION_HEARTBEAT_FLAG; in plfxlc_mac_rx()
463 if (sidx == MAX_STA_NUM - 1) { in plfxlc_mac_rx()
464 for (sidx = 0; sidx < MAX_STA_NUM - 1; sidx++) { in plfxlc_mac_rx()
468 tx->station[sidx].flag |= STATION_CONNECTED_FLAG; in plfxlc_mac_rx()
[all …]
H A Dusb.c44 last_served_sidx = usb->sidx; in plfxlc_send_packet_from_data_queue()
46 usb->sidx = (usb->sidx + 1) % MAX_STA_NUM; in plfxlc_send_packet_from_data_queue()
50 skb = skb_peek(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue()
76 u8 sidx; in rx_urb_complete() local
136 for (sidx = 0; sidx < MAX_STA_NUM; sidx++) in rx_urb_complete()
142 for (sidx = 0; sidx < MAX_STA_NUM; sidx++) in rx_urb_complete()
143 tx->station[sidx].flag &= STATION_ACTIVE_FLAG; in rx_urb_complete()
561 int sidx; in sta_queue_cleanup_timer_callb() local
563 for (sidx = 0; sidx < MAX_STA_NUM - 1; sidx++) { in sta_queue_cleanup_timer_callb()
569 eth_zero_addr(tx->station[sidx].mac); in sta_queue_cleanup_timer_callb()
[all …]
H A Dusb.h133 u8 sidx; /* store last served */ member
/openbmc/linux/drivers/ntb/test/
H A Dntb_tool.c237 int sidx; member
1235 int sidx, pidx; in tool_init_spads() local
1244 for (sidx = 0; sidx < tc->inspad_cnt; sidx++) { in tool_init_spads()
1245 tc->inspads[sidx].sidx = sidx; in tool_init_spads()
1246 tc->inspads[sidx].pidx = -1; in tool_init_spads()
1247 tc->inspads[sidx].tc = tc; in tool_init_spads()
1259 for (sidx = 0; sidx < tc->peers[pidx].outspad_cnt; sidx++) { in tool_init_spads()
1260 tc->peers[pidx].outspads[sidx].sidx = sidx; in tool_init_spads()
1480 int pidx, widx, sidx, midx; in tool_setup_dbgfs() local
1517 for (sidx = 0; sidx < tc->inspad_cnt; sidx++) { in tool_setup_dbgfs()
[all …]
H A 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()
/openbmc/linux/include/linux/
H A Dntb.h314 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,
1321 static inline u32 ntb_spad_read(struct ntb_dev *ntb, int sidx) in ntb_spad_read() argument
1326 return ntb->ops->spad_read(ntb, sidx); in ntb_spad_read()
1344 return ntb->ops->spad_write(ntb, sidx, val); in ntb_spad_write()
1365 return ntb->ops->peer_spad_addr(ntb, pidx, sidx, spad_addr); in ntb_peer_spad_addr()
1383 return ntb->ops->peer_spad_read(ntb, pidx, sidx); in ntb_peer_spad_read()
[all …]
/openbmc/linux/drivers/ntb/hw/intel/
H A 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,
H A 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()
/openbmc/linux/drivers/phy/microchip/
H A Dsparx5_serdes.c692 __func__, macro->speed, macro->sidx, in sparx5_sd10g28_get_mode_preset()
1643 u32 lane_index = macro->sidx; in sparx5_sd10g28_apply_params()
2193 SD_LANE_MISC(macro->sidx)); in sparx5_serdes_clock_config()
2229 macro->sidx, in sparx5_serdes_config()
2243 macro->sidx, err); in sparx5_serdes_config()
2323 macro->sidx, err); in sparx5_serdes_reset()
2391 macro->sidx = idx; in sparx5_phy_create()
2396 macro->stpidx = macro->sidx; in sparx5_phy_create()
2516 unsigned int sidx; in sparx5_serdes_xlate() local
2521 sidx = args->args[0]; in sparx5_serdes_xlate()
[all …]
H A Dsparx5_serdes.h38 u32 sidx; member
/openbmc/qemu/hw/ppc/
H A Dppc440_uc.c599 int width, i, sidx, didx; in dcr_write_dma() local
604 sidx = didx = 0; in dcr_write_dma()
617 sidx = didx = count * width; in dcr_write_dma()
620 for (sidx = didx = i = 0; i < count; i++) { in dcr_write_dma()
621 uint64_t v = ldn_le_p(rptr + sidx, width); in dcr_write_dma()
624 sidx += width; in dcr_write_dma()
636 cpu_physical_memory_unmap(rptr, rlen, 0, sidx); in dcr_write_dma()
/openbmc/linux/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c760 int sidx) in switchtec_ntb_peer_spad_read() argument
767 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) in switchtec_ntb_peer_spad_read()
773 return ioread32(&sndev->peer_shared->spad[sidx]); in switchtec_ntb_peer_spad_read()
777 int sidx, u32 val) in switchtec_ntb_peer_spad_write() argument
784 if (sidx < 0 || sidx >= ARRAY_SIZE(sndev->peer_shared->spad)) in switchtec_ntb_peer_spad_write()
790 iowrite32(val, &sndev->peer_shared->spad[sidx]); in switchtec_ntb_peer_spad_write()
796 int sidx, phys_addr_t *spad_addr) in switchtec_ntb_peer_spad_addr() argument
804 offset = (unsigned long)&sndev->peer_shared->spad[sidx] - in switchtec_ntb_peer_spad_addr()
/openbmc/linux/drivers/ntb/hw/amd/
H A 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()
/openbmc/linux/drivers/hwmon/
H A Dasus-ec-sensors.c870 int sidx = find_ec_sensor_index(state, type, channel); in asus_ec_hwmon_read() local
872 if (sidx < 0) { in asus_ec_hwmon_read()
873 return sidx; in asus_ec_hwmon_read()
876 ret = get_cached_value_or_update(dev, sidx, state, &value); in asus_ec_hwmon_read()
879 get_sensor_info(state, sidx)->type); in asus_ec_hwmon_read()
/openbmc/linux/kernel/bpf/
H A Dverifier.c5889 int next_insn, sidx; in check_max_stack_depth_subprog() local
5899 sidx = find_subprog(env, next_insn); in check_max_stack_depth_subprog()
5900 if (sidx < 0) { in check_max_stack_depth_subprog()
5905 if (subprog[sidx].is_async_cb) { in check_max_stack_depth_subprog()
5906 if (subprog[sidx].has_tail_call) { in check_max_stack_depth_subprog()
5915 idx = sidx; in check_max_stack_depth_subprog()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.h4117 a_sle32 sidx; member
H A Dwmi.c6488 ev->freq_offset, ev->sidx); in ath12k_wmi_pdev_dfs_radar_detected_event()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a64.c4880 unsigned didx, sidx; in trans_INS_element() local
4885 sidx = a->si >> esz; in trans_INS_element()
4889 read_vec_element(s, tmp, a->rn, sidx, esz); in trans_INS_element()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.h4831 s32 sidx; member
H A Dwmi.c8338 ev->freq_offset, ev->sidx); in ath11k_wmi_pdev_dfs_radar_detected_event()