Home
last modified time | relevance | path

Searched refs:transport (Results 1 – 25 of 68) sorted by relevance

123

/drivers/target/
Dtarget_core_hba.c119 hba->transport = core_get_backend(plugin_name); in core_alloc_hba()
120 if (!hba->transport) { in core_alloc_hba()
125 ret = hba->transport->attach_hba(hba, plugin_dep_id); in core_alloc_hba()
140 if (hba->transport->owner) in core_alloc_hba()
141 module_put(hba->transport->owner); in core_alloc_hba()
142 hba->transport = NULL; in core_alloc_hba()
153 hba->transport->detach_hba(hba); in core_delete_hba()
162 if (hba->transport->owner) in core_delete_hba()
163 module_put(hba->transport->owner); in core_delete_hba()
165 hba->transport = NULL; in core_delete_hba()
Dtarget_core_device.c530 if (dev->transport->transport_type != TRANSPORT_PLUGIN_PHBA_PDEV && in core_export_port()
544 dev->transport->name, tpg->se_tpg_tfo->get_fabric_name()); in core_export_port()
735 dev->transport->inquiry_prod, 16); in se_dev_set_emulate_model_alias()
765 dev->transport->transport_type == TRANSPORT_PLUGIN_PHBA_PDEV) { in se_dev_set_emulate_fua_write()
797 dev->transport->transport_type == TRANSPORT_PLUGIN_PHBA_PDEV) { in se_dev_set_emulate_write_cache()
802 dev->transport->get_write_cache) { in se_dev_set_emulate_write_cache()
938 if (!dev->transport->init_prot || !dev->transport->free_prot) { in se_dev_set_pi_prot_type()
944 dev->transport->name); in se_dev_set_pi_prot_type()
960 rc = dev->transport->init_prot(dev); in se_dev_set_pi_prot_type()
967 dev->transport->free_prot(dev); in se_dev_set_pi_prot_type()
[all …]
Dtarget_core_spc.c77 if (dev->transport->get_device_type(dev) == TYPE_TAPE) in spc_emulate_inquiry_std()
462 if (dev->transport->get_write_cache) in spc_check_dev_wce()
463 wce = dev->transport->get_write_cache(dev); in spc_check_dev_wce()
519 buf[0] = dev->transport->get_device_type(dev); in spc_emulate_evpd_b0()
533 if (dev->transport->get_io_min && (min = dev->transport->get_io_min(dev))) in spc_emulate_evpd_b0()
546 if (dev->transport->get_io_opt && (opt = dev->transport->get_io_opt(dev))) in spc_emulate_evpd_b0()
596 buf[0] = dev->transport->get_device_type(dev); in spc_emulate_evpd_b1()
617 buf[0] = dev->transport->get_device_type(dev); in spc_emulate_evpd_b2()
661 buf[0] = dev->transport->get_device_type(dev); in spc_emulate_evpd_b3()
727 buf[0] = dev->transport->get_device_type(dev); in spc_emulate_inquiry()
[all …]
Dtarget_core_sbc.c44 unsigned long long blocks_long = dev->transport->get_blocks(dev); in sbc_emulate_readcapacity()
95 unsigned long long blocks = dev->transport->get_blocks(dev); in sbc_emulate_readcapacity_16()
118 if (dev->transport->get_lbppbe) in sbc_emulate_readcapacity_16()
119 buf[13] = dev->transport->get_lbppbe(dev) & 0x0f; in sbc_emulate_readcapacity_16()
121 if (dev->transport->get_alignment_offset_lbas) { in sbc_emulate_readcapacity_16()
122 u16 lalba = dev->transport->get_alignment_offset_lbas(dev); in sbc_emulate_readcapacity_16()
162 return cmd->se_dev->transport->get_blocks(cmd->se_dev) - in sbc_get_write_same_sectors()
255 sector_t end_lba = dev->transport->get_blocks(dev) + 1; in sbc_setup_write_same()
530 dev->transport->name); in compare_and_write_callback()
985 end_lba = dev->transport->get_blocks(dev) + 1; in sbc_parse_cdb()
[all …]
Dtarget_core_configfs.c1053 if (dev->transport->transport_type == TRANSPORT_PLUGIN_PHBA_PDEV) in target_core_dev_pr_show_attr_res_holder()
1204 if (dev->transport->transport_type == TRANSPORT_PLUGIN_PHBA_PDEV) in target_core_dev_pr_show_attr_res_type()
1217 if (dev->transport->transport_type == TRANSPORT_PLUGIN_PHBA_PDEV) in target_core_dev_pr_show_attr_res_aptpl_active()
1232 if (dev->transport->transport_type == TRANSPORT_PLUGIN_PHBA_PDEV) in target_core_dev_pr_show_attr_res_aptpl_metadata()
1279 if (dev->transport->transport_type == TRANSPORT_PLUGIN_PHBA_PDEV) in target_core_dev_pr_store_attr_res_aptpl_metadata()
1469 struct se_subsystem_api *t = dev->transport; in target_core_show_dev_info()
1493 struct se_subsystem_api *t = dev->transport; in target_core_store_dev_control()
2796 t = hba->transport; in target_core_make_subdev()
2949 hba->hba_id, hba->transport->name, in target_core_hba_show_attr_hba_info()
2969 struct se_subsystem_api *transport = hba->transport; in target_core_hba_store_attr_hba_mode() local
[all …]
Dtarget_core_tmr.c446 dev->transport->name, tas); in core_tmr_lun_reset()
469 dev->transport->name); in core_tmr_lun_reset()
/drivers/scsi/
Dscsi_transport_iscsi.c300 struct iscsi_transport *t = iface->transport; \
421 struct iscsi_transport *t = iface->transport; in iscsi_iface_attr_is_visible()
742 iscsi_create_iface(struct Scsi_Host *shost, struct iscsi_transport *transport, in iscsi_create_iface() argument
752 iface->transport = transport; in iscsi_create_iface()
812 struct iscsi_transport *t = fnode_sess->transport; \
912 struct iscsi_transport *t = fnode_sess->transport; in iscsi_flashnode_sess_attr_is_visible()
1025 struct iscsi_transport *t = fnode_conn->transport; \
1113 struct iscsi_transport *t = fnode_conn->transport; in iscsi_flashnode_conn_attr_is_visible()
1233 struct iscsi_transport *transport, in iscsi_create_flashnode_sess() argument
1243 fnode_sess->transport = transport; in iscsi_create_flashnode_sess()
[all …]
Dscsi_netlink.c94 tport = hdr->transport; in scsi_nl_rcv_msg()
/drivers/net/caif/
DKconfig5 comment "CAIF transport drivers"
8 tristate "CAIF TTY transport driver"
12 The CAIF TTY transport driver is a Line Discipline (ldisc)
17 tristate "CAIF SPI transport driver for slave interface"
36 tristate "CAIF HSI transport driver"
45 tristate "CAIF virtio transport driver"
/drivers/misc/ti-st/
DKconfig2 # TI's shared transport line discipline and the protocol
5 menu "Texas Instruments shared transport line discipline"
7 tristate "Shared transport core driver"
11 This enables the shared transport core driver for TI
/drivers/crypto/qat/qat_dh895xcc/
Dadf_hw_arbiter.c92 void __iomem *csr = accel_dev->transport->banks[0].csr_addr; in adf_init_arb()
139 if (!accel_dev->transport) in adf_exit_arb()
142 csr = accel_dev->transport->banks[0].csr_addr; in adf_exit_arb()
Dadf_isr.c109 struct adf_etr_data *etr_data = accel_dev->transport; in adf_request_irqs()
151 struct adf_etr_data *etr_data = accel_dev->transport; in adf_free_irqs()
215 struct adf_etr_data *priv_data = accel_dev->transport; in adf_setup_bh()
228 struct adf_etr_data *priv_data = accel_dev->transport; in adf_cleanup_bh()
/drivers/crypto/qat/qat_common/
Dadf_transport.c237 struct adf_etr_data *transport_data = accel_dev->transport; in adf_create_ring()
486 accel_dev->transport = etr_data; in adf_init_etr_data()
514 accel_dev->transport = NULL; in adf_init_etr_data()
540 struct adf_etr_data *etr_data = accel_dev->transport; in adf_cleanup_etr_handles()
559 struct adf_etr_data *etr_data = accel_dev->transport; in adf_cleanup_etr_data()
566 accel_dev->transport = NULL; in adf_cleanup_etr_data()
/drivers/infiniband/hw/mthca/
Dmthca_qp.c286 static int to_mthca_st(int transport) in to_mthca_st() argument
288 switch (transport) { in to_mthca_st()
470 if (qp->transport == RC || qp->transport == UC) { in mthca_query_qp()
565 (to_mthca_st(qp->transport) << 16)); in __mthca_modify_qp()
586 if (qp->transport == MLX || qp->transport == UD) in __mthca_modify_qp()
619 if (qp->transport == MLX) in __mthca_modify_qp()
867 qp->transport, cur_state, new_state, in mthca_modify_qp()
919 switch (qp->transport) { in mthca_max_data_size()
988 switch (qp->transport) { in mthca_alloc_wqe_buf()
1247 if (qp->transport == MLX && cap->max_send_sge + 2 > dev->limits.max_sg) in mthca_set_qp_size()
[all …]
/drivers/staging/lustre/lnet/
DKconfig11 can put into its transport.
35 RDMA-enabled transport.
/drivers/misc/lis3lv02d/
DKconfig19 will be called lis3lv02d and a specific module for the SPI transport
36 will be called lis3lv02d and a specific module for the I2C transport
/drivers/ntb/
Dntb_hw.h233 void *transport);
256 void ntb_transport_free(void *transport);
Dntb_transport.c97 struct ntb_transport *transport; member
600 struct ntb_transport *nt = qp->transport; in ntb_qp_link_cleanup()
620 struct ntb_transport *nt = qp->transport; in ntb_qp_link_cleanup_work()
818 struct ntb_transport *nt = qp->transport; in ntb_qp_link_work()
866 qp->transport = nt; in ntb_transport_init_queue()
993 void ntb_transport_free(void *transport) in ntb_transport_free() argument
995 struct ntb_transport *nt = transport; in ntb_transport_free()
1549 set_bit(qp->qp_num, &qp->transport->qp_bitmap); in ntb_transport_free_queue()
1675 if (qp->transport->transport_link == NTB_LINK_UP) in ntb_transport_link_up()
/drivers/w1/masters/
DKconfig8 tristate "Matrox G400 transport layer for 1-wire"
18 tristate "DS2490 USB <-> W1 transport layer for 1-wire"
/drivers/usb/storage/
Dusb.c656 us->transport = usb_stor_CB_transport; in get_transport()
663 us->transport = usb_stor_CB_transport; in get_transport()
670 us->transport = usb_stor_Bulk_transport; in get_transport()
986 if (!us->transport || !us->proto_handler) { in usb_stor_probe2()
1005 if (us->transport == usb_stor_Bulk_transport) in usb_stor_probe2()
DMakefile13 usb-storage-y := scsiglue.o protocol.o transport.o usb.o
/drivers/infiniband/hw/usnic/
Dusnic_abi.h69 u32 transport; member
/drivers/hid/i2c-hid/
DKconfig5 tristate "HID over I2C transport layer"
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_kernelcomm.h116 int transport);
/drivers/staging/fwserial/
DKconfig7 ad-hoc transport protocol and is currently limited to

123