Home
last modified time | relevance | path

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

1234567891011

/openbmc/linux/drivers/staging/rts5208/
H A Drtsx_scsi.c413 unsigned int lun = SCSI_LUN(srb); in test_unit_ready() local
465 unsigned int lun = SCSI_LUN(srb); in inquiry() local
550 unsigned int lun = SCSI_LUN(srb); in start_stop_unit() local
601 unsigned int lun = SCSI_LUN(srb); in request_sense() local
644 int lun, u8 *buf, int buf_len) in ms_mode_sense()
738 unsigned int lun = SCSI_LUN(srb); in mode_sense() local
838 unsigned int lun = SCSI_LUN(srb); in read_write() local
971 unsigned int lun = SCSI_LUN(srb); in read_format_capacity() local
1049 unsigned int lun = SCSI_LUN(srb); in read_capacity() local
1297 unsigned int lun = SCSI_LUN(srb); in get_sd_csd() local
[all …]
H A Drtsx_card.c942 unsigned int lun = SCSI_LUN(srb); in card_rw() local
1095 int check_card_exist(struct rtsx_chip *chip, unsigned int lun) in check_card_exist()
1103 int check_card_ready(struct rtsx_chip *chip, unsigned int lun) in check_card_ready()
1111 int check_card_wp(struct rtsx_chip *chip, unsigned int lun) in check_card_wp()
1119 u8 get_lun_card(struct rtsx_chip *chip, unsigned int lun) in get_lun_card()
1131 void eject_card(struct rtsx_chip *chip, unsigned int lun) in eject_card()
/openbmc/linux/drivers/target/
H A Dtarget_core_alua.c140 struct se_lun *lun; in target_emulate_report_target_port_groups() local
387 struct se_lun *lun; in target_emulate_set_target_port_groups() local
914 struct se_lun *lun; in core_alua_queue_state_change_ua() local
1217 struct se_lun *lun, in core_alua_set_tg_pt_secondary_state()
1712 struct se_lun *lun, *next; in core_alua_free_tg_pt_gp() local
1897 struct se_lun *lun, in core_alua_store_tg_pt_gp_info()
2157 struct se_lun *lun, in core_alua_store_offline_bit()
2192 struct se_lun *lun, in core_alua_show_secondary_status()
2199 struct se_lun *lun, in core_alua_store_secondary_status()
2224 struct se_lun *lun, in core_alua_show_secondary_write_metadata()
[all …]
H A Dtarget_core_fabric_configfs.c71 struct se_lun *lun; in target_fabric_mappedlun_link() local
148 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_unlink() local
522 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_gp_show() local
533 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_gp_store() local
544 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_offline_show() local
555 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_offline_store() local
566 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_status_show() local
577 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_status_store() local
588 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_write_md_show() local
599 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_write_md_store() local
[all …]
H A Dtarget_core_stat.c423 struct se_lun *lun = to_stat_port(item); in target_stat_port_inst_show() local
437 struct se_lun *lun = to_stat_port(item); in target_stat_port_dev_show() local
451 struct se_lun *lun = to_stat_port(item); in target_stat_port_indx_show() local
465 struct se_lun *lun = to_stat_port(item); in target_stat_port_role_show() local
480 struct se_lun *lun = to_stat_port(item); in target_stat_port_busy_count_show() local
527 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_inst_show() local
542 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_dev_show() local
557 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_indx_show() local
572 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_name_show() local
590 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_port_index_show() local
[all …]
H A Dtarget_core_device.c209 struct se_lun *lun; in core_get_se_deve_from_rtpi() local
288 struct se_lun *lun; in target_dev_ua_allocate() local
318 struct se_lun *lun, in core_enable_device_list_for_node()
401 struct se_lun *lun, in core_disable_device_list_for_node()
457 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) in core_clear_lun_from_tpg()
511 struct se_lun *lun) in core_dev_add_lun()
550 struct se_lun *lun) in core_dev_del_lun()
590 struct se_lun *lun, in core_dev_add_initiator_node_lun_acl()
627 struct se_lun *lun, in core_dev_del_initiator_node_lun_acl()
H A Dtarget_core_tpg.c110 struct se_lun *lun; in core_tpg_add_node_to_devs() local
438 struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); in core_tpg_lun_ref_release() local
611 struct se_lun *lun; in core_tpg_alloc_lun() local
635 struct se_lun *lun, in core_tpg_add_lun()
675 struct se_lun *lun) in core_tpg_remove_lun()
/openbmc/skeleton/pyipmitest/
H A Dipmi_debug.py18 def header(seq, netfn, lun, cmd): argument
27 def print_request(seq, netfn, lun, cmd, data): argument
33 def print_response(seq, netfn, lun, cmd, cc, data): argument
47 def ReceivedMessage(self, seq, netfn, lun, cmd, data): argument
52 def sendMessage(self, seq, netfn, lun, cmd, ccode, data): argument
/openbmc/linux/drivers/scsi/
H A Dscsi_scan.c279 u64 lun, void *hostdata) in scsi_alloc_sdev()
1155 u64 lun, blist_flags_t *bflagsp, in scsi_probe_and_add_lun()
1311 u64 sparse_lun, lun; in scsi_sequential_lun_scan() local
1403 u64 lun; in scsi_report_lun_scan() local
1573 uint id, u64 lun, void *hostdata) in __scsi_add_device()
1610 uint target, u64 lun) in scsi_add_device()
1697 unsigned int id, u64 lun, enum scsi_scan_mode rescan) in __scsi_scan_target()
1768 unsigned int id, u64 lun, enum scsi_scan_mode rescan) in scsi_scan_target()
1792 unsigned int id, u64 lun, in scsi_scan_channel()
1824 unsigned int id, u64 lun, in scsi_scan_host_selected()
H A D53c700.c433 NCR_700_identify(int can_disconnect, __u8 lun) in NCR_700_identify()
798 __u8 pun = 0xff, lun = 0xff; in process_extended_message() local
879 __u8 pun = 0xff, lun = 0xff; in process_message() local
967 __u8 pun = 0xff, lun=0xff; in process_script_interrupt() local
1102 __u8 lun; in process_script_interrupt() local
1407 u8 lun = SCp->device->lun; in NCR_700_start_command() local
1492 __u8 pun = 0xff, lun = 0xff; in NCR_700_intr() local
H A Dscsi_common.c132 u64 lun; in scsilun_to_int() local
157 void int_to_scsilun(u64 lun, struct scsi_lun *scsilun) in int_to_scsilun()
H A Dscsi.c888 u64 lun) in __scsi_device_lookup_by_target()
913 u64 lun) in scsi_device_lookup_by_target()
946 uint channel, uint id, u64 lun) in __scsi_device_lookup()
974 uint channel, uint id, u64 lun) in scsi_device_lookup()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_scsi_host.c134 struct scsi_lun lun; in sas_create_task() local
327 struct scsi_lun lun; in sas_recover_lu() local
389 static int sas_queue_reset(struct domain_device *dev, int reset_type, u64 lun) in sas_queue_reset()
460 struct scsi_lun lun; in sas_eh_device_reset_handler() local
1094 static int sas_execute_ssp_tmf(struct domain_device *device, u8 *lun, in sas_execute_ssp_tmf()
1107 int sas_abort_task_set(struct domain_device *dev, u8 *lun) in sas_abort_task_set()
1117 int sas_clear_task_set(struct domain_device *dev, u8 *lun) in sas_clear_task_set()
1127 int sas_lu_reset(struct domain_device *dev, u8 *lun) in sas_lu_reset()
1145 struct scsi_lun lun; in sas_query_task() local
1161 struct scsi_lun lun; in sas_abort_task() local
/openbmc/linux/drivers/usb/gadget/function/
H A Dstorage_common.h18 #define VLDBG(lun, fmt, args...) do { } while (0) argument
21 #define _LMSG(func, lun, fmt, args...) \ argument
30 #define LDBG(lun, fmt, args...) _LMSG(pr_debug, lun, fmt, ## args) argument
31 #define LERROR(lun, fmt, args...) _LMSG(pr_err, lun, fmt, ## args) argument
32 #define LWARN(lun, fmt, args...) _LMSG(pr_warn, lun, fmt, ## args) argument
33 #define LINFO(lun, fmt, args...) _LMSG(pr_info, lun, fmt, ## args) argument
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c201 static int asd_clear_nexus_I_T_L(struct domain_device *dev, u8 *lun) in asd_clear_nexus_I_T_L()
556 static int asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, in asd_initiate_ssp_tmf()
638 int asd_abort_task_set(struct domain_device *dev, u8 *lun) in asd_abort_task_set()
647 int asd_clear_task_set(struct domain_device *dev, u8 *lun) in asd_clear_task_set()
656 int asd_lu_reset(struct domain_device *dev, u8 *lun) in asd_lu_reset()
/openbmc/linux/include/uapi/linux/
H A Dvirtio_scsi.h45 __u8 lun[8]; /* Logical Unit Number */ member
55 __u8 lun[8]; /* Logical Unit Number */ member
79 __u8 lun[8]; member
90 __u8 lun[8]; member
101 __u8 lun[8]; member
/openbmc/linux/drivers/scsi/isci/
H A Dtask.c380 u8 *lun) in isci_task_send_lu_reset_sas()
410 int isci_task_lu_reset(struct domain_device *dev, u8 *lun) in isci_task_lu_reset()
617 u8 *lun) in isci_task_abort_task_set()
634 u8 *lun) in isci_task_clear_task_set()
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_scsi.h45 uint8_t lun[8]; /* Logical Unit Number */ member
55 uint8_t lun[8]; /* Logical Unit Number */ member
79 uint8_t lun[8]; member
90 uint8_t lun[8]; member
101 uint8_t lun[8]; member
/openbmc/u-boot/drivers/scsi/
H A Dscsi.c489 static int scsi_detect_dev(struct udevice *dev, int target, int lun, in scsi_detect_dev()
558 static int do_scsi_scan_one(struct udevice *dev, int id, int lun, bool verbose) in do_scsi_scan_one()
608 int lun; in scsi_scan_dev() local
651 unsigned char i, lun; in scsi_scan() local
/openbmc/linux/drivers/scsi/snic/
H A Dsnic_res.h15 u16 flags, u64 tgt_id, u8 *lun, u8 *scsi_cdb, u8 cdb_len, in snic_icmnd_init()
36 u16 flags, u32 req_id, u64 tgt_id, u8 *lun, u8 tm_type) in snic_itmf_init()
/openbmc/ipmitool/src/plugins/dummy/
H A Ddummy.h9 uint8_t lun; member
22 uint8_t lun; member
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_unit.c25 u64 lun; in zfcp_unit_scsi_scan() local
199 u64 lun; in zfcp_unit_sdev() local
/openbmc/ipmitool/src/plugins/bmc/
H A Dbmc_intf.h66 #define FORM_NETFNLUN(net, lun) ((((net) << 2) | ((lun) & 0x3))) argument
115 uint8_t lun; /* logical unit on responder */ member
136 uint8_t lun; /* logical unit on responder */ member
/openbmc/qemu/hw/scsi/
H A Dscsi-bus.c30 int channel, int id, int lun, in do_scsi_device_find()
71 SCSIDevice *scsi_device_find(SCSIBus *bus, int channel, int id, int lun) in scsi_device_find()
77 SCSIDevice *scsi_device_get(SCSIBus *bus, int channel, int id, int lun) in scsi_device_get()
204 static SCSIRequest *scsi_device_alloc_req(SCSIDevice *s, uint32_t tag, uint32_t lun, in scsi_device_alloc_req()
272 int channel, int target, int lun, in scsi_bus_is_address_free()
341 int lun = -1; in scsi_qdev_realize() local
531 static void store_lun(uint8_t *outbuf, int lun) in store_lun()
776 uint32_t tag, uint32_t lun, void *hba_private) in scsi_req_alloc()
807 SCSIRequest *scsi_req_new(SCSIDevice *d, uint32_t tag, uint32_t lun, in scsi_req_new()
1859 uint32_t lun; in get_scsi_requests() local
/openbmc/linux/drivers/usb/storage/
H A Drealtek_cr.c67 #define SET_LUN_READY(chip, lun) ((chip)->lun_ready |= ((u8)1 << (lun))) argument
68 #define CLR_LUN_READY(chip, lun) ((chip)->lun_ready &= ~((u8)1 << (lun))) argument
69 #define TST_LUN_READY(chip, lun) ((chip)->lun_ready & ((u8)1 << (lun))) argument
201 static int rts51x_bulk_transport(struct us_data *us, u8 lun, in rts51x_bulk_transport()
291 static int rts51x_bulk_transport_special(struct us_data *us, u8 lun, in rts51x_bulk_transport_special()
420 u8 lun, u8 *status, int len, int *actlen) in rts51x_read_status()
447 static int rts51x_check_status(struct us_data *us, u8 lun) in rts51x_check_status()

1234567891011