Home
last modified time | relevance | path

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

/linux/drivers/atm/
H A 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 …]
H A 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 …]
H A 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()
390 PRIV(dev)->vcc = NULL; in atmtcp_create()
391 PRIV(dev)->persist = persist; in atmtcp_create()
408 if (PRIV(dev)->vcc) { in atmtcp_attach()
[all …]
H A Diphase.c72 #define PRIV(dev) ((struct suni_priv *) dev->phy_data) macro
2831 stats = &PRIV(_ia_dev[board])->sonet_stats;
/linux/net/atm/
H A Dclip.c268 spin_lock_irqsave(&PRIV(dev)->xoff_lock, flags); in clip_pop()
274 spin_unlock_irqrestore(&PRIV(dev)->xoff_lock, flags); in clip_pop()
282 to_atmarpd(act_need, PRIV(neigh->dev)->number, *ip); in clip_neigh_solicit()
342 struct clip_priv *clip_priv = PRIV(dev); in clip_start_xmit()
376 to_atmarpd(act_need, PRIV(dev)->number, *((__be32 *)n->primary_key)); in clip_start_xmit()
530 for (dev = clip_devs; dev; dev = PRIV(dev)->next) in clip_create()
531 if (PRIV(dev)->number == number) in clip_create()
535 for (dev = clip_devs; dev; dev = PRIV(dev)->next) in clip_create()
536 if (PRIV(dev)->number >= number) in clip_create()
537 number = PRIV(dev)->number + 1; in clip_create()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c61 PRIV = 1,
459 spec->mode_mask |= PRIV; in parse_test_spec()
462 spec->mode_mask |= PRIV; in parse_test_spec()
473 spec->mode_mask |= PRIV; in parse_test_spec()
481 spec->mode_mask |= PRIV; in parse_test_spec()
486 spec->mode_mask |= PRIV; in parse_test_spec()
507 spec->mode_mask |= PRIV; in parse_test_spec()
526 spec->mode_mask |= PRIV; in parse_test_spec()
539 spec->mode_mask |= PRIV; in parse_test_spec()
660 spec->mode_mask = PRIV; in prepare_case()
55 PRIV = 1, global() enumerator
[all...]
/linux/drivers/net/ethernet/natsemi/
H A 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);
957 struct ns83820 *dev = PRIV(ndev);
1044 struct ns83820 *dev = PRIV(ndev);
1193 struct ns83820 *dev = PRIV(ndev);
[all …]
/linux/drivers/net/ethernet/8390/
H A 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 …]
H A 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/include/net/
H A Datmclip.h45 #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) macro
/linux/arch/sparc/include/uapi/asm/
H A Dperfctr.h58 #define PRIV 0x00000001 macro