Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 4288) sorted by relevance

12345678910>>...172

/drivers/hid/
Dhid-uclogic-rdesc.h27 extern const size_t uclogic_rdesc_wp4030u_fixed_size;
31 extern const size_t uclogic_rdesc_wp5540u_fixed_size;
35 extern const size_t uclogic_rdesc_wp8060u_fixed_size;
45 extern const size_t uclogic_rdesc_wp1062_fixed_size;
52 extern const size_t uclogic_rdesc_pf1209_fixed_size;
61 extern const size_t uclogic_rdesc_twhl850_fixed0_size;
65 extern const size_t uclogic_rdesc_twhl850_fixed1_size;
69 extern const size_t uclogic_rdesc_twhl850_fixed2_size;
77 extern const size_t uclogic_rdesc_twha60_fixed0_size;
81 extern const size_t uclogic_rdesc_twha60_fixed1_size;
[all …]
Dhid-uclogic-rdesc.c63 const size_t uclogic_rdesc_wp4030u_fixed_size =
140 const size_t uclogic_rdesc_wp5540u_fixed_size =
217 const size_t uclogic_rdesc_wp8060u_fixed_size =
265 const size_t uclogic_rdesc_wp1062_fixed_size =
342 const size_t uclogic_rdesc_pf1209_fixed_size =
388 const size_t uclogic_rdesc_twhl850_fixed0_size =
428 const size_t uclogic_rdesc_twhl850_fixed1_size =
454 const size_t uclogic_rdesc_twhl850_fixed2_size =
503 const size_t uclogic_rdesc_twha60_fixed0_size =
531 const size_t uclogic_rdesc_twha60_fixed1_size =
[all …]
/drivers/input/touchscreen/
Dcyttsp4_core.h241 size_t ofs; /* abs byte offset */
242 size_t size; /* size in bits */
243 size_t max; /* max value */
244 size_t bofs; /* bit offset */
248 size_t chip_type;
249 size_t cmd_ofs;
250 size_t rep_ofs;
251 size_t rep_sz;
252 size_t num_btns;
253 size_t num_btn_regs; /* ceil(num_btns/4) */
[all …]
/drivers/net/dsa/sja1105/
Dsja1105_static_config.h434 size_t (*packing)(void *buf, void *entry_ptr, enum packing_op op);
435 size_t unpacked_entry_size;
436 size_t packed_entry_size;
437 size_t max_entry_count;
442 size_t entry_count;
459 size_t sja1105_table_header_packing(void *buf, void *hdr, enum packing_op op);
462 size_t
493 int sja1105_table_resize(struct sja1105_table *table, size_t new_count);
495 u32 sja1105_crc32(const void *buf, size_t len);
497 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len);
[all …]
Dsja1105_static_config.c17 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len) in sja1105_pack()
39 void sja1105_unpack(const void *buf, u64 *val, int start, int end, size_t len) in sja1105_unpack()
57 size_t len, enum packing_op op) in sja1105_packing()
79 u32 sja1105_crc32(const void *buf, size_t len) in sja1105_crc32()
94 static size_t sja1105et_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_avb_params_entry_packing()
97 const size_t size = SJA1105ET_SIZE_AVB_PARAMS_ENTRY; in sja1105et_avb_params_entry_packing()
105 size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_avb_params_entry_packing()
108 const size_t size = SJA1105PQRS_SIZE_AVB_PARAMS_ENTRY; in sja1105pqrs_avb_params_entry_packing()
117 static size_t sja1105et_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_general_params_entry_packing()
120 const size_t size = SJA1105ET_SIZE_GENERAL_PARAMS_ENTRY; in sja1105et_general_params_entry_packing()
[all …]
/drivers/media/dvb-core/
Ddvb_ringbuffer.c38 void dvb_ringbuffer_init(struct dvb_ringbuffer *rbuf, void *data, size_t len) in dvb_ringbuffer_init()
133 ssize_t dvb_ringbuffer_read_user(struct dvb_ringbuffer *rbuf, u8 __user *buf, size_t len) in dvb_ringbuffer_read_user()
135 size_t todo = len; in dvb_ringbuffer_read_user()
136 size_t split; in dvb_ringbuffer_read_user()
159 void dvb_ringbuffer_read(struct dvb_ringbuffer *rbuf, u8 *buf, size_t len) in dvb_ringbuffer_read()
161 size_t todo = len; in dvb_ringbuffer_read()
162 size_t split; in dvb_ringbuffer_read()
182 ssize_t dvb_ringbuffer_write(struct dvb_ringbuffer *rbuf, const u8 *buf, size_t len) in dvb_ringbuffer_write()
184 size_t todo = len; in dvb_ringbuffer_write()
185 size_t split; in dvb_ringbuffer_write()
[all …]
/drivers/android/
Dbinder_alloc.h56 size_t data_size;
57 size_t offsets_size;
58 size_t extra_buffers_size;
109 size_t free_async_space;
111 size_t buffer_size;
114 size_t pages_high;
127 size_t data_size,
128 size_t offsets_size,
129 size_t extra_buffers_size,
156 static inline size_t
[all …]
Dbinder_alloc_selftest.c78 static void pr_err_size_seq(size_t *sizes, int *seq) in pr_err_size_seq()
94 size_t size) in check_buffer_pages_allocated()
117 size_t *sizes, int *seq) in binder_selftest_alloc_buf()
134 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf()
177 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free()
206 size_t *sizes, int *seq, in binder_selftest_free_seq()
207 int index, size_t end) in binder_selftest_free_seq()
224 size_t *end_offset) in binder_selftest_alloc_size()
228 size_t front_sizes[BUFFER_NUM]; in binder_selftest_alloc_size()
229 size_t back_sizes[BUFFER_NUM]; in binder_selftest_alloc_size()
[all …]
/drivers/base/regmap/
Dregmap-spmi.c17 const void *reg, size_t reg_size, in regmap_spmi_base_read()
18 void *val, size_t val_size) in regmap_spmi_base_read()
32 const void *reg, size_t reg_size, in regmap_spmi_base_gather_write()
33 const void *val, size_t val_size) in regmap_spmi_base_gather_write()
70 size_t count) in regmap_spmi_base_write()
106 const void *reg, size_t reg_size, in regmap_spmi_ext_read()
107 void *val, size_t val_size) in regmap_spmi_ext_read()
110 size_t len; in regmap_spmi_ext_read()
122 len = min_t(size_t, val_size, 16); in regmap_spmi_ext_read()
134 len = min_t(size_t, val_size, 8); in regmap_spmi_ext_read()
[all …]
/drivers/mtd/chips/
Dmap_rom.c18 static int maprom_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
19 static int maprom_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
23 static int maprom_point (struct mtd_info *mtd, loff_t from, size_t len,
24 size_t *retlen, void **virt, resource_size_t *phys);
25 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
72 static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len, in maprom_point()
73 size_t *retlen, void **virt, resource_size_t *phys) in maprom_point()
86 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in maprom_unpoint()
91 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read()
105 static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in maprom_write()
Dmap_ram.c18 static int mapram_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
19 static int mapram_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
23 static int mapram_point (struct mtd_info *mtd, loff_t from, size_t len,
24 size_t *retlen, void **virt, resource_size_t *phys);
25 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
86 static int mapram_point(struct mtd_info *mtd, loff_t from, size_t len, in mapram_point()
87 size_t *retlen, void **virt, resource_size_t *phys) in mapram_point()
100 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in mapram_unpoint()
105 static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in mapram_read()
114 static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in mapram_write()
/drivers/net/ethernet/sfc/
Dmcdi.h78 size_t resp_hdr_len;
79 size_t resp_data_len;
146 size_t inlen, efx_dword_t *outbuf, size_t outlen,
147 size_t *outlen_actual);
149 const efx_dword_t *inbuf, size_t inlen,
150 efx_dword_t *outbuf, size_t outlen,
151 size_t *outlen_actual);
154 const efx_dword_t *inbuf, size_t inlen);
155 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen,
156 efx_dword_t *outbuf, size_t outlen,
[all …]
/drivers/mtd/tests/
Dmtd_nandecctest.c29 void (*prepare)(void *, void *, void *, void *, const size_t);
30 int (*verify)(void *, void *, void *, const size_t);
48 size_t size) in single_bit_error_data()
57 size_t size) in double_bit_error_data()
72 static unsigned int random_ecc_bit(size_t size) in random_ecc_bit()
89 size_t size) in single_bit_error_ecc()
98 size_t size) in double_bit_error_ecc()
113 void *correct_data, void *correct_ecc, const size_t size) in no_bit_error()
120 void *correct_data, const size_t size) in no_bit_error_verify()
136 void *correct_data, void *correct_ecc, const size_t size) in single_bit_error_in_data()
[all …]
/drivers/staging/fbtft/
Dfbtft.h61 int (*write)(struct fbtft_par *par, void *buf, size_t len);
62 int (*read)(struct fbtft_par *par, void *buf, size_t len);
63 int (*write_vmem)(struct fbtft_par *par, size_t offset, size_t len);
200 size_t len;
240 int fbtft_write_buf_dc(struct fbtft_par *par, void *buf, size_t len, int dc);
243 void *buf, size_t len, const char *fmt, ...);
258 int fbtft_write_spi(struct fbtft_par *par, void *buf, size_t len);
259 int fbtft_write_spi_emulate_9(struct fbtft_par *par, void *buf, size_t len);
260 int fbtft_read_spi(struct fbtft_par *par, void *buf, size_t len);
261 int fbtft_write_gpio8_wr(struct fbtft_par *par, void *buf, size_t len);
[all …]
Dfbtft-bus.c121 int fbtft_write_vmem16_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus8()
125 size_t remain; in fbtft_write_vmem16_bus8()
126 size_t to_copy; in fbtft_write_vmem16_bus8()
127 size_t tx_array_size; in fbtft_write_vmem16_bus8()
130 size_t startbyte_size = 0; in fbtft_write_vmem16_bus8()
175 int fbtft_write_vmem16_bus9(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus9()
179 size_t remain; in fbtft_write_vmem16_bus9()
180 size_t to_copy; in fbtft_write_vmem16_bus9()
181 size_t tx_array_size; in fbtft_write_vmem16_bus9()
223 int fbtft_write_vmem8_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem8_bus8()
[all …]
/drivers/media/i2c/ccs/
Dccs-data.h101 size_t num_if_rules;
103 size_t num_read_only_regs;
105 size_t num_manufacturer_regs;
207 size_t num_sensor_read_only_regs;
209 size_t num_sensor_manufacturer_regs;
211 size_t num_sensor_rules;
213 size_t num_module_read_only_regs;
215 size_t num_module_manufacturer_regs;
217 size_t num_module_rules;
221 size_t license_length;
[all …]
/drivers/usb/gadget/
Du_f.h20 #define vla_group(groupname) size_t groupname##__next = 0
24 size_t groupname##_##name##__offset = ({ \
25 size_t offset = 0; \
27 size_t align_mask = __alignof__(type) - 1; \
28 size_t size = array_size(n, sizeof(type)); \
41 size_t groupname##_##name##__sz = array_size(n, sizeof(type)); \
42 size_t groupname##_##name##__offset = ({ \
43 size_t offset = 0; \
45 size_t align_mask = __alignof__(type) - 1; \
75 struct usb_request *alloc_ep_req(struct usb_ep *ep, size_t len);
/drivers/scsi/
Dscsi_logging.c18 static char *scsi_log_reserve_buffer(size_t *len) in scsi_log_reserve_buffer()
36 static size_t sdev_format_header(char *logbuf, size_t logbuf_len, in sdev_format_header()
39 size_t off = 0; in sdev_format_header()
59 size_t off = 0, logbuf_len; in sdev_prefix_printk()
86 size_t off = 0, logbuf_len; in scmd_printk()
106 static size_t scsi_format_opcode_name(char *buffer, size_t buf_len, in scsi_format_opcode_name()
111 size_t off; in scsi_format_opcode_name()
155 size_t __scsi_format_command(char *logbuf, size_t logbuf_len, in __scsi_format_command()
156 const unsigned char *cdb, size_t cdb_len) in __scsi_format_command()
159 size_t off; in __scsi_format_command()
[all …]
/drivers/infiniband/ulp/rtrs/
Drtrs.h58 size_t path_cnt, u16 port,
59 size_t pdu_sz, u8 reconnect_delay_sec,
102 const struct kvec *vec, size_t nr, size_t len,
154 void *data, size_t datalen, const void *usr,
155 size_t usrlen);
179 size_t len);
183 int rtrs_addr_to_sockaddr(const char *str, size_t len, u16 port,
186 int sockaddr_to_str(const struct sockaddr *addr, char *buf, size_t len);
187 int rtrs_addr_to_str(const struct rtrs_addr *addr, char *buf, size_t len);
/drivers/rpmsg/
Dqcom_glink_rpm.c56 static size_t glink_rpm_rx_avail(struct qcom_glink_pipe *glink_pipe) in glink_rpm_rx_avail()
72 void *data, unsigned int offset, size_t count) in glink_rpm_rx_peak()
76 size_t len; in glink_rpm_rx_peak()
83 len = min_t(size_t, count, pipe->native.length - tail); in glink_rpm_rx_peak()
96 size_t count) in glink_rpm_rx_advance()
110 static size_t glink_rpm_tx_avail(struct qcom_glink_pipe *glink_pipe) in glink_rpm_tx_avail()
127 const void *data, size_t count) in glink_rpm_tx_write_one()
129 size_t len; in glink_rpm_tx_write_one()
131 len = min_t(size_t, count, pipe->native.length - head); in glink_rpm_tx_write_one()
150 const void *hdr, size_t hlen, in glink_rpm_tx_write()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dtrace.h11 static inline unsigned int ath6kl_get_wmi_id(void *buf, size_t buf_len) in ath6kl_get_wmi_id()
40 TP_PROTO(void *buf, size_t buf_len),
46 __field(size_t, buf_len)
63 TP_PROTO(void *buf, size_t buf_len),
69 __field(size_t, buf_len)
87 void *buf, size_t buf_len),
95 __field(size_t, buf_len)
131 __field(size_t, total_len)
139 size_t len;
175 TP_PROTO(void *buf, size_t buf_len),
[all …]
/drivers/net/wireless/marvell/libertas/
Ddebugfs.c26 size_t count, loff_t *ppos) in write_file_dummy()
31 static const size_t len = PAGE_SIZE;
34 size_t count, loff_t *ppos) in lbs_dev_info()
37 size_t pos = 0; in lbs_dev_info()
56 const char __user *user_buf, size_t count, in lbs_sleepparams_write()
93 size_t count, loff_t *ppos) in lbs_sleepparams_read()
97 size_t pos = 0; in lbs_sleepparams_read()
121 const char __user *user_buf, size_t count, in lbs_host_sleep_write()
163 size_t count, loff_t *ppos) in lbs_host_sleep_read()
167 size_t pos = 0; in lbs_host_sleep_read()
[all …]
/drivers/platform/surface/aggregator/
Dssh_parser.h26 size_t len;
27 size_t cap;
39 static inline void sshp_buf_init(struct sshp_buf *buf, u8 *ptr, size_t cap) in sshp_buf_init()
57 static inline int sshp_buf_alloc(struct sshp_buf *buf, size_t cap, gfp_t flags) in sshp_buf_alloc()
93 static inline void sshp_buf_drop(struct sshp_buf *buf, size_t n) in sshp_buf_drop()
111 static inline size_t sshp_buf_read_from_fifo(struct sshp_buf *buf, in sshp_buf_read_from_fifo()
114 size_t n; in sshp_buf_read_from_fifo()
137 static inline void sshp_buf_span_from(struct sshp_buf *buf, size_t offset, in sshp_buf_span_from()
148 size_t maxlen);
/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c124 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read()
148 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write()
175 size_t count, loff_t *ppos) in xgmac_reg_addr_read()
184 size_t count, loff_t *ppos) in xgmac_reg_addr_write()
193 size_t count, loff_t *ppos) in xgmac_reg_value_read()
205 size_t count, loff_t *ppos) in xgmac_reg_value_write()
235 size_t count, loff_t *ppos) in xpcs_mmd_read()
243 size_t count, loff_t *ppos) in xpcs_mmd_write()
252 size_t count, loff_t *ppos) in xpcs_reg_addr_read()
260 size_t count, loff_t *ppos) in xpcs_reg_addr_write()
[all …]
/drivers/mtd/spi-nor/
Dotp.c36 int spi_nor_otp_read_secr(struct spi_nor *nor, loff_t addr, size_t len, u8 *buf) in spi_nor_otp_read_secr()
83 int spi_nor_otp_write_secr(struct spi_nor *nor, loff_t addr, size_t len, in spi_nor_otp_write_secr()
230 static size_t spi_nor_otp_size(struct spi_nor *nor) in spi_nor_otp_size()
246 static int spi_nor_mtd_otp_info(struct mtd_info *mtd, size_t len, in spi_nor_mtd_otp_info()
247 size_t *retlen, struct otp_info *buf) in spi_nor_mtd_otp_info()
285 size_t len) in spi_nor_mtd_otp_range_is_locked()
308 size_t total_len, size_t *retlen, in spi_nor_mtd_otp_read_write()
313 const size_t rlen = spi_nor_otp_region_len(nor); in spi_nor_mtd_otp_read_write()
316 size_t len; in spi_nor_mtd_otp_read_write()
323 total_len = min_t(size_t, total_len, spi_nor_otp_size(nor) - ofs); in spi_nor_mtd_otp_read_write()
[all …]

12345678910>>...172