Home
last modified time | relevance | path

Searched refs:cbs (Results 1 – 25 of 68) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_binding.c125 static int vmw_binding_emit_dirty(struct vmw_ctx_binding_state *cbs);
284 vmw_cbs_context(const struct vmw_ctx_binding_state *cbs) in vmw_cbs_context() argument
286 if (list_empty(&cbs->list)) in vmw_cbs_context()
289 return list_first_entry(&cbs->list, struct vmw_ctx_bindinfo, in vmw_cbs_context()
302 vmw_binding_loc(struct vmw_ctx_binding_state *cbs, in vmw_binding_loc() argument
308 return (struct vmw_ctx_bindinfo *)((u8 *) cbs + offset); in vmw_binding_loc()
337 void vmw_binding_add(struct vmw_ctx_binding_state *cbs, in vmw_binding_add() argument
342 vmw_binding_loc(cbs, bi->bt, shader_slot, slot); in vmw_binding_add()
350 list_add(&loc->ctx_list, &cbs->list); in vmw_binding_add()
360 void vmw_binding_add_uav_index(struct vmw_ctx_binding_state *cbs, uint32 slot, in vmw_binding_add_uav_index() argument
[all …]
Dvmwgfx_binding.h217 extern void vmw_binding_add(struct vmw_ctx_binding_state *cbs,
220 extern void vmw_binding_add_uav_index(struct vmw_ctx_binding_state *cbs,
227 extern int vmw_binding_rebind_all(struct vmw_ctx_binding_state *cbs);
228 extern void vmw_binding_state_kill(struct vmw_ctx_binding_state *cbs);
229 extern void vmw_binding_state_scrub(struct vmw_ctx_binding_state *cbs);
232 extern void vmw_binding_state_free(struct vmw_ctx_binding_state *cbs);
234 vmw_binding_state_list(struct vmw_ctx_binding_state *cbs);
235 extern void vmw_binding_state_reset(struct vmw_ctx_binding_state *cbs);
Dvmwgfx_context.c37 struct vmw_ctx_binding_state *cbs; member
154 vmw_binding_state_kill(uctx->cbs); in vmw_hw_context_destroy()
205 uctx->cbs = vmw_binding_state_alloc(dev_priv); in vmw_gb_context_init()
206 if (IS_ERR(uctx->cbs)) { in vmw_gb_context_init()
207 ret = PTR_ERR(uctx->cbs); in vmw_gb_context_init()
391 vmw_binding_state_scrub(uctx->cbs); in vmw_gb_context_unbind()
557 vmw_binding_state_scrub(uctx->cbs); in vmw_dx_context_scrub_cotables()
691 if (ctx->cbs) in vmw_user_context_free()
692 vmw_binding_state_free(ctx->cbs); in vmw_user_context_free()
838 return vmw_binding_state_list(uctx->cbs); in vmw_context_binding_list()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Ddisasm.c16 static const char *__func_get_name(const struct bpf_insn_cbs *cbs, in __func_get_name() argument
27 if (cbs && cbs->cb_call) in __func_get_name()
28 return cbs->cb_call(cbs->private_data, insn); in __func_get_name()
36 static const char *__func_imm_name(const struct bpf_insn_cbs *cbs, in __func_imm_name() argument
40 if (cbs && cbs->cb_imm) in __func_imm_name()
41 return cbs->cb_imm(cbs->private_data, insn, full_imm); in __func_imm_name()
117 void print_bpf_insn(const struct bpf_insn_cbs *cbs, in print_bpf_insn() argument
121 const bpf_insn_print_t verbose = cbs->cb_print; in print_bpf_insn()
127 verbose(cbs->private_data, "BUG_alu64_%02x\n", insn->code); in print_bpf_insn()
129 print_bpf_end_insn(verbose, cbs->private_data, insn); in print_bpf_insn()
[all …]
Ddisasm.h37 void print_bpf_insn(const struct bpf_insn_cbs *cbs,
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_police.c27 u32 cir = 0, cbs = 0, pir = 0, pbs = 0; in qos_policer_conf_set() local
48 cbs = conf->cbs; in qos_policer_conf_set()
49 if (cir == 0 && cbs == 0) { in qos_policer_conf_set()
55 cbs = DIV_ROUND_UP(cbs, 4096); in qos_policer_conf_set()
56 cbs = (cbs ? cbs : 1); /* No zero burst size */ in qos_policer_conf_set()
122 if (cbs > cbs_max) { in qos_policer_conf_set()
124 port, cbs, cbs_max); in qos_policer_conf_set()
147 ANA_POL_CIR_CFG_CIR_BURST(cbs), in qos_policer_conf_set()
Docelot_police.h27 u32 cbs; /* CBS in bytes/frames (ignored in SLB mode) */ member
/kernel/linux/linux-5.10/net/sched/
Dsch_cbs.c252 struct tc_cbs_qopt_offload cbs = { }; in cbs_disable_offload() local
266 cbs.queue = q->queue; in cbs_disable_offload()
267 cbs.enable = 0; in cbs_disable_offload()
269 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_CBS, &cbs); in cbs_disable_offload()
272 cbs.queue); in cbs_disable_offload()
280 struct tc_cbs_qopt_offload cbs = { }; in cbs_enable_offload() local
288 cbs.queue = q->queue; in cbs_enable_offload()
290 cbs.enable = 1; in cbs_enable_offload()
291 cbs.hicredit = opt->hicredit; in cbs_enable_offload()
292 cbs.locredit = opt->locredit; in cbs_enable_offload()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c55 const struct qed_ll2_cb_ops *cbs; member
80 if (cdev->ll2->cbs && cdev->ll2->cbs->tx_cb) in qed_ll2b_complete_tx_packet()
81 cdev->ll2->cbs->tx_cb(cdev->ll2->cb_cookie, skb, in qed_ll2b_complete_tx_packet()
196 if (cdev->ll2->cbs && cdev->ll2->cbs->rx_cb) { in qed_ll2b_complete_rx_packet()
200 cdev->ll2->cbs->rx_cb(cdev->ll2->cb_cookie, skb, in qed_ll2b_complete_rx_packet()
308 p_ll2_conn->cbs.tx_release_cb(p_ll2_conn->cbs.cookie, in qed_ll2_txq_flush()
372 p_ll2_conn->cbs.tx_comp_cb(p_ll2_conn->cbs.cookie, in qed_ll2_txq_completion()
434 if (!p_ll2_conn->cbs.slowpath_cb) { in qed_ll2_handle_slowpath()
442 p_ll2_conn->cbs.slowpath_cb(p_ll2_conn->cbs.cookie, in qed_ll2_handle_slowpath()
490 p_ll2_conn->cbs.rx_comp_cb(p_ll2_conn->cbs.cookie, &data); in qed_ll2_rxq_handle_completion()
[all …]
Dqed_ll2.h116 struct qed_ll2_cbs cbs; member
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgru_instructions.h638 struct gru_control_block_status *cbs = (void *)cb; in gru_get_cb_status() local
640 return cbs->istatus; in gru_get_cb_status()
646 struct gru_control_block_status *cbs = (void *)cb; in gru_get_cb_message_queue_substatus() local
648 return cbs->isubstatus & CBSS_MSG_QUEUE_MASK; in gru_get_cb_message_queue_substatus()
654 struct gru_control_block_status *cbs = (void *)cb; in gru_get_cb_substatus() local
656 return cbs->isubstatus; in gru_get_cb_substatus()
667 struct gru_control_block_status *cbs = (void *)cb; in gru_check_status() local
670 ret = cbs->istatus; in gru_check_status()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dxlated_dumper.c209 const struct bpf_insn_cbs cbs = { in dump_xlated_json() local
258 print_bpf_insn(&cbs, insn + i, true); in dump_xlated_json()
294 const struct bpf_insn_cbs cbs = { in dump_xlated_plain() local
340 print_bpf_insn(&cbs, insn + i, true); in dump_xlated_plain()
357 const struct bpf_insn_cbs cbs = { in dump_xlated_for_graph() local
369 print_bpf_insn(&cbs, cur, true); in dump_xlated_for_graph()
/kernel/linux/linux-5.10/kernel/rcu/
Dtree_stall.h690 unsigned long cbs = 0; in show_rcu_gp_kthreads() local
732 cbs += data_race(rdp->n_cbs_invoked); in show_rcu_gp_kthreads()
736 pr_info("RCU callbacks invoked since boot: %lu\n", cbs); in show_rcu_gp_kthreads()
806 unsigned long cbs; in rcu_fwd_progress_check() local
825 cbs = rcu_get_n_cbs_cpu(cpu); in rcu_fwd_progress_check()
826 if (!cbs) in rcu_fwd_progress_check()
830 pr_cont(" %d: %lu", cpu, cbs); in rcu_fwd_progress_check()
831 if (cbs <= max_cbs) in rcu_fwd_progress_check()
833 max_cbs = cbs; in rcu_fwd_progress_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
Darb.c58 int found, mclk_extra, mclk_loop, cbs, m1, p1; in nv04_calc_arb() local
69 cbs = 128; in nv04_calc_arb()
92 m1 = clwm + cbs - 512; in nv04_calc_arb()
103 fifo->burst = cbs; in nv04_calc_arb()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/
De100.c534 struct param_range cbs; member
556 struct cb *cbs; member
1039 struct param_range cbs = { .min = 64, .max = 256, .count = 128 }; in e100_get_defaults() local
1047 nic->params.cbs = cbs; in e100_get_defaults()
1824 (int)(((void*)cb - (void*)nic->cbs)/sizeof(struct cb)), in e100_tx_clean()
1854 if (nic->cbs) { in e100_clean_cbs()
1855 while (nic->cbs_avail != nic->params.cbs.count) { in e100_clean_cbs()
1867 dma_pool_free(nic->cbs_pool, nic->cbs, nic->cbs_dma_addr); in e100_clean_cbs()
1868 nic->cbs = NULL; in e100_clean_cbs()
1873 nic->cbs; in e100_clean_cbs()
[all …]
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c1699 if (!priv->cbs[i].idle_slope && !priv->cbs[i].send_slope) in sja1105_find_unused_cbs_shaper()
1711 struct sja1105_cbs_entry *cbs = &priv->cbs[i]; in sja1105_delete_cbs_shaper() local
1713 if (cbs->port == port && cbs->prio == prio) { in sja1105_delete_cbs_shaper()
1714 memset(cbs, 0, sizeof(*cbs)); in sja1105_delete_cbs_shaper()
1716 i, cbs, true); in sja1105_delete_cbs_shaper()
1727 struct sja1105_cbs_entry *cbs; in sja1105_setup_tc_cbs() local
1737 cbs = &priv->cbs[index]; in sja1105_setup_tc_cbs()
1738 cbs->port = port; in sja1105_setup_tc_cbs()
1739 cbs->prio = offload->queue; in sja1105_setup_tc_cbs()
1743 cbs->credit_hi = offload->hicredit; in sja1105_setup_tc_cbs()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c266 struct qed_ll2_cbs cbs; in qedr_ll2_start() local
270 cbs.rx_comp_cb = qedr_ll2_complete_rx_packet; in qedr_ll2_start()
271 cbs.tx_comp_cb = qedr_ll2_complete_tx_packet; in qedr_ll2_start()
272 cbs.rx_release_cb = qedr_ll2_release_rx_packet; in qedr_ll2_start()
273 cbs.tx_release_cb = qedr_ll2_complete_tx_packet; in qedr_ll2_start()
274 cbs.cookie = dev; in qedr_ll2_start()
289 data.cbs = &cbs; in qedr_ll2_start()
/kernel/linux/linux-5.10/drivers/video/fbdev/nvidia/
Dnv_hw.c246 int found, mclk_extra, mclk_loop, cbs, m1, p1; in nv4CalcArbitration() local
263 cbs = 128; in nv4CalcArbitration()
304 cbs * 1000 * 1000 / 16 / nvclk_freq; in nv4CalcArbitration()
307 cbs * 1000 * 1000 / (8 * width) / in nv4CalcArbitration()
341 m1 = clwm + cbs - 512; in nv4CalcArbitration()
420 int found, mclk_extra, mclk_loop, cbs, m1; in nv10CalcArbitration() local
441 cbs = 512; in nv10CalcArbitration()
559 cbs = 512; in nv10CalcArbitration()
572 m1 = clwm + cbs - 1024; /* Amount of overfill */ in nv10CalcArbitration()
583 if (cbs <= 32) { in nv10CalcArbitration()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c182 struct tc_cbs_qopt_offload *cbs = type_data; in enetc_setup_tc_cbs() local
189 u8 tc = cbs->queue; in enetc_setup_tc_cbs()
201 if (!cbs->enable) { in enetc_setup_tc_cbs()
219 if (cbs->idleslope - cbs->sendslope != port_transmit_rate * 1000L || in enetc_setup_tc_cbs()
220 cbs->idleslope < 0 || cbs->sendslope > 0) in enetc_setup_tc_cbs()
225 bw = cbs->idleslope / (port_transmit_rate * 10UL); in enetc_setup_tc_cbs()
405 u32 cbs; member
877 fmi_config->cbs = cpu_to_le32(fmi->cbs); in enetc_flowmeter_hw_set()
1242 fmi->cbs = entryp->police.burst; in enetc_psfp_parse_clsflower()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-dcb.c132 ets->cbs = pdata->ets->cbs; in xgbe_dcb_ieee_getets()
/kernel/linux/linux-5.10/drivers/video/fbdev/riva/
Driva_hw.c661 int found, mclk_extra, mclk_loop, cbs, m1, p1; in nv4CalcArbitration() local
681 cbs = 128; in nv4CalcArbitration()
722 video_fill_us = cbs*1000*1000 / 16 / nvclk_freq ; in nv4CalcArbitration()
724 video_fill_us = cbs*1000*1000 / (8 * width) / mclk_freq; in nv4CalcArbitration()
755 m1 = clwm + cbs - 512; in nv4CalcArbitration()
848 int found, mclk_extra, mclk_loop, cbs, m1; in nv10CalcArbitration() local
873 cbs = 512; in nv10CalcArbitration()
1003 cbs = 512; in nv10CalcArbitration()
1004 us_extra = (cbs * 1000 * 1000)/ (8*width)/mclk_freq ; in nv10CalcArbitration()
1019 m1 = clwm + cbs - 1024; /* Amount of overfill */ in nv10CalcArbitration()
[all …]
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/
Dxor.h73 u32 cbs; /* status */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c44 ets->cbs = dcbxcfg->etscfg.cbs; in i40e_dcbnl_ieee_getets()
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/ti/
Dcpsw.rst232 $ tc qdisc add dev eth0 parent 100:1 cbs locredit -1438 \
240 $ tc qdisc add dev eth0 parent 100:2 cbs locredit -1468 \
454 $ tc qdisc add dev eth0 parent 100:1 cbs locredit -1470 \
461 $ tc qdisc add dev eth0 parent 100:2 cbs locredit -1470 \
514 $ tc qdisc add dev eth1 parent 100:3 cbs locredit -1035 \
522 $ tc qdisc add dev eth1 parent 100:4 cbs locredit -1335 \
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_dcbnl.c17 ets->cbs = 0; in fm10k_dcbnl_ieee_getets()

123