Home
last modified time | relevance | path

Searched refs:BYTE (Results 1 – 22 of 22) sorted by relevance

/drivers/staging/keucr/
Dsmil.h172 BYTE Model;
173 BYTE Attribute;
174 BYTE MaxZones;
175 BYTE MaxSectors;
181 BYTE Model;
182 BYTE Attribute;
183 BYTE MaxZones;
184 BYTE MaxSectors;
190 BYTE Zone; /* Zone Number */
191 BYTE Sector; /* Sector(512byte) Number on Block */
[all …]
Dsmilecc.c16 static BYTE ecctable[256] = {
39 static void trans_result(BYTE, BYTE, BYTE *, BYTE *);
60 static void trans_result(BYTE reg2, BYTE reg3, BYTE *ecc1, BYTE *ecc2) in trans_result()
62 BYTE a; /* Working for reg2,reg3 */ in trans_result()
63 BYTE b; /* Working for ecc1,ecc2 */ in trans_result()
64 BYTE i; /* For counting */ in trans_result()
98 void calculate_ecc(BYTE *table, BYTE *data, BYTE *ecc1, BYTE *ecc2, BYTE *ecc3) in calculate_ecc()
101 BYTE a; /* Working for table */ in calculate_ecc()
102 BYTE reg1; /* D-all,CP5,CP4,CP3,... */ in calculate_ecc()
103 BYTE reg2; /* LP14,LP12,L10,... */ in calculate_ecc()
[all …]
Dusb.h55 BYTE Insert:1;
56 BYTE Ready:1;
57 BYTE MediaChange:1;
58 BYTE IsMMC:1;
59 BYTE HiCapacity:1;
60 BYTE HiSpeed:1;
61 BYTE WtP:1;
62 BYTE Reserved:1;
66 BYTE Insert:1;
67 BYTE Ready:1;
[all …]
Dsmilsub.c9 void _Set_D_SsfdcRdCmd(BYTE);
10 void _Set_D_SsfdcRdAddr(BYTE);
15 void _Load_D_SsfdcRdHwECC(BYTE);
16 void _Set_D_SsfdcWrCmd(BYTE);
17 void _Set_D_SsfdcWrAddr(BYTE);
21 void _Load_D_SsfdcWrHwECC(BYTE);
25 void _Read_D_SsfdcBuf(BYTE *);
26 void _Write_D_SsfdcBuf(BYTE *);
27 void _Read_D_SsfdcByte(BYTE *);
28 void _ReadRedt_D_SsfdcBuf(BYTE *);
[all …]
Dsmilmain.c7 int Check_D_LogCHS (WORD *,BYTE *,BYTE *);
19 int Media_D_ReadOneSect (struct us_data *, WORD, BYTE *);
20 int Media_D_WriteOneSect (struct us_data *, WORD, BYTE *);
37 int Read_D_PhyOneSect (struct us_data *, WORD, BYTE *);
38 int Write_D_PhyOneSect (struct us_data *, WORD, BYTE *);
51 static BYTE WorkBuf[SECTSIZE];
52 static BYTE Redundant[REDTSIZE];
53 static BYTE WorkRedund[REDTSIZE];
56 static BYTE Assign[MAX_ZONENUM][MAX_BLOCKNUM/8];
64 static BYTE BitData[] = { 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80 } ;
[all …]
Dinit.c20 BYTE MiscReg03 = 0; in ENE_InitMedia()
54 bcb->CDB[2] = (BYTE)(index>>8); in ENE_Read_BYTE()
55 bcb->CDB[3] = (BYTE)index; in ENE_Read_BYTE()
68 BYTE buf[0x200]; in ENE_SMInit()
116 int ENE_LoadBinCode(struct us_data *us, BYTE flag) in ENE_LoadBinCode()
158 int ENE_SendScsiCmd(struct us_data *us, BYTE fDir, void *buf, int use_sg) in ENE_SendScsiCmd()
Dsmscsi.c75BYTE data_ptr[36] = {0x00, 0x80, 0x02, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x55, 0x53, 0x42, 0x32, 0x2E,… in SM_SCSI_Inquiry()
85 BYTE mediaNoWP[12] = {0x0b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x71, 0xc0, 0x00, 0x00, 0x02, 0x00}; in SM_SCSI_Mode_Sense()
86 BYTE mediaWP[12] = {0x0b, 0x00, 0x80, 0x08, 0x00, 0x00, 0x71, 0xc0, 0x00, 0x00, 0x02, 0x00}; in SM_SCSI_Mode_Sense()
104 BYTE buf[8]; in SM_SCSI_Read_Capacity()
Dinit.h8 static BYTE SM_Init[] = {
266 static BYTE SM_Rdwr[] = {
Dtransport.h62 extern int ENE_SendScsiCmd(struct us_data*, BYTE, void*, int);
63 extern int ENE_LoadBinCode(struct us_data*, BYTE);
Dcommon.h5 typedef u8 BYTE; typedef
Dusb.c54 BYTE tmp = 0; in eucr_resume()
75 BYTE tmp = 0; in eucr_reset_resume()
523 BYTE MiscReg03 = 0; in eucr_probe()
Dtransport.c507 BYTE *buf = srb->sense_buffer; in BuildSenseBuffer()
508 BYTE asc; in BuildSenseBuffer()
/drivers/block/
Dcciss_cmd.h91 BYTE data_byte[36];
99 BYTE LUNListLength[4];
101 BYTE LUN[CISS_MAX_LUN][8];
107 BYTE total_size[4]; /* Total size in blocks */
108 BYTE block_size[4]; /* Size of blocks in bytes */
120 BYTE total_size[8]; /* Total size in blocks */
121 BYTE block_size[4]; /* Size of blocks in bytes */
122 BYTE prot_en:1; /* protection enable bit */
123 BYTE rto_en:1; /* reference tag own enable bit */
124 BYTE reserved:6; /* reserved bits */
[all …]
Dcciss.h97 BYTE cciss_read;
98 BYTE cciss_write;
99 BYTE cciss_read_capacity;
Dcciss.c1570 BYTE sg_used = 0; in cciss_bigpassthru()
1576 BYTE __user *data_ptr; in cciss_bigpassthru()
1679 BYTE __user *ptr = ioc->buf; in cciss_bigpassthru()
/drivers/staging/comedi/drivers/
Ddas6402.c54 #define BYTE unsigned char macro
120 BYTE p; in das6402_setcounter()
127 p = (BYTE) (0xff & ctrlwrd); in das6402_setcounter()
129 p = (BYTE) (0xff & (ctrlwrd >> 8)); in das6402_setcounter()
136 p = (BYTE) (0xff & ctrlwrd); in das6402_setcounter()
138 p = (BYTE) (0xff & (ctrlwrd >> 8)); in das6402_setcounter()
145 p = (BYTE) (0xff & ctrlwrd); in das6402_setcounter()
147 p = (BYTE) (0xff & (ctrlwrd >> 8)); in das6402_setcounter()
244 BYTE b; in board_init()
/drivers/isdn/hisax/
Damd7930_fn.c102 WriteWordAmd7930(struct IsdnCardState *cs, BYTE reg, WORD val) in WriteWordAmd7930()
110 ReadWordAmd7930(struct IsdnCardState *cs, BYTE reg) in ReadWordAmd7930()
140 static BYTE i430States[] = {
154 static BYTE stateHelper[] = { 0x00, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
161 BYTE lsr = rByteAMD(cs, 0xA1); in Amd7930_get_state()
274 BYTE stat, der; in Amd7930_empty_Dfifo()
275 BYTE *ptr; in Amd7930_empty_Dfifo()
349 BYTE txstat, dmr3; in Amd7930_fill_Dfifo()
350 BYTE *ptr, *deb_ptr; in Amd7930_fill_Dfifo()
416 void Amd7930_interrupt(struct IsdnCardState *cs, BYTE irflags) in Amd7930_interrupt()
[all …]
Damd7930_fn.h17 #define BYTE unsigned char macro
/drivers/staging/ced1401/
Dmachine.h87 typedef unsigned char BYTE; typedef
88 typedef BYTE BOOLEAN;
91 typedef BYTE * LPBYTE;
/drivers/scsi/dpt/
Dosd_util.h179 #define BYTE unsigned char macro
/drivers/isdn/hardware/eicon/
Dcapidtmf.c177 #define capidtmf_byte_leading_zeroes(b) (capidtmf_leading_zeroes_table[(BYTE)(b)])
/drivers/scsi/
Dhpsa.c3063 BYTE sg_used = 0; in hpsa_big_passthru_ioctl()
3068 BYTE __user *data_ptr; in hpsa_big_passthru_ioctl()
3174 BYTE __user *ptr = ioc->buf; in hpsa_big_passthru_ioctl()