Loading include/asoc/core.h +20 −20 Original line number Diff line number Diff line Loading @@ -437,98 +437,98 @@ static inline int __init wcd9xxx_irq_of_init(struct device_node *node, int wcd9xxx_init(void); void wcd9xxx_exit(void); #else int wcd9xxx_interface_reg_read(struct wcd9xxx *wcd9xxx, unsigned short reg) static inline int wcd9xxx_interface_reg_read(struct wcd9xxx *wcd9xxx, unsigned short reg) { return 0; } int wcd9xxx_interface_reg_write(struct wcd9xxx *wcd9xxx, unsigned short reg, static inline int wcd9xxx_interface_reg_write(struct wcd9xxx *wcd9xxx, unsigned short reg, u8 val) { return 0; } int wcd9xxx_get_logical_addresses(u8 *pgd_la, u8 *inf_la) static inline int wcd9xxx_get_logical_addresses(u8 *pgd_la, u8 *inf_la) { return 0; } int wcd9xxx_slim_write_repeat(struct wcd9xxx *wcd9xxx, unsigned short reg, static inline int wcd9xxx_slim_write_repeat(struct wcd9xxx *wcd9xxx, unsigned short reg, int bytes, void *src) { return 0; } int wcd9xxx_slim_reserve_bw(struct wcd9xxx *wcd9xxx, static inline int wcd9xxx_slim_reserve_bw(struct wcd9xxx *wcd9xxx, u32 bw_ops, bool commit) { return 0; } int wcd9xxx_set_power_state(struct wcd9xxx *wcd9xxx, enum codec_power_states static inline int wcd9xxx_set_power_state(struct wcd9xxx *wcd9xxx, enum codec_power_states cdc_power_state, enum wcd_power_regions pwr_region) { return 0; } int wcd9xxx_get_current_power_state(struct wcd9xxx *wcd9xxx, static inline int wcd9xxx_get_current_power_state(struct wcd9xxx *wcd9xxx, enum wcd_power_regions pwr_region) { return 0; } int wcd9xxx_page_write(struct wcd9xxx *wcd9xxx, unsigned short *reg) static inline int wcd9xxx_page_write(struct wcd9xxx *wcd9xxx, unsigned short *reg) { return 0; } int wcd9xxx_slim_bulk_write(struct wcd9xxx *wcd9xxx, static inline int wcd9xxx_slim_bulk_write(struct wcd9xxx *wcd9xxx, struct wcd9xxx_reg_val *bulk_reg, unsigned int size, bool interface) { return 0; } extern int wcd9xxx_core_res_init( static inline int wcd9xxx_core_res_init( struct wcd9xxx_core_resource *wcd9xxx_core_res, int num_irqs, int num_irq_regs, struct regmap *wcd_regmap) { return 0; } extern void wcd9xxx_core_res_deinit( static inline void wcd9xxx_core_res_deinit( struct wcd9xxx_core_resource *wcd9xxx_core_res) { } extern int wcd9xxx_core_res_suspend( static inline int wcd9xxx_core_res_suspend( struct wcd9xxx_core_resource *wcd9xxx_core_res, pm_message_t pmesg) { return 0; } extern int wcd9xxx_core_res_resume( static inline int wcd9xxx_core_res_resume( struct wcd9xxx_core_resource *wcd9xxx_core_res) { return 0; } extern int wcd9xxx_core_irq_init( static inline int wcd9xxx_core_irq_init( struct wcd9xxx_core_resource *wcd9xxx_core_res) { return 0; } extern int wcd9xxx_assign_irq(struct wcd9xxx_core_resource *wcd9xxx_core_res, static inline int wcd9xxx_assign_irq(struct wcd9xxx_core_resource *wcd9xxx_core_res, unsigned int irq, unsigned int irq_base) { return 0; } extern enum wcd9xxx_intf_status wcd9xxx_get_intf_type(void) static inline enum wcd9xxx_intf_status wcd9xxx_get_intf_type(void) { return 0; } extern void wcd9xxx_set_intf_type(enum wcd9xxx_intf_status int_state) static inline void wcd9xxx_set_intf_type(enum wcd9xxx_intf_status int_state) { } extern enum wcd9xxx_pm_state wcd9xxx_pm_cmpxchg( static inline enum wcd9xxx_pm_state wcd9xxx_pm_cmpxchg( struct wcd9xxx_core_resource *wcd9xxx_core_res, enum wcd9xxx_pm_state o, enum wcd9xxx_pm_state n) Loading @@ -541,11 +541,11 @@ static inline int __init wcd9xxx_irq_of_init(struct device_node *node, return 0; } int wcd9xxx_init(void) static inline int wcd9xxx_init(void) { return 0; } void wcd9xxx_exit(void) static inline void wcd9xxx_exit(void) { } Loading include/soc/snd_event.h +2 −2 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ #ifndef _SND_EVENT_H_ Loading Loading @@ -33,7 +33,7 @@ int snd_event_notify(struct device *dev, unsigned int state); void snd_event_mstr_add_client(struct snd_event_clients **snd_clients, int (*compare)(struct device *, void *), void *data); inline bool is_snd_event_fwk_enabled(void) static inline bool is_snd_event_fwk_enabled(void) { return 1; } Loading Loading
include/asoc/core.h +20 −20 Original line number Diff line number Diff line Loading @@ -437,98 +437,98 @@ static inline int __init wcd9xxx_irq_of_init(struct device_node *node, int wcd9xxx_init(void); void wcd9xxx_exit(void); #else int wcd9xxx_interface_reg_read(struct wcd9xxx *wcd9xxx, unsigned short reg) static inline int wcd9xxx_interface_reg_read(struct wcd9xxx *wcd9xxx, unsigned short reg) { return 0; } int wcd9xxx_interface_reg_write(struct wcd9xxx *wcd9xxx, unsigned short reg, static inline int wcd9xxx_interface_reg_write(struct wcd9xxx *wcd9xxx, unsigned short reg, u8 val) { return 0; } int wcd9xxx_get_logical_addresses(u8 *pgd_la, u8 *inf_la) static inline int wcd9xxx_get_logical_addresses(u8 *pgd_la, u8 *inf_la) { return 0; } int wcd9xxx_slim_write_repeat(struct wcd9xxx *wcd9xxx, unsigned short reg, static inline int wcd9xxx_slim_write_repeat(struct wcd9xxx *wcd9xxx, unsigned short reg, int bytes, void *src) { return 0; } int wcd9xxx_slim_reserve_bw(struct wcd9xxx *wcd9xxx, static inline int wcd9xxx_slim_reserve_bw(struct wcd9xxx *wcd9xxx, u32 bw_ops, bool commit) { return 0; } int wcd9xxx_set_power_state(struct wcd9xxx *wcd9xxx, enum codec_power_states static inline int wcd9xxx_set_power_state(struct wcd9xxx *wcd9xxx, enum codec_power_states cdc_power_state, enum wcd_power_regions pwr_region) { return 0; } int wcd9xxx_get_current_power_state(struct wcd9xxx *wcd9xxx, static inline int wcd9xxx_get_current_power_state(struct wcd9xxx *wcd9xxx, enum wcd_power_regions pwr_region) { return 0; } int wcd9xxx_page_write(struct wcd9xxx *wcd9xxx, unsigned short *reg) static inline int wcd9xxx_page_write(struct wcd9xxx *wcd9xxx, unsigned short *reg) { return 0; } int wcd9xxx_slim_bulk_write(struct wcd9xxx *wcd9xxx, static inline int wcd9xxx_slim_bulk_write(struct wcd9xxx *wcd9xxx, struct wcd9xxx_reg_val *bulk_reg, unsigned int size, bool interface) { return 0; } extern int wcd9xxx_core_res_init( static inline int wcd9xxx_core_res_init( struct wcd9xxx_core_resource *wcd9xxx_core_res, int num_irqs, int num_irq_regs, struct regmap *wcd_regmap) { return 0; } extern void wcd9xxx_core_res_deinit( static inline void wcd9xxx_core_res_deinit( struct wcd9xxx_core_resource *wcd9xxx_core_res) { } extern int wcd9xxx_core_res_suspend( static inline int wcd9xxx_core_res_suspend( struct wcd9xxx_core_resource *wcd9xxx_core_res, pm_message_t pmesg) { return 0; } extern int wcd9xxx_core_res_resume( static inline int wcd9xxx_core_res_resume( struct wcd9xxx_core_resource *wcd9xxx_core_res) { return 0; } extern int wcd9xxx_core_irq_init( static inline int wcd9xxx_core_irq_init( struct wcd9xxx_core_resource *wcd9xxx_core_res) { return 0; } extern int wcd9xxx_assign_irq(struct wcd9xxx_core_resource *wcd9xxx_core_res, static inline int wcd9xxx_assign_irq(struct wcd9xxx_core_resource *wcd9xxx_core_res, unsigned int irq, unsigned int irq_base) { return 0; } extern enum wcd9xxx_intf_status wcd9xxx_get_intf_type(void) static inline enum wcd9xxx_intf_status wcd9xxx_get_intf_type(void) { return 0; } extern void wcd9xxx_set_intf_type(enum wcd9xxx_intf_status int_state) static inline void wcd9xxx_set_intf_type(enum wcd9xxx_intf_status int_state) { } extern enum wcd9xxx_pm_state wcd9xxx_pm_cmpxchg( static inline enum wcd9xxx_pm_state wcd9xxx_pm_cmpxchg( struct wcd9xxx_core_resource *wcd9xxx_core_res, enum wcd9xxx_pm_state o, enum wcd9xxx_pm_state n) Loading @@ -541,11 +541,11 @@ static inline int __init wcd9xxx_irq_of_init(struct device_node *node, return 0; } int wcd9xxx_init(void) static inline int wcd9xxx_init(void) { return 0; } void wcd9xxx_exit(void) static inline void wcd9xxx_exit(void) { } Loading
include/soc/snd_event.h +2 −2 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ #ifndef _SND_EVENT_H_ Loading Loading @@ -33,7 +33,7 @@ int snd_event_notify(struct device *dev, unsigned int state); void snd_event_mstr_add_client(struct snd_event_clients **snd_clients, int (*compare)(struct device *, void *), void *data); inline bool is_snd_event_fwk_enabled(void) static inline bool is_snd_event_fwk_enabled(void) { return 1; } Loading