/linux-master/drivers/platform/chrome/wilco_ec/ |
H A D | properties.c | 22 u8 length; member in struct:ec_property_request 30 u8 length; member in struct:ec_property_response 74 prop_msg->length = rs.length; 75 memcpy(prop_msg->data, rs.data, rs.length); 91 rq.length = prop_msg->length; 92 memcpy(rq.data, prop_msg->data, prop_msg->length); 97 if (rs.length != prop_msg->length) [all...] |
/linux-master/fs/squashfs/ |
H A D | page_actor.h | 21 int length; member in struct:squashfs_page_actor 29 int pages, int length); 32 struct page **page, int pages, int length);
|
H A D | symlink.c | 42 int length = min_t(int, i_size_read(inode) - index, PAGE_SIZE); local 65 * Read length bytes from symlink metadata. Squashfs_read_metadata 68 * squashfs_cache_get routine. As length bytes may overlap metadata 71 for (bytes = 0; bytes < length; offset = 0, bytes += copied) { 83 length - bytes); 84 if (copied == length - bytes) 85 memset(pageaddr + length, 0, PAGE_SIZE - length);
|
H A D | decompressor.h | 28 void *buff, int length) 31 msblk->decompressor->comp_opts(msblk, buff, length) : NULL; 27 squashfs_comp_opts(struct squashfs_sb_info *msblk, void *buff, int length) argument
|
H A D | dir.c | 43 int err, i, index, length = 0; local 83 length = index; 88 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; 93 return length + 3; 102 int offset = squashfs_i(inode)->offset, length, err; local 144 length = get_dir_index_using_offset(inode->i_sb, &block, &offset, 150 while (length < i_size_read(inode)) { 159 length += sizeof(dirh); 186 length += sizeof(*dire) + size; 188 if (ctx->pos >= length) [all...] |
/linux-master/arch/arm/mach-mmp/ |
H A D | common.c | 29 .length = APB_PHYS_SIZE, 34 .length = AXI_PHYS_SIZE, 43 .length = PGU_PHYS_SIZE,
|
/linux-master/drivers/input/touchscreen/ |
H A D | cyttsp4_spi.c | 37 u8 op, u16 reg, u8 *buf, int length) 47 if (length > CY_SPI_DATA_SIZE) { 48 dev_err(dev, "%s: length %d is too big.\n", 49 __func__, length); 59 if (length > 0) 60 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); 74 xfer[0].len = length + CY_SPI_CMD_BYTES; 83 xfer[1].len = length; 110 for (i = 0; i < length; i++) 121 u16 addr, u8 length, voi 36 cyttsp_spi_xfer(struct device *dev, u8 *xfer_buf, u8 op, u16 reg, u8 *buf, int length) argument 120 cyttsp_spi_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, void *data) argument 133 cyttsp_spi_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, const void *data) argument [all...] |
H A D | cyttsp_spi.c | 36 u8 op, u16 reg, u8 *buf, int length) 46 if (length > CY_SPI_DATA_SIZE) { 47 dev_err(dev, "%s: length %d is too big.\n", 48 __func__, length); 60 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); 73 xfer[0].len = length + CY_SPI_CMD_BYTES; 82 xfer[1].len = length; 110 for (i = 0; i < length; i++) 121 u16 addr, u8 length, void *data) 124 length); 35 cyttsp_spi_xfer(struct device *dev, u8 *xfer_buf, u8 op, u16 reg, u8 *buf, int length) argument 120 cyttsp_spi_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, void *data) argument 127 cyttsp_spi_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, const void *data) argument [all...] |
/linux-master/arch/arm/mach-omap2/ |
H A D | io.c | 69 .length = L3_24XX_SIZE, 75 .length = L4_24XX_SIZE, 85 .length = DSP_MEM_2420_SIZE, 91 .length = DSP_IPI_2420_SIZE, 97 .length = DSP_MMU_2420_SIZE, 109 .length = L4_WK_243X_SIZE, 115 .length = OMAP243X_GPMC_SIZE, 121 .length = OMAP243X_SDRC_SIZE, 127 .length = OMAP243X_SMS_SIZE, 139 .length [all...] |
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_common.h | 59 void *pos, int length) 64 if (likely(length <= left)) { 65 memcpy(pos, src, length); 66 pos += length; 69 memcpy(q->desc, src + left, length - left); 70 pos = (void *)q->desc + (length - left); 58 chcr_copy_to_txd(const void *src, const struct sge_txq *q, void *pos, int length) argument
|
/linux-master/arch/mips/include/asm/fw/cfe/ |
H A D | cfe_api.h | 85 int cfe_enummem(int idx, int flags, uint64_t * start, uint64_t * length, 96 int length, int *retlen, uint64_t offset); 98 int cfe_read(int handle, unsigned char *buffer, int length); 100 int length); 102 int cfe_write(int handle, const char *buffer, int length); 104 int length);
|
/linux-master/drivers/iommu/iommufd/ |
H A D | iommufd_test.h | 64 __aligned_u64 length; member in struct:iommu_test_cmd::__anon62::__anon63 84 __aligned_u64 length; member in struct:iommu_test_cmd::__anon62::__anon67 88 __aligned_u64 length; member in struct:iommu_test_cmd::__anon62::__anon68 103 __aligned_u64 length; member in struct:iommu_test_cmd::__anon62::__anon71 108 __aligned_u64 length; member in struct:iommu_test_cmd::__anon62::__anon72 121 __aligned_u64 length; member in struct:iommu_test_cmd::__anon62::__anon75
|
/linux-master/arch/alpha/include/asm/ |
H A D | console.h | 8 extern long callback_puts(long unit, const char *s, long length); 12 extern long callback_open(const char *device, long length);
|
/linux-master/drivers/usb/gadget/ |
H A D | u_f.c | 20 req->length = usb_endpoint_dir_out(ep->desc) ? 22 req->buf = kmalloc(req->length, GFP_ATOMIC);
|
/linux-master/sound/firewire/fireworks/ |
H A D | fireworks_transaction.c | 118 copy_resp_to_buf(struct snd_efw *efw, void *data, size_t length, int *rcode) argument 124 length = min_t(size_t, be32_to_cpu(t->length) * sizeof(u32), length); 135 if (capacity < length) { 141 while (length > 0) { 144 till_end = min_t(unsigned int, length, till_end); 152 length -= till_end; 166 void *data, size_t length, int *rcode) 191 copy_resp_to_buf(efw, data, length, rcod 165 handle_resp_for_user(struct fw_card *card, int generation, int source, void *data, size_t length, int *rcode) argument 197 handle_resp_for_kernel(struct fw_card *card, int generation, int source, void *data, size_t length, int *rcode, u32 seqnum) argument 226 efw_response(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument [all...] |
/linux-master/drivers/s390/cio/ |
H A D | cio_debug.h | 24 static inline void CIO_HEX_EVENT(int level, void *data, int length) argument 26 debug_event(cio_debug_trace_id, level, data, length);
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | archinsn.c | 25 if (ret >= 0 && insn.length <= len) 26 sample->insn_len = insn.length;
|
/linux-master/drivers/net/fjes/ |
H A D | fjes_trace.h | 54 __field(int, length) 62 __entry->length = res_buf->info.length; 71 TP_printk("res_buf=[length=%d, code=%d, es_zones=%s, es_status=%s]", 72 __entry->length, __entry->code, 98 __field(int, length) 110 __entry->length = req_buf->share_buffer.length; 119 TP_printk("req_buf=[length=%d, epid=%d], TX=[phy=0x%016llx, size=%zu], RX=[phy=0x%016llx, size=%zu]", 120 __entry->length, __entr [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_metrics.c | 49 for (i = 0; i < histogram->length; i++) { 63 make_histogram(struct sh_css_pc_histogram *histogram, unsigned int length) argument 67 if (histogram->length) 71 histogram->run = kvmalloc(length * sizeof(*histogram->run), 75 histogram->stall = kvmalloc(length * sizeof(*histogram->stall), 79 histogram->msink = kvmalloc(length * sizeof(*histogram->msink), 84 histogram->length = length;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | priv.h | 11 u32 (*read)(void *, u32 offset, u32 length, struct nvkm_bios *); 19 int nvbios_extend(struct nvkm_bios *, u32 length);
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_lpc_mec.h | 52 * @length: Number of bytes to check 57 int cros_ec_lpc_mec_in_range(unsigned int offset, unsigned int length); 64 * @length: Number of bytes to read / write 70 unsigned int offset, unsigned int length, u8 *buf);
|
/linux-master/drivers/acpi/acpica/ |
H A D | tbutils.c | 83 /* Compare original length and checksum to current values */ 85 if (acpi_gbl_original_dsdt_header.length != acpi_gbl_DSDT->length || 100 acpi_gbl_original_dsdt_header.length = acpi_gbl_DSDT->length; 127 new_table = ACPI_ALLOCATE(table_desc->length); 129 ACPI_ERROR((AE_INFO, "Could not copy DSDT of length 0x%X", 130 table_desc->length)); 134 memcpy(new_table, table_desc->pointer, table_desc->length); 143 ACPI_INFO(("Forced DSDT copy: length 231 u32 length; local [all...] |
/linux-master/drivers/parisc/ |
H A D | iommu-helpers.h | 36 sg_virt(startsg), startsg->length 71 sg_dma_len(dma_sg) += startsg->length; 72 size = startsg->length + dma_offset; 75 ioc->msg_pages += startsg->length >> IOVP_SHIFT; 120 dma_len = startsg->length; 135 startsg->length; 149 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > 163 dma_len += startsg->length;
|
/linux-master/arch/m68k/mac/ |
H A D | macboing.c | 157 void mac_mksound( unsigned int freq, unsigned int length ) 174 mac_special_bell( freq, length, 128 ); 178 if ( freq < 20 || freq > 20000 || length == 0 ) 203 mac_sound_timer.expires = jiffies + length; 220 static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) argument 227 mac_bell_duration += length; 231 mac_bell_duration = length; 301 static void mac_av_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) argument
|
/linux-master/drivers/video/fbdev/ |
H A D | vfb.c | 98 u_long length; local 100 length = xres_virtual * bpp; 101 length = (length + 31) & ~31; 102 length >>= 3; 103 return (length); 176 var->red.length = 8; 178 var->green.length = 8; 180 var->blue.length = 8; 182 var->transp.length [all...] |