Home
last modified time | relevance | path

Searched refs:HPT_U8 (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/dev/hpt27xx/
H A Dhptintf.h383 HPT_U8 MaximumControllers; /* maximum controllers the driver can support */
384 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
385 HPT_U8 MinimumBlockSizeShift; /* minimum block size shift */
386 HPT_U8 MaximumBlockSizeShift; /* maximum block size shift */
388 HPT_U8 SupportDiskModeSetting;
389 HPT_U8 SupportSparePool;
390 HPT_U8 MaximumArrayNameLength;
393 HPT_U8 reserved: 2;
394 HPT_U8 SupportPerformanceMonitor: 1;
395 HPT_U8 SupportVariableSectorSize: 1;
[all …]
H A Dhim.h51 HPT_U8 rev;
52 HPT_U8 nbase;
59 HPT_U8 tree;
60 HPT_U8 bus;
61 HPT_U8 device;
62 HPT_U8 function;
71 HPT_U8 max_devices;
73 HPT_U8 bProbeInInitializing:1;
75 HPT_U8 bSpinupOneDevEachTime:1;
77 HPT_U8 bGlobalNcq:1;
[all …]
H A Dosm.h53 typedef unsigned char HPT_U8; typedef
67 HPT_U8 *p = (HPT_U8 *)&x; in CPU_TO_BE64()
80 HPT_U8 *p = (HPT_U8 *)&x; in CPU_TO_BE32()
88 return ((HPT_U8)x << 8) | (x>>8); in CPU_TO_BE16()
127 HPT_U8 os_inb (void *port);
130 void os_outb (void *port, HPT_U8 value);
138 #define os_readb(addr) (*(HPT_U8 *)&__dummy_reg = *(volatile HPT_U8 *)(addr))
142 #define os_writeb(addr, val) *(volatile HPT_U8 *)(addr) = (HPT_U8)(val)
147 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
148 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
[all …]
H A Dhpt27xx_os_bsd.c38 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); } in os_inb()
42 void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); } in os_outb()
55 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) in os_pci_readb()
60 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) in os_pci_readw()
65 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) in os_pci_readl()
70 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) in os_pci_writeb()
75 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) in os_pci_writew()
80 void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value) in os_pci_writel()
91 HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg) in pcicfg_read_byte()
93 return (HPT_U8)pci_cfgregread(0, bus, dev, func, reg, 1); in pcicfg_read_byte()
[all …]
H A Darray.h102 HPT_U8 transform_from_tail;
110 HPT_U8 operation;
111 HPT_U8 disabled;
120 HPT_U8 ndisk;
121 HPT_U8 block_size_shift;
123 HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/
124 HPT_U8 jid;
125 HPT_U8 reserved[2];
138 HPT_U8 name[MAX_ARRAY_NAME];
142 HPT_U8 description[64];
[all …]
H A Dldm.h246 HPT_U8 max_queue_depth;
247 HPT_U8 user_select_mode;
291 HPT_U8 __type;
292 HPT_U8 stripped; /* RAID0,3,5,6 */
293 HPT_U8 redundancy; /* RAID1-1, RAID3/5-1, RAID6-2 */
294 HPT_U8 must_init; /* RAID3,5,6 */
295 HPT_U8 docache;
357 struct vdev_class *ldm_find_vdev_class(HPT_U8 type);
362 HPT_U8 type;
377 HPT_U8 vf_online : 1;
[all …]
H A Dhpt27xx_osm_bsd.c484 os_set_sgptr(pSg, (HPT_U8 *)ccb->csio.data_ptr); in os_buildsgl()
535 HPT_U8 *cdb; in hpt_scsi_io()
600 HPT_U8 *rbuf = ccb->csio.data_ptr; in hpt_scsi_io()
602 HPT_U8 sector_size_shift = 0; in hpt_scsi_io()
629 rbuf[0] = (HPT_U8)(cap>>24); in hpt_scsi_io()
630 rbuf[1] = (HPT_U8)(cap>>16); in hpt_scsi_io()
631 rbuf[2] = (HPT_U8)(cap>>8); in hpt_scsi_io()
632 rbuf[3] = (HPT_U8)cap; in hpt_scsi_io()
643 HPT_U8 *rbuf = ccb->csio.data_ptr; in hpt_scsi_io()
651 HPT_U8 *rbuf = ccb->csio.data_ptr; in hpt_scsi_io()
[all …]
H A Dhimfuncs.h42 _HIM_INTERFACE(HPT_U8, get_controller_count, (PCI_ID *id, HPT_U8 *reached, PCI_ADDRESS *addr))
78 _HIM_INTERFACE(int, read_write, (void *dev,HPT_LBA lba, HPT_U16 nsector, HPT_U8 *buffer, HPT_BOOL r…
/freebsd/sys/dev/hptnr/
H A Dhptintf.h379 HPT_U8 MaximumControllers; /* maximum controllers the driver can support */
380 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
381 HPT_U8 MinimumBlockSizeShift; /* minimum block size shift */
382 HPT_U8 MaximumBlockSizeShift; /* maximum block size shift */
384 HPT_U8 SupportDiskModeSetting;
385 HPT_U8 SupportSparePool;
386 HPT_U8 MaximumArrayNameLength;
389 HPT_U8 reserved: 2;
390 HPT_U8 SupportPerformanceMonitor: 1;
391 HPT_U8 SupportVariableSectorSize: 1;
[all …]
H A Dhim.h50 HPT_U8 rev;
51 HPT_U8 nbase;
58 HPT_U8 tree;
59 HPT_U8 bus;
60 HPT_U8 device;
61 HPT_U8 function;
70 HPT_U8 max_devices;
72 HPT_U8 bProbeInInitializing:1;
74 HPT_U8 bSpinupOneDevEachTime:1;
76 HPT_U8 bGlobalNcq:1;
[all …]
H A Dosm.h52 typedef unsigned char HPT_U8; typedef
65 HPT_U8 *p = (HPT_U8 *)&x; in CPU_TO_BE64()
78 HPT_U8 *p = (HPT_U8 *)&x; in CPU_TO_BE32()
86 return ((HPT_U8)x << 8) | (x>>8); in CPU_TO_BE16()
125 HPT_U8 os_inb (void *port);
128 void os_outb (void *port, HPT_U8 value);
136 #define os_readb(addr) (*(HPT_U8 *)&__dummy_reg = *(volatile HPT_U8 *)(addr))
140 #define os_writeb(addr, val) *(volatile HPT_U8 *)(addr) = (HPT_U8)(val)
145 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
146 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
[all …]
H A Darray.h102 HPT_U8 transform_from_tail;
110 HPT_U8 operation;
111 HPT_U8 disabled;
120 HPT_U8 ndisk;
121 HPT_U8 block_size_shift;
123 HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/
124 HPT_U8 jid;
125 HPT_U8 reserved[2];
138 HPT_U8 name[MAX_ARRAY_NAME];
142 HPT_U8 description[64];
[all …]
H A Dhptnr_os_bsd.c37 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); } in os_inb()
41 void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); } in os_outb()
54 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) in os_pci_readb()
59 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) in os_pci_readw()
64 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) in os_pci_readl()
69 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) in os_pci_writeb()
74 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) in os_pci_writew()
79 void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value) in os_pci_writel()
89 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg) in pcicfg_read_dword()
276 HPT_U8 os_get_vbus_seq(void *osext) in os_get_vbus_seq()
H A Dldm.h244 HPT_U8 logicalsectors_per_physicalsector;
247 HPT_U8 max_queue_depth;
248 HPT_U8 user_select_mode;
290 HPT_U8 __type;
291 HPT_U8 stripped; /* RAID0,3,5,6 */
292 HPT_U8 redundancy; /* RAID1-1, RAID3/5-1, RAID6-2 */
293 HPT_U8 must_init; /* RAID3,5,6 */
294 HPT_U8 docache;
356 struct vdev_class *ldm_find_vdev_class(HPT_U8 type);
361 HPT_U8 type;
[all …]
H A Dhptnr_osm_bsd.c439 HPT_U8 *cdb; in os_cmddone()
454 HPT_U8 *sense_buffer = (HPT_U8 *)&ccb->csio.sense_data; in os_cmddone()
462 sense_buffer[11] = (HPT_U8)passthru->bFeaturesReg; /* Error */ in os_cmddone()
463 sense_buffer[13] = (HPT_U8)passthru->bSectorCountReg; /* Sector Count (7:0) */ in os_cmddone()
464 sense_buffer[15] = (HPT_U8)passthru->bLbaLowReg; /* LBA Low (7:0) */ in os_cmddone()
465 sense_buffer[17] = (HPT_U8)passthru->bLbaMidReg; /* LBA Mid (7:0) */ in os_cmddone()
466 sense_buffer[19] = (HPT_U8)passthru->bLbaHighReg; /* LBA High (7:0) */ in os_cmddone()
471 sense_buffer[12] = (HPT_U8)(passthru->bSectorCountReg >> 8); /* Sector Count (15:8) */ in os_cmddone()
472 sense_buffer[14] = (HPT_U8)(passthru->bLbaLowReg >> 8); /* LBA Low (15:8) */ in os_cmddone()
473 sense_buffer[16] = (HPT_U8)(passthru->bLbaMidReg >> 8); /* LBA Mid (15:8) */ in os_cmddone()
[all …]
H A Dhimfuncs.h42 _HIM_INTERFACE(HPT_U8, get_controller_count, (PCI_ID *id, HPT_U8 *reached, PCI_ADDRESS *addr))
78 _HIM_INTERFACE(int, read_write, (void *dev,HPT_LBA lba, HPT_U16 nsector, HPT_U8 *buffer, HPT_BOOL r…
/freebsd/sys/dev/hptrr/
H A Dhptintf.h343 HPT_U8 MaximumControllers; /* maximum controllers the driver can support */
344 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
345 HPT_U8 MinimumBlockSizeShift; /* minimum block size shift */
346 HPT_U8 MaximumBlockSizeShift; /* maximum block size shift */
348 HPT_U8 SupportDiskModeSetting;
349 HPT_U8 SupportSparePool;
350 HPT_U8 MaximumArrayNameLength;
353 HPT_U8 reserved: 3;
354 HPT_U8 SupportVariableSectorSize: 1;
355 HPT_U8 SupportHotSwap: 1;
[all …]
H A Dhim.h53 HPT_U8 rev;
54 HPT_U8 nbase;
61 HPT_U8 tree;
62 HPT_U8 bus;
63 HPT_U8 device;
64 HPT_U8 function;
73 HPT_U8 max_devices;
74 HPT_U8 reserve1;
76 HPT_U8 bDevsPerBus;
77 HPT_U8 first_on_slot;
[all …]
H A Darray.h104 HPT_U8 transform_from_tail;
112 HPT_U8 operation;
113 HPT_U8 disabled;
121 HPT_U8 ndisk;
122 HPT_U8 block_size_shift;
124 HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/
125 HPT_U8 jid;
126 HPT_U8 reserved[2];
139 HPT_U8 name[MAX_ARRAY_NAME];
143 HPT_U8 description[64];
[all …]
H A Dosm.h52 typedef unsigned char HPT_U8; typedef
95 HPT_U8 os_inb (void *port);
98 void os_outb (void *port, HPT_U8 value);
106 #define os_readb(addr) (*(HPT_U8 *)&__dummy_reg = *(volatile HPT_U8 *)(addr))
110 #define os_writeb(addr, val) *(volatile HPT_U8 *)(addr) = (HPT_U8)(val)
115 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
116 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
117 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
118 void os_pci_writeb(void *osext, HPT_U8 offset, HPT_U8 value);
119 void os_pci_writew(void *osext, HPT_U8 offset, HPT_U16 value);
[all …]
H A Dldm.h226 void ldm_set_spindown_disks_timeout(PVBUS vbus, HPT_U8 timeout);
245 HPT_U8 max_queue_depth;
246 HPT_U8 user_select_mode;
285 HPT_U8 __type;
286 HPT_U8 stripped; /* RAID0,3,5,6 */
287 HPT_U8 redundancy; /* RAID1-1, RAID3/5-1, RAID6-2 */
288 HPT_U8 must_init; /* RAID3,5,6 */
289 HPT_U8 docache;
351 struct vdev_class *ldm_find_vdev_class(HPT_U8 type);
356 HPT_U8 type;
[all …]
H A Dhptrr_os_bsd.c38 HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); } in os_inb()
42 void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); } in os_outb()
55 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) in os_pci_readb()
60 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) in os_pci_readw()
65 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) in os_pci_readl()
70 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) in os_pci_writeb()
75 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) in os_pci_writew()
80 void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value) in os_pci_writel()
262 HPT_U8 os_get_vbus_seq(void *osext) in os_get_vbus_seq()
H A Dhimfuncs.h43 _HIM_INTERFACE(HPT_U8, get_controller_count, (PCI_ID *id, HPT_U8 *reached))
79 _HIM_INTERFACE(int, read_write, (void *dev,HPT_LBA lba, HPT_U16 nsector, HPT_U8 *buffer, HPT_BOOL r…
H A Dhptrr_osm_bsd.c490 os_set_sgptr(pSg, (HPT_U8 *)ccb->csio.data_ptr); in os_buildsgl()
542 HPT_U8 *cdb; in hpt_scsi_io()
606 HPT_U8 *rbuf = ccb->csio.data_ptr; in hpt_scsi_io()
614 rbuf[0] = (HPT_U8)(cap>>24); in hpt_scsi_io()
615 rbuf[1] = (HPT_U8)(cap>>16); in hpt_scsi_io()
616 rbuf[2] = (HPT_U8)(cap>>8); in hpt_scsi_io()
617 rbuf[3] = (HPT_U8)cap; in hpt_scsi_io()
629 HPT_U8 *rbuf = ccb->csio.data_ptr; in hpt_scsi_io()
632 rbuf[0] = (HPT_U8)(cap>>56); in hpt_scsi_io()
633 rbuf[1] = (HPT_U8)(cap>>48); in hpt_scsi_io()
[all …]