/Linux-v4.19/drivers/atm/ |
D | uPD98402.c | 34 #define PRIV(dev) ((struct uPD98402_priv *) dev->phy_data) macro 45 atomic_add(GET(HECCT),&PRIV(dev)->sonet_stats.uncorr_hcs); in fetch_stats() 46 sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); in fetch_stats() 52 sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); in fetch_stats() 75 spin_lock_irqsave(&PRIV(dev)->lock, flags); in set_framing() 81 spin_unlock_irqrestore(&PRIV(dev)->lock, flags); in set_framing() 91 spin_lock_irqsave(&PRIV(dev)->lock, flags); in get_sense() 95 spin_unlock_irqrestore(&PRIV(dev)->lock, flags); in get_sense() 130 PRIV(dev)->loop_mode = mode; in set_loopback() 145 return put_user(PRIV(dev)->framing,(int __user *)arg) ? in uPD98402_ioctl() [all …]
|
D | idt77105.c | 43 #define PRIV(dev) ((struct idt77105_priv *) dev->phy_data) macro 147 memcpy(&stats, &PRIV(dev)->stats, sizeof(struct idt77105_stats)); in fetch_stats() 149 memset(&PRIV(dev)->stats, 0, sizeof(struct idt77105_stats)); in fetch_stats() 183 PRIV(dev)->loop_mode = mode; in set_loopback() 200 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in idt77105_ioctl() 230 PRIV(dev)->old_mcr = GET(MCR); in idt77105_int() 232 (PRIV(dev)->old_mcr| in idt77105_int() 266 PRIV(dev)->dev = dev; in idt77105_start() 268 PRIV(dev)->next = idt77105_all; in idt77105_start() 269 idt77105_all = PRIV(dev); in idt77105_start() [all …]
|
D | suni.c | 38 #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 …]
|
D | atmtcp.c | 20 #define PRIV(dev) ((struct atmtcp_dev_data *) ((dev)->dev_data)) macro 52 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control() 57 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control() 74 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control() 203 dev_data = PRIV(vcc->dev); in atmtcp_v_send() 236 struct atmtcp_dev_data *dev_data = PRIV(dev); in atmtcp_v_proc() 251 dev_data = PRIV(atmtcp_dev); in atmtcp_c_close() 376 PRIV(dev)->vcc = NULL; in atmtcp_create() 377 PRIV(dev)->persist = persist; in atmtcp_create() 394 if (PRIV(dev)->vcc) { in atmtcp_attach() [all …]
|
D | iphase.c | 70 #define PRIV(dev) ((struct suni_priv *) dev->phy_data) macro 2836 stats = &PRIV(_ia_dev[board])->sonet_stats;
|
/Linux-v4.19/net/atm/ |
D | clip.c | 256 spin_lock_irqsave(&PRIV(dev)->xoff_lock, flags); in clip_pop() 262 spin_unlock_irqrestore(&PRIV(dev)->xoff_lock, flags); in clip_pop() 270 to_atmarpd(act_need, PRIV(neigh->dev)->number, *ip); in clip_neigh_solicit() 330 struct clip_priv *clip_priv = PRIV(dev); in clip_start_xmit() 364 to_atmarpd(act_need, PRIV(dev)->number, *((__be32 *)n->primary_key)); in clip_start_xmit() 516 for (dev = clip_devs; dev; dev = PRIV(dev)->next) in clip_create() 517 if (PRIV(dev)->number == number) in clip_create() 521 for (dev = clip_devs; dev; dev = PRIV(dev)->next) in clip_create() 522 if (PRIV(dev)->number >= number) in clip_create() 523 number = PRIV(dev)->number + 1; in clip_create() [all …]
|
/Linux-v4.19/drivers/net/ethernet/natsemi/ |
D | ns83820.c | 464 static inline struct ns83820 *PRIV(struct net_device *dev) in PRIV() function 473 struct ns83820 *dev = PRIV(ndev); in kick_rx() 555 struct ns83820 *dev = PRIV(ndev); in rx_refill() 614 struct ns83820 *dev = PRIV(ndev); in phy_intr() 721 struct ns83820 *dev = PRIV(ndev); in ns83820_setup_rx() 811 struct ns83820 *dev = PRIV(ndev); in ns83820_rx_kick() 832 struct ns83820 *dev = PRIV(ndev); 943 struct ns83820 *dev = PRIV(ndev); 970 struct ns83820 *dev = PRIV(ndev); 1061 struct ns83820 *dev = PRIV(ndev); [all …]
|
/Linux-v4.19/drivers/net/ethernet/8390/ |
D | pcnet_cs.c | 214 static inline struct pcnet_dev *PRIV(struct net_device *dev) in PRIV() function 246 info = PRIV(dev); in pcnet_probe() 495 struct pcnet_dev *info = PRIV(dev); in pcnet_try_config() 554 struct pcnet_dev *info = PRIV(dev); in pcnet_config() 637 struct pcnet_dev *info = PRIV(link->priv); in pcnet_release() 834 struct pcnet_dev *info = PRIV(dev); in set_misc_reg() 871 struct pcnet_dev *info = PRIV(dev); in mii_phy_probe() 896 struct pcnet_dev *info = PRIV(dev); in pcnet_open() 926 struct pcnet_dev *info = PRIV(dev); in pcnet_close() 977 struct pcnet_dev *info = PRIV(dev); in set_config() [all …]
|
D | axnet_cs.c | 122 static inline struct axnet_dev *PRIV(struct net_device *dev) in PRIV() function 155 info = PRIV(dev); in axnet_probe() 274 struct axnet_dev *info = PRIV(dev); in axnet_config() 389 struct axnet_dev *info = PRIV(dev); in axnet_resume() 467 struct axnet_dev *info = PRIV(dev); in axnet_open() 494 struct axnet_dev *info = PRIV(dev); in axnet_close() 544 PRIV(dev)->stale = 0; in ei_irq_wrapper() 607 struct axnet_dev *info = PRIV(dev); in axnet_ioctl() 1450 struct axnet_dev *info = PRIV(dev); in ei_rx_overrun() 1622 struct axnet_dev *info = PRIV(dev); in AX88190_init()
|
/Linux-v4.19/include/net/ |
D | atmclip.h | 45 #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) macro
|
/Linux-v4.19/arch/unicore32/kernel/ |
D | entry.S | 61 mov.a asr, \rtemp @ switch back to the PRIV mode 706 @ Prepare for PRIV mode. INTRs remain disabled. 719 mov.a pc, lr @ branch to handler in PRIV mode 735 .long __intr_priv @ 3 (PRIV) 746 .long __dabt_priv @ 3 (PRIV) 757 .long __pabt_priv @ 3 (PRIV) 768 .long __extn_priv @ 3 (PRIV)
|
/Linux-v4.19/arch/sparc/include/uapi/asm/ |
D | perfctr.h | 58 #define PRIV 0x00000001 macro
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v8_0.c | 7039 REG_GET_FIELD(ih_data, SQ_INTERRUPT_WORD_WAVE, PRIV) ? "true" : "false", in gfx_v8_0_parse_sq_irq()
|