Home
last modified time | relevance | path

Searched refs:sas_port (Results 1 - 25 of 69) sorted by relevance

123

/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_transport_sas.h146 struct sas_port { struct
163 container_of((d), struct sas_port, dev)
202 extern struct sas_rphy *sas_end_device_alloc(struct sas_port *);
203 extern struct sas_rphy *sas_expander_alloc(struct sas_port *, enum sas_device_type);
210 struct sas_port *sas_port_alloc(struct device *, int);
211 struct sas_port *sas_port_alloc_num(struct device *);
212 int sas_port_add(struct sas_port *);
213 void sas_port_free(struct sas_port *);
214 void sas_port_delete(struct sas_port *);
215 void sas_port_add_phy(struct sas_port *, struc
[all...]
H A Dlibsas.h117 struct sas_port *port;
134 struct sas_port *parent_port;
276 struct sas_port *port;
388 struct asd_sas_port **sas_port; /* array of valid pointers, must be set */ member
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_transport_sas.h147 struct sas_port { struct
164 container_of((d), struct sas_port, dev)
203 extern struct sas_rphy *sas_end_device_alloc(struct sas_port *);
204 extern struct sas_rphy *sas_expander_alloc(struct sas_port *, enum sas_device_type);
211 struct sas_port *sas_port_alloc(struct device *, int);
212 struct sas_port *sas_port_alloc_num(struct device *);
213 int sas_port_add(struct sas_port *);
214 void sas_port_free(struct sas_port *);
215 void sas_port_delete(struct sas_port *);
216 void sas_port_add_phy(struct sas_port *, struc
[all...]
H A Dlibsas.h107 struct sas_port *port;
124 struct sas_port *parent_port;
265 struct sas_port *port;
370 struct asd_sas_port **sas_port; /* array of valid pointers, must be set */ member
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c124 struct sas_port *port; in pqi_alloc_sas_port()
206 if (!device->sas_port) in pqi_find_device_by_sas_rphy()
208 if (device->sas_port->rphy == rphy) in pqi_find_device_by_sas_rphy()
284 device->sas_port = pqi_sas_port; in pqi_add_sas_device()
294 device->sas_port = NULL; in pqi_add_sas_device()
301 if (device->sas_port) { in pqi_remove_sas_device()
302 pqi_free_sas_port(device->sas_port); in pqi_remove_sas_device()
303 device->sas_port = NULL; in pqi_remove_sas_device()
/kernel/linux/linux-6.6/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c132 struct sas_port *port; in pqi_alloc_sas_port()
214 if (!device->sas_port) in pqi_find_device_by_sas_rphy()
216 if (device->sas_port->rphy == rphy) in pqi_find_device_by_sas_rphy()
292 device->sas_port = pqi_sas_port; in pqi_add_sas_device()
304 device->sas_port = NULL; in pqi_add_sas_device()
311 if (device->sas_port) { in pqi_remove_sas_device()
312 pqi_free_sas_port(device->sas_port); in pqi_remove_sas_device()
313 device->sas_port = NULL; in pqi_remove_sas_device()
/kernel/linux/linux-6.6/drivers/scsi/mvsas/
H A Dmv_sas.c64 while (sha->sas_port[i]) { in mvs_find_dev_mvi()
65 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi()
66 spin_lock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi()
67 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi()
69 spin_unlock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi()
94 while (sha->sas_port[i]) { in mvs_find_dev_phyno()
95 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_phyno()
98 spin_lock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_phyno()
100 &sha->sas_port[i]->phy_list, port_phy_el) { in mvs_find_dev_phyno()
112 spin_unlock(&sha->sas_port[ in mvs_find_dev_phyno()
306 struct asd_sas_port *sas_port = dev->port; mvs_task_prep_smp() local
434 struct asd_sas_port *sas_port = dev->port; mvs_task_prep_ata() local
562 struct asd_sas_port *sas_port = dev->port; mvs_task_prep_ssp() local
1072 struct asd_sas_port *sas_port = sas_phy->port; mvs_port_notify_formed() local
[all...]
H A Dmv_init.c416 sha->sas_port = arr_port; in mvs_prep_sas_ha_init()
452 sha->sas_port[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
453 &mvi->port[i].sas_port; in mvs_post_sas_ha_init()
620 kfree(sha->sas_port); in mvs_pci_remove()
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c140 struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port) in to_hisi_sas_port() argument
142 return container_of(sas_port, struct hisi_sas_port, sas_port); in to_hisi_sas_port()
465 struct asd_sas_port *sas_port = device->port; in hisi_sas_queue_command() local
476 if (!sas_port) { in hisi_sas_queue_command()
518 port = to_hisi_sas_port(sas_port); in hisi_sas_queue_command()
566 port = to_hisi_sas_port(sas_port); in hisi_sas_queue_command()
1067 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
1070 if (!sas_port) in hisi_sas_port_notify_formed()
1073 port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed()
1351 struct asd_sas_port *sas_port; hisi_sas_refresh_port_id() local
1392 struct asd_sas_port *sas_port = sas_phy->port; hisi_sas_rescan_topology() local
1433 hisi_sas_send_ata_reset_each_phy(struct hisi_hba *hisi_hba, struct asd_sas_port *sas_port, struct domain_device *device) hisi_sas_send_ata_reset_each_phy() argument
1481 struct asd_sas_port *sas_port = &port->sas_port; hisi_sas_terminate_stp_reject() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A Dsas_discover.c43 * @port: pointer to struct sas_port of interest
356 struct sas_port *sas_port, *p; in sas_destruct_ports() local
358 list_for_each_entry_safe(sas_port, p, &port->sas_port_del_list, del_list) { in sas_destruct_ports()
359 list_del_init(&sas_port->del_list); in sas_destruct_ports()
360 sas_port_delete(sas_port); in sas_destruct_ports()
398 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port) in sas_device_set_phy()
H A DMakefile12 sas_port.o \
H A Dsas_port.c108 port = sas_ha->sas_port[i]; in sas_form_port()
122 port = sas_ha->sas_port[i]; in sas_form_port()
338 struct asd_sas_port *port = sas_ha->sas_port[i]; in sas_register_ports()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c142 struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port) in to_hisi_sas_port() argument
144 return container_of(sas_port, struct hisi_sas_port, sas_port); in to_hisi_sas_port()
417 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_prep() local
465 port = to_hisi_sas_port(sas_port); in hisi_sas_task_prep()
573 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_exec() local
576 if (!sas_port) { in hisi_sas_task_exec()
986 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
990 if (!sas_port) in hisi_sas_port_notify_formed()
993 port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed()
1385 struct asd_sas_port *sas_port; hisi_sas_refresh_port_id() local
1424 struct asd_sas_port *sas_port = sas_phy->port; hisi_sas_rescan_topology() local
1464 hisi_sas_send_ata_reset_each_phy(struct hisi_hba *hisi_hba, struct asd_sas_port *sas_port, struct domain_device *device) hisi_sas_send_ata_reset_each_phy() argument
1519 struct asd_sas_port *sas_port = &port->sas_port; hisi_sas_terminate_stp_reject() local
1952 struct asd_sas_port *sas_port = device->port; hisi_sas_internal_abort_task_exec() local
[all...]
H A Dhisi_sas.h180 struct asd_sas_port sas_port; member
647 extern struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port);
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_transport_sas.c793 struct sas_port *port = transport_class_to_sas_port(dev); \
805 "sas_port", NULL, NULL, NULL);
829 struct sas_port *port = dev_to_sas_port(dev); in sas_port_release()
837 static void sas_port_create_link(struct sas_port *port, in sas_port_create_link()
855 static void sas_port_delete_link(struct sas_port *port, in sas_port_delete_link()
873 struct sas_port *sas_port_alloc(struct device *parent, int port_id) in sas_port_alloc()
876 struct sas_port *port; in sas_port_alloc()
918 struct sas_port *sas_port_alloc_num(struct device *parent) in sas_port_alloc_num()
944 int sas_port_add(struct sas_port *port) in sas_port_add()
973 void sas_port_free(struct sas_port *por
[all...]
H A Dhpsa.h47 struct sas_port *port;
112 struct hpsa_sas_port *sas_port; member
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_transport_sas.c799 struct sas_port *port = transport_class_to_sas_port(dev); \
811 "sas_port", NULL, NULL, NULL);
835 struct sas_port *port = dev_to_sas_port(dev); in sas_port_release()
843 static void sas_port_create_link(struct sas_port *port, in sas_port_create_link()
861 static void sas_port_delete_link(struct sas_port *port, in sas_port_delete_link()
879 struct sas_port *sas_port_alloc(struct device *parent, int port_id) in sas_port_alloc()
882 struct sas_port *port; in sas_port_alloc()
924 struct sas_port *sas_port_alloc_num(struct device *parent) in sas_port_alloc_num()
950 int sas_port_add(struct sas_port *port) in sas_port_add()
979 void sas_port_free(struct sas_port *por
[all...]
H A Dhpsa.h47 struct sas_port *port;
112 struct hpsa_sas_port *sas_port; member
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
H A Dmv_sas.c68 while (sha->sas_port[i]) { in mvs_find_dev_mvi()
69 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi()
70 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi()
96 while (sha->sas_port[i]) { in mvs_find_dev_phyno()
97 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_phyno()
100 &sha->sas_port[i]->phy_list, port_phy_el) { in mvs_find_dev_phyno()
305 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_smp() local
390 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_smp()
433 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_ata() local
453 ((sas_port in mvs_task_prep_ata()
561 struct asd_sas_port *sas_port = dev->port; mvs_task_prep_ssp() local
1078 struct asd_sas_port *sas_port = sas_phy->port; mvs_port_notify_formed() local
[all...]
H A Dmv_init.c422 sha->sas_port = arr_port; in mvs_prep_sas_ha_init()
458 sha->sas_port[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
459 &mvi->port[i].sas_port; in mvs_post_sas_ha_init()
623 kfree(sha->sas_port); in mvs_pci_remove()
/kernel/linux/linux-6.6/drivers/scsi/libsas/
H A Dsas_discover.c42 * @port: pointer to struct sas_port of interest
355 struct sas_port *sas_port, *p; in sas_destruct_ports() local
357 list_for_each_entry_safe(sas_port, p, &port->sas_port_del_list, del_list) { in sas_destruct_ports()
358 list_del_init(&sas_port->del_list); in sas_destruct_ports()
359 sas_port_delete(sas_port); in sas_destruct_ports()
426 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port) in sas_device_set_phy()
H A DMakefile12 sas_port.o \
H A Dsas_port.c135 port = sas_ha->sas_port[i]; in sas_form_port()
150 port = sas_ha->sas_port[i]; in sas_form_port()
347 struct asd_sas_port *port = sas_ha->sas_port[i]; in sas_register_ports()
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptsas.h153 struct sas_port *port; /* transport layer port object */
/kernel/linux/linux-6.6/drivers/message/fusion/
H A Dmptsas.h154 struct sas_port *port; /* transport layer port object */

Completed in 58 milliseconds

123