Home
last modified time | relevance | path

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

/drivers/rtc/
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()
/drivers/hid/
Dhid-sensor-custom.c59 u32 raw_len; member
413 unsigned usage_id, size_t raw_len, in hid_sensor_capture_sample() argument
426 (int) (sensor_inst->input_report_recd_size + raw_len), in hid_sensor_capture_sample()
436 header.raw_len = sensor_inst->input_report_size; in hid_sensor_capture_sample()
445 if (kfifo_avail(&sensor_inst->data_fifo) >= raw_len) in hid_sensor_capture_sample()
447 raw_len); in hid_sensor_capture_sample()
449 sensor_inst->input_report_recd_size += raw_len; in hid_sensor_capture_sample()
/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c795 static int gpmi_raw_len_to_len(struct gpmi_nand_data *this, int raw_len) in gpmi_raw_len_to_len() argument
802 return ALIGN_DOWN(raw_len, this->bch_geometry.ecc_chunk_size); in gpmi_raw_len_to_len()
804 return raw_len; in gpmi_raw_len_to_len()
809 int raw_len, struct scatterlist *sgl, in prepare_data_dma() argument
813 int len = gpmi_raw_len_to_len(this, raw_len); in prepare_data_dma()
2302 struct gpmi_nand_data *this, void *buf, int raw_len, bool *direct) in gpmi_chain_data_read() argument
2315 *direct = prepare_data_dma(this, buf, raw_len, &transfer->sgl, in gpmi_chain_data_read()
2323 | BF_GPMI_CTRL0_XFER_COUNT(raw_len); in gpmi_chain_data_read()
2330 pio[3] = raw_len; in gpmi_chain_data_read()
2349 struct gpmi_nand_data *this, const void *buf, int raw_len) in gpmi_chain_data_write() argument
[all …]
/drivers/iio/orientation/
Dhid-sensor-rotation.c166 size_t raw_len, char *raw_data, in dev_rot_capture_sample() argument
175 dev_dbg(&indio_dev->dev, "Recd Quat len:%zu::%zu\n", raw_len, in dev_rot_capture_sample()
Dhid-sensor-incl-3d.c210 size_t raw_len, char *raw_data, in incl_3d_capture_sample() argument
/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c65 size_t payload_len, total_len, cur_pos, raw_len; in process_recv() local
224 raw_len = in process_recv()
231 payload, raw_len); in process_recv()
/drivers/iio/humidity/
Dhid-sensor-humidity.c139 unsigned int usage_id, size_t raw_len, in humidity_capture_sample() argument
/drivers/iio/temperature/
Dhid-sensor-temperature.c137 unsigned int usage_id, size_t raw_len, in temperature_capture_sample() argument
/drivers/iio/pressure/
Dhid-sensor-press.c185 size_t raw_len, char *raw_data, in press_capture_sample() argument
/drivers/iio/light/
Dhid-sensor-prox.c181 size_t raw_len, char *raw_data, in prox_capture_sample() argument
Dhid-sensor-als.c201 size_t raw_len, char *raw_data, in als_capture_sample() argument
/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c211 size_t raw_len, char *raw_data, in gyro_3d_capture_sample() argument
/drivers/iio/accel/
Dhid-sensor-accel-3d.c257 size_t raw_len, char *raw_data, in accel_3d_capture_sample() argument
/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c303 size_t raw_len, char *raw_data, in magn_3d_capture_sample() argument
/drivers/net/ethernet/broadcom/
Dbnx2.c3044 unsigned int raw_len = len + 4; in bnx2_rx_skb() local
3045 int pages = PAGE_ALIGN(raw_len - hdr_len) >> PAGE_SHIFT; in bnx2_rx_skb()