Home
last modified time | relevance | path

Searched refs:rphy (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.3-rc2/drivers/phy/rockchip/
A Dphy-rockchip-inno-usb2.c239 return rphy->usbgrf == NULL ? rphy->grf : rphy->usbgrf; in get_reg_base()
345 if (rphy->clk) { in rockchip_usb2phy_clk480m_register()
357 rphy->clk480m = clk_register(rphy->dev, &rphy->clk480m_hw); in rockchip_usb2phy_clk480m_register()
1165 ret = devm_extcon_register_notifier(rphy->dev, rphy->edev, in rockchip_usb2phy_otg_port_init()
1195 rphy = devm_kzalloc(dev, sizeof(*rphy), GFP_KERNEL); in rockchip_usb2phy_probe()
1196 if (!rphy) in rockchip_usb2phy_probe()
1220 rphy->usbgrf = in rockchip_usb2phy_probe()
1244 rphy->dev = dev; in rockchip_usb2phy_probe()
1330 ret = devm_request_threaded_irq(rphy->dev, rphy->irq, NULL, in rockchip_usb2phy_probe()
1334 rphy); in rockchip_usb2phy_probe()
[all …]
/linux-6.3-rc2/drivers/scsi/
A Dscsi_transport_sas.c199 if (rphy) { in sas_bsg_initialize()
200 q = bsg_setup_queue(&rphy->dev, dev_name(&rphy->dev), in sas_bsg_initialize()
204 rphy->q = q; in sas_bsg_initialize()
998 if (port->rphy) { in sas_port_delete()
1000 port->rphy = NULL; in sas_port_delete()
1463 return &rdev->rphy; in sas_end_device_alloc()
1504 return &rdev->rphy; in sas_expander_alloc()
1522 if (parent->rphy) in sas_rphy_add()
1524 parent->rphy = rphy; in sas_rphy_add()
1554 scsi_scan_target(&rphy->dev, 0, rphy->scsi_target_id, lun, in sas_rphy_add()
[all …]
A Dhpsa.c245 struct sas_rphy *rphy);
2120 struct sas_rphy *rphy; in hpsa_slave_alloc() local
9644 struct sas_rphy *rphy) in hpsa_sas_port_add_rphy() argument
9648 identify = &rphy->identify; in hpsa_sas_port_add_rphy()
9653 return sas_rphy_add(rphy); in hpsa_sas_port_add_rphy()
9738 struct sas_rphy *rphy) in hpsa_find_device_by_sas_rphy() argument
9747 if (device->sas_port->rphy == rphy) in hpsa_find_device_by_sas_rphy()
9809 struct sas_rphy *rphy; in hpsa_add_sas_device() local
9816 if (!rphy) { in hpsa_add_sas_device()
9821 hpsa_sas_port->rphy = rphy; in hpsa_add_sas_device()
[all …]
A Dhpsa.h51 struct sas_rphy *rphy; member
/linux-6.3-rc2/drivers/scsi/smartpqi/
A Dsmartpqi_sas_transport.c89 struct sas_rphy *rphy) in pqi_sas_port_add_rphy() argument
93 identify = &rphy->identify; in pqi_sas_port_add_rphy()
116 return sas_rphy_add(rphy); in pqi_sas_port_add_rphy()
218 if (device->sas_port->rphy == rphy) in pqi_find_device_by_sas_rphy()
280 struct sas_rphy *rphy; in pqi_add_sas_device() local
288 if (!rphy) { in pqi_add_sas_device()
293 pqi_sas_port->rphy = rphy; in pqi_add_sas_device()
332 if (!rphy) in pqi_sas_get_enclosure_identifier()
404 if (!rphy) in pqi_sas_get_bay_identifier()
518 struct sas_rphy *rphy) in pqi_sas_smp_handler() argument
[all …]
A Dsmartpqi.h1224 struct sas_rphy *rphy; member
1674 struct sas_rphy *rphy);
1682 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy);
/linux-6.3-rc2/include/scsi/
A Dscsi_transport_sas.h108 #define rphy_to_shost(rphy) \ argument
109 dev_to_shost((rphy)->dev.parent)
114 struct sas_rphy rphy; member
124 container_of((r), struct sas_end_device, rphy)
141 struct sas_rphy rphy; member
145 container_of((r), struct sas_expander_device, rphy)
156 struct sas_rphy *rphy; member
235 struct sas_rphy *rphy; in scsi_is_sas_expander_device() local
238 rphy = dev_to_rphy(dev); in scsi_is_sas_expander_device()
239 return rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE || in scsi_is_sas_expander_device()
[all …]
A Dlibsas.h187 struct sas_rphy *rphy; member
/linux-6.3-rc2/drivers/scsi/libsas/
A Dsas_discover.c52 struct sas_rphy *rphy; in sas_get_port_device() local
107 rphy = NULL; in sas_get_port_device()
124 rphy = NULL; in sas_get_port_device()
128 if (!rphy) { in sas_get_port_device()
135 sas_fill_in_rphy(dev, rphy); in sas_get_port_device()
148 dev->rphy = rphy; in sas_get_port_device()
149 get_device(&dev->rphy->dev); in sas_get_port_device()
290 dev->rphy = NULL; in sas_free_device()
369 sas_rphy_free(dev->rphy); in sas_unregister_dev()
393 port->port->rphy = NULL; in sas_unregister_domain_devices()
[all …]
A Dsas_internal.h80 struct sas_rphy *rphy);
86 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy);
147 struct sas_rphy *rphy) in sas_fill_in_rphy() argument
149 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy()
150 rphy->identify.initiator_port_protocols = dev->iproto; in sas_fill_in_rphy()
151 rphy->identify.target_port_protocols = dev->tproto; in sas_fill_in_rphy()
157 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy()
160 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy()
163 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy()
166 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy()
[all …]
A Dsas_host_smp.c23 struct sas_rphy *rphy; in sas_host_smp_discover() local
46 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_host_smp_discover()
47 resp_data[12] = rphy->identify.device_type << 4; in sas_host_smp_discover()
48 resp_data[14] = rphy->identify.initiator_port_protocols; in sas_host_smp_discover()
49 resp_data[15] = rphy->identify.target_port_protocols; in sas_host_smp_discover()
140 struct sas_rphy *rphy; in sas_report_phy_sata() local
154 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_report_phy_sata()
157 if (rphy->identify.target_port_protocols != SAS_PROTOCOL_SATA) in sas_report_phy_sata()
A Dsas_expander.c188 struct sas_rphy *rphy = dev->rphy; in sas_set_ex_phy() local
332 struct sas_rphy *rphy; in sas_ex_to_ata() local
337 rphy = ex_phy->port->rphy; in sas_ex_to_ata()
338 if (!rphy) in sas_ex_to_ata()
497 struct sas_rphy *rphy = dev->rphy; in ex_assign_manuf_info() local
757 struct sas_rphy *rphy; in sas_ex_add_dev() local
762 if (!rphy) in sas_ex_add_dev()
768 child->rphy = rphy; in sas_ex_add_dev()
911 child->rphy = rphy; in sas_ex_discover_expander()
928 sas_rphy_add(rphy); in sas_ex_discover_expander()
[all …]
A Dsas_init.c204 dev = sas_find_dev_by_rphy(dev->rphy); in sas_try_ata_reset()
241 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); in transport_sas_phy_reset() local
242 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in transport_sas_phy_reset()
276 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); in sas_phy_enable() local
277 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_enable()
310 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); in sas_phy_reset() local
311 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_reset()
347 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent); in sas_set_phy_speed() local
348 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_set_phy_speed()
A Dsas_ata.c377 struct device *dev = &ddev->rphy->dev; in sas_ata_printk()
680 struct sas_rphy *rphy; in sas_ata_add_dev() local
716 rphy = sas_end_device_alloc(phy->port); in sas_ata_add_dev()
717 if (!rphy) in sas_ata_add_dev()
720 rphy->identify.phy_identifier = phy_id; in sas_ata_add_dev()
721 child->rphy = rphy; in sas_ata_add_dev()
722 get_device(&rphy->dev); in sas_ata_add_dev()
731 sas_rphy_free(child->rphy); in sas_ata_add_dev()
813 sas_fill_in_rphy(dev, dev->rphy); in sas_discover_sata()
A Dsas_scsi_host.c456 dev_name(&dev->rphy->dev)); in sas_queue_reset()
798 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy) in sas_find_dev_by_rphy() argument
800 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent); in sas_find_dev_by_rphy()
813 if (rphy == dev->rphy) { in sas_find_dev_by_rphy()
829 struct sas_rphy *rphy = dev_to_rphy(starget->dev.parent); in sas_target_alloc() local
830 struct domain_device *found_dev = sas_find_dev_by_rphy(rphy); in sas_target_alloc()
847 BUG_ON(dev->rphy->identify.device_type != SAS_END_DEVICE); in sas_slave_configure()
/linux-6.3-rc2/drivers/phy/renesas/
A Dphy-rcar-gen3-usb2.c437 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_init()
463 rphy->otg_initialized = true; in rcar_gen3_phy_usb2_init()
466 rphy->initialized = true; in rcar_gen3_phy_usb2_init()
474 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_exit()
478 rphy->initialized = false; in rcar_gen3_phy_usb2_exit()
481 rphy->otg_initialized = false; in rcar_gen3_phy_usb2_exit()
484 val &= ~rphy->int_enable_bits; in rcar_gen3_phy_usb2_exit()
498 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_power_on()
521 rphy->powered = true; in rcar_gen3_phy_usb2_power_on()
530 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_power_off()
[all …]
/linux-6.3-rc2/drivers/scsi/mpt3sas/
A Dmpt3sas_transport.c111 struct sas_rphy *rphy) in _transport_get_port_id_by_rphy() argument
118 if (!rphy) in _transport_get_port_id_by_rphy()
126 if (sas_expander->rphy == rphy) { in _transport_get_port_id_by_rphy()
690 struct sas_rphy *rphy; in mpt3sas_transport_port_add() local
810 sas_device->rphy = rphy; in mpt3sas_transport_port_add()
829 if ((sas_rphy_add(rphy))) { in mpt3sas_transport_port_add()
832 sas_rphy_free(rphy); in mpt3sas_transport_port_add()
833 rphy = NULL; in mpt3sas_transport_port_add()
841 dev_info(&rphy->dev, in mpt3sas_transport_port_add()
845 mpt3sas_port->rphy = rphy; in mpt3sas_transport_port_add()
[all …]
A Dmpt3sas_base.h583 struct sas_rphy *rphy; member
761 struct sas_rphy *rphy; member
823 struct sas_rphy *rphy; member
1845 __mpt3sas_get_sdev_by_rphy(struct MPT3SAS_ADAPTER *ioc, struct sas_rphy *rphy);
A Dmpt3sas_scsih.c728 struct sas_rphy *rphy) in __mpt3sas_get_sdev_by_rphy() argument
735 if (sas_device->rphy != rphy) in __mpt3sas_get_sdev_by_rphy()
743 if (sas_device->rphy != rphy) in __mpt3sas_get_sdev_by_rphy()
1878 struct sas_rphy *rphy; in scsih_target_alloc() local
1931 rphy = dev_to_rphy(starget->dev.parent); in scsih_target_alloc()
1932 sas_device = __mpt3sas_get_sdev_by_rphy(ioc, rphy); in scsih_target_alloc()
7000 sas_expander->parent_dev = &mpt3sas_port->rphy->dev; in _scsih_expander_add()
7001 sas_expander->rphy = mpt3sas_port->rphy; in _scsih_expander_add()
/linux-6.3-rc2/drivers/scsi/mpi3mr/
A Dmpi3mr_transport.c450 && (tgtdev->dev_spec.sas_sata_inf.rphy == rphy)) in __mpi3mr_get_tgtdev_by_addr_and_rphy()
1316 struct sas_rphy *rphy; in mpi3mr_sas_port_add() local
1422 tgtdev->dev_spec.sas_sata_inf.rphy = rphy; in mpi3mr_sas_port_add()
1442 dev_info(&rphy->dev, in mpi3mr_sas_port_add()
1447 mr_sas_port->rphy = rphy; in mpi3mr_sas_port_add()
2098 sas_expander->rphy = mr_sas_port->rphy; in mpi3mr_expander_add()
2437 if (!rphy) in mpi3mr_get_port_id_by_rphy()
2445 if (sas_expander->rphy == rphy) { in mpi3mr_get_port_id_by_rphy()
2455 rphy->identify.sas_address, rphy); in mpi3mr_get_port_id_by_rphy()
2686 rphy->identify.sas_address, rphy); in mpi3mr_transport_get_enclosure_identifier()
[all …]
A Dmpi3mr.h506 struct sas_rphy *rphy; member
566 struct sas_rphy *rphy; member
602 struct sas_rphy *rphy; member
1386 struct mpi3mr_ioc *mrioc, u64 sas_address, struct sas_rphy *rphy);
A Dmpi3mr_os.c4192 struct sas_rphy *rphy = NULL; in mpi3mr_slave_destroy() local
4208 rphy = dev_to_rphy(starget->dev.parent); in mpi3mr_slave_destroy()
4210 rphy->identify.sas_address, rphy); in mpi3mr_slave_destroy()
4280 struct sas_rphy *rphy = NULL; in mpi3mr_slave_configure() local
4290 rphy = dev_to_rphy(starget->dev.parent); in mpi3mr_slave_configure()
4292 rphy->identify.sas_address, rphy); in mpi3mr_slave_configure()
4346 struct sas_rphy *rphy = NULL; in mpi3mr_slave_alloc() local
4358 rphy = dev_to_rphy(starget->dev.parent); in mpi3mr_slave_alloc()
4360 rphy->identify.sas_address, rphy); in mpi3mr_slave_alloc()
4404 struct sas_rphy *rphy = NULL; in mpi3mr_target_alloc() local
[all …]
/linux-6.3-rc2/drivers/message/fusion/
A Dmptsas.c518 phy_info->port_details->rphy = rphy; in mptsas_set_rphy()
523 if (rphy) { in mptsas_set_rphy()
527 ioc->name, rphy, rphy->dev.release)); in mptsas_set_rphy()
589 struct sas_rphy *rphy; in mptsas_add_device_component() local
1494 if (!rphy) { in mptsas_add_end_device()
1544 if (!rphy) { in mptsas_del_end_device()
2279 if (rphy) in mptsas_smp_handler()
3268 rphy = NULL; in mptsas_probe_one_phy()
3271 if (!rphy) { in mptsas_probe_one_phy()
3497 if (!rphy) in mptsas_delete_expander_siblings()
[all …]
A Dmptsas.h153 struct sas_rphy *rphy; /* transport layer rphy object */ member
/linux-6.3-rc2/drivers/scsi/aic94xx/
A Daic94xx_dev.c204 struct sas_end_device *rdev = rphy_to_end_device(dev->rphy); in asd_init_target_ddb()

Completed in 144 milliseconds

12