/linux-master/sound/isa/gus/ |
H A D | gus_pcm.c | 64 struct snd_gf1_dma_block block; local 71 snd_printk(KERN_DEBUG "block change - offset = 0x%x, count = 0x%x\n", 74 memset(&block, 0, sizeof(block)); 75 block.cmd = SNDRV_GF1_DMA_IRQ; 77 block.cmd |= SNDRV_GF1_DMA_UNSIGNED; 79 block.cmd |= SNDRV_GF1_DMA_16BIT; 80 block.addr = addr & ~31; 81 block.buffer = runtime->dma_area + offset; 82 block 412 struct snd_gf1_mem_block *block; local [all...] |
/linux-master/drivers/media/i2c/ccs/ |
H A D | ccs-data.c | 117 ccs_data_parse_format_version(const struct __ccs_data_block *block) argument 119 return block->id >> CCS_DATA_BLOCK_HEADER_ID_VERSION_SHIFT; 122 static u8 ccs_data_parse_block_id(const struct __ccs_data_block *block, argument 126 return block->id; 128 return block->id & ((1 << CCS_DATA_BLOCK_HEADER_ID_VERSION_SHIFT) - 1); 171 static int ccs_data_block_parse_header(const struct __ccs_data_block *block, argument 182 if (!is_contained(block, endp)) 185 rval = ccs_data_parse_length_specifier(&block->length, &hlen, &plen, 190 block_id = ccs_data_parse_block_id(block, is_first); 197 if (!has_headroom(&block 809 const struct __ccs_data_block *block = data; local [all...] |
/linux-master/sound/aoa/codecs/ |
H A D | tas.c | 155 u8 block[6]; local 175 block[0] = tmp>>20; 176 block[1] = tmp>>12; 177 block[2] = tmp>>4; 179 block[3] = tmp>>20; 180 block[4] = tmp>>12; 181 block[5] = tmp>>4; 182 tas_write_reg(tas, TAS_REG_VOL, 6, block); 187 u8 block[9]; local 195 block[ [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn302/ |
H A D | dcn302_resource.c | 182 #define SRI(reg_name, block, id)\ 183 .reg_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + mm ## block ## id ## _ ## reg_name 185 #define SRI2(reg_name, block, id)\ 188 #define SRII(reg_name, block, id)\ 189 .reg_name[id] = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 190 mm ## block ## id ## _ ## reg_name 192 #define DCCG_SRII(reg_name, block, id)\ 193 .block ## _ ## reg_name[id] = BASE(mm ## block ## i [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn303/ |
H A D | dcn303_resource.c | 178 #define SRI(reg_name, block, id)\ 179 .reg_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + mm ## block ## id ## _ ## reg_name 181 #define SRI2(reg_name, block, id)\ 184 #define SRII(reg_name, block, id)\ 185 .reg_name[id] = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 186 mm ## block ## id ## _ ## reg_name 188 #define DCCG_SRII(reg_name, block, id)\ 189 .block ## _ ## reg_name[id] = BASE(mm ## block ## i [all...] |
/linux-master/drivers/md/ |
H A D | md-bitmap.c | 31 #include <trace/events/block.h> 346 * address of each block (using bmap). These addresses will be used 347 * to write the block later, completely bypassing the filesystem. 357 sector_t block, blk_cur; local 371 block = blk_cur; 376 ret = bmap(inode, &block); 377 if (ret || !block) { 383 bh->b_blocknr = block; 777 * Use one bit per "chunk" (block set). We do the disk I/O on the bitmap 946 static void md_bitmap_file_set_bit(struct bitmap *bitmap, sector_t block) argument 977 md_bitmap_file_clear_bit(struct bitmap *bitmap, sector_t block) argument 1007 md_bitmap_file_test_bit(struct bitmap *bitmap, sector_t block) argument 1356 sector_t block = (sector_t)j << counts->chunkshift; local 2055 sector_t block, lo = 0, hi = 0; local 2140 sector_t block; local [all...] |
/linux-master/include/linux/mtd/ |
H A D | inftl.h | 51 int INFTL_formatblock(struct INFTLrecord *s, int block);
|
H A D | nftl.h | 15 #define BLOCK_NIL 0xffff /* last block of a chain */ 16 #define BLOCK_FREE 0xfffe /* free block */ 17 #define BLOCK_NOTEXPLORED 0xfffd /* non explored block, only used during mounting */ 18 #define BLOCK_RESERVED 0xfffc /* bios block or bad block */ 42 int NFTL_formatblock(struct NFTLrecord *s, int block);
|
/linux-master/fs/omfs/ |
H A D | bitmap.c | 89 * Tries to allocate exactly one block. Returns true if successful. 91 int omfs_allocate_block(struct super_block *sb, u64 block) argument 100 tmp = block; 128 * with just one block. 173 * Clears count bits starting at a given block. 175 int omfs_clear_range(struct super_block *sb, u64 block, int count) argument 183 tmp = block;
|
/linux-master/include/trace/events/ |
H A D | smbus.h | 58 __entry->len = data->block[0] + 1; 60 memcpy(__entry->buf, data->block, __entry->len); 167 __entry->len = data->block[0] + 1; 169 memcpy(__entry->buf, data->block, __entry->len);
|
/linux-master/include/uapi/linux/ |
H A D | i2c.h | 50 * of block data bytes received. 108 #define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* I2C-like block xfer */ 144 __u8 block[I2C_SMBUS_BLOCK_MAX + 2]; /* block[0] is used for length */ member in union:i2c_smbus_data
|
/linux-master/drivers/staging/vt6656/ |
H A D | usbpipe.h | 59 u16 block, u8 reg, u16 len, const u8 *data);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | intr.h | 24 void (*block)(struct nvkm_intr *, int leaf, u32 mask); member in struct:nvkm_intr::nvkm_intr_func
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | gt215.c | 77 .block = gt215_mc_intr_block,
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-array.h | 25 * because it would waste a whole metadata block. Make sure you store the 39 * b) Get yourself a root. The root is the index of a block of data on the 91 * root - on success this will be filled out with the root block 99 * root - the root block of the array on disk 104 * new_root - on success, points to the new root block 125 * root - the root block of the array on disk 144 * root - root block of the array 157 * root - root block of the array 161 * new_root - the new root block 176 * root - root block o 200 struct dm_block *block; member in struct:dm_array_cursor [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_scatterlist.c | 172 struct drm_buddy_block *block; local 202 list_for_each_entry(block, blocks, link) { 205 block_size = min_t(u64, size, drm_buddy_block_size(mm, block)); 206 offset = drm_buddy_block_offset(block);
|
/linux-master/fs/udf/ |
H A D | truncate.c | 132 epos.block = iinfo->i_location; 228 udf_free_blocks(sb, NULL, &epos.block, 238 epos.block = eloc; 241 /* Error reading indirect block? */ 258 udf_free_blocks(sb, NULL, &epos.block, 0, indirect_ext_len);
|
/linux-master/fs/qnx4/ |
H A D | qnx4.h | 31 extern int qnx4_is_free(struct super_block *sb, long block);
|
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_rcfw.h | 243 u8 block; member in struct:bnxt_qplib_cmdqmsg 248 u32 req_sz, u32 res_sz, u8 block) 255 msg->block = block; 246 bnxt_qplib_fill_cmdqmsg(struct bnxt_qplib_cmdqmsg *msg, void *req, void *resp, void *sb, u32 req_sz, u32 res_sz, u8 block) argument
|
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | ctxt-info.c | 52 dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent(trans, len, 54 if (!dram->block) 58 memcpy(dram->block, data, len); 76 dram->paging[i].block,
|
/linux-master/drivers/md/dm-vdo/ |
H A D | packer.h | 22 /* The header of a compressed block. */ 27 /* List of unsigned 16-bit compressed block sizes, little-endian */ 35 * A compressed block is only written if we can pack at least two fragments into it, so a 36 * fragment which fills the entire data portion of a compressed block is too big. 41 /* * The compressed block overlay. */ 49 * block. The bins are kept in a ring sorted by the amount of unused space so the first bin with 55 * the agent's compressed block. The agent then writes out the compressed block. If the write is 57 * block and sends each on its way. Finally the agent itself continues on the write path as before. 68 /* The number of compressed block byte [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_btree_staging.h | 11 /* AG block number of the new btree root. */ 50 unsigned int idx, struct xfs_btree_block *block, 62 * records in the btree block. Records must be returned in sort order. 70 * to a new btree block on disk. Callers must preallocate all space 78 * block. It is only necessary for XFS_BTREE_TYPE_INODE btrees. 89 * Number of free records to leave in each leaf block. If the caller 91 * between maxrecs and minrecs. This typically leaves the block 75% 97 * Number of free key/ptrs pairs to leave in each node block. This 115 * Flush the new btree block buffer list to disk after this many blocks
|
/linux-master/drivers/platform/x86/ |
H A D | wmi.c | 78 * If the GUID data block is marked as expensive, we must enable and 129 struct guid_block *block; local 134 block = &wblock->gblock; 137 snprintf(method, 5, "WE%02X", block->notify_id); 343 struct guid_block *block; local 351 block = &wblock->gblock; 357 if (!(block->flags & ACPI_WMI_METHOD)) 360 if (block->instance_count <= instance) 383 struct guid_block *block; local 394 block 539 struct guid_block *block = &wblock->gblock; local [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | mips-cm.h | 18 /* The base address of the CM GCR block */ 28 * global control block, or 0 if no Coherence Manager is present. It provides 308 /* GCR_Cx_OTHER - Configure the core-other/redirect GCR block */ 424 * @block: the register block to be accessed 428 * @block. Must be called before using the redirect/other region, and followed 438 unsigned int vp, unsigned int block); 451 unsigned int vp, unsigned int block) { } 461 * the CM revision) to target the specified @cpu & register @block. This is 465 static inline void mips_cm_lock_other_cpu(unsigned int cpu, unsigned int block) argument 450 mips_cm_lock_other(unsigned int cluster, unsigned int core, unsigned int vp, unsigned int block) argument 469 mips_cm_lock_other(cpu_cluster(d), cpu_core(d), cpu_vpe_id(d), block); local [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | toeplitz.c | 217 /* A single TPACKET_V3 block can hold multiple frames */ 220 struct tpacket_block_desc *block; local 224 block = (void *)(ring->mmap + ring->idx * ring_block_sz); 225 if (!(block->hdr.bh1.block_status & TP_STATUS_USER)) 228 frame = (char *)block; 229 frame += block->hdr.bh1.offset_to_first_pkt; 231 for (i = 0; i < block->hdr.bh1.num_pkts; i++) { 236 block->hdr.bh1.block_status = TP_STATUS_KERNEL; 355 /* block packets until all rings are added to the fanout group:
|