Searched refs:state_val (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/iio/common/hid-sensors/ |
D | hid-sensor-trigger.c | 86 int state_val; in _hid_sensor_power_state() local 96 state_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state() 114 state_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state() 124 if (state_val >= 0) { in _hid_sensor_power_state() 125 state_val += st->power_state.logical_minimum; in _hid_sensor_power_state() 127 st->power_state.index, sizeof(state_val), in _hid_sensor_power_state() 128 &state_val); in _hid_sensor_power_state() 140 st->pdev->name, state_val, report_val); in _hid_sensor_power_state() 144 sizeof(state_val), &state_val); in _hid_sensor_power_state()
|
/linux-6.6.21/drivers/gpu/drm/gud/ |
D | gud_connector.c | 509 unsigned int *state_val; in gud_connector_add_properties() local 568 state_val = gud_connector_tv_state_val(prop, &gconn->initial_tv_state); in gud_connector_add_properties() 569 if (WARN_ON(IS_ERR(state_val))) in gud_connector_add_properties() 572 *state_val = val; in gud_connector_add_properties() 594 unsigned int *state_val; in gud_connector_fill_properties() local 596 state_val = gud_connector_tv_state_val(prop, &connector_state->tv); in gud_connector_fill_properties() 597 if (WARN_ON_ONCE(IS_ERR(state_val))) in gud_connector_fill_properties() 598 return PTR_ERR(state_val); in gud_connector_fill_properties() 600 val = *state_val; in gud_connector_fill_properties()
|
/linux-6.6.21/kernel/printk/ |
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() 1576 static void _prb_commit(struct prb_reserved_entry *e, unsigned long state_val) in _prb_commit() argument [all …]
|