/linux-master/sound/soc/codecs/ |
H A D | max98363.h | 32 struct sdw_slave *slave; member in struct:max98363_priv
|
H A D | rt712-sdca-dmic.c | 141 dev_err(&rt712->slave->dev, 157 dev_err(&rt712->slave->dev, 178 static int rt712_sdca_dmic_io_init(struct device *dev, struct sdw_slave *slave) argument 196 pm_runtime_set_active(&slave->dev); 199 pm_runtime_get_noresume(&slave->dev); 239 pm_runtime_mark_last_busy(&slave->dev); 240 pm_runtime_put_autosuspend(&slave->dev); 242 dev_dbg(&slave->dev, "%s hw_init complete\n", __func__); 320 dev_err(&rt712->slave->dev, "%s: 0x%08x can't be set\n", 656 if (!rt712->slave) 760 rt712_sdca_dmic_init(struct device *dev, struct regmap *regmap, struct regmap *mbq_regmap, struct sdw_slave *slave) argument 816 rt712_sdca_dmic_update_status(struct sdw_slave *slave, enum sdw_slave_status status) argument 835 rt712_sdca_dmic_read_prop(struct sdw_slave *slave) argument 914 struct sdw_slave *slave = dev_to_sdw_dev(dev); local 954 rt712_sdca_dmic_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument 971 rt712_sdca_dmic_sdw_remove(struct sdw_slave *slave) argument [all...] |
H A D | rt715-sdca.h | 22 struct sdw_slave *slave; member in struct:rt715_sdca_priv 128 int rt715_sdca_io_init(struct device *dev, struct sdw_slave *slave); 130 struct regmap *regmap, struct sdw_slave *slave);
|
H A D | rt1318-sdw.c | 345 static int rt1318_read_prop(struct sdw_slave *slave) argument 347 struct sdw_slave_prop *prop = &slave->prop; 364 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, 382 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, 404 static int rt1318_io_init(struct device *dev, struct sdw_slave *slave) argument 419 pm_runtime_set_active(&slave->dev); 422 pm_runtime_get_noresume(&slave->dev); 437 pm_runtime_mark_last_busy(&slave->dev); 438 pm_runtime_put_autosuspend(&slave->dev); 440 dev_dbg(&slave 444 rt1318_update_status(struct sdw_slave *slave, enum sdw_slave_status status) argument 734 rt1318_sdw_init(struct device *dev, struct regmap *regmap, struct sdw_slave *slave) argument 784 rt1318_sdw_probe(struct sdw_slave *slave, const struct sdw_device_id *id) argument 797 rt1318_sdw_remove(struct sdw_slave *slave) argument 825 struct sdw_slave *slave = dev_to_sdw_dev(dev); local [all...] |
/linux-master/drivers/clk/bcm/ |
H A D | clk-bcm281xx.c | 305 BCM281XX_CCU_COMMON(slave, SLAVE), 308 KONA_CLK(slave, uartb, peri), 310 KONA_CLK(slave, uartb2, peri), 312 KONA_CLK(slave, uartb3, peri), 314 KONA_CLK(slave, uartb4, peri), 316 KONA_CLK(slave, ssp0, peri), 318 KONA_CLK(slave, ssp2, peri), 320 KONA_CLK(slave, bsc1, peri), 322 KONA_CLK(slave, bsc2, peri), 324 KONA_CLK(slave, bsc [all...] |
H A D | clk-bcm21664.c | 229 BCM21664_CCU_COMMON(slave, SLAVE), 236 KONA_CLK(slave, uartb, peri), 238 KONA_CLK(slave, uartb2, peri), 240 KONA_CLK(slave, uartb3, peri), 242 KONA_CLK(slave, bsc1, peri), 244 KONA_CLK(slave, bsc2, peri), 246 KONA_CLK(slave, bsc3, peri), 248 KONA_CLK(slave, bsc4, peri),
|
/linux-master/include/trace/events/ |
H A D | fsi.h | 157 TP_PROTO(const struct fsi_slave *slave), 158 TP_ARGS(slave), 169 __entry->master_idx = slave->master->idx; 170 __entry->master_n_links = slave->master->n_links; 171 __entry->idx = slave->cdev_idx; 172 __entry->link = slave->link; 173 __entry->chip_id = slave->chip_id; 174 __entry->cfam_id = slave->cfam_id; 175 __entry->size = slave->size; 224 __entry->master_idx = dev->slave [all...] |
/linux-master/drivers/net/ethernet/ti/ |
H A D | cpsw.c | 68 struct cpsw_slave *slave; \ 75 slave = cpsw->slaves; \ 77 (func)(slave++, ##arg); \ 454 static void _cpsw_adjust_link(struct cpsw_slave *slave, argument 457 struct phy_device *phy = slave->phy; 465 slave_port = cpsw_get_slave_port(slave->slave_num); 488 if (mac_control != slave->mac_control) 489 cpsw_sl_ctl_set(slave->mac_sl, mac_control); 498 priv->shp_cfg_speed != slave->phy->speed && 508 cpsw_sl_wait_for_idle(slave 540 cpsw_add_dual_emac_def_ale_entries( struct cpsw_priv *priv, struct cpsw_slave *slave, u32 slave_port) argument 562 cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv) argument 713 cpsw_slave_stop(struct cpsw_slave *slave, struct cpsw_common *cpsw) argument [all...] |
H A D | cpsw_priv.c | 272 void cpsw_set_slave_mac(struct cpsw_slave *slave, struct cpsw_priv *priv) argument 274 slave_write(slave, mac_hi(priv->mac_addr), SA_HI); 275 slave_write(slave, mac_lo(priv->mac_addr), SA_LO); 487 struct cpsw_slave *slave = &cpsw->slaves[i]; local 490 slave->slave_num = i; 491 slave->data = &cpsw->data.slave_data[i]; 492 slave->regs = regs + slave_offset; 493 slave->port_vlan = slave->data->dual_emac_res_vlan; 494 slave 557 struct cpsw_slave *slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; local 581 struct cpsw_slave *slave; local 737 struct cpsw_slave *slave; local 793 struct cpsw_slave *slave; local 809 struct cpsw_slave *slave; local 826 struct cpsw_slave *slave; local 885 struct cpsw_slave *slave; local 937 struct cpsw_slave *slave; local 998 struct cpsw_slave *slave; local 1067 cpsw_cbs_resume(struct cpsw_slave *slave, struct cpsw_priv *priv) argument 1080 cpsw_mqprio_resume(struct cpsw_slave *slave, struct cpsw_priv *priv) argument [all...] |
/linux-master/drivers/dma/dw/ |
H A D | acpi.c | 12 struct dw_dma_slave slave = { local 20 return dw_dma_filter(chan, &slave);
|
/linux-master/arch/um/os-Linux/ |
H A D | sigio.c | 416 int slave; member in struct:openpty_arg 425 if (openpty(&info->master, &info->slave, NULL, NULL, NULL)) 429 static int async_pty(int master, int slave) argument 441 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) 450 struct openpty_arg pty = { .master = -1, .slave = -1 }; 451 int master, slave, err; local 461 slave = pty.slave; 463 if ((master == -1) || (slave == -1)) { 477 err = async_pty(master, slave); 509 tty_output(int master, int slave) argument [all...] |
/linux-master/net/sched/ |
H A D | sch_teql.c | 27 and new qdisc with the same name. To join a slave to the equalizer 41 2. This device puts no limitations on physical slave characteristics 46 3. If the slave requires address resolution, only protocols using 48 Other protocols are still allowed to use the slave device directly, 49 which will not break load balancing, though native slave 297 struct net_device *slave = qdisc_dev(q); local 298 struct netdev_queue *slave_txq = netdev_get_tx_queue(slave, 0); 302 if (netif_xmit_stopped(netdev_get_tx_queue(slave, subq)) || 303 !netif_running(slave)) { 308 switch (teql_resolve(skb, skb_res, slave, slave_tx 369 struct net_device *slave = qdisc_dev(q); local [all...] |
/linux-master/drivers/net/bonding/ |
H A D | bond_options.c | 254 .desc = "Packets to send per slave in RR mode", 406 .desc = "Reselect primary slave once it comes up", 420 .desc = "Currently active slave", 430 .desc = "Set queue id of a slave", 451 .desc = "The number of seconds between instances where the bonding driver sends learning packets to each slave's peer switch", 925 slave_err(bond->dev, slave_dev, "Device is not bonding slave\n"); 930 slave_err(bond->dev, slave_dev, "Device is not our slave\n"); 938 netdev_dbg(bond->dev, "Clearing current active slave\n"); 942 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); 943 struct slave *new_activ 1119 struct slave *slave; local 1167 struct slave *slave; local 1243 struct slave *slave; local 1334 struct slave *slave; local 1357 struct slave *slave; local 1456 struct slave *slave; local 1546 struct slave *slave, *update_slave; local [all...] |
/linux-master/drivers/dma/ |
H A D | sa11x0-dma.c | 118 struct dma_device slave; member in struct:sa11x0_dma_dev 133 return container_of(dmadev, struct sa11x0_dma_dev, slave); 154 dev_vdbg(p->dev->slave.dev, "pchan %u: txd %p[%x]: starting: DDAR:%x\n", 216 dev_dbg(p->dev->slave.dev, "pchan %u: load: DCSR:%02x DBS%c:%08x DBT%c:%08x\n", 263 dev_dbg(d->slave.dev, "pchan %u: irq: DCSR:%02x\n", p->num, dcsr); 266 dev_err(d->slave.dev, "pchan %u: error. DCSR:%02x DDAR:%08x DBSA:%08x DBTA:%08x DBSB:%08x DBTB:%08x\n", 333 dev_dbg(d->slave.dev, "tasklet enter\n"); 335 list_for_each_entry(c, &d->slave.channels, vc.chan.device_node) { 342 dev_dbg(d->slave.dev, "pchan %u: free\n", p->num); 366 dev_dbg(d->slave [all...] |
H A D | sun4i-dma.c | 174 struct dma_device slave; member in struct:sun4i_dma_dev 185 return container_of(dev, struct sun4i_dma_dev, slave); 951 chan = dma_get_any_slave_channel(&priv->slave); 1172 dma_cap_zero(priv->slave.cap_mask); 1173 dma_cap_set(DMA_PRIVATE, priv->slave.cap_mask); 1174 dma_cap_set(DMA_MEMCPY, priv->slave.cap_mask); 1175 dma_cap_set(DMA_CYCLIC, priv->slave.cap_mask); 1176 dma_cap_set(DMA_SLAVE, priv->slave.cap_mask); 1178 INIT_LIST_HEAD(&priv->slave.channels); 1179 priv->slave [all...] |
H A D | k3dma.c | 99 struct dma_device slave; member in struct:k3_dma_dev 122 #define to_k3_dma(dmadev) container_of(dmadev, struct k3_dma_dev, slave) 246 dev_warn(d->slave.dev, "DMA ERR\n"); 306 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { 312 dev_dbg(d->slave.dev, "pchan %u: free\n", p->idx); 338 dev_dbg(d->slave.dev, "pchan %u: alloc vchan %p\n", pch, &c->vc); 437 dev_dbg(d->slave.dev, "vchan %p: issued\n", &c->vc); 442 dev_dbg(d->slave.dev, "vchan %p: nothing to issue\n", &c->vc); 727 dev_dbg(d->slave.dev, "vchan %p: terminate all\n", &c->vc); 767 dev_dbg(d->slave [all...] |
/linux-master/drivers/soundwire/ |
H A D | intel_auxdevice.c | 66 static bool is_wake_capable(struct sdw_slave *slave) argument 71 if (slave->id.part_id == wake_capable_list[i].part_id && 72 slave->id.mfg_id == wake_capable_list[i].mfg_id) 94 struct sdw_slave *slave, 101 bool wake_capable = slave->prop.wake_capable || is_wake_capable(slave); 114 __func__, dev_num, slave->prop.wake_capable); 172 static int intel_get_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave) argument 176 if (slave->prop.wake_capable || is_wake_capable(slave)) 93 generic_new_peripheral_assigned(struct sdw_bus *bus, struct sdw_slave *slave, int dev_num) argument 188 intel_put_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave) argument 446 struct sdw_slave *slave = dev_to_sdw_dev(dev); local [all...] |
/linux-master/arch/um/drivers/ |
H A D | slip_user.c | 152 pri->slave = sfd; 166 err = os_get_ifname(pri->slave, pri->name); 204 err = slip_tramp(argv, pri->slave); 209 close(pri->slave); 210 pri->slave = -1; 228 if (pri->slave < 0) 238 if (pri->slave < 0)
|
H A D | slirp_user.c | 65 pri->slave = fds[1]; 83 close(pri->slave); 85 pri->slave = -1;
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-gxp.c | 90 struct i2c_client *slave; member in struct:gxp_i2c_drvdata 151 static int gxp_i2c_reg_slave(struct i2c_client *slave) argument 153 struct gxp_i2c_drvdata *drvdata = i2c_get_adapdata(slave->adapter); 155 if (drvdata->slave) 158 if (slave->flags & I2C_CLIENT_TEN) 161 drvdata->slave = slave; 163 writeb(slave->addr << 1, drvdata->base + GXP_I2COWNADR); 170 static int gxp_i2c_unreg_slave(struct i2c_client *slave) argument 172 struct gxp_i2c_drvdata *drvdata = i2c_get_adapdata(slave [all...] |
/linux-master/drivers/staging/vme_user/ |
H A D | vme_user.c | 53 * 4 = /dev/bus/vme/s0 First slave image 54 * 5 = /dev/bus/vme/s1 Second slave image 55 * 6 = /dev/bus/vme/s2 Third slave image 56 * 7 = /dev/bus/vme/s3 Fourth slave image 64 * even support the tsi148 chipset (which has 8 master and 8 slave windows). 73 * The vmelinux.org driver never supported slave images, the devices reserved 86 #define PCI_BUF_SIZE 0x20000 /* Size of one slave image buffer */ 296 struct vme_slave slave; local 369 memset(&slave, 0, sizeof(slave)); [all...] |
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 228 static int send_mad_to_slave(int slave, struct mlx4_ib_demux_ctx *ctx, argument 249 return mlx4_ib_send_to_slave(dev, slave, ctx->port, IB_QPT_GSI, &wc, NULL, mad); 261 /* fix port GID to be the real one (slave 0) */ 318 static int send_reply_to_slave(int slave, struct mcast_group *group, argument 345 sa_data->scope_join_state |= (group->func[slave].join_state & 0x0f); 348 ret = send_mad_to_slave(slave, group->demux, (struct ib_mad *)&mad); 495 static int join_group(struct mcast_group *group, int slave, u8 join_mask) argument 500 /* remove bits that slave is already member of, and adjust */ 501 join_state = join_mask & (~group->func[slave].join_state); 503 group->func[slave] 511 leave_group(struct mcast_group *group, int slave, u8 leave_state) argument 524 check_leave(struct mcast_group *group, int slave, u8 leave_mask) argument 882 mlx4_ib_mcg_demux_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *mad) argument 931 mlx4_ib_mcg_multiplex_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) argument 1206 push_deleteing_req(struct mcast_group *group, int slave) argument 1235 clean_vf_mcast(struct mlx4_ib_demux_ctx *ctx, int slave) argument [all...] |
/linux-master/sound/soc/spear/ |
H A D | spear_pcm.c | 42 bool (*filter)(struct dma_chan *chan, void *slave)) 40 devm_spear_pcm_platform_register(struct device *dev, struct snd_dmaengine_pcm_config *config, bool (*filter)(struct dma_chan *chan, void *slave)) argument
|
/linux-master/net/ax25/ |
H A D | ax25_ds_subr.c | 150 * mode. We thus flag the 'real' slave connections with 151 * ax25->dama_slave=1 and look on every disconnect if still slave 175 if (ax25_dev->dama.slave == 0) 178 ax25_dev->dama.slave = 1; 187 if (ax25_dev->dama.slave && !ax25_check_dama_slave(ax25_dev)) { 189 ax25_dev->dama.slave = 0;
|
/linux-master/drivers/mfd/ |
H A D | palmas.c | 428 int ret, slave; local 435 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); 444 ret = regmap_update_bits(palmas_dev->regmap[slave], addr, 452 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); 456 palmas_dev->regmap[slave], 492 int slave; local 564 slave = PALMAS_BASE_TO_SLAVE(PALMAS_INTERRUPT_BASE); 568 regmap_write(palmas->regmap[slave], addr, reg); 570 ret = regmap_add_irq_chip(palmas->regmap[slave], palmas->irq, 577 slave [all...] |