Lines Matching defs:np
437 #define NCR_INIT_LOCK_NCB(np) spin_lock_init(&np->smp_lock) argument
438 #define NCR_LOCK_NCB(np, flags) spin_lock_irqsave(&np->smp_lock, flags) argument
439 #define NCR_UNLOCK_NCB(np, flags) spin_unlock_irqrestore(&np->smp_lock, flags) argument
441 #define NCR_LOCK_SCSI_DONE(np, flags) \ argument
443 #define NCR_UNLOCK_SCSI_DONE(np, flags) \ argument
451 #define NCR_INIT_LOCK_NCB(np) do { } while (0) argument
452 #define NCR_LOCK_NCB(np, flags) do { save_flags(flags); cli(); } while (0) argument
453 #define NCR_UNLOCK_NCB(np, flags) do { restore_flags(flags); } while (0) argument
455 #define NCR_LOCK_SCSI_DONE(np, flags) do {;} while (0) argument
456 #define NCR_UNLOCK_SCSI_DONE(np, flags) do {;} while (0) argument
920 #define _m_calloc_dma(np, s, n) __m_calloc_dma(np->pdev, s, n) argument
921 #define _m_free_dma(np, p, s, n) __m_free_dma(np->pdev, p, s, n) argument
924 #define _vtobus(np, p) __vtobus(np->pdev, p) argument
1018 #define unmap_scsi_data(np, cmd) __unmap_scsi_data(np->pdev, cmd) argument
1019 #define map_scsi_single_data(np, cmd) __map_scsi_single_data(np->pdev, cmd) argument
1020 #define map_scsi_sg_data(np, cmd) __map_scsi_sg_data(np->pdev, cmd) argument
1021 #define sync_scsi_data(np, cmd) __sync_scsi_data(np->pdev, cmd) argument
1185 S24C16_set_bit(ncr_slot *np, u_char write_bit, u_char *gpreg, int bit_mode) in S24C16_set_bit()
1210 static void __init S24C16_start(ncr_slot *np, u_char *gpreg) in S24C16_start()
1221 static void __init S24C16_stop(ncr_slot *np, u_char *gpreg) in S24C16_stop()
1232 S24C16_do_bit(ncr_slot *np, u_char *read_bit, u_char write_bit, u_char *gpreg) in S24C16_do_bit()
1247 S24C16_write_ack(ncr_slot *np, u_char write_bit, u_char *gpreg, u_char *gpcntl) in S24C16_write_ack()
1259 S24C16_read_ack(ncr_slot *np, u_char *read_bit, u_char *gpreg, u_char *gpcntl) in S24C16_read_ack()
1271 S24C16_write_byte(ncr_slot *np, u_char *ack_data, u_char write_data, in S24C16_write_byte()
1287 S24C16_read_byte(ncr_slot *np, u_char *read_data, u_char ack_data, in S24C16_read_byte()
1306 sym_read_S24C16_nvram (ncr_slot *np, int offset, u_char *data, int len) in sym_read_S24C16_nvram()
1385 static int __init sym_read_Symbios_nvram (ncr_slot *np, Symbios_nvram *nvram) in sym_read_Symbios_nvram()
1426 static void __init T93C46_Clk(ncr_slot *np, u_char *gpreg) in T93C46_Clk()
1436 static void __init T93C46_Read_Bit(ncr_slot *np, u_char *read_bit, u_char *gpreg) in T93C46_Read_Bit()
1446 static void __init T93C46_Write_Bit(ncr_slot *np, u_char write_bit, u_char *gpreg) in T93C46_Write_Bit()
1464 static void __init T93C46_Stop(ncr_slot *np, u_char *gpreg) in T93C46_Stop()
1477 T93C46_Send_Command(ncr_slot *np, u_short write_data, in T93C46_Send_Command()
1493 T93C46_Read_Word(ncr_slot *np, u_short *nvram_data, u_char *gpreg) in T93C46_Read_Word()
1513 T93C46_Read_Data(ncr_slot *np, u_short *data,int len,u_char *gpreg) in T93C46_Read_Data()
1535 sym_read_T93C46_nvram (ncr_slot *np, Tekram_nvram *nvram) in sym_read_T93C46_nvram()
1568 sym_read_Tekram_nvram (ncr_slot *np, u_short device_id, Tekram_nvram *nvram) in sym_read_Tekram_nvram()