Searched refs:slave_num (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/iio/adc/ |
D | ad7280a.c | 126 int slave_num; member 498 st->channels = kcalloc((st->slave_num + 1) * 12 + 2, in ad7280_channel_init() 503 for (dev = 0, cnt = 0; dev <= st->slave_num; dev++) in ad7280_channel_init() 560 (st->slave_num + 1) * AD7280A_CELLS_PER_DEV, in ad7280_attr_init() 565 for (dev = 0, cnt = 0; dev <= st->slave_num; dev++) in ad7280_attr_init() 878 st->slave_num = ret; in ad7280_probe() 879 st->scan_cnt = (st->slave_num + 1) * AD7280A_NUM_CH; in ad7280_probe() 895 st->slave_num * 250; in ad7280_probe() 928 ret = ad7280_write(st, AD7280A_DEVADDR(st->slave_num), in ad7280_probe()
|
/drivers/net/ethernet/ti/ |
D | netcp_ethss.c | 624 int slave_num; /* 0 based logical number */ member 1932 static int gbe_get_slave_port(struct gbe_priv *priv, u32 slave_num) in gbe_get_slave_port() argument 1935 return slave_num + 1; in gbe_get_slave_port() 1937 return slave_num; in gbe_get_slave_port() 1994 int sp = slave->slave_num; in netcp_ethss_update_link_state() 2083 xgmii_mode |= (1 << slave->slave_num); in gbe_port_config() 2102 netcp_sgmii_rtreset(SGMII_BASE(priv, slave->slave_num), in gbe_sgmii_rtreset() 2103 slave->slave_num, set); in gbe_sgmii_rtreset() 2132 netcp_sgmii_reset(SGMII_BASE(priv, slave->slave_num), slave->slave_num); in gbe_sgmii_config() 2133 netcp_sgmii_config(SGMII_BASE(priv, slave->slave_num), slave->slave_num, in gbe_sgmii_config() [all …]
|
D | cpsw.c | 351 int slave_num; member 535 slave->slave_num); \ 546 static inline int cpsw_get_slave_port(struct cpsw_priv *priv, u32 slave_num) in cpsw_get_slave_port() argument 549 return slave_num + 1; in cpsw_get_slave_port() 551 return slave_num; in cpsw_get_slave_port() 867 slave_port = cpsw_get_slave_port(priv, slave->slave_num); in _cpsw_adjust_link() 1117 snprintf(name, sizeof(name), "slave-%d", slave->slave_num); in soft_reset_slave() 1159 slave_port = cpsw_get_slave_port(priv, slave->slave_num); in cpsw_slave_open() 1173 slave->slave_num); in cpsw_slave_open() 1182 slave->data->phy_id, slave->slave_num, in cpsw_slave_open() [all …]
|
/drivers/dma/sh/ |
D | shdma-base.c | 48 static unsigned int slave_num = 256; variable 49 module_param(slave_num, uint, 0444); 189 if (schan->real_slave_id < 0 || schan->real_slave_id >= slave_num) in shdma_setup_slave() 313 if (slave_id >= slave_num) in shdma_chan_filter() 1048 shdma_slave_used = kzalloc(DIV_ROUND_UP(slave_num, BITS_PER_LONG) * in shdma_enter()
|
D | shdma-r8a73a4.c | 65 .slave_num = ARRAY_SIZE(dma_slaves),
|
D | shdmac.c | 341 for (i = 0, cfg = pdata->slave; i < pdata->slave_num; i++, cfg++) in dmae_find_slave() 345 for (i = 0, cfg = pdata->slave; i < pdata->slave_num; i++, cfg++) in dmae_find_slave() 758 if (pdata->slave && pdata->slave_num) in sh_dmae_probe()
|
D | sudmac.c | 147 for (i = 0, cfg = pdata->slave; i < pdata->slave_num; i++, cfg++) in sudmac_find_slave()
|