Lines Matching refs:tmp_buf
699 char tmp_buf[32]; in hl_data_read32() local
724 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32()
725 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32()
726 strlen(tmp_buf)); in hl_data_read32()
768 char tmp_buf[32]; in hl_data_read64() local
788 sprintf(tmp_buf, "0x%016llx\n", val); in hl_data_read64()
789 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read64()
790 strlen(tmp_buf)); in hl_data_read64()
827 char tmp_buf[200]; in hl_get_power_state() local
840 sprintf(tmp_buf, in hl_get_power_state()
842 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_get_power_state()
843 strlen(tmp_buf)); in hl_get_power_state()
881 char tmp_buf[32]; in hl_i2c_data_read() local
897 sprintf(tmp_buf, "0x%02lx\n", val); in hl_i2c_data_read()
898 rc = simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_i2c_data_read()
899 strlen(tmp_buf)); in hl_i2c_data_read()
1030 char tmp_buf[200]; in hl_clk_gate_read() local
1036 sprintf(tmp_buf, "0x%llx\n", hdev->clock_gating_mask); in hl_clk_gate_read()
1037 rc = simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_clk_gate_read()
1038 strlen(tmp_buf) + 1); in hl_clk_gate_read()
1072 char tmp_buf[200]; in hl_stop_on_err_read() local
1078 sprintf(tmp_buf, "%d\n", hdev->stop_on_err); in hl_stop_on_err_read()
1079 rc = simple_read_from_buffer(buf, strlen(tmp_buf) + 1, ppos, tmp_buf, in hl_stop_on_err_read()
1080 strlen(tmp_buf) + 1); in hl_stop_on_err_read()