Home
last modified time | relevance | path

Searched refs:sbd (Results 1 – 7 of 7) sorted by relevance

/drivers/ps3/
Dps3stor_lib.c27 static int ps3stor_open_hv_device(struct ps3_system_bus_device *sbd) in ps3stor_open_hv_device() argument
29 int error = ps3_open_hv_device(sbd); in ps3stor_open_hv_device()
34 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) in ps3stor_open_hv_device()
37 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_open_hv_device()
43 static int ps3stor_close_hv_device(struct ps3_system_bus_device *sbd) in ps3stor_close_hv_device() argument
47 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK in ps3stor_close_hv_device()
50 ps3_flash_workaround.disk_sbd = sbd; in ps3stor_close_hv_device()
54 error = ps3_close_hv_device(sbd); in ps3stor_close_hv_device()
59 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_close_hv_device()
62 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) { in ps3stor_close_hv_device()
[all …]
Dvuart.h51 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()
Dps3-lpm.c129 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()
/drivers/block/
Dps3disk.c93 dev_dbg(&dev->sbd.core, "%s:%u: bio %u: %u sectors from %llu\n", in ps3disk_scatter_gather()
113 struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3disk_submit_request_sg()
126 dev_dbg(&dev->sbd.core, in ps3disk_submit_request_sg()
133 dev_dbg(&dev->sbd.core, "%s:%u: %s %llu sectors starting at %llu\n", in ps3disk_submit_request_sg()
139 res = lv1_storage_write(dev->sbd.dev_id, region_id, in ps3disk_submit_request_sg()
143 res = lv1_storage_read(dev->sbd.dev_id, region_id, in ps3disk_submit_request_sg()
148 dev_err(&dev->sbd.core, "%s:%u: %s failed %d\n", __func__, in ps3disk_submit_request_sg()
160 struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3disk_submit_flush_request()
163 dev_dbg(&dev->sbd.core, "%s:%u: flush request\n", __func__, __LINE__); in ps3disk_submit_flush_request()
165 res = lv1_storage_send_device_command(dev->sbd.dev_id, in ps3disk_submit_flush_request()
[all …]
/drivers/scsi/
Dps3rom.c69 dev_dbg(&dev->sbd.core, "%s:%u: id %u, lun %llu, channel %u\n", __func__, in ps3rom_slave_configure()
92 dev_dbg(&dev->sbd.core, "%s:%u: send ATAPI command 0x%02x\n", __func__, in ps3rom_atapi_request()
126 res = lv1_storage_send_device_command(dev->sbd.dev_id, in ps3rom_atapi_request()
132 dev_dbg(&dev->sbd.core, in ps3rom_atapi_request()
139 dev_err(&dev->sbd.core, in ps3rom_atapi_request()
165 dev_dbg(&dev->sbd.core, "%s:%u: read %u sectors starting at %u\n", in ps3rom_read_request()
168 res = lv1_storage_read(dev->sbd.dev_id, in ps3rom_read_request()
172 dev_err(&dev->sbd.core, "%s:%u: read failed %d\n", __func__, in ps3rom_read_request()
186 dev_dbg(&dev->sbd.core, "%s:%u: write %u sectors starting at %u\n", in ps3rom_write_request()
191 res = lv1_storage_write(dev->sbd.dev_id, in ps3rom_write_request()
[all …]
/drivers/char/
Dps3flash.c36 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 …]
/drivers/net/ethernet/broadcom/
Dtg3.c7102 struct tg3_rx_buffer_desc *sbd, *dbd; in tg3_rx_prodring_xfer() local
7103 sbd = &spr->rx_std[si]; in tg3_rx_prodring_xfer()
7105 dbd->addr_hi = sbd->addr_hi; in tg3_rx_prodring_xfer()
7106 dbd->addr_lo = sbd->addr_lo; in tg3_rx_prodring_xfer()
7160 struct tg3_rx_buffer_desc *sbd, *dbd; in tg3_rx_prodring_xfer() local
7161 sbd = &spr->rx_jmb[si].std; in tg3_rx_prodring_xfer()
7163 dbd->addr_hi = sbd->addr_hi; in tg3_rx_prodring_xfer()
7164 dbd->addr_lo = sbd->addr_lo; in tg3_rx_prodring_xfer()