Lines Matching refs:tmp_buf
871 char tmp_buf[32]; in hl_data_read32() local
889 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32()
890 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32()
891 strlen(tmp_buf)); in hl_data_read32()
926 char tmp_buf[32]; in hl_data_read64() local
942 sprintf(tmp_buf, "0x%016llx\n", val); in hl_data_read64()
943 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read64()
944 strlen(tmp_buf)); in hl_data_read64()
1078 char tmp_buf[200]; in hl_get_power_state() local
1091 sprintf(tmp_buf, in hl_get_power_state()
1093 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_get_power_state()
1094 strlen(tmp_buf)); in hl_get_power_state()
1132 char tmp_buf[32]; in hl_i2c_data_read() local
1148 sprintf(tmp_buf, "%#02llx\n", val); in hl_i2c_data_read()
1149 rc = simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_i2c_data_read()
1150 strlen(tmp_buf)); in hl_i2c_data_read()
1293 char tmp_buf[200]; in hl_stop_on_err_read() local
1302 sprintf(tmp_buf, "%d\n", hdev->stop_on_err); in hl_stop_on_err_read()
1303 rc = simple_read_from_buffer(buf, strlen(tmp_buf) + 1, ppos, tmp_buf, in hl_stop_on_err_read()
1304 strlen(tmp_buf) + 1); in hl_stop_on_err_read()
1407 char tmp_buf[200]; in hl_timeout_locked_read() local
1413 sprintf(tmp_buf, "%d\n", in hl_timeout_locked_read()
1415 rc = simple_read_from_buffer(buf, strlen(tmp_buf) + 1, ppos, tmp_buf, in hl_timeout_locked_read()
1416 strlen(tmp_buf) + 1); in hl_timeout_locked_read()