/drivers/media/dvb/ttpci/ |
H A D | budget-core.c | 2 * 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 D | budget-patch.c | 2 * 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 D | budget.c | 2 * budget.c: driver for the SAA7146 based Budget DVB cards 37 #include "budget.h" 60 static void Set22K (struct budget *budget, int state) argument 62 struct saa7146_dev *dev=budget->dev; 63 dprintk(2, "budget: %p\n", budget); 71 static void DiseqcSendBit (struct budget *budget, int data) argument 73 struct saa7146_dev *dev=budget 82 DiseqcSendByte(struct budget *budget, int data) argument 97 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) argument 133 SetVoltage_Activy(struct budget *budget, fe_sec_voltage_t voltage) argument 160 struct budget* budget = (struct budget*) fe->dvb->priv; local 167 struct budget* budget = (struct budget*) fe->dvb->priv; local 187 struct budget* budget = (struct budget*) fe->dvb->priv; local 196 struct budget* budget = (struct budget*) fe->dvb->priv; local 206 struct budget* budget = (struct budget*) fe->dvb->priv; local 248 struct budget* budget = (struct budget*) fe->dvb->priv; local 276 struct budget *budget = fe->dvb->priv; local 334 struct budget* budget = (struct budget*) fe->dvb->priv; local 358 struct budget* budget = (struct budget*) fe->dvb->priv; local 419 struct budget *budget = (struct budget *)fe->dvb->priv; local 436 read_pwm(struct budget* budget) argument 488 frontend_init(struct budget *budget) argument 705 struct budget *budget = NULL; local 734 struct budget *budget = (struct budget*) dev->ext_priv; local [all...] |
H A D | Makefile | 13 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 D | budget.h | 33 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 D | budget-ci.c | 2 * 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 D | budget-av.c | 2 * 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 D | av7110.c | 108 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/dvb/ttusb-budget/ |
H A D | Makefile | 1 obj-$(CONFIG_DVB_TTUSB_BUDGET) += dvb-ttusb-budget.o
|
/drivers/media/dvb/ |
H A D | Makefile | 9 ttusb-budget/ \
|
/drivers/net/ethernet/xscale/ixp2000/ |
H A D | ixpdev.c | 78 static int ixpdev_rx(struct net_device *dev, int processed, int budget) argument 80 while (processed < budget) { 130 static int ixpdev_poll(struct napi_struct *napi, int budget) argument 140 rx = ixpdev_rx(dev, rx, budget); 141 if (rx >= budget)
|
/drivers/staging/octeon/ |
H A D | ethernet-rx.c | 231 * @budget: Maximum number of packets to receive. 235 static int cvm_oct_napi_poll(struct napi_struct *napi, int budget) argument 263 while (rx_count < budget) { 287 if (USE_ASYNC_IOBDMA && rx_count < (budget - 1)) { 303 if (backlog > budget * cores_in_use && napi != NULL) 482 if (rx_count < budget && napi != NULL) {
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 1627 * @budget: how many responses can be processed in this round 1630 * the supplied budget. Responses include received packets as well as 1637 int process_responses(struct sge_rspq *rspq, int budget) argument 1640 int budget_left = budget; 1752 return budget - budget_left; 1758 * @budget: how many packets we can process in this round 1766 static int napi_rx_handler(struct napi_struct *napi, int budget) argument 1770 int work_done = process_responses(rspq, budget); 1772 if (likely(work_done < budget)) { 1988 unsigned int i, budget; local [all...] |
/drivers/net/ethernet/ibm/emac/ |
H A D | mal.c | 395 static int mal_poll(struct napi_struct *napi, int budget) argument 402 MAL_DBG2(mal, "poll(%d)" NL, budget); 422 n = mc->ops->poll_rx(mc->dev, budget); 425 budget -= n; 426 if (budget <= 0) 451 if (budget > 0) 460 MAL_DBG2(mal, "poll() %d <- %d" NL, budget, received);
|
/drivers/net/ethernet/dec/tulip/ |
H A D | interrupt.c | 106 int tulip_poll(struct napi_struct *napi, int budget) argument 121 if (budget >=RX_RING_SIZE) budget--; 149 if (++work_done >= budget)
|
/drivers/net/ethernet/tundra/ |
H A D | tsi108_eth.c | 750 static int tsi108_complete_rx(struct net_device *dev, int budget) argument 755 while (data->rxfree && done != budget) { 797 static int tsi108_refill_rx(struct net_device *dev, int budget) argument 802 while (data->rxfree != TSI108_RXRING_LEN && done != budget) { 835 static int tsi108_poll(struct napi_struct *napi, int budget) argument 850 num_received = tsi108_complete_rx(dev, budget); 855 * case, it's helpful to obey the budget, not only so that the 861 * still removing the full budget's worth of packets each time. 865 num_filled = tsi108_refill_rx(dev, budget * 2); 888 if (num_received < budget) { [all...] |
/drivers/s390/net/ |
H A D | qeth_l2_main.c | 408 int budget, int *done) 416 BUG_ON(!budget); 417 while (budget) { 453 budget--; 460 static int qeth_l2_poll(struct napi_struct *napi, int budget) argument 466 int new_budget = budget; 518 if (work_done >= budget) 521 new_budget = budget - work_done; 407 qeth_l2_process_inbound_buffer(struct qeth_card *card, int budget, int *done) argument
|
/drivers/net/wan/ |
H A D | hd64572.c | 59 static int sca_poll(struct napi_struct *napi, int budget); 234 static inline int sca_rx_done(port_t *port, int budget) argument 250 while (received < budget) { 329 static int sca_poll(struct napi_struct *napi, int budget) argument 342 received = sca_rx_done(port, budget); 344 if (received < budget) {
|
/drivers/net/ethernet/cadence/ |
H A D | macb.c | 463 static int macb_rx(struct macb *bp, int budget) argument 469 for (; budget > 0; tail = NEXT_RX(tail)) { 493 budget--; 506 static int macb_poll(struct napi_struct *napi, int budget) argument 517 netdev_dbg(bp->dev, "poll: status = %08lx, budget = %d\n", 518 (unsigned long)status, budget); 520 work_done = macb_rx(bp, budget); 521 if (work_done < budget) {
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1678 * @budget: how many responses can be processed in this round 1680 * Process responses from an SGE response queue up to the supplied budget. 1688 static int process_responses(struct sge_rspq *q, int budget) argument 1691 int budget_left = budget; 1766 return budget - budget_left; 1772 * @budget: how many packets we can process in this round 1780 static int napi_rx_handler(struct napi_struct *napi, int budget) argument 1784 int work_done = process_responses(q, budget); 1786 if (likely(work_done < budget)) { 1934 unsigned int i, budget; local [all...] |
/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 553 static int rxq_process(struct rx_queue *rxq, int budget) argument 562 while (rx < budget && rxq->rx_desc_count) { 649 if (rx < budget) 655 static int rxq_refill(struct rx_queue *rxq, int budget) argument 661 while (refilled < budget && rxq->rx_desc_count < rxq->rx_ring_size) { 706 if (refilled < budget) 934 static int txq_reclaim(struct tx_queue *txq, int budget, int force) argument 943 while (reclaimed < budget && txq->tx_desc_count > 0) { 995 if (reclaimed < budget) 2130 static int mv643xx_eth_poll(struct napi_struct *napi, int budget) argument [all...] |
/drivers/net/ethernet/cirrus/ |
H A D | ep93xx_eth.c | 232 static int ep93xx_rx(struct net_device *dev, int processed, int budget) argument 236 while (processed < budget) { 320 static int ep93xx_poll(struct napi_struct *napi, int budget) argument 327 rx = ep93xx_rx(dev, rx, budget); 328 if (rx < budget) {
|
/drivers/net/ethernet/ |
H A D | ethoc.c | 598 static int ethoc_poll(struct napi_struct *napi, int budget) argument 604 rx_work_done = ethoc_rx(priv->netdev, budget); 605 tx_work_done = ethoc_tx(priv->netdev, budget); 607 if (rx_work_done < budget && tx_work_done < budget) {
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_rx.c | 529 int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int budget) argument 684 if (++polled == budget) { 685 /* We are here because we reached the NAPI budget - 714 int mlx4_en_poll_rx_cq(struct napi_struct *napi, int budget) argument 721 done = mlx4_en_process_rx_cq(dev, cq, budget); 724 if (done == budget)
|
/drivers/media/rc/keymaps/ |
H A D | Makefile | 19 rc-budget-ci-old.o \
|