/linux-master/drivers/iio/adc/ |
H A D | max1363.c | 338 static int max1363_write_basic_config(struct max1363_state *st) argument 340 u8 tx_buf[2] = { st->setupbyte, st->configbyte }; 342 return st->send(st->client, tx_buf, 2); 345 static int max1363_set_scan_mode(struct max1363_state *st) argument 347 st->configbyte &= ~(MAX1363_CHANNEL_SEL_MASK 350 st->configbyte |= st->current_mode->conf; 352 return max1363_write_basic_config(st); 363 struct max1363_state *st = iio_priv(indio_dev); local 417 struct max1363_state *st = iio_priv(indio_dev); local 680 struct max1363_state *st = iio_priv(dev_to_iio_dev(dev)); local 690 struct max1363_state *st = iio_priv(indio_dev); local 724 struct max1363_state *st = iio_priv(indio_dev); local 737 struct max1363_state *st = iio_priv(indio_dev); local 786 struct max1363_state *st = iio_priv(indio_dev); local 806 struct max1363_state *st = iio_priv(indio_dev); local 819 max1363_monitor_mode_update(struct max1363_state *st, int enabled) argument 956 struct max1363_state *st = iio_priv(indio_dev); local 1011 struct max1363_state *st = iio_priv(indio_dev); local 1423 max1363_initial_setup(struct max1363_state *st) argument 1445 struct max1363_state *st = iio_priv(indio_dev); local 1471 struct max1363_state *st = iio_priv(indio_dev); local 1573 struct max1363_state *st; local [all...] |
/linux-master/include/linux/ |
H A D | hid-sensor-hub.h | 252 struct hid_sensor_common *st, 255 int hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st, 257 int hid_sensor_write_raw_hyst_rel_value(struct hid_sensor_common *st, int val1, 259 int hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st, 261 int hid_sensor_read_raw_hyst_rel_value(struct hid_sensor_common *st, 263 int hid_sensor_write_samp_freq_value(struct hid_sensor_common *st, 265 int hid_sensor_read_samp_freq_value(struct hid_sensor_common *st, 275 s32 hid_sensor_read_poll_value(struct hid_sensor_common *st); 277 int64_t hid_sensor_convert_timestamp(struct hid_sensor_common *st, 279 bool hid_sensor_batch_mode_supported(struct hid_sensor_common *st); [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | ksyms.c | 14 struct stat st; local 30 if (!ASSERT_OK(stat(btf_path, &st), "stat_btf")) 32 btf_size = st.st_size;
|
/linux-master/arch/x86/math-emu/ |
H A D | fpu_arith.c | 21 /* fadd st,st(i) */ 24 FPU_add(&st(i), FPU_gettagi(i), 0, control_word); 29 /* fmul st,st(i) */ 32 FPU_mul(&st(i), FPU_gettagi(i), 0, control_word); 37 /* fsub st,st(i) */ 44 /* fsubr st,st( [all...] |
/linux-master/tools/build/ |
H A D | fixdep.c | 123 struct stat st; local 133 if (fstat(fd, &st) < 0) { 138 if (st.st_size == 0) { 143 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 150 parse_dep_file(map, st.st_size); 152 munmap(map, st.st_size);
|
/linux-master/drivers/iio/gyro/ |
H A D | itg3200_core.c | 35 struct itg3200 *st = iio_priv(indio_dev); local 37 return i2c_smbus_write_byte_data(st->i2c, 0x80 | reg_address, val); 43 struct itg3200 *st = iio_priv(indio_dev); local 46 ret = i2c_smbus_read_byte_data(st->i2c, reg_address); 56 struct itg3200 *st = iio_priv(indio_dev); local 57 struct i2c_client *client = st->i2c; 135 struct itg3200 *st = iio_priv(indio_dev); local 144 mutex_lock(&st->lock); 148 mutex_unlock(&st->lock); 157 mutex_unlock(&st 171 struct itg3200 *st = iio_priv(indio_dev); local 220 struct itg3200 *st = iio_priv(indio_dev); local 301 struct itg3200 *st; local 371 struct itg3200 *st = iio_priv(indio_dev); local [all...] |
/linux-master/drivers/iio/pressure/ |
H A D | cros_ec_baro.c | 41 struct cros_ec_baro_state *st = iio_priv(indio_dev); local 46 mutex_lock(&st->core.cmd_lock); 59 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; 60 st->core.param.sensor_range.data = EC_MOTION_SENSE_NO_VALUE; 62 ret = cros_ec_motion_send_host_cmd(&st->core, 0); 66 *val = st->core.resp->sensor_range.ret; 73 ret = cros_ec_sensors_core_read(&st->core, chan, val, val2, 78 mutex_unlock(&st->core.cmd_lock); 87 struct cros_ec_baro_state *st = iio_priv(indio_dev); local 90 mutex_lock(&st [all...] |
/linux-master/drivers/iio/common/cros_ec_sensors/ |
H A D | cros_ec_lid_angle.c | 54 struct cros_ec_sensors_core_state *st = iio_priv(indio_dev); local 57 st->param.cmd = MOTIONSENSE_CMD_LID_ANGLE; 58 ret = cros_ec_motion_send_host_cmd(st, sizeof(st->resp->lid_angle)); 64 *data = st->resp->lid_angle.value; 72 struct cros_ec_lid_angle_state *st = iio_priv(indio_dev); local 76 mutex_lock(&st->core.cmd_lock); 82 mutex_unlock(&st->core.cmd_lock);
|
/linux-master/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_spi.c | 20 struct inv_mpu6050_state *st = iio_priv(indio_dev); local 23 if (st->reg->i2c_if) { 24 ret = regmap_write(st->map, st->reg->i2c_if, 27 st->chip_config.user_ctrl |= INV_MPU6050_BIT_I2C_IF_DIS; 28 ret = regmap_write(st->map, st->reg->user_ctrl, 29 st->chip_config.user_ctrl);
|
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | af9005.c | 48 struct af9005_device_state *st = d->priv; local 62 st->data[0] = 14; /* rest of buffer length low */ 63 st->data[1] = 0; /* rest of buffer length high */ 65 st->data[2] = AF9005_REGISTER_RW; /* register operation */ 66 st->data[3] = 12; /* rest of buffer length */ 68 st->data[4] = seq = st->sequence++; /* sequence number */ 70 st->data[5] = (u8) (reg >> 8); /* register address */ 71 st->data[6] = (u8) (reg & 0xff); 85 st 456 struct af9005_device_state *st = d->priv; local 513 struct af9005_device_state *st = d->priv; local 780 struct af9005_device_state *st = d->priv; local 830 struct af9005_device_state *st = d->priv; local [all...] |
/linux-master/drivers/iio/frequency/ |
H A D | ad9523.c | 300 struct ad9523_state *st = iio_priv(indio_dev); local 310 .tx_buf = &st->data[0].d8[2], 313 .rx_buf = &st->data[1].d8[4 - AD9523_TRANSF_LEN(addr)], 318 st->data[0].d32 = cpu_to_be32(AD9523_READ | 322 ret = spi_sync_transfer(st->spi, t, ARRAY_SIZE(t)); 326 ret = be32_to_cpu(st->data[1].d32) & (0xFFFFFF >> 335 struct ad9523_state *st = iio_priv(indio_dev); local 339 .tx_buf = &st->data[0].d8[2], 342 .tx_buf = &st->data[1].d8[4 - AD9523_TRANSF_LEN(addr)], 347 st 368 struct ad9523_state *st = iio_priv(indio_dev); local 422 struct ad9523_state *st = iio_priv(indio_dev); local 514 struct ad9523_state *st = iio_priv(indio_dev); local 547 struct ad9523_state *st = iio_priv(indio_dev); local 635 struct ad9523_state *st = iio_priv(indio_dev); local 671 struct ad9523_state *st = iio_priv(indio_dev); local 729 struct ad9523_state *st = iio_priv(indio_dev); local 759 struct ad9523_state *st = iio_priv(indio_dev); local 975 struct ad9523_state *st; local [all...] |
/linux-master/arch/loongarch/lib/ |
H A D | copy_user.S | 36 2: st.b t0, a0, 0 61 1: st.d t0, a0, 0 85 10: st.d t0, a0, 0 86 11: st.d t1, a0, 8 87 12: st.d t2, a0, 16 88 13: st.d t3, a0, 24 89 14: st.d t4, a0, 32 90 15: st.d t5, a0, 40 91 16: st.d t6, a0, 48 92 17: st [all...] |
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline_state.c | 66 struct komeda_pipeline_state *st; local 68 st = komeda_pipeline_get_state(pipe, state); 69 if (IS_ERR(st)) 70 return st; 72 if (is_switching_user(crtc, st->crtc)) { 79 if (!crtc && st->active_comps) { 84 st->crtc = crtc; 95 return st; 157 struct komeda_component_state *st; local 165 st 238 komeda_component_validate_private(struct komeda_component *c, struct komeda_component_state *st) argument 346 struct komeda_layer_state *st; local 405 struct komeda_layer_state *st; local 510 struct komeda_scaler_state *st; local 570 struct komeda_splitter_state *st; local 619 struct komeda_merger_state *st; local 725 struct komeda_compiz_state *st; local 765 struct komeda_improc_state *st; local 823 struct komeda_timing_ctrlr_state *st; local 1259 struct komeda_pipeline_state *st; local [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-sa11x0.c | 90 struct sa1100irq_state *st = &sa1100irq_state; local 92 st->saved = 1; 93 st->icmr = readl_relaxed(iobase + ICMR); 94 st->iclr = readl_relaxed(iobase + ICLR); 95 st->iccr = readl_relaxed(iobase + ICCR); 100 writel_relaxed(st->icmr & 0xfffff000, iobase + ICMR); 107 struct sa1100irq_state *st = &sa1100irq_state; local 109 if (st->saved) { 110 writel_relaxed(st->iccr, iobase + ICCR); 111 writel_relaxed(st [all...] |
/linux-master/arch/sparc/crypto/ |
H A D | sha256_asm.S | 38 st %f0, [%o0 + 0x00] 39 st %f1, [%o0 + 0x04] 40 st %f2, [%o0 + 0x08] 41 st %f3, [%o0 + 0x0c] 42 st %f4, [%o0 + 0x10] 43 st %f5, [%o0 + 0x14] 44 st %f6, [%o0 + 0x18] 45 st %f7, [%o0 + 0x1c]
|
/linux-master/block/partitions/ |
H A D | atari.h | 21 __be32 st; /* start of partition */ member in struct:partition_info
|
/linux-master/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-trigger.h | 21 int hid_sensor_power_state(struct hid_sensor_common *st, bool state);
|
/linux-master/net/netfilter/ |
H A D | nf_flow_table_procfs.c | 45 const struct nf_flow_table_stat *st = v; local 53 st->count_wq_add, 54 st->count_wq_del, 55 st->count_wq_stats
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_pid.h | 47 extern void wf_pid_init(struct wf_pid_state *st, struct wf_pid_param *param); 48 extern s32 wf_pid_run(struct wf_pid_state *st, s32 sample); 85 extern void wf_cpu_pid_init(struct wf_cpu_pid_state *st, 87 extern s32 wf_cpu_pid_run(struct wf_cpu_pid_state *st, s32 power, s32 temp);
|
H A D | windfarm_pm91.c | 219 static void wf_smu_cpu_fans_tick(struct wf_smu_cpu_fans_state *st) argument 224 if (--st->ticks != 0) { 229 st->ticks = WF_SMU_CPU_FANS_INTERVAL; 254 if (temp > st->pid.param.tmax) 257 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); 261 if (st->cpu_setpoint == new_setpoint) 263 st->cpu_setpoint = new_setpoint; 266 rc = wf_control_set(fan_cpu_main, st->cpu_setpoint); 274 rc = wf_control_set(fan_cpu_second, st->cpu_setpoint); 282 rc = wf_control_set(fan_cpu_third, st 328 wf_smu_drive_fans_tick(struct wf_smu_drive_fans_state *st) argument 409 wf_smu_slots_fans_tick(struct wf_smu_slots_fans_state *st) argument [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_scatterlist.c | 88 struct sg_table *st; local 98 st = &rsgt->table; 106 if (sg_alloc_table(st, DIV_ROUND_UP_ULL(node->size, segment_pages), 112 sg = st->sgl; 113 st->nents = 0; 122 if (st->nents) 130 st->nents++; 144 i915_sg_trim(st); 175 struct sg_table *st; local 186 st [all...] |
/linux-master/scripts/kconfig/ |
H A D | expr.h | 193 #define for_all_properties(sym, st, tok) \ 194 for (st = sym->prop; st; st = st->next) \ 195 if (st->type == (tok)) 196 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) 197 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOIC [all...] |
/linux-master/tools/perf/tests/ |
H A D | stat.c | 70 struct perf_record_stat *st = &event->stat; local 72 TEST_ASSERT_VAL("wrong cpu", st->cpu == 1); 73 TEST_ASSERT_VAL("wrong thread", st->thread == 2); 74 TEST_ASSERT_VAL("wrong id", st->id == 3); 75 TEST_ASSERT_VAL("wrong val", st->val == 100); 76 TEST_ASSERT_VAL("wrong run", st->ena == 200); 77 TEST_ASSERT_VAL("wrong ena", st->run == 300);
|
/linux-master/drivers/iio/dac/ |
H A D | ad5592r-base.h | 45 int (*write_dac)(struct ad5592r_state *st, unsigned chan, u16 value); 46 int (*read_adc)(struct ad5592r_state *st, unsigned chan, u16 *value); 47 int (*reg_write)(struct ad5592r_state *st, u8 reg, u16 value); 48 int (*reg_read)(struct ad5592r_state *st, u8 reg, u16 *value); 49 int (*gpio_read)(struct ad5592r_state *st, u8 *value);
|
/linux-master/fs/udf/ |
H A D | partition.c | 111 struct sparingTable *st = NULL; local 123 st = (struct sparingTable *) 129 if (st) { 130 for (i = 0; i < le16_to_cpu(st->reallocationTableLen); i++) { 131 struct sparingEntry *entry = &st->mapEntry[i]; 150 struct sparingTable *st = NULL; local 170 st = (struct sparingTable *) 175 if (!st) { 181 le16_to_cpu(st->reallocationTableLen); 183 struct sparingEntry *entry = &st [all...] |