Home
last modified time | relevance | path

Searched refs:raw_len (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/rtc/
H A Drtc-hid-sensor-time.c62 static u32 hid_time_value(size_t raw_len, char *raw_data) in hid_time_value() argument
64 switch (raw_len) { in hid_time_value()
77 unsigned usage_id, size_t raw_len, in hid_time_capture_sample() argument
90 if (raw_len == 1) { in hid_time_capture_sample()
97 (int)hid_time_value(raw_len, raw_data)-1900; in hid_time_capture_sample()
101 time_buf->tm_mon = (int)hid_time_value(raw_len, raw_data)-1; in hid_time_capture_sample()
104 time_buf->tm_mday = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()
107 time_buf->tm_hour = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()
110 time_buf->tm_min = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()
113 time_buf->tm_sec = (int)hid_time_value(raw_len, raw_data); in hid_time_capture_sample()
/linux/tools/lib/bpf/
H A Drelo_core.c297 if (spec->raw_len == BPF_CORE_SPEC_MAX_LEN) in bpf_core_parse_spec()
300 spec->raw_spec[spec->raw_len++] = access_idx; in bpf_core_parse_spec()
303 if (spec->raw_len == 0) in bpf_core_parse_spec()
317 if (!btf_is_any_enum(t) || spec->raw_len > 1 || access_idx >= btf_vlen(t)) in bpf_core_parse_spec()
335 for (i = 1; i < spec->raw_len; i++) { in bpf_core_parse_spec()
514 if (spec->raw_len == BPF_CORE_SPEC_MAX_LEN) in bpf_core_match_member()
519 spec->raw_spec[spec->raw_len++] = i; in bpf_core_match_member()
548 spec->raw_len--; in bpf_core_match_member()
613 targ_spec->raw_spec[targ_spec->raw_len] = targ_acc->idx; in bpf_core_spec_match()
614 targ_spec->raw_len++; in bpf_core_spec_match()
[all …]
H A Drelo_core.h42 int raw_len; member
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_flash.c333 u32 raw_len, rest_len = fw->size - IOSM_DEVLINK_HDR_SIZE; in ipc_flash_download_region() local
372 raw_len = (rest_len > IOSM_FLS_BUF_SIZE) ? IOSM_FLS_BUF_SIZE : in ipc_flash_download_region()
375 raw_len); in ipc_flash_download_region()
380 file_ptr += raw_len; in ipc_flash_download_region()
381 rest_len -= raw_len; in ipc_flash_download_region()
/linux/drivers/iio/orientation/
H A Dhid-sensor-rotation.c248 size_t raw_len, char *raw_data, in dev_rot_capture_sample() argument
255 if (raw_len / 4 == sizeof(s16)) { in dev_rot_capture_sample()
265 dev_dbg(&indio_dev->dev, "Recd Quat len:%zu::%zu\n", raw_len, in dev_rot_capture_sample()
H A Dhid-sensor-incl-3d.c215 size_t raw_len, char *raw_data, in incl_3d_capture_sample() argument
/linux/drivers/nvmem/
H A Dcore.c30 size_t raw_len; member
584 cell->raw_len = info->raw_len ?: info->bytes; in nvmem_cell_info_to_nvmem_cell_entry_nodup()
597 cell->raw_len = ALIGN(cell->bytes, nvmem->word_size); in nvmem_cell_info_to_nvmem_cell_entry_nodup()
607 if (!IS_ALIGNED(cell->raw_len, nvmem->word_size)) { in nvmem_cell_info_to_nvmem_cell_entry_nodup()
610 cell->name ?: "<unknown>", cell->raw_len, in nvmem_cell_info_to_nvmem_cell_entry_nodup()
613 if (info->raw_len) in nvmem_cell_info_to_nvmem_cell_entry_nodup()
616 cell->raw_len = ALIGN(cell->raw_len, nvmem->word_size); in nvmem_cell_info_to_nvmem_cell_entry_nodup()
1626 rc = nvmem_reg_read(nvmem, cell->offset, buf, cell->raw_len); in __nvmem_cell_read()
1637 cell->offset, buf, cell->raw_len); in __nvmem_cell_read()
1668 buf = kzalloc(max_t(size_t, entry->raw_len, entry->bytes), GFP_KERNEL); in nvmem_cell_read()
H A Dimx-ocotp-ele.c134 cell->raw_len = round_up(cell->bytes, 4); in imx_ocotp_fixup_dt_cell_info()
H A Dbrcm_nvram.c166 priv->cells[idx].raw_len = strlen(value); in brcm_nvram_add_cells()
H A Dimx-ocotp.c592 cell->raw_len = round_up(cell->bytes, 4); in imx_ocotp_fixup_dt_cell_info()
/linux/drivers/iio/light/
H A Dhid-sensor-prox.c186 size_t raw_len, char *raw_data, in prox_capture_sample() argument
203 switch (raw_len) { in prox_capture_sample()
H A Dhid-sensor-als.c266 size_t raw_len, char *raw_data, in als_capture_sample() argument
/linux/include/linux/
H A Dnvmem-provider.h68 size_t raw_len; member
H A Dhid-sensor-hub.h96 u32 usage_id, size_t raw_len, char *raw_data,
/linux/drivers/iio/temperature/
H A Dhid-sensor-temperature.c142 unsigned int usage_id, size_t raw_len, in temperature_capture_sample() argument
/linux/drivers/iio/humidity/
H A Dhid-sensor-humidity.c143 unsigned int usage_id, size_t raw_len, in humidity_capture_sample() argument
/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c179 size_t raw_len, char *raw_data, in press_capture_sample() argument
/linux/drivers/iio/position/
H A Dhid-sensor-custom-intel-hinge.c211 unsigned int usage_id, size_t raw_len, in hinge_capture_sample() argument
/linux/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c202 size_t raw_len, char *raw_data, in gyro_3d_capture_sample() argument
/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c250 size_t raw_len, char *raw_data, in accel_3d_capture_sample() argument
/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c295 size_t raw_len, char *raw_data, in magn_3d_capture_sample() argument
/linux/fs/nfsd/
H A Dnfs4proc.c1756 int len, raw_len; in nfsd4_interssc_connect() local
1790 raw_len = strlen(NFSD42_INTERSSC_MOUNTOPS) + strlen(ipaddr); in nfsd4_interssc_connect()
1791 raw_data = kzalloc(raw_len, GFP_KERNEL); in nfsd4_interssc_connect()
1795 snprintf(raw_data, raw_len, NFSD42_INTERSSC_MOUNTOPS, ipaddr); in nfsd4_interssc_connect()
/linux/tools/bpf/bpftool/
H A Dgen.c2213 for (int i = 1; i < targ_spec->raw_len; i++) { in btfgen_record_field_relo()