Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/ps3/
Dps3stor_lib.c38 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 …]
Dvuart.h63 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()
Dps3-lpm.c141 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/
Dsuper.c80 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/
Dps3disk.c103 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/
Dps3rom.c80 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/
Dps3flash.c47 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/
Ddevice-init.c365 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/
Dps3stor.h36 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/
Dtg3.c4979 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()