/drivers/acpi/acpica/ |
H A D | exstorob.c | 67 u32 length; local 81 length = source_desc->buffer.length; 84 * If target is a buffer of length zero or is a static buffer, 85 * allocate a new buffer of the proper length 87 if ((target_desc->buffer.length == 0) || 89 target_desc->buffer.pointer = ACPI_ALLOCATE(length); 94 target_desc->buffer.length = length; 99 if (length < 164 u32 length; local [all...] |
H A D | exoparg3.c | 151 acpi_size length; local 172 length = (acpi_size) operand[2]->integer.value; 175 * If the index is beyond the length of the String/Buffer, or if the 176 * requested length is zero, return a zero-length String/Buffer 178 if (index >= operand[0]->string.length) { 179 length = 0; 184 else if ((index + length) > operand[0]->string.length) { 185 length [all...] |
H A D | exfield.c | 63 * access_length - The access length of the region field 65 * RETURN: Decoded access length 67 * DESCRIPTION: This routine returns the length of the generic_serial_bus 75 u32 length; local 80 length = 0; 86 length = 1; 92 length = 2; 99 length = access_length; 106 length = ACPI_GSBUS_BUFFER_SIZE - 2; 110 return (length); 135 acpi_size length; local 336 u32 length; local [all...] |
H A D | tbutils.c | 128 /* Compare original length and checksum to current values */ 130 if (acpi_gbl_original_dsdt_header.length != acpi_gbl_DSDT->length || 144 acpi_gbl_original_dsdt_header.length = acpi_gbl_DSDT->length; 171 new_table = ACPI_ALLOCATE(table_desc->length); 173 ACPI_ERROR((AE_INFO, "Could not copy DSDT of length 0x%X", 174 table_desc->length)); 178 ACPI_MEMCPY(new_table, table_desc->pointer, table_desc->length); 188 "Forced DSDT copy: length 275 u32 length; local [all...] |
H A D | utids.c | 74 u32 length; local 89 length = ACPI_EISAID_STRING_SIZE; 91 length = obj_desc->string.length + 1; 98 (acpi_size) length); 117 hid->length = length; 151 u32 length; local 164 length = obj_desc->string.length 219 u32 length; local 305 u32 length; local [all...] |
H A D | nsconvert.c | 92 if (original_object->buffer.length > 8) { 98 for (i = 0; i < original_object->buffer.length; i++) { 137 acpi_size length; local 173 length = 0; 174 while ((length < original_object->buffer.length) && 175 (original_object->buffer.pointer[length])) { 176 length++; 181 new_object = acpi_ut_create_string_object(length); 191 original_object->buffer.pointer, length); [all...] |
H A D | tbprint.c | 52 static void acpi_tb_fix_string(char *string, acpi_size length); 63 * length - Maximum length 72 static void acpi_tb_fix_string(char *string, acpi_size length) argument 75 while (length && *string) { 80 length--; 138 /* FACS only has signature and length fields */ 142 header->length)); 158 header)->length : 20, 171 local_header.length, local_heade 193 acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length) argument 241 acpi_tb_checksum(u8 *buffer, u32 length) argument [all...] |
/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_vic.c | 40 vp->length = htonl(sizeof(vp->num_tlvs)); 50 int vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length, argument 58 if (ntohl(vp->length) + offsetof(struct vic_provinfo_tlv, value) + 59 length > VIC_PROVINFO_MAX_TLV_DATA) 63 ntohl(vp->length) - sizeof(vp->num_tlvs)); 66 tlv->length = htons(length); 67 memcpy(tlv->value, value, length); 70 vp->length = htonl(ntohl(vp->length) [all...] |
H A D | rq_enet_desc.h | 44 u64 address, u8 type, u16 length) 47 desc->length_type = cpu_to_le16((length & RQ_ENET_LEN_MASK) | 52 u64 *address, u8 *type, u16 *length) 55 *length = le16_to_cpu(desc->length_type) & RQ_ENET_LEN_MASK; 43 rq_enet_desc_enc(struct rq_enet_desc *desc, u64 address, u8 type, u16 length) argument 51 rq_enet_desc_dec(struct rq_enet_desc *desc, u64 *address, u8 *type, u16 *length) argument
|
/drivers/isdn/hardware/eicon/ |
H A D | diva.h | 13 const void *src, int length); 16 const void __user *src, int length); 22 int length, divas_xdi_copy_from_user_fn_t cp_fn); 25 int length,
|
H A D | um_idi.h | 18 int length); 22 int length); 32 int length, divas_um_idi_copy_from_user_fn_t cp_fn);
|
/drivers/s390/cio/ |
H A D | cio_debug.h | 23 static inline void CIO_HEX_EVENT(int level, void *data, int length) argument 27 while (length > 0) { 28 debug_event(cio_debug_trace_id, level, data, length); 29 length -= cio_debug_trace_id->buf_size;
|
/drivers/staging/line6/ |
H A D | midibuf.c | 23 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; local 25 message_length = length[(code >> 4) - 8]; 32 static const int length[] = { -1, 2, -1, 2, -1, -1, 1, 1, 1, 1, local 35 message_length = length[code & 0x0f]; 96 int length) 102 if (midibuf_is_full(this) || (length <= 0)) 106 if (data[length - 1] == 0xfe) { 107 --length; 113 if (length > bytes_free) 114 length 95 line6_midibuf_write(struct midi_buffer *this, unsigned char *data, int length) argument 138 line6_midibuf_read(struct midi_buffer *this, unsigned char *data, int length) argument 243 line6_midibuf_ignore(struct midi_buffer *this, int length) argument [all...] |
H A D | midibuf.h | 27 extern int line6_midibuf_ignore(struct midi_buffer *mb, int length); 30 int length); 36 int length);
|
/drivers/net/arcnet/ |
H A D | arc-rawmode.c | 40 struct archdr *pkthdr, int length); 43 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, 89 struct archdr *pkthdr, int length) 96 BUGMSG(D_DURING, "it's a raw packet (length=%d)\n", length); 98 if (length > MTU) 99 ofs = 512 - length; 101 ofs = 256 - length; 103 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); 109 skb_put(skb, length 88 rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) argument 167 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument [all...] |
H A D | capmode.c | 42 struct archdr *pkthdr, int length) 50 BUGMSG(D_DURING, "it's a raw(cap) packet (length=%d)\n", length); 52 if (length >= MinTU) 53 ofs = 512 - length; 55 ofs = 256 - length; 57 skb = alloc_skb(length + ARC_HDR_SIZE + sizeof(int), GFP_ATOMIC); 63 skb_put(skb, length + ARC_HDR_SIZE + sizeof(int)); 81 if (length > sizeof(pkt->soft)) 85 length 41 rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) argument 134 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument 191 int length=sizeof(struct arc_cap); local [all...] |
H A D | rfc1051.c | 40 struct archdr *pkthdr, int length); 43 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, 126 struct archdr *pkthdr, int length) 133 BUGMSG(D_DURING, "it's a raw packet (length=%d)\n", length); 135 if (length >= MinTU) 136 ofs = 512 - length; 138 ofs = 256 - length; 140 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); 146 skb_put(skb, length 125 rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) argument 218 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument [all...] |
/drivers/video/ |
H A D | hdmi.c | 56 frame->length = HDMI_AVI_INFOFRAME_SIZE; 80 size_t length; local 82 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; 84 if (size < length) 91 ptr[2] = frame->length; 139 hdmi_infoframe_checksum(buffer, length); 141 return length; 160 frame->length = HDMI_SPD_INFOFRAME_SIZE; 187 size_t length; local 252 size_t length; local 333 size_t length; local 413 ssize_t length; local [all...] |
/drivers/gpu/drm/nouveau/core/include/subdev/bios/ |
H A D | bit.h | 7 u16 length; member in struct:bit_entry
|
/drivers/media/usb/as102/ |
H A D | as102_fw.h | 27 unsigned char length[2]; member in union:as10x_fw_pkt_t::__anon2328
|
/drivers/scsi/fnic/ |
H A D | rq_enet_desc.h | 42 u64 address, u8 type, u16 length) 45 desc->length_type = cpu_to_le16((length & RQ_ENET_LEN_MASK) | 50 u64 *address, u8 *type, u16 *length) 53 *length = le16_to_cpu(desc->length_type) & RQ_ENET_LEN_MASK; 41 rq_enet_desc_enc(struct rq_enet_desc *desc, u64 address, u8 type, u16 length) argument 49 rq_enet_desc_dec(struct rq_enet_desc *desc, u64 *address, u8 *type, u16 *length) argument
|
/drivers/usb/misc/ |
H A D | rio500_usb.h | 30 short length; member in struct:RioCommand
|
/drivers/scsi/arm/ |
H A D | msgqueue.h | 17 int length; member in struct:message 50 * Purpose : calculate the total length of all messages on the message queue 58 * Purpose : return a message & its length 66 * Function: int msgqueue_addmsg(MsgQueue_t *msgq, int length, ...) 69 * length - length of message 73 extern int msgqueue_addmsg(MsgQueue_t *msgq, int length, ...);
|
/drivers/usb/gadget/ |
H A D | u_f.c | 23 req->length = len ?: default_len; 24 req->buf = kmalloc(req->length, GFP_ATOMIC);
|
/drivers/parisc/ |
H A D | iommu-helpers.h | 35 sg_virt_addr(startsg), startsg->length 70 sg_dma_len(dma_sg) += startsg->length; 71 size = startsg->length + dma_offset; 74 ioc->msg_pages += startsg->length >> IOVP_SHIFT; 115 dma_len = startsg->length; 130 startsg->length; 134 startsg->length; 145 if(unlikely(ALIGN(dma_len + dma_offset + startsg->length, 149 if (startsg->length + dma_len > max_seg_size) 159 dma_len += startsg->length; [all...] |