/drivers/usb/misc/ |
H A D | ezusb.c | 35 unsigned char *data, int length, __u8 request) 43 transfer_buffer = kmemdup(data, length, GFP_KERNEL); 46 __func__, length); 51 address, 0, transfer_buffer, length, 3000); 34 ezusb_writememory(struct usb_device *dev, int address, unsigned char *data, int length, __u8 request) argument
|
/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...] |
H A D | of_display_timing.c | 30 int length, cells, ret; local 32 prop = of_find_property(np, name, &length); 39 cells = length / sizeof(u32);
|
/drivers/acpi/acpica/ |
H A D | dsopcode.c | 168 "Attempt to CreateField of length zero")); 228 /* Entire field must fit within the current length of the buffer */ 230 if ((bit_offset + bit_count) > (8 * (u32) buffer_desc->buffer.length)) { 236 8 * (u32) buffer_desc->buffer.length)); 276 /* Now the address and length are valid for this buffer_field */ 310 * This is where we evaluate the address and length fields of the 319 /* Evaluate/create the address and length operands */ 377 * DESCRIPTION: Get region address and length 395 * This is where we evaluate the address and length fields of the 408 /* Evaluate/create the address and length operand 580 u32 length; local [all...] |
H A D | psargs.c | 67 * RETURN: Decoded package length. On completion, the AML pointer points 68 * past the length byte or bytes. 70 * DESCRIPTION: Decode and return a package length field. 71 * Note: Largest package length is 28 bits, from ACPI specification 87 * used to encode the package length, either 0,1,2, or 3 96 * Final bit positions for the package length bytes: 122 * DESCRIPTION: Get next package length and return a pointer past the end of 123 * the package. Consumes the package length field 394 u32 length; local 407 length [all...] |
H A D | rsdump.c | 65 static void acpi_rs_dump_byte_list(u16 length, u8 *data); 67 static void acpi_rs_dump_word_list(u16 length, u16 *data); 69 static void acpi_rs_dump_dword_list(u8 length, u32 *data); 71 static void acpi_rs_dump_short_byte_list(u8 length, u8 *data); 102 /* First table entry must contain the table length (# of table entries) */ 192 * Note: The list length is obtained from the previous table entry 204 * Note: The list length is obtained from the previous table entry 218 * Note: The list length is obtained from the previous table entry 230 * Note: The list length is obtained from the previous table entry 242 * Note: The list length i 529 acpi_rs_dump_byte_list(u16 length, u8 * data) argument 538 acpi_rs_dump_short_byte_list(u8 length, u8 * data) argument 548 acpi_rs_dump_dword_list(u8 length, u32 * data) argument 557 acpi_rs_dump_word_list(u16 length, u16 *data) argument [all...] |
H A D | tbfadt.c | 71 u16 length; member in struct:acpi_fadt_info 207 * for GPEs, the legacy length (byte_width) is used instead to 312 u32 length; local 322 length = acpi_gbl_root_table_list.tables[table_index].length; 326 address, length); 335 (void)acpi_tb_verify_checksum(table, length); 339 acpi_tb_create_local_fadt(table, length); 343 acpi_os_unmap_memory(table, length); 364 * length 375 acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length) argument 464 u8 length; local [all...] |
/drivers/firmware/google/ |
H A D | memconsole.c | 103 size_t length, cur; local 111 /* EBDA length is byte 0 of EBDA (in KB) */ 112 length = *(u8 *)phys_to_virt(address); 113 length <<= 10; /* convert to bytes */ 119 for (cur = 0; cur < length; cur++) {
|
/drivers/gpu/drm/nouveau/core/core/ |
H A D | client.c | 206 const char *dbg, int length, void **pobject) 219 length, pobject); 205 nouveau_client_create_(const char *name, u64 devname, const char *cfg, const char *dbg, int length, void **pobject) argument
|
H A D | engctx.c | 58 int length, void **pobject) 82 length, pobject); 85 NV_ENGCTX_CLASS, length, pobject); 53 nouveau_engctx_create_(struct nouveau_object *parent, struct nouveau_object *engobj, struct nouveau_oclass *oclass, struct nouveau_object *pargpu, u32 size, u32 align, u32 flags, int length, void **pobject) argument
|
H A D | mm.c | 40 node->offset, node->length, node->type); 45 node->offset, node->length, node->type); 59 prev->length += this->length; 66 next->length += this->length; 92 if (a->length == size) 100 b->length = size; 104 a->length -= size; 127 e = this->offset + this->length; 238 nouveau_mm_init(struct nouveau_mm *mm, u32 offset, u32 length, u32 block) argument [all...] |
H A D | namedb.c | 171 int length, void **pobject) 178 length, pobject); 167 nouveau_namedb_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, u32 pclass, struct nouveau_oclass *sclass, u64 engcls, int length, void **pobject) argument
|
/drivers/gpu/drm/nouveau/core/engine/disp/ |
H A D | base.c | 189 int length, void **pobject) 202 intname, extname, length, pobject); 185 nouveau_disp_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, int heads, const char *intname, const char *extname, int length, void **pobject) argument
|
/drivers/gpu/drm/nouveau/core/engine/ |
H A D | falcon.c | 265 int length, void **pobject) 271 fname, length, pobject); 261 nouveau_falcon_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, u32 addr, bool enable, const char *iname, const char *fname, int length, void **pobject) argument
|
H A D | xtensa.c | 79 int length, void **pobject) 85 fname, length, pobject); 75 nouveau_xtensa_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, u32 addr, bool enable, const char *iname, const char *fname, int length, void **pobject) argument
|
/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | ctx.h | 40 cp_ctx(struct nouveau_grctx *ctx, u32 reg, u32 length) argument 45 ctx->ctxvals_pos = ctx->ctxvals_base + length; 47 if (length > (CP_CTX_COUNT >> CP_CTX_COUNT_SHIFT)) { 48 cp_lsr(ctx, length); 49 length = 0; 52 cp_out(ctx, CP_CTX | (length << CP_CTX_COUNT_SHIFT) | ctx->ctxprog_reg);
|
/drivers/gpu/drm/nouveau/core/subdev/pwr/ |
H A D | base.c | 246 struct nouveau_oclass *oclass, int length, void **pobject) 252 "pwr", length, pobject); 244 nouveau_pwr_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, int length, void **pobject) argument
|
/drivers/gpu/drm/nouveau/core/subdev/vm/ |
H A D | nv04.c | 73 nv04_vm_create(struct nouveau_vmmgr *vmm, u64 offset, u64 length, u64 mmstart, argument
|
/drivers/gpu/drm/nouveau/core/subdev/volt/ |
H A D | base.c | 135 struct nouveau_oclass *oclass, int length, void **pobject) 146 "voltage", length, pobject); 133 nouveau_volt_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, int length, void **pobject) argument
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_nvif.c | 82 nvkm_client_ntfy(const void *header, u32 length, const void *data, u32 size) argument 89 if (length == sizeof(args->v0) && args->v0.version == 0) { 98 return nvif_notify(header, length, data, size); 100 return usif_notify(header, length, data, size);
|
/drivers/gpu/drm/nouveau/nvif/ |
H A D | notify.c | 112 nvif_notify(const void *header, u32 length, const void *data, u32 size) argument 120 if (length == sizeof(args->v0) && args->v0.version == 0) {
|
/drivers/gpu/drm/udl/ |
H A D | udl_main.c | 44 DRM_INFO("vendor descriptor length:%x data:%11ph\n", 47 if ((desc[0] != total_len) || /* descriptor length */ 51 (desc[4] != total_len - 2)) /* length after type */ 58 u8 length; local 63 length = *desc; 78 desc += length;
|
/drivers/ide/ |
H A D | ide-floppy_ioctl.c | 41 int i, blocks, length, u_array_size, u_index; local 76 length = be16_to_cpup((__be16 *)&pc_buf[desc_start + 6]); 83 if (put_user(length, argp)) 143 int blocks, length, flags, err = 0; local 169 get_user(length, arg+1) || 176 ide_floppy_create_format_unit_cmd(pc, buf, blocks, length, flags);
|
/drivers/iio/ |
H A D | kfifo_buf.c | 22 int bytes_per_datum, int length) 24 if ((length == 0) || (bytes_per_datum == 0)) 27 return __kfifo_alloc((struct __kfifo *)&buf->kf, length, 40 buf->buffer.length); 52 return r->length; 90 static int iio_set_length_kfifo(struct iio_buffer *r, int length) argument 93 if (length < 2) 94 length = 2; 95 if (r->length != length) { 21 __iio_allocate_kfifo(struct iio_kfifo *buf, int bytes_per_datum, int length) argument [all...] |
/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.h | 51 size_t length; member in struct:usnic_uiom_reg
|