Home
last modified time | relevance | path

Searched refs:slave (Results 76 - 100 of 589) sorted by relevance

12345678910>>...24

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dcm.c58 int slave; member
319 mlx4_ib_warn(ibdev, "%s: id{slave: %d, sl_cm_id: 0x%x} Failed to id_map_alloc\n", in mlx4_ib_multiplex_cm_handler()
332 pr_debug("id{slave: %d, sl_cm_id: 0x%x} is NULL! attr_id: 0x%x\n", in mlx4_ib_multiplex_cm_handler()
359 static int alloc_rej_tmout(struct mlx4_ib_sriov *sriov, u32 rem_pv_cm_id, int slave) in alloc_rej_tmout() argument
383 item->slave = slave; in alloc_rej_tmout()
408 int slave; in lookup_rej_tmout_slave() local
414 pr_debug("Could not find slave. rem_pv_cm_id 0x%x error: %d\n", in lookup_rej_tmout_slave()
416 slave = !item ? -ENOENT : xa_err(item); in lookup_rej_tmout_slave()
418 slave in lookup_rej_tmout_slave()
425 mlx4_ib_demux_cm_handler(struct ib_device *ibdev, int port, int *slave, struct ib_mad *mad) mlx4_ib_demux_cm_handler() argument
493 rej_tmout_xa_cleanup(struct mlx4_ib_sriov *sriov, int slave) rej_tmout_xa_cleanup() argument
522 mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave) mlx4_ib_cm_paravirt_clean() argument
[all...]
H A Dsysfs.c371 int slave; member
446 if (p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index] >= in show_port_pkey()
451 p->dev->pkeys.virt2phys_pkey[p->slave] in show_port_pkey()
465 if (p->slave == mlx4_master_func_num(p->dev->dev)) in store_port_pkey()
475 p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1] in store_port_pkey()
477 mlx4_sync_pkey_table(p->dev->dev, p->slave, p->port_num, in store_port_pkey()
479 err = mlx4_gen_pkey_eqe(p->dev->dev, p->slave, p->port_num); in store_port_pkey()
481 pr_err("mlx4_gen_pkey_eqe failed for slave %d," in store_port_pkey()
482 " port %d, index %d\n", p->slave, p->port_num, idx); in store_port_pkey()
491 return sprintf(buf, "%d\n", p->slave); in show_port_gid_idx()
635 add_port(struct mlx4_ib_dev *dev, int port_num, int slave) add_port() argument
704 register_one_pkey_tree(struct mlx4_ib_dev *dev, int slave) register_one_pkey_tree() argument
783 int slave; unregister_pkey_tree() local
[all...]
H A Dmad.c336 int i, ix, slave, err; in __propagate_pkey_ev() local
339 for (slave = 0; slave < dev->dev->caps.sqp_demux; slave++) { in __propagate_pkey_ev()
340 if (slave == mlx4_master_func_num(dev->dev)) in __propagate_pkey_ev()
342 if (!mlx4_is_slave_active(dev->dev, slave)) in __propagate_pkey_ev()
351 if (dev->pkeys.virt2phys_pkey[slave][port_num - 1] in __propagate_pkey_ev()
353 err = mlx4_gen_pkey_eqe(dev->dev, slave, port_num); in __propagate_pkey_ev()
354 pr_debug("propagate_pkey_ev: slave %d," in __propagate_pkey_ev()
356 slave, port_nu in __propagate_pkey_ev()
416 mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_demux_sa_handler() argument
445 find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, u8 port, u16 pkey, u16 *ix) find_slave_port_pkey_ix() argument
503 is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) is_proxy_qp0() argument
510 mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, struct ib_wc *wc, struct ib_grh *grh, struct ib_mad *mad) mlx4_ib_send_to_slave() argument
687 int slave = -1; mlx4_ib_demux_mad() local
1338 mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_multiplex_sa_handler() argument
1354 mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, u32 qkey, struct rdma_ah_attr *attr, u8 *s_mac, u16 vlan_id, struct ib_mad *mad) mlx4_ib_send_to_wire() argument
1458 get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) get_slave_base_gid_ix() argument
1465 fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, struct rdma_ah_attr *ah_attr) fill_in_real_sgid_index() argument
1484 int slave; mlx4_ib_multiplex_mad() local
1952 alloc_pv_object(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx **ret_ctx) alloc_pv_object() argument
1969 free_pv_object(struct mlx4_ib_dev *dev, int slave, int port) free_pv_object() argument
1977 create_pv_resources(struct ib_device *ibdev, int slave, int port, int create_tun, struct mlx4_ib_demux_pv_ctx *ctx) create_pv_resources() argument
2090 destroy_pv_resources(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx *ctx, int flush) destroy_pv_resources() argument
2115 mlx4_ib_tunnels_update(struct mlx4_ib_dev *dev, int slave, int port, int do_init) mlx4_ib_tunnels_update() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dcm.c58 int slave; member
320 mlx4_ib_warn(ibdev, "%s: id{slave: %d, sl_cm_id: 0x%x} Failed to id_map_alloc\n", in mlx4_ib_multiplex_cm_handler()
333 pr_debug("id{slave: %d, sl_cm_id: 0x%x} is NULL! attr_id: 0x%x\n", in mlx4_ib_multiplex_cm_handler()
360 static int alloc_rej_tmout(struct mlx4_ib_sriov *sriov, u32 rem_pv_cm_id, int slave) in alloc_rej_tmout() argument
384 item->slave = slave; in alloc_rej_tmout()
409 int slave; in lookup_rej_tmout_slave() local
415 pr_debug("Could not find slave. rem_pv_cm_id 0x%x error: %d\n", in lookup_rej_tmout_slave()
417 slave = !item ? -ENOENT : xa_err(item); in lookup_rej_tmout_slave()
419 slave in lookup_rej_tmout_slave()
426 mlx4_ib_demux_cm_handler(struct ib_device *ibdev, int port, int *slave, struct ib_mad *mad) mlx4_ib_demux_cm_handler() argument
494 rej_tmout_xa_cleanup(struct mlx4_ib_sriov *sriov, int slave) rej_tmout_xa_cleanup() argument
523 mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave) mlx4_ib_cm_paravirt_clean() argument
[all...]
H A Dsysfs.c373 int slave; member
447 u8 key = m->virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index]; in show_port_pkey()
463 if (p->slave == mlx4_master_func_num(p->dev->dev)) in store_port_pkey()
473 p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1] in store_port_pkey()
475 mlx4_sync_pkey_table(p->dev->dev, p->slave, p->port_num, in store_port_pkey()
477 err = mlx4_gen_pkey_eqe(p->dev->dev, p->slave, p->port_num); in store_port_pkey()
479 pr_err("mlx4_gen_pkey_eqe failed for slave %d," in store_port_pkey()
480 " port %d, index %d\n", p->slave, p->port_num, idx); in store_port_pkey()
489 return sysfs_emit(buf, "%d\n", p->slave); in show_port_gid_idx()
545 !!mlx4_vf_smi_enabled(p->dev->dev, p->slave, in sysfs_show_smi_enabled()
625 add_port(struct mlx4_ib_dev *dev, int port_num, int slave) add_port() argument
694 register_one_pkey_tree(struct mlx4_ib_dev *dev, int slave) register_one_pkey_tree() argument
773 int slave; unregister_pkey_tree() local
[all...]
H A Dmad.c336 int i, ix, slave, err; in __propagate_pkey_ev() local
339 for (slave = 0; slave < dev->dev->caps.sqp_demux; slave++) { in __propagate_pkey_ev()
340 if (slave == mlx4_master_func_num(dev->dev)) in __propagate_pkey_ev()
342 if (!mlx4_is_slave_active(dev->dev, slave)) in __propagate_pkey_ev()
351 if (dev->pkeys.virt2phys_pkey[slave][port_num - 1] in __propagate_pkey_ev()
353 err = mlx4_gen_pkey_eqe(dev->dev, slave, port_num); in __propagate_pkey_ev()
354 pr_debug("propagate_pkey_ev: slave %d," in __propagate_pkey_ev()
356 slave, port_nu in __propagate_pkey_ev()
417 mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_demux_sa_handler() argument
446 find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, u32 port, u16 pkey, u16 *ix) find_slave_port_pkey_ix() argument
504 is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) is_proxy_qp0() argument
511 mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u32 port, enum ib_qp_type dest_qpt, struct ib_wc *wc, struct ib_grh *grh, struct ib_mad *mad) mlx4_ib_send_to_slave() argument
688 int slave = -1; mlx4_ib_demux_mad() local
1340 mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) mlx4_ib_multiplex_sa_handler() argument
1356 mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u32 port, enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, u32 qkey, struct rdma_ah_attr *attr, u8 *s_mac, u16 vlan_id, struct ib_mad *mad) mlx4_ib_send_to_wire() argument
1460 get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) get_slave_base_gid_ix() argument
1467 fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, struct rdma_ah_attr *ah_attr) fill_in_real_sgid_index() argument
1486 int slave; mlx4_ib_multiplex_mad() local
1955 alloc_pv_object(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx **ret_ctx) alloc_pv_object() argument
1972 free_pv_object(struct mlx4_ib_dev *dev, int slave, int port) free_pv_object() argument
1980 create_pv_resources(struct ib_device *ibdev, int slave, int port, int create_tun, struct mlx4_ib_demux_pv_ctx *ctx) create_pv_resources() argument
2093 destroy_pv_resources(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx *ctx, int flush) destroy_pv_resources() argument
2118 mlx4_ib_tunnels_update(struct mlx4_ib_dev *dev, int slave, int port, int do_init) mlx4_ib_tunnels_update() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Drt1308-sdw.c123 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop() argument
125 struct sdw_slave_prop *prop = &slave->prop; in rt1308_read_prop()
142 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1308_read_prop()
162 dev_dbg(&slave->dev, "%s\n", __func__); in rt1308_read_prop()
213 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init() argument
231 pm_runtime_set_active(&slave->dev); in rt1308_io_init()
233 pm_runtime_get_noresume(&slave->dev); in rt1308_io_init()
294 pm_runtime_mark_last_busy(&slave->dev); in rt1308_io_init()
295 pm_runtime_put_autosuspend(&slave->dev); in rt1308_io_init()
297 dev_dbg(&slave in rt1308_io_init()
302 rt1308_update_status(struct sdw_slave *slave, enum sdw_slave_status status) rt1308_update_status() argument
321 rt1308_bus_config(struct sdw_slave *slave, struct sdw_bus_params *params) rt1308_bus_config() argument
336 rt1308_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) rt1308_interrupt_callback() argument
680 rt1308_sdw_init(struct device *dev, struct regmap *regmap, struct sdw_slave *slave) rt1308_sdw_init() argument
730 rt1308_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) rt1308_sdw_probe() argument
743 rt1308_sdw_remove(struct sdw_slave *slave) rt1308_sdw_remove() argument
772 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt1308_dev_resume() local
[all...]
H A Drt1017-sdca-sdw.c257 static int rt1017_sdca_read_prop(struct sdw_slave *slave) in rt1017_sdca_read_prop() argument
259 struct sdw_slave_prop *prop = &slave->prop; in rt1017_sdca_read_prop()
279 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1017_sdca_read_prop()
297 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1017_sdca_read_prop()
319 static int rt1017_sdca_io_init(struct device *dev, struct sdw_slave *slave) in rt1017_sdca_io_init() argument
335 pm_runtime_set_autosuspend_delay(&slave->dev, 3000); in rt1017_sdca_io_init()
336 pm_runtime_use_autosuspend(&slave->dev); in rt1017_sdca_io_init()
339 pm_runtime_set_active(&slave->dev); in rt1017_sdca_io_init()
342 pm_runtime_mark_last_busy(&slave->dev); in rt1017_sdca_io_init()
344 pm_runtime_enable(&slave in rt1017_sdca_io_init()
372 rt1017_sdca_update_status(struct sdw_slave *slave, enum sdw_slave_status status) rt1017_sdca_update_status() argument
703 rt1017_sdca_init(struct device *dev, struct regmap *regmap, struct sdw_slave *slave) rt1017_sdca_init() argument
732 rt1017_sdca_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) rt1017_sdca_sdw_probe() argument
745 rt1017_sdca_sdw_remove(struct sdw_slave *slave) rt1017_sdca_sdw_remove() argument
777 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt1017_sdca_dev_resume() local
[all...]
H A Drt715-sdw.c415 static int rt715_update_status(struct sdw_slave *slave, in rt715_update_status() argument
418 struct rt715_priv *rt715 = dev_get_drvdata(&slave->dev); in rt715_update_status()
421 * Perform initialization only if slave status is present and in rt715_update_status()
428 return rt715_io_init(&slave->dev, slave); in rt715_update_status()
431 static int rt715_read_prop(struct sdw_slave *slave) in rt715_read_prop() argument
433 struct sdw_slave_prop *prop = &slave->prop; in rt715_read_prop()
450 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt715_read_prop()
475 static int rt715_bus_config(struct sdw_slave *slave, in rt715_bus_config() argument
478 struct rt715_priv *rt715 = dev_get_drvdata(&slave in rt715_bus_config()
496 rt715_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) rt715_sdw_probe() argument
514 rt715_sdw_remove(struct sdw_slave *slave) rt715_sdw_remove() argument
544 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt715_dev_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h132 /*The flag indicates that the slave should delay the RESET cmd*/
203 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
205 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
559 /* num_of_slave's lists, one per slave */
654 int slave; member
986 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave,
991 int mlx4_SYNC_TPT_wrapper(struct mlx4_dev *dev, int slave,
996 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave,
1001 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave,
1006 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave,
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h134 /*The flag indicates that the slave should delay the RESET cmd*/
205 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
207 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
561 /* num_of_slave's lists, one per slave */
657 int slave; member
994 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave,
999 int mlx4_SYNC_TPT_wrapper(struct mlx4_dev *dev, int slave,
1004 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave,
1009 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave,
1014 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave,
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Domap_hwmod_2420_data.c238 .slave = &omap2420_i2c1_hwmod,
246 .slave = &omap2420_i2c2_hwmod,
254 .slave = &omap2420_iva_hwmod,
262 .slave = &omap2420_dsp_hwmod,
270 .slave = &omap2xxx_wd_timer2_hwmod,
278 .slave = &omap2xxx_gpio1_hwmod,
286 .slave = &omap2xxx_gpio2_hwmod,
294 .slave = &omap2xxx_gpio3_hwmod,
302 .slave = &omap2xxx_gpio4_hwmod,
310 .slave
[all...]
H A Domap_hwmod_7xx_data.c505 .slave = &dra7xx_dmm_hwmod,
513 .slave = &dra7xx_l3_instr_hwmod,
521 .slave = &dra7xx_l3_main_1_hwmod,
529 .slave = &dra7xx_l3_main_1_hwmod,
537 .slave = &dra7xx_l3_main_2_hwmod,
545 .slave = &dra7xx_l3_main_2_hwmod,
553 .slave = &dra7xx_l4_cfg_hwmod,
561 .slave = &dra7xx_l4_per1_hwmod,
569 .slave = &dra7xx_l4_per2_hwmod,
577 .slave
[all...]
H A Domap_hwmod_81xx_data.c158 .slave = &dm81xx_l4_ls_hwmod,
165 .slave = &dm81xx_l4_hs_hwmod,
186 .slave = &dm81xx_alwon_l3_slow_hwmod,
193 .slave = &dm81xx_alwon_l3_med_hwmod,
213 .slave = &dm81xx_alwon_l3_slow_hwmod,
220 .slave = &dm81xx_alwon_l3_med_hwmod,
255 .slave = &ti81xx_rtc_hwmod,
294 .slave = &dm81xx_uart1_hwmod,
315 .slave = &dm81xx_uart2_hwmod,
336 .slave
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Domap_hwmod_2420_data.c237 .slave = &omap2420_i2c1_hwmod,
245 .slave = &omap2420_i2c2_hwmod,
253 .slave = &omap2420_iva_hwmod,
261 .slave = &omap2420_dsp_hwmod,
269 .slave = &omap2xxx_wd_timer2_hwmod,
277 .slave = &omap2xxx_gpio1_hwmod,
285 .slave = &omap2xxx_gpio2_hwmod,
293 .slave = &omap2xxx_gpio3_hwmod,
301 .slave = &omap2xxx_gpio4_hwmod,
309 .slave
[all...]
H A Domap_hwmod_81xx_data.c149 .slave = &dm81xx_l4_ls_hwmod,
156 .slave = &dm81xx_l4_hs_hwmod,
177 .slave = &dm81xx_alwon_l3_slow_hwmod,
184 .slave = &dm81xx_alwon_l3_med_hwmod,
204 .slave = &dm81xx_alwon_l3_slow_hwmod,
211 .slave = &dm81xx_alwon_l3_med_hwmod,
246 .slave = &ti81xx_rtc_hwmod,
285 .slave = &dm81xx_uart1_hwmod,
306 .slave = &dm81xx_uart2_hwmod,
327 .slave
[all...]
/kernel/linux/linux-5.10/drivers/soundwire/
H A Dsysfs_slave_dpn.c53 static ssize_t field##_dpn_show(struct sdw_slave *slave, \
65 dpn = slave->prop.src_dpn_prop; \
66 mask = slave->prop.source_ports; \
68 dpn = slave->prop.sink_dpn_prop; \
69 mask = slave->prop.sink_ports; \
87 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
91 return field##_dpn_show(slave, \
113 static ssize_t field##_dpn_show(struct sdw_slave *slave, \
127 dpn = slave->prop.src_dpn_prop; \
128 mask = slave
280 sdw_slave_sysfs_dpn_init(struct sdw_slave *slave) sdw_slave_sysfs_dpn_init() argument
[all...]
H A Dbus.h31 void sdw_slave_debugfs_init(struct sdw_slave *slave);
32 void sdw_slave_debugfs_exit(struct sdw_slave *slave);
38 static inline void sdw_slave_debugfs_init(struct sdw_slave *slave) {} in sdw_slave_debugfs_init() argument
39 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {} in sdw_slave_debugfs_exit() argument
106 * @slave: Slave handle
114 struct sdw_slave *slave; member
145 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave,
148 int sdw_configure_dpn_intr(struct sdw_slave *slave, int port,
157 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
203 static inline int sdw_update(struct sdw_slave *slave, u3 argument
[all...]
/kernel/linux/linux-6.6/drivers/soundwire/
H A Dsysfs_slave_dpn.c53 static ssize_t field##_dpn_show(struct sdw_slave *slave, \
65 dpn = slave->prop.src_dpn_prop; \
66 mask = slave->prop.source_ports; \
68 dpn = slave->prop.sink_dpn_prop; \
69 mask = slave->prop.sink_ports; \
87 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
91 return field##_dpn_show(slave, \
113 static ssize_t field##_dpn_show(struct sdw_slave *slave, \
127 dpn = slave->prop.src_dpn_prop; \
128 mask = slave
280 sdw_slave_sysfs_dpn_init(struct sdw_slave *slave) sdw_slave_sysfs_dpn_init() argument
[all...]
H A Dstream.c63 struct sdw_slave *slave, in _sdw_program_slave_port_params()
84 ret = sdw_write_no_pm(slave, addr1, t_params->offset2); in _sdw_program_slave_port_params()
91 ret = sdw_write_no_pm(slave, addr2, t_params->blk_pkg_mode); in _sdw_program_slave_port_params()
108 ret = sdw_write_no_pm(slave, addr3, wbuf); in _sdw_program_slave_port_params()
118 ret = sdw_write_no_pm(slave, addr4, wbuf); in _sdw_program_slave_port_params()
131 struct sdw_slave_prop *slave_prop = &s_rt->slave->prop; in sdw_program_slave_port_params()
137 if (s_rt->slave->is_mockup_device) in sdw_program_slave_port_params()
140 dpn_prop = sdw_get_slave_dpn_prop(s_rt->slave, in sdw_program_slave_port_params()
166 ret = sdw_update_no_pm(s_rt->slave, addr1, 0xF, wbuf); in sdw_program_slave_port_params()
168 dev_err(&s_rt->slave in sdw_program_slave_port_params()
62 _sdw_program_slave_port_params(struct sdw_bus *bus, struct sdw_slave *slave, struct sdw_transport_params *t_params, enum sdw_dpn_type type) _sdw_program_slave_port_params() argument
406 struct sdw_slave *slave = s_rt->slave; sdw_do_port_prep() local
587 struct sdw_slave *slave; sdw_notify_config() local
925 sdw_slave_port_free(struct sdw_slave *slave, struct sdw_stream_runtime *stream) sdw_slave_port_free() argument
945 sdw_slave_port_alloc(struct sdw_slave *slave, struct sdw_slave_runtime *s_rt, unsigned int num_config) sdw_slave_port_alloc() argument
972 sdw_slave_port_config(struct sdw_slave *slave, struct sdw_slave_runtime *s_rt, struct sdw_port_config *port_config) sdw_slave_port_config() argument
1056 sdw_slave_rt_alloc(struct sdw_slave *slave, struct sdw_master_runtime *m_rt) sdw_slave_rt_alloc() argument
1090 sdw_slave_rt_find(struct sdw_slave *slave, struct sdw_stream_runtime *stream) sdw_slave_rt_find() argument
1115 sdw_slave_rt_free(struct sdw_slave *slave, struct sdw_stream_runtime *stream) sdw_slave_rt_free() argument
1284 sdw_get_slave_dpn_prop(struct sdw_slave *slave, enum sdw_data_direction direction, unsigned int port_num) sdw_get_slave_dpn_prop() argument
1983 sdw_stream_add_slave(struct sdw_slave *slave, struct sdw_stream_config *stream_config, struct sdw_port_config *port_config, unsigned int num_ports, struct sdw_stream_runtime *stream) sdw_stream_add_slave() argument
2087 sdw_stream_remove_slave(struct sdw_slave *slave, struct sdw_stream_runtime *stream) sdw_stream_remove_slave() argument
[all...]
/kernel/linux/linux-5.10/drivers/dma/dw/
H A Dof.c20 struct dw_dma_slave slave = { in dw_dma_of_xlate() local
28 slave.src_id = dma_spec->args[0]; in dw_dma_of_xlate()
29 slave.dst_id = dma_spec->args[0]; in dw_dma_of_xlate()
30 slave.m_master = dma_spec->args[1]; in dw_dma_of_xlate()
31 slave.p_master = dma_spec->args[2]; in dw_dma_of_xlate()
33 slave.channels = dma_spec->args[3]; in dw_dma_of_xlate()
35 if (WARN_ON(slave.src_id >= DW_DMA_MAX_NR_REQUESTS || in dw_dma_of_xlate()
36 slave.dst_id >= DW_DMA_MAX_NR_REQUESTS || in dw_dma_of_xlate()
37 slave.m_master >= dw->pdata->nr_masters || in dw_dma_of_xlate()
38 slave in dw_dma_of_xlate()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw-phy-sel.c36 phy_interface_t phy_mode, int slave);
41 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352()
76 mask = GMII_SEL_MODE_MASK << (slave * 2) | BIT(slave + 6); in cpsw_gmii_sel_am3352()
77 mask |= BIT(slave + 4); in cpsw_gmii_sel_am3352()
78 mode <<= slave * 2; in cpsw_gmii_sel_am3352()
81 if (slave == 0) in cpsw_gmii_sel_am3352()
88 if (slave == 0) in cpsw_gmii_sel_am3352()
101 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_dra7xx()
131 switch (slave) { in cpsw_gmii_sel_dra7xx()
40 cpsw_gmii_sel_am3352(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) cpsw_gmii_sel_am3352() argument
100 cpsw_gmii_sel_dra7xx(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) cpsw_gmii_sel_dra7xx() argument
161 cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) cpsw_phy_sel() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw-phy-sel.c35 phy_interface_t phy_mode, int slave);
40 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352()
75 mask = GMII_SEL_MODE_MASK << (slave * 2) | BIT(slave + 6); in cpsw_gmii_sel_am3352()
76 mask |= BIT(slave + 4); in cpsw_gmii_sel_am3352()
77 mode <<= slave * 2; in cpsw_gmii_sel_am3352()
80 if (slave == 0) in cpsw_gmii_sel_am3352()
87 if (slave == 0) in cpsw_gmii_sel_am3352()
100 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_dra7xx()
130 switch (slave) { in cpsw_gmii_sel_dra7xx()
39 cpsw_gmii_sel_am3352(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) cpsw_gmii_sel_am3352() argument
99 cpsw_gmii_sel_dra7xx(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) cpsw_gmii_sel_dra7xx() argument
160 cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) cpsw_phy_sel() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dmax98373-sdw.c257 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local
264 if (!slave->unattach_request) in max98373_resume()
267 time = wait_for_completion_timeout(&slave->initialization_complete, in max98373_resume()
275 slave->unattach_request = 0; in max98373_resume()
287 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop() argument
289 struct sdw_slave_prop *prop = &slave->prop; in max98373_read_prop()
305 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in max98373_read_prop()
324 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in max98373_read_prop()
347 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init() argument
349 struct device *dev = &slave in max98373_io_init()
466 max98373_clock_calculate(struct sdw_slave *slave, unsigned int clk_freq) max98373_clock_calculate() argument
486 max98373_clock_config(struct sdw_slave *slave, struct sdw_bus_params *params) max98373_clock_config() argument
757 max98373_init(struct sdw_slave *slave, struct regmap *regmap) max98373_init() argument
788 max98373_update_status(struct sdw_slave *slave, enum sdw_slave_status status) max98373_update_status() argument
806 max98373_bus_config(struct sdw_slave *slave, struct sdw_bus_params *params) max98373_bus_config() argument
828 max98373_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) max98373_sdw_probe() argument
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_copy.c152 snd_pcm_dump(copy->plug.gen.slave, out); in snd_pcm_copy_dump()
177 * \param slave Slave PCM handle
178 * \param close_slave When set, the slave PCM handle is closed with copy PCM
184 int snd_pcm_copy_open(snd_pcm_t **pcmp, const char *name, snd_pcm_t *slave, int close_slave) in snd_pcm_copy_open() argument
189 assert(pcmp && slave); in snd_pcm_copy_open()
199 copy->plug.gen.slave = slave; in snd_pcm_copy_open()
202 err = snd_pcm_new(&pcm, SND_PCM_TYPE_COPY, name, slave->stream, slave->mode); in snd_pcm_copy_open()
210 pcm->poll_fd = slave in snd_pcm_copy_open()
269 snd_config_t *slave = NULL, *sconf; _snd_pcm_copy_open() local
[all...]

Completed in 23 milliseconds

12345678910>>...24