/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_binding.c | 119 static int vmw_binding_emit_dirty(struct vmw_ctx_binding_state *cbs); 244 vmw_cbs_context(const struct vmw_ctx_binding_state *cbs) in vmw_cbs_context() argument 246 if (list_empty(&cbs->list)) in vmw_cbs_context() 249 return list_first_entry(&cbs->list, struct vmw_ctx_bindinfo, in vmw_cbs_context() 262 vmw_binding_loc(struct vmw_ctx_binding_state *cbs, in vmw_binding_loc() argument 268 return (struct vmw_ctx_bindinfo *)((u8 *) cbs + offset); in vmw_binding_loc() 297 void vmw_binding_add(struct vmw_ctx_binding_state *cbs, in vmw_binding_add() argument 302 vmw_binding_loc(cbs, bi->bt, shader_slot, slot); in vmw_binding_add() 310 list_add(&loc->ctx_list, &cbs->list); in vmw_binding_add() 321 static void vmw_binding_transfer(struct vmw_ctx_binding_state *cbs, in vmw_binding_transfer() argument [all …]
|
D | vmwgfx_binding.h | 192 extern void vmw_binding_add(struct vmw_ctx_binding_state *cbs, 200 extern int vmw_binding_rebind_all(struct vmw_ctx_binding_state *cbs); 201 extern void vmw_binding_state_kill(struct vmw_ctx_binding_state *cbs); 202 extern void vmw_binding_state_scrub(struct vmw_ctx_binding_state *cbs); 205 extern void vmw_binding_state_free(struct vmw_ctx_binding_state *cbs); 207 vmw_binding_state_list(struct vmw_ctx_binding_state *cbs); 208 extern void vmw_binding_state_reset(struct vmw_ctx_binding_state *cbs);
|
D | vmwgfx_context.c | 37 struct vmw_ctx_binding_state *cbs; member 151 vmw_binding_state_kill(uctx->cbs); in vmw_hw_context_destroy() 202 uctx->cbs = vmw_binding_state_alloc(dev_priv); in vmw_gb_context_init() 203 if (IS_ERR(uctx->cbs)) { in vmw_gb_context_init() 204 ret = PTR_ERR(uctx->cbs); in vmw_gb_context_init() 386 vmw_binding_state_scrub(uctx->cbs); in vmw_gb_context_unbind() 550 vmw_binding_state_scrub(uctx->cbs); in vmw_dx_context_scrub_cotables() 684 if (ctx->cbs) in vmw_user_context_free() 685 vmw_binding_state_free(ctx->cbs); in vmw_user_context_free() 831 return vmw_binding_state_list(uctx->cbs); in vmw_context_binding_list() [all …]
|
/Linux-v5.4/kernel/bpf/ |
D | disasm.c | 16 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 …]
|
D | disasm.h | 37 void print_bpf_insn(const struct bpf_insn_cbs *cbs,
|
/Linux-v5.4/drivers/net/ethernet/mscc/ |
D | ocelot_police.c | 37 u32 cbs; /* CBS in bytes/frames (ignored in SLB mode) */ member 47 u32 cir = 0, cbs = 0, pir = 0, pbs = 0; in qos_policer_conf_set() local 69 cbs = conf->cbs; in qos_policer_conf_set() 70 if (cir == 0 && cbs == 0) { in qos_policer_conf_set() 76 cbs = DIV_ROUND_UP(cbs, 4096); in qos_policer_conf_set() 77 cbs = (cbs ? cbs : 1); /* No zero burst size */ in qos_policer_conf_set() 140 if (cbs > cbs_max) { in qos_policer_conf_set() 164 ANA_POL_CIR_CFG_CIR_BURST(cbs), in qos_policer_conf_set()
|
/Linux-v5.4/net/sched/ |
D | sch_cbs.c | 242 struct tc_cbs_qopt_offload cbs = { }; in cbs_disable_offload() local 256 cbs.queue = q->queue; in cbs_disable_offload() 257 cbs.enable = 0; in cbs_disable_offload() 259 err = ops->ndo_setup_tc(dev, TC_SETUP_QDISC_CBS, &cbs); in cbs_disable_offload() 262 cbs.queue); in cbs_disable_offload() 270 struct tc_cbs_qopt_offload cbs = { }; in cbs_enable_offload() local 278 cbs.queue = q->queue; in cbs_enable_offload() 280 cbs.enable = 1; in cbs_enable_offload() 281 cbs.hicredit = opt->hicredit; in cbs_enable_offload() 282 cbs.locredit = opt->locredit; in cbs_enable_offload() [all …]
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_ll2.c | 81 const struct qed_ll2_cb_ops *cbs; member 106 if (cdev->ll2->cbs && cdev->ll2->cbs->tx_cb) in qed_ll2b_complete_tx_packet() 107 cdev->ll2->cbs->tx_cb(cdev->ll2->cb_cookie, skb, in qed_ll2b_complete_tx_packet() 222 if (cdev->ll2->cbs && cdev->ll2->cbs->rx_cb) { in qed_ll2b_complete_rx_packet() 226 cdev->ll2->cbs->rx_cb(cdev->ll2->cb_cookie, skb, in qed_ll2b_complete_rx_packet() 334 p_ll2_conn->cbs.tx_release_cb(p_ll2_conn->cbs.cookie, in qed_ll2_txq_flush() 395 p_ll2_conn->cbs.tx_comp_cb(p_ll2_conn->cbs.cookie, in qed_ll2_txq_completion() 457 if (!p_ll2_conn->cbs.slowpath_cb) { in qed_ll2_handle_slowpath() 465 p_ll2_conn->cbs.slowpath_cb(p_ll2_conn->cbs.cookie, in qed_ll2_handle_slowpath() 513 p_ll2_conn->cbs.rx_comp_cb(p_ll2_conn->cbs.cookie, &data); in qed_ll2_rxq_handle_completion() [all …]
|
D | qed_ll2.h | 128 struct qed_ll2_cbs cbs; member
|
D | qed_iwarp.c | 2625 struct qed_ll2_cbs cbs; in qed_iwarp_ll2_start() local 2645 cbs.rx_comp_cb = qed_iwarp_ll2_comp_syn_pkt; in qed_iwarp_ll2_start() 2646 cbs.rx_release_cb = qed_iwarp_ll2_rel_rx_pkt; in qed_iwarp_ll2_start() 2647 cbs.tx_comp_cb = qed_iwarp_ll2_comp_tx_pkt; in qed_iwarp_ll2_start() 2648 cbs.tx_release_cb = qed_iwarp_ll2_rel_tx_pkt; in qed_iwarp_ll2_start() 2649 cbs.slowpath_cb = NULL; in qed_iwarp_ll2_start() 2650 cbs.cookie = p_hwfn; in qed_iwarp_ll2_start() 2661 data.cbs = &cbs; in qed_iwarp_ll2_start() 2708 cbs.rx_comp_cb = qed_iwarp_ll2_comp_mpa_pkt; in qed_iwarp_ll2_start() 2709 cbs.slowpath_cb = qed_iwarp_ll2_slowpath; in qed_iwarp_ll2_start() [all …]
|
/Linux-v5.4/drivers/misc/sgi-gru/ |
D | gru_instructions.h | 638 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()
|
/Linux-v5.4/tools/bpf/bpftool/ |
D | xlated_dumper.c | 209 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()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 58 int found, mclk_extra, mclk_loop, cbs, m1, p1; in nv04_calc_arb() local 70 cbs = 128; in nv04_calc_arb() 94 m1 = clwm + cbs - 512; in nv04_calc_arb() 105 fifo->burst = cbs; in nv04_calc_arb()
|
/Linux-v5.4/drivers/net/ethernet/intel/ |
D | e100.c | 537 struct param_range cbs; member 559 struct cb *cbs; member 1042 struct param_range cbs = { .min = 64, .max = 256, .count = 128 }; in e100_get_defaults() local 1050 nic->params.cbs = cbs; in e100_get_defaults() 1827 (int)(((void*)cb - (void*)nic->cbs)/sizeof(struct cb)), in e100_tx_clean() 1857 if (nic->cbs) { in e100_clean_cbs() 1858 while (nic->cbs_avail != nic->params.cbs.count) { in e100_clean_cbs() 1870 dma_pool_free(nic->cbs_pool, nic->cbs, nic->cbs_dma_addr); in e100_clean_cbs() 1871 nic->cbs = NULL; in e100_clean_cbs() 1876 nic->cbs; in e100_clean_cbs() [all …]
|
/Linux-v5.4/kernel/rcu/ |
D | tree_stall.h | 662 unsigned long cbs; in rcu_fwd_progress_check() local 681 cbs = rcu_get_n_cbs_cpu(cpu); in rcu_fwd_progress_check() 682 if (!cbs) in rcu_fwd_progress_check() 686 pr_cont(" %d: %lu", cpu, cbs); in rcu_fwd_progress_check() 687 if (cbs <= max_cbs) in rcu_fwd_progress_check() 689 max_cbs = cbs; in rcu_fwd_progress_check()
|
D | srcutree.c | 515 bool cbs; in srcu_gp_end() local 546 cbs = false; in srcu_gp_end() 549 cbs = snp->srcu_have_cbs[idx] == gpseq; in srcu_gp_end() 557 if (cbs) in srcu_gp_end()
|
/Linux-v5.4/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 266 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()
|
/Linux-v5.4/drivers/video/fbdev/nvidia/ |
D | nv_hw.c | 246 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 …]
|
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dcb.c | 132 ets->cbs = pdata->ets->cbs; in xgbe_dcb_ieee_getets()
|
/Linux-v5.4/drivers/video/fbdev/riva/ |
D | riva_hw.c | 661 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 …]
|
/Linux-v5.4/drivers/dma/ppc4xx/ |
D | xor.h | 73 u32 cbs; /* status */ member
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 44 ets->cbs = dcbxcfg->etscfg.cbs; in i40e_dcbnl_ieee_getets()
|
/Linux-v5.4/Documentation/networking/device_drivers/ti/ |
D | cpsw.txt | 214 $ tc qdisc add dev eth0 parent 100:1 cbs locredit -1438 \ 221 $ tc qdisc add dev eth0 parent 100:2 cbs locredit -1468 \ 422 $ tc qdisc add dev eth0 parent 100:1 cbs locredit -1470 \ 428 $ tc qdisc add dev eth0 parent 100:2 cbs locredit -1470 \ 475 $ tc qdisc add dev eth1 parent 100:3 cbs locredit -1035 \ 482 $ tc qdisc add dev eth1 parent 100:4 cbs locredit -1335 \
|
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_dcbnl.c | 17 ets->cbs = 0; in fm10k_dcbnl_ieee_getets()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
D | qos_conf.c | 47 __be32 cbs; member 122 config->cbs = cpu_to_be32(burst); in nfp_flower_install_rate_limiter()
|