/openbmc/linux/include/linux/ |
H A D | pm_runtime.h | 104 static inline int pm_runtime_get_if_in_use(struct device *dev) in pm_runtime_get_if_in_use() 118 static inline void pm_suspend_ignore_children(struct device *dev, bool enable) in pm_suspend_ignore_children() 127 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume() 138 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle() 155 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended() 173 static inline bool pm_runtime_active(struct device *dev) in pm_runtime_active() 190 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended() 205 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled() 217 static inline bool pm_runtime_has_no_callbacks(struct device *dev) in pm_runtime_has_no_callbacks() 229 static inline void pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy() [all …]
|
H A D | dev_printk.h | 61 int dev_vprintk_emit(int level, const struct device *dev, in dev_vprintk_emit() 65 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...) in dev_printk_emit() 68 static inline void __dev_printk(const char *level, const struct device *dev, in __dev_printk() 72 void _dev_printk(const char *level, const struct device *dev, in _dev_printk() 77 void _dev_emerg(const struct device *dev, const char *fmt, ...) in _dev_emerg() 80 void _dev_crit(const struct device *dev, const char *fmt, ...) in _dev_crit() 83 void _dev_alert(const struct device *dev, const char *fmt, ...) in _dev_alert() 86 void _dev_err(const struct device *dev, const char *fmt, ...) in _dev_err() 89 void _dev_warn(const struct device *dev, const char *fmt, ...) in _dev_warn() 92 void _dev_notice(const struct device *dev, const char *fmt, ...) in _dev_notice() [all …]
|
/openbmc/u-boot/include/dm/ |
H A D | read.h | 19 static inline const struct device_node *dev_np(struct udevice *dev) in dev_np() 24 static inline const struct device_node *dev_np(struct udevice *dev) in dev_np() 36 static inline ofnode dev_ofnode(struct udevice *dev) in dev_ofnode() 41 static inline bool dev_of_valid(struct udevice *dev) in dev_of_valid() 526 static inline int dev_read_u32(struct udevice *dev, in dev_read_u32() 532 static inline int dev_read_u32_default(struct udevice *dev, in dev_read_u32_default() 538 static inline int dev_read_s32(struct udevice *dev, in dev_read_s32() 544 static inline int dev_read_s32_default(struct udevice *dev, in dev_read_s32_default() 550 static inline int dev_read_u32u(struct udevice *dev, in dev_read_u32u() 564 static inline const char *dev_read_string(struct udevice *dev, in dev_read_string() [all …]
|
/openbmc/linux/drivers/base/power/ |
H A D | runtime.c | 21 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback() 48 #define RPM_GET_CALLBACK(dev, callback) \ argument 65 static void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting() 93 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status() 99 static u64 rpm_get_accounted_time(struct device *dev, bool suspended) in rpm_get_accounted_time() 114 u64 pm_runtime_active_time(struct device *dev) in pm_runtime_active_time() 119 u64 pm_runtime_suspended_time(struct device *dev) in pm_runtime_suspended_time() 129 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer() 141 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending() 163 u64 pm_runtime_autosuspend_expiration(struct device *dev) in pm_runtime_autosuspend_expiration() [all …]
|
H A D | generic_ops.c | 20 int pm_generic_runtime_suspend(struct device *dev) in pm_generic_runtime_suspend() 39 int pm_generic_runtime_resume(struct device *dev) in pm_generic_runtime_resume() 58 int pm_generic_prepare(struct device *dev) in pm_generic_prepare() 73 int pm_generic_suspend_noirq(struct device *dev) in pm_generic_suspend_noirq() 85 int pm_generic_suspend_late(struct device *dev) in pm_generic_suspend_late() 97 int pm_generic_suspend(struct device *dev) in pm_generic_suspend() 109 int pm_generic_freeze_noirq(struct device *dev) in pm_generic_freeze_noirq() 121 int pm_generic_freeze_late(struct device *dev) in pm_generic_freeze_late() 133 int pm_generic_freeze(struct device *dev) in pm_generic_freeze() 145 int pm_generic_poweroff_noirq(struct device *dev) in pm_generic_poweroff_noirq() [all …]
|
H A D | power.h | 4 static inline void device_pm_init_common(struct device *dev) in device_pm_init_common() 15 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init() 35 struct device *dev; member 57 static inline void device_wakeup_attach_irq(struct device *dev, in device_wakeup_attach_irq() 60 static inline void device_wakeup_detach_irq(struct device *dev) in device_wakeup_detach_irq() 85 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init() 90 static inline void pm_runtime_init(struct device *dev) {} in pm_runtime_init() 91 static inline void pm_runtime_reinit(struct device *dev) {} in pm_runtime_reinit() 92 static inline void pm_runtime_remove(struct device *dev) {} in pm_runtime_remove() 94 static inline int dpm_sysfs_add(struct device *dev) { return 0; } in dpm_sysfs_add() [all …]
|
H A D | sysfs.c | 101 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show() 108 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store() 124 static ssize_t runtime_active_time_show(struct device *dev, in runtime_active_time_show() 137 static ssize_t runtime_suspended_time_show(struct device *dev, in runtime_suspended_time_show() 150 static ssize_t runtime_status_show(struct device *dev, in runtime_status_show() 182 static ssize_t autosuspend_delay_ms_show(struct device *dev, in autosuspend_delay_ms_show() 192 static ssize_t autosuspend_delay_ms_store(struct device *dev, in autosuspend_delay_ms_store() 211 static ssize_t pm_qos_resume_latency_us_show(struct device *dev, in pm_qos_resume_latency_us_show() 225 static ssize_t pm_qos_resume_latency_us_store(struct device *dev, in pm_qos_resume_latency_us_store() 255 static ssize_t pm_qos_latency_tolerance_us_show(struct device *dev, in pm_qos_latency_tolerance_us_show() [all …]
|
/openbmc/u-boot/drivers/core/ |
H A D | read.c | 14 int dev_read_u32(struct udevice *dev, const char *propname, u32 *outp) in dev_read_u32() 19 int dev_read_u32_default(struct udevice *dev, const char *propname, int def) in dev_read_u32_default() 24 int dev_read_s32(struct udevice *dev, const char *propname, s32 *outp) in dev_read_s32() 29 int dev_read_s32_default(struct udevice *dev, const char *propname, int def) in dev_read_s32_default() 34 int dev_read_u32u(struct udevice *dev, const char *propname, uint *outp) in dev_read_u32u() 47 const char *dev_read_string(struct udevice *dev, const char *propname) in dev_read_string() 52 bool dev_read_bool(struct udevice *dev, const char *propname) in dev_read_bool() 57 ofnode dev_read_subnode(struct udevice *dev, const char *subnode_name) in dev_read_subnode() 62 ofnode dev_read_first_subnode(struct udevice *dev) in dev_read_first_subnode() 72 int dev_read_size(struct udevice *dev, const char *propname) in dev_read_size() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-backend.c | 23 static int vhost_kernel_call(struct vhost_dev *dev, unsigned long int request, in vhost_kernel_call() 35 static int vhost_kernel_init(struct vhost_dev *dev, void *opaque, Error **errp) in vhost_kernel_init() 44 static int vhost_kernel_cleanup(struct vhost_dev *dev) in vhost_kernel_cleanup() 53 static int vhost_kernel_memslots_limit(struct vhost_dev *dev) in vhost_kernel_memslots_limit() 72 static int vhost_kernel_net_set_backend(struct vhost_dev *dev, in vhost_kernel_net_set_backend() 78 static int vhost_kernel_scsi_set_endpoint(struct vhost_dev *dev, in vhost_kernel_scsi_set_endpoint() 84 static int vhost_kernel_scsi_clear_endpoint(struct vhost_dev *dev, in vhost_kernel_scsi_clear_endpoint() 90 static int vhost_kernel_scsi_get_abi_version(struct vhost_dev *dev, int *version) in vhost_kernel_scsi_get_abi_version() 95 static int vhost_kernel_set_log_base(struct vhost_dev *dev, uint64_t base, in vhost_kernel_set_log_base() 101 static int vhost_kernel_set_mem_table(struct vhost_dev *dev, in vhost_kernel_set_mem_table() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | quirks.c | 84 int pcie_failed_link_retrain(struct pci_dev *dev) in pcie_failed_link_retrain() 142 static ktime_t fixup_debug_start(struct pci_dev *dev, in fixup_debug_start() 143 void (*fn)(struct pci_dev *dev)) in fixup_debug_start() 151 static void fixup_debug_report(struct pci_dev *dev, ktime_t calltime, in fixup_debug_report() 152 void (*fn)(struct pci_dev *dev)) in fixup_debug_report() 164 static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, in pci_do_fixups() 207 void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev) in pci_fixup_device() 264 struct pci_dev *dev = NULL; in pci_apply_final_quirks() local 309 static void quirk_mmio_always_on(struct pci_dev *dev) in quirk_mmio_always_on() 327 static void quirk_passive_release(struct pci_dev *dev) in quirk_passive_release() [all …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | ene_ir.c | 35 static void ene_set_reg_addr(struct ene_device *dev, u16 reg) in ene_set_reg_addr() 42 static u8 ene_read_reg(struct ene_device *dev, u16 reg) in ene_read_reg() 52 static void ene_write_reg(struct ene_device *dev, u16 reg, u8 value) in ene_write_reg() 60 static void ene_set_reg_mask(struct ene_device *dev, u16 reg, u8 mask) in ene_set_reg_mask() 68 static void ene_clear_reg_mask(struct ene_device *dev, u16 reg, u8 mask) in ene_clear_reg_mask() 76 static void ene_set_clear_reg_mask(struct ene_device *dev, u16 reg, u8 mask, in ene_set_clear_reg_mask() 86 static int ene_hw_detect(struct ene_device *dev) in ene_hw_detect() 178 static void ene_rx_setup_hw_buffer(struct ene_device *dev) in ene_rx_setup_hw_buffer() 236 static void ene_rx_restore_hw_buffer(struct ene_device *dev) in ene_rx_restore_hw_buffer() 257 static void ene_rx_read_hw_pointer(struct ene_device *dev) in ene_rx_read_hw_pointer() [all …]
|
H A D | ite-cir.c | 134 static void ite_decode_bytes(struct ite_dev *dev, const u8 * data, int in ite_decode_bytes() 176 static void ite_set_carrier_params(struct ite_dev *dev) in ite_set_carrier_params() 226 struct ite_dev *dev = data; in ite_cir_isr() local 289 struct ite_dev *dev = rcdev->priv; in ite_set_rx_carrier_range() local 304 struct ite_dev *dev = rcdev->priv; in ite_set_tx_carrier() local 318 struct ite_dev *dev = rcdev->priv; in ite_set_tx_duty_cycle() local 334 struct ite_dev *dev = rcdev->priv; in ite_tx_ir() local 478 struct ite_dev *dev = rcdev->priv; in ite_s_idle() local 493 static int it87_get_irq_causes(struct ite_dev *dev) in it87_get_irq_causes() 517 static void it87_set_carrier_params(struct ite_dev *dev, bool high_freq, in it87_set_carrier_params() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | wa.c | 20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains() 44 static void b43_wa_rssi_lt(struct b43_wldev *dev) /* RSSI lookup table */ in b43_wa_rssi_lt() 59 static void b43_wa_analog(struct b43_wldev *dev) in b43_wa_analog() 73 static void b43_wa_fft(struct b43_wldev *dev) /* Fine frequency table */ in b43_wa_fft() 82 static void b43_wa_nft(struct b43_wldev *dev) /* Noise figure table */ in b43_wa_nft() 97 static void b43_wa_rt(struct b43_wldev *dev) /* Rotor table */ in b43_wa_rt() 105 static void b43_write_nst(struct b43_wldev *dev, const u16 *nst) in b43_write_nst() 113 static void b43_wa_nst(struct b43_wldev *dev) /* Noise scale table */ in b43_wa_nst() 127 static void b43_wa_art(struct b43_wldev *dev) /* ADV retard table */ in b43_wa_art() 136 static void b43_wa_msst(struct b43_wldev *dev) /* Min sigma square table */ in b43_wa_msst() [all …]
|
H A D | bus.c | 21 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) in b43_bus_bcma_bus_may_powerdown() 25 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, in b43_bus_bcma_bus_powerup() 30 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) in b43_bus_bcma_device_is_enabled() 34 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, in b43_bus_bcma_device_enable() 39 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, in b43_bus_bcma_device_disable() 44 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16() 48 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read32() 53 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_bcma_write16() 58 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_bcma_write32() 63 void b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_bcma_block_read() [all …]
|
H A D | phy_common.c | 28 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate() 77 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free() 83 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init() 125 void b43_phy_exit(struct b43_wldev *dev) in b43_phy_exit() 135 bool b43_has_hardware_pctl(struct b43_wldev *dev) in b43_has_hardware_pctl() 144 void b43_radio_lock(struct b43_wldev *dev) in b43_radio_lock() 162 void b43_radio_unlock(struct b43_wldev *dev) in b43_radio_unlock() 179 void b43_phy_lock(struct b43_wldev *dev) in b43_phy_lock() 191 void b43_phy_unlock(struct b43_wldev *dev) in b43_phy_unlock() 203 static inline void assert_mac_suspended(struct b43_wldev *dev) in assert_mac_suspended() [all …]
|
H A D | phy_lcn.c | 62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup() 109 static void b43_radio_2064_init(struct b43_wldev *dev) in b43_radio_2064_init() 165 static void b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) in b43_phy_lcn_afe_set_unset() 181 static u16 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) in b43_phy_lcn_get_pa_gain() 187 static void b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) in b43_phy_lcn_set_dac_gain() 198 static void b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) in b43_phy_lcn_set_bbmult() 204 static void b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) in b43_phy_lcn_clear_tx_power_offsets() 224 static void b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) in b43_phy_lcn_rev0_baseband_init() 259 static void b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) in b43_phy_lcn_bu_tweaks() 310 static void b43_phy_lcn_sense_setup(struct b43_wldev *dev, in b43_phy_lcn_sense_setup() [all …]
|
/openbmc/linux/net/switchdev/ |
H A D | switchdev.c | 59 struct net_device *dev; member 111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue() 132 struct net_device *dev, in switchdev_port_attr_notify() 158 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now() 166 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred() 180 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer() 197 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set() 224 struct net_device *dev, in switchdev_port_obj_notify() 247 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred() 263 static int switchdev_port_obj_add_defer(struct net_device *dev, in switchdev_port_obj_add_defer() [all …]
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-avcore.c | 46 static int verve_write_byte(struct cx231xx *dev, u8 saddr, u8 data) in verve_write_byte() 52 static int verve_read_byte(struct cx231xx *dev, u8 saddr, u8 *data) in verve_read_byte() 62 void initGPIO(struct cx231xx *dev) in initGPIO() 84 void uninitGPIO(struct cx231xx *dev) in uninitGPIO() 98 static int afe_write_byte(struct cx231xx *dev, u16 saddr, u8 data) in afe_write_byte() 104 static int afe_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) in afe_read_byte() 115 int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count) in cx231xx_afe_init_super_block() 186 int cx231xx_afe_init_channels(struct cx231xx *dev) in cx231xx_afe_init_channels() 235 int cx231xx_afe_setup_AFE_for_baseband(struct cx231xx *dev) in cx231xx_afe_setup_AFE_for_baseband() 256 int cx231xx_afe_set_input_mux(struct cx231xx *dev, u32 input_mux) in cx231xx_afe_set_input_mux() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | main.c | 188 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init() 216 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version() 271 static int mlx5_pci_enable_device(struct mlx5_core_dev *dev) in mlx5_pci_enable_device() 287 static void mlx5_pci_disable_device(struct mlx5_core_dev *dev) in mlx5_pci_disable_device() 325 static u16 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size) in to_fw_pkey_sz() 346 void mlx5_core_uplink_netdev_set(struct mlx5_core_dev *dev, struct net_device *netdev) in mlx5_core_uplink_netdev_set() 355 void mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev *dev) in mlx5_core_uplink_netdev_event_replay() 364 void mlx5_core_mp_event_replay(struct mlx5_core_dev *dev, u32 event, void *data) in mlx5_core_mp_event_replay() 370 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() 417 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() [all …]
|
/openbmc/u-boot/lib/ |
H A D | tpm_api.c | 14 u32 tpm_startup(struct udevice *dev, enum tpm_startup_type mode) in tpm_startup() 38 u32 tpm_auto_start(struct udevice *dev) in tpm_auto_start() 46 u32 tpm_resume(struct udevice *dev) in tpm_resume() 56 u32 tpm_self_test_full(struct udevice *dev) in tpm_self_test_full() 66 u32 tpm_continue_self_test(struct udevice *dev) in tpm_continue_self_test() 76 u32 tpm_clear_and_reenable(struct udevice *dev) in tpm_clear_and_reenable() 104 u32 tpm_nv_enable_locking(struct udevice *dev) in tpm_nv_enable_locking() 114 u32 tpm_nv_read_value(struct udevice *dev, u32 index, void *data, u32 count) in tpm_nv_read_value() 124 u32 tpm_nv_write_value(struct udevice *dev, u32 index, const void *data, in tpm_nv_write_value() 135 u32 tpm_set_global_lock(struct udevice *dev) in tpm_set_global_lock() [all …]
|
/openbmc/linux/drivers/misc/mei/ |
H A D | hw-me.c | 59 static inline u32 mei_me_mecbrw_read(const struct mei_device *dev) in mei_me_mecbrw_read() 70 static inline void mei_me_hcbww_write(struct mei_device *dev, u32 data) in mei_me_hcbww_write() 82 static inline u32 mei_me_mecsr_read(const struct mei_device *dev) in mei_me_mecsr_read() 99 static inline u32 mei_hcsr_read(const struct mei_device *dev) in mei_hcsr_read() 115 static inline void mei_hcsr_write(struct mei_device *dev, u32 reg) in mei_hcsr_write() 128 static inline void mei_hcsr_set(struct mei_device *dev, u32 reg) in mei_hcsr_set() 139 static inline void mei_hcsr_set_hig(struct mei_device *dev) in mei_hcsr_set_hig() 154 static inline u32 mei_me_d0i3c_read(const struct mei_device *dev) in mei_me_d0i3c_read() 170 static inline void mei_me_d0i3c_write(struct mei_device *dev, u32 reg) in mei_me_d0i3c_write() 184 static int mei_me_trc_status(struct mei_device *dev, u32 *trc) in mei_me_trc_status() [all …]
|
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v6.c | 43 #define IS_MFCV6_V2(dev) (!IS_MFCV7_PLUS(dev) && dev->fw_ver == MFC_FW_V2) argument 62 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v6() local 335 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v6() local 394 static int s5p_mfc_alloc_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v6() 417 static void s5p_mfc_release_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v6() 438 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_dec_calc_dpb_size_v6() local 494 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v6() local 516 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v6() local 614 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v6() local 629 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_frame_buffer_v6() local [all …]
|
H A D | s5p_mfc_opr_v5.c | 36 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5() local 63 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v5() local 202 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v5() local 248 static int s5p_mfc_alloc_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v5() 255 static void s5p_mfc_release_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v5() 347 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_desc_buffer() local 357 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_shared_buffer() local 366 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v5() local 380 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v5() local 511 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v5() local [all …]
|
/openbmc/qemu/hw/pci/ |
H A D | pcie.c | 40 #define PCIE_DEV_PRINTF(dev, fmt, ...) \ argument 71 pcie_cap_v1_fill(PCIDevice *dev, uint8_t port, uint8_t type, uint8_t version) in pcie_cap_v1_fill() 163 void pcie_cap_fill_link_ep_usp(PCIDevice *dev, PCIExpLinkWidth width, in pcie_cap_fill_link_ep_usp() 181 static void pcie_cap_fill_slot_lnk(PCIDevice *dev) in pcie_cap_fill_slot_lnk() 218 int pcie_cap_init(PCIDevice *dev, uint8_t offset, in pcie_cap_init() 256 int pcie_cap_v1_init(PCIDevice *dev, uint8_t offset, uint8_t type, in pcie_cap_v1_init() 279 pcie_endpoint_cap_common_init(PCIDevice *dev, uint8_t offset, uint8_t cap_size) in pcie_endpoint_cap_common_init() 308 int pcie_endpoint_cap_init(PCIDevice *dev, uint8_t offset) in pcie_endpoint_cap_init() 313 int pcie_endpoint_cap_v1_init(PCIDevice *dev, uint8_t offset) in pcie_endpoint_cap_v1_init() 318 void pcie_cap_exit(PCIDevice *dev) in pcie_cap_exit() [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | r852.c | 34 static inline uint8_t r852_read_reg(struct r852_device *dev, int address) in r852_read_reg() 41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg() 49 static inline uint32_t r852_read_reg_dword(struct r852_device *dev, int address) in r852_read_reg_dword() 56 static inline void r852_write_reg_dword(struct r852_device *dev, in r852_write_reg_dword() 71 static void r852_dma_test(struct r852_device *dev) in r852_dma_test() 89 static void r852_dma_enable(struct r852_device *dev) in r852_dma_enable() 130 static void r852_dma_done(struct r852_device *dev, int error) in r852_dma_done() 157 static int r852_dma_wait(struct r852_device *dev) in r852_dma_wait() 172 static void r852_do_dma(struct r852_device *dev, uint8_t *buf, int do_read) in r852_do_dma() 232 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_write_buf() local [all …]
|