/kernel/linux/linux-5.10/drivers/atm/ |
H A 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(de in uPD98402_ioctl() [all...] |
H A 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(de in idt77105_start() [all...] |
H A D | suni.c | 39 #define PRIV(dev) ((struct suni_priv *) dev->phy_data) macro 101 sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); in fetch_stats() 103 if (zero && !error) sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); in fetch_stats() 158 if (PRIV(dev)->type == SUNI_MRI_TYPE_PM5355) { in set_loopback() 182 PRIV(dev)->loop_mode = mode; in set_loopback() 198 if (PRIV(dev)->type == SUNI_MRI_TYPE_PM5355) { in set_sonet() 212 if (PRIV(dev)->type == SUNI_MRI_TYPE_PM5355) { in set_sdh() 281 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in suni_ioctl() 315 PRIV(dev)->next = sunis; in suni_start() 316 sunis = PRIV(de in suni_start() [all...] |
H A 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_de in atmtcp_c_close() [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A 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(de in idt77105_start() [all...] |
H A 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(de in suni_start() [all...] |
H A 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_de in atmtcp_c_close() [all...] |
/kernel/linux/linux-5.10/net/atm/ |
H A 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(de in clip_create() [all...] |
/kernel/linux/linux-6.6/net/atm/ |
H A 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(de in clip_create() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_loader.c | 44 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...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/ |
H A 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(nde [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/natsemi/ |
H A 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(nde [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
H A 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(de in AX88190_init() [all...] |
H A 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(de in set_config() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/ |
H A 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() 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(de in AX88190_init() [all...] |
H A D | pcnet_cs.c | 213 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(de in set_config() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_int_process_v11.c | 47 * PRIV bit indicates that Wave S_SEND or error occurred within trap 133 * The debugger will send user data(m0) with PRIV=1 to indicate it requires 172 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()
|
H A D | kfd_int_process_v10.c | 44 * PRIV bit indicates that Wave S_SEND or error occurred within trap 111 /* GFX10 SQ interrupt PRIV bit (context_id0[24]) for s_sendmsg inside trap */ 114 * The debugger will send user data(m0) with PRIV=1 to indicate it requires 295 PRIV), in event_interrupt_wq_v10() 321 PRIV), in event_interrupt_wq_v10()
|
H A D | kfd_int_process_v9.c | 47 * PRIV bit indicates that Wave S_SEND or error occurred within trap 125 * The debugger will send user data(m0) with PRIV=1 to indicate it requires 354 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()
|
H A D | cwsr_trap_handler_gfx10.asm | 1013 // s_barrier with MODE.DEBUG_EN=1, STATUS.PRIV=1 incorrectly asserts debug exception. 1086 // If traps are enabled then return to the shader with PRIV=0. 1087 // Otherwise retain PRIV=1 for subsequent context save requests.
|
/kernel/linux/linux-5.10/include/net/ |
H A D | atmclip.h | 45 #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) macro
|
/kernel/linux/linux-6.6/include/net/ |
H A D | atmclip.h | 45 #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) macro
|
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
H A D | perfctr.h | 58 #define PRIV 0x00000001 macro
|
/kernel/linux/linux-6.6/arch/sparc/include/uapi/asm/ |
H A D | perfctr.h | 58 #define PRIV 0x00000001 macro
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | sa2ul.c | 70 #define PRIV 0x1 macro 731 sc_buf[6] = PRIV; in sa_init_sc()
|