Lines Matching +full:0 +full:x01f00000
42 case 0x0200: in mxms_version()
43 case 0x0201: in mxms_version()
44 case 0x0300: in mxms_version()
51 return 0x0000; in mxms_version()
70 u8 *mxms = mxms_data(mxm), sum = 0; in mxms_checksum()
84 if (*(u32 *)mxms != 0x5f4d584d) { in mxms_valid()
104 u8 type = desc[0] & 0x0f; in mxms_foreach()
105 u8 headerlen = 0; in mxms_foreach()
106 u8 recordlen = 0; in mxms_foreach()
107 u8 entries = 0; in mxms_foreach()
110 case 0: /* Output Device Structure */ in mxms_foreach()
111 if (mxms_version(mxm) >= 0x0300) in mxms_foreach()
124 entries = (ROM32(desc[0]) & 0x01f00000) >> 20; in mxms_foreach()
130 if (mxms_version(mxm) >= 0x0300) { in mxms_foreach()
133 entries = (desc[1] & 0xf0) >> 4; in mxms_foreach()
141 entries = desc[1] & 0x07; in mxms_foreach()
157 for (j = headerlen - 1, ptr = data; j >= 0; j--) in mxms_foreach()
162 for (i = 0; i < entries; i++, dump += recordlen) { in mxms_foreach()
163 for (j = recordlen - 1, ptr = data; j >= 0; j--) in mxms_foreach()
183 u64 data = ROM32(pdata[0]); in mxms_output_device()
184 if (mxms_version(mxm) >= 0x0300) in mxms_output_device()
187 desc->outp_type = (data & 0x00000000000000f0ULL) >> 4; in mxms_output_device()
188 desc->ddc_port = (data & 0x0000000000000f00ULL) >> 8; in mxms_output_device()
189 desc->conn_type = (data & 0x000000000001f000ULL) >> 12; in mxms_output_device()
190 desc->dig_conn = (data & 0x0000000000780000ULL) >> 19; in mxms_output_device()