Searched refs:slave_num (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/iio/adc/ |
D | ad7280a.c | 134 int slave_num; member 584 st->channels = devm_kcalloc(&st->spi->dev, (st->slave_num + 1) * 12 + 2, in ad7280_channel_init() 589 for (dev = 0; dev <= st->slave_num; dev++) in ad7280_channel_init() 670 (st->slave_num + 1) * AD7280A_CELLS_PER_DEV, in ad7280_attr_init() 675 for (dev = 0; dev <= st->slave_num; dev++) { in ad7280_attr_init() 954 st->slave_num = ret; in ad7280_probe() 955 st->scan_cnt = (st->slave_num + 1) * AD7280A_NUM_CH; in ad7280_probe() 974 t_acq_ns[pdata->acquisition_time & 0x3] + st->slave_num * 250; in ad7280_probe() 1006 ret = ad7280_write(st, ad7280a_devaddr(st->slave_num), in ad7280_probe()
|
/drivers/net/ethernet/ti/ |
D | netcp_ethss.c | 693 int slave_num; /* 0 based logical number */ member 2065 static int gbe_get_slave_port(struct gbe_priv *priv, u32 slave_num) in gbe_get_slave_port() argument 2068 return slave_num + 1; in gbe_get_slave_port() 2070 return slave_num; in gbe_get_slave_port() 2140 int sp = slave->slave_num, link_state; in netcp_ethss_update_link_state() 2230 xgmii_mode |= (1 << slave->slave_num); in gbe_port_config() 2249 netcp_sgmii_rtreset(SGMII_BASE(priv, slave->slave_num), in gbe_sgmii_rtreset() 2250 slave->slave_num, set); in gbe_sgmii_rtreset() 2280 netcp_sgmii_reset(SGMII_BASE(priv, slave->slave_num), slave->slave_num); in gbe_sgmii_config() 2281 netcp_sgmii_config(SGMII_BASE(priv, slave->slave_num), slave->slave_num, in gbe_sgmii_config() [all …]
|
D | cpsw.c | 86 static int cpsw_get_slave_port(u32 slave_num) in cpsw_get_slave_port() argument 88 return slave_num + 1; in cpsw_get_slave_port() 465 slave_port = cpsw_get_slave_port(slave->slave_num); in _cpsw_adjust_link() 605 slave_port = cpsw_get_slave_port(slave->slave_num); in cpsw_slave_open() 619 slave->slave_num); in cpsw_slave_open() 628 slave->data->phy_id, slave->slave_num, in cpsw_slave_open() 648 slave->slave_num); in cpsw_slave_open() 717 slave_port = cpsw_get_slave_port(slave->slave_num); in cpsw_slave_stop()
|
D | cpsw_priv.c | 489 slave->slave_num = i; in cpsw_init_common() 797 shift = CPSW_FIFO_SHAPE_EN_SHIFT + 3 * slave->slave_num; in cpsw_shp_is_off() 813 shift = CPSW_FIFO_SHAPE_EN_SHIFT + 3 * slave->slave_num; in cpsw_fifo_shp_on()
|
D | cpsw_priv.h | 305 int slave_num; member
|
D | cpsw_new.c | 766 slave->slave_num); in cpsw_slave_open() 772 slave->slave_num); in cpsw_slave_open()
|
/drivers/dma/sh/ |
D | shdma-base.c | 45 static unsigned int slave_num = 256; variable 46 module_param(slave_num, uint, 0444); 186 if (schan->real_slave_id < 0 || schan->real_slave_id >= slave_num) in shdma_setup_slave() 310 if (slave_id >= slave_num) in shdma_chan_filter() 1045 shdma_slave_used = kcalloc(DIV_ROUND_UP(slave_num, BITS_PER_LONG), in shdma_enter()
|
D | shdmac.c | 337 for (i = 0, cfg = pdata->slave; i < pdata->slave_num; i++, cfg++) in dmae_find_slave() 341 for (i = 0, cfg = pdata->slave; i < pdata->slave_num; i++, cfg++) in dmae_find_slave() 738 if (pdata->slave && pdata->slave_num) in sh_dmae_probe()
|