| /f-stack/dpdk/drivers/event/sw/ |
| H A D | sw_evdev_xstats.c | 54 case rx: return sw->stats.rx_pkts; in get_dev_stat() 253 sw->qid_count * sw->port_count * in sw_xstats_init() 257 sw->xstats = rte_zmalloc_socket(NULL, sizeof(sw->xstats[0]) * count, 0, in sw_xstats_init() 258 sw->data->socket_id); in sw_xstats_init() 259 if (sw->xstats == NULL) in sw_xstats_init() 315 sw->xstats_count_mode_port = stat - sw->xstats_count_mode_dev; in sw_xstats_init() 369 (sw->xstats_count_mode_dev + sw->xstats_count_mode_port); in sw_xstats_init() 372 sw->xstats_count = stat; in sw_xstats_init() 380 rte_free(sw->xstats); in sw_xstats_uninit() 381 sw->xstats_count = 0; in sw_xstats_uninit() [all …]
|
| H A D | sw_evdev_scheduler.c | 90 sw->cq_ring_space[cq]--; in sw_schedule_atomic_to_cq() 160 sw->cq_ring_space[cq]--; in sw_schedule_parallel_to_cq() 172 sw->ports[cq].cq_buf[sw->ports[cq].cq_buf_count++] = *qe; in sw_schedule_parallel_to_cq() 219 sw->sched_cq_qid_called++; in sw_schedule_qid_to_cq() 315 iq_enqueue(sw, iq, qe); in sw_schedule_reorder() 343 RTE_SET_USED(sw); in sw_refill_pp_buf() 496 iq_enqueue(sw, iq, qe); in sw_schedule_pull_port_dir() 518 sw->sched_called++; in sw_event_schedule() 543 sw->qid_count); in sw_event_schedule() 582 sw->cq_ring_space[i] = in sw_event_schedule() [all …]
|
| H A D | sw_evdev.c | 160 p->sw = sw; in sw_port_setup() 529 if (sw->chunks) in sw_dev_configure() 537 if (!sw->chunks) in sw_dev_configure() 542 iq_free_chunk(sw, &sw->chunks[i]); in sw_dev_configure() 629 sw->port_count, sw->qid_count); in sw_dump() 632 sw->stats.rx_pkts, sw->stats.rx_dropped, sw->stats.tx_pkts); in sw_dump() 808 sw->qids_prioritized[qidx] = &sw->qids[i]; in sw_start() 820 sw->started = 1; in sw_start() 840 while (!(sw_qids_empty(sw) && sw_ports_empty(sw))) { in sw_stop() 848 sw->started = 0; in sw_stop() [all …]
|
| H A D | iq_chunk.h | 32 iq_alloc_chunk(struct sw_evdev *sw) in iq_alloc_chunk() argument 35 sw->chunk_list_head = chunk->next; in iq_alloc_chunk() 43 chunk->next = sw->chunk_list_head; in iq_free_chunk() 44 sw->chunk_list_head = chunk; in iq_free_chunk() 53 iq_free_chunk(sw, head); in iq_free_chunk_list() 61 iq->head = iq_alloc_chunk(sw); in iq_init() 94 iq_free_chunk(sw, iq->head); in iq_pop() 134 iq_free_chunk(sw, current); in iq_dequeue_burst() 142 iq_free_chunk(sw, current); in iq_dequeue_burst() 156 iq_put_back(struct sw_evdev *sw, in iq_put_back() argument [all …]
|
| H A D | sw_evdev_worker.c | 58 struct sw_evdev *sw = (void *)p->sw; in sw_event_enqueue_burst() local 59 uint32_t sw_inflights = rte_atomic32_read(&sw->inflights); in sw_event_enqueue_burst() 60 uint32_t credit_update_quanta = sw->credit_update_quanta; in sw_event_enqueue_burst() 74 if (sw_inflights + credit_update_quanta > sw->nb_events_limit) in sw_event_enqueue_burst() 77 rte_atomic32_add(&sw->inflights, credit_update_quanta); in sw_event_enqueue_burst() 89 const uint8_t invalid_qid = (ev[i].queue_id >= sw->qid_count); in sw_event_enqueue_burst() 127 rte_atomic32_sub(&sw->inflights, credit_update_quanta); in sw_event_enqueue_burst() 150 struct sw_evdev *sw = (void *)p->sw; in sw_event_dequeue_burst() local 151 uint32_t credit_update_quanta = sw->credit_update_quanta; in sw_event_dequeue_burst() 159 rte_atomic32_sub(&sw->inflights, credit_update_quanta); in sw_event_dequeue_burst()
|
| /f-stack/dpdk/lib/librte_eventdev/ |
| H A D | rte_event_timer_adapter.c | 581 struct swtim *sw; in swtim_callback() local 629 sw->expired_timers[sw->n_expired_timers++] = tim; in swtim_callback() 742 rte_mempool_put_bulk(sw->tim_pool, (void **)sw->expired_timers, in swtim_service_func() 794 struct swtim *sw; in swtim_init() local 803 sw = rte_zmalloc_socket(swtim_name, sizeof(*sw), RTE_CACHE_LINE_SIZE, in swtim_init() 805 if (sw == NULL) { in swtim_init() 839 sw->in_use[i].v = 0; in swtim_init() 891 rte_free(sw); in swtim_init() 917 sw); in swtim_uninit() 926 rte_free(sw); in swtim_uninit() [all …]
|
| /f-stack/dpdk/drivers/net/nfp/nfpcore/ |
| H A D | nfp_rtsym.c | 50 struct nfp_rtsym *sw, struct nfp_rtsym_entry *fw) in nfp_rtsym_sw_entry_init() argument 52 sw->type = fw->type; in nfp_rtsym_sw_entry_init() 54 sw->addr = ((uint64_t)fw->addr_hi << 32) | in nfp_rtsym_sw_entry_init() 56 sw->size = ((uint64_t)fw->size_hi << 32) | in nfp_rtsym_sw_entry_init() 62 sw->name, sw->addr, sw->size, sw->target); in nfp_rtsym_sw_entry_init() 66 sw->target = NFP_RTSYM_TARGET_LMEM; in nfp_rtsym_sw_entry_init() 69 sw->target = NFP_RTSYM_TARGET_EMU_CACHE; in nfp_rtsym_sw_entry_init() 72 sw->target = fw->target; in nfp_rtsym_sw_entry_init() 77 sw->domain = nfp_meid(fw->island, fw->menum); in nfp_rtsym_sw_entry_init() 79 sw->domain = fw->island; in nfp_rtsym_sw_entry_init() [all …]
|
| /f-stack/freebsd/mips/nlm/dev/net/ucore/ |
| H A D | crt0_basic.S | 49 sw zero, 0(v0) 59 sw zero,(a1) # argv[argc] = 0 60 sw zero,(a2) # envp[0] = 0
|
| /f-stack/freebsd/opencrypto/ |
| H A D | cryptosoft.c | 106 struct swcr_encdec *sw; in swcr_encdec() local 117 sw = &ses->swcr_encdec; in swcr_encdec() 118 exf = sw->sw_exf; in swcr_encdec() 136 error = exf->setkey(sw->sw_kschedule, in swcr_encdec() 149 exf->reinit(sw->sw_kschedule, iv); in swcr_encdec() 305 axf->Setkey(sw->sw_ictx, key, klen); in swcr_authprepare() 306 axf->Init(sw->sw_ictx); in swcr_authprepare() 321 struct swcr_auth *sw; in swcr_authcompute() local 326 sw = &ses->swcr_auth; in swcr_authcompute() 328 axf = sw->sw_axf; in swcr_authcompute() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/reset/ |
| H A D | nuvoton,npcm-reset.txt | 9 - nuvoton,sw-reset-number - Contains the software reset number to restart the SoC. 12 If 'nuvoton,sw-reset-number' is not specfied software reset is disabled. 19 nuvoton,sw-reset-number = <2>;
|
| /f-stack/freebsd/kern/ |
| H A D | subr_boot.c | 144 sw = strchr(howto_switches, *opts); in boot_parse_arg() 145 if (sw == NULL) in boot_parse_arg() 147 howto |= howto_masks[sw - howto_switches]; in boot_parse_arg()
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_switch.c | 4468 struct ice_switch_info *sw) in ice_add_vlan_rule() argument 4622 struct ice_switch_info *sw) in ice_remove_eth_mac_rule() argument 5540 vlan_id, sw); in _ice_set_vlan_vsi_promisc() 5544 lport, sw); in _ice_set_vlan_vsi_promisc() 7945 struct ice_switch_info *sw; in ice_add_adv_rule() local 8120 sw = hw->switch_info; in ice_add_adv_rule() 8357 struct ice_switch_info *sw; in ice_rem_adv_rule_by_id() local 8359 sw = hw->switch_info; in ice_rem_adv_rule_by_id() 8393 struct ice_switch_info *sw; in ice_rem_adv_rule_for_vsi() local 8397 sw = hw->switch_info; in ice_rem_adv_rule_for_vsi() [all …]
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | kirkwood-topkick.dts | 63 pmx_sw_left: pmx-sw-left { 68 pmx_sw_right: pmx-sw-right { 73 pmx_sw_idle: pmx-sw-idle { 78 pmx_sw_left2: pmx-sw-left2 {
|
| /f-stack/dpdk/drivers/net/atlantic/hw_atl/ |
| H A D | hw_atl_utils.c | 424 struct aq_hw_atl_utils_fw_rpc_tid_s sw; in hw_atl_utils_fw_rpc_call() local 437 sw.tid = 0xFFFFU & (++self->rpc_tid); in hw_atl_utils_fw_rpc_call() 438 sw.len = (u16)rpc_size; in hw_atl_utils_fw_rpc_call() 439 aq_hw_write_reg(self, HW_ATL_RPC_CONTROL_ADR, sw.val); in hw_atl_utils_fw_rpc_call() 449 struct aq_hw_atl_utils_fw_rpc_tid_s sw; in hw_atl_utils_fw_rpc_wait() local 453 sw.val = aq_hw_read_reg(self, HW_ATL_RPC_CONTROL_ADR); in hw_atl_utils_fw_rpc_wait() 455 self->rpc_tid = sw.tid; in hw_atl_utils_fw_rpc_wait() 457 AQ_HW_WAIT_FOR(sw.tid == in hw_atl_utils_fw_rpc_wait() 465 err = hw_atl_utils_fw_rpc_call(self, sw.len); in hw_atl_utils_fw_rpc_wait() 469 } while (sw.tid != fw.tid || 0xFFFFU == fw.len); in hw_atl_utils_fw_rpc_wait()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/gpio/ |
| H A D | spear_spics.txt | 20 * st-spics,sw-enable-bit: bit offset to enable sw control 35 st-spics,sw-enable-bit = <12>;
|
| /f-stack/freebsd/mips/mips/ |
| H A D | mpboot.S | 79 sw zero, CALLFRAME_SIZ - 4(sp) 80 sw zero, CALLFRAME_SIZ - 8(sp)
|
| H A D | locore.S | 149 sw a2, _C_LABEL(fenvp) 201 sw zero, CALLFRAME_SIZ - 8(sp) # Zero out old fp for debugger
|
| /f-stack/freebsd/contrib/device-tree/Bindings/watchdog/ |
| H A D | alphascale-asm9260.txt | 20 "sw" - sw reset.
|
| /f-stack/freebsd/contrib/device-tree/Bindings/ata/ |
| H A D | ahci-st.txt | 17 - reset-names : Associated names must be; "pwr-dwn", "sw-rst" and "pwr-rst" 32 reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
|
| H A D | ahci-mtk.txt | 24 - reset-names : Associated names must be: "axi", "sw", "reg". 49 reset-names = "axi", "sw", "reg";
|
| /f-stack/freebsd/contrib/device-tree/Bindings/phy/ |
| H A D | phy-miphy28lp.txt | 31 - reset-names : Associated name must be "miphy-sw-rst". 66 reset-names = "miphy-sw-rst"; 82 reset-names = "miphy-sw-rst"; 95 reset-names = "miphy-sw-rst";
|
| /f-stack/dpdk/drivers/net/octeontx/base/ |
| H A D | octeontx_pki_var.h | 74 uint64_t sw : 1; member 120 uint64_t sw : 1; 228 uint64_t sw:9; member
|
| /f-stack/freebsd/contrib/device-tree/Bindings/misc/ |
| H A D | aspeed,cvic.txt | 24 - copro-sw-interrupts: List of interrupt numbers that can be used as 33 copro-sw-interrupts = <1>;
|
| /f-stack/freebsd/mips/include/ |
| H A D | asm.h | 83 sw t9,12(sp); \ 341 #define PTR_S sw 388 #define INT_S sw 434 #define LONG_S sw 471 #define REG_S sw
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-interrupt-handler.S | 112 sw k1, 0(k0) 119 sw $0, 0(k0)
|