/linux/drivers/media/pci/ttpci/ |
A D | budget-core.c | 62 if (!budget->feeding || !budget->fe_synced) in start_ts_capture() 124 if (budget->buffer_size > budget->buffer_height * budget->buffer_width) { in start_ts_capture() 150 struct budget *budget = (struct budget *) fe->dvb->priv; in budget_read_fe_status() local 176 struct budget *budget = from_tasklet(budget, t, vpe_tasklet); in vpeirq() local 311 struct budget *budget = (struct budget *) demux->priv; in budget_start_feed() local 330 struct budget *budget = (struct budget *) demux->priv; in budget_stop_feed() local 419 memset(budget, 0, sizeof(struct budget)); in ttpci_budget_init() 460 budget->buffer_size = 2 * budget->buffer_height * budget->buffer_width; in ttpci_budget_init() 463 budget->buffer_size = budget->buffer_height * budget->buffer_width; in ttpci_budget_init() 573 struct budget *budget = (struct budget *) dev->ext_priv; in ttpci_budget_irq10_handler() local [all …]
|
A D | budget.c | 147 struct budget* budget = (struct budget*) fe->dvb->priv; in siemens_budget_set_voltage() local 155 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_set_tone() local 175 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_diseqc_send_master_cmd() local 185 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_diseqc_send_burst() local 195 struct budget* budget = (struct budget*) fe->dvb->priv; in alps_bsrv2_tuner_set_params() local 237 struct budget* budget = (struct budget*) fe->dvb->priv; in alps_tdbe2_tuner_set_params() local 323 struct budget* budget = (struct budget*) fe->dvb->priv; in grundig_29504_451_tuner_set_params() local 347 struct budget* budget = (struct budget*) fe->dvb->priv; in s5h1420_tuner_set_params() local 408 struct budget *budget = (struct budget *)fe->dvb->priv; in alps_tdhd1_204_request_firmware() local 774 struct budget *budget = NULL; in budget_attach() local [all …]
|
A D | budget-ci.c | 93 struct budget budget; member 359 if (!budget_ci->budget.ci_present) in ciintf_interrupt() 407 if (!budget_ci->budget.ci_present) in ciintf_poll_slot_status() 510 budget_ci->budget.ci_present = 1; in ciintf_init() 1304 budget_ci->budget.dvb_frontend = in frontend_init() 1308 budget_ci->budget.dvb_frontend->tuner_priv = &budget_ci->budget.i2c_adap; in frontend_init() 1314 budget_ci->budget.dvb_frontend = in frontend_init() 1324 budget_ci->budget.dvb_frontend = in frontend_init() 1334 budget_ci->budget.dvb_frontend = in frontend_init() 1358 budget_ci->budget.dvb_frontend->tuner_priv = &budget_ci->budget.i2c_adap; in frontend_init() [all …]
|
A D | budget-av.c | 53 struct budget budget; member 348 budget_av->budget.ci_present = 1; in ciintf_init() 413 struct budget *budget = &budget_av->budget; in saa7113_init() local 439 struct budget *budget = &budget_av->budget; in saa7113_setinput() local 493 struct budget *budget = (struct budget *) fe->dvb->priv; in philips_su1278_ty_ci_tuner_set_params() local 606 struct budget *budget = (struct budget *) fe->dvb->priv; in philips_cu1216_tuner_set_params() local 670 struct budget *budget = (struct budget *) fe->dvb->priv; in philips_tu1216_tuner_init() local 687 struct budget *budget = (struct budget *) fe->dvb->priv; in philips_tu1216_tuner_set_params() local 771 struct budget *budget = (struct budget *) fe->dvb->priv; in philips_tu1216_request_firmware() local 1254 &budget_av->budget.i2c_adap); in frontend_init() [all …]
|
A D | budget.h | 38 struct budget { struct 117 extern int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, 120 extern void ttpci_budget_init_hooks(struct budget *budget); 121 extern int ttpci_budget_deinit(struct budget *budget); 124 extern int ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count, 126 extern int ttpci_budget_debiwrite(struct budget *budget, u32 config, int addr, int count, u32 value,
|
A D | Makefile | 6 obj-$(CONFIG_DVB_BUDGET_CORE) += budget-core.o 7 obj-$(CONFIG_DVB_BUDGET) += budget.o 8 obj-$(CONFIG_DVB_BUDGET_AV) += budget-av.o 9 obj-$(CONFIG_DVB_BUDGET_CI) += budget-ci.o
|
/linux/drivers/staging/media/av7110/ |
A D | budget-patch.c | 27 #define budget_patch budget 47 static void gpio_Set22K (struct budget *budget, int state) in gpio_Set22K() argument 58 static void DiseqcSendBit (struct budget *budget, int data) in DiseqcSendBit() argument 69 static void DiseqcSendByte (struct budget *budget, int data) in DiseqcSendByte() argument 118 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_set_tone() local 138 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_diseqc_send_master_cmd() local 148 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_diseqc_send_burst() local 337 budget->dvb_frontend->tuner_priv = &budget->i2c_adap; in frontend_init() 592 kfree(budget); in budget_patch_attach() 613 budget->dvb_adapter.priv = budget; in budget_patch_attach() [all …]
|
A D | av7110.c | 1179 if (--budget->feeding1) in stop_ts_capture() 1180 return budget->feeding1; in stop_ts_capture() 1193 if (budget->feeding1) in start_ts_capture() 1194 return ++budget->feeding1; in start_ts_capture() 1197 budget->ttbp = 0; in start_ts_capture() 1201 return ++budget->feeding1; in start_ts_capture() 1235 struct av7110 *budget = from_tasklet(budget, t, vpe_tasklet); in vpeirq() local 1237 u32 olddma = budget->ttbp; in vpeirq() 1239 struct dvb_demux *demux = budget->full_ts ? &budget->demux : &budget->demux1; in vpeirq() 1247 budget->ttbp = newdma; in vpeirq() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
A D | power_budget.c | 66 if (!bios || !budget) in nvbios_power_budget_header() 87 budget->cap_entry = 0xff; in nvbios_power_budget_header() 91 budget->offset = header; in nvbios_power_budget_header() 92 budget->ver = ver; in nvbios_power_budget_header() 93 budget->hlen = hdr; in nvbios_power_budget_header() 94 budget->elen = len; in nvbios_power_budget_header() 95 budget->ecount = cnt; in nvbios_power_budget_header() 97 budget->cap_entry = cap_entry; in nvbios_power_budget_header() 109 if (!bios || !budget || !budget->offset || idx >= budget->ecount in nvbios_power_budget_entry() 113 entry_offset = budget->offset + budget->hlen + idx * budget->elen; in nvbios_power_budget_entry() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_txrx.c | 113 int mlx5e_napi_poll(struct napi_struct *napi, int budget) in mlx5e_napi_poll() argument 139 busy |= mlx5e_poll_tx_cq(&c->sq[i].cq, budget); in mlx5e_napi_poll() 149 busy |= mlx5e_poll_tx_cq(&sq->cq, budget); in mlx5e_napi_poll() 160 work_done = mlx5e_poll_rx_cq(&xskrq->cq, budget); in mlx5e_napi_poll() 162 if (likely(budget - work_done)) in mlx5e_napi_poll() 163 work_done += mlx5e_poll_rx_cq(&rq->cq, budget - work_done); in mlx5e_napi_poll() 165 busy |= work_done == budget; in mlx5e_napi_poll() 176 if (unlikely(mlx5e_ktls_rx_pending_resync_list(c, budget))) in mlx5e_napi_poll() 177 busy |= mlx5e_ktls_rx_handle_resync_list(c, budget); in mlx5e_napi_poll() 192 work_done = budget; in mlx5e_napi_poll() [all …]
|
/linux/include/trace/events/ |
A D | napi.h | 16 TP_PROTO(struct napi_struct *napi, int work, int budget), 18 TP_ARGS(napi, work, budget), 24 __field( int, budget) 31 __entry->budget = budget; 36 __entry->work, __entry->budget)
|
/linux/drivers/net/wireless/ath/wil6210/ |
A D | netdev.c | 95 int quota = budget; in wil6210_netdev_poll_rx() 99 done = budget - quota; in wil6210_netdev_poll_rx() 101 if (done < budget) { in wil6210_netdev_poll_rx() 107 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, done); in wil6210_netdev_poll_rx() 116 int quota = budget; in wil6210_netdev_poll_rx_edma() 120 done = budget - quota; in wil6210_netdev_poll_rx_edma() 122 if (done < budget) { in wil6210_netdev_poll_rx_edma() 159 if (tx_done < budget) { in wil6210_netdev_poll_tx() 167 return min(tx_done, budget); in wil6210_netdev_poll_tx() 183 if (tx_done < budget) { in wil6210_netdev_poll_tx_edma() [all …]
|
/linux/drivers/net/ethernet/ti/ |
A D | cpsw_priv.c | 143 if (unlikely(txv->budget > budget - num_tx)) in cpsw_tx_mq_poll() 149 if (num_tx >= budget) in cpsw_tx_mq_poll() 153 if (num_tx < budget) { in cpsw_tx_mq_poll() 167 if (num_tx < budget) { in cpsw_tx_poll() 193 if (unlikely(rxv->budget > budget - num_rx)) in cpsw_rx_mq_poll() 396 txv[i].budget++; in cpsw_split_res() 413 budget -= txv[i].budget; in cpsw_split_res() 416 if (budget) in cpsw_split_res() 417 txv[bigest_rate_ch].budget += budget; in cpsw_split_res() 427 if (budget) in cpsw_split_res() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ktls_txrx.h | 44 bool mlx5e_ktls_rx_handle_resync_list(struct mlx5e_channel *c, int budget); 47 mlx5e_ktls_rx_pending_resync_list(struct mlx5e_channel *c, int budget) in mlx5e_ktls_rx_pending_resync_list() argument 49 return budget && test_bit(MLX5E_SQ_STATE_PENDING_TLS_RX_RESYNC, &c->async_icosq.state); in mlx5e_ktls_rx_pending_resync_list() 61 mlx5e_ktls_rx_handle_resync_list(struct mlx5e_channel *c, int budget) in mlx5e_ktls_rx_handle_resync_list() argument 67 mlx5e_ktls_rx_pending_resync_list(struct mlx5e_channel *c, int budget) in mlx5e_ktls_rx_pending_resync_list() argument
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | dp_rx.h | 67 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget); 69 struct napi_struct *napi, int budget); 71 int budget); 74 int budget); 84 struct napi_struct *napi, int budget); 86 struct napi_struct *napi, int budget);
|
A D | dp.c | 739 int budget) in ath11k_dp_service_srng() argument 756 budget -= work_done; in ath11k_dp_service_srng() 758 if (budget <= 0) in ath11k_dp_service_srng() 765 budget); in ath11k_dp_service_srng() 766 budget -= work_done; in ath11k_dp_service_srng() 769 if (budget <= 0) in ath11k_dp_service_srng() 776 budget); in ath11k_dp_service_srng() 777 budget -= work_done; in ath11k_dp_service_srng() 779 if (budget <= 0) in ath11k_dp_service_srng() 797 if (budget <= 0) in ath11k_dp_service_srng() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_xsk.h | 14 int ice_clean_rx_irq_zc(struct ice_rx_ring *rx_ring, int budget); 15 bool ice_clean_tx_irq_zc(struct ice_tx_ring *xdp_ring, int budget); 32 int __always_unused budget) in ice_clean_rx_irq_zc() argument 39 int __always_unused budget) in ice_clean_tx_irq_zc() argument
|
/linux/drivers/infiniband/core/ |
A D | cq.c | 93 static int __ib_process_cq(struct ib_cq *cq, int budget, struct ib_wc *wcs, in __ib_process_cq() argument 106 budget - completed), wcs)) > 0) { in __ib_process_cq() 118 if (n != batch || (budget != -1 && completed >= budget)) in __ib_process_cq() 139 int ib_process_cq_direct(struct ib_cq *cq, int budget) in ib_process_cq_direct() argument 143 return __ib_process_cq(cq, budget, wcs, IB_POLL_BATCH_DIRECT); in ib_process_cq_direct() 152 static int ib_poll_handler(struct irq_poll *iop, int budget) in ib_poll_handler() argument 158 completed = __ib_process_cq(cq, budget, cq->wc, IB_POLL_BATCH); in ib_poll_handler() 159 if (completed < budget) { in ib_poll_handler()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_txrx.h | 12 int ionic_rx_napi(struct napi_struct *napi, int budget); 13 int ionic_tx_napi(struct napi_struct *napi, int budget); 14 int ionic_txrx_napi(struct napi_struct *napi, int budget);
|
/linux/drivers/media/usb/ttusb-budget/ |
A D | .built-in.a.cmd | 1 …budget/built-in.a := echo >/dev/null; rm -f drivers/media/usb/ttusb-budget/built-in.a; /usr/bin/cc…
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
A D | tx.c | 67 bool mlx5e_xsk_tx(struct mlx5e_xdpsq *sq, unsigned int budget) in mlx5e_xsk_tx() argument 77 for (; budget; budget--) { in mlx5e_xsk_tx() 125 return !(budget && work_done); in mlx5e_xsk_tx()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | qplib_fp.c | 238 int budget = nq->budget; in clean_nq() local 305 int budget = nq->budget; in bnxt_qplib_service_nq() local 574 nq->budget = 8; in bnxt_qplib_alloc_nq() 2153 (*budget)--; in __flush_sq() 2201 (*budget)--; in __flush_rq() 2481 (*budget)--; in bnxt_qplib_cq_process_res_rc() 2498 (*budget)--; in bnxt_qplib_cq_process_res_rc() 2568 (*budget)--; in bnxt_qplib_cq_process_res_ud() 2586 (*budget)--; in bnxt_qplib_cq_process_res_ud() 2676 (*budget)--; in bnxt_qplib_cq_process_res_raweth_qp1() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | ptp.c | 84 int budget) in mlx5e_ptp_handle_ts_cqe() argument 101 napi_consume_skb(skb, budget); in mlx5e_ptp_handle_ts_cqe() 104 static bool mlx5e_ptp_poll_ts_cq(struct mlx5e_cq *cq, int budget) in mlx5e_ptp_poll_ts_cq() argument 121 mlx5e_ptp_handle_ts_cqe(ptpsq, cqe, budget); in mlx5e_ptp_poll_ts_cq() 129 return work_done == budget; in mlx5e_ptp_poll_ts_cq() 147 busy |= mlx5e_poll_tx_cq(&c->ptpsq[i].txqsq.cq, budget); in mlx5e_ptp_napi_poll() 148 busy |= mlx5e_ptp_poll_ts_cq(&c->ptpsq[i].ts_cq, budget); in mlx5e_ptp_napi_poll() 151 if (test_bit(MLX5E_PTP_STATE_RX, c->state) && likely(budget)) { in mlx5e_ptp_napi_poll() 152 work_done = mlx5e_poll_rx_cq(&rq->cq, budget); in mlx5e_ptp_napi_poll() 153 busy |= work_done == budget; in mlx5e_ptp_napi_poll() [all …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_io.c | 887 int budget) in qlcnic_process_cmd_ring() argument 921 if (++count >= budget) in qlcnic_process_cmd_ring() 971 budget); in qlcnic_poll() 976 work_done = budget; in qlcnic_poll() 978 if (work_done < budget) { in qlcnic_poll() 1005 work_done = budget; in qlcnic_tx_poll() 1022 if (work_done < budget) { in qlcnic_rx_poll() 1968 work_done = budget; in qlcnic_83xx_msix_sriov_vf_poll() 1970 if (work_done < budget) { in qlcnic_83xx_msix_sriov_vf_poll() 1996 work_done = budget; in qlcnic_83xx_poll() [all …]
|
/linux/net/core/ |
A D | gro_cells.c | 50 static int gro_cell_poll(struct napi_struct *napi, int budget) in gro_cell_poll() argument 56 while (work_done < budget) { in gro_cell_poll() 64 if (work_done < budget) in gro_cell_poll()
|