Home
last modified time | relevance | path

Searched refs:budget (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/linux/drivers/media/pci/ttpci/
A Dbudget-core.c63 if (!budget->feeding || !budget->fe_synced) in start_ts_capture()
125 if (budget->buffer_size > budget->buffer_height * budget->buffer_width) { in start_ts_capture()
151 struct budget *budget = fe->dvb->priv; in budget_read_fe_status() local
177 struct budget *budget = from_work(budget, t, vpe_bh_work); in vpeirq() local
314 struct budget *budget = demux->priv; in budget_start_feed() local
333 struct budget *budget = demux->priv; in budget_stop_feed() local
422 memset(budget, 0, sizeof(struct budget)); in ttpci_budget_init()
463 budget->buffer_size = 2 * budget->buffer_height * budget->buffer_width; in ttpci_budget_init()
466 budget->buffer_size = budget->buffer_height * budget->buffer_width; in ttpci_budget_init()
582 struct budget *budget = dev->ext_priv; in ttpci_budget_irq10_handler() local
[all …]
A Dbudget.c152 struct budget *budget = fe->dvb->priv; in siemens_budget_set_voltage() local
160 struct budget *budget = fe->dvb->priv; in budget_set_tone() local
180 struct budget *budget = fe->dvb->priv; in budget_diseqc_send_master_cmd() local
190 struct budget *budget = fe->dvb->priv; in budget_diseqc_send_burst() local
200 struct budget *budget = fe->dvb->priv; in alps_bsrv2_tuner_set_params() local
243 struct budget *budget = fe->dvb->priv; in alps_tdbe2_tuner_set_params() local
272 struct budget *budget = fe->dvb->priv; in grundig_29504_401_tuner_set_params() local
331 struct budget *budget = fe->dvb->priv; in grundig_29504_451_tuner_set_params() local
356 struct budget *budget = fe->dvb->priv; in s5h1420_tuner_set_params() local
788 struct budget *budget = NULL; in budget_attach() local
[all …]
A Dbudget-ci.c95 struct budget budget; member
361 if (!budget_ci->budget.ci_present) in ciintf_interrupt()
409 if (!budget_ci->budget.ci_present) in ciintf_poll_slot_status()
509 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 Dbudget-av.c54 struct budget budget; member
351 budget_av->budget.ci_present = 1; in ciintf_init()
417 struct budget *budget = &budget_av->budget; in saa7113_init() local
443 struct budget *budget = &budget_av->budget; in saa7113_setinput() local
498 struct budget *budget = fe->dvb->priv; in philips_su1278_ty_ci_tuner_set_params() local
611 struct budget *budget = fe->dvb->priv; in philips_cu1216_tuner_set_params() local
675 struct budget *budget = fe->dvb->priv; in philips_tu1216_tuner_init() local
692 struct budget *budget = fe->dvb->priv; in philips_tu1216_tuner_set_params() local
776 struct budget *budget = fe->dvb->priv; in philips_tu1216_request_firmware() local
1257 &budget_av->budget.i2c_adap); in frontend_init()
[all …]
A Dbudget.h44 struct budget { struct
123 extern int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev,
126 extern void ttpci_budget_init_hooks(struct budget *budget);
127 extern int ttpci_budget_deinit(struct budget *budget);
130 extern int ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count,
132 extern int ttpci_budget_debiwrite(struct budget *budget, u32 config, int addr, int count, u32 value,
A DMakefile6 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/gpu/drm/nouveau/nvkm/subdev/bios/
A Dpower_budget.c65 if (!bios || !budget) in nvbios_power_budget_header()
86 budget->cap_entry = 0xff; in nvbios_power_budget_header()
90 budget->offset = header; in nvbios_power_budget_header()
91 budget->ver = ver; in nvbios_power_budget_header()
92 budget->hlen = hdr; in nvbios_power_budget_header()
93 budget->elen = len; in nvbios_power_budget_header()
94 budget->ecount = cnt; in nvbios_power_budget_header()
96 budget->cap_entry = cap_entry; in nvbios_power_budget_header()
108 if (!bios || !budget || !budget->offset || idx >= budget->ecount in nvbios_power_budget_entry()
112 entry_offset = budget->offset + budget->hlen + idx * budget->elen; in nvbios_power_budget_entry()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_txrx.c124 int mlx5e_napi_poll(struct napi_struct *napi, int budget) in mlx5e_napi_poll() argument
150 busy |= mlx5e_poll_tx_cq(&c->sq[i].cq, budget); in mlx5e_napi_poll()
160 busy |= mlx5e_poll_tx_cq(&sq->cq, budget); in mlx5e_napi_poll()
165 if (unlikely(!budget)) in mlx5e_napi_poll()
174 work_done = mlx5e_poll_rx_cq(&xskrq->cq, budget); in mlx5e_napi_poll()
176 if (likely(budget - work_done)) in mlx5e_napi_poll()
179 busy |= work_done == budget; in mlx5e_napi_poll()
189 if (unlikely(mlx5e_ktls_rx_pending_resync_list(c, budget))) in mlx5e_napi_poll()
190 busy |= mlx5e_ktls_rx_handle_resync_list(c, budget); in mlx5e_napi_poll()
205 work_done = budget; in mlx5e_napi_poll()
[all …]
/linux/include/trace/events/
A Dnapi.h16 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 Dnetdev.c95 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/mellanox/mlx5/core/en_accel/
A Dktls_txrx.h44 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()
68 mlx5e_ktls_rx_handle_resync_list(struct mlx5e_channel *c, int budget) in mlx5e_ktls_rx_handle_resync_list() argument
74 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 Ddp_rx.h68 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget);
70 struct napi_struct *napi, int budget);
72 int budget);
75 int budget);
85 struct napi_struct *napi, int budget);
87 struct napi_struct *napi, int budget);
/linux/drivers/net/ethernet/ti/
A Dcpsw_priv.c144 if (unlikely(txv->budget > budget - num_tx)) in cpsw_tx_mq_poll()
150 if (num_tx >= budget) in cpsw_tx_mq_poll()
154 if (num_tx < budget) { in cpsw_tx_mq_poll()
168 if (num_tx < budget) { in cpsw_tx_poll()
194 if (unlikely(rxv->budget > budget - num_rx)) in cpsw_rx_mq_poll()
397 txv[i].budget++; in cpsw_split_res()
414 budget -= txv[i].budget; in cpsw_split_res()
417 if (budget) in cpsw_split_res()
418 txv[bigest_rate_ch].budget += budget; in cpsw_split_res()
428 if (budget) in cpsw_split_res()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
A Didpf_singleq_txrx.c433 u32 budget = tx_q->clean_budget; in idpf_tx_singleq_clean() local
494 budget--; in idpf_tx_singleq_clean()
505 } while (likely(budget)); in idpf_tx_singleq_clean()
526 return !!budget; in idpf_tx_singleq_clean()
544 budget_per_q = num_txq ? max(budget / num_txq, 1) : 0; in idpf_tx_singleq_clean_all()
968 while (likely(total_rx_pkts < (unsigned int)budget)) { in idpf_rx_singleq_clean()
1061 return failure ? budget : (int)total_rx_pkts; in idpf_rx_singleq_clean()
1111 if (budget <= 0) { in idpf_vport_singleq_napi_poll()
1114 return budget; in idpf_vport_singleq_napi_poll()
1125 return budget; in idpf_vport_singleq_napi_poll()
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_txrx.h14 int ionic_rx_napi(struct napi_struct *napi, int budget);
15 int ionic_tx_napi(struct napi_struct *napi, int budget);
16 int ionic_txrx_napi(struct napi_struct *napi, int budget);
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_trace.h62 TP_PROTO(struct napi_struct *napi, struct i40e_q_vector *q, int budget,
66 TP_ARGS(napi, q, budget, budget_per_ring, rx_cleaned, tx_cleaned,
70 __field(int, budget)
84 __entry->budget = budget;
102 __get_bitmask(irq_affinity), __entry->curr_cpu, __entry->budget,
/linux/drivers/infiniband/core/
A Dcq.c92 static int __ib_process_cq(struct ib_cq *cq, int budget, struct ib_wc *wcs, in __ib_process_cq() argument
105 budget - completed), wcs)) > 0) { in __ib_process_cq()
117 if (n != batch || (budget != -1 && completed >= budget)) in __ib_process_cq()
138 int ib_process_cq_direct(struct ib_cq *cq, int budget) in ib_process_cq_direct() argument
142 return __ib_process_cq(cq, budget, wcs, IB_POLL_BATCH_DIRECT); in ib_process_cq_direct()
151 static int ib_poll_handler(struct irq_poll *iop, int budget) in ib_poll_handler() argument
157 completed = __ib_process_cq(cq, budget, cq->wc, IB_POLL_BATCH); in ib_poll_handler()
158 if (completed < budget) { in ib_poll_handler()
/linux/Documentation/networking/
A Dnapi.rst63 called to process the events/packets. The method takes a ``budget``
65 packets but should only process up to ``budget`` number of
70 pool or XDP cannot be used at all when ``budget`` is 0.
71 skb Tx processing should happen regardless of the ``budget``, but if
76 The ``budget`` argument may be 0 if core tries to only process
80 has outstanding work to do (e.g. ``budget`` was exhausted)
81 the poll method should return exactly ``budget``. In that case,
92 The case of finishing all events and using exactly ``budget``
96 or return ``budget - 1``.
140 if (budget && napi_complete_done(&v->napi, work_done)) {
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
A Dtx.c64 bool mlx5e_xsk_tx(struct mlx5e_xdpsq *sq, unsigned int budget) in mlx5e_xsk_tx() argument
74 for (; budget; budget--) { in mlx5e_xsk_tx()
137 return !(budget && work_done); in mlx5e_xsk_tx()
/linux/drivers/staging/media/av7110/
A Dav7110.c1167 if (--budget->feeding1) in stop_ts_capture()
1168 return budget->feeding1; in stop_ts_capture()
1181 if (budget->feeding1) in start_ts_capture()
1182 return ++budget->feeding1; in start_ts_capture()
1185 budget->ttbp = 0; in start_ts_capture()
1189 return ++budget->feeding1; in start_ts_capture()
1223 struct av7110 *budget = from_tasklet(budget, t, vpe_tasklet); in vpeirq() local
1225 u32 olddma = budget->ttbp; in vpeirq()
1227 struct dvb_demux *demux = budget->full_ts ? &budget->demux : &budget->demux1; in vpeirq()
1235 budget->ttbp = newdma; in vpeirq()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfd3/
A Dxsk.c115 nfp_nfd3_xsk_rx(struct nfp_net_rx_ring *rx_ring, int budget, in nfp_nfd3_xsk_rx() argument
128 while (pkts_polled < budget) { in nfp_nfd3_xsk_rx()
387 int nfp_nfd3_xsk_poll(struct napi_struct *napi, int budget) in nfp_nfd3_xsk_poll() argument
393 pkts_polled = nfp_nfd3_xsk_rx(r_vec->rx_ring, budget, &skbs); in nfp_nfd3_xsk_poll()
395 if (pkts_polled < budget) { in nfp_nfd3_xsk_poll()
397 nfp_nfd3_tx_complete(r_vec->tx_ring, budget); in nfp_nfd3_xsk_poll()
400 pkts_polled = budget; in nfp_nfd3_xsk_poll()
404 if (pkts_polled < budget && napi_complete_done(napi, skbs)) in nfp_nfd3_xsk_poll()
A Dnfd3.h94 void nfp_nfd3_tx_complete(struct nfp_net_tx_ring *tx_ring, int budget);
95 int nfp_nfd3_poll(struct napi_struct *napi, int budget);
104 int nfp_nfd3_xsk_poll(struct napi_struct *napi, int budget);
/linux/drivers/net/ethernet/sunplus/
A Dspl2sw_int.h9 int spl2sw_rx_poll(struct napi_struct *napi, int budget);
10 int spl2sw_tx_poll(struct napi_struct *napi, int budget);
A Dspl2sw_int.c17 int spl2sw_rx_poll(struct napi_struct *napi, int budget) in spl2sw_rx_poll() argument
24 int budget_left = budget; in spl2sw_rx_poll()
135 return budget - budget_left; in spl2sw_rx_poll()
138 int spl2sw_tx_poll(struct napi_struct *napi, int budget) in spl2sw_tx_poll() argument
143 int budget_left = budget; in spl2sw_tx_poll()
208 return budget - budget_left; in spl2sw_tx_poll()
/linux/drivers/net/wireless/ath/ath12k/
A Ddp_mon.h86 int *budget, enum dp_monitor_mode monitor_mode,
89 struct napi_struct *napi, int budget,
105 struct napi_struct *napi, int *budget);

Completed in 61 milliseconds

12345678910>>...17