• Home
  • Raw
  • Download

Lines Matching refs:in

283 	char in[count+1], *temp;  in pdcspath_hwpath_write()  local
291 memset(in, 0, count+1); in pdcspath_hwpath_write()
292 strncpy(in, buf, count); in pdcspath_hwpath_write()
298 if (!(temp = strrchr(in, '/'))) in pdcspath_hwpath_write()
302 in[temp-in] = '\0'; /* truncate the remaining string. just precaution */ in pdcspath_hwpath_write()
310 for (i=5; ((temp = strrchr(in, '/'))) && (temp-in > 0) && (likely(i)); i--) { in pdcspath_hwpath_write()
312 in[temp-in] = '\0'; in pdcspath_hwpath_write()
317 hwpath.bc[i] = simple_strtoul(in, NULL, 10); in pdcspath_hwpath_write()
398 char in[count+1], *temp; in pdcspath_layer_write() local
404 memset(in, 0, count+1); in pdcspath_layer_write()
405 strncpy(in, buf, count); in pdcspath_layer_write()
411 if (unlikely(!isdigit(*in))) in pdcspath_layer_write()
413 layers[0] = simple_strtoul(in, NULL, 10); in pdcspath_layer_write()
416 temp = in; in pdcspath_layer_write()
760 char in[count+1], *temp; in pdcs_auto_write() local
770 memset(in, 0, count+1); in pdcs_auto_write()
771 strncpy(in, buf, count); in pdcs_auto_write()
783 temp = in; in pdcs_auto_write()
864 u8 in[16]; in pdcs_osdep1_write() local
879 memset(in, 0, 16); in pdcs_osdep1_write()
880 memcpy(in, buf, count); in pdcs_osdep1_write()
882 if (pdc_stable_write(PDCS_ADDR_OSD1, &in, sizeof(in)) != PDC_OK) in pdcs_osdep1_write()
903 u8 in[4]; in pdcs_osdep2_write() local
925 memset(in, 0, 4); in pdcs_osdep2_write()
926 memcpy(in, buf+i, (count-i < 4) ? count-i : 4); in pdcs_osdep2_write()
927 if (unlikely(pdc_stable_write(PDCS_ADDR_OSD2 + i, &in, in pdcs_osdep2_write()
928 sizeof(in)) != PDC_OK)) in pdcs_osdep2_write()