Lines Matching defs:budget

90 MODULE_PARM_DESC(budgetpatch, "use budget-patch hardware modification: default 0 (0 no, 1 autodetect, 2 always)");
1174 /* simplified code from budget-core.c */
1175 static int stop_ts_capture(struct av7110 *budget)
1177 dprintk(2, "budget: %p\n", budget);
1179 if (--budget->feeding1)
1180 return budget->feeding1;
1181 saa7146_write(budget->dev, MC1, MASK_20); /* DMA3 off */
1182 SAA7146_IER_DISABLE(budget->dev, MASK_10);
1183 SAA7146_ISR_CLEAR(budget->dev, MASK_10);
1187 static int start_ts_capture(struct av7110 *budget)
1191 dprintk(2, "budget: %p\n", budget);
1193 if (budget->feeding1)
1194 return ++budget->feeding1;
1196 memset(budget->grabbing + y * TS_WIDTH, 0x00, TS_WIDTH);
1197 budget->ttbp = 0;
1198 SAA7146_ISR_CLEAR(budget->dev, MASK_10); /* VPE */
1199 SAA7146_IER_ENABLE(budget->dev, MASK_10); /* VPE */
1200 saa7146_write(budget->dev, MC1, (MASK_04 | MASK_20)); /* DMA3 on */
1201 return ++budget->feeding1;
1207 struct av7110 *budget = demux->priv;
1210 dprintk(2, "av7110: %p\n", budget);
1212 spin_lock(&budget->feedlock1);
1214 status = start_ts_capture(budget);
1215 spin_unlock(&budget->feedlock1);
1222 struct av7110 *budget = demux->priv;
1225 dprintk(2, "budget: %p\n", budget);
1227 spin_lock(&budget->feedlock1);
1228 status = stop_ts_capture(budget);
1229 spin_unlock(&budget->feedlock1);
1235 struct av7110 *budget = from_tasklet(budget, t, vpe_tasklet);
1236 u8 *mem = (u8 *) (budget->grabbing);
1237 u32 olddma = budget->ttbp;
1238 u32 newdma = saa7146_read(budget->dev, PCI_VDP3);
1239 struct dvb_demux *demux = budget->full_ts ? &budget->demux : &budget->demux1;
1247 budget->ttbp = newdma;
1249 if (!budget->feeding1 || (newdma == olddma))
1253 pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE);
1259 saa7146_read(budget->dev, EC1R) & 0x3fff);
1360 printk("dvb-ttpci: additional demux1 for budget-patch registered\n");
2295 * GPIO3 is in budget-patch hardware connectd to port B VSYNC
2328 * counting in this budget-patch.c
2332 * hardware debug note: a working budget card (including budget patch)
2343 * The same behaviour of missing VSYNC can be duplicated on budget
2364 /* autodetect the presence of budget patch
2372 * in budget patch GPIO3 is connected to VSYNC_B