Lines Matching refs:tmp_buf
623 char tmp_buf[32]; in hl_data_read32() local
648 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32()
649 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32()
650 strlen(tmp_buf)); in hl_data_read32()
696 char tmp_buf[32]; in hl_data_read64() local
721 sprintf(tmp_buf, "0x%016llx\n", val); in hl_data_read64()
722 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read64()
723 strlen(tmp_buf)); in hl_data_read64()
824 char tmp_buf[200]; in hl_get_power_state() local
837 sprintf(tmp_buf, in hl_get_power_state()
839 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_get_power_state()
840 strlen(tmp_buf)); in hl_get_power_state()
876 char tmp_buf[32]; in hl_i2c_data_read() local
892 sprintf(tmp_buf, "0x%02lx\n", val); in hl_i2c_data_read()
893 rc = simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_i2c_data_read()
894 strlen(tmp_buf)); in hl_i2c_data_read()
1025 char tmp_buf[200]; in hl_clk_gate_read() local
1031 sprintf(tmp_buf, "0x%llx\n", hdev->clock_gating_mask); in hl_clk_gate_read()
1032 rc = simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_clk_gate_read()
1033 strlen(tmp_buf) + 1); in hl_clk_gate_read()
1067 char tmp_buf[200]; in hl_stop_on_err_read() local
1073 sprintf(tmp_buf, "%d\n", hdev->stop_on_err); in hl_stop_on_err_read()
1074 rc = simple_read_from_buffer(buf, strlen(tmp_buf) + 1, ppos, tmp_buf, in hl_stop_on_err_read()
1075 strlen(tmp_buf) + 1); in hl_stop_on_err_read()