Home
last modified time | relevance | path

Searched full:slave (Results 1 – 25 of 1260) sorted by relevance

12345678910>>...51

/linux/drivers/soundwire/
H A Dbus.c134 * Create Slave devices based on Slaves described in in sdw_bus_master_add()
171 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local
172 struct sdw_bus *bus = slave->bus; in sdw_delete_slave()
176 sdw_slave_debugfs_exit(slave); in sdw_delete_slave()
180 if (slave->dev_num) { /* clear dev_num if assigned */ in sdw_delete_slave()
181 clear_bit(slave->dev_num, bus->assigned); in sdw_delete_slave()
183 bus->ops->put_device_num(bus, slave); in sdw_delete_slave()
185 list_del_init(&slave->node); in sdw_delete_slave()
281 dev_err(bus->dev, "trf on Slave %d failed:%d %s addr %x count %d\n", in sdw_transfer_unlocked()
290 * sdw_transfer() - Synchronous transfer message to a SDW Slave devic
361 sdw_fill_msg(struct sdw_msg * msg,struct sdw_slave * slave,u32 addr,size_t count,u16 dev_num,u8 flags,u8 * buf) sdw_fill_msg() argument
414 sdw_ntransfer_no_pm(struct sdw_slave * slave,u32 addr,u8 flags,size_t count,u8 * val) sdw_ntransfer_no_pm() argument
451 sdw_nread_no_pm(struct sdw_slave * slave,u32 addr,size_t count,u8 * val) sdw_nread_no_pm() argument
467 sdw_nwrite_no_pm(struct sdw_slave * slave,u32 addr,size_t count,const u8 * val) sdw_nwrite_no_pm() argument
479 sdw_write_no_pm(struct sdw_slave * slave,u32 addr,u8 value) sdw_write_no_pm() argument
556 sdw_read_no_pm(struct sdw_slave * slave,u32 addr) sdw_read_no_pm() argument
569 sdw_update_no_pm(struct sdw_slave * slave,u32 addr,u8 mask,u8 val) sdw_update_no_pm() argument
583 sdw_update(struct sdw_slave * slave,u32 addr,u8 mask,u8 val) sdw_update() argument
608 sdw_nread(struct sdw_slave * slave,u32 addr,size_t count,u8 * val) sdw_nread() argument
639 sdw_nwrite(struct sdw_slave * slave,u32 addr,size_t count,const u8 * val) sdw_nwrite() argument
666 sdw_read(struct sdw_slave * slave,u32 addr) sdw_read() argument
688 sdw_write(struct sdw_slave * slave,u32 addr,u8 value) sdw_write() argument
701 struct sdw_slave *slave; sdw_get_slave() local
711 sdw_compare_devid(struct sdw_slave * slave,struct sdw_slave_id id) sdw_compare_devid() argument
725 sdw_get_device_num(struct sdw_slave * slave) sdw_get_device_num() argument
752 sdw_assign_device_num(struct sdw_slave * slave) sdw_assign_device_num() argument
814 is_clock_scaling_supported_by_slave(struct sdw_slave * slave) is_clock_scaling_supported_by_slave() argument
830 struct sdw_slave *slave, *_s; sdw_program_device_num() local
930 sdw_modify_slave_status(struct sdw_slave * slave,enum sdw_slave_status status) sdw_modify_slave_status() argument
961 sdw_slave_clk_stop_callback(struct sdw_slave * slave,enum sdw_clk_stop_mode mode,enum sdw_clk_stop_type type) sdw_slave_clk_stop_callback() argument
982 sdw_slave_clk_stop_prepare(struct sdw_slave * slave,enum sdw_clk_stop_mode mode,bool prepare) sdw_slave_clk_stop_prepare() argument
1060 struct sdw_slave *slave; sdw_bus_prep_clk_stop() local
1189 struct sdw_slave *slave; sdw_bus_exit_clk_stop() local
1258 sdw_configure_dpn_intr(struct sdw_slave * slave,int port,bool enable,int mask) sdw_configure_dpn_intr() argument
1290 sdw_slave_get_scale_index(struct sdw_slave * slave,u8 * base) sdw_slave_get_scale_index() argument
1365 sdw_slave_get_current_bank(struct sdw_slave * slave) sdw_slave_get_current_bank() argument
1377 sdw_slave_set_frequency(struct sdw_slave * slave) sdw_slave_set_frequency() argument
1419 sdw_initialize_slave(struct sdw_slave * slave) sdw_initialize_slave() argument
1500 sdw_handle_dp0_interrupt(struct sdw_slave * slave,u8 * slave_status) sdw_handle_dp0_interrupt() argument
1572 sdw_handle_port_interrupt(struct sdw_slave * slave,int port,u8 * slave_status) sdw_handle_port_interrupt() argument
1645 sdw_handle_slave_alerts(struct sdw_slave * slave) sdw_handle_slave_alerts() argument
1856 sdw_update_slave_status(struct sdw_slave * slave,enum sdw_slave_status status) sdw_update_slave_status() argument
1885 struct sdw_slave *slave; sdw_handle_slave_status() local
2031 struct sdw_slave *slave; sdw_clear_slave_status() local
2059 sdw_bpt_send_async(struct sdw_bus * bus,struct sdw_slave * slave,struct sdw_bpt_msg * msg) sdw_bpt_send_async() argument
2090 sdw_bpt_wait(struct sdw_bus * bus,struct sdw_slave * slave,struct sdw_bpt_msg * msg) sdw_bpt_wait() argument
2096 sdw_bpt_send_sync(struct sdw_bus * bus,struct sdw_slave * slave,struct sdw_bpt_msg * msg) sdw_bpt_send_sync() argument
[all...]
H A Dbus_type.c14 * @slave: SoundWire Slave Device
15 * @drv: SoundWire Slave Driver
21 sdw_get_device_id(struct sdw_slave *slave, const struct sdw_driver *drv) in sdw_get_device_id() argument
26 if (slave->id.mfg_id == id->mfg_id && in sdw_get_device_id()
27 slave->id.part_id == id->part_id && in sdw_get_device_id()
29 slave->id.sdw_version == id->sdw_version) && in sdw_get_device_id()
31 slave->id.class_id == id->class_id)) in sdw_get_device_id()
39 struct sdw_slave *slave; in sdw_bus_match() local
44 slave in sdw_bus_match()
52 sdw_slave_modalias(const struct sdw_slave * slave,char * buf,size_t size) sdw_slave_modalias() argument
63 const struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_slave_uevent() local
76 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_bus_probe() local
162 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_bus_remove() local
179 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_bus_shutdown() local
[all...]
H A Ddebugfs.c36 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf() argument
41 value = sdw_read_no_pm(slave, reg); in sdw_sprintf()
52 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show() local
60 ret = pm_runtime_get_sync(&slave->dev); in sdw_slave_reg_show()
62 pm_runtime_put_noidle(&slave->dev); in sdw_slave_reg_show()
71 ret += sdw_sprintf(slave, buf, ret, i); in sdw_slave_reg_show()
75 ret += sdw_sprintf(slave, buf, ret, SDW_DP0_CHANNELEN); in sdw_slave_reg_show()
77 ret += sdw_sprintf(slave, buf, ret, i); in sdw_slave_reg_show()
81 ret += sdw_sprintf(slave, buf, ret, in sdw_slave_reg_show()
85 ret += sdw_sprintf(slave, bu in sdw_slave_reg_show()
151 struct sdw_slave *slave = data; set_command() local
169 struct sdw_slave *slave = data; set_command_type() local
188 struct sdw_slave *slave = data; set_start_address() local
204 struct sdw_slave *slave = data; set_num_bytes() local
221 do_bpt_sequence(struct sdw_slave * slave,bool write,u8 * buffer) do_bpt_sequence() argument
248 struct sdw_slave *slave = data; cmd_go() local
338 sdw_slave_debugfs_init(struct sdw_slave * slave) sdw_slave_debugfs_init() argument
366 sdw_slave_debugfs_exit(struct sdw_slave * slave) sdw_slave_debugfs_exit() argument
[all...]
H A Dstream.c66 struct sdw_slave *slave, in _sdw_program_slave_port_params() argument
87 ret = sdw_write_no_pm(slave, addr1, t_params->offset2); in _sdw_program_slave_port_params()
96 ret = sdw_write_no_pm(slave, addr2, t_params->blk_pkg_mode); in _sdw_program_slave_port_params()
114 ret = sdw_write_no_pm(slave, addr3, wbuf); in _sdw_program_slave_port_params()
124 ret = sdw_write_no_pm(slave, addr4, wbuf); in _sdw_program_slave_port_params()
137 struct sdw_slave_prop *slave_prop = &s_rt->slave->prop; in sdw_program_slave_port_params()
144 if (s_rt->slave->is_mockup_device) in sdw_program_slave_port_params()
150 dpn_prop = sdw_get_slave_dpn_prop(s_rt->slave, s_rt->direction, in sdw_program_slave_port_params()
182 ret = sdw_update_no_pm(s_rt->slave, addr1, 0xF, wbuf); in sdw_program_slave_port_params()
184 dev_err(&s_rt->slave in sdw_program_slave_port_params()
422 struct sdw_slave *slave = s_rt->slave; sdw_do_port_prep() local
624 struct sdw_slave *slave; sdw_notify_config() local
669 struct sdw_slave *slave; sdw_program_params() local
1005 sdw_slave_port_free(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_slave_port_free() argument
1025 sdw_slave_port_alloc(struct sdw_slave * slave,struct sdw_slave_runtime * s_rt,unsigned int num_config) sdw_slave_port_alloc() argument
1052 sdw_slave_port_config(struct sdw_slave * slave,struct sdw_slave_runtime * s_rt,const struct sdw_port_config * port_config,bool is_bpt_stream) sdw_slave_port_config() argument
1150 sdw_slave_rt_alloc(struct sdw_slave * slave,struct sdw_master_runtime * m_rt) sdw_slave_rt_alloc() argument
1184 sdw_slave_rt_find(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_slave_rt_find() argument
1209 sdw_slave_rt_free(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_slave_rt_free() argument
1401 sdw_get_slave_dpn_prop(struct sdw_slave * slave,enum sdw_data_direction direction,unsigned int port_num) sdw_get_slave_dpn_prop() argument
2138 sdw_stream_add_slave(struct sdw_slave * slave,struct sdw_stream_config * stream_config,const struct sdw_port_config * port_config,unsigned int num_ports,struct sdw_stream_runtime * stream) sdw_stream_add_slave() argument
2250 sdw_stream_remove_slave(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_stream_remove_slave() argument
[all...]
H A Dbus.h33 void sdw_slave_debugfs_init(struct sdw_slave *slave);
34 void sdw_slave_debugfs_exit(struct sdw_slave *slave);
40 static inline void sdw_slave_debugfs_init(struct sdw_slave *slave) {} in sdw_slave_debugfs_init() argument
41 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {} in sdw_slave_debugfs_exit() argument
53 * @addr: Register address accessed in the Slave
55 * @dev_num: Slave device number
56 * @addr_page1: SCP address page 1 Slave register
57 * @addr_page2: SCP address page 2 Slave register
77 * @addr: Start Register address accessed in the Slave
93 * @dev_num: Slave device number
[all …]
/linux/include/net/
H A Dbonding.h43 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
45 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
47 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
49 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
53 /* slave list primitives */
75 * @pos: current slave
157 struct slave { struct
168 u8 backup:1, /* indicates backup slave. Value corresponds with argument
170 inactive:1, /* indicates inactive slave */ argument
171 rx_disabled:1, /* indicates whether slave's Rx is disabled */ argument
[all …]
H A Dbond_alb.h12 struct slave;
15 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info) argument
49 /* RLB_PROMISC_TIMEOUT = 10 sec equals the time that the current slave is
56 struct slave *tx_slave; /* A pointer to slave used for transmitting
111 struct slave *slave; /* the slave assigned to this client */ member
119 * slave fo
[all...]
/linux/drivers/net/bonding/
H A Dbond_main.c21 * the first slave bonded to the channel. All slaves will then use
28 * will attach eth0 to bond0 as a slave. eth0 hw mac address will either
152 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
157 "2 for only on active slave "
196 MODULE_PARM_DESC(packets_per_slave, "Packets to send per slave in balance-rr "
197 "mode; 0 for a random slave, 1 packet per "
198 "slave (default), >1 packets per slave.");
295 * @slave_dev: slave that is supposed to xmit this skbuff
352 * We don't protect the slave lis
377 struct slave *slave, *rollback_slave; bond_vlan_rx_add_vid() local
412 struct slave *slave; bond_vlan_rx_kill_vid() local
438 struct slave *slave; bond_ipsec_dev() local
472 struct slave *slave; bond_ipsec_add_sa() local
524 struct slave *slave; bond_ipsec_add_sa_all() local
601 struct slave *slave; bond_ipsec_del_sa_all() local
759 struct slave *slave; bond_set_carrier() local
795 bond_update_speed_duplex(struct slave * slave) bond_update_speed_duplex() argument
856 struct slave *slave; bond_set_promiscuity() local
879 struct slave *slave; bond_set_allmulti() local
994 struct slave *slave; bond_get_old_active() local
1098 struct slave *slave, *hprio = NULL; bond_choose_primary_or_current() local
1154 struct slave *slave, *bestslave = NULL; bond_find_best_slave() local
1179 struct slave *slave = NULL; bond_should_notify_peers() local
1392 slave_enable_netpoll(struct slave * slave) slave_enable_netpoll() argument
1411 slave_disable_netpoll(struct slave * slave) slave_disable_netpoll() argument
1426 struct slave *slave = NULL; bond_poll_controller() local
1455 struct slave *slave; bond_netpoll_cleanup() local
1466 struct slave *slave; bond_netpoll_setup() local
1479 slave_enable_netpoll(struct slave * slave) slave_enable_netpoll() argument
1483 slave_disable_netpoll(struct slave * slave) slave_disable_netpoll() argument
1499 struct slave *slave; bond_fix_features() local
1520 struct slave *slave; bond_header_create() local
1541 struct slave *slave; bond_header_parse() local
1590 bond_should_deliver_exact_match(struct sk_buff * skb,struct slave * slave,struct bonding * bond) bond_should_deliver_exact_match() argument
1606 struct slave *slave; bond_handle_frame() local
1706 bond_master_upper_dev_link(struct bonding * bond,struct slave * slave,struct netlink_ext_ack * extack) bond_master_upper_dev_link() argument
1726 bond_upper_dev_unlink(struct bonding * bond,struct slave * slave) bond_upper_dev_unlink() argument
1734 struct slave *slave = to_slave(kobj); slave_kobj_release() local
1751 bond_kobj_init(struct slave * slave) bond_kobj_init() argument
1766 struct slave *slave = NULL; bond_alloc_slave() local
1797 bond_fill_ifslave(struct slave * slave,struct ifslave * info) bond_fill_ifslave() argument
1807 struct slave *slave = container_of(_work, struct slave, bond_netdev_notify_work() local
1822 bond_queue_slave_event(struct slave * slave) bond_queue_slave_event() argument
1827 bond_lower_state_changed(struct slave * slave) bond_lower_state_changed() argument
1870 struct slave *slave; bond_xdp_set_features() local
2430 struct slave *slave, *oldcurrent; __bond_release_one() local
2641 struct slave *slave; bond_slave_info_query() local
2662 struct slave *slave; bond_miimon_inspect() local
2765 bond_miimon_link_change(struct bonding * bond,struct slave * slave,char link) bond_miimon_link_change() argument
2784 struct slave *slave, *primary, *active; bond_miimon_commit() local
2898 struct slave *slave; bond_mii_monitor() local
2967 bond_handle_vlan(struct slave * slave,struct bond_vlan_tag * tags,struct sk_buff * skb) bond_handle_vlan() argument
3012 bond_arp_send(struct slave * slave,int arp_op,__be32 dest_ip,__be32 src_ip,struct bond_vlan_tag * tags) bond_arp_send() argument
3078 bond_arp_send_all(struct bonding * bond,struct slave * slave) bond_arp_send_all() argument
3132 bond_validate_arp(struct bonding * bond,struct slave * slave,__be32 sip,__be32 tip) bond_validate_arp() argument
3153 bond_arp_rcv(const struct sk_buff * skb,struct bonding * bond,struct slave * slave) bond_arp_rcv() argument
3233 bond_ns_send(struct slave * slave,const struct in6_addr * daddr,const struct in6_addr * saddr,struct bond_vlan_tag * tags) bond_ns_send() argument
3257 bond_ns_send_all(struct bonding * bond,struct slave * slave) bond_ns_send_all() argument
3344 bond_validate_na(struct bonding * bond,struct slave * slave,struct in6_addr * saddr,struct in6_addr * daddr) bond_validate_na() argument
3373 bond_na_rcv(const struct sk_buff * skb,struct bonding * bond,struct slave * slave) bond_na_rcv() argument
3422 bond_rcv_validate(const struct sk_buff * skb,struct bonding * bond,struct slave * slave) bond_rcv_validate() argument
3452 bond_send_validate(struct bonding * bond,struct slave * slave) bond_send_validate() argument
3483 struct slave *slave, *oldcurrent; bond_loadbalance_arp_mon() local
3602 struct slave *slave; bond_ab_arp_inspect() local
3673 struct slave *slave; bond_ab_arp_commit() local
3762 struct slave *slave, *before = NULL, *new_slave = NULL, bond_ab_arp_probe() local
3946 struct slave *slave = bond_slave_get_rtnl(slave_dev), *primary; bond_slave_netdev_event() local
4349 struct slave *slave; bond_open() local
4411 struct slave *slave; bond_close() local
4519 struct slave *slave; bond_get_stats() local
4699 struct slave *slave; bond_set_rx_mode() local
4722 struct slave *slave; bond_neigh_init() local
4776 struct slave *slave, *rollback_slave; bond_change_mtu() local
4833 struct slave *slave, *rollback_slave; bond_set_mac_address() local
4902 struct slave *slave; bond_get_slave_by_id() local
4961 struct slave *slave; bond_xmit_roundrobin_slave_get() local
4999 struct slave *slave; bond_xdp_xmit_roundrobin_slave_get() local
5041 struct slave *slave; bond_xmit_roundrobin() local
5062 struct slave *slave; bond_xmit_activebackup() local
5161 struct slave *slave; bond_update_slave_arr() local
5232 struct slave *slave; bond_xmit_3ad_xor_slave_get() local
5301 struct slave *slave; bond_3ad_xor_xmit() local
5331 struct slave *slave = slaves->arr[i]; bond_xmit_broadcast() local
5369 struct slave *slave = NULL; bond_slave_override() local
5419 struct slave *slave = NULL; bond_xmit_get_slave() local
5505 struct slave *slave; __bond_sk_get_lower_dev() local
5613 struct slave *slave; bond_xdp_get_xmit_slave() local
5686 struct slave *slave, *rollback_slave; bond_xdp_set() local
5777 bond_mode_bcast_speed(struct slave * slave,u32 speed) bond_mode_bcast_speed() argument
5853 struct slave *slave; bond_ethtool_get_link_ksettings() local
5902 struct slave *slave; bond_ethtool_get_ts_info() local
6063 struct slave *slave; bond_uninit() local
[all...]
H A Dbond_sysfs_slave.c15 ssize_t (*show)(struct slave *, char *);
21 static ssize_t state_show(struct slave *slave, char *buf) in state_show() argument
23 switch (bond_slave_state(slave)) { in state_show()
34 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show() argument
36 return sysfs_emit(buf, "%s\n", bond_slave_link_status(slave->link)); in mii_status_show()
40 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show() argument
42 return sysfs_emit(buf, "%d\n", slave->link_failure_count); in link_failure_count_show()
46 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show() argument
49 slave->dev->addr_len, in perm_hwaddr_show()
50 slave->perm_hwaddr); in perm_hwaddr_show()
[all …]
H A Dbond_alb.c55 static void alb_send_learning_packets(struct slave *slave, const u8 mac_addr[],
88 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave()
90 SLAVE_TLB_INFO(slave).load = 0; in tlb_init_slave()
91 SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX; in tlb_init_slave()
94 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
100 /* clear slave from tx_hashtbl */ in __tlb_clear_slave()
105 index = SLAVE_TLB_INFO(slave) in __tlb_clear_slave()
87 tlb_init_slave(struct slave * slave) tlb_init_slave() argument
93 __tlb_clear_slave(struct bonding * bond,struct slave * slave,int save_load) __tlb_clear_slave() argument
116 tlb_clear_slave(struct bonding * bond,struct slave * slave,int save_load) tlb_clear_slave() argument
161 compute_gap(struct slave * slave) compute_gap() argument
169 struct slave *slave, *least_loaded; tlb_get_least_loaded_slave() local
273 rlb_arp_recv(const struct sk_buff * skb,struct bonding * bond,struct slave * slave) rlb_arp_recv() argument
309 struct slave *before = NULL, *rx_slave = NULL, *slave; __rlb_next_rx_slave() local
381 rlb_clear_slave(struct bonding * bond,struct slave * slave) rlb_clear_slave() argument
488 rlb_req_update_slave_clients(struct bonding * bond,struct slave * slave) rlb_req_update_slave_clients() argument
925 alb_send_lp_vid(struct slave * slave,const u8 mac_addr[],__be16 vlan_proto,u16 vid) alb_send_lp_vid() argument
960 struct slave *slave; global() member
972 struct slave *slave = data->slave; alb_upper_dev_walk() local
1004 alb_send_learning_packets(struct slave * slave,const u8 mac_addr[],bool strict_match) alb_send_learning_packets() argument
1028 alb_set_slave_mac_addr(struct slave * slave,const u8 addr[],unsigned int len) alb_set_slave_mac_addr() argument
1126 alb_change_hw_addr_on_detach(struct bonding * bond,struct slave * slave) alb_change_hw_addr_on_detach() argument
1169 alb_handle_addr_collision_on_attach(struct bonding * bond,struct slave * slave) alb_handle_addr_collision_on_attach() argument
1247 struct slave *slave, *rollback_slave; alb_set_mac_address() local
1543 struct slave *slave, *curr; bond_alb_monitor() local
1642 bond_alb_init_slave(struct bonding * bond,struct slave * slave) bond_alb_init_slave() argument
1672 bond_alb_deinit_slave(struct bonding * bond,struct slave * slave) bond_alb_deinit_slave() argument
1686 bond_alb_handle_link_change(struct bonding * bond,struct slave * slave,char link) bond_alb_handle_link_change() argument
[all...]
H A Dbond_3ad.c131 if (port->slave == NULL) in __get_bond_by_port()
134 return bond_get_bond_by_slave(port->slave); in __get_bond_by_port()
141 * Return the aggregator of the first slave in @bond, or %NULL if it can't be
148 struct slave *first_slave; in __get_first_agg()
176 * __disable_distributing_port - disable the port's slave for distributing.
180 * This will disable only distributing on the port's slave.
184 bond_set_slave_tx_disabled_flags(port->slave, BOND_SLAVE_NOTIFY_LATER); in __disable_distributing_port()
188 * __enable_collecting_port - enable the port's slave for collecting,
192 * This will enable only collecting on the port's slave.
196 struct slave *slav in __enable_collecting_port() local
221 struct slave *slave = port->slave; __enable_port() local
310 struct slave *slave = port->slave; __get_link_speed() local
421 struct slave *slave = port->slave; __get_duplex() local
875 struct slave *slave; __get_active_agg() local
944 struct slave *slave = port->slave; ad_lacpdu_send() local
988 struct slave *slave = port->slave; ad_marker_send() local
1152 struct slave *slave = port->slave; ad_mux_machine() local
1574 struct slave *slave; ad_port_selection_logic() local
1869 struct slave *slave; ad_agg_selection_logic() local
2101 struct slave *slave = port->slave; ad_enable_collecting() local
2272 bond_3ad_bind_slave(struct slave * slave) bond_3ad_bind_slave() argument
2326 bond_3ad_unbind_slave(struct slave * slave) bond_3ad_unbind_slave() argument
2492 struct slave *slave; bond_3ad_update_ad_actor_settings() local
2555 struct slave *slave; bond_3ad_state_machine_handler() local
2639 bond_3ad_rx_indication(struct lacpdu * lacpdu,struct slave * slave) bond_3ad_rx_indication() argument
2754 bond_3ad_adapter_speed_duplex_changed(struct slave * slave) bond_3ad_adapter_speed_duplex_changed() argument
2781 bond_3ad_handle_link_change(struct slave * slave,char link) bond_3ad_handle_link_change() argument
2888 struct slave *slave; __bond_3ad_get_active_agg_info() local
2926 bond_3ad_lacpdu_recv(const struct sk_buff * skb,struct bonding * bond,struct slave * slave) bond_3ad_lacpdu_recv() argument
2961 struct slave *slave; bond_3ad_update_lacp_rate() local
2986 struct slave *slave; bond_3ad_update_lacp_active() local
[all...]
/linux/drivers/fsi/
H A Dfsi-core.c28 #include "fsi-slave.h"
51 * FSI slave engine control register offsets
55 #define FSI_SSTAT 0x14 /* R : Slave status */
181 return fsi_slave_read(dev->slave, dev->addr + addr, val, size); in fsi_device_read()
191 return fsi_slave_write(dev->slave, dev->addr + addr, val, size); in fsi_device_write()
199 return fsi_slave_read(dev->slave, addr, val, sizeof(uint32_t)); in fsi_device_peek()
210 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device() argument
218 dev->dev.parent = &slave->dev; in fsi_create_device()
225 /* FSI slave support */
226 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr() argument
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c306 static void rem_slave_vlans(struct mlx4_dev *dev, int slave);
307 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource() argument
318 if (slave > dev->persist->num_vfs) in mlx4_grant_resource()
324 (dev->persist->num_vfs + 1) + slave] : in mlx4_grant_resource()
325 res_alloc->allocated[slave]; in mlx4_grant_resource()
330 guaranteed = res_alloc->guaranteed[slave]; in mlx4_grant_resource()
332 if (allocated + count > res_alloc->quota[slave]) { in mlx4_grant_resource()
334 slave, port, resource_str(res_type), count, in mlx4_grant_resource()
335 allocated, res_alloc->quota[slave]); in mlx4_grant_resource()
355 slave, port, resource_str(res_type), free, in mlx4_grant_resource()
[all …]
/linux/sound/soc/codecs/
H A Drt721-sdca-sdw.c223 static int rt721_sdca_update_status(struct sdw_slave *slave, in rt721_sdca_update_status()
226 struct rt721_sdca_priv *rt721 = dev_get_drvdata(&slave->dev); in rt721_sdca_update_status()
239 sdw_write_no_pm(rt721->slave, SDW_SCP_SDCA_INTMASK1, in rt721_sdca_read_prop()
241 sdw_write_no_pm(rt721->slave, SDW_SCP_SDCA_INTMASK2, in rt721_sdca_read_prop()
247 * Perform initialization only if slave status is present and in rt721_sdca_read_prop()
253 /* perform I/O transfers required for Slave initialization */ in rt721_sdca_read_prop()
254 return rt721_sdca_io_init(&slave->dev, slave); in rt721_sdca_read_prop()
257 static int rt721_sdca_read_prop(struct sdw_slave *slave) in rt721_sdca_read_prop()
259 struct sdw_slave_prop *prop = &slave in rt721_sdca_read_prop()
194 rt721_sdca_update_status(struct sdw_slave * slave,enum sdw_slave_status status) rt721_sdca_update_status() argument
228 rt721_sdca_read_prop(struct sdw_slave * slave) rt721_sdca_read_prop() argument
299 rt721_sdca_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) rt721_sdca_interrupt_callback() argument
404 rt721_sdca_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt721_sdca_sdw_probe() argument
421 rt721_sdca_sdw_remove(struct sdw_slave * slave) rt721_sdca_sdw_remove() argument
462 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt721_sdca_dev_system_suspend() local
493 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt721_sdca_dev_resume() local
[all...]
H A Drt711-sdca-sdw.c141 static int rt711_sdca_update_status(struct sdw_slave *slave, in rt711_sdca_update_status() argument
144 struct rt711_sdca_priv *rt711 = dev_get_drvdata(&slave->dev); in rt711_sdca_update_status()
157 sdw_write_no_pm(rt711->slave, SDW_SCP_SDCA_INTMASK1, in rt711_sdca_update_status()
159 sdw_write_no_pm(rt711->slave, SDW_SCP_SDCA_INTMASK2, in rt711_sdca_update_status()
165 * Perform initialization only if slave status is present and in rt711_sdca_update_status()
171 /* perform I/O transfers required for Slave initialization */ in rt711_sdca_update_status()
172 return rt711_sdca_io_init(&slave->dev, slave); in rt711_sdca_update_status()
175 static int rt711_sdca_read_prop(struct sdw_slave *slave) in rt711_sdca_read_prop() argument
177 struct sdw_slave_prop *prop = &slave in rt711_sdca_read_prop()
245 rt711_sdca_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) rt711_sdca_interrupt_callback() argument
351 rt711_sdca_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt711_sdca_sdw_probe() argument
368 rt711_sdca_sdw_remove(struct sdw_slave * slave) rt711_sdca_sdw_remove() argument
408 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt711_sdca_dev_system_suspend() local
439 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt711_sdca_dev_resume() local
[all...]
H A Drt712-sdca-sdw.c164 static int rt712_sdca_update_status(struct sdw_slave *slave, in rt712_sdca_update_status() argument
167 struct rt712_sdca_priv *rt712 = dev_get_drvdata(&slave->dev); in rt712_sdca_update_status()
180 sdw_write_no_pm(rt712->slave, SDW_SCP_SDCA_INTMASK1, in rt712_sdca_update_status()
182 sdw_write_no_pm(rt712->slave, SDW_SCP_SDCA_INTMASK2, in rt712_sdca_update_status()
188 * Perform initialization only if slave status is present and in rt712_sdca_update_status()
194 /* perform I/O transfers required for Slave initialization */ in rt712_sdca_update_status()
195 return rt712_sdca_io_init(&slave->dev, slave); in rt712_sdca_update_status()
198 static int rt712_sdca_read_prop(struct sdw_slave *slave) in rt712_sdca_read_prop() argument
200 struct sdw_slave_prop *prop = &slave in rt712_sdca_read_prop()
262 rt712_sdca_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) rt712_sdca_interrupt_callback() argument
368 rt712_sdca_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt712_sdca_sdw_probe() argument
385 rt712_sdca_sdw_remove(struct sdw_slave * slave) rt712_sdca_sdw_remove() argument
428 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt712_sdca_dev_system_suspend() local
459 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt712_sdca_dev_resume() local
[all...]
H A Drt722-sdca-sdw.c247 static int rt722_sdca_update_status(struct sdw_slave *slave, in rt722_sdca_update_status() argument
250 struct rt722_sdca_priv *rt722 = dev_get_drvdata(&slave->dev); in rt722_sdca_update_status()
263 sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK1, in rt722_sdca_update_status()
265 sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK2, in rt722_sdca_update_status()
271 * Perform initialization only if slave status is present and in rt722_sdca_update_status()
277 /* perform I/O transfers required for Slave initialization */ in rt722_sdca_update_status()
278 return rt722_sdca_io_init(&slave->dev, slave); in rt722_sdca_update_status()
281 static int rt722_sdca_read_prop(struct sdw_slave *slave) in rt722_sdca_read_prop() argument
283 struct sdw_slave_prop *prop = &slave in rt722_sdca_read_prop()
353 rt722_sdca_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) rt722_sdca_interrupt_callback() argument
455 rt722_sdca_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt722_sdca_sdw_probe() argument
470 rt722_sdca_sdw_remove(struct sdw_slave * slave) rt722_sdca_sdw_remove() argument
510 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt722_sdca_dev_system_suspend() local
541 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt722_sdca_dev_resume() local
[all...]
H A Drt766-sdca-sdw.c156 static int rt766_sdca_update_status(struct sdw_slave *slave, in rt766_sdca_update_status() argument
159 struct rt766_sdca_priv *rt766 = dev_get_drvdata(&slave->dev); in rt766_sdca_update_status()
172 sdw_write_no_pm(rt766->slave, SDW_SCP_SDCA_INTMASK3, in rt766_sdca_update_status()
174 sdw_write_no_pm(rt766->slave, SDW_SCP_SDCA_INTMASK4, in rt766_sdca_update_status()
180 * Perform initialization only if slave status is present and in rt766_sdca_update_status()
186 /* perform I/O transfers required for Slave initialization */ in rt766_sdca_update_status()
187 return rt766_sdca_io_init(&slave->dev, slave); in rt766_sdca_update_status()
190 static int rt766_sdca_read_prop(struct sdw_slave *slave) in rt766_sdca_read_prop() argument
192 struct sdw_slave_prop *prop = &slave->prop; in rt766_sdca_read_prop()
195 ret = sdw_slave_read_prop(slave); in rt766_sdca_read_prop()
[all …]
H A Drt5682-sdw.c122 if (!rt5682->slave) in rt5682_sdw_hw_params()
133 retval = sdw_stream_add_slave(rt5682->slave, &stream_config, in rt5682_sdw_hw_params()
231 if (!rt5682->slave) in rt5682_sdw_hw_free()
234 sdw_stream_remove_slave(rt5682->slave, sdw_stream); in rt5682_sdw_hw_free()
299 struct sdw_slave *slave) in rt5682_sdw_init() argument
309 rt5682->slave = slave; in rt5682_sdw_init()
369 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init() argument
386 * PM runtime status is marked as 'active' only when a Slave reports as Attached in rt5682_io_init()
390 pm_runtime_set_active(&slave in rt5682_io_init()
522 rt5682_update_status(struct sdw_slave * slave,enum sdw_slave_status status) rt5682_update_status() argument
541 rt5682_read_prop(struct sdw_slave * slave) rt5682_read_prop() argument
651 rt5682_bus_config(struct sdw_slave * slave,struct sdw_bus_params * params) rt5682_bus_config() argument
666 rt5682_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) rt5682_interrupt_callback() argument
690 rt5682_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt5682_sdw_probe() argument
703 rt5682_sdw_remove(struct sdw_slave * slave) rt5682_sdw_remove() argument
738 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt5682_dev_system_suspend() local
765 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt5682_dev_resume() local
[all...]
/linux/arch/arm/mach-omap2/
H A Domap_hwmod_2xxx_interconnect_data.c26 .slave = &omap2xxx_l4_core_hwmod,
33 .slave = &omap2xxx_l3_main_hwmod,
40 .slave = &omap2xxx_l3_main_hwmod,
53 .slave = &omap2xxx_l4_wkup_hwmod,
60 .slave = &omap2xxx_uart1_hwmod,
68 .slave = &omap2xxx_uart2_hwmod,
76 .slave = &omap2xxx_uart3_hwmod,
84 .slave = &omap2xxx_mcspi1_hwmod,
92 .slave = &omap2xxx_mcspi2_hwmod,
100 .slave = &omap2xxx_timer3_hwmod,
[all …]
/linux/sound/soc/sdca/
H A Dsdca_device.c19 void sdca_lookup_interface_revision(struct sdw_slave *slave) in sdca_lookup_interface_revision()
21 struct fwnode_handle *fwnode = slave->dev.fwnode; in sdca_lookup_interface_revision()
28 &slave->sdca_data.interface_revision); in sdca_lookup_interface_revision()
37 void sdca_lookup_swft(struct sdw_slave *slave) in sdca_lookup_swft()
42 (struct acpi_table_header **)&slave->sdca_data.swft); in sdca_lookup_swft()
44 dev_info(&slave->dev, "SWFT not available\n"); in sdca_lookup_swft()
46 devm_add_action_or_reset(&slave->dev, devm_acpi_table_put, in sdca_lookup_swft()
47 slave->sdca_data.swft); in sdca_lookup_swft()
50 void sdca_lookup_swft(struct sdw_slave *slave) { } in sdca_device_quirk_rt712_vb() argument
54 static bool sdca_device_quirk_rt712_vb(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb()
18 sdca_lookup_interface_revision(struct sdw_slave * slave) sdca_lookup_interface_revision() argument
36 sdca_lookup_swft(struct sdw_slave * slave) sdca_lookup_swft() argument
79 sdca_device_quirk_skip_func_type_patching(struct sdw_slave * slave) sdca_device_quirk_skip_func_type_patching() argument
96 sdca_device_quirk_match(struct sdw_slave * slave,enum sdca_quirk quirk) sdca_device_quirk_match() argument
[all...]
/linux/drivers/net/
H A Deql.c142 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave);
152 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local
154 if ((slave->dev->flags & IFF_UP) == IFF_UP) { in eql_timer()
155 slave->bytes_queued -= slave->priority_Bps; in eql_timer()
156 if (slave->bytes_queued < 0) in eql_timer()
157 slave->bytes_queued = 0; in eql_timer()
159 eql_kill_one_slave(&eql->queue, slave); in eql_timer()
211 "remember to turn off Van-Jacobson compression on your slave devices\n"); in eql_open()
223 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave() argument
225 list_del(&slave->list); in eql_kill_one_slave()
[all …]
/linux/include/linux/soundwire/
H A Dsdw.h89 * enum sdw_slave_status - Slave status
90 * @SDW_SLAVE_UNATTACHED: Slave is not attached with the bus.
91 * @SDW_SLAVE_ATTACHED: Slave is attached with bus.
92 * @SDW_SLAVE_ALERT: Some alert condition on the Slave
206 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
233 * @SDW_CLK_STOP_MODE0: Slave can continue operation seamlessly on clock
235 * @SDW_CLK_STOP_MODE1: Slave may have entered a deeper power-saving mode,
252 * @BRA_flow_controlled: Slave implementation results in an OK_NotReady
336 * struct sdw_slave_prop - SoundWire Slave properties
349 * @reset_behave: Slave keep
1125 sdw_stream_add_slave(struct sdw_slave * slave,struct sdw_stream_config * stream_config,const struct sdw_port_config * port_config,unsigned int num_ports,struct sdw_stream_runtime * stream) sdw_stream_add_slave() argument
1135 sdw_stream_remove_slave(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_stream_remove_slave() argument
1155 sdw_read(struct sdw_slave * slave,u32 addr) sdw_read() argument
1161 sdw_write(struct sdw_slave * slave,u32 addr,u8 value) sdw_write() argument
1167 sdw_write_no_pm(struct sdw_slave * slave,u32 addr,u8 value) sdw_write_no_pm() argument
1173 sdw_read_no_pm(struct sdw_slave * slave,u32 addr) sdw_read_no_pm() argument
1179 sdw_nread(struct sdw_slave * slave,u32 addr,size_t count,u8 * val) sdw_nread() argument
1185 sdw_nread_no_pm(struct sdw_slave * slave,u32 addr,size_t count,u8 * val) sdw_nread_no_pm() argument
1191 sdw_nwrite(struct sdw_slave * slave,u32 addr,size_t count,const u8 * val) sdw_nwrite() argument
1197 sdw_nwrite_no_pm(struct sdw_slave * slave,u32 addr,size_t count,const u8 * val) sdw_nwrite_no_pm() argument
1203 sdw_update(struct sdw_slave * slave,u32 addr,u8 mask,u8 val) sdw_update() argument
1209 sdw_update_no_pm(struct sdw_slave * slave,u32 addr,u8 mask,u8 val) sdw_update_no_pm() argument
1227 sdw_slave_wait_for_init(struct sdw_slave * slave,int timeout_ms) sdw_slave_wait_for_init() argument
[all...]
/linux/Documentation/devicetree/bindings/clock/
H A Damlogic,axg-audio-clkc.yaml46 - description: slave bit clock N0 provided by external components
47 - description: slave bit clock N1 provided by external components
48 - description: slave bit clock N2 provided by external components
49 - description: slave bit clock N3 provided by external components
50 - description: slave bit clock N4 provided by external components
51 - description: slave bit clock N5 provided by external components
52 - description: slave bit clock N6 provided by external components
53 - description: slave bit clock N7 provided by external components
54 - description: slave bit clock N8 provided by external components
55 - description: slave bit clock N9 provided by external components
[all …]
/linux/drivers/i2c/busses/
H A Di2c-designware-slave.c3 * Synopsys DesignWare I2C adapter driver (slave only).
26 int i2c_dw_reg_slave(struct i2c_client *slave) in i2c_dw_reg_slave() argument
28 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_reg_slave()
31 if (!i2c_check_functionality(slave->adapter, I2C_FUNC_SLAVE)) in i2c_dw_reg_slave()
33 if (dev->slave) in i2c_dw_reg_slave()
35 if (slave->flags & I2C_CLIENT_TEN) in i2c_dw_reg_slave()
44 dev->slave = slave; in i2c_dw_reg_slave()
52 int i2c_dw_unreg_slave(struct i2c_client *slave) in i2c_dw_unreg_slave() argument
54 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_unreg_slave()
59 dev->slave = NULL; in i2c_dw_unreg_slave()
[all …]

12345678910>>...51