/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | bus.c | 168 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local 169 struct sdw_bus *bus = slave->bus; in sdw_delete_slave() 173 sdw_slave_debugfs_exit(slave); in sdw_delete_slave() 177 if (slave->dev_num) { /* clear dev_num if assigned */ in sdw_delete_slave() 178 clear_bit(slave->dev_num, bus->assigned); in sdw_delete_slave() 180 bus->ops->put_device_num(bus, slave); in sdw_delete_slave() 182 list_del_init(&slave->node); in sdw_delete_slave() 358 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg() argument 377 if (slave && !slave in sdw_fill_msg() 411 sdw_ntransfer_no_pm(struct sdw_slave *slave, u32 addr, u8 flags, size_t count, u8 *val) sdw_ntransfer_no_pm() argument 448 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) sdw_nread_no_pm() argument 464 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) sdw_nwrite_no_pm() argument 476 sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) sdw_write_no_pm() argument 553 sdw_read_no_pm(struct sdw_slave *slave, u32 addr) sdw_read_no_pm() argument 566 sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) sdw_update_no_pm() argument 580 sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) sdw_update() argument 605 sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) sdw_nread() argument 636 sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) sdw_nwrite() argument 663 sdw_read(struct sdw_slave *slave, u32 addr) sdw_read() argument 685 sdw_write(struct sdw_slave *slave, u32 addr, u8 value) sdw_write() argument 698 struct sdw_slave *slave; sdw_get_slave() local 708 sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id) sdw_compare_devid() argument 722 sdw_get_device_num(struct sdw_slave *slave) sdw_get_device_num() argument 749 sdw_assign_device_num(struct sdw_slave *slave) sdw_assign_device_num() argument 819 struct sdw_slave *slave, *_s; sdw_program_device_num() local 919 sdw_modify_slave_status(struct sdw_slave *slave, enum sdw_slave_status status) sdw_modify_slave_status() argument 950 sdw_slave_clk_stop_callback(struct sdw_slave *slave, enum sdw_clk_stop_mode mode, enum sdw_clk_stop_type type) sdw_slave_clk_stop_callback() argument 971 sdw_slave_clk_stop_prepare(struct sdw_slave *slave, enum sdw_clk_stop_mode mode, bool prepare) sdw_slave_clk_stop_prepare() argument 1047 struct sdw_slave *slave; sdw_bus_prep_clk_stop() local 1176 struct sdw_slave *slave; sdw_bus_exit_clk_stop() local 1245 sdw_configure_dpn_intr(struct sdw_slave *slave, int port, bool enable, int mask) sdw_configure_dpn_intr() argument 1277 sdw_slave_set_frequency(struct sdw_slave *slave) sdw_slave_set_frequency() argument 1381 sdw_initialize_slave(struct sdw_slave *slave) sdw_initialize_slave() argument 1462 sdw_handle_dp0_interrupt(struct sdw_slave *slave, u8 *slave_status) sdw_handle_dp0_interrupt() argument 1534 sdw_handle_port_interrupt(struct sdw_slave *slave, int port, u8 *slave_status) sdw_handle_port_interrupt() argument 1607 sdw_handle_slave_alerts(struct sdw_slave *slave) sdw_handle_slave_alerts() argument 1818 sdw_update_slave_status(struct sdw_slave *slave, enum sdw_slave_status status) sdw_update_slave_status() argument 1847 struct sdw_slave *slave; sdw_handle_slave_status() local 1989 struct sdw_slave *slave; sdw_clear_slave_status() local [all...] |
H A D | bus_type.c | 15 * @slave: SoundWire Slave Device 22 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id() argument 27 if (slave->id.mfg_id == id->mfg_id && in sdw_get_device_id() 28 slave->id.part_id == id->part_id && in sdw_get_device_id() 30 slave->id.sdw_version == id->sdw_version) && in sdw_get_device_id() 32 slave->id.class_id == id->class_id)) in sdw_get_device_id() 40 struct sdw_slave *slave; in sdw_bus_match() local 45 slave = dev_to_sdw_dev(dev); in sdw_bus_match() 48 ret = !!sdw_get_device_id(slave, drv); in sdw_bus_match() 53 int sdw_slave_modalias(const struct sdw_slave *slave, cha argument 64 const struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_slave_uevent() local 83 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_drv_probe() local 168 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_drv_remove() local 191 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_drv_shutdown() local [all...] |
H A D | slave.c | 13 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_release() local 15 mutex_destroy(&slave->sdw_dev_lock); in sdw_slave_release() 16 kfree(slave); in sdw_slave_release() 28 struct sdw_slave *slave; in sdw_slave_add() local 32 slave = kzalloc(sizeof(*slave), GFP_KERNEL); in sdw_slave_add() 33 if (!slave) in sdw_slave_add() 37 memcpy(&slave->id, id, sizeof(*id)); in sdw_slave_add() 38 slave->dev.parent = bus->dev; in sdw_slave_add() 39 slave in sdw_slave_add() [all...] |
H A D | sysfs_slave.c | 74 struct sdw_slave *slave = dev_to_sdw_dev(dev); \ 75 return sprintf(buf, format_string, slave->prop.field); \ 98 struct sdw_slave *slave = dev_to_sdw_dev(dev); in modalias_show() local 100 return sdw_slave_modalias(slave, buf, 256); in modalias_show() 108 ATTRIBUTE_GROUPS(slave); variable 147 struct sdw_slave *slave = dev_to_sdw_dev(dev); \ 148 return sprintf(buf, format_string, slave->prop.dp0_prop->field);\ 161 struct sdw_slave *slave = dev_to_sdw_dev(dev); in words_show() local 165 for (i = 0; i < slave->prop.dp0_prop->num_words; i++) in words_show() 167 slave in words_show() 193 sdw_slave_sysfs_init(struct sdw_slave *slave) sdw_slave_sysfs_init() argument 235 struct sdw_slave *slave = dev_to_sdw_dev(dev); status_show() local 244 struct sdw_slave *slave = dev_to_sdw_dev(dev); device_number_show() local [all...] |
H A D | debugfs.c | 34 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf() argument 39 value = sdw_read_no_pm(slave, reg); in sdw_sprintf() 50 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show() local 59 ret = pm_runtime_get_sync(&slave->dev); in sdw_slave_reg_show() 61 pm_runtime_put_noidle(&slave->dev); in sdw_slave_reg_show() 71 ret += sdw_sprintf(slave, buf, ret, i); in sdw_slave_reg_show() 75 ret += sdw_sprintf(slave, buf, ret, SDW_DP0_CHANNELEN); in sdw_slave_reg_show() 77 ret += sdw_sprintf(slave, buf, ret, i); in sdw_slave_reg_show() 81 ret += sdw_sprintf(slave, buf, ret, in sdw_slave_reg_show() 85 ret += sdw_sprintf(slave, bu in sdw_slave_reg_show() 140 sdw_slave_debugfs_init(struct sdw_slave *slave) sdw_slave_debugfs_init() argument 157 sdw_slave_debugfs_exit(struct sdw_slave *slave) sdw_slave_debugfs_exit() argument [all...] |
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | bus.c | 150 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local 151 struct sdw_bus *bus = slave->bus; in sdw_delete_slave() 155 sdw_slave_debugfs_exit(slave); in sdw_delete_slave() 159 if (slave->dev_num) /* clear dev_num if assigned */ in sdw_delete_slave() 160 clear_bit(slave->dev_num, bus->assigned); in sdw_delete_slave() 162 list_del_init(&slave->node); in sdw_delete_slave() 324 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg() argument 343 if (slave && !slave->prop.paging_support) in sdw_fill_msg() 354 if (!slave) { in sdw_fill_msg() 381 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) sdw_nread_no_pm() argument 395 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) sdw_nwrite_no_pm() argument 408 sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) sdw_write_no_pm() argument 480 sdw_read_no_pm(struct sdw_slave *slave, u32 addr) sdw_read_no_pm() argument 493 sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) sdw_update_no_pm() argument 512 sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) sdw_nread() argument 538 sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) sdw_nwrite() argument 562 sdw_read(struct sdw_slave *slave, u32 addr) sdw_read() argument 581 sdw_write(struct sdw_slave *slave, u32 addr, u8 value) sdw_write() argument 594 struct sdw_slave *slave = NULL; sdw_get_slave() local 604 sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id) sdw_compare_devid() argument 617 sdw_get_device_num(struct sdw_slave *slave) sdw_get_device_num() argument 637 sdw_assign_device_num(struct sdw_slave *slave) sdw_assign_device_num() argument 703 struct sdw_slave *slave, *_s; sdw_program_device_num() local 789 sdw_modify_slave_status(struct sdw_slave *slave, enum sdw_slave_status status) sdw_modify_slave_status() argument 818 sdw_get_clk_stop_mode(struct sdw_slave *slave) sdw_get_clk_stop_mode() argument 838 sdw_slave_clk_stop_callback(struct sdw_slave *slave, enum sdw_clk_stop_mode mode, enum sdw_clk_stop_type type) sdw_slave_clk_stop_callback() argument 856 sdw_slave_clk_stop_prepare(struct sdw_slave *slave, enum sdw_clk_stop_mode mode, bool prepare) sdw_slave_clk_stop_prepare() argument 924 struct sdw_slave *slave; sdw_bus_prep_clk_stop() local 1050 struct sdw_slave *slave; sdw_bus_exit_clk_stop() local 1118 sdw_configure_dpn_intr(struct sdw_slave *slave, int port, bool enable, int mask) sdw_configure_dpn_intr() argument 1150 sdw_slave_set_frequency(struct sdw_slave *slave) sdw_slave_set_frequency() argument 1253 sdw_initialize_slave(struct sdw_slave *slave) sdw_initialize_slave() argument 1295 sdw_handle_dp0_interrupt(struct sdw_slave *slave, u8 *slave_status) sdw_handle_dp0_interrupt() argument 1364 sdw_handle_port_interrupt(struct sdw_slave *slave, int port, u8 *slave_status) sdw_handle_port_interrupt() argument 1434 sdw_handle_slave_alerts(struct sdw_slave *slave) sdw_handle_slave_alerts() argument 1605 sdw_update_slave_status(struct sdw_slave *slave, enum sdw_slave_status status) sdw_update_slave_status() argument 1642 struct sdw_slave *slave; sdw_handle_slave_status() local 1764 struct sdw_slave *slave; sdw_clear_slave_status() local [all...] |
H A D | bus_type.c | 14 * @slave: SoundWire Slave Device 21 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id() argument 26 if (slave->id.mfg_id == id->mfg_id && in sdw_get_device_id() 27 slave->id.part_id == id->part_id && in sdw_get_device_id() 29 slave->id.sdw_version == id->sdw_version) && in sdw_get_device_id() 31 slave->id.class_id == id->class_id)) in sdw_get_device_id() 39 struct sdw_slave *slave; in sdw_bus_match() local 44 slave = dev_to_sdw_dev(dev); in sdw_bus_match() 47 ret = !!sdw_get_device_id(slave, drv); in sdw_bus_match() 52 int sdw_slave_modalias(const struct sdw_slave *slave, cha argument 63 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_slave_uevent() local 82 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_drv_probe() local 147 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_drv_remove() local 161 struct sdw_slave *slave = dev_to_sdw_dev(dev); sdw_drv_shutdown() local [all...] |
H A D | slave.c | 13 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_release() local 15 kfree(slave); in sdw_slave_release() 27 struct sdw_slave *slave; in sdw_slave_add() local 31 slave = kzalloc(sizeof(*slave), GFP_KERNEL); in sdw_slave_add() 32 if (!slave) in sdw_slave_add() 36 memcpy(&slave->id, id, sizeof(*id)); in sdw_slave_add() 37 slave->dev.parent = bus->dev; in sdw_slave_add() 38 slave->dev.fwnode = fwnode; in sdw_slave_add() 42 dev_set_name(&slave in sdw_slave_add() [all...] |
H A D | sysfs_slave.c | 74 struct sdw_slave *slave = dev_to_sdw_dev(dev); \ 75 return sprintf(buf, format_string, slave->prop.field); \ 98 struct sdw_slave *slave = dev_to_sdw_dev(dev); in modalias_show() local 100 return sdw_slave_modalias(slave, buf, 256); in modalias_show() 108 ATTRIBUTE_GROUPS(slave); variable 147 struct sdw_slave *slave = dev_to_sdw_dev(dev); \ 148 return sprintf(buf, format_string, slave->prop.dp0_prop->field);\ 161 struct sdw_slave *slave = dev_to_sdw_dev(dev); in words_show() local 165 for (i = 0; i < slave->prop.dp0_prop->num_words; i++) in words_show() 167 slave in words_show() 193 sdw_slave_sysfs_init(struct sdw_slave *slave) sdw_slave_sysfs_init() argument 235 struct sdw_slave *slave = dev_to_sdw_dev(dev); status_show() local 244 struct sdw_slave *slave = dev_to_sdw_dev(dev); device_number_show() local [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | bonding.h | 43 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 45 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 47 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 49 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 53 /* slave list primitives */ 78 * @pos: current slave 156 struct slave { struct 167 u8 backup:1, /* indicates backup slave. Value corresponds with 169 inactive:1, /* indicates inactive slave */ 189 static inline struct slave *to_slav 291 bond_get_bond_by_slave(struct slave *slave) bond_get_bond_by_slave() argument 352 struct slave *slave = rcu_dereference_rtnl(bond->curr_active_slave); bond_option_active_slave_get_rcu() local 357 bond_slave_is_up(struct slave *slave) bond_slave_is_up() argument 362 bond_set_active_slave(struct slave *slave) bond_set_active_slave() argument 371 bond_set_backup_slave(struct slave *slave) bond_set_backup_slave() argument 380 bond_set_slave_state(struct slave *slave, int slave_state, bool notify) bond_set_slave_state() argument 425 bond_slave_state(struct slave *slave) bond_slave_state() argument 430 bond_is_active_slave(struct slave *slave) bond_is_active_slave() argument 435 bond_slave_can_tx(struct slave *slave) bond_slave_can_tx() argument 443 struct slave *slave; bond_is_active_slave_dev() local 489 slave_do_arp_validate(struct bonding *bond, struct slave *slave) slave_do_arp_validate() argument 517 slave_oldest_target_arp_rx(struct bonding *bond, struct slave *slave) slave_oldest_target_arp_rx() argument 530 slave_last_rx(struct bonding *bond, struct slave *slave) slave_last_rx() argument 539 slave_update_last_tx(struct slave *slave) slave_update_last_tx() argument 544 slave_last_tx(struct slave *slave) slave_last_tx() argument 550 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) bond_netpoll_send_skb() argument 556 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) bond_netpoll_send_skb() argument 564 bond_set_slave_inactive_flags(struct slave *slave, bool notify) bond_set_slave_inactive_flags() argument 573 bond_set_slave_active_flags(struct slave *slave, bool notify) bond_set_slave_active_flags() argument 580 bond_is_slave_inactive(struct slave *slave) bond_is_slave_inactive() argument 585 bond_propose_link_state(struct slave *slave, int state) bond_propose_link_state() argument 590 bond_commit_link_state(struct slave *slave, bool notify) bond_commit_link_state() argument 608 bond_set_slave_link_state(struct slave *slave, int state, bool notify) bond_set_slave_link_state() argument [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | bonding.h | 42 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 44 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 46 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 48 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 52 /* slave list primitives */ 77 * @pos: current slave 155 struct slave { struct 165 u8 backup:1, /* indicates backup slave. Value corresponds with 167 inactive:1, /* indicates inactive slave */ 186 static inline struct slave *to_slav 287 bond_get_bond_by_slave(struct slave *slave) bond_get_bond_by_slave() argument 348 struct slave *slave = rcu_dereference(bond->curr_active_slave); bond_option_active_slave_get_rcu() local 353 bond_slave_is_up(struct slave *slave) bond_slave_is_up() argument 358 bond_set_active_slave(struct slave *slave) bond_set_active_slave() argument 367 bond_set_backup_slave(struct slave *slave) bond_set_backup_slave() argument 376 bond_set_slave_state(struct slave *slave, int slave_state, bool notify) bond_set_slave_state() argument 421 bond_slave_state(struct slave *slave) bond_slave_state() argument 426 bond_is_active_slave(struct slave *slave) bond_is_active_slave() argument 431 bond_slave_can_tx(struct slave *slave) bond_slave_can_tx() argument 439 struct slave *slave; bond_is_active_slave_dev() local 485 slave_do_arp_validate(struct bonding *bond, struct slave *slave) slave_do_arp_validate() argument 504 slave_oldest_target_arp_rx(struct bonding *bond, struct slave *slave) slave_oldest_target_arp_rx() argument 517 slave_last_rx(struct bonding *bond, struct slave *slave) slave_last_rx() argument 527 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) bond_netpoll_send_skb() argument 533 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) bond_netpoll_send_skb() argument 541 bond_set_slave_inactive_flags(struct slave *slave, bool notify) bond_set_slave_inactive_flags() argument 550 bond_set_slave_active_flags(struct slave *slave, bool notify) bond_set_slave_active_flags() argument 557 bond_is_slave_inactive(struct slave *slave) bond_is_slave_inactive() argument 562 bond_propose_link_state(struct slave *slave, int state) bond_propose_link_state() argument 567 bond_commit_link_state(struct slave *slave, bool notify) bond_commit_link_state() argument 585 bond_set_slave_link_state(struct slave *slave, int state, bool notify) bond_set_slave_link_state() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/bonding/ |
H A D | bond_sysfs_slave.c | 15 ssize_t (*show)(struct slave *, char *); 27 static ssize_t state_show(struct slave *slave, char *buf) in state_show() argument 29 switch (bond_slave_state(slave)) { in state_show() 40 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show() argument 42 return sprintf(buf, "%s\n", bond_slave_link_status(slave->link)); in mii_status_show() 46 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show() argument 48 return sprintf(buf, "%d\n", slave in link_failure_count_show() 52 perm_hwaddr_show(struct slave *slave, char *buf) perm_hwaddr_show() argument 60 queue_id_show(struct slave *slave, char *buf) queue_id_show() argument 66 ad_aggregator_id_show(struct slave *slave, char *buf) ad_aggregator_id_show() argument 81 ad_actor_oper_port_state_show(struct slave *slave, char *buf) ad_actor_oper_port_state_show() argument 96 ad_partner_oper_port_state_show(struct slave *slave, char *buf) ad_partner_oper_port_state_show() argument 129 struct slave *slave = to_slave(kobj); slave_show() local 138 bond_sysfs_slave_add(struct slave *slave) bond_sysfs_slave_add() argument 143 bond_sysfs_slave_del(struct slave *slave) bond_sysfs_slave_del() argument [all...] |
H A D | bond_main.c | 20 * the first slave bonded to the channel. All slaves will then use 27 * will attach eth0 to bond0 as a slave. eth0 hw mac address will either 146 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave " 151 "2 for only on active slave " 190 MODULE_PARM_DESC(packets_per_slave, "Packets to send per slave in balance-rr " 191 "mode; 0 for a random slave, 1 packet per " 192 "slave (default), >1 packets per slave."); 287 * @slave_dev: slave that is supposed to xmit this skbuff 307 * We don't protect the slave lis 332 struct slave *slave, *rollback_slave; bond_vlan_rx_add_vid() local 367 struct slave *slave; bond_vlan_rx_kill_vid() local 390 struct slave *slave; bond_ipsec_add_sa() local 437 struct slave *slave; bond_ipsec_add_sa_all() local 478 struct slave *slave; bond_ipsec_del_sa() local 520 struct slave *slave; bond_ipsec_del_sa_all() local 609 struct slave *slave; bond_set_carrier() local 641 bond_update_speed_duplex(struct slave *slave) bond_update_speed_duplex() argument 766 struct slave *slave; bond_set_promiscuity() local 789 struct slave *slave; bond_set_allmulti() local 900 struct slave *slave; bond_get_old_active() local 1035 struct slave *slave, *bestslave = NULL; bond_find_best_slave() local 1058 struct slave *slave; bond_should_notify_peers() local 1229 slave_enable_netpoll(struct slave *slave) slave_enable_netpoll() argument 1248 slave_disable_netpoll(struct slave *slave) slave_disable_netpoll() argument 1263 struct slave *slave = NULL; bond_poll_controller() local 1292 struct slave *slave; bond_netpoll_cleanup() local 1303 struct slave *slave; bond_netpoll_setup() local 1316 slave_enable_netpoll(struct slave *slave) slave_enable_netpoll() argument 1320 slave_disable_netpoll(struct slave *slave) slave_disable_netpoll() argument 1336 struct slave *slave; bond_fix_features() local 1376 struct slave *slave; bond_compute_features() local 1462 bond_should_deliver_exact_match(struct sk_buff *skb, struct slave *slave, struct bonding *bond) bond_should_deliver_exact_match() argument 1479 struct slave *slave; bond_handle_frame() local 1577 bond_master_upper_dev_link(struct bonding *bond, struct slave *slave, struct netlink_ext_ack *extack) bond_master_upper_dev_link() argument 1591 bond_upper_dev_unlink(struct bonding *bond, struct slave *slave) bond_upper_dev_unlink() argument 1599 struct slave *slave = to_slave(kobj); slave_kobj_release() local 1616 bond_kobj_init(struct slave *slave) bond_kobj_init() argument 1631 struct slave *slave = NULL; bond_alloc_slave() local 1663 bond_fill_ifslave(struct slave *slave, struct ifslave *info) bond_fill_ifslave() argument 1673 struct slave *slave = container_of(_work, struct slave, bond_netdev_notify_work() local 1688 bond_queue_slave_event(struct slave *slave) bond_queue_slave_event() argument 1693 bond_lower_state_changed(struct slave *slave) bond_lower_state_changed() argument 2202 struct slave *slave, *oldcurrent; __bond_release_one() local 2390 struct slave *slave; bond_slave_info_query() local 2411 struct slave *slave; bond_miimon_inspect() local 2510 bond_miimon_link_change(struct bonding *bond, struct slave *slave, char link) bond_miimon_link_change() argument 2531 struct slave *slave, *primary; bond_miimon_commit() local 2632 struct slave *slave; bond_mii_monitor() local 2711 bond_arp_send(struct slave *slave, int arp_op, __be32 dest_ip, __be32 src_ip, struct bond_vlan_tag *tags) bond_arp_send() argument 2805 bond_arp_send_all(struct bonding *bond, struct slave *slave) bond_arp_send_all() argument 2859 bond_validate_arp(struct bonding *bond, struct slave *slave, __be32 sip, __be32 tip) bond_validate_arp() argument 2879 bond_arp_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) bond_arp_rcv() argument 2995 struct slave *slave, *oldcurrent; bond_loadbalance_arp_mon() local 3112 struct slave *slave; bond_ab_arp_inspect() local 3182 struct slave *slave; bond_ab_arp_commit() local 3269 struct slave *slave, *before = NULL, *new_slave = NULL, bond_ab_arp_probe() local 3457 struct slave *slave = bond_slave_get_rtnl(slave_dev), *primary; bond_slave_netdev_event() local 3759 struct slave *slave; bond_open() local 3812 struct slave *slave; bond_close() local 3912 struct slave *slave; bond_get_stats() local 4061 struct slave *slave; bond_set_rx_mode() local 4084 struct slave *slave; bond_neigh_init() local 4138 struct slave *slave, *rollback_slave; bond_change_mtu() local 4195 struct slave *slave, *rollback_slave; bond_set_mac_address() local 4271 struct slave *slave; bond_get_slave_by_id() local 4330 struct slave *slave; bond_xmit_roundrobin_slave_get() local 4369 struct slave *slave; bond_xmit_roundrobin() local 4391 struct slave *slave; bond_xmit_activebackup() local 4497 struct slave *slave; bond_update_slave_arr() local 4567 struct slave *slave; bond_xmit_3ad_xor_slave_get() local 4589 struct slave *slave; bond_3ad_xor_xmit() local 4604 struct slave *slave = NULL; bond_xmit_broadcast() local 4647 struct slave *slave = NULL; bond_slave_override() local 4697 struct slave *slave = NULL; bond_xmit_get_slave() local 4784 bond_mode_bcast_speed(struct slave *slave, u32 speed) bond_mode_bcast_speed() argument 4799 struct slave *slave; bond_ethtool_get_link_ksettings() local 4955 struct slave *slave; bond_uninit() local [all...] |
H A D | bond_3ad.c | 126 if (port->slave == NULL) in __get_bond_by_port() 129 return bond_get_bond_by_slave(port->slave); in __get_bond_by_port() 136 * Return the aggregator of the first slave in @bond, or %NULL if it can't be 143 struct slave *first_slave; in __get_first_agg() 171 * __disable_port - disable the port's slave 176 bond_set_slave_inactive_flags(port->slave, BOND_SLAVE_NOTIFY_LATER); in __disable_port() 180 * __enable_port - enable the port's slave, if it's up 185 struct slave *slave = port->slave; in __enable_port() local 252 struct slave *slave = port->slave; __get_link_speed() local 343 struct slave *slave = port->slave; __get_duplex() local 754 struct slave *slave; __get_active_agg() local 823 struct slave *slave = port->slave; ad_lacpdu_send() local 867 struct slave *slave = port->slave; ad_marker_send() local 1381 struct slave *slave; ad_port_selection_logic() local 1660 struct slave *slave; ad_agg_selection_logic() local 2019 bond_3ad_bind_slave(struct slave *slave) bond_3ad_bind_slave() argument 2070 bond_3ad_unbind_slave(struct slave *slave) bond_3ad_unbind_slave() argument 2236 struct slave *slave; bond_3ad_update_ad_actor_settings() local 2299 struct slave *slave; bond_3ad_state_machine_handler() local 2383 bond_3ad_rx_indication(struct lacpdu *lacpdu, struct slave *slave) bond_3ad_rx_indication() argument 2498 bond_3ad_adapter_speed_duplex_changed(struct slave *slave) bond_3ad_adapter_speed_duplex_changed() argument 2525 bond_3ad_handle_link_change(struct slave *slave, char link) bond_3ad_handle_link_change() argument 2628 struct slave *slave; __bond_3ad_get_active_agg_info() local 2662 bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) bond_3ad_lacpdu_recv() argument 2698 struct slave *slave; bond_3ad_update_lacp_rate() local [all...] |
H A D | bond_alb.c | 54 static void alb_send_learning_packets(struct slave *slave, u8 mac_addr[], 87 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave() argument 89 SLAVE_TLB_INFO(slave).load = 0; in tlb_init_slave() 90 SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX; in tlb_init_slave() 93 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave() argument 99 /* clear slave from tx_hashtbl */ in __tlb_clear_slave() 104 index = SLAVE_TLB_INFO(slave) in __tlb_clear_slave() 115 tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load) tlb_clear_slave() argument 160 compute_gap(struct slave *slave) compute_gap() argument 168 struct slave *slave, *least_loaded; tlb_get_least_loaded_slave() local 271 rlb_arp_recv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) rlb_arp_recv() argument 308 struct slave *before = NULL, *rx_slave = NULL, *slave; __rlb_next_rx_slave() local 379 rlb_clear_slave(struct bonding *bond, struct slave *slave) rlb_clear_slave() argument 486 rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) rlb_req_update_slave_clients() argument 905 alb_send_lp_vid(struct slave *slave, u8 mac_addr[], __be16 vlan_proto, u16 vid) alb_send_lp_vid() argument 940 struct slave *slave; global() member 951 struct slave *slave = data->slave; alb_upper_dev_walk() local 984 alb_send_learning_packets(struct slave *slave, u8 mac_addr[], bool strict_match) alb_send_learning_packets() argument 1008 alb_set_slave_mac_addr(struct slave *slave, u8 addr[], unsigned int len) alb_set_slave_mac_addr() argument 1106 alb_change_hw_addr_on_detach(struct bonding *bond, struct slave *slave) alb_change_hw_addr_on_detach() argument 1149 alb_handle_addr_collision_on_attach(struct bonding *bond, struct slave *slave) alb_handle_addr_collision_on_attach() argument 1227 struct slave *slave, *rollback_slave; alb_set_mac_address() local 1532 struct slave *slave; bond_alb_monitor() local 1628 bond_alb_init_slave(struct bonding *bond, struct slave *slave) bond_alb_init_slave() argument 1658 bond_alb_deinit_slave(struct bonding *bond, struct slave *slave) bond_alb_deinit_slave() argument 1672 bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link) bond_alb_handle_link_change() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/bonding/ |
H A D | bond_sysfs_slave.c | 15 ssize_t (*show)(struct slave *, char *); 21 static ssize_t state_show(struct slave *slave, char *buf) in state_show() argument 23 switch (bond_slave_state(slave)) { in state_show() 34 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show() argument 36 return sysfs_emit(buf, "%s\n", bond_slave_link_status(slave->link)); in mii_status_show() 40 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show() argument 42 return sysfs_emit(buf, "%d\n", slave in link_failure_count_show() 46 perm_hwaddr_show(struct slave *slave, char *buf) perm_hwaddr_show() argument 54 queue_id_show(struct slave *slave, char *buf) queue_id_show() argument 60 ad_aggregator_id_show(struct slave *slave, char *buf) ad_aggregator_id_show() argument 75 ad_actor_oper_port_state_show(struct slave *slave, char *buf) ad_actor_oper_port_state_show() argument 90 ad_partner_oper_port_state_show(struct slave *slave, char *buf) ad_partner_oper_port_state_show() argument 123 struct slave *slave = to_slave(kobj); slave_show() local 132 bond_sysfs_slave_add(struct slave *slave) bond_sysfs_slave_add() argument 137 bond_sysfs_slave_del(struct slave *slave) bond_sysfs_slave_del() argument [all...] |
H A D | bond_main.c | 21 * the first slave bonded to the channel. All slaves will then use 28 * will attach eth0 to bond0 as a slave. eth0 hw mac address will either 154 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave " 159 "2 for only on active slave " 198 MODULE_PARM_DESC(packets_per_slave, "Packets to send per slave in balance-rr " 199 "mode; 0 for a random slave, 1 packet per " 200 "slave (default), >1 packets per slave."); 295 * @slave_dev: slave that is supposed to xmit this skbuff 347 * We don't protect the slave lis 372 struct slave *slave, *rollback_slave; bond_vlan_rx_add_vid() local 407 struct slave *slave; bond_vlan_rx_kill_vid() local 432 struct slave *slave; bond_ipsec_add_sa() local 479 struct slave *slave; bond_ipsec_add_sa_all() local 520 struct slave *slave; bond_ipsec_del_sa() local 562 struct slave *slave; bond_ipsec_del_sa_all() local 650 struct slave *slave; bond_set_carrier() local 682 bond_update_speed_duplex(struct slave *slave) bond_update_speed_duplex() argument 807 struct slave *slave; bond_set_promiscuity() local 830 struct slave *slave; bond_set_allmulti() local 941 struct slave *slave; bond_get_old_active() local 1047 struct slave *slave, *hprio = NULL; bond_choose_primary_or_current() local 1103 struct slave *slave, *bestslave = NULL; bond_find_best_slave() local 1126 struct slave *slave; bond_should_notify_peers() local 1296 slave_enable_netpoll(struct slave *slave) slave_enable_netpoll() argument 1315 slave_disable_netpoll(struct slave *slave) slave_disable_netpoll() argument 1330 struct slave *slave = NULL; bond_poll_controller() local 1359 struct slave *slave; bond_netpoll_cleanup() local 1370 struct slave *slave; bond_netpoll_setup() local 1383 slave_enable_netpoll(struct slave *slave) slave_enable_netpoll() argument 1387 slave_disable_netpoll(struct slave *slave) slave_disable_netpoll() argument 1403 struct slave *slave; bond_fix_features() local 1443 struct slave *slave; bond_compute_features() local 1528 bond_should_deliver_exact_match(struct sk_buff *skb, struct slave *slave, struct bonding *bond) bond_should_deliver_exact_match() argument 1545 struct slave *slave; bond_handle_frame() local 1645 bond_master_upper_dev_link(struct bonding *bond, struct slave *slave, struct netlink_ext_ack *extack) bond_master_upper_dev_link() argument 1665 bond_upper_dev_unlink(struct bonding *bond, struct slave *slave) bond_upper_dev_unlink() argument 1673 struct slave *slave = to_slave(kobj); slave_kobj_release() local 1690 bond_kobj_init(struct slave *slave) bond_kobj_init() argument 1705 struct slave *slave = NULL; bond_alloc_slave() local 1737 bond_fill_ifslave(struct slave *slave, struct ifslave *info) bond_fill_ifslave() argument 1747 struct slave *slave = container_of(_work, struct slave, bond_netdev_notify_work() local 1762 bond_queue_slave_event(struct slave *slave) bond_queue_slave_event() argument 1767 bond_lower_state_changed(struct slave *slave) bond_lower_state_changed() argument 1810 struct slave *slave; bond_xdp_set_features() local 2364 struct slave *slave, *oldcurrent; __bond_release_one() local 2567 struct slave *slave; bond_slave_info_query() local 2588 struct slave *slave; bond_miimon_inspect() local 2687 bond_miimon_link_change(struct bonding *bond, struct slave *slave, char link) bond_miimon_link_change() argument 2707 struct slave *slave, *primary, *active; bond_miimon_commit() local 2814 struct slave *slave; bond_mii_monitor() local 2891 bond_handle_vlan(struct slave *slave, struct bond_vlan_tag *tags, struct sk_buff *skb) bond_handle_vlan() argument 2936 bond_arp_send(struct slave *slave, int arp_op, __be32 dest_ip, __be32 src_ip, struct bond_vlan_tag *tags) bond_arp_send() argument 3002 bond_arp_send_all(struct bonding *bond, struct slave *slave) bond_arp_send_all() argument 3056 bond_validate_arp(struct bonding *bond, struct slave *slave, __be32 sip, __be32 tip) bond_validate_arp() argument 3076 bond_arp_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) bond_arp_rcv() argument 3157 bond_ns_send(struct slave *slave, const struct in6_addr *daddr, const struct in6_addr *saddr, struct bond_vlan_tag *tags) bond_ns_send() argument 3181 bond_ns_send_all(struct bonding *bond, struct slave *slave) bond_ns_send_all() argument 3269 bond_validate_na(struct bonding *bond, struct slave *slave, struct in6_addr *saddr, struct in6_addr *daddr) bond_validate_na() argument 3297 bond_na_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) bond_na_rcv() argument 3346 bond_rcv_validate(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) bond_rcv_validate() argument 3377 bond_send_validate(struct bonding *bond, struct slave *slave) bond_send_validate() argument 3407 struct slave *slave, *oldcurrent; bond_loadbalance_arp_mon() local 3524 struct slave *slave; bond_ab_arp_inspect() local 3595 struct slave *slave; bond_ab_arp_commit() local 3684 struct slave *slave, *before = NULL, *new_slave = NULL, bond_ab_arp_probe() local 3872 struct slave *slave = bond_slave_get_rtnl(slave_dev), *primary; bond_slave_netdev_event() local 4268 struct slave *slave; bond_open() local 4327 struct slave *slave; bond_close() local 4427 struct slave *slave; bond_get_stats() local 4607 struct slave *slave; bond_set_rx_mode() local 4630 struct slave *slave; bond_neigh_init() local 4684 struct slave *slave, *rollback_slave; bond_change_mtu() local 4741 struct slave *slave, *rollback_slave; bond_set_mac_address() local 4817 struct slave *slave; bond_get_slave_by_id() local 4876 struct slave *slave; bond_xmit_roundrobin_slave_get() local 4914 struct slave *slave; bond_xdp_xmit_roundrobin_slave_get() local 4956 struct slave *slave; bond_xmit_roundrobin() local 4977 struct slave *slave; bond_xmit_activebackup() local 5071 struct slave *slave; bond_update_slave_arr() local 5142 struct slave *slave; bond_xmit_3ad_xor_slave_get() local 5180 struct slave *slave; bond_3ad_xor_xmit() local 5195 struct slave *slave = NULL; bond_xmit_broadcast() local 5238 struct slave *slave = NULL; bond_slave_override() local 5288 struct slave *slave = NULL; bond_xmit_get_slave() local 5374 struct slave *slave; __bond_sk_get_lower_dev() local 5479 struct slave *slave; bond_xdp_get_xmit_slave() local 5552 struct slave *slave, *rollback_slave; bond_xdp_set() local 5640 bond_mode_bcast_speed(struct slave *slave, u32 speed) bond_mode_bcast_speed() argument 5716 struct slave *slave; bond_ethtool_get_link_ksettings() local 5765 struct slave *slave; bond_ethtool_get_ts_info() local 5948 struct slave *slave; bond_uninit() local [all...] |
H A D | bond_3ad.c | 130 if (port->slave == NULL) in __get_bond_by_port() 133 return bond_get_bond_by_slave(port->slave); in __get_bond_by_port() 140 * Return the aggregator of the first slave in @bond, or %NULL if it can't be 147 struct slave *first_slave; in __get_first_agg() 175 * __disable_port - disable the port's slave 180 bond_set_slave_inactive_flags(port->slave, BOND_SLAVE_NOTIFY_LATER); in __disable_port() 184 * __enable_port - enable the port's slave, if it's up 189 struct slave *slave = port->slave; in __enable_port() local 259 struct slave *slave = port->slave; __get_link_speed() local 362 struct slave *slave = port->slave; __get_duplex() local 782 struct slave *slave; __get_active_agg() local 851 struct slave *slave = port->slave; ad_lacpdu_send() local 895 struct slave *slave = port->slave; ad_marker_send() local 1410 struct slave *slave; ad_port_selection_logic() local 1690 struct slave *slave; ad_agg_selection_logic() local 2043 bond_3ad_bind_slave(struct slave *slave) bond_3ad_bind_slave() argument 2094 bond_3ad_unbind_slave(struct slave *slave) bond_3ad_unbind_slave() argument 2260 struct slave *slave; bond_3ad_update_ad_actor_settings() local 2323 struct slave *slave; bond_3ad_state_machine_handler() local 2407 bond_3ad_rx_indication(struct lacpdu *lacpdu, struct slave *slave) bond_3ad_rx_indication() argument 2522 bond_3ad_adapter_speed_duplex_changed(struct slave *slave) bond_3ad_adapter_speed_duplex_changed() argument 2549 bond_3ad_handle_link_change(struct slave *slave, char link) bond_3ad_handle_link_change() argument 2652 struct slave *slave; __bond_3ad_get_active_agg_info() local 2686 bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) bond_3ad_lacpdu_recv() argument 2722 struct slave *slave; bond_3ad_update_lacp_rate() local [all...] |
H A D | bond_alb.c | 54 static void alb_send_learning_packets(struct slave *slave, const u8 mac_addr[], 87 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave() argument 89 SLAVE_TLB_INFO(slave).load = 0; in tlb_init_slave() 90 SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX; in tlb_init_slave() 93 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave() argument 99 /* clear slave from tx_hashtbl */ in __tlb_clear_slave() 104 index = SLAVE_TLB_INFO(slave) in __tlb_clear_slave() 116 tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load) tlb_clear_slave() argument 161 compute_gap(struct slave *slave) compute_gap() argument 169 struct slave *slave, *least_loaded; tlb_get_least_loaded_slave() local 272 rlb_arp_recv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) rlb_arp_recv() argument 309 struct slave *before = NULL, *rx_slave = NULL, *slave; __rlb_next_rx_slave() local 381 rlb_clear_slave(struct bonding *bond, struct slave *slave) rlb_clear_slave() argument 488 rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) rlb_req_update_slave_clients() argument 919 alb_send_lp_vid(struct slave *slave, const u8 mac_addr[], __be16 vlan_proto, u16 vid) alb_send_lp_vid() argument 954 struct slave *slave; global() member 966 struct slave *slave = data->slave; alb_upper_dev_walk() local 998 alb_send_learning_packets(struct slave *slave, const u8 mac_addr[], bool strict_match) alb_send_learning_packets() argument 1022 alb_set_slave_mac_addr(struct slave *slave, const u8 addr[], unsigned int len) alb_set_slave_mac_addr() argument 1120 alb_change_hw_addr_on_detach(struct bonding *bond, struct slave *slave) alb_change_hw_addr_on_detach() argument 1163 alb_handle_addr_collision_on_attach(struct bonding *bond, struct slave *slave) alb_handle_addr_collision_on_attach() argument 1241 struct slave *slave, *rollback_slave; alb_set_mac_address() local 1539 struct slave *slave; bond_alb_monitor() local 1635 bond_alb_init_slave(struct bonding *bond, struct slave *slave) bond_alb_init_slave() argument 1665 bond_alb_deinit_slave(struct bonding *bond, struct slave *slave) bond_alb_deinit_slave() argument 1679 bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link) bond_alb_handle_link_change() argument [all...] |
/kernel/linux/linux-6.6/drivers/fsi/ |
H A D | fsi-core.c | 28 #include "fsi-slave.h" 51 * FSI slave engine control register offsets 126 return fsi_slave_read(dev->slave, dev->addr + addr, val, size); in fsi_device_read() 136 return fsi_slave_write(dev->slave, dev->addr + addr, val, size); in fsi_device_write() 144 return fsi_slave_read(dev->slave, addr, val, sizeof(uint32_t)); in fsi_device_peek() 155 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device() argument 163 dev->dev.parent = &slave->dev; in fsi_create_device() 170 /* FSI slave support */ 171 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr() argument 177 if (addr > slave in fsi_slave_calc_addr() 195 fsi_slave_report_and_clear_errors(struct fsi_slave *slave) fsi_slave_report_and_clear_errors() argument 255 fsi_slave_set_smode(struct fsi_slave *slave) fsi_slave_set_smode() argument 271 fsi_slave_handle_error(struct fsi_slave *slave, bool write, uint32_t addr, size_t size) fsi_slave_handle_error() argument 331 fsi_slave_read(struct fsi_slave *slave, uint32_t addr, void *val, size_t size) fsi_slave_read() argument 356 fsi_slave_write(struct fsi_slave *slave, uint32_t addr, const void *val, size_t size) fsi_slave_write() argument 381 fsi_slave_claim_range(struct fsi_slave *slave, uint32_t addr, uint32_t size) fsi_slave_claim_range() argument 395 fsi_slave_release_range(struct fsi_slave *slave, uint32_t addr, uint32_t size) fsi_slave_release_range() argument 442 fsi_slave_scan(struct fsi_slave *slave) fsi_slave_scan() argument 560 struct fsi_slave *slave = to_fsi_slave(kobj_to_dev(kobj)); fsi_slave_sysfs_raw_read() local 587 struct fsi_slave *slave = to_fsi_slave(kobj_to_dev(kobj)); fsi_slave_sysfs_raw_write() local 622 struct fsi_slave *slave = to_fsi_slave(dev); fsi_slave_release() local 663 struct fsi_slave *slave = filep->private_data; cfam_read() local 699 struct fsi_slave *slave = filep->private_data; cfam_write() local 750 struct fsi_slave *slave = container_of(inode->i_cdev, struct fsi_slave, cdev); cfam_open() local 769 struct fsi_slave *slave = to_fsi_slave(dev); send_term_store() local 785 struct fsi_slave *slave = to_fsi_slave(dev); slave_send_echo_show() local 793 struct fsi_slave *slave = to_fsi_slave(dev); slave_send_echo_store() local 829 struct fsi_slave *slave = to_fsi_slave(dev); chip_id_show() local 840 struct fsi_slave *slave = to_fsi_slave(dev); cfam_id_show() local 867 const struct fsi_slave *slave = to_fsi_slave(dev); cfam_devnode() local 908 __fsi_get_new_minor(struct fsi_slave *slave, enum fsi_dev_type type, dev_t *out_dev, int *out_index) __fsi_get_new_minor() argument 984 struct fsi_slave *slave; fsi_slave_init() local 1239 struct fsi_slave *slave = to_fsi_slave(dev); fsi_master_remove_slave() local [all...] |
/kernel/linux/linux-5.10/drivers/fsi/ |
H A D | fsi-core.c | 48 * FSI slave engine control register offsets 93 uint32_t size; /* size of slave address space */ 140 return fsi_slave_read(dev->slave, dev->addr + addr, val, size); in fsi_device_read() 150 return fsi_slave_write(dev->slave, dev->addr + addr, val, size); in fsi_device_write() 158 return fsi_slave_read(dev->slave, addr, val, sizeof(uint32_t)); in fsi_device_peek() 169 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device() argument 177 dev->dev.parent = &slave->dev; in fsi_create_device() 184 /* FSI slave support */ 185 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr() argument 191 if (addr > slave in fsi_slave_calc_addr() 209 fsi_slave_report_and_clear_errors(struct fsi_slave *slave) fsi_slave_report_and_clear_errors() argument 269 fsi_slave_set_smode(struct fsi_slave *slave) fsi_slave_set_smode() argument 285 fsi_slave_handle_error(struct fsi_slave *slave, bool write, uint32_t addr, size_t size) fsi_slave_handle_error() argument 345 fsi_slave_read(struct fsi_slave *slave, uint32_t addr, void *val, size_t size) fsi_slave_read() argument 370 fsi_slave_write(struct fsi_slave *slave, uint32_t addr, const void *val, size_t size) fsi_slave_write() argument 395 fsi_slave_claim_range(struct fsi_slave *slave, uint32_t addr, uint32_t size) fsi_slave_claim_range() argument 409 fsi_slave_release_range(struct fsi_slave *slave, uint32_t addr, uint32_t size) fsi_slave_release_range() argument 466 fsi_slave_scan(struct fsi_slave *slave) fsi_slave_scan() argument 582 struct fsi_slave *slave = to_fsi_slave(kobj_to_dev(kobj)); fsi_slave_sysfs_raw_read() local 609 struct fsi_slave *slave = to_fsi_slave(kobj_to_dev(kobj)); fsi_slave_sysfs_raw_write() local 644 struct fsi_slave *slave = to_fsi_slave(dev); fsi_slave_release() local 697 struct fsi_slave *slave = filep->private_data; cfam_read() local 733 struct fsi_slave *slave = filep->private_data; cfam_write() local 784 struct fsi_slave *slave = container_of(inode->i_cdev, struct fsi_slave, cdev); cfam_open() local 803 struct fsi_slave *slave = to_fsi_slave(dev); send_term_store() local 819 struct fsi_slave *slave = to_fsi_slave(dev); slave_send_echo_show() local 827 struct fsi_slave *slave = to_fsi_slave(dev); slave_send_echo_store() local 863 struct fsi_slave *slave = to_fsi_slave(dev); chip_id_show() local 874 struct fsi_slave *slave = to_fsi_slave(dev); cfam_id_show() local 901 struct fsi_slave *slave = to_fsi_slave(dev); cfam_devnode() local 942 __fsi_get_new_minor(struct fsi_slave *slave, enum fsi_dev_type type, dev_t *out_dev, int *out_index) __fsi_get_new_minor() argument 988 struct fsi_slave *slave; fsi_slave_init() local 1239 struct fsi_slave *slave = to_fsi_slave(dev); fsi_master_remove_slave() local [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | omap_hwmod_2xxx_interconnect_data.c | 27 .slave = &omap2xxx_l4_core_hwmod, 34 .slave = &omap2xxx_l3_main_hwmod, 41 .slave = &omap2xxx_l3_main_hwmod, 54 .slave = &omap2xxx_l4_wkup_hwmod, 61 .slave = &omap2xxx_uart1_hwmod, 69 .slave = &omap2xxx_uart2_hwmod, 77 .slave = &omap2xxx_uart3_hwmod, 85 .slave = &omap2xxx_mcspi1_hwmod, 93 .slave = &omap2xxx_mcspi2_hwmod, 101 .slave [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | omap_hwmod_2xxx_interconnect_data.c | 26 .slave = &omap2xxx_l4_core_hwmod, 33 .slave = &omap2xxx_l3_main_hwmod, 40 .slave = &omap2xxx_l3_main_hwmod, 53 .slave = &omap2xxx_l4_wkup_hwmod, 60 .slave = &omap2xxx_uart1_hwmod, 68 .slave = &omap2xxx_uart2_hwmod, 76 .slave = &omap2xxx_uart3_hwmod, 84 .slave = &omap2xxx_mcspi1_hwmod, 92 .slave = &omap2xxx_mcspi2_hwmod, 100 .slave [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | eql.c | 142 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave); 152 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local 154 if ((slave->dev->flags & IFF_UP) == IFF_UP) { in eql_timer() 155 slave->bytes_queued -= slave->priority_Bps; in eql_timer() 156 if (slave->bytes_queued < 0) in eql_timer() 157 slave->bytes_queued = 0; in eql_timer() 159 eql_kill_one_slave(&eql->queue, slave); in eql_timer() 211 "remember to turn off Van-Jacobson compression on your slave devices\n"); in eql_open() 223 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave() argument 313 slave_t *slave = list_entry(this, slave_t, list); __eql_schedule_slaves() local 340 slave_t *slave; eql_slave_xmit() local 374 slave_t *slave = list_entry(this, slave_t, list); __eql_find_slave_dev() local 393 __eql_insert_slave(slave_queue_t *queue, slave_t *slave) __eql_insert_slave() argument 471 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); eql_emancipate() local 485 slave_t *slave; eql_g_slave_cfg() local 517 slave_t *slave; eql_s_slave_cfg() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | eql.c | 140 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave); 150 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local 152 if ((slave->dev->flags & IFF_UP) == IFF_UP) { in eql_timer() 153 slave->bytes_queued -= slave->priority_Bps; in eql_timer() 154 if (slave->bytes_queued < 0) in eql_timer() 155 slave->bytes_queued = 0; in eql_timer() 157 eql_kill_one_slave(&eql->queue, slave); in eql_timer() 209 "remember to turn off Van-Jacobson compression on your slave devices\n"); in eql_open() 221 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave() argument 307 slave_t *slave = list_entry(this, slave_t, list); __eql_schedule_slaves() local 334 slave_t *slave; eql_slave_xmit() local 368 slave_t *slave = list_entry(this, slave_t, list); __eql_find_slave_dev() local 387 __eql_insert_slave(slave_queue_t *queue, slave_t *slave) __eql_insert_slave() argument 466 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); eql_emancipate() local 480 slave_t *slave; eql_g_slave_cfg() local 512 slave_t *slave; eql_s_slave_cfg() local [all...] |