/linux-master/drivers/media/pci/ttpci/ |
H A D | budget-core.c | 3 * budget-core.c: driver for the SAA7146 based Budget DVB cards 21 #include "budget.h" 40 MODULE_PARM_DESC(debug, "Turn on/off budget debugging (default:off)."); 44 * TT budget / WinTV Nova 47 static int stop_ts_capture(struct budget *budget) argument 49 dprintk(2, "budget: %p\n", budget); 51 saa7146_write(budget->dev, MC1, MASK_20); // DMA3 off 52 SAA7146_IER_DISABLE(budget 56 start_ts_capture(struct budget *budget) argument 150 struct budget *budget = fe->dvb->priv; local 176 struct budget *budget = from_tasklet(budget, t, vpe_tasklet); local 219 ttpci_budget_debiread_nolock(struct budget *budget, u32 config, int addr, int count, int nobusyloop) argument 243 ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count, int uselocks, int nobusyloop) argument 263 ttpci_budget_debiwrite_nolock(struct budget *budget, u32 config, int addr, int count, u32 value, int nobusyloop) argument 283 ttpci_budget_debiwrite(struct budget *budget, u32 config, int addr, int count, u32 value, int uselocks, int nobusyloop) argument 311 struct budget *budget = demux->priv; local 330 struct budget *budget = demux->priv; local 342 budget_register(struct budget *budget) argument 394 budget_unregister(struct budget *budget) argument 410 ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, struct saa7146_pci_extension_data *info, struct module *owner, short *adapter_nums) argument 544 ttpci_budget_init_hooks(struct budget *budget) argument 552 ttpci_budget_deinit(struct budget *budget) argument 573 struct budget *budget = dev->ext_priv; local 583 struct budget *budget = dev->ext_priv; local [all...] |
H A D | budget.c | 3 * budget.c: driver for the SAA7146 based Budget DVB cards 20 #include "budget.h" 45 static void Set22K (struct budget *budget, int state) argument 47 struct saa7146_dev *dev=budget->dev; 48 dprintk(2, "budget: %p\n", budget); 56 static void DiseqcSendBit (struct budget *budget, int data) argument 58 struct saa7146_dev *dev=budget 67 DiseqcSendByte(struct budget *budget, int data) argument 82 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) argument 118 SetVoltage_Activy(struct budget *budget, enum fe_sec_voltage voltage) argument 147 struct budget *budget = fe->dvb->priv; local 155 struct budget *budget = fe->dvb->priv; local 175 struct budget *budget = fe->dvb->priv; local 185 struct budget *budget = fe->dvb->priv; local 195 struct budget *budget = fe->dvb->priv; local 237 struct budget *budget = fe->dvb->priv; local 265 struct budget *budget = fe->dvb->priv; local 323 struct budget *budget = fe->dvb->priv; local 347 struct budget *budget = fe->dvb->priv; local 408 struct budget *budget = fe->dvb->priv; local 425 read_pwm(struct budget* budget) argument 477 frontend_init(struct budget *budget) argument 774 struct budget *budget = NULL; local 803 struct budget *budget = dev->ext_priv; local [all...] |
H A D | Makefile | 6 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
|
H A D | budget.h | 38 struct budget { struct 117 extern int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, 120 extern void ttpci_budget_init_hooks(struct budget *budget); 121 extern int ttpci_budget_deinit(struct budget *budget); 124 extern int ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count, 126 extern int ttpci_budget_debiwrite(struct budget *budge [all...] |
H A D | budget-ci.c | 3 * budget-ci.c: driver for the SAA7146 based Budget DVB cards 22 #include "budget.h" 93 struct budget budget; member in struct:budget_ci 107 u32 command = ttpci_budget_debiread(&budget_ci->budget, DEBINOSWAP, DEBIADDR_IR, 2, 1, 0) >> 8; 161 struct saa7146_dev *saa = budget_ci->budget.dev; 196 switch (budget_ci->budget.dev->pci->subsystem_device) { 243 struct saa7146_dev *saa = budget_ci->budget.dev; 259 return ttpci_budget_debiread(&budget_ci->budget, DEBICICAM, 270 return ttpci_budget_debiwrite(&budget_ci->budget, DEBICICA [all...] |
H A D | budget-av.c | 3 * budget-av.c: driver for the SAA7146 based Budget DVB cards 21 #include "budget.h" 54 struct budget budget; member in struct:budget_av 132 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI); 135 result = ttpci_budget_debiread(&budget_av->budget, DEBICICAM, address & 0xfff, 1, 0, 1); 151 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI); 154 result = ttpci_budget_debiwrite(&budget_av->budget, DEBICICAM, address & 0xfff, 1, value, 0, 1); 170 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTLO); 173 result = ttpci_budget_debiread(&budget_av->budget, DEBICICA 414 struct budget *budget = &budget_av->budget; local 440 struct budget *budget = &budget_av->budget; local 494 struct budget *budget = fe->dvb->priv; local 607 struct budget *budget = fe->dvb->priv; local 671 struct budget *budget = fe->dvb->priv; local 688 struct budget *budget = fe->dvb->priv; local 772 struct budget *budget = fe->dvb->priv; local [all...] |
/linux-master/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_int.h | 9 int spl2sw_rx_poll(struct napi_struct *napi, int budget); 10 int spl2sw_tx_poll(struct napi_struct *napi, int budget);
|
/linux-master/drivers/staging/media/av7110/ |
H A D | budget-patch.c | 3 * budget-patch.c: driver for Budget Patch, 18 #include "budget.h" 27 #define budget_patch budget 42 /* those lines are for budget-patch to be tried 43 ** on a true budget card and observe the 45 ** this code was shamelessly copy/pasted from budget.c 47 static void gpio_Set22K (struct budget *budget, int state) argument 49 struct saa7146_dev *dev=budget->dev; 50 dprintk(2, "budget 58 DiseqcSendBit(struct budget *budget, int data) argument 69 DiseqcSendByte(struct budget *budget, int data) argument 84 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) argument 118 struct budget* budget = (struct budget*) fe->dvb->priv; local 138 struct budget* budget = (struct budget*) fe->dvb->priv; local 148 struct budget* budget = (struct budget*) fe->dvb->priv; local 155 budget_av7110_send_fw_cmd(struct budget_patch *budget, u16* buf, int length) argument 176 av7110_set22k(struct budget_patch *budget, int state) argument 184 av7110_send_diseqc_msg(struct budget_patch *budget, int len, u8 *msg, int burst) argument 213 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local 233 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local 243 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local 253 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local 295 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; local 317 frontend_init(struct budget_patch* budget) argument 375 struct budget_patch *budget; local 623 struct budget_patch *budget = (struct budget_patch*) dev->ext_priv; local [all...] |
H A D | Makefile | 13 obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-patch.o
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | power_budget.c | 60 struct nvbios_power_budget *budget) 65 if (!bios || !budget) 85 "invalid cap_entry in power budget table found\n"); 86 budget->cap_entry = 0xff; 90 budget->offset = header; 91 budget->ver = ver; 92 budget->hlen = hdr; 93 budget->elen = len; 94 budget->ecount = cnt; 96 budget 59 nvbios_power_budget_header(struct nvkm_bios *bios, struct nvbios_power_budget *budget) argument 102 nvbios_power_budget_entry(struct nvkm_bios *bios, struct nvbios_power_budget *budget, u8 idx, struct nvbios_power_budget_entry *entry) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | tx.h | 13 bool mlx5e_xsk_tx(struct mlx5e_xdpsq *sq, unsigned int budget);
|
H A D | tx.c | 64 bool mlx5e_xsk_tx(struct mlx5e_xdpsq *sq, unsigned int budget) argument 74 for (; budget; budget--) { 137 return !(budget && work_done);
|
/linux-master/drivers/media/usb/ttusb-budget/ |
H A D | Makefile | 2 obj-$(CONFIG_DVB_TTUSB_BUDGET) += dvb-ttusb-budget.o
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_txrx.h | 12 int ionic_rx_napi(struct napi_struct *napi, int budget); 13 int ionic_tx_napi(struct napi_struct *napi, int budget); 14 int ionic_txrx_napi(struct napi_struct *napi, int budget);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_txrx.h | 44 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) argument 49 return budget && test_bit(MLX5E_SQ_STATE_PENDING_TLS_RX_RESYNC, &c->async_icosq.state); 68 mlx5e_ktls_rx_handle_resync_list(struct mlx5e_channel *c, int budget) argument 74 mlx5e_ktls_rx_pending_resync_list(struct mlx5e_channel *c, int budget) argument
|
/linux-master/include/trace/events/ |
H A D | napi.h | 16 TP_PROTO(struct napi_struct *napi, int work, int budget), 18 TP_ARGS(napi, work, budget), 24 __field( int, budget) 31 __entry->budget = budget; 34 TP_printk("napi poll on napi struct %p for device %s work %d budget %d", 36 __entry->work, __entry->budget)
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.h | 67 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget); 69 struct napi_struct *napi, int budget); 71 int budget); 74 int budget); 84 struct napi_struct *napi, int budget); 86 struct napi_struct *napi, int budget);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_txrx.c | 124 int mlx5e_napi_poll(struct napi_struct *napi, int budget) argument 150 busy |= mlx5e_poll_tx_cq(&c->sq[i].cq, budget); 160 busy |= mlx5e_poll_tx_cq(&sq->cq, budget); 164 /* budget=0 means we may be in IRQ context, do as little as possible */ 165 if (unlikely(!budget)) 174 work_done = mlx5e_poll_rx_cq(&xskrq->cq, budget); 176 if (likely(budget - work_done)) 177 work_done += mlx5e_poll_rx_cq(&rq->cq, budget - work_done); 179 busy |= work_done == budget; 189 if (unlikely(mlx5e_ktls_rx_pending_resync_list(c, budget))) [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | nfd3.h | 94 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-master/drivers/net/wireless/ath/ath12k/ |
H A D | dp_mon.h | 86 int *budget, enum dp_monitor_mode monitor_mode, 89 struct napi_struct *napi, int budget, 105 struct napi_struct *napi, int *budget);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_xsk.h | 23 int ice_clean_rx_irq_zc(struct ice_rx_ring *rx_ring, int budget); 47 int __always_unused budget) 46 ice_clean_rx_irq_zc(struct ice_rx_ring __always_unused *rx_ring, int __always_unused budget) argument
|
/linux-master/drivers/net/wireless/ath/wil6210/ |
H A D | netdev.c | 91 static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget) argument 95 int quota = budget; 99 done = budget - quota; 101 if (done < budget) { 107 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, done); 112 static int wil6210_netdev_poll_rx_edma(struct napi_struct *napi, int budget) argument 116 int quota = budget; 120 done = budget - quota; 122 if (done < budget) { 128 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, don 133 wil6210_netdev_poll_tx(struct napi_struct *napi, int budget) argument 170 wil6210_netdev_poll_tx_edma(struct napi_struct *napi, int budget) argument [all...] |
/linux-master/lib/ |
H A D | irq_poll.c | 63 * If a driver consumes less than the assigned budget in its run of the 81 int rearm = 0, budget = irq_poll_budget; local 93 if (budget <= 0 || time_after(jiffies, start_time)) { 112 budget -= work; 173 * @weight: The default weight (or command completion budget)
|
/linux-master/net/core/ |
H A D | gro_cells.c | 51 static int gro_cell_poll(struct napi_struct *napi, int budget) argument 57 while (work_done < budget) { 65 if (work_done < budget)
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_xsk.h | 35 int i40e_clean_rx_irq_zc(struct i40e_ring *rx_ring, int budget);
|