Lines Matching refs:data
37 /* data port used by Apple SMC */
47 #define SMC_STATUS_AWAITING_DATA BIT(0) /* SMC has data waiting to be read */
183 /* send_byte - Write to SMC data port. Callers must hold applesmc_lock. */
250 u8 status, data = 0;
272 pr_warn("%.4s: read data[%d] fail\n", key, i);
278 /* Read the data port until bit0 is cleared */
284 data = inb(APPLESMC_DATA_PORT);
287 pr_warn("flushed %d bytes, last value is: %d\n", i, data);
313 pr_warn("%s: write data fail\n", key);
786 pr_info("light sensor data length set to %d\n", data_length);