/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/net/wireless/purelifi/plfxlc/ |
D | mac.c | 304 u8 sidx; in plfxlc_op_tx() local 308 for (sidx = 0; sidx < MAX_STA_NUM; sidx++) { in plfxlc_op_tx() 309 if (!(tx->station[sidx].flag & STATION_CONNECTED_FLAG)) in plfxlc_op_tx() 311 if (memcmp(tx->station[sidx].mac, dst_mac, ETH_ALEN)) in plfxlc_op_tx() 319 sidx = STA_BROADCAST_INDEX; in plfxlc_op_tx() 322 if (skb_queue_len(&tx->station[sidx].data_list) > 60) in plfxlc_op_tx() 326 if (skb_queue_len(&tx->station[sidx].data_list) > 256) 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() [all …]
|
D | usb.c | 44 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() 47 if (!(tx->station[usb->sidx].flag & STATION_CONNECTED_FLAG)) in plfxlc_send_packet_from_data_queue() 49 if (!(tx->station[usb->sidx].flag & STATION_FIFO_FULL_FLAG)) in plfxlc_send_packet_from_data_queue() 50 skb = skb_peek(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue() 51 } while ((usb->sidx != last_served_sidx) && (!skb)); in plfxlc_send_packet_from_data_queue() 54 skb = skb_dequeue(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue() 57 if (skb_queue_len(&tx->station[usb->sidx].data_list) <= 60) 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() [all …]
|
D | usb.h | 133 u8 sidx; /* store last served */ member
|
/linux-6.6.21/drivers/ntb/test/ |
D | ntb_tool.c | 237 int sidx; member 1162 ntb_spad_read(spad->tc->ntb, spad->sidx)); in tool_spad_read() 1183 ret = ntb_spad_write(spad->tc->ntb, spad->sidx, val); in tool_spad_write() 1203 ntb_peer_spad_read(spad->tc->ntb, spad->pidx, spad->sidx)); in tool_peer_spad_read() 1224 ret = ntb_peer_spad_write(spad->tc->ntb, spad->pidx, spad->sidx, val); in tool_peer_spad_write() 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() [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()
|
/linux-6.6.21/include/linux/ |
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, 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() 1339 static inline int ntb_spad_write(struct ntb_dev *ntb, int sidx, u32 val) in ntb_spad_write() argument 1344 return ntb->ops->spad_write(ntb, sidx, val); in ntb_spad_write() 1359 static inline int ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, in ntb_peer_spad_addr() argument [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/phy/microchip/ |
D | sparx5_serdes.c | 692 __func__, macro->speed, macro->sidx, in sparx5_sd10g28_get_mode_preset() 1643 u32 lane_index = macro->sidx; in sparx5_sd10g28_apply_params() 2126 sparx5_sd10g28_reset(macro->priv->regs, macro->sidx); in sparx5_sd10g28_config() 2162 sd_lane_inst = sdx5_inst_get(priv, TARGET_SD_LANE, macro->sidx); in sparx5_serdes_power_save() 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() 2300 if (macro->sidx < SPX5_SERDES_10G_START && speed > SPEED_5000) in sparx5_serdes_set_speed() 2302 if (macro->sidx < SPX5_SERDES_25G_START && speed > SPEED_10000) in sparx5_serdes_set_speed() 2323 macro->sidx, err); in sparx5_serdes_reset() [all …]
|
D | sparx5_serdes.h | 38 u32 sidx; member
|
/linux-6.6.21/drivers/ntb/hw/mscc/ |
D | ntb_hw_switchtec.c | 760 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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/hwmon/ |
D | asus-ec-sensors.c | 870 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()
|
/linux-6.6.21/kernel/bpf/ |
D | verifier.c | 5878 int next_insn, sidx; in check_max_stack_depth_subprog() local 5888 sidx = find_subprog(env, next_insn); in check_max_stack_depth_subprog() 5889 if (sidx < 0) { in check_max_stack_depth_subprog() 5894 if (subprog[sidx].is_async_cb) { in check_max_stack_depth_subprog() 5895 if (subprog[sidx].has_tail_call) { in check_max_stack_depth_subprog() 5904 idx = sidx; in check_max_stack_depth_subprog()
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | wmi.h | 4116 a_sle32 sidx; member
|
D | wmi.c | 6483 ev->freq_offset, ev->sidx); in ath12k_wmi_pdev_dfs_radar_detected_event()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | wmi.h | 4831 s32 sidx; member
|
D | wmi.c | 8338 ev->freq_offset, ev->sidx); in ath11k_wmi_pdev_dfs_radar_detected_event()
|