Home
last modified time | relevance | path

Searched defs:lun (Results 1 – 25 of 174) sorted by relevance

1234567

/drivers/staging/rts5139/
Drts51x_scsi.c336 void rts51x_set_sense_type(struct rts51x_chip *chip, unsigned int lun, int sense_type) in rts51x_set_sense_type()
401 void rts51x_set_sense_data(struct rts51x_chip *chip, unsigned int lun, u8 err_code, in rts51x_set_sense_data()
426 unsigned int lun = SCSI_LUN(srb); in test_unit_ready() local
455 unsigned int lun = SCSI_LUN(srb); in inquiry() local
520 unsigned int lun = SCSI_LUN(srb); in start_stop_unit() local
571 int lun, u8 *buf, int buf_len) in ms_mode_sense()
661 unsigned int lun = SCSI_LUN(srb); in mode_sense() local
746 unsigned int lun = SCSI_LUN(srb); in request_sense() local
775 unsigned int lun = SCSI_LUN(srb); in read_write() local
856 unsigned int lun = SCSI_LUN(srb); in read_format_capacity() local
[all …]
Dms_mg.c126 unsigned int lun = SCSI_LUN(srb); in rts51x_mg_set_leaf_id() local
177 unsigned int lun = SCSI_LUN(srb); in rts51x_mg_get_local_EKB() local
238 unsigned int lun = SCSI_LUN(srb); in rts51x_mg_chg() local
328 unsigned int lun = SCSI_LUN(srb); in rts51x_mg_get_rsp_chg() local
398 unsigned int lun = SCSI_LUN(srb); in rts51x_mg_rsp() local
455 unsigned int lun = SCSI_LUN(srb); in rts51x_mg_get_ICV() local
522 unsigned int lun = SCSI_LUN(srb); in rts51x_mg_set_ICV() local
Dsd_cprm.c272 int ext_rts51x_sd_execute_no_data(struct rts51x_chip *chip, unsigned int lun, in ext_rts51x_sd_execute_no_data()
340 int ext_rts51x_sd_execute_read_data(struct rts51x_chip *chip, unsigned int lun, in ext_rts51x_sd_execute_read_data()
545 int ext_rts51x_sd_execute_write_data(struct rts51x_chip *chip, unsigned int lun, in ext_rts51x_sd_execute_write_data()
784 unsigned int lun = SCSI_LUN(srb); in rts51x_sd_pass_thru_mode() local
856 unsigned int lun = SCSI_LUN(srb); in rts51x_sd_execute_no_data() local
889 unsigned int lun = SCSI_LUN(srb); in rts51x_sd_execute_read_data() local
927 unsigned int lun = SCSI_LUN(srb); in rts51x_sd_execute_write_data() local
964 unsigned int lun = SCSI_LUN(srb); in rts51x_sd_get_cmd_rsp() local
1003 unsigned int lun = SCSI_LUN(srb); in rts51x_sd_hw_rst() local
Drts51x_card.c660 unsigned int lun = SCSI_LUN(srb); in rts51x_card_rw() local
691 u8 rts51x_get_lun_card(struct rts51x_chip *chip, unsigned int lun) in rts51x_get_lun_card()
747 void rts51x_eject_card(struct rts51x_chip *chip, unsigned int lun) in rts51x_eject_card()
Drts51x_card.h759 static inline int check_card_ready(struct rts51x_chip *chip, unsigned int lun) in check_card_ready()
767 static inline int check_card_exist(struct rts51x_chip *chip, unsigned int lun) in check_card_exist()
775 static inline int check_card_wp(struct rts51x_chip *chip, unsigned int lun) in check_card_wp()
783 static inline int check_card_fail(struct rts51x_chip *chip, unsigned int lun) in check_card_fail()
791 static inline int check_card_ejected(struct rts51x_chip *chip, unsigned int lun) in check_card_ejected()
800 unsigned int lun) in check_fake_card_ready()
808 static inline u8 get_lun2card(struct rts51x_chip *chip, unsigned int lun) in get_lun2card()
813 static inline int check_lun_mc(struct rts51x_chip *chip, unsigned int lun) in check_lun_mc()
818 static inline void set_lun_mc(struct rts51x_chip *chip, unsigned int lun) in set_lun_mc()
823 static inline void clear_lun_mc(struct rts51x_chip *chip, unsigned int lun) in clear_lun_mc()
/drivers/target/
Dtarget_core_tpg.c59 struct se_lun *lun; in core_clear_initiator_node_from_tpg() local
130 struct se_lun *lun; in core_tpg_add_node_to_devs() local
327 struct se_lun *lun; in core_tpg_clear_object_luns() local
640 struct se_lun *lun = &se_tpg->tpg_virt_lun0; in core_tpg_setup_virtual_lun0() local
663 struct se_lun *lun = &se_tpg->tpg_virt_lun0; in core_tpg_release_virtual_lun0() local
675 struct se_lun *lun; in core_tpg_register() local
784 struct se_lun *lun; in core_tpg_pre_addlun() local
812 struct se_lun *lun, in core_tpg_post_addlun()
832 struct se_lun *lun) in core_tpg_shutdown_lun()
842 struct se_lun *lun; in core_tpg_pre_dellun() local
[all …]
Dtarget_core_device.c196 struct se_lun *lun; in core_get_se_deve_from_rtpi() local
241 struct se_lun *lun; in core_free_device_list_for_node() local
299 struct se_lun *lun, in core_enable_device_list_for_node()
376 struct se_lun *lun, in core_disable_device_list_for_node()
429 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) in core_clear_lun_from_tpg()
515 struct se_lun *lun) in core_export_port()
575 struct se_lun *lun) in core_dev_export()
597 struct se_lun *lun) in core_dev_unexport()
1087 u32 lun) in core_dev_add_lun()
1135 struct se_lun *lun; in core_dev_del_lun() local
[all …]
Dtarget_core_fabric_configfs.c66 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_link() local
140 struct se_lun *lun; in target_fabric_mappedlun_unlink() local
634 struct se_lun *lun, in target_fabric_port_show_attr_alua_tg_pt_gp()
644 struct se_lun *lun, in target_fabric_port_store_attr_alua_tg_pt_gp()
660 struct se_lun *lun, in target_fabric_port_show_attr_alua_tg_pt_offline()
670 struct se_lun *lun, in target_fabric_port_store_attr_alua_tg_pt_offline()
686 struct se_lun *lun, in target_fabric_port_show_attr_alua_tg_pt_status()
696 struct se_lun *lun, in target_fabric_port_store_attr_alua_tg_pt_status()
712 struct se_lun *lun, in target_fabric_port_show_attr_alua_tg_pt_write_md()
722 struct se_lun *lun, in target_fabric_port_store_attr_alua_tg_pt_write_md()
[all …]
Dtarget_core_stat.c543 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_port_show_attr_inst() local
565 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_port_show_attr_dev() local
585 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_port_show_attr_indx() local
604 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_port_show_attr_role() local
627 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_port_show_attr_busy_count() local
686 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_tgt_port_show_attr_inst() local
708 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_tgt_port_show_attr_dev() local
728 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_tgt_port_show_attr_indx() local
747 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_tgt_port_show_attr_name() local
770 struct se_lun *lun = container_of(pgrps, struct se_lun, port_stat_grps); in target_stat_scsi_tgt_port_show_attr_port_index() local
[all …]
Dtarget_core_alua.c527 struct se_lun *lun = cmd->se_lun; in target_alua_state_check() local
1651 struct se_lun *lun; in core_alua_store_tg_pt_gp_info() local
1904 ssize_t core_alua_show_offline_bit(struct se_lun *lun, char *page) in core_alua_show_offline_bit()
1914 struct se_lun *lun, in core_alua_store_offline_bit()
1950 struct se_lun *lun, in core_alua_show_secondary_status()
1957 struct se_lun *lun, in core_alua_store_secondary_status()
1982 struct se_lun *lun, in core_alua_show_secondary_write_metadata()
1990 struct se_lun *lun, in core_alua_store_secondary_write_metadata()
/drivers/scsi/
Dscsi_scan.c227 unsigned int lun, void *hostdata) in scsi_alloc_sdev()
1003 uint lun, int *bflagsp, in scsi_probe_and_add_lun()
1156 unsigned int sparse_lun, lun, max_dev_lun; in scsi_sequential_lun_scan() local
1243 unsigned int lun; in scsilun_to_int() local
1271 void int_to_scsilun(unsigned int lun, struct scsi_lun *scsilun) in int_to_scsilun()
1311 unsigned int lun; in scsi_report_lun_scan() local
1506 uint id, uint lun, void *hostdata) in __scsi_add_device()
1538 uint target, uint lun) in scsi_add_device()
1567 unsigned int id, unsigned int lun, int rescan) in __scsi_scan_target()
1633 unsigned int id, unsigned int lun, int rescan) in scsi_scan_target()
[all …]
Dscsi_proc.c242 static int scsi_add_single_device(uint host, uint channel, uint id, uint lun) in scsi_add_single_device()
269 static int scsi_remove_single_device(uint host, uint channel, uint id, uint lun) in scsi_remove_single_device()
311 int host, channel, id, lun; in proc_scsi_write() local
D53c700.c421 NCR_700_identify(int can_disconnect, __u8 lun) in NCR_700_identify()
791 __u8 pun = 0xff, lun = 0xff; in process_extended_message() local
874 __u8 pun = 0xff, lun = 0xff; in process_message() local
961 __u8 pun = 0xff, lun=0xff; in process_script_interrupt() local
1096 __u8 lun; in process_script_interrupt() local
1487 __u8 pun = 0xff, lun = 0xff; in NCR_700_intr() local
Dscsi.c1246 uint lun) in __scsi_device_lookup_by_target()
1271 uint lun) in scsi_device_lookup_by_target()
1304 uint channel, uint id, uint lun) in __scsi_device_lookup()
1330 uint channel, uint id, uint lun) in scsi_device_lookup()
Dqla1280.c858 int bus, target, lun; in qla1280_error_action() local
1155 int status, lun; in qla1280_set_target_parameters() local
1280 int bus, target, lun; in qla1280_done() local
2112 int status, lun; in qla1280_config_target() local
2695 unsigned int bus, target, lun; in qla1280_abort_command() local
2758 qla1280_marker(struct scsi_qla_host *ha, int bus, int id, int lun, u8 type) in qla1280_marker()
3682 unsigned int bus, target, lun; in qla1280_status_entry() local
3976 int bus, target, lun; in qla1280_get_target_parameters() local
/drivers/scsi/aic94xx/
Daic94xx_tmf.c220 static int asd_clear_nexus_I_T_L(struct domain_device *dev, u8 *lun) in asd_clear_nexus_I_T_L()
575 static int asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, in asd_initiate_ssp_tmf()
657 int asd_abort_task_set(struct domain_device *dev, u8 *lun) in asd_abort_task_set()
666 int asd_clear_aca(struct domain_device *dev, u8 *lun) in asd_clear_aca()
675 int asd_clear_task_set(struct domain_device *dev, u8 *lun) in asd_clear_task_set()
684 int asd_lu_reset(struct domain_device *dev, u8 *lun) in asd_lu_reset()
/drivers/scsi/isci/
Dtask.c389 u8 *lun) in isci_task_send_lu_reset_sas()
419 int isci_task_lu_reset(struct domain_device *dev, u8 *lun) in isci_task_lu_reset()
626 u8 *lun) in isci_task_abort_task_set()
643 u8 *lun) in isci_task_clear_aca()
661 u8 *lun) in isci_task_clear_task_set()
/drivers/scsi/pm8001/
Dpm8001_sas.c896 u8 *lun, struct pm8001_tmf_task *tmf) in pm8001_issue_ssp_tmf()
1088 int pm8001_lu_reset(struct domain_device *dev, u8 *lun) in pm8001_lu_reset()
1118 struct scsi_lun lun; in pm8001_query_task() local
1172 struct scsi_lun lun; in pm8001_abort_task() local
1240 int pm8001_abort_task_set(struct domain_device *dev, u8 *lun) in pm8001_abort_task_set()
1250 int pm8001_clear_aca(struct domain_device *dev, u8 *lun) in pm8001_clear_aca()
1261 int pm8001_clear_task_set(struct domain_device *dev, u8 *lun) in pm8001_clear_task_set()
/drivers/s390/scsi/
Dzfcp_unit.c24 unsigned int lun; in zfcp_unit_scsi_scan() local
196 unsigned int lun; in zfcp_unit_sdev() local
Dzfcp_aux.c55 static void __init zfcp_init_device_configure(char *busid, u64 wwpn, u64 lun) in zfcp_init_device_configure()
92 u64 wwpn, lun; in zfcp_init_device_setup() local
/drivers/usb/storage/
Drealtek_cr.c75 #define SET_LUN_READY(chip, lun) ((chip)->lun_ready |= ((u8)1 << (lun))) argument
76 #define CLR_LUN_READY(chip, lun) ((chip)->lun_ready &= ~((u8)1 << (lun))) argument
77 #define TST_LUN_READY(chip, lun) ((chip)->lun_ready & ((u8)1 << (lun))) argument
209 static int rts51x_bulk_transport(struct us_data *us, u8 lun, in rts51x_bulk_transport()
296 static int rts51x_bulk_transport_special(struct us_data *us, u8 lun, in rts51x_bulk_transport_special()
425 u8 lun, u8 *status, int len, int *actlen) in rts51x_read_status()
452 static int rts51x_check_status(struct us_data *us, u8 lun) in rts51x_check_status()
/drivers/usb/gadget/
Dstorage_common.c53 #define VLDBG(lun, fmt, args...) do { } while (0) argument
56 #define LDBG(lun, fmt, args...) dev_dbg (&(lun)->dev, fmt, ## args) argument
57 #define LERROR(lun, fmt, args...) dev_err (&(lun)->dev, fmt, ## args) argument
58 #define LWARN(lun, fmt, args...) dev_warn(&(lun)->dev, fmt, ## args) argument
59 #define LINFO(lun, fmt, args...) dev_info(&(lun)->dev, fmt, ## args) argument
/drivers/scsi/arm/
Dqueue.c208 struct scsi_cmnd *queue_remove_tgtluntag(Queue_t *queue, int target, int lun, in queue_remove_tgtluntag()
259 int queue_probetgtlun (Queue_t *queue, int target, int lun) in queue_probetgtlun()
/drivers/scsi/fnic/
Dfnic_res.h87 u32 data_len, u8 *lun, in fnic_queue_wq_copy_desc_icmnd_16()
126 u32 tm_req, u32 tm_id, u8 *lun, in fnic_queue_wq_copy_desc_itmf()
/drivers/scsi/libsas/
Dsas_scsi_host.c155 struct scsi_lun lun; in sas_create_task() local
401 struct scsi_lun lun; in sas_recover_lu() local
493 static int sas_queue_reset(struct domain_device *dev, int reset_type, int lun, int wait) in sas_queue_reset()
559 struct scsi_lun lun; in sas_eh_device_reset_handler() local

1234567