Searched refs:state_val (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/iio/common/hid-sensors/ |
| H A D | hid-sensor-trigger.c | 98 int state_val; in _hid_sensor_power_state() local 108 state_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state() 126 state_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state() 136 if (state_val >= 0) { in _hid_sensor_power_state() 137 state_val += st->power_state.logical_minimum; in _hid_sensor_power_state() 139 st->power_state.index, sizeof(state_val), in _hid_sensor_power_state() 140 &state_val); in _hid_sensor_power_state() 152 st->pdev->name, state_val, report_val); in _hid_sensor_power_state() 156 sizeof(state_val), &state_val); in _hid_sensor_power_state()
|
| /OK3568_Linux_fs/kernel/kernel/printk/ |
| H A D | printk_ringbuffer.c | 415 unsigned long state_val) in get_desc_state() argument 417 if (id != DESC_ID(state_val)) in get_desc_state() 420 return DESC_STATE(state_val); in get_desc_state() 440 unsigned long state_val; in desc_read() local 443 state_val = atomic_long_read(state_var); /* LMM(desc_read:A) */ in desc_read() 444 d_state = get_desc_state(id, state_val); in desc_read() 530 state_val = atomic_long_read(state_var); /* LMM(desc_read:E) */ in desc_read() 531 d_state = get_desc_state(id, state_val); in desc_read() 534 atomic_long_set(&desc_out->state_var, state_val); in desc_read() 1578 static void _prb_commit(struct prb_reserved_entry *e, unsigned long state_val) in _prb_commit() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/tsp/ |
| H A D | rockchip_tsp.c | 510 u32 ctrl_val, cfg_val, state_val, erro_state_occur; in rockchip_feed_ts_buf() local 556 state_val = TSP_RD(dev, PTI0_PID_STS2); in rockchip_feed_ts_buf() 557 if (state_val & (1 << id)) { in rockchip_feed_ts_buf() 560 state_val |= (1 << id); in rockchip_feed_ts_buf() 561 TSP_WR(dev, PTI0_PID_STS2, state_val); in rockchip_feed_ts_buf() 564 state_val = TSP_RD(dev, PTI0_PID_STS3); in rockchip_feed_ts_buf() 565 if (state_val & (1 << (id - 32))) { in rockchip_feed_ts_buf() 568 state_val |= (1 << (id - 32)); in rockchip_feed_ts_buf() 569 TSP_WR(dev, PTI0_PID_STS3, state_val); in rockchip_feed_ts_buf()
|