/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 227 return rphy->usbgrf == NULL ? rphy->grf : rphy->usbgrf; in get_reg_base() 333 if (rphy->clk) { in rockchip_usb2phy_clk480m_register() 345 rphy->clk480m = clk_register(rphy->dev, &rphy->clk480m_hw); in rockchip_usb2phy_clk480m_register() 356 rphy); in rockchip_usb2phy_clk480m_register() 398 rphy->edev = edev; in rockchip_usb2phy_extcon_register() 1052 ret = devm_extcon_register_notifier(rphy->dev, rphy->edev, in rockchip_usb2phy_otg_port_init() 1074 rphy = devm_kzalloc(dev, sizeof(*rphy), GFP_KERNEL); in rockchip_usb2phy_probe() 1075 if (!rphy) in rockchip_usb2phy_probe() 1092 rphy->usbgrf = in rockchip_usb2phy_probe() 1107 rphy->dev = dev; in rockchip_usb2phy_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 227 return rphy->usbgrf == NULL ? rphy->grf : rphy->usbgrf; in get_reg_base() 333 if (rphy->clk) { in rockchip_usb2phy_clk480m_register() 345 rphy->clk480m = clk_register(rphy->dev, &rphy->clk480m_hw); in rockchip_usb2phy_clk480m_register() 356 rphy); in rockchip_usb2phy_clk480m_register() 398 rphy->edev = edev; in rockchip_usb2phy_extcon_register() 1052 ret = devm_extcon_register_notifier(rphy->dev, rphy->edev, in rockchip_usb2phy_otg_port_init() 1074 rphy = devm_kzalloc(dev, sizeof(*rphy), GFP_KERNEL); in rockchip_usb2phy_probe() 1075 if (!rphy) in rockchip_usb2phy_probe() 1092 rphy->usbgrf = in rockchip_usb2phy_probe() 1107 rphy->dev = dev; in rockchip_usb2phy_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 227 return rphy->usbgrf == NULL ? rphy->grf : rphy->usbgrf; in get_reg_base() 333 if (rphy->clk) { in rockchip_usb2phy_clk480m_register() 345 rphy->clk480m = clk_register(rphy->dev, &rphy->clk480m_hw); in rockchip_usb2phy_clk480m_register() 356 rphy); in rockchip_usb2phy_clk480m_register() 398 rphy->edev = edev; in rockchip_usb2phy_extcon_register() 1052 ret = devm_extcon_register_notifier(rphy->dev, rphy->edev, in rockchip_usb2phy_otg_port_init() 1074 rphy = devm_kzalloc(dev, sizeof(*rphy), GFP_KERNEL); in rockchip_usb2phy_probe() 1075 if (!rphy) in rockchip_usb2phy_probe() 1092 rphy->usbgrf = in rockchip_usb2phy_probe() 1107 rphy->dev = dev; in rockchip_usb2phy_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/ |
H A D | scsi_transport_sas.c | 199 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() 987 if (port->rphy) { in sas_port_delete() 989 port->rphy = NULL; in sas_port_delete() 1453 return &rdev->rphy; in sas_end_device_alloc() 1494 return &rdev->rphy; in sas_expander_alloc() 1512 if (parent->rphy) in sas_rphy_add() 1514 parent->rphy = rphy; in sas_rphy_add() 1544 scsi_scan_target(&rphy->dev, 0, rphy->scsi_target_id, lun, in sas_rphy_add() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/ |
H A D | scsi_transport_sas.c | 199 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() 987 if (port->rphy) { in sas_port_delete() 989 port->rphy = NULL; in sas_port_delete() 1453 return &rdev->rphy; in sas_end_device_alloc() 1494 return &rdev->rphy; in sas_expander_alloc() 1512 if (parent->rphy) in sas_rphy_add() 1514 parent->rphy = rphy; in sas_rphy_add() 1544 scsi_scan_target(&rphy->dev, 0, rphy->scsi_target_id, lun, in sas_rphy_add() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/ |
H A D | scsi_transport_sas.c | 199 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() 987 if (port->rphy) { in sas_port_delete() 989 port->rphy = NULL; in sas_port_delete() 1453 return &rdev->rphy; in sas_end_device_alloc() 1494 return &rdev->rphy; in sas_expander_alloc() 1512 if (parent->rphy) in sas_rphy_add() 1514 parent->rphy = rphy; in sas_rphy_add() 1544 scsi_scan_target(&rphy->dev, 0, rphy->scsi_target_id, lun, in sas_rphy_add() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 89 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 …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 89 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 …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 89 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 …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/include/scsi/ |
H A D | scsi_transport_sas.h | 107 #define rphy_to_shost(rphy) \ argument 108 dev_to_shost((rphy)->dev.parent) 113 struct sas_rphy rphy; member 123 container_of((r), struct sas_end_device, rphy) 140 struct sas_rphy rphy; member 144 container_of((r), struct sas_expander_device, rphy) 155 struct sas_rphy *rphy; member 234 struct sas_rphy *rphy; in scsi_is_sas_expander_device() local 237 rphy = dev_to_rphy(dev); in scsi_is_sas_expander_device() 238 return rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE || in scsi_is_sas_expander_device() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/scsi/ |
H A D | scsi_transport_sas.h | 107 #define rphy_to_shost(rphy) \ argument 108 dev_to_shost((rphy)->dev.parent) 113 struct sas_rphy rphy; member 123 container_of((r), struct sas_end_device, rphy) 140 struct sas_rphy rphy; member 144 container_of((r), struct sas_expander_device, rphy) 155 struct sas_rphy *rphy; member 234 struct sas_rphy *rphy; in scsi_is_sas_expander_device() local 237 rphy = dev_to_rphy(dev); in scsi_is_sas_expander_device() 238 return rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE || in scsi_is_sas_expander_device() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/scsi/ |
H A D | scsi_transport_sas.h | 107 #define rphy_to_shost(rphy) \ argument 108 dev_to_shost((rphy)->dev.parent) 113 struct sas_rphy rphy; member 123 container_of((r), struct sas_end_device, rphy) 140 struct sas_rphy rphy; member 144 container_of((r), struct sas_expander_device, rphy) 155 struct sas_rphy *rphy; member 234 struct sas_rphy *rphy; in scsi_is_sas_expander_device() local 237 rphy = dev_to_rphy(dev); in scsi_is_sas_expander_device() 238 return rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE || in scsi_is_sas_expander_device() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/libsas/ |
H A D | sas_internal.h | 74 struct sas_rphy *rphy); 82 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy); 118 struct sas_rphy *rphy) in sas_fill_in_rphy() argument 120 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy() 121 rphy->identify.initiator_port_protocols = dev->iproto; in sas_fill_in_rphy() 122 rphy->identify.target_port_protocols = dev->tproto; in sas_fill_in_rphy() 128 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy() 131 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy() 134 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy() 137 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy() [all …]
|
H A D | sas_discover.c | 53 struct sas_rphy *rphy; in sas_get_port_device() local 108 rphy = NULL; in sas_get_port_device() 125 rphy = NULL; in sas_get_port_device() 129 if (!rphy) { in sas_get_port_device() 136 sas_fill_in_rphy(dev, rphy); in sas_get_port_device() 149 dev->rphy = rphy; in sas_get_port_device() 150 get_device(&dev->rphy->dev); in sas_get_port_device() 291 dev->rphy = NULL; in sas_free_device() 370 sas_rphy_free(dev->rphy); in sas_unregister_dev() 394 port->port->rphy = NULL; in sas_unregister_domain_devices() [all …]
|
H A D | sas_host_smp.c | 23 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()
|
H A D | sas_expander.c | 205 struct sas_rphy *rphy = dev->rphy; in sas_set_ex_phy() local 349 struct sas_rphy *rphy; in sas_ex_to_ata() local 354 rphy = ex_phy->port->rphy; in sas_ex_to_ata() 355 if (!rphy) in sas_ex_to_ata() 519 struct sas_rphy *rphy = dev->rphy; in ex_assign_manuf_info() local 848 if (!rphy) in sas_ex_discover_end_dev() 852 child->rphy = rphy; in sas_ex_discover_end_dev() 875 child->rphy = rphy; in sas_ex_discover_end_dev() 978 child->rphy = rphy; in sas_ex_discover_expander() 995 sas_rphy_add(rphy); in sas_ex_discover_expander() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/libsas/ |
H A D | sas_internal.h | 74 struct sas_rphy *rphy); 82 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy); 118 struct sas_rphy *rphy) in sas_fill_in_rphy() argument 120 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy() 121 rphy->identify.initiator_port_protocols = dev->iproto; in sas_fill_in_rphy() 122 rphy->identify.target_port_protocols = dev->tproto; in sas_fill_in_rphy() 128 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy() 131 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy() 134 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy() 137 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy() [all …]
|
H A D | sas_discover.c | 53 struct sas_rphy *rphy; in sas_get_port_device() local 108 rphy = NULL; in sas_get_port_device() 125 rphy = NULL; in sas_get_port_device() 129 if (!rphy) { in sas_get_port_device() 136 sas_fill_in_rphy(dev, rphy); in sas_get_port_device() 149 dev->rphy = rphy; in sas_get_port_device() 150 get_device(&dev->rphy->dev); in sas_get_port_device() 291 dev->rphy = NULL; in sas_free_device() 370 sas_rphy_free(dev->rphy); in sas_unregister_dev() 394 port->port->rphy = NULL; in sas_unregister_domain_devices() [all …]
|
H A D | sas_host_smp.c | 23 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()
|
H A D | sas_expander.c | 205 struct sas_rphy *rphy = dev->rphy; in sas_set_ex_phy() local 349 struct sas_rphy *rphy; in sas_ex_to_ata() local 354 rphy = ex_phy->port->rphy; in sas_ex_to_ata() 355 if (!rphy) in sas_ex_to_ata() 519 struct sas_rphy *rphy = dev->rphy; in ex_assign_manuf_info() local 848 if (!rphy) in sas_ex_discover_end_dev() 852 child->rphy = rphy; in sas_ex_discover_end_dev() 875 child->rphy = rphy; in sas_ex_discover_end_dev() 978 child->rphy = rphy; in sas_ex_discover_expander() 995 sas_rphy_add(rphy); in sas_ex_discover_expander() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/libsas/ |
H A D | sas_internal.h | 74 struct sas_rphy *rphy); 82 struct domain_device *sas_find_dev_by_rphy(struct sas_rphy *rphy); 118 struct sas_rphy *rphy) in sas_fill_in_rphy() argument 120 rphy->identify.sas_address = SAS_ADDR(dev->sas_addr); in sas_fill_in_rphy() 121 rphy->identify.initiator_port_protocols = dev->iproto; in sas_fill_in_rphy() 122 rphy->identify.target_port_protocols = dev->tproto; in sas_fill_in_rphy() 128 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy() 131 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy() 134 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy() 137 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy() [all …]
|
H A D | sas_discover.c | 53 struct sas_rphy *rphy; in sas_get_port_device() local 108 rphy = NULL; in sas_get_port_device() 125 rphy = NULL; in sas_get_port_device() 129 if (!rphy) { in sas_get_port_device() 136 sas_fill_in_rphy(dev, rphy); in sas_get_port_device() 149 dev->rphy = rphy; in sas_get_port_device() 150 get_device(&dev->rphy->dev); in sas_get_port_device() 291 dev->rphy = NULL; in sas_free_device() 370 sas_rphy_free(dev->rphy); in sas_unregister_dev() 394 port->port->rphy = NULL; in sas_unregister_domain_devices() [all …]
|
H A D | sas_host_smp.c | 23 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()
|
H A D | sas_expander.c | 205 struct sas_rphy *rphy = dev->rphy; in sas_set_ex_phy() local 349 struct sas_rphy *rphy; in sas_ex_to_ata() local 354 rphy = ex_phy->port->rphy; in sas_ex_to_ata() 355 if (!rphy) in sas_ex_to_ata() 519 struct sas_rphy *rphy = dev->rphy; in ex_assign_manuf_info() local 848 if (!rphy) in sas_ex_discover_end_dev() 852 child->rphy = rphy; in sas_ex_discover_end_dev() 875 child->rphy = rphy; in sas_ex_discover_end_dev() 978 child->rphy = rphy; in sas_ex_discover_expander() 995 sas_rphy_add(rphy); in sas_ex_discover_expander() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/phy/renesas/ |
H A D | phy-rcar-gen3-usb2.c | 413 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_init() 439 rphy->otg_initialized = true; in rcar_gen3_phy_usb2_init() 442 rphy->initialized = true; in rcar_gen3_phy_usb2_init() 450 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_exit() 454 rphy->initialized = false; in rcar_gen3_phy_usb2_exit() 457 rphy->otg_initialized = false; in rcar_gen3_phy_usb2_exit() 460 val &= ~rphy->int_enable_bits; in rcar_gen3_phy_usb2_exit() 474 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_power_on() 497 rphy->powered = true; in rcar_gen3_phy_usb2_power_on() 506 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_power_off() [all …]
|