Lines Matching refs:dev_attrib
299 dev->dev_attrib.hw_block_size = RD_BLOCKSIZE;
300 dev->dev_attrib.hw_max_sectors = UINT_MAX;
301 dev->dev_attrib.hw_queue_depth = RD_MAX_DEVICE_QUEUE_DEPTH;
302 dev->dev_attrib.is_nonrot = 1;
385 u32 sectors = cmd->data_length / se_dev->dev_attrib.block_size;
402 if (se_dev->dev_attrib.pi_prot_verify) {
437 tmp = cmd->t_task_lba * se_dev->dev_attrib.block_size;
453 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type &&
521 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type &&
623 dev->dev_attrib.block_size) - 1;
632 if (!dev->dev_attrib.pi_prot_type)
636 dev->dev_attrib.block_size);