/linux-2.6.39/drivers/ps3/ |
D | ps3stor_lib.c | 38 static int ps3stor_open_hv_device(struct ps3_system_bus_device *sbd) in ps3stor_open_hv_device() argument 40 int error = ps3_open_hv_device(sbd); in ps3stor_open_hv_device() 45 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) in ps3stor_open_hv_device() 48 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_open_hv_device() 54 static int ps3stor_close_hv_device(struct ps3_system_bus_device *sbd) in ps3stor_close_hv_device() argument 58 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK in ps3stor_close_hv_device() 61 ps3_flash_workaround.disk_sbd = sbd; in ps3stor_close_hv_device() 65 error = ps3_close_hv_device(sbd); in ps3stor_close_hv_device() 70 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_close_hv_device() 73 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) { in ps3stor_close_hv_device() [all …]
|
D | vuart.h | 63 struct ps3_system_bus_driver *sbd = in ps3_system_bus_dev_to_vuart_drv() local 65 BUG_ON(!sbd); in ps3_system_bus_dev_to_vuart_drv() 66 return container_of(sbd, struct ps3_vuart_port_driver, core); in ps3_system_bus_dev_to_vuart_drv()
|
D | ps3-lpm.c | 141 struct ps3_system_bus_device *sbd; member 160 BUG_ON(!lpm_priv || !lpm_priv->sbd); in sbd_core() 161 return &lpm_priv->sbd->core; in sbd_core() 1203 lpm_priv->sbd = dev; in ps3_lpm_probe()
|
/linux-2.6.39/fs/sysv/ |
D | super.c | 80 struct sysv4_super_block * sbd; in detected_sysv4() local 85 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4() 87 sbd = (struct sysv4_super_block *) bh2->b_data; in detected_sysv4() 92 sbi->s_sbd1 = (char *)sbd; in detected_sysv4() 93 sbi->s_sbd2 = (char *)sbd; in detected_sysv4() 94 sbi->s_sb_fic_count = &sbd->s_ninode; in detected_sysv4() 95 sbi->s_sb_fic_inodes = &sbd->s_inode[0]; in detected_sysv4() 96 sbi->s_sb_total_free_inodes = &sbd->s_tinode; in detected_sysv4() 97 sbi->s_bcache_count = &sbd->s_nfree; in detected_sysv4() 98 sbi->s_bcache = &sbd->s_free[0]; in detected_sysv4() [all …]
|
/linux-2.6.39/drivers/block/ |
D | ps3disk.c | 103 dev_dbg(&dev->sbd.core, in ps3disk_scatter_gather() 124 struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3disk_submit_request_sg() 137 dev_dbg(&dev->sbd.core, in ps3disk_submit_request_sg() 144 dev_dbg(&dev->sbd.core, "%s:%u: %s %llu sectors starting at %llu\n", in ps3disk_submit_request_sg() 150 res = lv1_storage_write(dev->sbd.dev_id, region_id, in ps3disk_submit_request_sg() 154 res = lv1_storage_read(dev->sbd.dev_id, region_id, in ps3disk_submit_request_sg() 159 dev_err(&dev->sbd.core, "%s:%u: %s failed %d\n", __func__, in ps3disk_submit_request_sg() 172 struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3disk_submit_flush_request() 175 dev_dbg(&dev->sbd.core, "%s:%u: flush request\n", __func__, __LINE__); in ps3disk_submit_flush_request() 177 res = lv1_storage_send_device_command(dev->sbd.dev_id, in ps3disk_submit_flush_request() [all …]
|
/linux-2.6.39/drivers/scsi/ |
D | ps3rom.c | 80 dev_dbg(&dev->sbd.core, "%s:%u: id %u, lun %u, channel %u\n", __func__, in ps3rom_slave_configure() 103 dev_dbg(&dev->sbd.core, "%s:%u: send ATAPI command 0x%02x\n", __func__, in ps3rom_atapi_request() 137 res = lv1_storage_send_device_command(dev->sbd.dev_id, in ps3rom_atapi_request() 143 dev_dbg(&dev->sbd.core, in ps3rom_atapi_request() 150 dev_err(&dev->sbd.core, in ps3rom_atapi_request() 176 dev_dbg(&dev->sbd.core, "%s:%u: read %u sectors starting at %u\n", in ps3rom_read_request() 179 res = lv1_storage_read(dev->sbd.dev_id, in ps3rom_read_request() 183 dev_err(&dev->sbd.core, "%s:%u: read failed %d\n", __func__, in ps3rom_read_request() 197 dev_dbg(&dev->sbd.core, "%s:%u: write %u sectors starting at %u\n", in ps3rom_write_request() 202 res = lv1_storage_write(dev->sbd.dev_id, in ps3rom_write_request() [all …]
|
/linux-2.6.39/drivers/char/ |
D | ps3flash.c | 47 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_read_write_sectors() 52 dev_err(&dev->sbd.core, "%s:%u: %s failed 0x%llx\n", __func__, in ps3flash_read_write_sectors() 61 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_writeback() 77 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_fetch() 128 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_read() 134 dev_dbg(&dev->sbd.core, in ps3flash_read() 143 dev_dbg(&dev->sbd.core, in ps3flash_read() 163 dev_dbg(&dev->sbd.core, in ps3flash_read() 197 struct ps3flash_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3flash_write() 203 dev_dbg(&dev->sbd.core, in ps3flash_write() [all …]
|
/linux-2.6.39/arch/powerpc/platforms/ps3/ |
D | device-init.c | 365 p->sbd.match_id = match_id; in ps3_setup_storage_dev() 366 p->sbd.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_storage_dev() 367 p->sbd.bus_id = repo->bus_id; in ps3_setup_storage_dev() 368 p->sbd.dev_id = repo->dev_id; in ps3_setup_storage_dev() 369 p->sbd.d_region = &p->dma_region; in ps3_setup_storage_dev() 375 &p->sbd.interrupt_id); in ps3_setup_storage_dev() 406 result = ps3_system_bus_device_register(&p->sbd); in ps3_setup_storage_dev() 683 struct ps3_system_bus_device sbd; member 744 res = write ? lv1_storage_write(dev->sbd.dev_id, 0, 0, 1, 0, lpar, in ps3_notification_read_write() 746 : lv1_storage_read(dev->sbd.dev_id, 0, 0, 1, 0, lpar, in ps3_notification_read_write() [all …]
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | ps3stor.h | 36 struct ps3_system_bus_device sbd; member 59 return container_of(dev, struct ps3_storage_device, sbd.core); in to_ps3_storage_device()
|
/linux-2.6.39/drivers/net/ |
D | tg3.c | 4979 struct tg3_rx_buffer_desc *sbd, *dbd; in tg3_rx_prodring_xfer() local 4980 sbd = &spr->rx_std[si]; in tg3_rx_prodring_xfer() 4982 dbd->addr_hi = sbd->addr_hi; in tg3_rx_prodring_xfer() 4983 dbd->addr_lo = sbd->addr_lo; in tg3_rx_prodring_xfer() 5037 struct tg3_rx_buffer_desc *sbd, *dbd; in tg3_rx_prodring_xfer() local 5038 sbd = &spr->rx_jmb[si].std; in tg3_rx_prodring_xfer() 5040 dbd->addr_hi = sbd->addr_hi; in tg3_rx_prodring_xfer() 5041 dbd->addr_lo = sbd->addr_lo; in tg3_rx_prodring_xfer()
|