Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/fs/sysv/
Dsuper.c81 struct sysv4_super_block * sbd; in detected_sysv4() local
86 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4()
88 sbd = (struct sysv4_super_block *) bh2->b_data; in detected_sysv4()
93 sbi->s_sbd1 = (char *)sbd; in detected_sysv4()
94 sbi->s_sbd2 = (char *)sbd; in detected_sysv4()
95 sbi->s_sb_fic_count = &sbd->s_ninode; in detected_sysv4()
96 sbi->s_sb_fic_inodes = &sbd->s_inode[0]; in detected_sysv4()
97 sbi->s_sb_total_free_inodes = &sbd->s_tinode; in detected_sysv4()
98 sbi->s_bcache_count = &sbd->s_nfree; in detected_sysv4()
99 sbi->s_bcache = &sbd->s_free[0]; in detected_sysv4()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/block/
Dps3disk.c98 struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3disk_submit_request_sg()
111 dev_dbg(&dev->sbd.core, in ps3disk_submit_request_sg()
118 dev_dbg(&dev->sbd.core, "%s:%u: %s %llu sectors starting at %llu\n", in ps3disk_submit_request_sg()
124 res = lv1_storage_write(dev->sbd.dev_id, region_id, in ps3disk_submit_request_sg()
128 res = lv1_storage_read(dev->sbd.dev_id, region_id, in ps3disk_submit_request_sg()
133 dev_err(&dev->sbd.core, "%s:%u: %s failed %d\n", __func__, in ps3disk_submit_request_sg()
145 struct ps3disk_private *priv = ps3_system_bus_get_drvdata(&dev->sbd); in ps3disk_submit_flush_request()
148 dev_dbg(&dev->sbd.core, "%s:%u: flush request\n", __func__, __LINE__); in ps3disk_submit_flush_request()
150 res = lv1_storage_send_device_command(dev->sbd.dev_id, in ps3disk_submit_flush_request()
154 dev_err(&dev->sbd.core, "%s:%u: sync cache failed 0x%llx\n", in ps3disk_submit_flush_request()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/arch/powerpc/platforms/ps3/
Ddevice-init.c352 p->sbd.match_id = match_id; in ps3_setup_storage_dev()
353 p->sbd.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_storage_dev()
354 p->sbd.bus_id = repo->bus_id; in ps3_setup_storage_dev()
355 p->sbd.dev_id = repo->dev_id; in ps3_setup_storage_dev()
356 p->sbd.d_region = &p->dma_region; in ps3_setup_storage_dev()
362 &p->sbd.interrupt_id); in ps3_setup_storage_dev()
393 result = ps3_system_bus_device_register(&p->sbd); in ps3_setup_storage_dev()
670 struct ps3_system_bus_device sbd; member
732 res = write ? lv1_storage_write(dev->sbd.dev_id, 0, 0, 1, 0, lpar, in ps3_notification_read_write()
734 : lv1_storage_read(dev->sbd.dev_id, 0, 0, 1, 0, lpar, in ps3_notification_read_write()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Dps3stor.h24 struct ps3_system_bus_device sbd; member
47 return container_of(dev, struct ps3_storage_device, sbd.core); in to_ps3_storage_device()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dtg3.c7088 struct tg3_rx_buffer_desc *sbd, *dbd; in tg3_rx_prodring_xfer() local
7089 sbd = &spr->rx_std[si]; in tg3_rx_prodring_xfer()
7091 dbd->addr_hi = sbd->addr_hi; in tg3_rx_prodring_xfer()
7092 dbd->addr_lo = sbd->addr_lo; in tg3_rx_prodring_xfer()
7146 struct tg3_rx_buffer_desc *sbd, *dbd; in tg3_rx_prodring_xfer() local
7147 sbd = &spr->rx_jmb[si].std; in tg3_rx_prodring_xfer()
7149 dbd->addr_hi = sbd->addr_hi; in tg3_rx_prodring_xfer()
7150 dbd->addr_lo = sbd->addr_lo; in tg3_rx_prodring_xfer()