/openbmc/linux/drivers/net/bonding/ |
H A D | bond_sysfs_slave.c | 21 static ssize_t state_show(struct slave *slave, char *buf) in state_show() 34 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show() 40 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show() 46 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show() 54 static ssize_t queue_id_show(struct slave *slave, char *buf) in queue_id_show() 60 static ssize_t ad_aggregator_id_show(struct slave *slave, char *buf) in ad_aggregator_id_show() 75 static ssize_t ad_actor_oper_port_state_show(struct slave *slave, char *buf) in ad_actor_oper_port_state_show() 90 static ssize_t ad_partner_oper_port_state_show(struct slave *slave, char *buf) in ad_partner_oper_port_state_show() 123 struct slave *slave = to_slave(kobj); in slave_show() local 132 int bond_sysfs_slave_add(struct slave *slave) in bond_sysfs_slave_add() [all …]
|
H A D | bond_main.c | 407 struct slave *slave; in bond_vlan_rx_kill_vid() local 434 struct slave *slave; in bond_ipsec_add_sa() local 486 struct slave *slave; in bond_ipsec_add_sa_all() local 530 struct slave *slave; in bond_ipsec_del_sa() local 576 struct slave *slave; in bond_ipsec_del_sa_all() local 609 struct slave *slave; in bond_ipsec_free_sa() local 692 struct slave *slave; in bond_set_carrier() local 987 struct slave *slave; in bond_get_old_active() local 1402 struct slave *slave; in bond_netpoll_cleanup() local 1413 struct slave *slave; in bond_netpoll_setup() local [all …]
|
/openbmc/linux/include/net/ |
H A D | bonding.h | 156 struct slave { struct 167 u8 backup:1, /* indicates backup slave. Value corresponds with argument 169 inactive:1, /* indicates inactive slave */ argument 179 struct ad_slave_info *ad_info; argument 180 struct tlb_slave_info tlb_info; argument 186 struct rtnl_link_stats64 slave_stats; argument 189 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument 443 struct slave *slave; in bond_is_active_slave_dev() local 490 struct slave *slave) in slave_do_arp_validate() 518 struct slave *slave) in slave_oldest_target_arp_rx() [all …]
|
/openbmc/linux/drivers/soundwire/ |
H A D | bus.c | 168 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local 553 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm() 663 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read() 698 struct sdw_slave *slave; in sdw_get_slave() local 722 static int sdw_get_device_num(struct sdw_slave *slave) in sdw_get_device_num() 819 struct sdw_slave *slave, *_s; in sdw_program_device_num() local 1047 struct sdw_slave *slave; in sdw_bus_prep_clk_stop() local 1176 struct sdw_slave *slave; in sdw_bus_exit_clk_stop() local 1245 int sdw_configure_dpn_intr(struct sdw_slave *slave, in sdw_configure_dpn_intr() 1847 struct sdw_slave *slave; in sdw_handle_slave_status() local [all …]
|
H A D | bus_type.c | 22 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id() 40 struct sdw_slave *slave; in sdw_bus_match() local 53 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias() 64 const struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_uevent() local 83 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe() local 168 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() local 191 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown() local
|
H A D | sysfs_slave.c | 98 struct sdw_slave *slave = dev_to_sdw_dev(dev); in modalias_show() local 161 struct sdw_slave *slave = dev_to_sdw_dev(dev); in words_show() local 193 int sdw_slave_sysfs_init(struct sdw_slave *slave) in sdw_slave_sysfs_init() 235 struct sdw_slave *slave = dev_to_sdw_dev(dev); in status_show() local 244 struct sdw_slave *slave = dev_to_sdw_dev(dev); in device_number_show() local
|
/openbmc/linux/include/linux/ |
H A D | if_eql.h | 27 typedef struct slave { struct 35 } slave_t; argument
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 707 u8 slave) in update_gid() 751 u8 slave, u32 qpn) in update_vport_qp_param() 931 #define get_res(dev, slave, res_id, type, res) \ argument 936 u64 res_id, int *slave) in mlx4_get_slave_from_resource_id() 999 struct mlx4_qp_context *qpc, u8 slave, in handle_unexisting_counter() 1041 u8 slave, int port) in handle_counter() 1761 static void res_end_move(struct mlx4_dev *dev, int slave, in res_end_move() 3186 enum qp_transition transition, u8 slave) in verify_qp_parameters() 3521 static int handle_resize(struct mlx4_dev *dev, int slave, in handle_resize() 3707 int mlx4_ARM_SRQ_wrapper(struct mlx4_dev *dev, int slave, in mlx4_ARM_SRQ_wrapper() [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | soft_spi_legacy.c | 26 struct spi_slave slave; member 30 static inline struct soft_spi_slave *to_soft_spi(struct spi_slave *slave) in to_soft_spi() 58 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 65 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 84 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 101 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
|
H A D | mxs_spi.c | 31 struct spi_slave slave; member 37 static inline struct mxs_spi_slave *to_mxs_slave(struct spi_slave *slave) in to_mxs_slave() 79 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 85 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 109 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 125 static int mxs_spi_xfer_pio(struct mxs_spi_slave *slave, in mxs_spi_xfer_pio() 184 static int mxs_spi_xfer_dma(struct mxs_spi_slave *slave, in mxs_spi_xfer_dma() 305 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
|
H A D | mpc8xxx_spi.c | 26 struct spi_slave *slave; in spi_setup_slave() local 43 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 64 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 69 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 74 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer()
|
H A D | spi-uclass.c | 52 struct spi_slave *slave = dev_get_parent_priv(dev); in dm_spi_claim_bus() local 115 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 120 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 125 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() 131 int spi_nor_ctrl_wlock(struct spi_slave *slave, u32 offset, size_t len) in spi_nor_ctrl_wlock() 136 int spi_nor_ctrl_wunlock(struct spi_slave *slave, u32 offset, size_t len) in spi_nor_ctrl_wunlock() 185 struct spi_slave *slave = dev_get_parent_priv(dev); in spi_child_pre_probe() local 351 struct spi_slave *slave; in spi_get_bus_and_cs() local 390 struct spi_slave *slave; in spi_setup_slave() local 402 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
|
H A D | kirkwood_spi.c | 108 struct spi_slave *slave; in spi_setup_slave() local 146 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 158 __attribute__((weak)) int board_spi_claim_bus(struct spi_slave *slave) in board_spi_claim_bus() 163 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 196 __attribute__((weak)) void board_spi_release_bus(struct spi_slave *slave) in board_spi_release_bus() 200 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 225 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 230 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate() 235 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
|
H A D | lpc32xx_ssp.c | 40 struct spi_slave slave; member 45 struct spi_slave *slave) in to_lpc32xx_spi_slave() 95 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 103 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 109 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() 131 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
|
H A D | cf_spi.c | 17 struct spi_slave slave; member 41 static inline struct cf_spi_slave *to_cf_spi_slave(struct spi_slave *slave) in to_cf_spi_slave() 102 static int cfspi_xfer(struct spi_slave *slave, uint bitlen, const void *dout, in cfspi_xfer() 313 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 320 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 325 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 330 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | max98373-sdw.c | 267 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local 299 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop() 359 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init() 467 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate() 487 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config() 729 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init() 790 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status() 808 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config() 830 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe() 843 static int max98373_sdw_remove(struct sdw_slave *slave) in max98373_sdw_remove()
|
H A D | sdw-mockup.c | 23 struct sdw_slave *slave; member 127 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status() 133 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop() 197 static int sdw_mockup_bus_config(struct sdw_slave *slave, in sdw_mockup_bus_config() 203 static int sdw_mockup_interrupt_callback(struct sdw_slave *slave, in sdw_mockup_interrupt_callback() 216 static int sdw_mockup_sdw_probe(struct sdw_slave *slave, in sdw_mockup_sdw_probe() 240 static int sdw_mockup_sdw_remove(struct sdw_slave *slave) in sdw_mockup_sdw_remove()
|
H A D | rt711-sdca-sdw.c | 141 static int rt711_sdca_update_status(struct sdw_slave *slave, in rt711_sdca_update_status() 175 static int rt711_sdca_read_prop(struct sdw_slave *slave) in rt711_sdca_read_prop() 237 static int rt711_sdca_interrupt_callback(struct sdw_slave *slave, in rt711_sdca_interrupt_callback() 343 static int rt711_sdca_sdw_probe(struct sdw_slave *slave, in rt711_sdca_sdw_probe() 360 static int rt711_sdca_sdw_remove(struct sdw_slave *slave) in rt711_sdca_sdw_remove() 402 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend() local 433 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume() local
|
H A D | rt712-sdca-sdw.c | 138 static int rt712_sdca_update_status(struct sdw_slave *slave, in rt712_sdca_update_status() 172 static int rt712_sdca_read_prop(struct sdw_slave *slave) in rt712_sdca_read_prop() 234 static int rt712_sdca_interrupt_callback(struct sdw_slave *slave, in rt712_sdca_interrupt_callback() 340 static int rt712_sdca_sdw_probe(struct sdw_slave *slave, in rt712_sdca_sdw_probe() 357 static int rt712_sdca_sdw_remove(struct sdw_slave *slave) in rt712_sdca_sdw_remove() 402 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_system_suspend() local 433 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_resume() local
|
H A D | rt722-sdca-sdw.c | 163 static int rt722_sdca_update_status(struct sdw_slave *slave, in rt722_sdca_update_status() 197 static int rt722_sdca_read_prop(struct sdw_slave *slave) in rt722_sdca_read_prop() 264 static int rt722_sdca_interrupt_callback(struct sdw_slave *slave, in rt722_sdca_interrupt_callback() 370 static int rt722_sdca_sdw_probe(struct sdw_slave *slave, in rt722_sdca_sdw_probe() 387 static int rt722_sdca_sdw_remove(struct sdw_slave *slave) in rt722_sdca_sdw_remove() 430 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt722_sdca_dev_system_suspend() local 461 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt722_sdca_dev_resume() local
|
H A D | rt5682-sdw.c | 298 struct sdw_slave *slave) in rt5682_sdw_init() 368 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init() 512 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status() 531 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop() 641 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config() 656 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback() 681 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe() 694 static int rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove() 731 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend() local 758 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume() local
|
H A D | rt700-sdw.c | 313 static int rt700_update_status(struct sdw_slave *slave, in rt700_update_status() 332 static int rt700_read_prop(struct sdw_slave *slave) in rt700_read_prop() 396 static int rt700_bus_config(struct sdw_slave *slave, in rt700_bus_config() 411 static int rt700_interrupt_callback(struct sdw_slave *slave, in rt700_interrupt_callback() 440 static int rt700_sdw_probe(struct sdw_slave *slave, in rt700_sdw_probe() 458 static int rt700_sdw_remove(struct sdw_slave *slave) in rt700_sdw_remove() 495 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_system_suspend() local 525 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume() local
|
H A D | rt711-sdw.c | 317 static int rt711_update_status(struct sdw_slave *slave, in rt711_update_status() 336 static int rt711_read_prop(struct sdw_slave *slave) in rt711_read_prop() 401 static int rt711_bus_config(struct sdw_slave *slave, in rt711_bus_config() 416 static int rt711_interrupt_callback(struct sdw_slave *slave, in rt711_interrupt_callback() 441 static int rt711_sdw_probe(struct sdw_slave *slave, in rt711_sdw_probe() 459 static int rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove() 502 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_system_suspend() local 531 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume() local
|
/openbmc/u-boot/examples/standalone/ |
H A D | atmel_df_pow2.c | 17 static int flash_cmd(struct spi_slave *slave, uchar cmd, uchar *buf, int len) in flash_cmd() 23 static int flash_status(struct spi_slave *slave) in flash_status() 31 static int flash_set_pow2(struct spi_slave *slave) in flash_set_pow2() 54 static int flash_check(struct spi_slave *slave) in flash_check() 130 struct spi_slave *slave; in atmel_df_pow2() local
|
/openbmc/linux/drivers/fsi/ |
H A D | fsi-core.c | 381 int fsi_slave_claim_range(struct fsi_slave *slave, in fsi_slave_claim_range() 622 struct fsi_slave *slave = to_fsi_slave(dev); in fsi_slave_release() local 663 struct fsi_slave *slave = filep->private_data; in cfam_read() local 699 struct fsi_slave *slave = filep->private_data; in cfam_write() local 769 struct fsi_slave *slave = to_fsi_slave(dev); in send_term_store() local 785 struct fsi_slave *slave = to_fsi_slave(dev); in slave_send_echo_show() local 793 struct fsi_slave *slave = to_fsi_slave(dev); in slave_send_echo_store() local 829 struct fsi_slave *slave = to_fsi_slave(dev); in chip_id_show() local 840 struct fsi_slave *slave = to_fsi_slave(dev); in cfam_id_show() local 984 struct fsi_slave *slave; in fsi_slave_init() local [all …]
|