Home
last modified time | relevance | path

Searched refs:PRIV (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/atm/
Didt77105.c44 #define PRIV(dev) ((struct idt77105_priv *) dev->phy_data) macro
148 memcpy(&stats, &PRIV(dev)->stats, sizeof(struct idt77105_stats)); in fetch_stats()
150 memset(&PRIV(dev)->stats, 0, sizeof(struct idt77105_stats)); in fetch_stats()
184 PRIV(dev)->loop_mode = mode; in set_loopback()
201 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in idt77105_ioctl()
231 PRIV(dev)->old_mcr = GET(MCR); in idt77105_int()
233 (PRIV(dev)->old_mcr| in idt77105_int()
267 PRIV(dev)->dev = dev; in idt77105_start()
269 PRIV(dev)->next = idt77105_all; in idt77105_start()
270 idt77105_all = PRIV(dev); in idt77105_start()
[all …]
Dsuni.c38 #define PRIV(dev) ((struct suni_priv *) dev->phy_data) macro
100 sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); in fetch_stats()
102 if (zero && !error) sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); in fetch_stats()
157 if (PRIV(dev)->type == SUNI_MRI_TYPE_PM5355) { in set_loopback()
181 PRIV(dev)->loop_mode = mode; in set_loopback()
197 if (PRIV(dev)->type == SUNI_MRI_TYPE_PM5355) { in set_sonet()
211 if (PRIV(dev)->type == SUNI_MRI_TYPE_PM5355) { in set_sdh()
280 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in suni_ioctl()
314 PRIV(dev)->next = sunis; in suni_start()
315 sunis = PRIV(dev); in suni_start()
[all …]
Datmtcp.c21 #define PRIV(dev) ((struct atmtcp_dev_data *) ((dev)->dev_data)) macro
53 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control()
58 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control()
75 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control()
204 dev_data = PRIV(vcc->dev); in atmtcp_v_send()
237 struct atmtcp_dev_data *dev_data = PRIV(dev); in atmtcp_v_proc()
252 dev_data = PRIV(atmtcp_dev); in atmtcp_c_close()
377 PRIV(dev)->vcc = NULL; in atmtcp_create()
378 PRIV(dev)->persist = persist; in atmtcp_create()
395 if (PRIV(dev)->vcc) { in atmtcp_attach()
[all …]
Diphase.c72 #define PRIV(dev) ((struct suni_priv *) dev->phy_data) macro
2837 stats = &PRIV(_ia_dev[board])->sonet_stats;
/linux-6.6.21/net/atm/
Dclip.c257 spin_lock_irqsave(&PRIV(dev)->xoff_lock, flags); in clip_pop()
263 spin_unlock_irqrestore(&PRIV(dev)->xoff_lock, flags); in clip_pop()
271 to_atmarpd(act_need, PRIV(neigh->dev)->number, *ip); in clip_neigh_solicit()
331 struct clip_priv *clip_priv = PRIV(dev); in clip_start_xmit()
365 to_atmarpd(act_need, PRIV(dev)->number, *((__be32 *)n->primary_key)); in clip_start_xmit()
517 for (dev = clip_devs; dev; dev = PRIV(dev)->next) in clip_create()
518 if (PRIV(dev)->number == number) in clip_create()
522 for (dev = clip_devs; dev; dev = PRIV(dev)->next) in clip_create()
523 if (PRIV(dev)->number >= number) in clip_create()
524 number = PRIV(dev)->number + 1; in clip_create()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_loader.c44 PRIV = 1, enumerator
204 spec->mode_mask |= PRIV; in parse_test_spec()
207 spec->mode_mask |= PRIV; in parse_test_spec()
218 spec->mode_mask |= PRIV; in parse_test_spec()
227 spec->mode_mask |= PRIV; in parse_test_spec()
240 spec->mode_mask |= PRIV; in parse_test_spec()
278 spec->mode_mask = PRIV; in parse_test_spec()
283 if (spec->mode_mask & PRIV) { in parse_test_spec()
309 if (spec->mode_mask & (PRIV | UNPRIV)) { in parse_test_spec()
580 spec_iter->mode_mask & (unpriv ? UNPRIV : PRIV)) in run_subtest()
[all …]
/linux-6.6.21/drivers/net/ethernet/natsemi/
Dns83820.c450 static inline struct ns83820 *PRIV(struct net_device *dev) in PRIV() function
459 struct ns83820 *dev = PRIV(ndev); in kick_rx()
541 struct ns83820 *dev = PRIV(ndev); in rx_refill()
600 struct ns83820 *dev = PRIV(ndev); in phy_intr()
709 struct ns83820 *dev = PRIV(ndev); in ns83820_setup_rx()
799 struct ns83820 *dev = PRIV(ndev); in ns83820_rx_kick()
820 struct ns83820 *dev = PRIV(ndev);
958 struct ns83820 *dev = PRIV(ndev);
1045 struct ns83820 *dev = PRIV(ndev);
1194 struct ns83820 *dev = PRIV(ndev);
[all …]
/linux-6.6.21/drivers/net/ethernet/8390/
Dpcnet_cs.c213 static inline struct pcnet_dev *PRIV(struct net_device *dev) in PRIV() function
245 info = PRIV(dev); in pcnet_probe()
509 struct pcnet_dev *info = PRIV(dev); in pcnet_try_config()
568 struct pcnet_dev *info = PRIV(dev); in pcnet_config()
651 struct pcnet_dev *info = PRIV(link->priv); in pcnet_release()
848 struct pcnet_dev *info = PRIV(dev); in set_misc_reg()
885 struct pcnet_dev *info = PRIV(dev); in mii_phy_probe()
910 struct pcnet_dev *info = PRIV(dev); in pcnet_open()
940 struct pcnet_dev *info = PRIV(dev); in pcnet_close()
991 struct pcnet_dev *info = PRIV(dev); in set_config()
[all …]
Daxnet_cs.c122 static inline struct axnet_dev *PRIV(struct net_device *dev) in PRIV() function
155 info = PRIV(dev); in axnet_probe()
277 struct axnet_dev *info = PRIV(dev); in axnet_config()
392 struct axnet_dev *info = PRIV(dev); in axnet_resume()
470 struct axnet_dev *info = PRIV(dev); in axnet_open()
497 struct axnet_dev *info = PRIV(dev); in axnet_close()
547 PRIV(dev)->stale = 0; in ei_irq_wrapper()
610 struct axnet_dev *info = PRIV(dev); in axnet_ioctl()
1456 struct axnet_dev *info = PRIV(dev); in ei_rx_overrun()
1628 struct axnet_dev *info = PRIV(dev); in AX88190_init()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_int_process_v11.c172 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0, PRIV), in print_sq_intr_info_inst()
185 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_ERROR_CTXID0, PRIV), in print_sq_intr_info_error()
353 SQ_INTERRUPT_WORD_WAVE_CTXID0, PRIV); in event_interrupt_wq_v11()
Dkfd_int_process_v10.c295 PRIV), in event_interrupt_wq_v10()
321 PRIV), in event_interrupt_wq_v10()
Dkfd_int_process_v9.c354 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID, PRIV), in event_interrupt_wq_v9()
373 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID, PRIV), in event_interrupt_wq_v9()
/linux-6.6.21/include/net/
Datmclip.h45 #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) macro
/linux-6.6.21/arch/sparc/include/uapi/asm/
Dperfctr.h58 #define PRIV 0x00000001 macro
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dgfx_v8_0.c6747 REG_GET_FIELD(ih_data, SQ_INTERRUPT_WORD_WAVE, PRIV) ? "true" : "false", in gfx_v8_0_parse_sq_irq()