/Linux-v5.15/drivers/atm/ |
D | uPD98402.c | 35 #define PRIV(dev) ((struct uPD98402_priv *) dev->phy_data) macro 46 atomic_add(GET(HECCT),&PRIV(dev)->sonet_stats.uncorr_hcs); in fetch_stats() 47 sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); in fetch_stats() 53 sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); in fetch_stats() 76 spin_lock_irqsave(&PRIV(dev)->lock, flags); in set_framing() 82 spin_unlock_irqrestore(&PRIV(dev)->lock, flags); in set_framing() 92 spin_lock_irqsave(&PRIV(dev)->lock, flags); in get_sense() 96 spin_unlock_irqrestore(&PRIV(dev)->lock, flags); in get_sense() 131 PRIV(dev)->loop_mode = mode; in set_loopback() 146 return put_user(PRIV(dev)->framing,(int __user *)arg) ? in uPD98402_ioctl() [all …]
|
D | idt77105.c | 44 #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 …]
|
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 | 21 #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 …]
|
D | iphase.c | 72 #define PRIV(dev) ((struct suni_priv *) dev->phy_data) macro 2837 stats = &PRIV(_ia_dev[board])->sonet_stats;
|
/Linux-v5.15/net/atm/ |
D | clip.c | 257 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-v5.15/drivers/net/ethernet/natsemi/ |
D | ns83820.c | 450 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-v5.15/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() 500 struct pcnet_dev *info = PRIV(dev); in pcnet_try_config() 559 struct pcnet_dev *info = PRIV(dev); in pcnet_config() 642 struct pcnet_dev *info = PRIV(link->priv); in pcnet_release() 839 struct pcnet_dev *info = PRIV(dev); in set_misc_reg() 876 struct pcnet_dev *info = PRIV(dev); in mii_phy_probe() 901 struct pcnet_dev *info = PRIV(dev); in pcnet_open() 931 struct pcnet_dev *info = PRIV(dev); in pcnet_close() 982 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() 1456 struct axnet_dev *info = PRIV(dev); in ei_rx_overrun() 1628 struct axnet_dev *info = PRIV(dev); in AX88190_init()
|
/Linux-v5.15/include/net/ |
D | atmclip.h | 45 #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) macro
|
/Linux-v5.15/arch/sparc/include/uapi/asm/ |
D | perfctr.h | 58 #define PRIV 0x00000001 macro
|
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_int_process_v9.c | 214 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID, PRIV), in event_interrupt_wq_v9() 226 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID, PRIV), in event_interrupt_wq_v9()
|
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v8_0.c | 6784 REG_GET_FIELD(ih_data, SQ_INTERRUPT_WORD_WAVE, PRIV) ? "true" : "false", in gfx_v8_0_parse_sq_irq()
|