Lines Matching refs:in
281 char in[64], *temp; in pdcspath_hwpath_write() local
289 count = min_t(size_t, count, sizeof(in)-1); in pdcspath_hwpath_write()
290 strncpy(in, buf, count); in pdcspath_hwpath_write()
291 in[count] = '\0'; in pdcspath_hwpath_write()
297 if (!(temp = strrchr(in, '/'))) in pdcspath_hwpath_write()
301 in[temp-in] = '\0'; /* truncate the remaining string. just precaution */ in pdcspath_hwpath_write()
309 for (i=5; ((temp = strrchr(in, '/'))) && (temp-in > 0) && (likely(i)); i--) { in pdcspath_hwpath_write()
311 in[temp-in] = '\0'; in pdcspath_hwpath_write()
316 hwpath.bc[i] = simple_strtoul(in, NULL, 10); in pdcspath_hwpath_write()
397 char in[64], *temp; in pdcspath_layer_write() local
403 count = min_t(size_t, count, sizeof(in)-1); in pdcspath_layer_write()
404 strncpy(in, buf, count); in pdcspath_layer_write()
405 in[count] = '\0'; 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[8], *temp; in pdcs_auto_write() local
770 count = min_t(size_t, count, sizeof(in)-1); in pdcs_auto_write()
771 strncpy(in, buf, count); in pdcs_auto_write()
772 in[count] = '\0'; in pdcs_auto_write()
784 temp = skip_spaces(in); in pdcs_auto_write()
862 u8 in[16]; in pdcs_osdep1_write() local
877 memset(in, 0, 16); in pdcs_osdep1_write()
878 memcpy(in, buf, count); in pdcs_osdep1_write()
880 if (pdc_stable_write(PDCS_ADDR_OSD1, &in, sizeof(in)) != PDC_OK) in pdcs_osdep1_write()
901 u8 in[4]; in pdcs_osdep2_write() local
923 memset(in, 0, 4); in pdcs_osdep2_write()
924 memcpy(in, buf+i, (count-i < 4) ? count-i : 4); in pdcs_osdep2_write()
925 if (unlikely(pdc_stable_write(PDCS_ADDR_OSD2 + i, &in, in pdcs_osdep2_write()
926 sizeof(in)) != PDC_OK)) in pdcs_osdep2_write()