Searched refs:sbd (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/ps3/ |
| H A D | ps3stor_lib.c | 28 static int ps3stor_open_hv_device(struct ps3_system_bus_device *sbd) in ps3stor_open_hv_device() argument 30 int error = ps3_open_hv_device(sbd); in ps3stor_open_hv_device() 35 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) in ps3stor_open_hv_device() 38 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_open_hv_device() 44 static int ps3stor_close_hv_device(struct ps3_system_bus_device *sbd) in ps3stor_close_hv_device() argument 48 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK in ps3stor_close_hv_device() 51 ps3_flash_workaround.disk_sbd = sbd; in ps3stor_close_hv_device() 55 error = ps3_close_hv_device(sbd); in ps3stor_close_hv_device() 60 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_close_hv_device() 63 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) { in ps3stor_close_hv_device() [all …]
|
| H A D | vuart.h | 51 struct ps3_system_bus_driver *sbd = in ps3_system_bus_dev_to_vuart_drv() local 53 BUG_ON(!sbd); in ps3_system_bus_dev_to_vuart_drv() 54 return container_of(sbd, struct ps3_vuart_port_driver, core); in ps3_system_bus_dev_to_vuart_drv()
|
| H A D | ps3-lpm.c | 129 struct ps3_system_bus_device *sbd; member 148 BUG_ON(!lpm_priv || !lpm_priv->sbd); in sbd_core() 149 return &lpm_priv->sbd->core; in sbd_core() 1189 lpm_priv->sbd = dev; in ps3_lpm_probe()
|
| /linux/drivers/block/ |
| H A D | ps3disk.c | 88 dev_dbg(&dev->sbd.core, "%s:%u: %u sectors from %llu\n", in ps3disk_scatter_gather() 102 struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3disk_submit_request_sg() 115 dev_dbg(&dev->sbd.core, in ps3disk_submit_request_sg() 122 dev_dbg(&dev->sbd.core, "%s:%u: %s %llu sectors starting at %llu\n", in ps3disk_submit_request_sg() 128 res = lv1_storage_write(dev->sbd.dev_id, region_id, in ps3disk_submit_request_sg() 132 res = lv1_storage_read(dev->sbd.dev_id, region_id, in ps3disk_submit_request_sg() 137 dev_err(&dev->sbd.core, "%s:%u: %s failed %d\n", __func__, in ps3disk_submit_request_sg() 149 struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3disk_submit_flush_request() 152 dev_dbg(&dev->sbd.core, "%s:%u: flush request\n", __func__, __LINE__); in ps3disk_submit_flush_request() 154 res = lv1_storage_send_device_command(dev->sbd.dev_id, in ps3disk_submit_flush_request() [all …]
|
| /linux/drivers/char/ |
| H A D | ps3flash.c | 36 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_read_write_sectors() 41 dev_err(&dev->sbd.core, "%s:%u: %s failed 0x%llx\n", __func__, in ps3flash_read_write_sectors() 50 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_writeback() 66 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_fetch() 97 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_read() 103 dev_dbg(&dev->sbd.core, in ps3flash_read() 112 dev_dbg(&dev->sbd.core, in ps3flash_read() 132 dev_dbg(&dev->sbd.core, in ps3flash_read() 166 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_write() 172 dev_dbg(&dev->sbd.core, in ps3flash_write() [all …]
|
| /linux/arch/powerpc/platforms/ps3/ |
| H A D | device-init.c | 353 p->sbd.match_id = match_id; in ps3_setup_storage_dev() 354 p->sbd.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_storage_dev() 355 p->sbd.bus_id = repo->bus_id; in ps3_setup_storage_dev() 356 p->sbd.dev_id = repo->dev_id; in ps3_setup_storage_dev() 357 p->sbd.d_region = &p->dma_region; in ps3_setup_storage_dev() 363 &p->sbd.interrupt_id); in ps3_setup_storage_dev() 394 result = ps3_system_bus_device_register(&p->sbd); in ps3_setup_storage_dev() 671 struct ps3_system_bus_device sbd; member 733 res = write ? lv1_storage_write(dev->sbd.dev_id, 0, 0, 1, 0, lpar, in ps3_notification_read_write() 735 : lv1_storage_read(dev->sbd.dev_id, 0, 0, 1, 0, lpar, in ps3_notification_read_write() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | ps3stor.h | 24 struct ps3_system_bus_device sbd; member 47 return container_of(dev, struct ps3_storage_device, sbd.core); in to_ps3_storage_device()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 7115 struct tg3_rx_buffer_desc *sbd, *dbd; in tg3_rx_prodring_xfer() local 7116 sbd = &spr->rx_std[si]; in tg3_rx_prodring_xfer() 7118 dbd->addr_hi = sbd->addr_hi; in tg3_rx_prodring_xfer() 7119 dbd->addr_lo = sbd->addr_lo; in tg3_rx_prodring_xfer() 7173 struct tg3_rx_buffer_desc *sbd, *dbd; in tg3_rx_prodring_xfer() local 7174 sbd = &spr->rx_jmb[si].std; in tg3_rx_prodring_xfer() 7176 dbd->addr_hi = sbd->addr_hi; in tg3_rx_prodring_xfer() 7177 dbd->addr_lo = sbd->addr_lo; in tg3_rx_prodring_xfer()
|