Home
last modified time | relevance | path

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

12345678910>>...50

/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 device
[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 = dev_to_sdw_dev(dev); in sdw_bus_match()
47 ret = !!sdw_get_device_id(slave, drv); in sdw_bus_match()
[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, buf, ret, i); in sdw_slave_reg_show()
[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->dev, in sdw_program_slave_port_params()
[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 for transmit.
121 u32 load; /* Each slave sums the loadHistory of all clients
138 struct slave *rx_slave;/* last slave to xmit from */
155 int bond_alb_init_slave(struct bonding *bond, struct slave *slave);
156 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave);
[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.c54 static void alb_send_learning_packets(struct slave *slave, const u8 mac_addr[],
87 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave() argument
89 SLAVE_TLB_INFO(slave).load = 0; in tlb_init_slave()
90 SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX; in tlb_init_slave()
93 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave() argument
99 /* clear slave from tx_hashtbl */ in __tlb_clear_slave()
104 index = SLAVE_TLB_INFO(slave).head; in __tlb_clear_slave()
113 tlb_init_slave(slave); in __tlb_clear_slave()
116 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave() argument
120 __tlb_clear_slave(bond, slave, save_load); in tlb_clear_slave()
[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 *slave = port->slave; in __enable_collecting_port() 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.c194 static int rt721_sdca_update_status(struct sdw_slave *slave, in rt721_sdca_update_status() argument
197 struct rt721_sdca_priv *rt721 = dev_get_drvdata(&slave->dev); in rt721_sdca_update_status()
210 sdw_write_no_pm(rt721->slave, SDW_SCP_SDCA_INTMASK1, in rt721_sdca_update_status()
212 sdw_write_no_pm(rt721->slave, SDW_SCP_SDCA_INTMASK2, in rt721_sdca_update_status()
218 * Perform initialization only if slave status is present and in rt721_sdca_update_status()
224 /* perform I/O transfers required for Slave initialization */ in rt721_sdca_update_status()
225 return rt721_sdca_io_init(&slave->dev, slave); in rt721_sdca_update_status()
228 static int rt721_sdca_read_prop(struct sdw_slave *slave) in rt721_sdca_read_prop() argument
230 struct sdw_slave_prop *prop = &slave->prop; in rt721_sdca_read_prop()
237 sdw_slave_read_prop(slave); in rt721_sdca_read_prop()
[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->prop; in rt711_sdca_read_prop()
194 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt711_sdca_read_prop()
[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->prop; in rt712_sdca_read_prop()
207 sdw_slave_read_prop(slave); in rt712_sdca_read_prop()
[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->prop; in rt722_sdca_read_prop()
290 sdw_slave_read_lane_mapping(slave); in rt722_sdca_read_prop()
[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->dev); in rt5682_io_init()
392 pm_runtime_get_noresume(&slave->dev); in rt5682_io_init()
[all …]
/linux/sound/soc/sdca/
H A Dsdca_device.c18 void sdca_lookup_interface_revision(struct sdw_slave *slave) in sdca_lookup_interface_revision() argument
20 struct fwnode_handle *fwnode = slave->dev.fwnode; in sdca_lookup_interface_revision()
27 &slave->sdca_data.interface_revision); in sdca_lookup_interface_revision()
36 void sdca_lookup_swft(struct sdw_slave *slave) in sdca_lookup_swft() argument
41 (struct acpi_table_header **)&slave->sdca_data.swft); in sdca_lookup_swft()
43 dev_info(&slave->dev, "SWFT not available\n"); in sdca_lookup_swft()
45 devm_add_action_or_reset(&slave->dev, devm_acpi_table_put, in sdca_lookup_swft()
46 slave->sdca_data.swft); in sdca_lookup_swft()
50 static bool sdca_device_quirk_rt712_vb(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb() argument
52 struct sdw_slave_id *id = &slave->id; in sdca_device_quirk_rt712_vb()
[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/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 keeps the status of the SlaveStopClockPrepare
[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>>...50