/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | sdw-mockup.c | 23 struct sdw_slave *slave; member 69 if (!sdw_mockup->slave) in sdw_mockup_pcm_hw_params() 80 ret = sdw_stream_add_slave(sdw_mockup->slave, &stream_config, in sdw_mockup_pcm_hw_params() 95 if (!sdw_mockup->slave) in sdw_mockup_pcm_hw_free() 98 sdw_stream_remove_slave(sdw_mockup->slave, sdw_stream); in sdw_mockup_pcm_hw_free() 127 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status() argument 133 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop() argument 135 struct sdw_slave_prop *prop = &slave->prop; in sdw_mockup_read_prop() 155 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_mockup_read_prop() 173 prop->sink_dpn_prop = devm_kcalloc(&slave in sdw_mockup_read_prop() 197 sdw_mockup_bus_config(struct sdw_slave *slave, struct sdw_bus_params *params) sdw_mockup_bus_config() argument 203 sdw_mockup_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) sdw_mockup_interrupt_callback() argument 216 sdw_mockup_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) sdw_mockup_sdw_probe() argument 240 sdw_mockup_sdw_remove(struct sdw_slave *slave) sdw_mockup_sdw_remove() argument [all...] |
H A D | max98363.c | 91 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98363_resume() local 98 if (!slave->unattach_request) in max98363_resume() 101 time = wait_for_completion_timeout(&slave->initialization_complete, in max98363_resume() 110 slave->unattach_request = 0; in max98363_resume() 119 static int max98363_read_prop(struct sdw_slave *slave) in max98363_read_prop() argument 121 struct sdw_slave_prop *prop = &slave->prop; in max98363_read_prop() 137 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in max98363_read_prop() 157 static int max98363_io_init(struct sdw_slave *slave) in max98363_io_init() argument 159 struct device *dev = &slave->dev; in max98363_io_init() 221 if (!max98363->slave) in max98363_sdw_dai_hw_params() 299 max98363_update_status(struct sdw_slave *slave, enum sdw_slave_status status) max98363_update_status() argument 387 max98363_init(struct sdw_slave *slave, struct regmap *regmap) max98363_init() argument 433 max98363_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) max98363_sdw_probe() argument [all...] |
H A D | max98373-sdw.c | 267 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local 274 if (!slave->unattach_request) in max98373_resume() 277 time = wait_for_completion_timeout(&slave->initialization_complete, in max98373_resume() 281 sdw_show_ping_status(slave->bus, true); in max98373_resume() 287 slave->unattach_request = 0; in max98373_resume() 299 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop() argument 301 struct sdw_slave_prop *prop = &slave->prop; in max98373_read_prop() 317 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in max98373_read_prop() 336 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in max98373_read_prop() 359 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init() argument 467 max98373_clock_calculate(struct sdw_slave *slave, unsigned int clk_freq) max98373_clock_calculate() argument 487 max98373_clock_config(struct sdw_slave *slave, struct sdw_bus_params *params) max98373_clock_config() argument 729 max98373_init(struct sdw_slave *slave, struct regmap *regmap) max98373_init() argument 790 max98373_update_status(struct sdw_slave *slave, enum sdw_slave_status status) max98373_update_status() argument 808 max98373_bus_config(struct sdw_slave *slave, struct sdw_bus_params *params) max98373_bus_config() argument 830 max98373_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) max98373_sdw_probe() argument 843 max98373_sdw_remove(struct sdw_slave *slave) max98373_sdw_remove() argument [all...] |
H A D | rt1308-sdw.c | 123 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...] |
/kernel/linux/linux-5.10/drivers/net/bonding/ |
H A D | bond_procfs.c | 15 struct slave *slave; in __acquires() local 23 bond_for_each_slave_rcu(bond, slave, iter) in __acquires() 25 return slave; in __acquires() 34 struct slave *slave; in bond_info_seq_next() local 41 bond_for_each_slave_rcu(bond, slave, iter) { in bond_info_seq_next() 43 return slave; in bond_info_seq_next() 44 if (slave == v) in bond_info_seq_next() 61 struct slave *cur in bond_info_show_master() 169 bond_info_show_slave(struct seq_file *seq, const struct slave *slave) bond_info_show_slave() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/bonding/ |
H A D | bond_procfs.c | 16 struct slave *slave; in __acquires() local 24 bond_for_each_slave_rcu(bond, slave, iter) in __acquires() 26 return slave; in __acquires() 35 struct slave *slave; in bond_info_seq_next() local 42 bond_for_each_slave_rcu(bond, slave, iter) { in bond_info_seq_next() 44 return slave; in bond_info_seq_next() 45 if (slave == v) in bond_info_seq_next() 62 struct slave *cur in bond_info_show_master() 190 bond_info_show_slave(struct seq_file *seq, const struct slave *slave) bond_info_show_slave() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | dlci.c | 193 netdev_start_xmit(skb, dlp->slave, txq, false); in dlci_transmit() 207 flp = netdev_priv(dlp->slave); in dlci_config() 219 err = (*flp->dlci_conf)(dlp->slave, dev, get); in dlci_config() 247 strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave)); in dlci_dev_ioctl() 267 return dev_set_mtu(dlp->slave, new_mtu); in dlci_change_mtu() 281 if (!netif_running(dlp->slave)) in dlci_open() 284 flp = netdev_priv(dlp->slave); in dlci_open() 285 err = (*flp->activate)(dlp->slave, dev); in dlci_open() 303 flp = netdev_priv(dlp->slave); in dlci_close() 304 (*flp->deactivate)(dlp->slave, de in dlci_close() 311 struct net_device *master, *slave; dlci_add() local 376 struct net_device *master, *slave; dlci_del() local [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | omap_hwmod_33xx_43xx_interconnect_data.c | 24 .slave = &am33xx_l3_main_hwmod, 32 .slave = &am33xx_l3_s_hwmod, 40 .slave = &am33xx_l4_ls_hwmod, 48 .slave = &am33xx_l4_wkup_hwmod, 56 .slave = &am33xx_l3_instr_hwmod, 64 .slave = &am33xx_prcm_hwmod, 72 .slave = &am33xx_l3_main_hwmod, 80 .slave = &am33xx_gpmc_hwmod, 88 .slave = &am33xx_ocmcram_hwmod,
|
H A D | omap_hwmod_2430_data.c | 378 .slave = &omap2xxx_l3_main_hwmod, 386 .slave = &omap2430_i2c1_hwmod, 394 .slave = &omap2430_i2c2_hwmod, 402 .slave = &omap2430_usbhsotg_hwmod, 410 .slave = &omap2430_mmc1_hwmod, 418 .slave = &omap2430_mmc2_hwmod, 426 .slave = &omap2430_mcspi3_hwmod, 434 .slave = &omap2430_iva_hwmod, 442 .slave = &omap2xxx_wd_timer2_hwmod, 450 .slave [all...] |
H A D | omap_hwmod_2420_data.c | 238 .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...] |
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | irq.c | 49 void sdw_irq_create_mapping(struct sdw_slave *slave) in sdw_irq_create_mapping() argument 51 slave->irq = irq_create_mapping(slave->bus->domain, slave->dev_num); in sdw_irq_create_mapping() 52 if (!slave->irq) in sdw_irq_create_mapping() 53 dev_warn(&slave->dev, "Failed to map IRQ\n"); in sdw_irq_create_mapping() 56 void sdw_irq_dispose_mapping(struct sdw_slave *slave) in sdw_irq_dispose_mapping() argument 58 irq_dispose_mapping(irq_find_mapping(slave->bus->domain, slave->dev_num)); in sdw_irq_dispose_mapping()
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | omap_hwmod_2430_data.c | 378 .slave = &omap2xxx_l3_main_hwmod, 386 .slave = &omap2430_i2c1_hwmod, 394 .slave = &omap2430_i2c2_hwmod, 402 .slave = &omap2430_usbhsotg_hwmod, 410 .slave = &omap2430_mmc1_hwmod, 418 .slave = &omap2430_mmc2_hwmod, 426 .slave = &omap2430_mcspi3_hwmod, 434 .slave = &omap2430_iva_hwmod, 442 .slave = &omap2xxx_wd_timer2_hwmod, 450 .slave [all...] |
H A D | omap_hwmod_2420_data.c | 237 .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...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | rt1308-sdw.c | 118 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop() argument 120 struct sdw_slave_prop *prop = &slave->prop; in rt1308_read_prop() 137 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1308_read_prop() 157 dev_dbg(&slave->dev, "%s\n", __func__); in rt1308_read_prop() 162 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init() argument 182 pm_runtime_set_autosuspend_delay(&slave->dev, 3000); in rt1308_io_init() 183 pm_runtime_use_autosuspend(&slave->dev); in rt1308_io_init() 186 pm_runtime_set_active(&slave->dev); in rt1308_io_init() 189 pm_runtime_mark_last_busy(&slave->dev); in rt1308_io_init() 191 pm_runtime_enable(&slave in rt1308_io_init() 275 rt1308_update_status(struct sdw_slave *slave, enum sdw_slave_status status) rt1308_update_status() argument 297 rt1308_bus_config(struct sdw_slave *slave, struct sdw_bus_params *params) rt1308_bus_config() argument 312 rt1308_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) rt1308_interrupt_callback() argument 640 rt1308_sdw_init(struct device *dev, struct regmap *regmap, struct sdw_slave *slave) rt1308_sdw_init() argument 671 rt1308_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) rt1308_sdw_probe() argument 708 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt1308_dev_resume() local [all...] |
H A D | rt711-sdw.c | 316 static int rt711_update_status(struct sdw_slave *slave, in rt711_update_status() argument 319 struct rt711_priv *rt711 = dev_get_drvdata(&slave->dev); in rt711_update_status() 328 * Perform initialization only if slave status is present and in rt711_update_status() 335 return rt711_io_init(&slave->dev, slave); in rt711_update_status() 338 static int rt711_read_prop(struct sdw_slave *slave) in rt711_read_prop() argument 340 struct sdw_slave_prop *prop = &slave->prop; in rt711_read_prop() 357 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt711_read_prop() 376 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt711_read_prop() 402 static int rt711_bus_config(struct sdw_slave *slave, in rt711_bus_config() argument 417 rt711_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) rt711_interrupt_callback() argument 440 rt711_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) rt711_sdw_probe() argument 460 rt711_sdw_remove(struct sdw_slave *slave) rt711_sdw_remove() argument 499 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt711_dev_resume() local [all...] |
H A D | rt700-sdw.c | 312 static int rt700_update_status(struct sdw_slave *slave, in rt700_update_status() argument 315 struct rt700_priv *rt700 = dev_get_drvdata(&slave->dev); in rt700_update_status() 324 * Perform initialization only if slave status is present and in rt700_update_status() 331 return rt700_io_init(&slave->dev, slave); in rt700_update_status() 334 static int rt700_read_prop(struct sdw_slave *slave) in rt700_read_prop() argument 336 struct sdw_slave_prop *prop = &slave->prop; in rt700_read_prop() 353 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt700_read_prop() 372 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt700_read_prop() 398 static int rt700_bus_config(struct sdw_slave *slave, in rt700_bus_config() argument 413 rt700_interrupt_callback(struct sdw_slave *slave, struct sdw_slave_intr_status *status) rt700_interrupt_callback() argument 440 rt700_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) rt700_sdw_probe() argument 460 rt700_sdw_remove(struct sdw_slave *slave) rt700_sdw_remove() argument 497 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt700_dev_resume() local [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | bond_3ad.h | 155 struct slave; 191 struct slave *slave; /* pointer to the bond slave that this aggregator belongs to */ member 239 struct slave *slave; /* pointer to the bond slave that this port belongs to */ member 258 #define SLAVE_AD_INFO(slave) ((slave)->ad_info) 292 void bond_3ad_bind_slave(struct slave *slav [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | bond_3ad.h | 155 struct slave; 191 struct slave *slave; /* pointer to the bond slave that this aggregator belongs to */ member 239 struct slave *slave; /* pointer to the bond slave that this port belongs to */ member 258 #define SLAVE_AD_INFO(slave) ((slave)->ad_info) 292 void bond_3ad_bind_slave(struct slave *slav [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-designware-slave.c | 3 * Synopsys DesignWare I2C adapter driver (slave only). 27 /* Configure the I2C slave. */ in i2c_dw_configure_fifo_slave() 33 * i2c_dw_init_slave() - Initialize the designware i2c slave hardware 36 * This function configures and enables the I2C in slave mode. 61 static int i2c_dw_reg_slave(struct i2c_client *slave) in i2c_dw_reg_slave() argument 63 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_reg_slave() 65 if (dev->slave) in i2c_dw_reg_slave() 67 if (slave->flags & I2C_CLIENT_TEN) in i2c_dw_reg_slave() 72 * Set slave address in the IC_SAR register, in i2c_dw_reg_slave() 76 regmap_write(dev->map, DW_IC_SAR, slave in i2c_dw_reg_slave() 86 i2c_dw_unreg_slave(struct i2c_client *slave) i2c_dw_unreg_slave() argument [all...] |
/kernel/linux/linux-6.6/drivers/dma/dw/ |
H A D | of.c | 20 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/infiniband/hw/mlx4/ |
H A D | cm.c | 58 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...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A D | cm.c | 58 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...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4.h | 132 /*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 D | mlx4.h | 134 /*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/drivers/soundwire/ |
H A D | sysfs_slave_dpn.c | 53 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...] |