Home
last modified time | relevance | path

Searched refs:sdw_bus (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/soundwire/
Dbus.h10 u64 sdw_dmi_override_adr(struct sdw_bus *bus, u64 addr);
13 int sdw_acpi_find_slaves(struct sdw_bus *bus);
15 static inline int sdw_acpi_find_slaves(struct sdw_bus *bus) in sdw_acpi_find_slaves()
21 int sdw_of_find_slaves(struct sdw_bus *bus);
22 void sdw_extract_slave_id(struct sdw_bus *bus,
24 int sdw_slave_add(struct sdw_bus *bus, struct sdw_slave_id *id,
26 int sdw_master_device_add(struct sdw_bus *bus, struct device *parent,
28 int sdw_master_device_del(struct sdw_bus *bus);
31 void sdw_bus_debugfs_init(struct sdw_bus *bus);
32 void sdw_bus_debugfs_exit(struct sdw_bus *bus);
[all …]
Dcadence_master.h89 struct sdw_bus *bus;
114 struct sdw_bus bus;
171 cdns_reset_page_addr(struct sdw_bus *bus, unsigned int dev_num);
174 cdns_xfer_msg(struct sdw_bus *bus, struct sdw_msg *msg);
177 cdns_xfer_msg_defer(struct sdw_bus *bus,
180 u32 cdns_read_ping_status(struct sdw_bus *bus);
182 int cdns_bus_conf(struct sdw_bus *bus, struct sdw_bus_params *params);
Dslave.c25 int sdw_slave_add(struct sdw_bus *bus, in sdw_slave_add()
96 static bool find_slave(struct sdw_bus *bus, in find_slave()
132 struct sdw_bus *bus;
141 struct sdw_bus *bus = cwd->bus; in sdw_acpi_check_duplicate()
171 struct sdw_bus *bus = data; in sdw_acpi_find_one()
202 int sdw_acpi_find_slaves(struct sdw_bus *bus) in sdw_acpi_find_slaves()
223 int sdw_of_find_slaves(struct sdw_bus *bus) in sdw_of_find_slaves()
Dbus.c17 static int sdw_get_id(struct sdw_bus *bus) in sdw_get_id()
37 int sdw_bus_master_add(struct sdw_bus *bus, struct device *parent, in sdw_bus_master_add()
152 struct sdw_bus *bus = slave->bus; in sdw_delete_slave()
178 void sdw_bus_master_delete(struct sdw_bus *bus) in sdw_bus_master_delete()
209 static inline int do_transfer(struct sdw_bus *bus, struct sdw_msg *msg) in do_transfer()
227 static inline int do_transfer_defer(struct sdw_bus *bus, in do_transfer_defer()
250 static int sdw_reset_page(struct sdw_bus *bus, u16 dev_num) in sdw_reset_page()
267 static int sdw_transfer_unlocked(struct sdw_bus *bus, struct sdw_msg *msg) in sdw_transfer_unlocked()
289 int sdw_transfer(struct sdw_bus *bus, struct sdw_msg *msg) in sdw_transfer()
307 void sdw_show_ping_status(struct sdw_bus *bus, bool sync_delay) in sdw_show_ping_status()
[all …]
Dgeneric_bandwidth_allocation.c95 struct sdw_bus *bus = m_rt->bus; in sdw_compute_master_ports()
142 static void _sdw_compute_port_params(struct sdw_bus *bus, in _sdw_compute_port_params()
167 static int sdw_compute_group_params(struct sdw_bus *bus, in sdw_compute_group_params()
238 static int sdw_get_group_count(struct sdw_bus *bus, in sdw_get_group_count()
275 static int sdw_compute_port_params(struct sdw_bus *bus) in sdw_compute_port_params()
310 static int sdw_select_row_col(struct sdw_bus *bus, int clk_freq) in sdw_select_row_col()
343 static int sdw_compute_bus_params(struct sdw_bus *bus) in sdw_compute_bus_params()
407 int sdw_compute_params(struct sdw_bus *bus) in sdw_compute_params()
Dstream.c62 static int _sdw_program_slave_port_params(struct sdw_bus *bus, in _sdw_program_slave_port_params()
125 static int sdw_program_slave_port_params(struct sdw_bus *bus, in sdw_program_slave_port_params()
238 static int sdw_program_master_port_params(struct sdw_bus *bus, in sdw_program_master_port_params()
269 struct sdw_bus *bus = m_rt->bus; in sdw_program_port_params()
303 static int sdw_enable_disable_slave_ports(struct sdw_bus *bus, in sdw_enable_disable_slave_ports()
339 struct sdw_bus *bus = m_rt->bus; in sdw_enable_disable_master_ports()
427 static int sdw_prep_deprep_slave_ports(struct sdw_bus *bus, in sdw_prep_deprep_slave_ports()
519 struct sdw_bus *bus = m_rt->bus; in sdw_prep_deprep_master_ports()
586 struct sdw_bus *bus = m_rt->bus; in sdw_notify_config()
629 static int sdw_program_params(struct sdw_bus *bus, bool prepare) in sdw_program_params()
[all …]
Dintel.c197 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_m_datamode()
215 struct sdw_bus *bus = &sdw->cdns.bus; in intel_set_s_datamode()
389 struct sdw_bus *bus = &sdw->cdns.bus; in intel_link_power_up()
748 static int intel_pre_bank_switch(struct sdw_bus *bus) in intel_pre_bank_switch()
762 static int intel_post_bank_switch(struct sdw_bus *bus) in intel_post_bank_switch()
1230 struct sdw_bus *bus = &cdns->bus; in intel_start_bus()
1279 struct sdw_bus *bus = &cdns->bus; in intel_start_bus_after_reset()
1426 static int sdw_master_read_intel_prop(struct sdw_bus *bus) in sdw_master_read_intel_prop()
1463 static int intel_prop_read(struct sdw_bus *bus) in intel_prop_read()
1497 struct sdw_bus *bus; in intel_link_probe()
[all …]
Dmaster.c127 int sdw_master_device_add(struct sdw_bus *bus, struct device *parent, in sdw_master_device_add()
182 int sdw_master_device_del(struct sdw_bus *bus) in sdw_master_device_del()
Ddebugfs.c14 void sdw_bus_debugfs_init(struct sdw_bus *bus) in sdw_bus_debugfs_init()
26 void sdw_bus_debugfs_exit(struct sdw_bus *bus) in sdw_bus_debugfs_exit()
Dcadence_master.c377 struct sdw_bus *bus; in cdns_parity_error_injection()
699 cdns_xfer_msg(struct sdw_bus *bus, struct sdw_msg *msg) in cdns_xfer_msg()
724 cdns_xfer_msg_defer(struct sdw_bus *bus, in cdns_xfer_msg_defer()
746 cdns_reset_page_addr(struct sdw_bus *bus, unsigned int dev_num) in cdns_reset_page_addr()
759 u32 cdns_read_ping_status(struct sdw_bus *bus) in cdns_read_ping_status()
1284 struct sdw_bus *bus = &cdns->bus; in cdns_init_clock_ctrl()
1366 int cdns_bus_conf(struct sdw_bus *bus, struct sdw_bus_params *params) in cdns_bus_conf()
1393 static int cdns_port_params(struct sdw_bus *bus, in cdns_port_params()
1432 static int cdns_transport_params(struct sdw_bus *bus, in cdns_transport_params()
1522 static int cdns_port_enable(struct sdw_bus *bus, in cdns_port_enable()
Ddmi-quirks.c119 u64 sdw_dmi_override_adr(struct sdw_bus *bus, u64 addr) in sdw_dmi_override_adr()
Dqcom.c142 struct sdw_bus bus;
461 static void qcom_swrm_set_slave_dev_num(struct sdw_bus *bus, in qcom_swrm_set_slave_dev_num()
480 static int qcom_swrm_enumerate(struct sdw_bus *bus) in qcom_swrm_enumerate()
727 static enum sdw_command_response qcom_swrm_xfer_msg(struct sdw_bus *bus, in qcom_swrm_xfer_msg()
761 static int qcom_swrm_pre_bank_switch(struct sdw_bus *bus) in qcom_swrm_pre_bank_switch()
775 static int qcom_swrm_port_params(struct sdw_bus *bus, in qcom_swrm_port_params()
786 static int qcom_swrm_transport_params(struct sdw_bus *bus, in qcom_swrm_transport_params()
845 static int qcom_swrm_port_enable(struct sdw_bus *bus, in qcom_swrm_port_enable()
874 static int qcom_swrm_compute_params(struct sdw_bus *bus) in qcom_swrm_compute_params()
Dmipi_disco.c30 int sdw_master_read_prop(struct sdw_bus *bus) in sdw_master_read_prop()
Dintel_init.c174 struct sdw_bus *bus; in sdw_intel_probe_controller()
/linux-6.1.9/include/linux/soundwire/
Dsdw.h10 struct sdw_bus;
454 int sdw_master_read_prop(struct sdw_bus *bus);
668 struct sdw_bus *bus;
696 struct sdw_bus *bus;
724 int sdw_handle_slave_status(struct sdw_bus *bus,
806 int (*dpn_set_port_params)(struct sdw_bus *bus,
809 int (*dpn_set_port_transport_params)(struct sdw_bus *bus,
812 int (*dpn_port_prep)(struct sdw_bus *bus,
814 int (*dpn_port_enable_ch)(struct sdw_bus *bus,
846 int (*read_prop)(struct sdw_bus *bus);
[all …]
/linux-6.1.9/Documentation/driver-api/soundwire/
Dlocking.rst17 (sdw_bus) which is used for every Bus instance. This lock is used to
30 Bus data structure (sdw_bus). This lock is used to serialize the message
Dsummary.rst104 int sdw_bus_master_add(struct sdw_bus *bus,
122 This will initialize sdw_bus object for Master device. "sdw_master_ops" and
Dstream.rst325 int sdw_stream_add_master(struct sdw_bus * bus,
501 int sdw_stream_remove_master(struct sdw_bus * bus,