ps3_system_bus_device
struct ps3_system_bus_device;
int ps3_dma_region_init(struct ps3_system_bus_device *dev,
struct ps3_system_bus_device *dev;
int ps3_mmio_region_init(struct ps3_system_bus_device *dev,
int ps3_sb_event_receive_port_setup(struct ps3_system_bus_device *dev,
int ps3_sb_event_receive_port_destroy(struct ps3_system_bus_device *dev,
int ps3_open_hv_device(struct ps3_system_bus_device *dev);
int ps3_close_hv_device(struct ps3_system_bus_device *dev);
int (*probe)(struct ps3_system_bus_device *);
void (*remove)(struct ps3_system_bus_device *);
void (*shutdown)(struct ps3_system_bus_device *);
int ps3_system_bus_device_register(struct ps3_system_bus_device *dev);
static inline struct ps3_system_bus_device *ps3_dev_to_system_bus_dev(
return container_of(_dev, struct ps3_system_bus_device, core);
ps3_system_bus_dev_to_system_bus_drv(struct ps3_system_bus_device *_dev)
struct ps3_system_bus_device *dev, void *data)
struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *dev;
void (*power_off)(struct ps3_system_bus_device *dev);
void (*restart)(struct ps3_system_bus_device *dev);
struct ps3_system_bus_device *dev;
struct ps3_system_bus_device sbd;
struct ps3_system_bus_device dev;
struct ps3_system_bus_device dev;
struct ps3_system_bus_device dev;
struct ps3_system_bus_device *dev;
struct ps3_system_bus_device dev;
struct ps3_system_bus_device dev;
struct ps3_system_bus_device dev;
struct ps3_system_bus_device sbd;
int ps3_sb_event_receive_port_setup(struct ps3_system_bus_device *dev,
int ps3_sb_event_receive_port_destroy(struct ps3_system_bus_device *dev,
int ps3_dma_region_init(struct ps3_system_bus_device *dev,
static int ps3_open_hv_device_gpu(struct ps3_system_bus_device *dev)
static int ps3_close_hv_device_gpu(struct ps3_system_bus_device *dev)
int ps3_open_hv_device(struct ps3_system_bus_device *dev)
int ps3_close_hv_device(struct ps3_system_bus_device *dev)
int ps3_mmio_region_init(struct ps3_system_bus_device *dev,
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
static int ps3_is_device(struct ps3_system_bus_device *dev, u64 bus_id,
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
static int ps3_open_hv_device_sb(struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
int ps3_system_bus_device_register(struct ps3_system_bus_device *dev)
static int ps3_close_hv_device_sb(struct ps3_system_bus_device *dev)
static int ps3disk_probe(struct ps3_system_bus_device *_dev)
static void ps3disk_remove(struct ps3_system_bus_device *_dev)
static void ps3vram_notifier_reset(struct ps3_system_bus_device *dev)
static int ps3vram_notifier_wait(struct ps3_system_bus_device *dev,
static void ps3vram_init_ring(struct ps3_system_bus_device *dev)
static int ps3vram_wait_ring(struct ps3_system_bus_device *dev,
static void ps3vram_rewind_ring(struct ps3_system_bus_device *dev)
static void ps3vram_fire_ring(struct ps3_system_bus_device *dev)
static void ps3vram_bind(struct ps3_system_bus_device *dev)
static int ps3vram_upload(struct ps3_system_bus_device *dev,
static int ps3vram_download(struct ps3_system_bus_device *dev,
static void ps3vram_cache_evict(struct ps3_system_bus_device *dev, int entry)
static void ps3vram_cache_load(struct ps3_system_bus_device *dev, int entry,
static void ps3vram_cache_flush(struct ps3_system_bus_device *dev)
static unsigned int ps3vram_cache_match(struct ps3_system_bus_device *dev,
static int ps3vram_cache_init(struct ps3_system_bus_device *dev)
static void ps3vram_cache_cleanup(struct ps3_system_bus_device *dev)
static blk_status_t ps3vram_read(struct ps3_system_bus_device *dev, loff_t from,
static blk_status_t ps3vram_write(struct ps3_system_bus_device *dev, loff_t to,
static void ps3vram_proc_init(struct ps3_system_bus_device *dev)
static struct bio *ps3vram_do_bio(struct ps3_system_bus_device *dev,
struct ps3_system_bus_device *dev = bio->bi_bdev->bd_disk->private_data;
static int ps3vram_probe(struct ps3_system_bus_device *dev)
static void ps3vram_remove(struct ps3_system_bus_device *dev)
static int ps3flash_probe(struct ps3_system_bus_device *_dev)
static void ps3flash_remove(struct ps3_system_bus_device *_dev)
static int ps3_gelic_driver_probe(struct ps3_system_bus_device *dev)
static void ps3_gelic_driver_remove(struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *dev;
static int ps3_lpm_probe(struct ps3_system_bus_device *dev)
static void ps3_lpm_remove(struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *sbd;
static int ps3_sys_manager_write(struct ps3_system_bus_device *dev,
static int ps3_sys_manager_send_attr(struct ps3_system_bus_device *dev,
static int ps3_sys_manager_send_next_op(struct ps3_system_bus_device *dev,
struct ps3_system_bus_device *dev)
static int ps3_sys_manager_send_response(struct ps3_system_bus_device *dev,
static int ps3_sys_manager_handle_event(struct ps3_system_bus_device *dev)
static int ps3_sys_manager_handle_cmd(struct ps3_system_bus_device *dev)
static int ps3_sys_manager_handle_msg(struct ps3_system_bus_device *dev)
static void ps3_sys_manager_fin(struct ps3_system_bus_device *dev)
static void ps3_sys_manager_final_power_off(struct ps3_system_bus_device *dev)
static void ps3_sys_manager_final_restart(struct ps3_system_bus_device *dev)
static void ps3_sys_manager_work(struct ps3_system_bus_device *dev)
static int ps3_sys_manager_probe(struct ps3_system_bus_device *dev)
static int ps3_sys_manager_remove(struct ps3_system_bus_device *dev)
static void ps3_sys_manager_shutdown(struct ps3_system_bus_device *dev)
static int ps3_vuart_cleanup(struct ps3_system_bus_device *dev)
static void ps3_vuart_remove(struct ps3_system_bus_device *dev)
static void ps3_vuart_shutdown(struct ps3_system_bus_device *dev)
int ps3_vuart_get_triggers(struct ps3_system_bus_device *dev,
int ps3_vuart_set_triggers(struct ps3_system_bus_device *dev, unsigned int tx,
static int ps3_vuart_get_rx_bytes_waiting(struct ps3_system_bus_device *dev,
static int ps3_vuart_set_interrupt_mask(struct ps3_system_bus_device *dev,
static int ps3_vuart_get_interrupt_status(struct ps3_system_bus_device *dev,
int ps3_vuart_enable_interrupt_tx(struct ps3_system_bus_device *dev)
int ps3_vuart_enable_interrupt_rx(struct ps3_system_bus_device *dev)
int ps3_vuart_enable_interrupt_disconnect(struct ps3_system_bus_device *dev)
int ps3_vuart_disable_interrupt_tx(struct ps3_system_bus_device *dev)
int ps3_vuart_disable_interrupt_rx(struct ps3_system_bus_device *dev)
int ps3_vuart_disable_interrupt_disconnect(struct ps3_system_bus_device *dev)
static int ps3_vuart_raw_write(struct ps3_system_bus_device *dev,
static int ps3_vuart_raw_read(struct ps3_system_bus_device *dev, void *buf,
void ps3_vuart_clear_rx_bytes(struct ps3_system_bus_device *dev,
int ps3_vuart_write(struct ps3_system_bus_device *dev, const void *buf,
static int ps3_vuart_queue_rx_bytes(struct ps3_system_bus_device *dev,
int ps3_vuart_read(struct ps3_system_bus_device *dev, void *buf,
struct ps3_system_bus_device *dev =
int ps3_vuart_read_async(struct ps3_system_bus_device *dev, unsigned int bytes)
void ps3_vuart_cancel_async(struct ps3_system_bus_device *dev)
static int ps3_vuart_handle_interrupt_tx(struct ps3_system_bus_device *dev)
static int ps3_vuart_handle_interrupt_rx(struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *dev)
static int ps3_vuart_handle_port_interrupt(struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *devices[PORT_COUNT];
static int ps3_vuart_probe(struct ps3_system_bus_device *dev)
static void ps3av_shutdown(struct ps3_system_bus_device *dev)
static int ps3av_vuart_write(struct ps3_system_bus_device *dev,
static int ps3av_vuart_read(struct ps3_system_bus_device *dev, void *buf,
struct ps3_system_bus_device *dev;
static int ps3av_probe(struct ps3_system_bus_device *dev)
static int ps3av_remove(struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *disk_sbd;
static int ps3stor_open_hv_device(struct ps3_system_bus_device *sbd)
static int ps3stor_close_hv_device(struct ps3_system_bus_device *sbd)
struct ps3_system_bus_device *dev; /* to convert work to device */
int (*probe)(struct ps3_system_bus_device *);
int (*remove)(struct ps3_system_bus_device *);
void (*shutdown)(struct ps3_system_bus_device *);
void (*work)(struct ps3_system_bus_device *);
ps3_system_bus_dev_to_vuart_drv(struct ps3_system_bus_device *_dev)
static inline struct ps3_system_bus_device *ps3_vuart_work_to_system_bus_dev(
int ps3_vuart_write(struct ps3_system_bus_device *dev, const void *buf,
int ps3_vuart_read(struct ps3_system_bus_device *dev, void *buf,
int ps3_vuart_read_async(struct ps3_system_bus_device *dev, unsigned int bytes);
void ps3_vuart_cancel_async(struct ps3_system_bus_device *dev);
void ps3_vuart_clear_rx_bytes(struct ps3_system_bus_device *dev,
int ps3_vuart_get_triggers(struct ps3_system_bus_device *dev,
int ps3_vuart_set_triggers(struct ps3_system_bus_device *dev, unsigned int tx,
int ps3_vuart_enable_interrupt_tx(struct ps3_system_bus_device *dev);
int ps3_vuart_disable_interrupt_tx(struct ps3_system_bus_device *dev);
int ps3_vuart_enable_interrupt_rx(struct ps3_system_bus_device *dev);
int ps3_vuart_disable_interrupt_rx(struct ps3_system_bus_device *dev);
int ps3_vuart_enable_interrupt_disconnect(struct ps3_system_bus_device *dev);
int ps3_vuart_disable_interrupt_disconnect(struct ps3_system_bus_device *dev);
static int ps3rom_probe(struct ps3_system_bus_device *_dev)
static void ps3rom_remove(struct ps3_system_bus_device *_dev)
static void ps3_ehci_remove(struct ps3_system_bus_device *dev)
static int ps3_ehci_probe(struct ps3_system_bus_device *dev)
static void ps3_ohci_remove(struct ps3_system_bus_device *dev)
static int ps3_ohci_probe(struct ps3_system_bus_device *dev)
static void ps3fb_shutdown(struct ps3_system_bus_device *dev)
static int ps3fb_probe(struct ps3_system_bus_device *dev)
static void snd_ps3_driver_remove(struct ps3_system_bus_device *dev)
static int snd_ps3_driver_probe(struct ps3_system_bus_device *dev)
struct ps3_system_bus_device *ps3_dev;