Home
last modified time | relevance | path

Searched defs:slave (Results 1 – 25 of 275) sorted by relevance

1234567891011

/OK3568_Linux_fs/kernel/drivers/net/bonding/
H A Dbond_sysfs_slave.c27 static ssize_t state_show(struct slave *slave, char *buf) in state_show()
40 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show()
46 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show()
52 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show()
60 static ssize_t queue_id_show(struct slave *slave, char *buf) in queue_id_show()
66 static ssize_t ad_aggregator_id_show(struct slave *slave, char *buf) in ad_aggregator_id_show()
81 static ssize_t ad_actor_oper_port_state_show(struct slave *slave, char *buf) in ad_actor_oper_port_state_show()
96 static ssize_t ad_partner_oper_port_state_show(struct slave *slave, char *buf) in ad_partner_oper_port_state_show()
129 struct slave *slave = to_slave(kobj); in slave_show() local
138 int bond_sysfs_slave_add(struct slave *slave) in bond_sysfs_slave_add()
[all …]
H A Dbond_main.c332 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local
367 struct slave *slave; in bond_vlan_rx_kill_vid() local
390 struct slave *slave; in bond_ipsec_add_sa() local
437 struct slave *slave; in bond_ipsec_add_sa_all() local
478 struct slave *slave; in bond_ipsec_del_sa() local
520 struct slave *slave; in bond_ipsec_del_sa_all() local
608 struct slave *slave; in bond_set_carrier() local
640 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex()
765 struct slave *slave; in bond_set_promiscuity() local
788 struct slave *slave; in bond_set_allmulti() local
[all …]
H A Dbond_3ad.c185 struct slave *slave = port->slave; in __enable_port() local
252 struct slave *slave = port->slave; in __get_link_speed() local
343 struct slave *slave = port->slave; in __get_duplex() local
754 struct slave *slave; in __get_active_agg() local
823 struct slave *slave = port->slave; in ad_lacpdu_send() local
867 struct slave *slave = port->slave; in ad_marker_send() local
1381 struct slave *slave; in ad_port_selection_logic() local
1660 struct slave *slave; in ad_agg_selection_logic() local
2019 void bond_3ad_bind_slave(struct slave *slave) in bond_3ad_bind_slave()
2070 void bond_3ad_unbind_slave(struct slave *slave) in bond_3ad_unbind_slave()
[all …]
H A Dbond_alb.c87 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave()
93 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
115 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
160 static long long compute_gap(struct slave *slave) in compute_gap()
168 struct slave *slave, *least_loaded; in tlb_get_least_loaded_slave() local
272 struct slave *slave) in rlb_arp_recv()
308 struct slave *before = NULL, *rx_slave = NULL, *slave; in __rlb_next_rx_slave() local
379 static void rlb_clear_slave(struct bonding *bond, struct slave *slave) in rlb_clear_slave()
486 static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) in rlb_req_update_slave_clients()
905 static void alb_send_lp_vid(struct slave *slave, u8 mac_addr[], in alb_send_lp_vid()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Dbonding.h155 struct slave { struct
165 u8 backup:1, /* indicates backup slave. Value corresponds with argument
167 inactive:1, /* indicates inactive slave */ argument
176 struct ad_slave_info *ad_info; argument
177 struct tlb_slave_info tlb_info; argument
183 struct rtnl_link_stats64 slave_stats; argument
186 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
286 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
347 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
352 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
[all …]
/OK3568_Linux_fs/kernel/drivers/soundwire/
H A Dbus.c150 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local
324 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
381 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread_no_pm()
395 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite_no_pm()
408 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm()
480 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm()
493 static int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update_no_pm()
512 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
538 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite()
562 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
[all …]
H A Dbus_type.c21 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
39 struct sdw_slave *slave; in sdw_bus_match() local
52 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias()
63 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_uevent() local
82 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe() local
147 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() local
161 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown() local
H A Dsysfs_slave.c98 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
/OK3568_Linux_fs/kernel/include/linux/
H A Dif_eql.h26 typedef struct slave { struct
33 } slave_t; argument
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c307 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource()
378 static inline void mlx4_release_resource(struct mlx4_dev *dev, int slave, in mlx4_release_resource()
691 static void update_pkey_index(struct mlx4_dev *dev, int slave, in update_pkey_index()
707 u8 slave) in update_gid()
751 u8 slave, u32 qpn) in update_vport_qp_param()
891 static int _get_res(struct mlx4_dev *dev, int slave, u64 res_id, in _get_res()
931 #define get_res(dev, slave, res_id, type, res) \ argument
936 u64 res_id, int *slave) in mlx4_get_slave_from_resource_id()
957 static void put_res(struct mlx4_dev *dev, int slave, u64 res_id, in put_res()
974 static int handle_existing_counter(struct mlx4_dev *dev, u8 slave, int port, in handle_existing_counter()
[all …]
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dmxs_spi.c32 struct spi_slave slave; member
38 static inline struct mxs_spi_slave *to_mxs_slave(struct spi_slave *slave) in to_mxs_slave()
84 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
90 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus()
114 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
130 static int mxs_spi_xfer_pio(struct mxs_spi_slave *slave, in mxs_spi_xfer_pio()
189 static int mxs_spi_xfer_dma(struct mxs_spi_slave *slave, in mxs_spi_xfer_dma()
310 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
H A Dsoft_spi_legacy.c27 struct spi_slave slave; member
31 static inline struct soft_spi_slave *to_soft_spi(struct spi_slave *slave) in to_soft_spi()
66 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
73 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus()
92 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
109 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
H A Dkirkwood_spi.c109 struct spi_slave *slave; in spi_setup_slave() local
147 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
159 __attribute__((weak)) int board_spi_claim_bus(struct spi_slave *slave) in board_spi_claim_bus()
164 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus()
197 __attribute__((weak)) void board_spi_release_bus(struct spi_slave *slave) in board_spi_release_bus()
201 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
226 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate()
231 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate()
236 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
H A Dmpc8xxx_spi.c27 struct spi_slave *slave; in spi_setup_slave() local
44 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()
70 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
75 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer()
H A Dspi-uclass.c53 struct spi_slave *slave = dev_get_parent_priv(dev); in dm_spi_claim_bus() local
118 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus()
123 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
128 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
134 int spi_write_then_read(struct spi_slave *slave, const u8 *opcode, in spi_write_then_read()
206 struct spi_slave *slave = dev_get_parent_priv(dev); in spi_child_pre_probe() local
333 struct spi_slave *slave; in spi_get_bus_and_cs() local
380 struct spi_slave *slave; in spi_get_bus_and_cs() local
423 struct spi_slave *slave; in spi_setup_slave() local
435 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
H A Dlpc32xx_ssp.c41 struct spi_slave slave; member
46 struct spi_slave *slave) in to_lpc32xx_spi_slave()
105 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
113 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus()
119 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
141 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
H A Dcf_spi.c18 struct spi_slave slave; member
42 static inline struct cf_spi_slave *to_cf_spi_slave(struct spi_slave *slave) in to_cf_spi_slave()
103 static int cfspi_xfer(struct spi_slave *slave, uint bitlen, const void *dout, in cfspi_xfer()
314 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
321 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus()
326 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
331 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer()
H A Dti_qspi.c103 struct spi_slave slave; member
322 static inline struct ti_qspi_priv *to_ti_qspi_priv(struct spi_slave *slave) in to_ti_qspi_priv()
332 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate()
338 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate()
354 struct spi_slave *slave = &priv->slave; in ti_spi_setup_spi_register() local
406 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
412 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus()
420 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
428 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer()
441 struct spi_slave *slave, in __ti_qspi_setup_memorymap()
[all …]
/OK3568_Linux_fs/u-boot/examples/standalone/
H A Datmel_df_pow2.c17 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()
132 struct spi_slave *slave; in atmel_df_pow2() local
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dmax98373-sdw.c257 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local
287 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop()
347 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init()
466 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate()
486 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config()
757 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init()
788 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status()
806 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config()
828 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe()
H A Drt700-sdw.c312 static int rt700_update_status(struct sdw_slave *slave, in rt700_update_status()
334 static int rt700_read_prop(struct sdw_slave *slave) in rt700_read_prop()
398 static int rt700_bus_config(struct sdw_slave *slave, in rt700_bus_config()
413 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()
460 static int rt700_sdw_remove(struct sdw_slave *slave) in rt700_sdw_remove()
497 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume() local
H A Drt711-sdw.c316 static int rt711_update_status(struct sdw_slave *slave, in rt711_update_status()
338 static int rt711_read_prop(struct sdw_slave *slave) in rt711_read_prop()
402 static int rt711_bus_config(struct sdw_slave *slave, in rt711_bus_config()
417 static int rt711_interrupt_callback(struct sdw_slave *slave, in rt711_interrupt_callback()
440 static int rt711_sdw_probe(struct sdw_slave *slave, in rt711_sdw_probe()
460 static int rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove()
499 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume() local
H A Drt5682-sdw.c333 struct sdw_slave *slave) in rt5682_sdw_init()
375 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init()
524 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status()
546 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop()
656 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config()
671 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback()
694 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe()
709 static int rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove()
740 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume() local
/OK3568_Linux_fs/kernel/drivers/fsi/
H A Dfsi-core.c169 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device()
185 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr()
209 static int fsi_slave_report_and_clear_errors(struct fsi_slave *slave) in fsi_slave_report_and_clear_errors()
269 static int fsi_slave_set_smode(struct fsi_slave *slave) in fsi_slave_set_smode()
285 static int fsi_slave_handle_error(struct fsi_slave *slave, bool write, in fsi_slave_handle_error()
345 int fsi_slave_read(struct fsi_slave *slave, uint32_t addr, in fsi_slave_read()
370 int fsi_slave_write(struct fsi_slave *slave, uint32_t addr, in fsi_slave_write()
395 extern int fsi_slave_claim_range(struct fsi_slave *slave, in fsi_slave_claim_range()
409 extern void fsi_slave_release_range(struct fsi_slave *slave, in fsi_slave_release_range()
466 static int fsi_slave_scan(struct fsi_slave *slave) in fsi_slave_scan()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/
H A Deql.c150 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local
221 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave()
307 slave_t *slave = list_entry(this, slave_t, list); in __eql_schedule_slaves() local
334 slave_t *slave; in eql_slave_xmit() local
368 slave_t *slave = list_entry(this, slave_t, list); in __eql_find_slave_dev() local
387 static int __eql_insert_slave(slave_queue_t *queue, slave_t *slave) in __eql_insert_slave()
466 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_emancipate() local
480 slave_t *slave; in eql_g_slave_cfg() local
512 slave_t *slave; in eql_s_slave_cfg() local

1234567891011