/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 | 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 | exoparg2.c | 260 acpi_size length = 0; local 314 * Get the length of the new string. It is the smallest of: 316 * 2) Max length as specified in the to_string operator 319 * NOTE: A length of zero is ok, and will create a zero-length, null 322 while ((length < operand[0]->buffer.length) && 323 (length < operand[1]->integer.value) && 324 (operand[0]->buffer.pointer[length])) { 325 length [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 | rslist.c | 67 u32 length, 129 acpi_ut_get_resource_type(aml), length, 130 resource->length)); 181 /* Sanity check the length. It must not be zero, or we loop forever */ 183 if (!resource->length) { 185 "Invalid zero length descriptor in resource list\n")); 246 * Extract the total length of the new descriptor and set the 66 acpi_rs_convert_aml_to_resources(u8 * aml, u32 length, u32 offset, u8 resource_index, void **context) argument
|
H A D | tbxfroot.c | 57 * RETURN: Table length 59 * DESCRIPTION: Get the length of the RSDP 75 return (rsdp->length); 160 "Could not map memory at 0x%8.8X for length %u", 178 * minimum of 1K length) 185 "Could not map memory at 0x%8.8X for length %u", 217 "Could not map memory at 0x%8.8X for length %u", 251 * length - Maximum length to search 258 u8 *acpi_tb_scan_memory_for_rsdp(u8 *start_address, u32 length) argument [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...] |
/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/net/ethernet/qualcomm/ |
H A D | qca_framing.c | 29 qcafrm_create_header(u8 *buf, u16 length) argument 36 len = cpu_to_le16(length); 66 * QCAFRM_INVLEN Atheros frame length is invalid 85 /* first two bytes of length must be 0 */ 105 /* 2 bytes length. */ 106 /* Borrow offset field to hold length for now. */
|
/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/gpu/drm/nouveau/core/core/ |
H A D | engine.c | 34 int length, void **pobject) 40 iname, fname, length, pobject); 30 nouveau_engine_create_(struct nouveau_object *parent, struct nouveau_object *engobj, struct nouveau_oclass *oclass, bool enable, const char *iname, const char *fname, int length, void **pobject) argument
|
/drivers/gpu/drm/nouveau/core/subdev/fuse/ |
H A D | base.c | 44 struct nouveau_oclass *oclass, int length, void **pobject) 50 "fuse", length, pobject); 42 nouveau_fuse_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, int length, void **pobject) argument
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_eq.c | 55 const enum ehca_eq_type type, const u32 length) 72 if (!length) { 73 ehca_err(ib_dev, "EQ length must not be zero. eq=%p", eq); 80 length, 82 &eq->length, 53 ehca_create_eq(struct ehca_shca *shca, struct ehca_eq *eq, const enum ehca_eq_type type, const u32 length) argument
|
/drivers/input/touchscreen/ |
H A D | cyttsp_i2c_common.c | 37 u16 addr, u8 length, void *values) 52 .len = length, 67 u16 addr, u8 length, const void *values) 76 .len = length + 1, 83 memcpy(&xfer_buf[1], values, length); 36 cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, void *values) argument 66 cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, const void *values) argument
|
/drivers/isdn/hardware/eicon/ |
H A D | dqueue.c | 27 q->length[i] = 0; 50 q->length[i] = 0; 73 diva_data_q_ack_segment4write(diva_um_idi_data_queue_t *q, int length) argument 76 q->length[q->write] = length; 97 return (q->length[q->read]); 103 q->length[q->read] = 0;
|
H A D | dqueue.h | 16 int length[DIVA_UM_IDI_MAX_MSGS]; member in struct:_diva_um_idi_data_queue 25 int length);
|
/drivers/macintosh/ |
H A D | macio_sysfs.c | 21 int length = 0; local 31 length += sprintf (buf, "%s\n", compat); 32 buf += length; 38 return length;
|
/drivers/mtd/ubi/ |
H A D | misc.c | 29 * @length: the buffer length 32 * the length. Continuous 0xFF bytes at the end of the buffer are not 36 int length) 40 ubi_assert(!(length & (ubi->min_io_size - 1))); 42 for (i = length - 1; i >= 0; i--) 46 /* The resulting length must be aligned to the minimum flash I/O size */ 47 length = ALIGN(i + 1, ubi->min_io_size); 48 return length; 35 ubi_calc_data_len(const struct ubi_device *ubi, const void *buf, int length) argument
|
/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...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00mmio.h | 41 void *value, const u32 length) 43 memcpy_fromio(value, rt2x00dev->csr.base + offset, length); 56 const u32 length) 58 __iowrite32_copy(rt2x00dev->csr.base + offset, value, length >> 2); 39 rt2x00mmio_register_multiread(struct rt2x00_dev *rt2x00dev, const unsigned int offset, void *value, const u32 length) argument 53 rt2x00mmio_register_multiwrite(struct rt2x00_dev *rt2x00dev, const unsigned int offset, const void *value, const u32 length) argument
|
/drivers/scsi/arm/ |
H A D | msgqueue.c | 79 * Purpose : calculate the total length of all messages on the message queue 86 int length = 0; local 89 length += mq->msg.length; 91 return length; 111 * Function: int msgqueue_addmsg(MsgQueue_t *msgq, int length, ...) 114 * length - length of message 118 int msgqueue_addmsg(MsgQueue_t *msgq, int length, ...) argument 127 va_start(ap, length); [all...] |
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/staging/vt6656/ |
H A D | firmware.c | 50 u16 length; local 67 length = min_t(int, fw->size - ii, FIRMWARE_CHUNK_SIZE); 68 memcpy(buffer, fw->data + ii, length); 74 length,
|
/drivers/usb/misc/ |
H A D | rio500_usb.h | 30 short length; member in struct:RioCommand
|