Searched refs:block (Results 51 - 75 of 230) sorted by relevance

12345678910

/drivers/i2c/busses/
H A Di2c-sis630.c180 /* check if block transmitted */
244 len = data->block[0];
252 "set data 0x%02x\n", data->block[i]);
254 sis630_write(SMB_BYTE + (i - 1) % 8, data->block[i]);
288 data->block[0] = len = 0;
301 data->block[0] = sis630_read(SMB_COUNT);
304 if (data->block[0] > 32)
305 data->block[0] = 32;
308 "block data read len=0x%x\n", data->block[
[all...]
H A Di2c-ali15x3.c398 len = data->block[0];
401 data->block[0] = len;
405 data->block[0] = len;
411 outb_p(data->block[i], SMBBLKDAT);
444 data->block[0] = len;
447 for (i = 1; i <= data->block[0]; i++) {
448 data->block[i] = inb_p(SMBBLKDAT);
450 len, i, data->block[i]);
H A Di2c-amd756.c230 len = data->block[0];
238 outb_p(data->block[i],
270 data->block[0] = inw_p(SMB_HOST_DATA) & 0x3f;
271 if(data->block[0] > 32)
272 data->block[0] = 32;
274 for (i = 1; i <= data->block[0]; i++)
275 data->block[i] = inb_p(SMB_HOST_BLOCK_DATA);
H A Di2c-i801.c24 * region SMBus Block proc. block
68 * I2C block read transaction yes (doesn't use the block buffer)
206 /* Command state used by isr for byte-by-byte block transactions */
234 "I2C block read",
242 "\t\t 0x02 disable the block buffer\n"
243 "\t\t 0x08 disable the I2C block read functionality\n"
406 len = data->block[0];
409 outb_p(data->block[i+1], SMBBLKDAT(priv));
422 data->block[
675 int block = 0; local
[all...]
H A Di2c-ali1535.c120 #define ALI1535_BLOCK_CLR 0x04 /* reset block data index */
415 len = data->block[0];
418 data->block[0] = len;
422 data->block[0] = len;
428 outb_p(data->block[i], SMBBLKDAT);
460 data->block[0] = len;
463 for (i = 1; i <= data->block[0]; i++) {
464 data->block[i] = inb_p(SMBBLKDAT);
466 len, i, data->block[i]);
H A Di2c-amd8111.c255 len = min_t(u8, data->block[0],
263 data->block[i + 1]);
272 len = min_t(u8, data->block[0],
284 data->block[i + 1]);
308 len = min_t(u8, data->block[0],
318 data->block[i + 1]);
390 data->block + i + 1);
394 data->block[0] = len;
H A Di2c-viapro.c21 Chip name PCI ID REV I2C block
238 outb_p(data->block[0], SMBHSTDAT0);
243 u8 len = data->block[0];
249 outb_p(data->block[i], SMBBLKDAT);
281 data->block[0] = inb_p(SMBHSTDAT0);
282 if (data->block[0] > I2C_SMBUS_BLOCK_MAX)
283 data->block[0] = I2C_SMBUS_BLOCK_MAX;
285 for (i = 1; i <= data->block[0]; i++)
286 data->block[i] = inb_p(SMBBLKDAT);
411 /* The VT82C686B (rev 0x40) does support I2C block
[all...]
/drivers/block/drbd/
H A DKconfig19 DRBD is a shared-nothing, synchronously replicated block device. It
20 is designed to serve as a building block for high availability
27 the local 'lower level block device' and, across the network, to the
29 simply writes the data to its lower level block device.
/drivers/memstick/core/
H A DKconfig20 tristate "MemoryStick Pro block device driver"
23 Say Y here to enable the MemoryStick Pro block device driver
24 support. This provides a block device driver, which you can use
33 support. This provides a block device driver, which you can use
/drivers/gpu/drm/omapdrm/
H A Domap_gem.c80 * tiler block used when buffer is remapped in DMM/TILER.
82 struct tiler_block *block; member in struct:omap_gem_object
138 struct tiler_block *block; /* the reserved tiler block */ member in struct:usergart_entry
469 ret = tiler_pin(entry->block, pages, ARRAY_SIZE(pages), 0, true);
678 if (omap_obj->block) {
683 ret = tiler_pin(omap_obj->block, pages, npages, roll, true);
754 struct tiler_block *block; local
756 BUG_ON(omap_obj->block);
763 block
1455 struct tiler_block *block = local
[all...]
/drivers/base/regmap/
H A Dregcache-rbtree.c26 /* block of adjacent registers */
27 void *block; member in struct:regcache_rbtree_node
30 /* base register handled by this block */
32 /* number of registers available in the block */
34 /* the actual rbtree node holding this block */
55 return regcache_get_val(map, rbnode->block, idx);
63 regcache_set_val(map, rbnode->block, idx, val);
246 kfree(rbtree_node->block);
293 blk = krealloc(rbnode->block,
306 /* insert the register value in the correct place in the rbnode block */
[all...]
/drivers/scsi/
H A Dsd.c806 /* Some devices can not handle block counts above 0xffff despite
908 sector_t block = blk_rq_pos(rq); local
927 "%s: block=%llu, count=%d\n",
928 __func__, (unsigned long long)block, this_count));
931 block + blk_rq_sectors(rq) > get_capacity(disk)) {
956 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) {
957 if (block < threshold) {
959 this_count = threshold - block;
966 SCSI_LOG_HLQUEUE(2, scmd_printk(KERN_INFO, SCpnt, "block=%llu\n",
967 (unsigned long long)block));
[all...]
/drivers/usb/storage/
H A Ddatafab.c560 unsigned long block, blocks; local
610 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) |
615 usb_stor_dbg(us, "READ_10: read block 0x%04lx count %ld\n",
616 block, blocks);
617 return datafab_read_data(us, info, block, blocks);
623 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) |
629 usb_stor_dbg(us, "READ_12: read block 0x%04lx count %ld\n",
630 block, blocks);
631 return datafab_read_data(us, info, block, blocks);
635 block
[all...]
H A Djumpshot.c487 unsigned long block, blocks; local
539 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) |
544 usb_stor_dbg(us, "READ_10: read block 0x%04lx count %ld\n",
545 block, blocks);
546 return jumpshot_read_data(us, info, block, blocks);
552 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) |
558 usb_stor_dbg(us, "READ_12: read block 0x%04lx count %ld\n",
559 block, blocks);
560 return jumpshot_read_data(us, info, block, blocks);
564 block
[all...]
/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c174 static int verify_block_sig(struct mlx5_cmd_prot_block *block) argument
176 if (xor8_buf(block->rsvd0, sizeof(*block) - sizeof(block->data) - 1) != 0xff)
179 if (xor8_buf(block, sizeof(*block)) != 0xff)
185 static void calc_block_sig(struct mlx5_cmd_prot_block *block, u8 token, argument
188 block->token = token;
190 block->ctrl_sig = ~xor8_buf(block
691 struct mlx5_cmd_prot_block *block; local
723 struct mlx5_cmd_prot_block *block; local
787 struct mlx5_cmd_prot_block *block; local
[all...]
/drivers/block/
H A DKconfig10 Say Y here to get to see options for various different block device
19 tristate "Null test block driver"
107 source "drivers/block/paride/Kconfig"
109 source "drivers/block/mtip32xx/Kconfig"
111 source "drivers/block/zram/Kconfig"
169 The cards appear as block devices that can be partitioned into
179 bool "Virtual block device"
183 you access arbitrary files on the host computer as block devices.
184 Unless you know that you do not need such virtual block devices say
191 Writes to the virtual block devic
[all...]
/drivers/ide/
H A Dide-disk.c82 sector_t block)
93 if (block + blk_rq_sectors(rq) > 1ULL << 28)
106 (unsigned long long)block);
109 tf->lbal = (u8) block;
110 tf->lbam = (u8)(block >> 8);
111 tf->lbah = (u8)(block >> 16);
116 tf->lbal = (u8)(block >> 24);
117 if (sizeof(block) != 4) {
118 tf->lbam = (u8)((u64)block >> 32);
119 tf->lbah = (u8)((u64)block >> 4
81 __ide_do_rw_disk(ide_drive_t *drive, struct request *rq, sector_t block) argument
181 ide_do_rw_disk(ide_drive_t *drive, struct request *rq, sector_t block) argument
[all...]
/drivers/md/
H A Ddm-verity.c58 u8 *root_digest; /* digest of the root block */
67 unsigned char hash_per_block_bits; /* log2(hashes in hash block) */
72 int hash_failed; /* set to 1 if hash of any block failed */
91 sector_t block; member in struct:dm_verity_io
112 sector_t block; member in struct:dm_verity_prefetch_work
133 * hash_verified is nonzero, hash of the block has been verified.
166 * Return hash position of a specified block at a specified tree level
169 * inside a hash block. The remaining bits denote location of the hash block.
171 static sector_t verity_position_at_level(struct dm_verity *v, sector_t block, argument
177 verity_hash_at_level(struct dm_verity *v, sector_t block, int level, sector_t *hash_block, unsigned *offset) argument
198 verity_handle_err(struct dm_verity *v, enum verity_block_type type, unsigned long long block) argument
254 verity_verify_level(struct dm_verity_io *io, sector_t block, int level, bool skip_unverified) argument
[all...]
/drivers/media/platform/vivid/
H A Dvivid-radio-tx.c97 if ((rds.block & V4L2_RDS_BLOCK_MSK) == V4L2_RDS_BLOCK_INVALID ||
98 (rds.block & V4L2_RDS_BLOCK_ERROR))
100 rds.block &= V4L2_RDS_BLOCK_MSK;
/drivers/misc/
H A Datmel_tclib.c36 * atmel_tc_alloc - allocate a specified TC block
37 * @block: which block to allocate
39 * Caller allocates a block. If it is available, a pointer to a
43 struct atmel_tc *atmel_tc_alloc(unsigned block) argument
53 if ((tc->pdev->dev.of_node && tc->id == block) ||
54 (tc->pdev->id == block)) {
67 * atmel_tc_free - release a specified TC block
68 * @tc: Timer/counter block that was returned by atmel_tc_alloc()
/drivers/media/pci/zoran/
H A Dvideocodec.h306 int block,
313 int block,
/drivers/misc/cb710/
H A Ddebug.c25 static inline int allow_reg_read(unsigned block, unsigned offset, unsigned bits) argument
29 return ((allow[block] >> offset) & mask) == mask;
/drivers/net/ethernet/samsung/
H A DKconfig26 This is the driver for the SXGBE 10G Ethernet IP block found on
/drivers/mtd/onenand/
H A Donenand_base.c189 * onenand_block_address - [DEFAULT] Get block address
191 * @param block the block
192 * @return translated block address if DDP, otherwise same
196 static int onenand_block_address(struct onenand_chip *this, int block) argument
199 if (block & this->density_mask)
200 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask);
202 return block;
208 * @param block the block
213 onenand_bufferram_address(struct onenand_chip *this, int block) argument
306 flexonenand_addr(struct onenand_chip *this, int block) argument
324 onenand_addr(struct onenand_chip *this, int block) argument
373 int value, block, page; local
848 int blockpage, block, page; local
895 int block = onenand_block(this, addr); local
2583 int block; local
2636 int start, end, block, value, status; local
2748 unsigned int value, block, status; local
2832 int value, block, page; local
2915 int block, value, status; local
3643 int block; local
[all...]
/drivers/md/persistent-data/
H A Ddm-btree-remove.c138 struct dm_block *block; member in struct:child
153 &result->block, &inc);
157 result->n = dm_block_data(result->block);
163 cpu_to_le64(dm_block_location(result->block));
170 return dm_tm_unlock(info->tm, c->block);
217 * We need to decrement the right block, but not it's
220 dm_tm_dec(info->tm, dm_block_location(r->block));
290 dm_tm_dec(info->tm, dm_block_location(c->block));
416 struct dm_block *block; local
419 r = dm_tm_read_lock(tm, b, &btree_node_validator, &block);
[all...]

Completed in 3155 milliseconds

12345678910