Home
last modified time | relevance | path

Searched refs:PRIV (Results 1 – 14 of 14) 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()
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 …]
H A Diphase.c72 #define PRIV(dev) ((struct suni_priv *) dev->phy_data) macro
2838 stats = &PRIV(_ia_dev[board])->sonet_stats;
/linux/net/atm/
H A 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/tools/testing/selftests/bpf/
H A Dtest_loader.c54 PRIV = 1, enumerator
447 spec->mode_mask |= PRIV; in parse_test_spec()
450 spec->mode_mask |= PRIV; in parse_test_spec()
461 spec->mode_mask |= PRIV; in parse_test_spec()
469 spec->mode_mask |= PRIV; in parse_test_spec()
485 spec->mode_mask |= PRIV; in parse_test_spec()
504 spec->mode_mask |= PRIV; in parse_test_spec()
517 spec->mode_mask |= PRIV; in parse_test_spec()
589 spec->mode_mask = PRIV; in parse_test_spec()
594 if (spec->mode_mask & PRIV) { in parse_test_spec()
[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/drivers/gpu/drm/amd/amdkfd/
H A 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()
361 SQ_INTERRUPT_WORD_WAVE_CTXID0, PRIV); in event_interrupt_wq_v11()
H A Dkfd_int_process_v10.c244 PRIV), in event_interrupt_wq_v10()
270 PRIV), in event_interrupt_wq_v10()
H A Dkfd_int_process_v9.c400 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID, PRIV), in event_interrupt_wq_v9()
419 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID, PRIV), in event_interrupt_wq_v9()
/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
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v8_0.c6780 REG_GET_FIELD(ih_data, SQ_INTERRUPT_WORD_WAVE, PRIV) ? "true" : "false", in gfx_v8_0_parse_sq_irq()