Searched refs:budget (Results 1 - 25 of 161) sorted by relevance

1234567

/drivers/media/pci/ttpci/
H A Dbudget-core.c2 * budget-core.c: driver for the SAA7146 based Budget DVB cards
38 #include "budget.h"
57 MODULE_PARM_DESC(debug, "Turn on/off budget debugging (default:off).");
61 * TT budget / WinTV Nova
64 static int stop_ts_capture(struct budget *budget) argument
66 dprintk(2, "budget: %p\n", budget);
68 saa7146_write(budget->dev, MC1, MASK_20); // DMA3 off
69 SAA7146_IER_DISABLE(budget
73 start_ts_capture(struct budget *budget) argument
166 struct budget *budget = (struct budget *) fe->dvb->priv; local
192 struct budget *budget = (struct budget *) data; local
234 ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count, int uselocks, int nobusyloop) argument
273 ttpci_budget_debiwrite(struct budget *budget, u32 config, int addr, int count, u32 value, int uselocks, int nobusyloop) argument
317 struct budget *budget = (struct budget *) demux->priv; local
336 struct budget *budget = (struct budget *) demux->priv; local
348 budget_register(struct budget *budget) argument
395 budget_unregister(struct budget *budget) argument
411 ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, struct saa7146_pci_extension_data *info, struct module *owner, short *adapter_nums) argument
543 ttpci_budget_init_hooks(struct budget *budget) argument
551 ttpci_budget_deinit(struct budget *budget) argument
572 struct budget *budget = (struct budget *) dev->ext_priv; local
582 struct budget *budget = (struct budget *) dev->ext_priv; local
[all...]
H A Dbudget-patch.c2 * budget-patch.c: driver for Budget Patch,
35 #include "budget.h"
44 #define budget_patch budget
59 /* those lines are for budget-patch to be tried
60 ** on a true budget card and observe the
62 ** this code was shamelessly copy/pasted from budget.c
64 static void gpio_Set22K (struct budget *budget, int state) argument
66 struct saa7146_dev *dev=budget->dev;
67 dprintk(2, "budget
75 DiseqcSendBit(struct budget *budget, int data) argument
86 DiseqcSendByte(struct budget *budget, int data) argument
101 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) argument
135 struct budget* budget = (struct budget*) fe->dvb->priv; local
155 struct budget* budget = (struct budget*) fe->dvb->priv; local
164 struct budget* budget = (struct budget*) fe->dvb->priv; local
171 budget_av7110_send_fw_cmd(struct budget_patch *budget, u16* buf, int length) argument
192 av7110_set22k(struct budget_patch *budget, int state) argument
200 av7110_send_diseqc_msg(struct budget_patch *budget, int len, u8 *msg, int burst) argument
228 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
248 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
257 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
267 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
309 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
331 frontend_init(struct budget_patch* budget) argument
389 struct budget_patch *budget; local
637 struct budget_patch *budget = (struct budget_patch*) dev->ext_priv; local
[all...]
H A Dbudget.c2 * budget.c: driver for the SAA7146 based Budget DVB cards
37 #include "budget.h"
62 static void Set22K (struct budget *budget, int state) argument
64 struct saa7146_dev *dev=budget->dev;
65 dprintk(2, "budget: %p\n", budget);
73 static void DiseqcSendBit (struct budget *budget, int data) argument
75 struct saa7146_dev *dev=budget
84 DiseqcSendByte(struct budget *budget, int data) argument
99 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) argument
135 SetVoltage_Activy(struct budget *budget, fe_sec_voltage_t voltage) argument
162 struct budget* budget = (struct budget*) fe->dvb->priv; local
169 struct budget* budget = (struct budget*) fe->dvb->priv; local
189 struct budget* budget = (struct budget*) fe->dvb->priv; local
198 struct budget* budget = (struct budget*) fe->dvb->priv; local
208 struct budget* budget = (struct budget*) fe->dvb->priv; local
250 struct budget* budget = (struct budget*) fe->dvb->priv; local
278 struct budget *budget = fe->dvb->priv; local
336 struct budget* budget = (struct budget*) fe->dvb->priv; local
360 struct budget* budget = (struct budget*) fe->dvb->priv; local
421 struct budget *budget = (struct budget *)fe->dvb->priv; local
438 read_pwm(struct budget* budget) argument
490 frontend_init(struct budget *budget) argument
773 struct budget *budget = NULL; local
802 struct budget *budget = (struct budget*) dev->ext_priv; local
[all...]
H A DMakefile13 obj-$(CONFIG_DVB_BUDGET_CORE) += budget-core.o
14 obj-$(CONFIG_DVB_BUDGET) += budget.o
15 obj-$(CONFIG_DVB_BUDGET_AV) += budget-av.o
16 obj-$(CONFIG_DVB_BUDGET_CI) += budget-ci.o
17 obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-patch.o
H A Dbudget.h33 struct budget { struct
112 extern int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev,
115 extern void ttpci_budget_init_hooks(struct budget *budget);
116 extern int ttpci_budget_deinit(struct budget *budget);
119 extern int ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count,
121 extern int ttpci_budget_debiwrite(struct budget *budge
[all...]
H A Dbudget-ci.c2 * budget-ci.c: driver for the SAA7146 based Budget DVB cards
39 #include "budget.h"
110 struct budget budget; member in struct:budget_ci
123 u32 command = ttpci_budget_debiread(&budget_ci->budget, DEBINOSWAP, DEBIADDR_IR, 2, 1, 0) >> 8;
176 struct saa7146_dev *saa = budget_ci->budget.dev;
211 switch (budget_ci->budget.dev->pci->subsystem_device) {
259 struct saa7146_dev *saa = budget_ci->budget.dev;
275 return ttpci_budget_debiread(&budget_ci->budget, DEBICICAM,
286 return ttpci_budget_debiwrite(&budget_ci->budget, DEBICICA
[all...]
H A Dbudget-av.c2 * budget-av.c: driver for the SAA7146 based Budget DVB cards
38 #include "budget.h"
70 struct budget budget; member in struct:budget_av
148 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI);
151 result = ttpci_budget_debiread(&budget_av->budget, DEBICICAM, address & 0xfff, 1, 0, 1);
167 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI);
170 result = ttpci_budget_debiwrite(&budget_av->budget, DEBICICAM, address & 0xfff, 1, value, 0, 1);
186 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTLO);
189 result = ttpci_budget_debiread(&budget_av->budget, DEBICICA
430 struct budget *budget = &budget_av->budget; local
456 struct budget *budget = &budget_av->budget; local
510 struct budget *budget = (struct budget *) fe->dvb->priv; local
623 struct budget *budget = (struct budget *) fe->dvb->priv; local
687 struct budget *budget = (struct budget *) fe->dvb->priv; local
704 struct budget *budget = (struct budget *) fe->dvb->priv; local
788 struct budget *budget = (struct budget *) fe->dvb->priv; local
[all...]
H A Dav7110.c108 MODULE_PARM_DESC(budgetpatch, "use budget-patch hardware modification: default 0 (0 no, 1 autodetect, 2 always)");
1207 /* simplified code from budget-core.c */
1208 static int stop_ts_capture(struct av7110 *budget) argument
1210 dprintk(2, "budget: %p\n", budget);
1212 if (--budget->feeding1)
1213 return budget->feeding1;
1214 saa7146_write(budget->dev, MC1, MASK_20); /* DMA3 off */
1215 SAA7146_IER_DISABLE(budget->dev, MASK_10);
1216 SAA7146_ISR_CLEAR(budget
1220 start_ts_capture(struct av7110 *budget) argument
1237 struct av7110 *budget = demux->priv; local
1252 struct av7110 *budget = demux->priv; local
1265 struct av7110 *budget = (struct av7110 *)cookie; local
[all...]
/drivers/media/usb/ttusb-budget/
H A DMakefile1 obj-$(CONFIG_DVB_TTUSB_BUDGET) += dvb-ttusb-budget.o
/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c76 static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget) argument
80 int quota = budget;
84 done = budget - quota;
92 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, done);
97 static int wil6210_netdev_poll_tx(struct napi_struct *napi, int budget) argument
104 /* always process ALL Tx complete, regardless budget - it is fast */
120 wil_dbg_txrx(wil, "NAPI TX poll(%d) done %d\n", budget, tx_done);
122 return min(tx_done, budget);
/drivers/media/usb/
H A DMakefile6 obj-y += ttusb-dec/ ttusb-budget/ dvb-usb/ dvb-usb-v2/ siano/ b2c2/
/drivers/staging/octeon/
H A Dethernet-rx.c228 * @budget: Maximum number of packets to receive.
232 static int cvm_oct_napi_poll(struct napi_struct *napi, int budget) argument
260 while (rx_count < budget) {
284 if (USE_ASYNC_IOBDMA && rx_count < (budget - 1)) {
300 if (backlog > budget * cores_in_use && napi != NULL)
476 if (rx_count < budget && napi != NULL) {
/drivers/gpu/drm/i915/
H A Dintel_ddi.c451 unsigned budget; local
485 budget = 0;
492 budget = 1500;
498 budget = 2000;
509 budget = 4000;
513 budget = 5000;
516 budget = 1000;
520 return budget;
523 static void wrpll_update_rnp(uint64_t freq2k, unsigned budget, argument
545 * and we would like delta <= budget
685 unsigned budget; local
[all...]
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c884 int budget)
918 if (++count >= budget)
956 static int qlcnic_poll(struct napi_struct *napi, int budget) argument
968 budget);
969 work_done = qlcnic_process_rcv_ring(sds_ring, budget);
970 if ((work_done < budget) && tx_complete) {
981 static int qlcnic_tx_poll(struct napi_struct *napi, int budget) argument
990 work_done = qlcnic_process_cmd_ring(adapter, tx_ring, budget);
1000 static int qlcnic_rx_poll(struct napi_struct *napi, int budget) argument
1009 work_done = qlcnic_process_rcv_ring(sds_ring, budget);
882 qlcnic_process_cmd_ring(struct qlcnic_adapter *adapter, struct qlcnic_host_tx_ring *tx_ring, int budget) argument
1938 qlcnic_83xx_msix_sriov_vf_poll(struct napi_struct *napi, int budget) argument
1961 qlcnic_83xx_poll(struct napi_struct *napi, int budget) argument
1984 qlcnic_83xx_msix_tx_poll(struct napi_struct *napi, int budget) argument
2003 qlcnic_83xx_rx_poll(struct napi_struct *napi, int budget) argument
[all...]
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c606 int budget)
659 /* update budget accounting */
661 } while (likely(total_packets < budget));
673 return total_packets < budget;
1203 unsigned int budget = q_vector->tx.work_limit; local
1281 /* update budget accounting */
1282 budget--;
1283 } while (likely(budget));
1343 return !!budget;
1412 static int fm10k_poll(struct napi_struct *napi, int budget) argument
604 fm10k_clean_rx_irq(struct fm10k_q_vector *q_vector, struct fm10k_ring *rx_ring, int budget) argument
[all...]
/drivers/net/ethernet/intel/i40evf/
H A Di40e_txrx.c198 * @budget: how many cleans we're allowed
200 * Returns true if there's any budget left (e.g. the clean is finished)
202 static bool i40e_clean_tx_irq(struct i40e_ring *tx_ring, int budget) argument
283 /* update budget accounting */
284 budget--;
285 } while (likely(budget));
343 return budget > 0;
875 * @budget: how many cleans we're allowed
877 * Returns true if there's any budget left (e.g. the clean is finished)
879 static int i40e_clean_rx_irq(struct i40e_ring *rx_ring, int budget) argument
1061 i40evf_napi_poll(struct napi_struct *napi, int budget) argument
[all...]
/drivers/net/ethernet/arc/
H A Demac_main.c210 * @budget: How many BDs to process on 1 call.
216 static int arc_emac_rx(struct net_device *ndev, int budget) argument
221 for (work_done = 0; work_done < budget; work_done++) {
304 * @budget: How many BDs to process on 1 call.
308 static int arc_emac_poll(struct napi_struct *napi, int budget) argument
316 work_done = arc_emac_rx(ndev, budget);
317 if (work_done < budget) {
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c1638 * @budget: how many responses can be processed in this round
1641 * the supplied budget. Responses include received packets as well as
1648 static int process_responses(struct sge_rspq *rspq, int budget) argument
1653 int budget_left = budget;
1765 return budget - budget_left;
1771 * @budget: how many packets we can process in this round
1779 static int napi_rx_handler(struct napi_struct *napi, int budget) argument
1783 int work_done = process_responses(rspq, budget);
1785 if (likely(work_done < budget)) {
2001 unsigned int i, budget; local
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c664 * @budget: how many cleans we're allowed
666 * Returns true if there's any budget left (e.g. the clean is finished)
668 static bool i40e_clean_tx_irq(struct i40e_ring *tx_ring, int budget) argument
749 /* update budget accounting */
750 budget--;
751 } while (likely(budget));
809 return budget > 0;
1370 * @budget: how many cleans we're allowed
1372 * Returns true if there's any budget left (e.g. the clean is finished)
1374 static int i40e_clean_rx_irq(struct i40e_ring *rx_ring, int budget) argument
1577 i40e_napi_poll(struct napi_struct *napi, int budget) argument
[all...]
/drivers/net/ethernet/dec/tulip/
H A Dinterrupt.c112 int tulip_poll(struct napi_struct *napi, int budget) argument
127 if (budget >=RX_RING_SIZE) budget--;
155 if (++work_done >= budget)
/drivers/net/can/
H A Dgrcan.c462 static int grcan_poll(struct napi_struct *napi, int budget);
496 * If budget is >= 0, stop after handling at most budget skbs. Otherwise,
501 static int catch_up_echo_skb(struct net_device *dev, int budget, bool echo) argument
515 for (work_done = 0; work_done < budget || budget < 0; work_done++) {
1141 static int grcan_transmit_catch_up(struct net_device *dev, int budget) argument
1149 work_done = catch_up_echo_skb(dev, budget, true);
1167 static int grcan_receive(struct net_device *dev, int budget) argument
1182 for (work_done = 0; work_done < budget; work_don
1239 grcan_poll(struct napi_struct *napi, int budget) argument
[all...]
/drivers/net/ethernet/tundra/
H A Dtsi108_eth.c749 static int tsi108_complete_rx(struct net_device *dev, int budget) argument
754 while (data->rxfree && done != budget) {
796 static int tsi108_refill_rx(struct net_device *dev, int budget) argument
801 while (data->rxfree != TSI108_RXRING_LEN && done != budget) {
834 static int tsi108_poll(struct napi_struct *napi, int budget) argument
849 num_received = tsi108_complete_rx(dev, budget);
854 * case, it's helpful to obey the budget, not only so that the
860 * still removing the full budget's worth of packets each time.
864 num_filled = tsi108_refill_rx(dev, budget * 2);
887 if (num_received < budget) {
[all...]
/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c83 static int fs_enet_rx_napi(struct napi_struct *napi, int budget) argument
94 if (budget <= 0)
204 if (received >= budget)
210 if (received < budget) {
218 static int fs_enet_tx_napi(struct napi_struct *napi, int budget) argument
323 return budget;
/drivers/net/ethernet/ibm/emac/
H A Dmal.c397 static int mal_poll(struct napi_struct *napi, int budget) argument
404 MAL_DBG2(mal, "poll(%d)" NL, budget);
424 n = mc->ops->poll_rx(mc->dev, budget);
427 budget -= n;
428 if (budget <= 0)
460 MAL_DBG2(mal, "poll() %d <- %d" NL, budget, received);
/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c388 int budget = priv->tx_work_limit; local
406 cons_index & size) && (done < budget)) {
444 } while ((++done < budget) && (ring_index != new_index));
474 return done < budget;
489 int mlx4_en_poll_tx_cq(struct napi_struct *napi, int budget) argument
498 return budget;

Completed in 1309 milliseconds

1234567