Searched refs:HPT_U32 (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-12-stable/sys/dev/hpt27xx/
H A Dosm.h52 typedef unsigned int HPT_UINT, HPT_U32; typedef
80 static __inline HPT_U32 CPU_TO_BE32(HPT_U32 x)
83 return ((HPT_U32)p[0] << 24) |
84 ((HPT_U32)p[1] << 16) |
85 ((HPT_U32)p[2] << 8) | p[3];
107 #define LO_LBA(x) ((HPT_U32)(x))
108 #define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
112 #define LO_BUSADDR(x) ((HPT_U32)(x))
120 HPT_U32 second
[all...]
H A Dhptintf.h85 typedef HPT_U32 DEVICEID;
383 HPT_U32 dwSize;
422 HPT_U32 ConfigRegSize; /* max sectors */
423 HPT_U32 SupportDiskCachePolicy; /* disable/enable disk cache policy */
424 HPT_U32 Flags;
425 HPT_U32 reserved[14];
453 HPT_U32 GroupId; /* low 32bit of vbus pointer the controller belongs
460 HPT_U32 ExFlags;
506 HPT_U32 GroupId;
511 HPT_U32 ExFlag
[all...]
H A Dhpt27xx_os_bsd.c42 HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
46 void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
48 void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
51 void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
54 HPT_U32 __dummy_reg = 0;
67 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset)
82 void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value)
97 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg)
99 return (HPT_U32)pci_cfgregread(bus, dev, func, reg, 4);
105 void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32
[all...]
H A Darray.h51 typedef HPT_U32 HPT_MMASK;
100 HPT_U32 stamp;
118 HPT_U32 array_stamp;
119 HPT_U32 data_stamp;
120 HPT_U32 array_sn;
H A Dhim.h45 #define SECTOR_TO_BYTE(x) ((HPT_U32)(x) << SECTOR_TO_BYTE_SHIFT)
52 HPT_U32 subsys;
95 HPT_U32 nvramSize;
108 HPT_U32 io_port;
109 HPT_U32 ctl_port;
164 HPT_U32 CurrentSectorCapacity;
166 HPT_U32 UserAddressableSectors;
189 HPT_U32 Lba48BitLow;
190 HPT_U32 Lba48BitHigh;
204 HPT_U32 logical_sector_siz
[all...]
H A Dwj.h41 void wj_init(PVBUS vbus, void *nvram_addr, HPT_U32 nvram_size);
H A Dldm.h168 HPT_U32 interval; /*microseconds*/
208 HPT_U32 dwIoControlCode;
209 HPT_U32 nInBufferSize;
210 HPT_U32 nOutBufferSize;
213 HPT_U32 *lpBytesReturned;
228 HPT_U32 ldm_get_device_id(PVDEV vd); /* for ioctl */
245 HPT_U32 logical_sector_size;
395 HPT_U32 last_active;
400 HPT_U32 ioctl_id;
455 PVDEV ldm_find_stamp(PVBUS vbus, HPT_U32 stam
[all...]
H A Dhimfuncs.h75 _HIM_INTERFACE(HPT_U32, get_cmdext_size, (void))
108 _HIM_INTERFACE(HPT_BOOL, flash_access, (void *adapter, HPT_U32 offset, void *value, int size, HPT_BOOL reading))
H A Dhpt27xx_osm_bsd.c90 pci_id.subsys = (HPT_U32)(pci_get_subdevice(dev)) << 16 | pci_get_subvendor(dev);
586 *(HPT_U32 *)&cdb[0], *(HPT_U32 *)&cdb[4], *(HPT_U32 *)&cdb[8]
641 HPT_U32 cap;
644 HPT_U32 sector_size = 0;
694 HPT_U32 sector_size = 0;
742 HPT_U32 sector_size = 0;
754 pCmd->uCmd.Ide.Lba = ((HPT_U32)cdb[1] << 16) | ((HPT_U32)cd
[all...]
/freebsd-12-stable/sys/dev/hptnr/
H A Dosm.h51 typedef unsigned int HPT_UINT, HPT_U32; typedef
78 static __inline HPT_U32 CPU_TO_BE32(HPT_U32 x)
81 return ((HPT_U32)p[0] << 24) |
82 ((HPT_U32)p[1] << 16) |
83 ((HPT_U32)p[2] << 8) | p[3];
105 #define LO_LBA(x) ((HPT_U32)(x))
106 #define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
110 #define LO_BUSADDR(x) ((HPT_U32)(x))
118 HPT_U32 second
[all...]
H A Dhptintf.h84 typedef HPT_U32 DEVICEID;
379 HPT_U32 dwSize;
418 HPT_U32 ConfigRegSize; /* max sectors */
419 HPT_U32 SupportDiskCachePolicy; /* disable/enable disk cache policy */
420 HPT_U32 Flags;
421 HPT_U32 reserved[14];
449 HPT_U32 GroupId; /* low 32bit of vbus pointer the controller belongs
456 HPT_U32 ExFlags;
502 HPT_U32 GroupId;
507 HPT_U32 ExFlag
[all...]
H A Dhptnr_os_bsd.c41 HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
45 void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
47 void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
50 void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
53 HPT_U32 __dummy_reg = 0;
66 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset)
81 void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value)
91 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg)
93 return (HPT_U32)pci_cfgregread(bus, dev, func, reg, 4);;
99 HPT_U32 offse
[all...]
H A Darray.h50 typedef HPT_U32 HPT_MMASK;
99 HPT_U32 stamp;
117 HPT_U32 array_stamp;
118 HPT_U32 data_stamp;
119 HPT_U32 array_sn;
H A Dhim.h44 #define SECTOR_TO_BYTE(x) ((HPT_U32)(x) << SECTOR_TO_BYTE_SHIFT)
51 HPT_U32 subsys;
94 HPT_U32 nvramSize;
107 HPT_U32 io_port;
108 HPT_U32 ctl_port;
162 HPT_U32 CurrentSectorCapacity;
164 HPT_U32 UserAddressableSectors;
187 HPT_U32 Lba48BitLow;
188 HPT_U32 Lba48BitHigh;
202 HPT_U32 logical_sector_siz
[all...]
H A Dwj.h42 void wj_init(PVBUS vbus, void *nvram_addr, HPT_U32 nvram_size);
H A Dldm.h168 HPT_U32 interval; /*microseconds*/
208 HPT_U32 dwIoControlCode;
209 HPT_U32 nInBufferSize;
210 HPT_U32 nOutBufferSize;
213 HPT_U32 *lpBytesReturned;
228 HPT_U32 ldm_get_device_id(PVDEV vd); /* for ioctl */
245 HPT_U32 logical_sector_size;
394 HPT_U32 last_active;
399 HPT_U32 ioctl_id;
454 PVDEV ldm_find_stamp(PVBUS vbus, HPT_U32 stam
[all...]
H A Dhimfuncs.h75 _HIM_INTERFACE(HPT_U32, get_cmdext_size, (void))
108 _HIM_INTERFACE(HPT_BOOL, flash_access, (void *adapter, HPT_U32 offset, void *value, int size, HPT_BOOL reading))
/freebsd-12-stable/sys/dev/hptrr/
H A Dosm.h51 typedef unsigned int HPT_UINT, HPT_U32; typedef
75 #define LO_LBA(x) ((HPT_U32)(x))
76 #define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
80 #define LO_BUSADDR(x) ((HPT_U32)(x))
88 HPT_U32 seconds:6; /* 0 - 59 */
89 HPT_U32 minutes:6; /* 0 - 59 */
90 HPT_U32 month:4; /* 1 - 12 */
91 HPT_U32 hours:6; /* 0 - 59 */
92 HPT_U32 day:5; /* 1 - 31 */
93 HPT_U32 yea
[all...]
H A Dhptintf.h84 typedef HPT_U32 DEVICEID;
343 HPT_U32 dwSize;
380 HPT_U32 reserved[17];
408 HPT_U32 GroupId; /* low 32bit of vbus pointer the controller belongs
415 HPT_U32 ExFlags;
436 HPT_U32 GroupId;
441 HPT_U32 ExFlags;
443 HPT_U32 SDRAMSize;
447 HPT_U32 BatteryBackupTime;
448 HPT_U32 FirmwareVersio
[all...]
H A Dhptrr_os_bsd.c42 HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
46 void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
48 void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
51 void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
54 HPT_U32 __dummy_reg = 0;
67 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset)
82 void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value)
90 HPT_U32 offset,
91 HPT_U32 length
202 HPT_U32 os_get_stam
[all...]
H A Darray.h53 typedef HPT_U32 HPT_MMASK;
102 HPT_U32 stamp;
120 HPT_U32 array_stamp;
121 HPT_U32 data_stamp;
H A Dhim.h47 #define SECTOR_TO_BYTE(x) ((HPT_U32)(x) << SECTOR_TO_BYTE_SHIFT)
54 HPT_U32 subsys;
93 HPT_U32 io_port;
94 HPT_U32 ctl_port;
147 HPT_U32 CurrentSectorCapacity;
149 HPT_U32 UserAddressableSectors;
258 HPT_U32 size;
307 HPT_U32 dataLength;
H A Dhimfuncs.h76 _HIM_INTERFACE(HPT_U32, get_cmdext_size, (void))
105 _HIM_INTERFACE(HPT_BOOL, flash_access, (void *adapter, HPT_U32 offset, void *value, int size, HPT_BOOL reading))
H A Dldm.h167 HPT_U32 interval; /*microseconds*/
206 HPT_U32 dwIoControlCode;
207 HPT_U32 nInBufferSize;
208 HPT_U32 nOutBufferSize;
211 HPT_U32 *lpBytesReturned;
225 HPT_U32 ldm_get_device_id(PVDEV vd); /* for ioctl */
393 HPT_U32 ioctl_id;
448 PVDEV ldm_find_stamp(PVBUS vbus, HPT_U32 stamp, int seq);
518 void ldm_event_notify(HPT_U32 event, void *arg1, void *arg2);
H A Dhptrr_osm_bsd.c554 *(HPT_U32 *)&cdb[0], *(HPT_U32 *)&cdb[4], *(HPT_U32 *)&cdb[8]
609 HPT_U32 cap;
673 pCmd->uCmd.Ide.Lba = ((HPT_U32)cdb[1] << 16) | ((HPT_U32)cdb[2] << 8) | (HPT_U32)cdb[3];
694 pCmd->uCmd.Ide.Lba = (HPT_U32)cdb[5] | ((HPT_U32)cdb[4] << 8) | ((HPT_U32)cd
[all...]

Completed in 110 milliseconds

12