Home
last modified time | relevance | path

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

12345678910>>...27

/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
H A Dbudget-core.c3 * 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) in stop_ts_capture() argument
49 dprintk(2, "budget: %p\n", budget); in stop_ts_capture()
51 saa7146_write(budget->dev, MC1, MASK_20); // DMA3 off in stop_ts_capture()
52 SAA7146_IER_DISABLE(budget in stop_ts_capture()
56 start_ts_capture(struct budget *budget) start_ts_capture() argument
150 struct budget *budget = (struct budget *) fe->dvb->priv; budget_read_fe_status() local
176 struct budget *budget = from_tasklet(budget, t, vpe_tasklet); vpeirq() local
218 ttpci_budget_debiread_nolock(struct budget *budget, u32 config, int addr, int count, int nobusyloop) ttpci_budget_debiread_nolock() argument
242 ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count, int uselocks, int nobusyloop) ttpci_budget_debiread() argument
262 ttpci_budget_debiwrite_nolock(struct budget *budget, u32 config, int addr, int count, u32 value, int nobusyloop) ttpci_budget_debiwrite_nolock() argument
282 ttpci_budget_debiwrite(struct budget *budget, u32 config, int addr, int count, u32 value, int uselocks, int nobusyloop) ttpci_budget_debiwrite() argument
310 struct budget *budget = (struct budget *) demux->priv; budget_start_feed() local
329 struct budget *budget = (struct budget *) demux->priv; budget_stop_feed() local
341 budget_register(struct budget *budget) budget_register() argument
393 budget_unregister(struct budget *budget) budget_unregister() argument
409 ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, struct saa7146_pci_extension_data *info, struct module *owner, short *adapter_nums) ttpci_budget_init() argument
543 ttpci_budget_init_hooks(struct budget *budget) ttpci_budget_init_hooks() argument
551 ttpci_budget_deinit(struct budget *budget) ttpci_budget_deinit() argument
572 struct budget *budget = (struct budget *) dev->ext_priv; ttpci_budget_irq10_handler() local
582 struct budget *budget = (struct budget *) dev->ext_priv; ttpci_budget_set_video_port() local
[all...]
H A Dbudget.c3 * budget.c: driver for the SAA7146 based Budget DVB cards
20 #include "budget.h"
45 static void Set22K (struct budget *budget, int state) in Set22K() argument
47 struct saa7146_dev *dev=budget->dev; in Set22K()
48 dprintk(2, "budget: %p\n", budget); in Set22K()
56 static void DiseqcSendBit (struct budget *budget, int data) in DiseqcSendBit() argument
58 struct saa7146_dev *dev=budget in DiseqcSendBit()
67 DiseqcSendByte(struct budget *budget, int data) DiseqcSendByte() argument
82 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) SendDiSEqCMsg() argument
118 SetVoltage_Activy(struct budget *budget, enum fe_sec_voltage voltage) SetVoltage_Activy() argument
147 struct budget* budget = (struct budget*) fe->dvb->priv; siemens_budget_set_voltage() local
155 struct budget* budget = (struct budget*) fe->dvb->priv; budget_set_tone() local
175 struct budget* budget = (struct budget*) fe->dvb->priv; budget_diseqc_send_master_cmd() local
185 struct budget* budget = (struct budget*) fe->dvb->priv; budget_diseqc_send_burst() local
195 struct budget* budget = (struct budget*) fe->dvb->priv; alps_bsrv2_tuner_set_params() local
237 struct budget* budget = (struct budget*) fe->dvb->priv; alps_tdbe2_tuner_set_params() local
265 struct budget *budget = fe->dvb->priv; grundig_29504_401_tuner_set_params() local
323 struct budget* budget = (struct budget*) fe->dvb->priv; grundig_29504_451_tuner_set_params() local
347 struct budget* budget = (struct budget*) fe->dvb->priv; s5h1420_tuner_set_params() local
408 struct budget *budget = (struct budget *)fe->dvb->priv; alps_tdhd1_204_request_firmware() local
425 read_pwm(struct budget* budget) read_pwm() argument
477 frontend_init(struct budget *budget) frontend_init() argument
774 struct budget *budget = NULL; budget_attach() local
803 struct budget *budget = (struct budget*) dev->ext_priv; budget_detach() local
[all...]
H A Dbudget-patch.c3 * 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) in gpio_Set22K() argument
49 struct saa7146_dev *dev=budget->dev; in gpio_Set22K()
50 dprintk(2, "budget in gpio_Set22K()
58 DiseqcSendBit(struct budget *budget, int data) DiseqcSendBit() argument
69 DiseqcSendByte(struct budget *budget, int data) DiseqcSendByte() argument
84 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) SendDiSEqCMsg() argument
118 struct budget* budget = (struct budget*) fe->dvb->priv; budget_set_tone() local
138 struct budget* budget = (struct budget*) fe->dvb->priv; budget_diseqc_send_master_cmd() local
148 struct budget* budget = (struct budget*) fe->dvb->priv; budget_diseqc_send_burst() local
155 budget_av7110_send_fw_cmd(struct budget_patch *budget, u16* buf, int length) budget_av7110_send_fw_cmd() argument
176 av7110_set22k(struct budget_patch *budget, int state) av7110_set22k() argument
184 av7110_send_diseqc_msg(struct budget_patch *budget, int len, u8 *msg, int burst) av7110_send_diseqc_msg() argument
213 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; budget_patch_set_tone() local
233 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; budget_patch_diseqc_send_master_cmd() local
243 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; budget_patch_diseqc_send_burst() local
253 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; alps_bsrv2_tuner_set_params() local
295 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; grundig_29504_451_tuner_set_params() local
317 frontend_init(struct budget_patch* budget) frontend_init() argument
375 struct budget_patch *budget; budget_patch_attach() local
623 struct budget_patch *budget = (struct budget_patch*) dev->ext_priv; budget_patch_detach() local
[all...]
H A Dbudget-ci.c3 * budget-ci.c: driver for the SAA7146 based Budget DVB cards
22 #include "budget.h"
93 struct budget budget; member
107 u32 command = ttpci_budget_debiread(&budget_ci->budget, DEBINOSWAP, DEBIADDR_IR, 2, 1, 0) >> 8; in msp430_ir_interrupt()
161 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_init()
196 switch (budget_ci->budget.dev->pci->subsystem_device) { in msp430_ir_init()
243 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_deinit()
259 return ttpci_budget_debiread(&budget_ci->budget, DEBICICAM, in ciintf_read_attribute_mem()
270 return ttpci_budget_debiwrite(&budget_ci->budget, DEBICICA in ciintf_write_attribute_mem()
[all...]
H A Dbudget.h38 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 Dbudget-av.c3 * budget-av.c: driver for the SAA7146 based Budget DVB cards
21 #include "budget.h"
53 struct budget budget; member
131 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI); in ciintf_read_attribute_mem()
134 result = ttpci_budget_debiread(&budget_av->budget, DEBICICAM, address & 0xfff, 1, 0, 1); in ciintf_read_attribute_mem()
150 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI); in ciintf_write_attribute_mem()
153 result = ttpci_budget_debiwrite(&budget_av->budget, DEBICICAM, address & 0xfff, 1, value, 0, 1); in ciintf_write_attribute_mem()
169 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTLO); in ciintf_read_cam_control()
172 result = ttpci_budget_debiread(&budget_av->budget, DEBICICA in ciintf_read_cam_control()
413 struct budget *budget = &budget_av->budget; saa7113_init() local
439 struct budget *budget = &budget_av->budget; saa7113_setinput() local
493 struct budget *budget = (struct budget *) fe->dvb->priv; philips_su1278_ty_ci_tuner_set_params() local
606 struct budget *budget = (struct budget *) fe->dvb->priv; philips_cu1216_tuner_set_params() local
670 struct budget *budget = (struct budget *) fe->dvb->priv; philips_tu1216_tuner_init() local
687 struct budget *budget = (struct budget *) fe->dvb->priv; philips_tu1216_tuner_set_params() local
771 struct budget *budget = (struct budget *) fe->dvb->priv; philips_tu1216_request_firmware() local
[all...]
H A DMakefile14 obj-$(CONFIG_DVB_BUDGET_CORE) += budget-core.o
15 obj-$(CONFIG_DVB_BUDGET) += budget.o
16 obj-$(CONFIG_DVB_BUDGET_AV) += budget-av.o
17 obj-$(CONFIG_DVB_BUDGET_CI) += budget-ci.o
18 obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-patch.o
/kernel/linux/linux-6.6/drivers/media/pci/ttpci/
H A Dbudget-core.c3 * 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) in stop_ts_capture() argument
49 dprintk(2, "budget: %p\n", budget); in stop_ts_capture()
51 saa7146_write(budget->dev, MC1, MASK_20); // DMA3 off in stop_ts_capture()
52 SAA7146_IER_DISABLE(budget in stop_ts_capture()
56 start_ts_capture(struct budget *budget) start_ts_capture() argument
150 struct budget *budget = fe->dvb->priv; budget_read_fe_status() local
176 struct budget *budget = from_tasklet(budget, t, vpe_tasklet); vpeirq() local
219 ttpci_budget_debiread_nolock(struct budget *budget, u32 config, int addr, int count, int nobusyloop) ttpci_budget_debiread_nolock() argument
243 ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count, int uselocks, int nobusyloop) ttpci_budget_debiread() argument
263 ttpci_budget_debiwrite_nolock(struct budget *budget, u32 config, int addr, int count, u32 value, int nobusyloop) ttpci_budget_debiwrite_nolock() argument
283 ttpci_budget_debiwrite(struct budget *budget, u32 config, int addr, int count, u32 value, int uselocks, int nobusyloop) ttpci_budget_debiwrite() argument
311 struct budget *budget = demux->priv; budget_start_feed() local
330 struct budget *budget = demux->priv; budget_stop_feed() local
342 budget_register(struct budget *budget) budget_register() argument
394 budget_unregister(struct budget *budget) budget_unregister() argument
410 ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, struct saa7146_pci_extension_data *info, struct module *owner, short *adapter_nums) ttpci_budget_init() argument
544 ttpci_budget_init_hooks(struct budget *budget) ttpci_budget_init_hooks() argument
552 ttpci_budget_deinit(struct budget *budget) ttpci_budget_deinit() argument
573 struct budget *budget = dev->ext_priv; ttpci_budget_irq10_handler() local
583 struct budget *budget = dev->ext_priv; ttpci_budget_set_video_port() local
[all...]
H A Dbudget.c3 * budget.c: driver for the SAA7146 based Budget DVB cards
20 #include "budget.h"
45 static void Set22K (struct budget *budget, int state) in Set22K() argument
47 struct saa7146_dev *dev=budget->dev; in Set22K()
48 dprintk(2, "budget: %p\n", budget); in Set22K()
56 static void DiseqcSendBit (struct budget *budget, int data) in DiseqcSendBit() argument
58 struct saa7146_dev *dev=budget in DiseqcSendBit()
67 DiseqcSendByte(struct budget *budget, int data) DiseqcSendByte() argument
82 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) SendDiSEqCMsg() argument
118 SetVoltage_Activy(struct budget *budget, enum fe_sec_voltage voltage) SetVoltage_Activy() argument
147 struct budget *budget = fe->dvb->priv; siemens_budget_set_voltage() local
155 struct budget *budget = fe->dvb->priv; budget_set_tone() local
175 struct budget *budget = fe->dvb->priv; budget_diseqc_send_master_cmd() local
185 struct budget *budget = fe->dvb->priv; budget_diseqc_send_burst() local
195 struct budget *budget = fe->dvb->priv; alps_bsrv2_tuner_set_params() local
237 struct budget *budget = fe->dvb->priv; alps_tdbe2_tuner_set_params() local
265 struct budget *budget = fe->dvb->priv; grundig_29504_401_tuner_set_params() local
323 struct budget *budget = fe->dvb->priv; grundig_29504_451_tuner_set_params() local
347 struct budget *budget = fe->dvb->priv; s5h1420_tuner_set_params() local
408 struct budget *budget = fe->dvb->priv; alps_tdhd1_204_request_firmware() local
425 read_pwm(struct budget* budget) read_pwm() argument
477 frontend_init(struct budget *budget) frontend_init() argument
774 struct budget *budget = NULL; budget_attach() local
803 struct budget *budget = dev->ext_priv; budget_detach() local
[all...]
H A Dbudget-ci.c3 * budget-ci.c: driver for the SAA7146 based Budget DVB cards
22 #include "budget.h"
93 struct budget budget; member
107 u32 command = ttpci_budget_debiread(&budget_ci->budget, DEBINOSWAP, DEBIADDR_IR, 2, 1, 0) >> 8; in msp430_ir_interrupt()
161 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_init()
196 switch (budget_ci->budget.dev->pci->subsystem_device) { in msp430_ir_init()
243 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_deinit()
259 return ttpci_budget_debiread(&budget_ci->budget, DEBICICAM, in ciintf_read_attribute_mem()
270 return ttpci_budget_debiwrite(&budget_ci->budget, DEBICICA in ciintf_write_attribute_mem()
[all...]
H A Dbudget.h38 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 Dbudget-av.c3 * budget-av.c: driver for the SAA7146 based Budget DVB cards
21 #include "budget.h"
54 struct budget budget; member
132 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI); in ciintf_read_attribute_mem()
135 result = ttpci_budget_debiread(&budget_av->budget, DEBICICAM, address & 0xfff, 1, 0, 1); in ciintf_read_attribute_mem()
151 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTHI); in ciintf_write_attribute_mem()
154 result = ttpci_budget_debiwrite(&budget_av->budget, DEBICICAM, address & 0xfff, 1, value, 0, 1); in ciintf_write_attribute_mem()
170 saa7146_setgpio(budget_av->budget.dev, 1, SAA7146_GPIO_OUTLO); in ciintf_read_cam_control()
173 result = ttpci_budget_debiread(&budget_av->budget, DEBICICA in ciintf_read_cam_control()
414 struct budget *budget = &budget_av->budget; saa7113_init() local
440 struct budget *budget = &budget_av->budget; saa7113_setinput() local
494 struct budget *budget = fe->dvb->priv; philips_su1278_ty_ci_tuner_set_params() local
607 struct budget *budget = fe->dvb->priv; philips_cu1216_tuner_set_params() local
671 struct budget *budget = fe->dvb->priv; philips_tu1216_tuner_init() local
688 struct budget *budget = fe->dvb->priv; philips_tu1216_tuner_set_params() local
772 struct budget *budget = fe->dvb->priv; philips_tu1216_request_firmware() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/av7110/
H A Dbudget-patch.c3 * 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) in gpio_Set22K() argument
49 struct saa7146_dev *dev=budget->dev; in gpio_Set22K()
50 dprintk(2, "budget in gpio_Set22K()
58 DiseqcSendBit(struct budget *budget, int data) DiseqcSendBit() argument
69 DiseqcSendByte(struct budget *budget, int data) DiseqcSendByte() argument
84 SendDiSEqCMsg(struct budget *budget, int len, u8 *msg, unsigned long burst) SendDiSEqCMsg() argument
118 struct budget* budget = (struct budget*) fe->dvb->priv; budget_set_tone() local
138 struct budget* budget = (struct budget*) fe->dvb->priv; budget_diseqc_send_master_cmd() local
148 struct budget* budget = (struct budget*) fe->dvb->priv; budget_diseqc_send_burst() local
155 budget_av7110_send_fw_cmd(struct budget_patch *budget, u16* buf, int length) budget_av7110_send_fw_cmd() argument
176 av7110_set22k(struct budget_patch *budget, int state) av7110_set22k() argument
184 av7110_send_diseqc_msg(struct budget_patch *budget, int len, u8 *msg, int burst) av7110_send_diseqc_msg() argument
213 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; budget_patch_set_tone() local
233 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; budget_patch_diseqc_send_master_cmd() local
243 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; budget_patch_diseqc_send_burst() local
253 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; alps_bsrv2_tuner_set_params() local
295 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; grundig_29504_451_tuner_set_params() local
317 frontend_init(struct budget_patch* budget) frontend_init() argument
375 struct budget_patch *budget; budget_patch_attach() local
623 struct budget_patch *budget = (struct budget_patch*) dev->ext_priv; budget_patch_detach() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpower_budget.c60 struct nvbios_power_budget *budget) in nvbios_power_budget_header()
66 if (!bios || !budget) in nvbios_power_budget_header()
86 "invalid cap_entry in power budget table found\n"); in nvbios_power_budget_header()
87 budget->cap_entry = 0xff; in nvbios_power_budget_header()
91 budget->offset = header; in nvbios_power_budget_header()
92 budget->ver = ver; in nvbios_power_budget_header()
93 budget->hlen = hdr; in nvbios_power_budget_header()
94 budget->elen = len; in nvbios_power_budget_header()
95 budget->ecount = cnt; in nvbios_power_budget_header()
97 budget in nvbios_power_budget_header()
59 nvbios_power_budget_header(struct nvkm_bios *bios, struct nvbios_power_budget *budget) nvbios_power_budget_header() argument
103 nvbios_power_budget_entry(struct nvkm_bios *bios, struct nvbios_power_budget *budget, u8 idx, struct nvbios_power_budget_entry *entry) nvbios_power_budget_entry() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpower_budget.c60 struct nvbios_power_budget *budget) in nvbios_power_budget_header()
65 if (!bios || !budget) in nvbios_power_budget_header()
85 "invalid cap_entry in power budget table found\n"); in nvbios_power_budget_header()
86 budget->cap_entry = 0xff; in nvbios_power_budget_header()
90 budget->offset = header; in nvbios_power_budget_header()
91 budget->ver = ver; in nvbios_power_budget_header()
92 budget->hlen = hdr; in nvbios_power_budget_header()
93 budget->elen = len; in nvbios_power_budget_header()
94 budget->ecount = cnt; in nvbios_power_budget_header()
96 budget in nvbios_power_budget_header()
59 nvbios_power_budget_header(struct nvkm_bios *bios, struct nvbios_power_budget *budget) nvbios_power_budget_header() argument
102 nvbios_power_budget_entry(struct nvkm_bios *bios, struct nvbios_power_budget *budget, u8 idx, struct nvbios_power_budget_entry *entry) nvbios_power_budget_entry() argument
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dnapi.h16 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)
/kernel/linux/linux-6.6/include/trace/events/
H A Dnapi.h16 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)
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_txrx.c124 int mlx5e_napi_poll(struct napi_struct *napi, int budget) in mlx5e_napi_poll() argument
150 busy |= mlx5e_poll_tx_cq(&c->sq[i].cq, budget); in mlx5e_napi_poll()
160 busy |= mlx5e_poll_tx_cq(&sq->cq, budget); in mlx5e_napi_poll()
164 /* budget=0 means we may be in IRQ context, do as little as possible */ in mlx5e_napi_poll()
165 if (unlikely(!budget)) in mlx5e_napi_poll()
174 work_done = mlx5e_poll_rx_cq(&xskrq->cq, budget); in mlx5e_napi_poll()
176 if (likely(budget - work_done)) in mlx5e_napi_poll()
177 work_done += mlx5e_poll_rx_cq(&rq->cq, budget - work_done); in mlx5e_napi_poll()
179 busy |= work_done == budget; in mlx5e_napi_poll()
189 if (unlikely(mlx5e_ktls_rx_pending_resync_list(c, budget))) in mlx5e_napi_poll()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c91 static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget) in wil6210_netdev_poll_rx() argument
95 int quota = budget; in wil6210_netdev_poll_rx()
99 done = budget - quota; in wil6210_netdev_poll_rx()
101 if (done < budget) { in wil6210_netdev_poll_rx()
107 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, done); in wil6210_netdev_poll_rx()
112 static int wil6210_netdev_poll_rx_edma(struct napi_struct *napi, int budget) in wil6210_netdev_poll_rx_edma() argument
116 int quota = budget; in wil6210_netdev_poll_rx_edma()
120 done = budget - quota; in wil6210_netdev_poll_rx_edma()
122 if (done < budget) { in wil6210_netdev_poll_rx_edma()
128 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, don in wil6210_netdev_poll_rx_edma()
133 wil6210_netdev_poll_tx(struct napi_struct *napi, int budget) wil6210_netdev_poll_tx() argument
170 wil6210_netdev_poll_tx_edma(struct napi_struct *napi, int budget) wil6210_netdev_poll_tx_edma() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c91 static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget) in wil6210_netdev_poll_rx() argument
95 int quota = budget; in wil6210_netdev_poll_rx()
99 done = budget - quota; in wil6210_netdev_poll_rx()
101 if (done < budget) { in wil6210_netdev_poll_rx()
107 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, done); in wil6210_netdev_poll_rx()
112 static int wil6210_netdev_poll_rx_edma(struct napi_struct *napi, int budget) in wil6210_netdev_poll_rx_edma() argument
116 int quota = budget; in wil6210_netdev_poll_rx_edma()
120 done = budget - quota; in wil6210_netdev_poll_rx_edma()
122 if (done < budget) { in wil6210_netdev_poll_rx_edma()
128 wil_dbg_txrx(wil, "NAPI RX poll(%d) done %d\n", budget, don in wil6210_netdev_poll_rx_edma()
133 wil6210_netdev_poll_tx(struct napi_struct *napi, int budget) wil6210_netdev_poll_tx() argument
170 wil6210_netdev_poll_tx_edma(struct napi_struct *napi, int budget) wil6210_netdev_poll_tx_edma() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_txrx.c116 int mlx5e_napi_poll(struct napi_struct *napi, int budget) in mlx5e_napi_poll() argument
138 busy |= mlx5e_poll_tx_cq(&c->sq[i].cq, budget); in mlx5e_napi_poll()
140 /* budget=0 means we may be in IRQ context, do as little as possible */ in mlx5e_napi_poll()
141 if (unlikely(!budget)) in mlx5e_napi_poll()
150 work_done = mlx5e_poll_rx_cq(&xskrq->cq, budget); in mlx5e_napi_poll()
152 if (likely(budget - work_done)) in mlx5e_napi_poll()
153 work_done += mlx5e_poll_rx_cq(&rq->cq, budget - work_done); in mlx5e_napi_poll()
155 busy |= work_done == budget; in mlx5e_napi_poll()
177 work_done = budget; in mlx5e_napi_poll()
182 if (budget in mlx5e_napi_poll()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw_priv.c129 int cpsw_tx_mq_poll(struct napi_struct *napi_tx, int budget) in cpsw_tx_mq_poll() argument
143 if (unlikely(txv->budget > budget - num_tx)) in cpsw_tx_mq_poll()
144 cur_budget = budget - num_tx; in cpsw_tx_mq_poll()
146 cur_budget = txv->budget; in cpsw_tx_mq_poll()
149 if (num_tx >= budget) in cpsw_tx_mq_poll()
153 if (num_tx < budget) { in cpsw_tx_mq_poll()
161 int cpsw_tx_poll(struct napi_struct *napi_tx, int budget) in cpsw_tx_poll() argument
166 num_tx = cpdma_chan_process(cpsw->txv[0].ch, budget); in cpsw_tx_poll()
167 if (num_tx < budget) { in cpsw_tx_poll()
179 cpsw_rx_mq_poll(struct napi_struct *napi_rx, int budget) cpsw_rx_mq_poll() argument
211 cpsw_rx_poll(struct napi_struct *napi_rx, int budget) cpsw_rx_poll() argument
351 int budget, bigest_rate_ch = 0; cpsw_split_res() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_txrx.h44 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) in mlx5e_ktls_rx_pending_resync_list() argument
49 return budget && test_bit(MLX5E_SQ_STATE_PENDING_TLS_RX_RESYNC, &c->async_icosq.state); in mlx5e_ktls_rx_pending_resync_list()
68 mlx5e_ktls_rx_handle_resync_list(struct mlx5e_channel *c, int budget) in mlx5e_ktls_rx_handle_resync_list() argument
74 mlx5e_ktls_rx_pending_resync_list(struct mlx5e_channel *c, int budget) in mlx5e_ktls_rx_pending_resync_list() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.h67 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);
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.h67 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);

Completed in 13 milliseconds

12345678910>>...27