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

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/ttpci/
H A Dbudget-core.c2 * budget-core.c: driver for the SAA7146 based Budget DVB cards
39 #include "budget.h"
58 MODULE_PARM_DESC(debug, "Turn on/off budget debugging (default:off).");
62 * TT budget / WinTV Nova
65 static int stop_ts_capture(struct budget *budget) argument
67 dprintk(2, "budget: %p\n", budget);
69 saa7146_write(budget->dev, MC1, MASK_20); // DMA3 off
70 SAA7146_IER_DISABLE(budget
74 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) argument
547 ttpci_budget_init_hooks(struct budget *budget) argument
555 ttpci_budget_deinit(struct budget *budget) argument
576 struct budget *budget = (struct budget *) dev->ext_priv; local
586 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"
42 #define budget_patch budget
57 /* those lines are for budget-patch to be tried
58 ** on a true budget card and observe the
60 ** this code was shamelessly copy/pasted from budget.c
62 static void gpio_Set22K (struct budget *budget, int state) argument
64 struct saa7146_dev *dev=budget->dev;
65 dprintk(2, "budget
73 DiseqcSendBit(struct budget *budget, int data) argument
84 DiseqcSendByte(struct budget *budget, int data) argument
99 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) argument
132 struct budget* budget = (struct budget*) fe->dvb->priv; local
152 struct budget* budget = (struct budget*) fe->dvb->priv; local
161 struct budget* budget = (struct budget*) fe->dvb->priv; local
168 budget_av7110_send_fw_cmd(struct budget_patch *budget, u16* buf, int length) argument
189 av7110_set22k(struct budget_patch *budget, int state) argument
197 av7110_send_diseqc_msg(struct budget_patch *budget, int len, u8 *msg, int burst) argument
225 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
245 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
254 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
263 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
299 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local
321 frontend_init(struct budget_patch* budget) argument
379 struct budget_patch *budget; local
622 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"
53 static void Set22K (struct budget *budget, int state) argument
55 struct saa7146_dev *dev=budget->dev;
56 dprintk(2, "budget: %p\n", budget);
64 static void DiseqcSendBit (struct budget *budget, int data) argument
66 struct saa7146_dev *dev=budget
75 DiseqcSendByte(struct budget *budget, int data) argument
90 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) argument
125 SetVoltage_Activy(struct budget *budget, fe_sec_voltage_t voltage) argument
152 struct budget* budget = (struct budget*) fe->dvb->priv; local
159 struct budget* budget = (struct budget*) fe->dvb->priv; local
179 struct budget* budget = (struct budget*) fe->dvb->priv; local
188 struct budget* budget = (struct budget*) fe->dvb->priv; local
197 struct budget* budget = (struct budget*) fe->dvb->priv; local
233 struct budget* budget = (struct budget*) fe->dvb->priv; local
260 struct budget* budget = (struct budget*) fe->dvb->priv; local
297 struct budget* budget = (struct budget*) fe->dvb->priv; local
320 struct budget* budget = (struct budget*) fe->dvb->priv; local
356 read_pwm(struct budget* budget) argument
369 frontend_init(struct budget *budget) argument
486 struct budget *budget = NULL; local
514 struct budget *budget = (struct budget*) dev->ext_priv; local
[all...]
H A Dbudget.h32 struct budget { struct
109 extern int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev,
112 extern void ttpci_budget_init_hooks(struct budget *budget);
113 extern int ttpci_budget_deinit(struct budget *budget);
116 extern int ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count,
118 extern int ttpci_budget_debiwrite(struct budget *budge
[all...]
H A DMakefile8 obj-$(CONFIG_DVB_BUDGET) += budget-core.o budget.o ttpci-eeprom.o
9 obj-$(CONFIG_DVB_BUDGET_AV) += budget-core.o budget-av.o ttpci-eeprom.o
10 obj-$(CONFIG_DVB_BUDGET_CI) += budget-core.o budget-ci.o ttpci-eeprom.o
11 obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-core.o budget-patch.o ttpci-eeprom.o
H A Dbudget-ci.c2 * budget-ci.c: driver for the SAA7146 based Budget DVB cards
40 #include "budget.h"
107 struct budget budget; member in struct:budget_ci
126 u32 command = ttpci_budget_debiread(&budget_ci->budget, DEBINOSWAP, DEBIADDR_IR, 2, 1, 0) >> 8;
181 struct saa7146_dev *saa = budget_ci->budget.dev;
212 switch (budget_ci->budget.dev->pci->subsystem_device) {
280 struct saa7146_dev *saa = budget_ci->budget.dev;
300 return ttpci_budget_debiread(&budget_ci->budget, DEBICICAM,
311 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
36 #include "budget.h"
61 struct budget budget; member in struct:budget_av
139 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI);
142 result = ttpci_budget_debiread(&budget_av->budget, DEBICICAM, address & 0xfff, 1, 0, 1);
145 printk(KERN_INFO "budget-av: cam ejected 1\n");
158 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI);
161 result = ttpci_budget_debiwrite(&budget_av->budget, DEBICICAM, address & 0xfff, 1, value, 0, 1);
164 printk(KERN_INFO "budget
421 struct budget *budget = &budget_av->budget; local
447 struct budget *budget = &budget_av->budget; local
501 struct budget *budget = (struct budget *) fe->dvb->priv; local
613 struct budget *budget = (struct budget *) fe->dvb->priv; local
672 struct budget *budget = (struct budget *) fe->dvb->priv; local
688 struct budget *budget = (struct budget *) fe->dvb->priv; local
772 struct budget *budget = (struct budget *) fe->dvb->priv; local
837 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)");
1155 /* simplified code from budget-core.c */
1156 static int stop_ts_capture(struct av7110 *budget) argument
1158 dprintk(2, "budget: %p\n", budget);
1160 if (--budget->feeding1)
1161 return budget->feeding1;
1162 saa7146_write(budget->dev, MC1, MASK_20); /* DMA3 off */
1163 SAA7146_IER_DISABLE(budget->dev, MASK_10);
1164 SAA7146_ISR_CLEAR(budget
1168 start_ts_capture(struct av7110 *budget) argument
1185 struct av7110 *budget = demux->priv; local
1200 struct av7110 *budget = demux->priv; local
1213 struct av7110 *budget = (struct av7110 *) data; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/
H A DMakefile5 obj-y := dvb-core/ frontends/ ttpci/ ttusb-dec/ ttusb-budget/ b2c2/ bt8xx/ cinergyT2/ dvb-usb/ pluto2/
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/ttusb-budget/
H A DMakefile1 obj-$(CONFIG_DVB_TTUSB_BUDGET) += dvb-ttusb-budget.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/bzip2/
H A Dblocksort.c352 Int32* budget )
464 (*budget)--;
492 Int32* budget )
515 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
529 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
543 ptr[j-h]+d, v+d, block, quadrant, nblock, budget
552 if (*budget < 0) return;
628 Int32* budget )
651 mainSimpleSort ( ptr, block, quadrant, nblock, lo, hi, d, budget );
652 if (*budget <
1040 Int32 budget; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ixp2000/
H A Dixpdev.c77 static int ixpdev_rx(struct net_device *dev, int *budget) argument
79 while (*budget > 0) {
126 (*budget)--;
133 static int ixpdev_poll(struct net_device *dev, int *budget) argument
140 if (ixpdev_rx(dev, budget))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ibm_emac/
H A Dibm_emac_mal.c276 static int mal_poll(struct net_device *ndev, int *budget) argument
280 int rx_work_limit = min(ndev->quota, *budget), received = 0, done;
282 MAL_DBG2("%d: poll(%d) %d ->" NL, mal->def->index, *budget,
339 *budget -= received;
341 MAL_DBG2("%d: poll() %d <- %d" NL, mal->def->index, *budget,
H A Dibm_emac_mal.h177 int (*poll_rx) (void *dev, int budget);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dinterrupt.c109 int tulip_poll(struct net_device *dev, int *budget) argument
113 int rx_work_limit = *budget;
300 *budget -= received;
331 *budget -= received;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dgt64240eth.c121 static int gt64240_poll(struct net_device *dev, int *budget);
122 static int gt64240_rx(struct net_device *dev, u32 status, int budget);
1322 static int gt64240_poll(struct net_device *dev, int *budget) argument
1334 orig_budget = *budget;
1339 *budget -= work_done;
1456 gt64240_rx(struct net_device *dev, u32 status, int budget) argument
1479 if (budget <= 0)
1482 budget--;
H A Depic100.c296 static int epic_rx(struct net_device *dev, int budget);
297 static int epic_poll(struct net_device *dev, int *budget);
1146 static int epic_rx(struct net_device *dev, int budget) argument
1157 if (rx_work_limit > budget)
1158 rx_work_limit = budget;
1256 static int epic_poll(struct net_device *dev, int *budget) argument
1262 orig_budget = (*budget > dev->quota) ? dev->quota : *budget;
1268 work_done += epic_rx(dev, *budget);
1272 *budget
[all...]
H A Dtsi108_eth.c753 static int tsi108_complete_rx(struct net_device *dev, int budget) argument
758 while (data->rxfree && done != budget) {
801 static int tsi108_refill_rx(struct net_device *dev, int budget) argument
806 while (data->rxfree != TSI108_RXRING_LEN && done != budget) {
840 static int tsi108_poll(struct net_device *dev, int *budget) argument
845 int total_budget = min(*budget, dev->quota);
860 * case, it's helpful to obey the budget, not only so that the
866 * still removing the full budget's worth of packets each time.
895 *budget -= budget_used;
H A Dmacb.c411 static int macb_rx(struct macb *bp, int budget) argument
417 for (; budget > 0; tail = NEXT_RX(tail)) {
441 budget--;
454 static int macb_poll(struct net_device *dev, int *budget) argument
473 dev_dbg(&bp->pdev->dev, "poll: status = %08lx, budget = %d\n",
474 (unsigned long)status, *budget);
484 orig_budget = *budget;
H A Dsundance.c388 int budget; member in struct:netdev_private
1140 if (np->budget < 0)
1141 np->budget = RX_BUDGET;
1263 int boguscnt = np->budget;
1339 np->budget -= received;
1348 np->budget -= received;
1349 if (np->budget <= 0)
1350 np->budget = RX_BUDGET;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/arm/
H A Dep93xx_eth.c193 static int ep93xx_rx(struct net_device *dev, int *budget) argument
201 while (*budget > 0) {
279 (*budget)--;
296 static int ep93xx_poll(struct net_device *dev, int *budget) argument
306 if (ep93xx_rx(dev, budget))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fec_8xx/
H A Dfec_main.c468 static int fec_enet_rx_common(struct net_device *dev, int *budget) argument
481 rx_work_limit = min(dev->quota, *budget);
608 *budget -= received;
958 static int fec_enet_poll(struct net_device *dev, int *budget) argument
960 return fec_enet_rx_common(dev, budget);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dinet_connection_sock.c414 int i, budget; local
450 budget = 2 * (lopt->nr_table_entries / (timeout / interval));
481 } while (--budget > 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dsge.c1549 * @budget: polling budget
1557 static int ofld_poll(struct net_device *dev, int *budget) argument
1562 int work_done, limit = min(*budget, dev->quota), avail = limit;
1572 *budget -= work_done;
1606 *budget -= work_done;
1895 * @budget: how many responses can be processed in this round
1897 * Process responses from an SGE response queue up to the supplied budget.
1900 * A negative budget is effectively unlimited.
1907 int budget)
1906 process_responses(struct adapter *adap, struct sge_qset *qs, int budget) argument
2065 napi_rx_handler(struct net_device *dev, int *budget) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/netxen/
H A Dnetxen_nic_main.c73 static int netxen_nic_poll(struct net_device *dev, int *budget);
1221 static int netxen_nic_poll(struct net_device *netdev, int *budget) argument
1224 int work_to_do = min(*budget, netdev->quota);
1230 DPRINTK(INFO, "polling for %d descriptors\n", *budget);
1253 *budget -= work_done;

Completed in 181 milliseconds

123