Searched refs:slave (Results 1 - 25 of 269) sorted by relevance

1234567891011

/linux-master/drivers/soundwire/
H A Dsysfs_local.h15 int sdw_slave_sysfs_init(struct sdw_slave *slave);
16 int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
H A Dbus.c168 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
169 struct sdw_bus *bus = slave->bus;
173 sdw_slave_debugfs_exit(slave);
177 if (slave->dev_num) { /* clear dev_num if assigned */
178 clear_bit(slave->dev_num, bus->assigned);
180 bus->ops->put_device_num(bus, slave);
182 list_del_init(&slave->node);
358 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, argument
377 if (slave && !slave
411 sdw_ntransfer_no_pm(struct sdw_slave *slave, u32 addr, u8 flags, size_t count, u8 *val) argument
448 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) argument
464 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) argument
476 sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) argument
553 sdw_read_no_pm(struct sdw_slave *slave, u32 addr) argument
566 sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) argument
580 sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) argument
605 sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) argument
636 sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) argument
663 sdw_read(struct sdw_slave *slave, u32 addr) argument
685 sdw_write(struct sdw_slave *slave, u32 addr, u8 value) argument
698 struct sdw_slave *slave; local
708 sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id) argument
722 sdw_get_device_num(struct sdw_slave *slave) argument
749 sdw_assign_device_num(struct sdw_slave *slave) argument
819 struct sdw_slave *slave, *_s; local
919 sdw_modify_slave_status(struct sdw_slave *slave, enum sdw_slave_status status) argument
950 sdw_slave_clk_stop_callback(struct sdw_slave *slave, enum sdw_clk_stop_mode mode, enum sdw_clk_stop_type type) argument
971 sdw_slave_clk_stop_prepare(struct sdw_slave *slave, enum sdw_clk_stop_mode mode, bool prepare) argument
1049 struct sdw_slave *slave; local
1178 struct sdw_slave *slave; local
1247 sdw_configure_dpn_intr(struct sdw_slave *slave, int port, bool enable, int mask) argument
1279 sdw_slave_set_frequency(struct sdw_slave *slave) argument
1383 sdw_initialize_slave(struct sdw_slave *slave) argument
1464 sdw_handle_dp0_interrupt(struct sdw_slave *slave, u8 *slave_status) argument
1536 sdw_handle_port_interrupt(struct sdw_slave *slave, int port, u8 *slave_status) argument
1609 sdw_handle_slave_alerts(struct sdw_slave *slave) argument
1820 sdw_update_slave_status(struct sdw_slave *slave, enum sdw_slave_status status) argument
1849 struct sdw_slave *slave; local
1991 struct sdw_slave *slave; local
[all...]
H A Dirq.h18 void sdw_irq_create_mapping(struct sdw_slave *slave);
19 void sdw_irq_dispose_mapping(struct sdw_slave *slave);
33 static inline void sdw_irq_create_mapping(struct sdw_slave *slave) argument
37 static inline void sdw_irq_dispose_mapping(struct sdw_slave *slave) argument
H A Dbus_type.c15 * @slave: SoundWire Slave Device
22 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) argument
27 if (slave->id.mfg_id == id->mfg_id &&
28 slave->id.part_id == id->part_id &&
30 slave->id.sdw_version == id->sdw_version) &&
32 slave->id.class_id == id->class_id))
40 struct sdw_slave *slave; local
45 slave = dev_to_sdw_dev(dev);
48 ret = !!sdw_get_device_id(slave, drv);
53 int sdw_slave_modalias(const struct sdw_slave *slave, cha argument
64 const struct sdw_slave *slave = dev_to_sdw_dev(dev); local
83 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
168 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
191 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Dirq.c49 void sdw_irq_create_mapping(struct sdw_slave *slave) argument
51 slave->irq = irq_create_mapping(slave->bus->domain, slave->dev_num);
52 if (!slave->irq)
53 dev_warn(&slave->dev, "Failed to map IRQ\n");
56 void sdw_irq_dispose_mapping(struct sdw_slave *slave) argument
58 irq_dispose_mapping(irq_find_mapping(slave->bus->domain, slave->dev_num));
H A Dsysfs_slave.c74 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
75 return sprintf(buf, format_string, slave->prop.field); \
98 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
100 return sdw_slave_modalias(slave, buf, 256);
108 ATTRIBUTE_GROUPS(slave); variable
147 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
148 return sprintf(buf, format_string, slave->prop.dp0_prop->field);\
161 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
165 for (i = 0; i < slave->prop.dp0_prop->num_words; i++)
167 slave
193 sdw_slave_sysfs_init(struct sdw_slave *slave) argument
235 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
244 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Dslave.c13 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
15 mutex_destroy(&slave->sdw_dev_lock);
16 kfree(slave);
28 struct sdw_slave *slave; local
32 slave = kzalloc(sizeof(*slave), GFP_KERNEL);
33 if (!slave)
37 memcpy(&slave->id, id, sizeof(*id));
38 slave->dev.parent = bus->dev;
39 slave
[all...]
H A Ddebugfs.c34 static ssize_t sdw_sprintf(struct sdw_slave *slave, argument
39 value = sdw_read_no_pm(slave, reg);
50 struct sdw_slave *slave = s_file->private; local
59 ret = pm_runtime_get_sync(&slave->dev);
61 pm_runtime_put_noidle(&slave->dev);
71 ret += sdw_sprintf(slave, buf, ret, i);
75 ret += sdw_sprintf(slave, buf, ret, SDW_DP0_CHANNELEN);
77 ret += sdw_sprintf(slave, buf, ret, i);
81 ret += sdw_sprintf(slave, buf, ret,
85 ret += sdw_sprintf(slave, bu
140 sdw_slave_debugfs_init(struct sdw_slave *slave) argument
157 sdw_slave_debugfs_exit(struct sdw_slave *slave) argument
[all...]
/linux-master/drivers/net/bonding/
H A Dbond_sysfs_slave.c15 ssize_t (*show)(struct slave *, char *);
21 static ssize_t state_show(struct slave *slave, char *buf) argument
23 switch (bond_slave_state(slave)) {
34 static ssize_t mii_status_show(struct slave *slave, char *buf) argument
36 return sysfs_emit(buf, "%s\n", bond_slave_link_status(slave->link));
40 static ssize_t link_failure_count_show(struct slave *slave, char *buf) argument
42 return sysfs_emit(buf, "%d\n", slave
46 perm_hwaddr_show(struct slave *slave, char *buf) argument
54 queue_id_show(struct slave *slave, char *buf) argument
60 ad_aggregator_id_show(struct slave *slave, char *buf) argument
75 ad_actor_oper_port_state_show(struct slave *slave, char *buf) argument
90 ad_partner_oper_port_state_show(struct slave *slave, char *buf) argument
123 struct slave *slave = to_slave(kobj); local
132 bond_sysfs_slave_add(struct slave *slave) argument
137 bond_sysfs_slave_del(struct slave *slave) argument
[all...]
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
154 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
159 "2 for only on active slave "
198 MODULE_PARM_DESC(packets_per_slave, "Packets to send per slave in balance-rr "
199 "mode; 0 for a random slave, 1 packet per "
200 "slave (default), >1 packets per slave.");
295 * @slave_dev: slave that is supposed to xmit this skbuff
347 * We don't protect the slave lis
372 struct slave *slave, *rollback_slave; local
407 struct slave *slave; local
432 struct slave *slave; local
479 struct slave *slave; local
520 struct slave *slave; local
562 struct slave *slave; local
650 struct slave *slave; local
682 bond_update_speed_duplex(struct slave *slave) argument
807 struct slave *slave; local
830 struct slave *slave; local
941 struct slave *slave; local
1047 struct slave *slave, *hprio = NULL; local
1103 struct slave *slave, *bestslave = NULL; local
1126 struct slave *slave; local
1296 slave_enable_netpoll(struct slave *slave) argument
1315 slave_disable_netpoll(struct slave *slave) argument
1330 struct slave *slave = NULL; local
1359 struct slave *slave; local
1370 struct slave *slave; local
1383 slave_enable_netpoll(struct slave *slave) argument
1387 slave_disable_netpoll(struct slave *slave) argument
1403 struct slave *slave; local
1443 struct slave *slave; local
1528 bond_should_deliver_exact_match(struct sk_buff *skb, struct slave *slave, struct bonding *bond) argument
1545 struct slave *slave; local
1645 bond_master_upper_dev_link(struct bonding *bond, struct slave *slave, struct netlink_ext_ack *extack) argument
1665 bond_upper_dev_unlink(struct bonding *bond, struct slave *slave) argument
1673 struct slave *slave = to_slave(kobj); local
1690 bond_kobj_init(struct slave *slave) argument
1705 struct slave *slave = NULL; local
1737 bond_fill_ifslave(struct slave *slave, struct ifslave *info) argument
1747 struct slave *slave = container_of(_work, struct slave, local
1762 bond_queue_slave_event(struct slave *slave) argument
1767 bond_lower_state_changed(struct slave *slave) argument
1810 struct slave *slave; local
2364 struct slave *slave, *oldcurrent; local
2567 struct slave *slave; local
2588 struct slave *slave; local
2689 bond_miimon_link_change(struct bonding *bond, struct slave *slave, char link) argument
2709 struct slave *slave, *primary, *active; local
2816 struct slave *slave; local
2893 bond_handle_vlan(struct slave *slave, struct bond_vlan_tag *tags, struct sk_buff *skb) argument
2938 bond_arp_send(struct slave *slave, int arp_op, __be32 dest_ip, __be32 src_ip, struct bond_vlan_tag *tags) argument
3004 bond_arp_send_all(struct bonding *bond, struct slave *slave) argument
3058 bond_validate_arp(struct bonding *bond, struct slave *slave, __be32 sip, __be32 tip) argument
3078 bond_arp_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
3159 bond_ns_send(struct slave *slave, const struct in6_addr *daddr, const struct in6_addr *saddr, struct bond_vlan_tag *tags) argument
3183 bond_ns_send_all(struct bonding *bond, struct slave *slave) argument
3271 bond_validate_na(struct bonding *bond, struct slave *slave, struct in6_addr *saddr, struct in6_addr *daddr) argument
3299 bond_na_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
3348 bond_rcv_validate(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
3379 bond_send_validate(struct bonding *bond, struct slave *slave) argument
3409 struct slave *slave, *oldcurrent; local
3526 struct slave *slave; local
3597 struct slave *slave; local
3686 struct slave *slave, *before = NULL, *new_slave = NULL, local
3874 struct slave *slave = bond_slave_get_rtnl(slave_dev), *primary; local
4270 struct slave *slave; local
4329 struct slave *slave; local
4429 struct slave *slave; local
4609 struct slave *slave; local
4632 struct slave *slave; local
4686 struct slave *slave, *rollback_slave; local
4743 struct slave *slave, *rollback_slave; local
4819 struct slave *slave; local
4878 struct slave *slave; local
4916 struct slave *slave; local
4958 struct slave *slave; local
4979 struct slave *slave; local
5073 struct slave *slave; local
5144 struct slave *slave; local
5182 struct slave *slave; local
5197 struct slave *slave = NULL; local
5240 struct slave *slave = NULL; local
5290 struct slave *slave = NULL; local
5376 struct slave *slave; local
5481 struct slave *slave; local
5554 struct slave *slave, *rollback_slave; local
5642 bond_mode_bcast_speed(struct slave *slave, u32 speed) argument
5718 struct slave *slave; local
5765 struct slave *slave; local
5925 struct slave *slave; local
[all...]
/linux-master/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 */
78 * @pos: current slave
157 struct slave { struct
168 u8 backup:1, /* indicates backup slave. Value corresponds with
170 inactive:1, /* indicates inactive slave */
171 rx_disabled:1, /* indicates whether slave'
293 bond_get_bond_by_slave(struct slave *slave) argument
354 struct slave *slave = rcu_dereference_rtnl(bond->curr_active_slave); local
359 bond_slave_is_up(struct slave *slave) argument
364 bond_set_active_slave(struct slave *slave) argument
373 bond_set_backup_slave(struct slave *slave) argument
382 bond_set_slave_state(struct slave *slave, int slave_state, bool notify) argument
427 bond_slave_state(struct slave *slave) argument
432 bond_is_active_slave(struct slave *slave) argument
437 bond_slave_can_tx(struct slave *slave) argument
445 struct slave *slave; local
491 slave_do_arp_validate(struct bonding *bond, struct slave *slave) argument
519 slave_oldest_target_arp_rx(struct bonding *bond, struct slave *slave) argument
532 slave_last_rx(struct bonding *bond, struct slave *slave) argument
541 slave_update_last_tx(struct slave *slave) argument
546 slave_last_tx(struct slave *slave) argument
552 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) argument
558 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) argument
566 bond_set_slave_inactive_flags(struct slave *slave, bool notify) argument
577 bond_set_slave_tx_disabled_flags(struct slave *slave, bool notify) argument
583 bond_set_slave_active_flags(struct slave *slave, bool notify) argument
592 bond_set_slave_rx_enabled_flags(struct slave *slave, bool notify) argument
598 bond_is_slave_inactive(struct slave *slave) argument
603 bond_is_slave_rx_disabled(struct slave *slave) argument
608 bond_propose_link_state(struct slave *slave, int state) argument
613 bond_commit_link_state(struct slave *slave, bool notify) argument
631 bond_set_slave_link_state(struct slave *slave, int state, bool notify) argument
[all...]
H A Dbond_alb.h12 struct slave;
15 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info)
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 transmiting
111 struct slave *slave; /* the slave assigned to this client */ member in struct:rlb_client_info
119 * slave fo
[all...]
/linux-master/include/sound/
H A Dspear_spdif.h12 bool (*filter)(struct dma_chan *chan, void *slave);
/linux-master/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
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dcpsw.h18 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave);
21 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) argument
24 int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr);
H A Dcpsw-common.c15 int slave, u8 *mac_addr)
28 regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lsb);
29 regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_msb);
41 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, argument
55 regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lo);
56 regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_hi);
68 int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) argument
71 return cpsw_am33xx_cm_get_macid(dev, 0x630, slave, mac_addr);
74 return cpsw_am33xx_cm_get_macid(dev, 0x630, slave, mac_addr);
77 return davinci_emac_3517_get_macid(dev, 0x110, slave, mac_add
14 davinci_emac_3517_get_macid(struct device *dev, u16 offset, int slave, u8 *mac_addr) argument
[all...]
/linux-master/sound/soc/spear/
H A Dspear_pcm.h11 bool (*filter)(struct dma_chan *chan, void *slave));
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000/
H A Dnfp_xpb.h22 #define NFP_XPB_DEVICE(island, slave, device) \
24 (((slave) & 3) << 22) | \
/linux-master/drivers/fsi/
H A Dfsi-core.c28 #include "fsi-slave.h"
51 * FSI slave engine control register offsets
126 return fsi_slave_read(dev->slave, dev->addr + addr, val, size);
136 return fsi_slave_write(dev->slave, dev->addr + addr, val, size);
144 return fsi_slave_read(dev->slave, addr, val, sizeof(uint32_t));
155 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) argument
163 dev->dev.parent = &slave->dev;
170 /* FSI slave support */
171 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, argument
177 if (addr > slave
195 fsi_slave_report_and_clear_errors(struct fsi_slave *slave) argument
255 fsi_slave_set_smode(struct fsi_slave *slave) argument
271 fsi_slave_handle_error(struct fsi_slave *slave, bool write, uint32_t addr, size_t size) argument
331 fsi_slave_read(struct fsi_slave *slave, uint32_t addr, void *val, size_t size) argument
356 fsi_slave_write(struct fsi_slave *slave, uint32_t addr, const void *val, size_t size) argument
381 fsi_slave_claim_range(struct fsi_slave *slave, uint32_t addr, uint32_t size) argument
395 fsi_slave_release_range(struct fsi_slave *slave, uint32_t addr, uint32_t size) argument
442 fsi_slave_scan(struct fsi_slave *slave) argument
560 struct fsi_slave *slave = to_fsi_slave(kobj_to_dev(kobj)); local
587 struct fsi_slave *slave = to_fsi_slave(kobj_to_dev(kobj)); local
622 struct fsi_slave *slave = to_fsi_slave(dev); local
663 struct fsi_slave *slave = filep->private_data; local
699 struct fsi_slave *slave = filep->private_data; local
750 struct fsi_slave *slave = container_of(inode->i_cdev, struct fsi_slave, cdev); local
769 struct fsi_slave *slave = to_fsi_slave(dev); local
785 struct fsi_slave *slave = to_fsi_slave(dev); local
793 struct fsi_slave *slave = to_fsi_slave(dev); local
829 struct fsi_slave *slave = to_fsi_slave(dev); local
840 struct fsi_slave *slave = to_fsi_slave(dev); local
867 const struct fsi_slave *slave = to_fsi_slave(dev); local
908 __fsi_get_new_minor(struct fsi_slave *slave, enum fsi_dev_type type, dev_t *out_dev, int *out_index) argument
984 struct fsi_slave *slave; local
1239 struct fsi_slave *slave = to_fsi_slave(dev); local
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-at91-slave.c3 * i2c slave support for Atmel's AT91 Two-Wire Interface (TWI)
25 /* slave address has been detected on I2C bus */
28 i2c_slave_event(dev->slave,
34 i2c_slave_event(dev->slave,
44 i2c_slave_event(dev->slave, I2C_SLAVE_READ_PROCESSED, &value);
51 i2c_slave_event(dev->slave, I2C_SLAVE_WRITE_RECEIVED, &value);
59 i2c_slave_event(dev->slave, I2C_SLAVE_STOP, &value);
65 static int at91_reg_slave(struct i2c_client *slave) argument
67 struct at91_twi_dev *dev = i2c_get_adapdata(slave->adapter);
69 if (dev->slave)
89 at91_unreg_slave(struct i2c_client *slave) argument
[all...]
/linux-master/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); local
154 if ((slave->dev->flags & IFF_UP) == IFF_UP) {
155 slave->bytes_queued -= slave->priority_Bps;
156 if (slave->bytes_queued < 0)
157 slave->bytes_queued = 0;
159 eql_kill_one_slave(&eql->queue, slave);
211 "remember to turn off Van-Jacobson compression on your slave devices\n");
223 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) argument
313 slave_t *slave = list_entry(this, slave_t, list); local
340 slave_t *slave; local
374 slave_t *slave = list_entry(this, slave_t, list); local
393 __eql_insert_slave(slave_queue_t *queue, slave_t *slave) argument
471 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); local
485 slave_t *slave; local
517 slave_t *slave; local
[all...]
/linux-master/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, argument
318 if (slave > dev->persist->num_vfs)
324 (dev->persist->num_vfs + 1) + slave] :
325 res_alloc->allocated[slave];
330 guaranteed = res_alloc->guaranteed[slave];
332 if (allocated + count > res_alloc->quota[slave]) {
334 slave, port, resource_str(res_type), count,
335 allocated, res_alloc->quota[slave]);
355 slave, por
378 mlx4_release_resource(struct mlx4_dev *dev, int slave, enum mlx4_resource res_type, int count, int port) argument
691 update_pkey_index(struct mlx4_dev *dev, int slave, struct mlx4_cmd_mailbox *inbox) argument
706 update_gid(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox, u8 slave) argument
749 update_vport_qp_param(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox, u8 slave, u32 qpn) argument
891 _get_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type, void *res, const char *func_name) argument
934 mlx4_get_slave_from_resource_id(struct mlx4_dev *dev, enum mlx4_resource type, u64 res_id, int *slave) argument
957 put_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type) argument
974 handle_existing_counter(struct mlx4_dev *dev, u8 slave, int port, int counter_index) argument
998 handle_unexisting_counter(struct mlx4_dev *dev, struct mlx4_qp_context *qpc, u8 slave, int port) argument
1040 handle_counter(struct mlx4_dev *dev, struct mlx4_qp_context *qpc, u8 slave, int port) argument
1186 alloc_tr(u64 id, enum mlx4_resource type, int slave, int extra) argument
1231 mlx4_calc_vf_counters(struct mlx4_dev *dev, int slave, int port, struct mlx4_counter *data) argument
1278 add_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, enum mlx4_resource type, int extra) argument
1465 rem_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, enum mlx4_resource type, int extra) argument
1504 qp_res_start_move_to(struct mlx4_dev *dev, int slave, int qpn, enum res_qp_states state, struct res_qp **qp, int alloc) argument
1569 mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_mpt_states state, struct res_mpt **mpt) argument
1622 eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_eq_states state, struct res_eq **eq) argument
1671 cq_res_start_move_to(struct mlx4_dev *dev, int slave, int cqn, enum res_cq_states state, struct res_cq **cq) argument
1711 srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_srq_states state, struct res_srq **srq) argument
1747 res_abort_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) argument
1761 res_end_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) argument
1775 valid_reserved(struct mlx4_dev *dev, int slave, int qpn) argument
1786 qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1853 mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1886 mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1935 cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1970 srq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2005 mac_find_smac_ix_in_slave(struct mlx4_dev *dev, int slave, int port, u8 smac_index, u64 *mac) argument
2023 mac_add_to_slave(struct mlx4_dev *dev, int slave, u64 mac, int port, u8 smac_index) argument
2055 mac_del_from_slave(struct mlx4_dev *dev, int slave, u64 mac, int port) argument
2076 rem_slave_macs(struct mlx4_dev *dev, int slave) argument
2095 mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) argument
2129 vlan_add_to_slave(struct mlx4_dev *dev, int slave, u16 vlan, int port, int vlan_index) argument
2163 vlan_del_from_slave(struct mlx4_dev *dev, int slave, u16 vlan, int port) argument
2185 rem_slave_vlans(struct mlx4_dev *dev, int slave) argument
2204 vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) argument
2242 counter_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int port) argument
2272 xrcdn_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2294 mlx4_ALLOC_RES_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2359 qp_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) argument
2399 mtt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2419 mpt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) argument
2461 cq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2486 srq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2511 mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) argument
2537 vlan_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int port) argument
2566 counter_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2589 xrcdn_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2608 mlx4_FREE_RES_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2744 check_mtt_range(struct mlx4_dev *dev, int slave, int start, int size, struct res_mtt *mtt) argument
2755 mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2838 mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2870 mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2952 mlx4_RST2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3093 mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3142 mlx4_CONFIG_DEV_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3159 get_containing_mtt(struct mlx4_dev *dev, int slave, int start, int len, struct res_mtt **res) argument
3183 verify_qp_parameters(struct mlx4_dev *dev, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, enum qp_transition transition, u8 slave) argument
3263 mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3301 mlx4_HW2SW_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3339 mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument
3407 mlx4_QUERY_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3434 mlx4_SW2HW_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3472 mlx4_HW2SW_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3497 mlx4_QUERY_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3521 handle_resize(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd, struct res_cq *cq) argument
3569 mlx4_MODIFY_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3610 mlx4_SW2HW_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3655 mlx4_HW2SW_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3684 mlx4_QUERY_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3707 mlx4_ARM_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3732 mlx4_GEN_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3756 mlx4_INIT2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3768 adjust_qp_sched_queue(struct mlx4_dev *dev, int slave, struct mlx4_qp_context *qpc, struct mlx4_cmd_mailbox *inbox) argument
3801 roce_verify_mac(struct mlx4_dev *dev, int slave, struct mlx4_qp_context *qpc, struct mlx4_cmd_mailbox *inbox) argument
3820 mlx4_INIT2RTR_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3882 mlx4_RTR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3904 mlx4_RTS2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3927 mlx4_SQERR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3941 mlx4_SQD2SQD_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3963 mlx4_SQD2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3985 mlx4_2RST_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
4016 find_gid(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid) argument
4028 add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer, u64 reg_id) argument
4056 rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer, u64 *reg_id) argument
4078 qp_attach(struct mlx4_dev *dev, int slave, struct mlx4_qp *qp, u8 gid[16], int block_loopback, enum mlx4_protocol prot, enum mlx4_steer_type type, u64 *reg_id) argument
4119 mlx4_adjust_port(struct mlx4_dev *dev, int slave, u8 *gid, enum mlx4_protocol prot) argument
4138 mlx4_QP_ATTACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
4200 validate_eth_header_mac(int slave, struct _rule_hw *eth_header, struct list_head *rlist) argument
4225 add_eth_header(struct mlx4_dev *dev, int slave, struct mlx4_cmd_mailbox *inbox, struct list_head *rlist, int header_id) argument
4284 mlx4_UPDATE_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd_info) argument
4366 mlx4_QP_FLOW_STEERING_ATTACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
4500 mlx4_QP_FLOW_STEERING_DETACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
4564 mlx4_QUERY_IF_STAT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
4582 detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) argument
4604 _move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int print) argument
4640 move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type) argument
4660 rem_slave_qps(struct mlx4_dev *dev, int slave) argument
4733 rem_slave_srqs(struct mlx4_dev *dev, int slave) argument
4798 rem_slave_cqs(struct mlx4_dev *dev, int slave) argument
4860 rem_slave_mrs(struct mlx4_dev *dev, int slave) argument
4927 rem_slave_mtts(struct mlx4_dev *dev, int slave) argument
5063 rem_slave_fs_rule(struct mlx4_dev *dev, int slave) argument
5116 rem_slave_eqs(struct mlx4_dev *dev, int slave) argument
5173 rem_slave_counters(struct mlx4_dev *dev, int slave) argument
5219 rem_slave_xrcdns(struct mlx4_dev *dev, int slave) argument
5248 mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave) argument
[all...]
/linux-master/sound/soc/codecs/
H A Drt712-sdca-sdw.c138 static int rt712_sdca_update_status(struct sdw_slave *slave, argument
141 struct rt712_sdca_priv *rt712 = dev_get_drvdata(&slave->dev);
154 sdw_write_no_pm(rt712->slave, SDW_SCP_SDCA_INTMASK1,
156 sdw_write_no_pm(rt712->slave, SDW_SCP_SDCA_INTMASK2,
162 * Perform initialization only if slave status is present and
169 return rt712_sdca_io_init(&slave->dev, slave);
172 static int rt712_sdca_read_prop(struct sdw_slave *slave) argument
174 struct sdw_slave_prop *prop = &slave->prop;
191 prop->src_dpn_prop = devm_kcalloc(&slave
234 rt712_sdca_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) argument
340 rt712_sdca_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
357 rt712_sdca_sdw_remove(struct sdw_slave *slave) argument
402 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
433 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Drt722-sdca-sdw.c161 static int rt722_sdca_update_status(struct sdw_slave *slave, argument
164 struct rt722_sdca_priv *rt722 = dev_get_drvdata(&slave->dev);
177 sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK1,
179 sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK2,
185 * Perform initialization only if slave status is present and
192 return rt722_sdca_io_init(&slave->dev, slave);
195 static int rt722_sdca_read_prop(struct sdw_slave *slave) argument
197 struct sdw_slave_prop *prop = &slave->prop;
219 prop->src_dpn_prop = devm_kcalloc(&slave
265 rt722_sdca_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) argument
371 rt722_sdca_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
388 rt722_sdca_sdw_remove(struct sdw_slave *slave) argument
431 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
462 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]
H A Drt711-sdca-sdw.c141 static int rt711_sdca_update_status(struct sdw_slave *slave, argument
144 struct rt711_sdca_priv *rt711 = dev_get_drvdata(&slave->dev);
157 sdw_write_no_pm(rt711->slave, SDW_SCP_SDCA_INTMASK1,
159 sdw_write_no_pm(rt711->slave, SDW_SCP_SDCA_INTMASK2,
165 * Perform initialization only if slave status is present and
172 return rt711_sdca_io_init(&slave->dev, slave);
175 static int rt711_sdca_read_prop(struct sdw_slave *slave) argument
177 struct sdw_slave_prop *prop = &slave->prop;
194 prop->src_dpn_prop = devm_kcalloc(&slave
237 rt711_sdca_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) argument
343 rt711_sdca_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument
360 rt711_sdca_sdw_remove(struct sdw_slave *slave) argument
402 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
433 struct sdw_slave *slave = dev_to_sdw_dev(dev); local
[all...]

Completed in 376 milliseconds

1234567891011