/linux-4.19.296/include/net/ |
D | bonding.h | 142 struct slave { struct 173 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument 175 return container_of(kobj, struct slave, kobj); in to_slave() 181 struct slave *arr[0]; 195 struct slave __rcu *curr_active_slave; 196 struct slave __rcu *current_arp_slave; 197 struct slave __rcu *primary_slave; 203 struct slave *); 239 ((struct slave *) rcu_dereference(dev->rx_handler_data)) 242 ((struct slave *) rtnl_dereference(dev->rx_handler_data)) [all …]
|
D | bond_alb.h | 28 struct slave; 31 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info) argument 72 struct slave *tx_slave; /* A pointer to slave used for transmiting 127 struct slave *slave; /* the slave assigned to this client */ member 154 struct slave *rx_slave;/* last slave to xmit from */ 171 int bond_alb_init_slave(struct bonding *bond, struct slave *slave); 172 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave); 173 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link); 174 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
|
D | bond_3ad.h | 174 struct slave; 197 struct slave *slave; /* pointer to the bond slave that this aggregator belongs to */ member 245 struct slave *slave; /* pointer to the bond slave that this port belongs to */ member 264 #define SLAVE_AD_INFO(slave) ((slave)->ad_info) argument 296 void bond_3ad_bind_slave(struct slave *slave); 297 void bond_3ad_unbind_slave(struct slave *slave); 300 void bond_3ad_adapter_speed_duplex_changed(struct slave *slave); 301 void bond_3ad_handle_link_change(struct slave *slave, char link); 306 struct slave *slave);
|
/linux-4.19.296/drivers/soundwire/ |
D | bus.c | 103 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local 104 struct sdw_bus *bus = slave->bus; in sdw_delete_slave() 108 if (slave->dev_num) /* clear dev_num if assigned */ in sdw_delete_slave() 109 clear_bit(slave->dev_num, bus->assigned); in sdw_delete_slave() 111 list_del_init(&slave->node); in sdw_delete_slave() 260 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg() argument 280 if (slave && !slave->prop.paging_support) in sdw_fill_msg() 291 if (!slave) { in sdw_fill_msg() 294 } else if (!slave->prop.paging_support) { in sdw_fill_msg() 295 dev_err(&slave->dev, in sdw_fill_msg() [all …]
|
D | bus_type.c | 19 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id() argument 24 if (slave->id.mfg_id == id->mfg_id && in sdw_get_device_id() 25 slave->id.part_id == id->part_id) in sdw_get_device_id() 35 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_match() local 38 return !!sdw_get_device_id(slave, drv); in sdw_bus_match() 41 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias() argument 46 slave->id.mfg_id, slave->id.part_id); in sdw_slave_modalias() 51 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_uevent() local 54 sdw_slave_modalias(slave, modalias, sizeof(modalias)); in sdw_uevent() 71 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe() local [all …]
|
D | slave.c | 11 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_release() local 13 kfree(slave); in sdw_slave_release() 19 struct sdw_slave *slave; in sdw_slave_add() local 22 slave = kzalloc(sizeof(*slave), GFP_KERNEL); in sdw_slave_add() 23 if (!slave) in sdw_slave_add() 27 memcpy(&slave->id, id, sizeof(*id)); in sdw_slave_add() 28 slave->dev.parent = bus->dev; in sdw_slave_add() 29 slave->dev.fwnode = fwnode; in sdw_slave_add() 32 dev_set_name(&slave->dev, "sdw:%x:%x:%x:%x:%x", in sdw_slave_add() 36 slave->dev.release = sdw_slave_release; in sdw_slave_add() [all …]
|
D | stream.c | 56 struct sdw_slave *slave, in _sdw_program_slave_port_params() argument 77 ret = sdw_write(slave, addr1, t_params->offset2); in _sdw_program_slave_port_params() 84 ret = sdw_write(slave, addr2, t_params->blk_pkg_mode); in _sdw_program_slave_port_params() 103 ret = sdw_write(slave, addr3, wbuf); in _sdw_program_slave_port_params() 114 ret = sdw_write(slave, addr4, wbuf); in _sdw_program_slave_port_params() 127 struct sdw_slave_prop *slave_prop = &s_rt->slave->prop; in sdw_program_slave_port_params() 133 dpn_prop = sdw_get_slave_dpn_prop(s_rt->slave, in sdw_program_slave_port_params() 159 ret = sdw_update(s_rt->slave, addr1, 0xF, wbuf); in sdw_program_slave_port_params() 161 dev_err(&s_rt->slave->dev, in sdw_program_slave_port_params() 168 ret = sdw_write(s_rt->slave, addr2, (p_params->bps - 1)); in sdw_program_slave_port_params() [all …]
|
D | mipi_disco.c | 122 static int sdw_slave_read_dp0(struct sdw_slave *slave, in sdw_slave_read_dp0() argument 138 dp0->words = devm_kcalloc(&slave->dev, in sdw_slave_read_dp0() 161 static int sdw_slave_read_dpn(struct sdw_slave *slave, in sdw_slave_read_dpn() argument 180 node = device_get_named_child_node(&slave->dev, name); in sdw_slave_read_dpn() 182 dev_err(&slave->dev, "%s dpN not found\n", name); in sdw_slave_read_dpn() 196 dpn[i].words = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn() 236 dpn[i].ch = devm_kcalloc(&slave->dev, dpn[i].num_ch, in sdw_slave_read_dpn() 251 dpn[i].ch_combinations = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn() 288 int sdw_slave_read_prop(struct sdw_slave *slave) in sdw_slave_read_prop() argument 290 struct sdw_slave_prop *prop = &slave->prop; in sdw_slave_read_prop() [all …]
|
D | bus.h | 85 struct sdw_slave *slave; member 114 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave, 117 int sdw_configure_dpn_intr(struct sdw_slave *slave, int port, 126 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, 131 sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update() argument 135 tmp = sdw_read(slave, addr); in sdw_update() 140 return sdw_write(slave, addr, tmp); in sdw_update()
|
/linux-4.19.296/drivers/fsi/ |
D | fsi-core.c | 142 return fsi_slave_read(dev->slave, dev->addr + addr, val, size); in fsi_device_read() 152 return fsi_slave_write(dev->slave, dev->addr + addr, val, size); in fsi_device_write() 160 return fsi_slave_read(dev->slave, addr, val, sizeof(uint32_t)); in fsi_device_peek() 171 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device() argument 179 dev->dev.parent = &slave->dev; in fsi_create_device() 187 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr() argument 193 if (addr > slave->size) in fsi_slave_calc_addr() 200 if (slave->id != 0) in fsi_slave_calc_addr() 211 static int fsi_slave_report_and_clear_errors(struct fsi_slave *slave) in fsi_slave_report_and_clear_errors() argument 213 struct fsi_master *master = slave->master; in fsi_slave_report_and_clear_errors() [all …]
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-designware-slave.c | 60 static int i2c_dw_reg_slave(struct i2c_client *slave) in i2c_dw_reg_slave() argument 62 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_reg_slave() 64 if (dev->slave) in i2c_dw_reg_slave() 66 if (slave->flags & I2C_CLIENT_TEN) in i2c_dw_reg_slave() 75 dw_writel(dev, slave->addr, DW_IC_SAR); in i2c_dw_reg_slave() 76 dev->slave = slave; in i2c_dw_reg_slave() 91 static int i2c_dw_unreg_slave(struct i2c_client *slave) in i2c_dw_unreg_slave() argument 93 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_unreg_slave() 98 dev->slave = NULL; in i2c_dw_unreg_slave() 167 if (!enabled || !(raw_stat & ~DW_IC_INTR_ACTIVITY) || !dev->slave) in i2c_dw_irq_handler_slave() [all …]
|
D | i2c-emev2.c | 71 struct i2c_client *slave; member 234 if (!priv->slave) in em_i2c_slave_irq() 248 i2c_slave_event(priv->slave, I2C_SLAVE_STOP, &value); in em_i2c_slave_irq() 270 i2c_slave_event(priv->slave, event, &value); in em_i2c_slave_irq() 284 i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_REQUESTED, in em_i2c_slave_irq() 289 ret = i2c_slave_event(priv->slave, in em_i2c_slave_irq() 317 static int em_i2c_reg_slave(struct i2c_client *slave) in em_i2c_reg_slave() argument 319 struct em_i2c_device *priv = i2c_get_adapdata(slave->adapter); in em_i2c_reg_slave() 321 if (priv->slave) in em_i2c_reg_slave() 324 if (slave->flags & I2C_CLIENT_TEN) in em_i2c_reg_slave() [all …]
|
D | i2c-stm32f7.c | 294 struct i2c_client *slave[STM32F7_I2C_MAX_SLAVE]; member 1137 static bool stm32f7_i2c_is_addr_match(struct i2c_client *slave, u32 addcode) in stm32f7_i2c_is_addr_match() argument 1141 if (!slave) in stm32f7_i2c_is_addr_match() 1144 if (slave->flags & I2C_CLIENT_TEN) { in stm32f7_i2c_is_addr_match() 1150 addr = slave->addr >> 8; in stm32f7_i2c_is_addr_match() 1155 addr = slave->addr & 0x7f; in stm32f7_i2c_is_addr_match() 1165 struct i2c_client *slave = i2c_dev->slave_running; in stm32f7_i2c_slave_start() local 1172 i2c_slave_event(slave, I2C_SLAVE_READ_REQUESTED, &value); in stm32f7_i2c_slave_start() 1193 i2c_slave_event(slave, I2C_SLAVE_WRITE_REQUESTED, &value); in stm32f7_i2c_slave_start() 1222 if (stm32f7_i2c_is_addr_match(i2c_dev->slave[i], addcode)) { in stm32f7_i2c_slave_addr() [all …]
|
D | i2c-rcar.c | 133 struct i2c_client *slave; member 581 i2c_slave_event(priv->slave, I2C_SLAVE_READ_REQUESTED, &value); in rcar_i2c_slave_irq() 585 i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_REQUESTED, &value); in rcar_i2c_slave_irq() 596 i2c_slave_event(priv->slave, I2C_SLAVE_STOP, &value); in rcar_i2c_slave_irq() 607 ret = i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_RECEIVED, &value); in rcar_i2c_slave_irq() 615 i2c_slave_event(priv->slave, I2C_SLAVE_READ_PROCESSED, &value); in rcar_i2c_slave_irq() 837 static int rcar_reg_slave(struct i2c_client *slave) in rcar_reg_slave() argument 839 struct rcar_i2c_priv *priv = i2c_get_adapdata(slave->adapter); in rcar_reg_slave() 841 if (priv->slave) in rcar_reg_slave() 844 if (slave->flags & I2C_CLIENT_TEN) in rcar_reg_slave() [all …]
|
D | i2c-aspeed.c | 155 struct i2c_client *slave; member 234 struct i2c_client *slave = bus->slave; in aspeed_i2c_slave_irq() local 238 if (!slave) { in aspeed_i2c_slave_irq() 292 i2c_slave_event(slave, I2C_SLAVE_READ_REQUESTED, &value); in aspeed_i2c_slave_irq() 301 i2c_slave_event(slave, I2C_SLAVE_READ_PROCESSED, &value); in aspeed_i2c_slave_irq() 307 i2c_slave_event(slave, I2C_SLAVE_WRITE_REQUESTED, &value); in aspeed_i2c_slave_irq() 310 i2c_slave_event(slave, I2C_SLAVE_WRITE_RECEIVED, &value); in aspeed_i2c_slave_irq() 313 i2c_slave_event(slave, I2C_SLAVE_STOP, &value); in aspeed_i2c_slave_irq() 643 if (bus->slave) { in aspeed_i2c_reg_slave() 650 bus->slave = client; in aspeed_i2c_reg_slave() [all …]
|
/linux-4.19.296/drivers/clk/bcm/ |
D | clk-bcm281xx.c | 313 BCM281XX_CCU_COMMON(slave, SLAVE), 316 KONA_CLK(slave, uartb, peri), 318 KONA_CLK(slave, uartb2, peri), 320 KONA_CLK(slave, uartb3, peri), 322 KONA_CLK(slave, uartb4, peri), 324 KONA_CLK(slave, ssp0, peri), 326 KONA_CLK(slave, ssp2, peri), 328 KONA_CLK(slave, bsc1, peri), 330 KONA_CLK(slave, bsc2, peri), 332 KONA_CLK(slave, bsc3, peri), [all …]
|
D | clk-bcm21664.c | 237 BCM21664_CCU_COMMON(slave, SLAVE), 244 KONA_CLK(slave, uartb, peri), 246 KONA_CLK(slave, uartb2, peri), 248 KONA_CLK(slave, uartb3, peri), 250 KONA_CLK(slave, bsc1, peri), 252 KONA_CLK(slave, bsc2, peri), 254 KONA_CLK(slave, bsc3, peri), 256 KONA_CLK(slave, bsc4, peri),
|
/linux-4.19.296/include/linux/ |
D | fsi.h | 25 struct fsi_slave *slave; member 70 extern int fsi_slave_claim_range(struct fsi_slave *slave, 72 extern void fsi_slave_release_range(struct fsi_slave *slave, 74 extern int fsi_slave_read(struct fsi_slave *slave, uint32_t addr, 76 extern int fsi_slave_write(struct fsi_slave *slave, uint32_t addr,
|
/linux-4.19.296/include/linux/soundwire/ |
D | sdw.h | 347 int sdw_slave_read_prop(struct sdw_slave *slave); 472 int (*interrupt_callback)(struct sdw_slave *slave, 474 int (*update_status)(struct sdw_slave *slave, 476 int (*bus_config)(struct sdw_slave *slave, 478 int (*port_prep)(struct sdw_slave *slave, 788 int sdw_stream_add_slave(struct sdw_slave *slave, 795 int sdw_stream_remove_slave(struct sdw_slave *slave, 804 int sdw_read(struct sdw_slave *slave, u32 addr); 805 int sdw_write(struct sdw_slave *slave, u32 addr, u8 value); 806 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val); [all …]
|
/linux-4.19.296/drivers/base/regmap/ |
D | regmap-sdw.c | 13 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_write() local 15 return sdw_write_no_pm(slave, reg, val); in regmap_sdw_write() 21 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_read() local 24 read = sdw_read_no_pm(slave, reg); in regmap_sdw_read()
|
/linux-4.19.296/include/sound/ |
D | control.h | 196 int _snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave, 221 snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave) in snd_ctl_add_slave() argument 223 return _snd_ctl_add_slave(master, slave, 0); in snd_ctl_add_slave() 244 struct snd_kcontrol *slave) in snd_ctl_add_slave_uncached() argument 246 return _snd_ctl_add_slave(master, slave, SND_CTL_SLAVE_NEED_UPDATE); in snd_ctl_add_slave_uncached() 256 struct snd_kcontrol *slave,
|
D | designware_i2s.h | 57 bool (*filter)(struct dma_chan *chan, void *slave); 66 bool (*filter)(struct dma_chan *chan, void *slave);
|
/linux-4.19.296/drivers/parport/ |
D | share.c | 566 struct parport *slave = port->slaves[i-1]; in parport_announce_port() local 567 if (slave) in parport_announce_port() 568 list_add_tail(&slave->list, &portlist); in parport_announce_port() 575 struct parport *slave = port->slaves[i-1]; in parport_announce_port() local 576 if (slave) in parport_announce_port() 577 attach_driver_chain(slave); in parport_announce_port() 615 struct parport *slave = port->slaves[i-1]; in parport_remove_port() local 616 if (!slave) in parport_remove_port() 618 detach_driver_chain(slave); in parport_remove_port() 619 parport_daisy_fini(slave); in parport_remove_port() [all …]
|
/linux-4.19.296/include/linux/mfd/ |
D | dbx500-prcmu.h | 257 int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size); 258 int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size); 259 int prcmu_abb_write_masked(u8 slave, u8 reg, u8 *value, u8 *mask, u8 size); 422 static inline int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size) in prcmu_abb_read() argument 427 static inline int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size) in prcmu_abb_write() argument 432 static inline int prcmu_abb_write_masked(u8 slave, u8 reg, u8 *value, u8 *mask, in prcmu_abb_write_masked() argument
|
/linux-4.19.296/drivers/i2c/ |
D | Makefile | 10 i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o 18 obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o
|