Lines Matching defs:sda_mem_getbits
208 sda_mem_getbits(uint32_t *resp, int hibit, int len)
224 *s++ = sda_mem_getbits(resp, hibit, 8);
242 ts = sda_mem_getbits(slot->s_rcsd, 103, 8);
261 csdver = sda_mem_getbits(rcsd, 127, 2);
266 csize = sda_mem_getbits(rcsd, 73, 12);
267 rblen = (1 << sda_mem_getbits(rcsd, 83, 4));
268 cmult = (4 << sda_mem_getbits(rcsd, 49, 3));
273 csize = sda_mem_getbits(rcsd, 69, 22);
283 slot->s_mfg = sda_mem_getbits(rcid, 127, 8);
286 slot->s_majver = sda_mem_getbits(rcid, 63, 4);
287 slot->s_minver = sda_mem_getbits(rcid, 59, 4);
288 slot->s_serial = sda_mem_getbits(rcid, 55, 32);
289 slot->s_year = sda_mem_getbits(rcid, 19, 8) + 2000;
290 slot->s_month = sda_mem_getbits(rcid, 11, 4);
299 switch (sda_mem_getbits(rcsd, 125, 4)) {
302 slot->s_mfg = sda_mem_getbits(rcid, 127, 24);
305 slot->s_majver = sda_mem_getbits(rcid, 47, 4);
306 slot->s_minver = sda_mem_getbits(rcid, 43, 4);
307 slot->s_serial = sda_mem_getbits(rcid, 39, 24);
313 slot->s_mfg = sda_mem_getbits(rcid, 127, 8);
316 slot->s_majver = sda_mem_getbits(rcid, 55, 4);
317 slot->s_minver = sda_mem_getbits(rcid, 51, 4);
318 slot->s_serial = sda_mem_getbits(rcid, 47, 32);
324 sda_mem_getbits(rcsd, 125, 4));
328 slot->s_year = sda_mem_getbits(rcid, 11, 4) + 1997;
329 slot->s_month = sda_mem_getbits(rcid, 15, 4);
331 csize = sda_mem_getbits(rcsd, 73, 12);
332 rblen = (1 << sda_mem_getbits(rcsd, 83, 4));
333 cmult = (4 << sda_mem_getbits(rcsd, 49, 3));
355 slot->s_r2w = (1 << sda_mem_getbits(rcsd, 28, 3));
356 slot->s_ccc = sda_mem_getbits(rcsd, 95, 12);
357 slot->s_perm_wp = sda_mem_getbits(rcsd, 13, 1);
358 slot->s_temp_wp = sda_mem_getbits(rcsd, 12, 1);
359 slot->s_dsr = sda_mem_getbits(rcsd, 76, 1);