Lines Matching refs:firsts
114 u_int firsts[CH_TYPES]; member
228 if (elem >= ch->firsts[i] && in ch_elem_to_typecode()
229 elem < ch->firsts[i] + in ch_elem_to_typecode()
316 ch->firsts[CHET_MT] = in ch_readconfig()
320 ch->firsts[CHET_ST] = in ch_readconfig()
324 ch->firsts[CHET_IE] = in ch_readconfig()
328 ch->firsts[CHET_DT] = in ch_readconfig()
333 ch->firsts[CHET_MT], in ch_readconfig()
336 ch->firsts[CHET_ST], in ch_readconfig()
339 ch->firsts[CHET_IE], in ch_readconfig()
342 ch->firsts[CHET_DT], in ch_readconfig()
354 ch->firsts[CHET_V1+i] = vendor_firsts[i]; in ch_readconfig()
377 elem+ch->firsts[CHET_DT]); in ch_readconfig()
379 (ch,elem+ch->firsts[CHET_DT],data)) { in ch_readconfig()
381 elem+ch->firsts[CHET_DT]); in ch_readconfig()
383 VPRINTK(KERN_INFO, "dt 0x%x: ",elem+ch->firsts[CHET_DT]); in ch_readconfig()
429 trans = ch->firsts[CHET_MT]; in ch_position()
448 trans = ch->firsts[CHET_MT]; in ch_move()
471 trans = ch->firsts[CHET_MT]; in ch_exchange()
549 (ch, ch->firsts[type]+i,data)) { in ch_gstatus()
556 ch->firsts[type]+i, in ch_gstatus()
559 (ch, ch->firsts[type]+i,data); in ch_gstatus()
694 ch->firsts[pos.cp_type] + pos.cp_unit, in ch_ioctl()
715 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl()
716 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl()
739 ch->firsts[mv.ce_srctype] + mv.ce_srcunit, in ch_ioctl()
740 ch->firsts[mv.ce_fdsttype] + mv.ce_fdstunit, in ch_ioctl()
741 ch->firsts[mv.ce_sdsttype] + mv.ce_sdstunit, in ch_ioctl()
785 elem = ch->firsts[cge.cge_type] + cge.cge_unit; in ch_ioctl()
816 if (elem >= ch->firsts[i] && in ch_ioctl()
817 elem < ch->firsts[i] + ch->counts[i]) { in ch_ioctl()
819 cge.cge_srcunit = elem-ch->firsts[i]; in ch_ioctl()
869 elem = ch->firsts[csv.csv_type] + csv.csv_unit; in ch_ioctl()