Lines Matching refs:firsts
114 u_int firsts[CH_TYPES]; member
227 if (elem >= ch->firsts[i] && in ch_elem_to_typecode()
228 elem < ch->firsts[i] + in ch_elem_to_typecode()
315 ch->firsts[CHET_MT] = in ch_readconfig()
319 ch->firsts[CHET_ST] = in ch_readconfig()
323 ch->firsts[CHET_IE] = in ch_readconfig()
327 ch->firsts[CHET_DT] = in ch_readconfig()
332 ch->firsts[CHET_MT], in ch_readconfig()
335 ch->firsts[CHET_ST], in ch_readconfig()
338 ch->firsts[CHET_IE], in ch_readconfig()
341 ch->firsts[CHET_DT], in ch_readconfig()
353 ch->firsts[CHET_V1+i] = vendor_firsts[i]; in ch_readconfig()
376 elem+ch->firsts[CHET_DT]); in ch_readconfig()
378 (ch,elem+ch->firsts[CHET_DT],data)) { in ch_readconfig()
380 elem+ch->firsts[CHET_DT]); in ch_readconfig()
382 VPRINTK(KERN_INFO, "dt 0x%x: ",elem+ch->firsts[CHET_DT]); in ch_readconfig()
428 trans = ch->firsts[CHET_MT]; in ch_position()
447 trans = ch->firsts[CHET_MT]; in ch_move()
470 trans = ch->firsts[CHET_MT]; in ch_exchange()
548 (ch, ch->firsts[type]+i,data)) { in ch_gstatus()
555 ch->firsts[type]+i, in ch_gstatus()
558 (ch, ch->firsts[type]+i,data); in ch_gstatus()
693 ch->firsts[pos.cp_type] + pos.cp_unit, in ch_ioctl()
714 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl()
715 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl()
738 ch->firsts[mv.ce_srctype] + mv.ce_srcunit, in ch_ioctl()
739 ch->firsts[mv.ce_fdsttype] + mv.ce_fdstunit, in ch_ioctl()
740 ch->firsts[mv.ce_sdsttype] + mv.ce_sdstunit, in ch_ioctl()
784 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()