Searched refs:length (Results 126 - 150 of 3995) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/cisco/enic/
H A Dwq_enet_desc.h13 __le16 length; member in struct:wq_enet_desc
41 u64 address, u16 length, u16 mss, u16 header_length,
46 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
60 u64 *address, u16 *length, u16 *mss, u16 *header_length,
65 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
40 wq_enet_desc_enc(struct wq_enet_desc *desc, u64 address, u16 length, u16 mss, u16 header_length, u8 offload_mode, u8 eop, u8 cq_entry, u8 fcoe_encap, u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) argument
59 wq_enet_desc_dec(struct wq_enet_desc *desc, u64 *address, u16 *length, u16 *mss, u16 *header_length, u8 *offload_mode, u8 *eop, u8 *cq_entry, u8 *fcoe_encap, u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) argument
/linux-master/drivers/scsi/fnic/
H A Dwq_enet_desc.h12 __le16 length; member in struct:wq_enet_desc
40 u64 address, u16 length, u16 mss, u16 header_length,
45 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
59 u64 *address, u16 *length, u16 *mss, u16 *header_length,
64 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
39 wq_enet_desc_enc(struct wq_enet_desc *desc, u64 address, u16 length, u16 mss, u16 header_length, u8 offload_mode, u8 eop, u8 cq_entry, u8 fcoe_encap, u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) argument
58 wq_enet_desc_dec(struct wq_enet_desc *desc, u64 *address, u16 *length, u16 *mss, u16 *header_length, u8 *offload_mode, u8 *eop, u8 *cq_entry, u8 *fcoe_encap, u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) argument
/linux-master/drivers/scsi/snic/
H A Dwq_enet_desc.h10 __le16 length; member in struct:wq_enet_desc
38 u64 address, u16 length, u16 mss, u16 header_length,
43 desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
57 u64 *address, u16 *length, u16 *mss, u16 *header_length,
62 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
37 wq_enet_desc_enc(struct wq_enet_desc *desc, u64 address, u16 length, u16 mss, u16 header_length, u8 offload_mode, u8 eop, u8 cq_entry, u8 fcoe_encap, u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) argument
56 wq_enet_desc_dec(struct wq_enet_desc *desc, u64 *address, u16 *length, u16 *mss, u16 *header_length, u8 *offload_mode, u8 *eop, u8 *cq_entry, u8 *fcoe_encap, u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) argument
/linux-master/fs/squashfs/
H A Dpage_actor.c44 int pages, int length)
51 actor->length = length ? : pages * PAGE_SIZE;
65 int max_pages = (actor->length + PAGE_SIZE - 1) >> PAGE_SHIFT;
106 struct page **page, int pages, int length)
123 actor->length = length ? : pages * PAGE_SIZE;
43 squashfs_page_actor_init(void **buffer, int pages, int length) argument
105 squashfs_page_actor_init_special(struct squashfs_sb_info *msblk, struct page **page, int pages, int length) argument
/linux-master/tools/include/linux/
H A Djhash.h62 * @length: the length of the key
66 * No alignment or length assumptions are made about the input key.
70 static inline u32 jhash(const void *key, u32 length, u32 initval) argument
76 a = b = c = JHASH_INITVAL + length + initval;
79 while (length > 12) {
84 length -= 12;
89 switch (length) {
112 * @length: the number of u32's in the key
117 static inline u32 jhash2(const u32 *k, u32 length, u3 argument
[all...]
/linux-master/include/linux/
H A Djhash.h62 * @length: the length of the key
66 * No alignment or length assumptions are made about the input key.
70 static inline u32 jhash(const void *key, u32 length, u32 initval) argument
76 a = b = c = JHASH_INITVAL + length + initval;
79 while (length > 12) {
84 length -= 12;
88 switch (length) {
112 * @length: the number of u32's in the key
117 static inline u32 jhash2(const u32 *k, u32 length, u3 argument
[all...]
H A Dmei_cl_bus.h96 size_t length);
98 size_t length, unsigned long timeout);
99 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length);
101 size_t length);
102 ssize_t mei_cldev_recv_timeout(struct mei_cl_device *cldev, u8 *buf, size_t length,
105 size_t length, u8 vtag);
107 size_t length, u8 vtag, unsigned long timeout);
108 ssize_t mei_cldev_recv_vtag(struct mei_cl_device *cldev, u8 *buf, size_t length,
111 size_t length, u8 *vtag);
112 ssize_t mei_cldev_recv_vtag_timeout(struct mei_cl_device *cldev, u8 *buf, size_t length,
[all...]
/linux-master/net/nsh/
H A Dnsh.c18 size_t length = nsh_hdr_len(pushed_nh); local
30 if (skb_cow_head(skb, length) < 0)
33 skb_push(skb, length);
35 memcpy(nh, pushed_nh, length);
37 skb_postpush_rcsum(skb, nh, length);
51 size_t length; local
57 length = nsh_hdr_len(nh);
58 if (length < NSH_BASE_HDR_LEN)
61 if (!pskb_may_pull(skb, length))
67 skb_pull_rcsum(skb, length);
[all...]
/linux-master/drivers/firmware/
H A Dsysfb_simplefb.c72 if (f->transp.length)
76 si->red_size == f->red.length &&
78 si->green_size == f->green.length &&
80 si->blue_size == f->blue.length &&
100 u32 length; local
127 length = mode->height * mode->stride;
128 if (length > size) {
132 length = PAGE_ALIGN(length);
139 res.end = res.start + length
[all...]
/linux-master/drivers/s390/char/
H A Dsclp_ctl.c71 if (offsetof(struct sccb_header, length) +
72 sizeof(sccb->length) > copied || sccb->length > copied) {
76 if (sccb->length < 8) {
83 if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), sccb, sccb->length))
/linux-master/drivers/firmware/google/
H A Dvpd_decode.c13 u32 *length, u32 *decoded_len)
18 if (!length || !decoded_len)
21 *length = 0;
27 *length <<= 7;
28 *length |= in[i] & 0x7f;
12 vpd_decode_len(const u32 max_len, const u8 *in, u32 *length, u32 *decoded_len) argument
/linux-master/arch/powerpc/platforms/pseries/
H A Dreconfig.c107 * @length: return value; set to length of value
114 static char * parse_next_property(char *buf, char *end, char **name, int *length, argument
135 /* now we're on the length */
136 *length = -1;
137 *length = simple_strtoul(tmp, &tmp, 10);
138 if (*length == -1) {
151 tmp += *length;
168 static struct property *new_property(const char *name, const int length, argument
178 if (!(new->value = kmalloc(length
200 int length, rv = 0; local
278 int length; local
321 int length; local
[all...]
/linux-master/drivers/infiniband/hw/efa/
H A Defa_io_defs.h97 * If inline_msg bit is set, length of inline message in bytes,
98 * otherwise length of SGL (number of buffers).
100 u16 length; member in struct:efa_io_tx_meta_desc
123 /* length in bytes */
124 u32 length; member in struct:efa_io_tx_buf_desc
140 /* length in bytes */
141 u32 length; member in struct:efa_io_remote_mem_addr
195 u16 length; member in struct:efa_io_rx_desc
246 /* Transferred length bits[15:0] */
247 u16 length; member in struct:efa_io_rx_cdesc
[all...]
/linux-master/drivers/gpu/ipu-v3/
H A Dipu-cpmem.c372 ro = rgb->bits_per_pixel - rgb->red.length - rgb->red.offset;
373 go = rgb->bits_per_pixel - rgb->green.length - rgb->green.offset;
374 bo = rgb->bits_per_pixel - rgb->blue.length - rgb->blue.offset;
375 to = rgb->bits_per_pixel - rgb->transp.length - rgb->transp.offset;
377 ipu_ch_param_write_field(ch, IPU_FIELD_WID0, rgb->red.length - 1);
379 ipu_ch_param_write_field(ch, IPU_FIELD_WID1, rgb->green.length - 1);
381 ipu_ch_param_write_field(ch, IPU_FIELD_WID2, rgb->blue.length - 1);
384 if (rgb->transp.length) {
386 rgb->transp.length - 1);
485 .red = { .offset = 16, .length
[all...]
/linux-master/drivers/acpi/acpica/
H A Drscreate.c46 /* Get the required length for the converted resource */
119 aml_buffer_length = aml_buffer->buffer.length;
153 output_buffer->pointer, (u32) output_buffer->length));
198 /* Get the required buffer length */
235 buffer += user_prt->length;
243 user_prt->length = (sizeof(struct acpi_pci_routing_table) - 4);
245 /* Each subpackage must be of length 4 */
249 "(PRT[%u]) Need package of length 4, found length %u",
307 /* Use *remaining* length o
[all...]
H A Drsdump.c31 static void acpi_rs_dump_byte_list(u16 length, u8 *data);
33 static void acpi_rs_dump_word_list(u16 length, u16 *data);
35 static void acpi_rs_dump_dword_list(u8 length, u32 *data);
37 static void acpi_rs_dump_short_byte_list(u8 length, u8 *data);
95 /* Sanity check the length. It must not be zero, or we loop forever */
97 if (!resource_list->length) {
99 ("Invalid zero length descriptor in resource list\n");
152 /* Dump all table elements, Exit on zero length element */
154 for (count = 0; prt_element->length; count++) {
160 prt_element, prt_element->length);
548 acpi_rs_dump_byte_list(u16 length, u8 * data) argument
557 acpi_rs_dump_short_byte_list(u8 length, u8 * data) argument
568 acpi_rs_dump_dword_list(u8 length, u32 * data) argument
577 acpi_rs_dump_word_list(u16 length, u16 *data) argument
[all...]
H A Dutobject.c235 buffer_desc->buffer.length = (u32) buffer_size;
272 * NOTE: Zero-length strings are NULL terminated
286 string_desc->string.length = (u32) string_size;
411 * obj_length - Where the length is returned
418 * The length includes the object structure plus any additional
427 acpi_size length; local
433 /* Start with the length of the (external) Acpi object */
435 length = sizeof(union acpi_object);
441 * Object is NULL, just return the length of union acpi_object
444 *obj_length = ACPI_ROUND_UP_TO_NATIVE_WORD(length);
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_opcode.c123 .length = RXE_BTH_BYTES,
133 .length = RXE_BTH_BYTES,
143 .length = RXE_BTH_BYTES,
153 .length = RXE_BTH_BYTES + RXE_IMMDT_BYTES,
166 .length = RXE_BTH_BYTES,
177 .length = RXE_BTH_BYTES + RXE_IMMDT_BYTES,
189 .length = RXE_BTH_BYTES + RXE_RETH_BYTES,
201 .length = RXE_BTH_BYTES,
211 .length = RXE_BTH_BYTES,
222 .length
[all...]
/linux-master/net/ethtool/
H A Deeprom.c11 u32 length; member in struct:eeprom_req_info
19 u32 length; member in struct:eeprom_reply_data
34 u32 length = request->length; local
47 eeprom->len = length;
79 reply->length = eeprom.len;
114 page_data.length = request->length;
118 page_data.data = kmalloc(page_data.length, GFP_KERNEL);
130 reply->length
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_aux.c189 uint32_t length; local
226 /* The length include
229 * If the requested length is non zero this means
230 * an addition byte specifying the length is required.
233 length = request->length ? 4 : 3;
235 length += request->length;
239 AUX_SW_WR_BYTES, length);
255 if (request->length) {
438 uint32_t length = 0; local
643 dce_aux_log_payload(const char *payload_name, unsigned char *payload, uint32_t length, uint32_t max_length_to_log) argument
[all...]
/linux-master/drivers/media/pci/bt8xx/
H A Ddst_ca.c48 static void put_command_and_length(u8 *data, int command, int length) argument
53 data[3] = length;
56 static void put_checksum(u8 *check_string, int length) argument
59 dprintk(verbose, DST_CA_DEBUG, 1, " -> string length : 0x%02x", length);
60 check_string[length] = dst_check_sum (check_string, length);
61 dprintk(verbose, DST_CA_DEBUG, 1, " -> checksum : 0x%02x", check_string[length]);
130 int length, str_length; local
146 length
323 handle_dst_tag(struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer, u32 length) argument
351 write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply) argument
367 u32 length = 0; local
385 debug_string(u8 *msg, u32 length, u32 offset) argument
400 u32 length = 0; local
625 dst_ca_read(struct file *file, char __user *buffer, size_t length, loff_t *offset) argument
632 dst_ca_write(struct file *file, const char __user *buffer, size_t length, loff_t *offset) argument
[all...]
/linux-master/drivers/video/
H A Dhdmi.c64 frame->length = HDMI_AVI_INFOFRAME_SIZE;
72 frame->length != HDMI_AVI_INFOFRAME_SIZE)
86 * (eg. length) based on other fields.
114 size_t length; local
121 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length;
123 if (size < length)
130 ptr[2] = frame->length;
178 hdmi_infoframe_set_checksum(buffer, length);
180 return length;
285 size_t length; local
431 size_t length; local
615 size_t length; local
759 size_t length; local
942 ssize_t length; local
995 ssize_t length; local
1757 size_t length; local
[all...]
/linux-master/lib/lz4/
H A Dlz4_decompress.c122 size_t length; local
126 /* get literal length */
128 length = token>>ML_BITS;
135 * 1) If the literal length is 0..14, and there is enough
139 * 2) Further if the match length is 4..18, copy 18 bytes
148 if ((endOnInput ? length != RUN_MASK : length <= 8)
157 op += length; ip += length;
164 length
[all...]
/linux-master/drivers/iio/common/ssp_sensors/
H A Dssp_spi.c29 __le16 length; member in struct:ssp_msg_header
35 u16 length; member in struct:ssp_msg
85 h.length = cpu_to_le16(len);
96 msg->length = len;
135 int length = data_frame[(*data_index)++]; local
137 if (length > received_len - *data_index || length <= 0) {
138 ssp_dbg("[SSP]: MSG From MCU-invalid debug length(%d/%d)\n",
139 length, received_len);
145 *data_index += length;
337 u16 length, msg_options; local
479 ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, u8 *send_buf, u8 length) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dbmi.c72 ath10k_warn(ar, "invalid get_target_info response length (%d)\n",
119 /* Step 1b: Read the version length */
131 /* Step 2: Check the target info length */
155 u32 address, void *buffer, u32 length)
163 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi read address 0x%x length %d\n",
164 address, length);
171 while (length) {
172 rxlen = min_t(u32, length, BMI_MAX_DATA_SIZE);
189 length -= rxlen;
260 u32 address, const void *buffer, u32 length)
154 ath10k_bmi_read_memory(struct ath10k *ar, u32 address, void *buffer, u32 length) argument
259 ath10k_bmi_write_memory(struct ath10k *ar, u32 address, const void *buffer, u32 length) argument
344 ath10k_bmi_lz_data_large(struct ath10k *ar, const void *buffer, u32 length) argument
391 ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length) argument
455 ath10k_bmi_fast_download(struct ath10k *ar, u32 address, const void *buffer, u32 length) argument
[all...]

Completed in 204 milliseconds

1234567891011>>