Searched refs:slave (Results 1 - 25 of 103) sorted by relevance

12345

/drivers/net/bonding/
H A Dbond_sysfs_slave.c19 ssize_t (*show)(struct slave *, char *);
31 static ssize_t state_show(struct slave *slave, char *buf) argument
33 switch (bond_slave_state(slave)) {
44 static ssize_t mii_status_show(struct slave *slave, char *buf) argument
46 return sprintf(buf, "%s\n", bond_slave_link_status(slave->link));
50 static ssize_t link_failure_count_show(struct slave *slave, char *buf) argument
52 return sprintf(buf, "%d\n", slave
56 perm_hwaddr_show(struct slave *slave, char *buf) argument
62 queue_id_show(struct slave *slave, char *buf) argument
68 ad_aggregator_id_show(struct slave *slave, char *buf) argument
100 struct slave *slave = to_slave(kobj); local
115 bond_sysfs_slave_add(struct slave *slave) argument
136 bond_sysfs_slave_del(struct slave *slave) argument
[all...]
H A Dbond_alb.h28 struct slave;
31 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info)
65 /* RLB_PROMISC_TIMEOUT = 10 sec equals the time that the current slave is
72 struct slave *tx_slave; /* A pointer to slave used for transmiting
127 struct slave *slave; /* the slave assigned to this client */ member in struct:rlb_client_info
135 * slave fo
[all...]
H A Dbonding.h59 /* slave list primitives */
84 * @pos: current slave
153 struct slave { struct
163 u8 backup:1, /* indicates backup slave. Value corresponds with
165 inactive:1, /* indicates inactive slave */
185 struct slave *arr[0];
195 * Get rcu_read_lock when reading or RTNL when writing slave list.
199 struct slave __rcu *curr_active_slave;
200 struct slave __rcu *current_arp_slave;
201 struct slave __rc
262 bond_get_bond_by_slave(struct slave *slave) argument
309 bond_slave_is_up(struct slave *slave) argument
314 bond_set_active_slave(struct slave *slave) argument
322 bond_set_backup_slave(struct slave *slave) argument
330 bond_set_slave_state(struct slave *slave, int slave_state, bool notify) argument
374 bond_slave_state(struct slave *slave) argument
379 bond_is_active_slave(struct slave *slave) argument
384 bond_slave_can_tx(struct slave *slave) argument
415 slave_do_arp_validate(struct bonding *bond, struct slave *slave) argument
434 slave_oldest_target_arp_rx(struct bonding *bond, struct slave *slave) argument
447 slave_last_rx(struct bonding *bond, struct slave *slave) argument
457 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) argument
466 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) argument
472 bond_set_slave_inactive_flags(struct slave *slave, bool notify) argument
481 bond_set_slave_active_flags(struct slave *slave, bool notify) argument
488 bond_is_slave_inactive(struct slave *slave) argument
[all...]
H A Dbond_alb.c83 static void alb_send_learning_packets(struct slave *slave, u8 mac_addr[],
116 static inline void tlb_init_slave(struct slave *slave) argument
118 SLAVE_TLB_INFO(slave).load = 0;
119 SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX;
122 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, argument
128 /* clear slave from tx_hashtbl */
133 index = SLAVE_TLB_INFO(slave)
144 tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load) argument
189 compute_gap(struct slave *slave) argument
197 struct slave *slave, *least_loaded; local
300 rlb_arp_recv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
337 struct slave *before = NULL, *rx_slave = NULL, *slave; local
408 rlb_clear_slave(struct bonding *bond, struct slave *slave) argument
519 rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) argument
928 alb_send_lp_vid(struct slave *slave, u8 mac_addr[], __be16 vlan_proto, u16 vid) argument
965 alb_send_learning_packets(struct slave *slave, u8 mac_addr[], bool strict_match) argument
1010 alb_set_slave_mac_addr(struct slave *slave, u8 addr[]) argument
1105 alb_change_hw_addr_on_detach(struct bonding *bond, struct slave *slave) argument
1148 alb_handle_addr_collision_on_attach(struct bonding *bond, struct slave *slave) argument
1225 struct slave *slave, *rollback_slave; local
1475 struct slave *slave; local
1571 bond_alb_init_slave(struct bonding *bond, struct slave *slave) argument
1599 bond_alb_deinit_slave(struct bonding *bond, struct slave *slave) argument
1613 bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link) argument
[all...]
H A Dbond_main.c20 * 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
141 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
146 "2 for only on active slave "
185 MODULE_PARM_DESC(packets_per_slave, "Packets to send per slave in balance-rr "
186 "mode; 0 for a random slave, 1 packet per "
187 "slave (default), >1 packets per slave.");
242 * @slave_dev: slave that is supposed to xmit this skbuff
260 * We don't protect the slave lis
284 struct slave *slave, *rollback_slave; local
318 struct slave *slave; local
340 struct slave *slave; local
371 bond_update_speed_duplex(struct slave *slave) argument
500 struct slave *slave; local
523 struct slave *slave; local
715 struct slave *slave, *bestslave = NULL, *primary; local
739 struct slave *slave; local
898 slave_enable_netpoll(struct slave *slave) argument
917 slave_disable_netpoll(struct slave *slave) argument
936 struct slave *slave; local
947 struct slave *slave; local
960 slave_enable_netpoll(struct slave *slave) argument
964 slave_disable_netpoll(struct slave *slave) argument
980 struct slave *slave; local
1011 struct slave *slave; local
1066 bond_should_deliver_exact_match(struct sk_buff *skb, struct slave *slave, struct bonding *bond) argument
1083 struct slave *slave; local
1128 bond_master_upper_dev_link(struct net_device *bond_dev, struct net_device *slave_dev, struct slave *slave) argument
1152 struct slave *slave = NULL; local
1169 bond_free_slave(struct slave *slave) argument
1640 struct slave *slave, *oldcurrent; local
1829 struct slave *slave; local
1852 struct slave *slave; local
1947 struct slave *slave, *primary; local
2211 bond_arp_send_all(struct bonding *bond, struct slave *slave) argument
2265 bond_validate_arp(struct bonding *bond, struct slave *slave, __be32 sip, __be32 tip) argument
2285 bond_arp_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
2387 struct slave *slave, *oldcurrent; local
2500 struct slave *slave; local
2567 struct slave *slave; local
2640 struct slave *slave, *before = NULL, *new_slave = NULL, local
2815 struct slave *slave = bond_slave_get_rtnl(slave_dev), *primary; local
3061 struct slave *slave; local
3129 struct slave *slave; local
3296 struct slave *slave; local
3319 struct slave *slave; local
3370 struct slave *slave, *rollback_slave; local
3428 struct slave *slave, *rollback_slave; local
3502 struct slave *slave; local
3566 struct slave *slave; local
3601 struct slave *slave; local
3653 struct slave *slave; local
3741 struct slave *slave; local
3762 struct slave *slave = NULL; local
3793 struct slave *slave = NULL; local
3894 struct slave *slave; local
4026 struct slave *slave; local
[all...]
H A Dbond_procfs.c13 struct slave *slave; local
21 bond_for_each_slave_rcu(bond, slave, iter)
23 return slave;
32 struct slave *slave; local
39 bond_for_each_slave_rcu(bond, slave, iter) {
41 return slave;
42 if (slave == v)
59 struct slave *cur
158 bond_info_show_slave(struct seq_file *seq, const struct slave *slave) argument
[all...]
H A Dbond_3ad.c135 if (port->slave == NULL)
138 return bond_get_bond_by_slave(port->slave);
145 * Return the aggregator of the first slave in @bond, or %NULL if it can't be
152 struct slave *first_slave;
180 * __disable_port - disable the port's slave
185 bond_set_slave_inactive_flags(port->slave, BOND_SLAVE_NOTIFY_LATER);
189 * __enable_port - enable the port's slave, if it's up
194 struct slave *slave = port->slave; local
252 struct slave *slave = port->slave; local
302 struct slave *slave = port->slave; local
660 struct slave *slave; local
726 struct slave *slave = port->slave; local
767 struct slave *slave = port->slave; local
1209 struct slave *slave; local
1475 struct slave *slave; local
1823 bond_3ad_bind_slave(struct slave *slave) argument
1883 bond_3ad_unbind_slave(struct slave *slave) argument
2055 struct slave *slave; local
2141 bond_3ad_rx_indication(struct lacpdu *lacpdu, struct slave *slave, u16 length) argument
2202 bond_3ad_adapter_speed_changed(struct slave *slave) argument
2235 bond_3ad_adapter_duplex_changed(struct slave *slave) argument
2269 bond_3ad_handle_link_change(struct slave *slave, char link) argument
2379 struct slave *slave; local
2413 bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
2443 struct slave *slave; local
[all...]
H A Dbond_3ad.h167 struct slave;
190 struct slave *slave; /* pointer to the bond slave that this aggregator belongs to */ member in struct:aggregator
232 struct slave *slave; /* pointer to the bond slave that this port belongs to */ member in struct:port
251 #define SLAVE_AD_INFO(slave) ((slave)->ad_info)
267 void bond_3ad_bind_slave(struct slave *slav
[all...]
/drivers/gpu/drm/armada/
H A Darmada_slave.c23 struct drm_encoder_slave *slave = to_encoder_slave(enc); local
25 count = slave->slave_funcs->get_modes(enc, conn);
33 struct drm_encoder_slave *slave = to_encoder_slave(enc); local
36 if (slave->slave_funcs)
37 slave->slave_funcs->destroy(enc);
41 drm_encoder_cleanup(&slave->base);
42 kfree(slave);
70 struct drm_encoder_slave *slave; local
80 slave = kzalloc(sizeof(*slave), GFP_KERNE
[all...]
/drivers/mtd/
H A Dmtdpart.c326 * This function unregisters and destroy all slave MTD objects which are
332 struct mtd_part *slave, *next; local
336 list_for_each_entry_safe(slave, next, &mtd_partitions, list)
337 if (slave->master == master) {
338 ret = del_mtd_device(&slave->mtd);
343 list_del(&slave->list);
344 free_partition(slave);
355 struct mtd_part *slave; local
359 slave = kzalloc(sizeof(*slave), GFP_KERNE
609 struct mtd_part *slave, *next; local
643 struct mtd_part *slave; local
[all...]
/drivers/net/
H A Deql.c140 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave);
150 slave_t *slave = list_entry(this, slave_t, list); local
152 if ((slave->dev->flags & IFF_UP) == IFF_UP) {
153 slave->bytes_queued -= slave->priority_Bps;
154 if (slave->bytes_queued < 0)
155 slave->bytes_queued = 0;
157 eql_kill_one_slave(&eql->queue, slave);
211 "remember to turn off Van-Jacobson compression on your slave devices\n");
223 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) argument
309 slave_t *slave = list_entry(this, slave_t, list); local
336 slave_t *slave; local
370 slave_t *slave = list_entry(this, slave_t, list); local
389 __eql_insert_slave(slave_queue_t *queue, slave_t *slave) argument
468 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); local
482 slave_t *slave; local
514 slave_t *slave; local
[all...]
/drivers/staging/media/omap24xx/
H A Dv4l2-int-device.c49 if (s->u.slave->master)
53 if (s->u.slave->attach_to[0] != 0
54 && strncmp(m->name, s->u.slave->attach_to,
61 s->u.slave->master = m;
63 s->u.slave->master = NULL;
88 sort(d->u.slave->ioctls, d->u.slave->num_ioctls,
105 && d->u.slave->master != NULL) {
106 d->u.slave->master->u.master->detach(d);
107 module_put(d->u.slave
115 find_ioctl(struct v4l2_int_slave *slave, int cmd, v4l2_int_ioctl_func *no_such_ioctl) argument
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c300 static void rem_slave_vlans(struct mlx4_dev *dev, int slave);
301 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, argument
312 if (slave > dev->num_vfs)
317 res_alloc->allocated[(port - 1) * (dev->num_vfs + 1) + slave] :
318 res_alloc->allocated[slave];
323 guaranteed = res_alloc->guaranteed[slave];
325 if (allocated + count > res_alloc->quota[slave]) {
327 slave, port, resource_str(res_type), count,
328 allocated, res_alloc->quota[slave]);
348 slave, por
370 mlx4_release_resource(struct mlx4_dev *dev, int slave, enum mlx4_resource res_type, int count, int port) argument
643 update_pkey_index(struct mlx4_dev *dev, int slave, struct mlx4_cmd_mailbox *inbox) argument
658 update_gid(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox, u8 slave) argument
698 update_vport_qp_param(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox, u8 slave, u32 qpn) argument
783 get_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type, void *res) argument
818 mlx4_get_slave_from_resource_id(struct mlx4_dev *dev, enum mlx4_resource type, u64 res_id, int *slave) argument
841 put_res(struct mlx4_dev *dev, int slave, u64 res_id, enum mlx4_resource type) argument
988 alloc_tr(u64 id, enum mlx4_resource type, int slave, int extra) argument
1033 add_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, enum mlx4_resource type, int extra) argument
1218 rem_res_range(struct mlx4_dev *dev, int slave, u64 base, int count, enum mlx4_resource type, int extra) argument
1257 qp_res_start_move_to(struct mlx4_dev *dev, int slave, int qpn, enum res_qp_states state, struct res_qp **qp, int alloc) argument
1322 mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_mpt_states state, struct res_mpt **mpt) argument
1375 eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_eq_states state, struct res_eq **eq) argument
1423 cq_res_start_move_to(struct mlx4_dev *dev, int slave, int cqn, enum res_cq_states state, struct res_cq **cq) argument
1463 srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_srq_states state, struct res_srq **srq) argument
1499 res_abort_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) argument
1513 res_end_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) argument
1527 valid_reserved(struct mlx4_dev *dev, int slave, int qpn) argument
1538 qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1600 mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1633 mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1682 cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1717 srq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1752 mac_find_smac_ix_in_slave(struct mlx4_dev *dev, int slave, int port, u8 smac_index, u64 *mac) argument
1770 mac_add_to_slave(struct mlx4_dev *dev, int slave, u64 mac, int port, u8 smac_index) argument
1802 mac_del_from_slave(struct mlx4_dev *dev, int slave, u64 mac, int port) argument
1823 rem_slave_macs(struct mlx4_dev *dev, int slave) argument
1842 mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) argument
1876 vlan_add_to_slave(struct mlx4_dev *dev, int slave, u16 vlan, int port, int vlan_index) argument
1910 vlan_del_from_slave(struct mlx4_dev *dev, int slave, u16 vlan, int port) argument
1932 rem_slave_vlans(struct mlx4_dev *dev, int slave) argument
1951 vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) argument
1989 counter_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2019 xrcdn_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2041 mlx4_ALLOC_RES_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2106 qp_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) argument
2146 mtt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2166 mpt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) argument
2209 cq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2234 srq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2259 mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) argument
2285 vlan_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int port) argument
2314 counter_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2334 xrcdn_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
2353 mlx4_FREE_RES_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2488 check_mtt_range(struct mlx4_dev *dev, int slave, int start, int size, struct res_mtt *mtt) argument
2499 mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2582 mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2614 mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2692 mlx4_RST2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2826 mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
2875 get_containing_mtt(struct mlx4_dev *dev, int slave, int start, int len, struct res_mtt **res) argument
2899 verify_qp_parameters(struct mlx4_dev *dev, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, enum qp_transition transition, u8 slave) argument
2971 mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3009 mlx4_HW2SW_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3047 mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument
3109 mlx4_QUERY_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3136 mlx4_SW2HW_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3174 mlx4_HW2SW_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3199 mlx4_QUERY_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3223 handle_resize(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd, struct res_cq *cq) argument
3271 mlx4_MODIFY_CQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3312 mlx4_SW2HW_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3357 mlx4_HW2SW_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3386 mlx4_QUERY_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3409 mlx4_ARM_SRQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3434 mlx4_GEN_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3458 mlx4_INIT2INIT_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3470 adjust_qp_sched_queue(struct mlx4_dev *dev, int slave, struct mlx4_qp_context *qpc, struct mlx4_cmd_mailbox *inbox) argument
3503 roce_verify_mac(struct mlx4_dev *dev, int slave, struct mlx4_qp_context *qpc, struct mlx4_cmd_mailbox *inbox) argument
3522 mlx4_INIT2RTR_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3585 mlx4_RTR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3607 mlx4_RTS2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3630 mlx4_SQERR2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3644 mlx4_SQD2SQD_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3666 mlx4_SQD2RTS_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3688 mlx4_2RST_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3719 find_gid(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid) argument
3731 add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer, u64 reg_id) argument
3759 rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer, u64 *reg_id) argument
3781 qp_attach(struct mlx4_dev *dev, int slave, struct mlx4_qp *qp, u8 gid[16], int block_loopback, enum mlx4_protocol prot, enum mlx4_steer_type type, u64 *reg_id) argument
3822 mlx4_adjust_port(struct mlx4_dev *dev, int slave, u8 *gid, enum mlx4_protocol prot) argument
3841 mlx4_QP_ATTACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
3903 validate_eth_header_mac(int slave, struct _rule_hw *eth_header, struct list_head *rlist) argument
3928 add_eth_header(struct mlx4_dev *dev, int slave, struct mlx4_cmd_mailbox *inbox, struct list_head *rlist, int header_id) argument
3985 mlx4_UPDATE_QP_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd_info) argument
4042 mlx4_QP_FLOW_STEERING_ATTACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
4124 mlx4_QP_FLOW_STEERING_DETACH_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
4167 mlx4_QUERY_IF_STAT_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
4185 detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) argument
4207 _move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int print) argument
4243 move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type) argument
4263 rem_slave_qps(struct mlx4_dev *dev, int slave) argument
4336 rem_slave_srqs(struct mlx4_dev *dev, int slave) argument
4402 rem_slave_cqs(struct mlx4_dev *dev, int slave) argument
4465 rem_slave_mrs(struct mlx4_dev *dev, int slave) argument
4533 rem_slave_mtts(struct mlx4_dev *dev, int slave) argument
4584 rem_slave_fs_rule(struct mlx4_dev *dev, int slave) argument
4636 rem_slave_eqs(struct mlx4_dev *dev, int slave) argument
4702 rem_slave_counters(struct mlx4_dev *dev, int slave) argument
4733 rem_slave_xrcdns(struct mlx4_dev *dev, int slave) argument
4762 mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave) argument
[all...]
H A Dcmd.c132 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave,
229 /* check if the slave is trying to boot in the middle of
641 int slave, u64 slave_addr,
648 (slave & ~0x7f) | (size & 0xff)) {
650 slave_addr, master_addr, slave, size);
655 in_param = (u64) slave | slave_addr;
659 out_param = (u64) slave | slave_addr;
719 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, argument
763 pidx = priv->virt2phys_pkey[slave][port - 1][vidx];
771 /*get the slave specifi
640 mlx4_ACCESS_MEM(struct mlx4_dev *dev, u64 master_addr, int slave, u64 slave_addr, int size, int is_read) argument
836 mlx4_CMD_EPERM_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
845 mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
1427 mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, struct mlx4_vhcr_cmd *in_vhcr) argument
1591 mlx4_master_immediate_activate_vlan_qos(struct mlx4_priv *priv, int slave, int port) argument
1682 mlx4_master_activate_admin_state(struct mlx4_priv *priv, int slave) argument
1735 mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave) argument
1766 mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, u16 param, u8 toggle) argument
1905 int i, j, slave; local
2296 mlx4_get_vf_indx(struct mlx4_dev *dev, int slave) argument
2307 mlx4_get_active_ports(struct mlx4_dev *dev, int slave) argument
2331 mlx4_slave_convert_port(struct mlx4_dev *dev, int slave, int port) argument
2348 mlx4_phys_to_slave_port(struct mlx4_dev *dev, int slave, int port) argument
2402 mlx4_slaves_closest_port(struct mlx4_dev *dev, int slave, int port) argument
2422 int slave; local
2445 int slave; local
2479 mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave, u16 *vlan, u8 *qos) argument
2504 int slave; local
2526 int slave; local
2561 int slave; local
2605 mlx4_vf_smi_enabled(struct mlx4_dev *dev, int slave, int port) argument
2618 mlx4_vf_get_enable_smi_admin(struct mlx4_dev *dev, int slave, int port) argument
2634 mlx4_vf_set_enable_smi_admin(struct mlx4_dev *dev, int slave, int port, int enabled) argument
[all...]
H A Dmlx4.h136 /*The flag indicates that the slave should delay the RESET cmd*/
205 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
207 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
535 /* num_of_slave's lists, one per slave */
620 int slave; member in struct:mlx4_vf_immed_vlan_work
920 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave,
925 int mlx4_SYNC_TPT_wrapper(struct mlx4_dev *dev, int slave,
930 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave,
935 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave,
940 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave,
[all...]
H A Deq.c145 u8 slave; local
150 slave = eqe->slave_id;
153 if (slave == ALL_SLAVES) {
158 mlx4_warn(dev, "Failed to generate event for slave %d\n",
162 if (mlx4_GEN_EQE(dev, slave, eqe))
163 mlx4_warn(dev, "Failed to generate event for slave %d\n",
164 slave);
171 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) argument
182 mlx4_warn(dev, "Master failed to generate an EQE for slave: %d. No free EQE on slave event
200 mlx4_slave_event(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument
215 mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port) argument
235 mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port) argument
252 mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, u8 port_subtype_change) argument
272 mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port) argument
288 mlx4_set_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, enum slave_port_state state) argument
327 set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, int event, enum slave_port_gen_event *gen_event) argument
457 int slave = 0; local
790 mlx4_MAP_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument
[all...]
/drivers/net/wan/
H A Ddlci.c197 netdev_start_xmit(skb, dlp->slave, txq, false);
211 flp = netdev_priv(dlp->slave);
223 err = (*flp->dlci_conf)(dlp->slave, dev, get);
251 strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave));
271 return dev_set_mtu(dlp->slave, new_mtu);
285 if (!netif_running(dlp->slave))
288 flp = netdev_priv(dlp->slave);
289 err = (*flp->activate)(dlp->slave, dev);
308 flp = netdev_priv(dlp->slave);
309 err = (*flp->deactivate)(dlp->slave, de
316 struct net_device *master, *slave; local
381 struct net_device *master, *slave; local
[all...]
/drivers/net/ethernet/ti/
H A Dcpsw-phy-sel.c39 phy_interface_t phy_mode, int slave);
44 phy_interface_t phy_mode, int slave)
70 mask = GMII_SEL_MODE_MASK << (slave * 2) | BIT(slave + 6);
71 mode <<= slave * 2;
74 if (slave == 0)
87 phy_interface_t phy_mode, int slave)
113 switch (slave) {
122 dev_err(priv->dev, "invalid slave number...\n");
143 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) argument
43 cpsw_gmii_sel_am3352(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) argument
86 cpsw_gmii_sel_dra7xx(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) argument
[all...]
H A Dcpsw.h31 u32 slaves; /* number of slave cpgmac ports */
32 u32 active_slave; /* time stamping, ethtool and SIOCGMIIPHY slave */
43 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave);
/drivers/gpu/drm/nouveau/
H A Dnouveau_encoder.h71 struct drm_encoder_slave *slave = to_encoder_slave(enc); local
73 return container_of(slave, struct nouveau_encoder, base);
/drivers/dma/dw/
H A Dplatform.c32 struct dw_dma_slave slave = { local
40 slave.src_id = dma_spec->args[0];
41 slave.dst_id = dma_spec->args[0];
42 slave.src_master = dma_spec->args[1];
43 slave.dst_master = dma_spec->args[2];
45 if (WARN_ON(slave.src_id >= DW_DMA_MAX_NR_REQUESTS ||
46 slave.dst_id >= DW_DMA_MAX_NR_REQUESTS ||
47 slave.src_master >= dw->nr_masters ||
48 slave.dst_master >= dw->nr_masters))
55 return dma_request_channel(cap, dw_dma_filter, &slave);
62 struct dw_dma_slave slave = { local
[all...]
/drivers/infiniband/hw/mlx4/
H A Dsysfs.c394 int slave; member in struct:mlx4_port
469 if (p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index] >=
474 p->dev->pkeys.virt2phys_pkey[p->slave]
488 if (p->slave == mlx4_master_func_num(p->dev->dev))
498 p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1]
500 mlx4_sync_pkey_table(p->dev->dev, p->slave, p->port_num,
502 err = mlx4_gen_pkey_eqe(p->dev->dev, p->slave, p->port_num);
504 pr_err("mlx4_gen_pkey_eqe failed for slave %d,"
505 " port %d, index %d\n", p->slave, p->port_num, idx);
514 return sprintf(buf, "%d\n", p->slave);
658 add_port(struct mlx4_ib_dev *dev, int port_num, int slave) argument
724 register_one_pkey_tree(struct mlx4_ib_dev *dev, int slave) argument
803 int slave; local
[all...]
H A Dmad.c305 int i, ix, slave, err; local
308 for (slave = 0; slave < dev->dev->caps.sqp_demux; slave++) {
309 if (slave == mlx4_master_func_num(dev->dev))
311 if (!mlx4_is_slave_active(dev->dev, slave))
320 if (dev->pkeys.virt2phys_pkey[slave][port_num - 1]
322 err = mlx4_gen_pkey_eqe(dev->dev, slave, port_num);
323 pr_debug("propagate_pkey_ev: slave %d,"
325 slave, port_nu
383 mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) argument
412 find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, u8 port, u16 pkey, u16 *ix) argument
453 mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, struct ib_wc *wc, struct ib_grh *grh, struct ib_mad *mad) argument
607 int slave; local
1130 mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) argument
1146 is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) argument
1154 mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, u32 qkey, struct ib_ah_attr *attr, u8 *s_mac, struct ib_mad *mad) argument
1253 get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) argument
1260 fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, struct ib_ah_attr *ah_attr) argument
1278 int slave; local
1723 alloc_pv_object(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx **ret_ctx) argument
1743 free_pv_object(struct mlx4_ib_dev *dev, int slave, int port) argument
1751 create_pv_resources(struct ib_device *ibdev, int slave, int port, int create_tun, struct mlx4_ib_demux_pv_ctx *ctx) argument
1870 destroy_pv_resources(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx *ctx, int flush) argument
1897 mlx4_ib_tunnels_update(struct mlx4_ib_dev *dev, int slave, int port, int do_init) argument
[all...]
/drivers/gpu/drm/sti/
H A Dsti_vtg.c74 * @slave: slave vtg
85 struct sti_vtg *slave; member in struct:sti_vtg
108 /* reset slave and then master */
109 if (vtg->slave)
110 vtg_reset(vtg->slave);
120 if (vtg->slave)
121 vtg_set_mode(vtg->slave, VTG_TYPE_SLAVE_BY_EXT0, mode);
190 if (vtg->slave)
191 vtg_enable_irq(vtg->slave);
[all...]
/drivers/clk/bcm/
H A Dclk-bcm281xx.c313 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, bsc
[all...]

Completed in 401 milliseconds

12345