Searched refs:posn (Results 1 – 3 of 3) sorted by relevance
179 int posn; in update_port() local191 for (posn = 0; posn < nextport; posn++) { in update_port()192 if (allports[posn]->linkid == linkid) in update_port()197 if (posn >= numports) { in update_port()216 port_index = posn + 1; in update_port()217 fds = fdarray + posn + FDOFFSET; in update_port()220 if (posn == nextport) { in update_port()226 allports[posn] = port; in update_port()236 port = allports[posn]; in update_port()314 if (posn + 1 == nextport) { in update_port()
945 int8_t posn; /* keysw posn read from IO-SRAM */ in sgenv_keyswitch_kstat_update() local972 posn = SG_KEYSWITCH_POSN_UNKNOWN; in sgenv_keyswitch_kstat_update()976 (char *)&posn, size)) != 0) { in sgenv_keyswitch_kstat_update()977 posn = SG_KEYSWITCH_POSN_UNKNOWN; in sgenv_keyswitch_kstat_update()981 switch (posn) { in sgenv_keyswitch_kstat_update()990 posn = SG_KEYSWITCH_POSN_UNKNOWN; in sgenv_keyswitch_kstat_update()996 keysw_data->keyswitch_position.value.i32 = posn; in sgenv_keyswitch_kstat_update()
220 int posn; /* The index in the above line segment, containing */ member2556 str->posn = 0; in glh_init_stream()2573 str->c = str->seg ? str->seg->s[str->posn] : '\0'; in glh_step_stream()2578 if(str->c != '\0' && ++str->posn >= GLH_SEG_SIZE) { in glh_step_stream()2579 str->posn = 0; in glh_step_stream()