Searched refs:lun (Results 26 - 50 of 299) sorted by relevance

1234567891011>>

/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c201 static int asd_clear_nexus_I_T_L(struct domain_device *dev, u8 *lun) argument
208 memcpy(scb->clear_nexus.ssp_task.lun, lun, 8);
221 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8);
443 memcpy(scb->abort_task.ssp_task.lun, task->ssp_task.LUN, 8);
544 * @lun: pointer to u8[8] which is the LUN
556 static int asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, argument
592 memcpy(scb->ssp_tmf.ssp_task.lun, lun, 8);
638 int asd_abort_task_set(struct domain_device *dev, u8 *lun) argument
647 asd_clear_task_set(struct domain_device *dev, u8 *lun) argument
656 asd_lu_reset(struct domain_device *dev, u8 *lun) argument
[all...]
/linux-master/drivers/scsi/
H A Dscsi_proc.c285 sdev->host->host_no, sdev->channel, sdev->id, sdev->lun);
328 * @lun: user-supplied decimal integer
338 static int scsi_add_single_device(uint host, uint channel, uint id, uint lun) argument
348 error = shost->transportt->user_scan(shost, channel, id, lun);
350 error = scsi_scan_host_selected(shost, channel, id, lun,
361 * @lun: user-supplied decimal integer
366 static int scsi_remove_single_device(uint host, uint channel, uint id, uint lun) argument
375 sdev = scsi_device_lookup(shost, channel, id, lun);
408 int host, channel, id, lun; local
443 lun
[all...]
H A Dwd33c93.c405 * for a currently non-busy target/lun.
428 * for an idle target/lun.
435 (1 << (cmd->device->lun & 0xff))))
483 * for a different target/lun. In this case, the other commands
506 (prev->device->lun != cmd->device->lun)) {
527 write_wd33c93(regs, WD_TARGET_LUN, (u8)cmd->device->lun);
530 hostdata->busy[cmd->device->id] |= (1 << (cmd->device->lun & 0xFF));
741 uchar asr, sr, phs, id, lun, *ucp, msg; local
800 hostdata->busy[cmd->device->id] &= ~(1 << (cmd->device->lun
[all...]
H A D3w-sas.h169 /* request_id: 12, lun: 4 */
170 #define TW_REQ_LUN_IN(lun, request_id) \
171 (((lun << 12) & 0xf000) | (request_id & 0xfff))
172 #define TW_LUN_OUT(lun) ((lun >> 12) & 0xf)
/linux-master/include/linux/usb/
H A Duas.h54 struct scsi_lun lun; member in struct:command_iu
65 struct scsi_lun lun; member in struct:task_mgmt_iu
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_proc.c141 int lun; local
159 for (lun = 0; lun < AHC_NUM_LUNS; lun++) {
162 sdev = scsi_device_lookup_by_target(starget, lun);
178 sdev->sdev_target->id, (u8)sdev->lun);
H A Daic79xx_proc.c163 int lun; local
179 for (lun = 0; lun < AHD_NUM_LUNS; lun++) {
182 dev = scsi_device_lookup_by_target(starget, lun);
198 sdev->sdev_target->id, (u8)sdev->lun);
H A Daic7xxx.h86 ((scb)->hscb->lun & LID)
103 #define BUILD_TCL(scsiid, lun) \
104 ((lun) | (((scsiid) & TID) << 4))
464 /*26*/ uint8_t lun; member in struct:hardware_scb
655 * Per enabled lun target mode state.
708 * Pointers to lun target state as well as sync/wide negotiation information
958 * Target mode related state kept on a per enabled lun basis.
1096 u_int lun; member in struct:ahc_devinfo
1148 int target, char channel, int lun,
1173 char channel, int lun, u_in
[all...]
/linux-master/include/scsi/
H A Discsi_proto.h82 struct scsi_lun lun; member in struct:iscsi_hdr
144 struct scsi_lun lun; member in struct:iscsi_scsi_req
220 struct scsi_lun lun; member in struct:iscsi_async
248 struct scsi_lun lun; member in struct:iscsi_nopout
263 struct scsi_lun lun; member in struct:iscsi_nopin
279 struct scsi_lun lun; member in struct:iscsi_tm
337 struct scsi_lun lun; member in struct:iscsi_r2t_rsp
355 struct scsi_lun lun; member in struct:iscsi_data
375 struct scsi_lun lun; member in struct:iscsi_data_rsp
581 uint8_t lun[ member in struct:iscsi_snack
[all...]
/linux-master/drivers/scsi/fnic/
H A Dfcpio.h99 FCPIO_NO_PATH_AVAIL, /* no paths to the lun was available */
205 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_icmnd_16
253 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_icmnd_32
275 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_itmf
520 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_tcmnd_16
553 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_tcmnd_32
584 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_ttmf
757 u8 lun; member in struct:fcpio_lunmap_entry
H A Dfnic_res.h75 u32 data_len, u8 *lun,
102 memcpy(desc->u.icmnd_16.lun, lun, LUN_ADDRESS); /* LUN address */
114 u32 tm_req, u32 tm_id, u8 *lun,
129 memcpy(desc->u.itmf.lun, lun, LUN_ADDRESS); /* LUN address */
67 fnic_queue_wq_copy_desc_icmnd_16(struct vnic_wq_copy *wq, u32 req_id, u32 lunmap_id, u8 spl_flags, u32 sgl_cnt, u32 sense_len, u64 sgl_addr, u64 sns_addr, u8 crn, u8 pri_ta, u8 flags, u8 *scsi_cdb, u8 cdb_len, u32 data_len, u8 *lun, u32 d_id, u16 mss, u32 ratov, u32 edtov) argument
112 fnic_queue_wq_copy_desc_itmf(struct vnic_wq_copy *wq, u32 req_id, u32 lunmap_id, u32 tm_req, u32 tm_id, u8 *lun, u32 d_id, u32 r_a_tov, u32 e_d_tov) argument
/linux-master/drivers/staging/rts5208/
H A Drtsx_card.c942 unsigned int lun = SCSI_LUN(srb); local
945 if (!chip->rw_card[lun])
951 retval = chip->rw_card[lun](srb, chip, sec_addr, sec_cnt);
1095 int check_card_exist(struct rtsx_chip *chip, unsigned int lun) argument
1097 if (chip->card_exist & chip->lun2card[lun])
1103 int check_card_ready(struct rtsx_chip *chip, unsigned int lun) argument
1105 if (chip->card_ready & chip->lun2card[lun])
1111 int check_card_wp(struct rtsx_chip *chip, unsigned int lun) argument
1113 if (chip->card_wp & chip->lun2card[lun])
1119 u8 get_lun_card(struct rtsx_chip *chip, unsigned int lun) argument
1131 eject_card(struct rtsx_chip *chip, unsigned int lun) argument
[all...]
H A Drtsx_scsi.h125 void set_sense_type(struct rtsx_chip *chip, unsigned int lun, int sense_type);
126 void set_sense_data(struct rtsx_chip *chip, unsigned int lun, u8 err_code,
/linux-master/drivers/usb/gadget/function/
H A Df_mass_storage.c259 unsigned int lun; member in struct:fsg_common
1728 unsigned int lun = common->cmnd[1] >> 5; local
1793 if (common->lun != lun)
1795 common->lun, lun);
1814 DBG(common, "unsupported LUN %u\n", common->lun);
2220 DBG(fsg, "non-meaningful CBW: lun = %u, flags = 0x%x, "
2245 common->lun = cbw->Lun;
2246 if (common->lun < ARRAY_SIZ
2778 fsg_common_remove_lun(struct fsg_lun *lun) argument
2852 struct fsg_lun *lun = fsg_lun_from_dev(dev); local
2875 struct fsg_lun *lun; local
3006 struct fsg_lun *lun = common->luns[i]; local
3590 struct fsg_lun_config *lun; local
[all...]
H A Df_mass_storage.h66 struct fsg_lun *lun; member in struct:fsg_lun_opts
127 void fsg_common_remove_lun(struct fsg_lun *lun);
/linux-master/include/uapi/linux/
H A Dedd.h124 __u8 lun; member in struct:edd_device_params::__anon12766::__anon12768
132 __u64 lun; member in struct:edd_device_params::__anon12766::__anon12769
146 __u64 lun; member in struct:edd_device_params::__anon12766::__anon12772
/linux-master/include/linux/mtd/
H A Dnand.h69 * @lun: the LUN identifier
79 unsigned int lun; member in struct:nand_pos
757 pos->lun = do_div(tmp, nand->memorg.luns_per_target);
778 if (a->lun != b->lun)
779 return a->lun < b->lun ? -1 : 1;
808 (pos->lun +
829 return (pos->lun << nand->rowconv.lun_addr_shift) |
848 pos->lun
[all...]
/linux-master/Documentation/target/
H A Dtarget-export-device66 mkdir $ISCSI_DIR/$IQN/tpgt_1/lun/lun_0
67 ln -s $BACKSTORE_DIR $ISCSI_DIR/$IQN/tpgt_1/lun/lun_0/data
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_nl.h111 uint32_t lun; member in struct:lpfc_fcprdchkerr_event
121 uint32_t lun; member in struct:lpfc_scsi_event_header
/linux-master/drivers/scsi/elx/efct/
H A Defct_unsol.c107 efct_dispatch_unsol_tmf(struct efct_io *io, u8 tm_flags, u32 lun) argument
125 efct_scsi_recv_tmf(io, lun, tmflist[i].cmd, NULL, 0);
345 u32 lun; local
358 lun = scsilun_to_int(&cmnd->fc_lun);
359 if (lun == U32_MAX)
382 efct_dispatch_unsol_tmf(io, cmnd->fc_tm_flags, lun);
394 efct_scsi_recv_cmd(io, lun, cmnd->fc_cdb,
438 efct_scsi_recv_tmf(io, abortio->tgt_io.lun,
/linux-master/drivers/message/fusion/
H A Dmptscsih.h101 u64 lun; member in struct:_internal_cmd
118 u8 id, u64 lun, int ctx2abort, ulong timeout);
/linux-master/include/xen/interface/io/
H A Dvscsiif.h45 * (host, controller, target, lun, all integers), or a WWN (e.g.
52 * (host, controller, target, lun, all integers).
103 * <domid>/<vhost>/vscsi-devs/dev-0/p-dev = "8:0:2:1" or "naa.wwn:lun"
163 * The target is specified via channel, id and lun.
196 * channel, id, lun and the operation's rqid in ref_rqid.
253 uint16_t channel, id, lun; /* (virtual) device specification */ member in struct:vscsiif_request
/linux-master/drivers/target/tcm_remote/
H A Dtcm_remote.c72 struct se_lun *lun)
75 lun->unpacked_lun);
81 struct se_lun *lun)
84 lun->unpacked_lun);
70 tcm_remote_port_link( struct se_portal_group *se_tpg, struct se_lun *lun) argument
79 tcm_remote_port_unlink( struct se_portal_group *se_tpg, struct se_lun *lun) argument
/linux-master/drivers/char/ipmi/
H A Dipmi_poweroff.c190 smi_addr.lun = 0;
219 smi_addr.lun = 0;
254 smi_addr.lun = 0;
329 smi_addr.lun = 0;
369 ipmb_addr.lun = aer_lun;
476 smi_addr.lun = 0;
580 smi_addr.lun = 0;
/linux-master/drivers/usb/storage/
H A Ddatafab.c62 signed char lun; /* used for dual-slot readers */ member in struct:datafab_info
156 if (info->lun == -1) {
186 command[5] = 0xE0 + (info->lun << 4);
240 if (info->lun == -1) {
274 command[5] = 0xE0 + (info->lun << 4);
350 info->lun = 0;
365 info->lun = 1;
395 if (info->lun == -1) {
406 command[5] += (info->lun << 4);
563 ((struct datafab_info *)us->extra)->lun
[all...]

Completed in 269 milliseconds

1234567891011>>