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

123

/drivers/net/bonding/
H A Dbonding.h42 * Checks whether slave is ready for transmit.
44 #define SLAVE_IS_OK(slave) \
45 (((slave)->dev->flags & IFF_UP) && \
46 netif_running((slave)->dev) && \
47 ((slave)->link == BOND_LINK_UP) && \
48 bond_is_active_slave(slave))
75 * @pos: current slave.
89 * @pos: current slave.
104 * @pos: current slave.
173 struct slave { struct
269 struct slave *slave = NULL; local
281 bond_get_bond_by_slave(struct slave *slave) argument
296 bond_set_active_slave(struct slave *slave) argument
301 bond_set_backup_slave(struct slave *slave) argument
306 bond_slave_state(struct slave *slave) argument
311 bond_is_active_slave(struct slave *slave) argument
330 slave_do_arp_validate(struct bonding *bond, struct slave *slave) argument
336 slave_last_rx(struct bonding *bond, struct slave *slave) argument
346 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) argument
355 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) argument
361 bond_set_slave_inactive_flags(struct slave *slave) argument
370 bond_set_slave_active_flags(struct slave *slave) argument
376 bond_is_slave_inactive(struct slave *slave) argument
[all...]
H A Dbond_alb.h29 struct slave;
32 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info)
66 /* RLB_PROMISC_TIMEOUT = 10 sec equals the time that the current slave is
73 struct slave *tx_slave; /* A pointer to slave used for transmiting
108 struct slave *slave; /* the slave assigned to this client */ member in struct:rlb_client_info
117 * slave fo
[all...]
H A Dbond_alb.c86 static void alb_send_learning_packets(struct slave *slave, u8 mac_addr[]);
136 static inline void tlb_init_slave(struct slave *slave) argument
138 SLAVE_TLB_INFO(slave).load = 0;
139 SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX;
143 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, argument
149 /* clear slave from tx_hashtbl */
154 index = SLAVE_TLB_INFO(slave)
166 tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load) argument
214 compute_gap(struct slave *slave) argument
223 struct slave *slave, *least_loaded; local
347 rlb_arp_recv(struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
380 struct slave *rx_slave, *slave, *start_at; local
435 rlb_clear_slave(struct bonding *bond, struct slave *slave) argument
552 rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) argument
858 alb_send_learning_packets(struct slave *slave, u8 mac_addr[]) argument
912 alb_set_slave_mac_addr(struct slave *slave, u8 addr[]) argument
1011 alb_change_hw_addr_on_detach(struct bonding *bond, struct slave *slave) argument
1066 alb_handle_addr_collision_on_attach(struct bonding *bond, struct slave *slave) argument
1163 struct slave *slave, *stop_at; local
1375 struct slave *slave; local
1484 bond_alb_init_slave(struct bonding *bond, struct slave *slave) argument
1524 bond_alb_deinit_slave(struct bonding *bond, struct slave *slave) argument
1539 bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link) argument
1662 struct slave *slave, *swap_slave; variable in typeref:struct:slave
[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
140 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
145 "2 for only on active slave "
392 * @slave_dev: slave that is supposed to xmit this skbuff
411 * We don't protect the slave list iteration with a lock because:
434 struct slave *slave, *stop_at; local
437 bond_for_each_slave(bond, slave, i) {
438 res = vlan_vid_add(slave
469 struct slave *slave; local
522 struct slave *slave; local
555 bond_update_speed_duplex(struct slave *slave) argument
677 struct slave *slave; local
701 struct slave *slave; local
723 struct slave *slave; local
742 struct slave *slave; local
1007 struct slave *slave = bond->curr_active_slave; local
1193 bond_detach_slave(struct bonding *bond, struct slave *slave) argument
1215 slave_enable_netpoll(struct slave *slave) argument
1236 slave_disable_netpoll(struct slave *slave) argument
1263 struct slave *slave; local
1282 struct slave *slave; local
1303 slave_enable_netpoll(struct slave *slave) argument
1307 slave_disable_netpoll(struct slave *slave) argument
1330 struct slave *slave; local
1364 struct slave *slave; local
1411 bond_should_deliver_exact_match(struct sk_buff *skb, struct slave *slave, struct bonding *bond) argument
1428 struct slave *slave; local
1903 struct slave *slave, *oldcurrent; local
2099 struct slave *slave; local
2283 struct slave *slave; local
2309 struct slave *slave; local
2409 struct slave *slave; local
2606 bond_arp_send_all(struct bonding *bond, struct slave *slave) argument
2681 bond_validate_arp(struct bonding *bond, struct slave *slave, __be32 sip, __be32 tip) argument
2698 bond_arp_rcv(struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
2764 struct slave *slave, *oldcurrent; local
2885 struct slave *slave; local
2968 struct slave *slave; local
3041 struct slave *slave; local
3194 struct slave *slave = NULL; local
3412 struct slave *slave; local
3524 struct slave *slave; local
3740 struct slave *slave = bond->first_slave; local
3757 struct slave *slave, *stop_at; local
3832 struct slave *slave, *stop_at; local
3917 struct slave *slave, *start_at; local
4004 struct slave *slave, *start_at; local
4042 struct slave *slave, *start_at; local
4113 struct slave *slave = NULL; 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)
268 int bond_3ad_bind_slave(struct slave *slav
[all...]
H A Dbond_3ad.c132 if (port->slave == NULL)
135 return bond_get_bond_by_slave(port->slave);
142 * Return the port of the first slave in @bond, or %NULL if it can't be found.
156 * Return the port of the slave that is next in line of @port's slave in the
162 struct slave *slave = port->slave; local
164 // If there's no bond for this port, or this is the last slave
165 if ((bond == NULL) || (slave
198 struct slave *slave = aggregator->slave; local
236 struct slave *slave = port->slave; local
316 struct slave *slave = port->slave; local
364 struct slave *slave = port->slave; local
823 struct slave *slave = port->slave; local
863 struct slave *slave = port->slave; local
1893 bond_3ad_bind_slave(struct slave *slave) argument
1961 bond_3ad_unbind_slave(struct slave *slave) argument
2176 bond_3ad_rx_indication(struct lacpdu *lacpdu, struct slave *slave, u16 length) argument
2230 bond_3ad_adapter_speed_changed(struct slave *slave) argument
2258 bond_3ad_adapter_duplex_changed(struct slave *slave) argument
2287 bond_3ad_handle_link_change(struct slave *slave, char link) argument
2393 struct slave *slave, *start_at; local
2459 bond_3ad_lacpdu_recv(struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument
2484 struct slave *slave; local
[all...]
H A Dbond_procfs.c14 struct slave *slave; local
24 bond_for_each_slave(bond, slave, i) {
26 return slave;
35 struct slave *slave = v; local
41 slave = slave->next;
43 return (slave == bond->first_slave) ? NULL : slave;
153 bond_info_show_slave(struct seq_file *seq, const struct slave *slave) argument
[all...]
H A Dbond_sysfs.c172 struct net_device *slave)
177 /* first, create a link from the slave back to the master */
178 ret = sysfs_create_link(&(slave->dev.kobj), &(master->dev.kobj),
182 /* next, create a link from the master to the slave */
183 sprintf(linkname, "slave_%s", slave->name);
184 ret = sysfs_create_link(&(master->dev.kobj), &(slave->dev.kobj),
191 struct net_device *slave)
195 sysfs_remove_link(&(slave->dev.kobj), "master");
196 sprintf(linkname, "slave_%s", slave->name);
207 struct slave *slav local
171 bond_create_slave_symlinks(struct net_device *master, struct net_device *slave) argument
190 bond_destroy_slave_symlinks(struct net_device *master, struct net_device *slave) argument
1047 struct slave *slave; local
1217 struct slave *slave; local
1434 struct slave *slave; local
1468 struct slave *slave, *update_slave; local
1560 struct slave *slave; local
[all...]
/drivers/mtd/
H A Dmtdpart.c351 * This function unregisters and destroy all slave MTD objects which are
357 struct mtd_part *slave, *next; local
361 list_for_each_entry_safe(slave, next, &mtd_partitions, list)
362 if (slave->master == master) {
363 ret = del_mtd_device(&slave->mtd);
368 list_del(&slave->list);
369 free_partition(slave);
380 struct mtd_part *slave; local
384 slave = kzalloc(sizeof(*slave), GFP_KERNE
625 struct mtd_part *slave, *next; local
659 struct mtd_part *slave; local
[all...]
/drivers/media/video/
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/
H A Deql.c139 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave);
149 slave_t *slave = list_entry(this, slave_t, list); local
151 if ((slave->dev->flags & IFF_UP) == IFF_UP) {
152 slave->bytes_queued -= slave->priority_Bps;
153 if (slave->bytes_queued < 0)
154 slave->bytes_queued = 0;
156 eql_kill_one_slave(&eql->queue, slave);
210 "remember to turn off Van-Jacobson compression on your slave devices\n");
222 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) argument
308 slave_t *slave = list_entry(this, slave_t, list); local
335 slave_t *slave; local
369 slave_t *slave = list_entry(this, slave_t, list); local
388 __eql_insert_slave(slave_queue_t *queue, slave_t *slave) argument
469 slave_t *slave = __eql_find_slave_dev(&eql->queue, local
488 slave_t *slave; local
522 slave_t *slave; local
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c271 struct mlx4_qp_context *qp_ctx, u8 slave)
276 qp_ctx->pri_path.mgid_index = 0x80 | slave;
278 mlx4_dbg(dev, "slave %d, new gid index: 0x%x ",
279 slave, qp_ctx->pri_path.mgid_index);
296 static int get_res(struct mlx4_dev *dev, int slave, int res_id, argument
315 if (r->owner != slave) {
335 int res_id, int *slave)
348 *slave = r->owner;
356 static void put_res(struct mlx4_dev *dev, int slave, int res_id, argument
474 static struct res_common *alloc_tr(int id, enum mlx4_resource type, int slave, argument
270 update_ud_gid(struct mlx4_dev *dev, struct mlx4_qp_context *qp_ctx, u8 slave) argument
333 mlx4_get_slave_from_resource_id(struct mlx4_dev *dev, enum mlx4_resource type, int res_id, int *slave) argument
514 add_res_range(struct mlx4_dev *dev, int slave, int base, int count, enum mlx4_resource type, int extra) argument
671 rem_res_range(struct mlx4_dev *dev, int slave, int base, int count, enum mlx4_resource type, int extra) argument
710 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
775 mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_mpt_states state, struct res_mpt **mpt) argument
828 eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_eq_states state, struct res_eq **eq) argument
876 cq_res_start_move_to(struct mlx4_dev *dev, int slave, int cqn, enum res_cq_states state, struct res_cq **cq) argument
930 srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_cq_states state, struct res_srq **srq) argument
980 res_abort_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) argument
994 res_end_move(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int id) argument
1008 valid_reserved(struct mlx4_dev *dev, int slave, int qpn) argument
1013 qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1068 mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1092 mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1134 cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1162 srq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1190 mac_add_to_slave(struct mlx4_dev *dev, int slave, u64 mac, int port) argument
1206 mac_del_from_slave(struct mlx4_dev *dev, int slave, u64 mac, int port) argument
1224 rem_slave_macs(struct mlx4_dev *dev, int slave) argument
1239 mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1266 vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1272 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
1325 qp_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) argument
1364 mtt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1382 mpt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param) argument
1424 cq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1448 srq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1472 mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1493 vlan_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param) argument
1499 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
1602 check_mtt_range(struct mlx4_dev *dev, int slave, int start, int size, struct res_mtt *mtt) argument
1613 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
1667 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
1699 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
1742 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
1866 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
1915 get_containing_mtt(struct mlx4_dev *dev, int slave, int start, int len, struct res_mtt **res) argument
1939 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
1977 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
2015 mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument
2077 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
2104 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
2142 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
2167 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
2191 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
2239 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
2281 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
2326 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
2355 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
2378 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
2403 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
2427 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
2440 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
2471 find_gid(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid) argument
2483 add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer) argument
2510 rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid, enum mlx4_protocol prot, enum mlx4_steer_type steer) argument
2531 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
2586 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
2604 detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) argument
2620 _move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int print) argument
2656 move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type) argument
2676 rem_slave_qps(struct mlx4_dev *dev, int slave) argument
2746 rem_slave_srqs(struct mlx4_dev *dev, int slave) argument
2812 rem_slave_cqs(struct mlx4_dev *dev, int slave) argument
2875 rem_slave_mrs(struct mlx4_dev *dev, int slave) argument
2943 rem_slave_mtts(struct mlx4_dev *dev, int slave) argument
2992 rem_slave_eqs(struct mlx4_dev *dev, int slave) argument
3060 mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave) argument
[all...]
H A Dmlx4.h104 /*The flag indicates that the slave should delay the RESET cmd*/
167 int (*verify)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
169 int (*wrapper)(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr,
484 /* num_of_slave's lists, one per slave */
806 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave,
811 int mlx4_SYNC_TPT_wrapper(struct mlx4_dev *dev, int slave,
816 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave,
821 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave,
826 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave,
831 int mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave,
[all...]
H A Dcmd.c122 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave,
220 /* check if the slave is trying to boot in the middle of
224 mlx4_warn(dev, "Got slave FLRed from Communication"
549 int slave, u64 slave_addr,
556 (slave & ~0x7f) | (size & 0xff)) {
559 slave_addr, master_addr, slave, size);
564 in_param = (u64) slave | slave_addr;
568 out_param = (u64) slave | slave_addr;
576 int mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, argument
590 in_param |= slave;
548 mlx4_ACCESS_MEM(struct mlx4_dev *dev, u64 master_addr, int slave, u64 slave_addr, int size, int is_read) argument
1076 mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, struct mlx4_vhcr_cmd *in_vhcr) argument
1242 mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, u16 param, u8 toggle) argument
1376 int i, j, slave; local
[all...]
H A Deq.c125 u8 slave; local
130 slave = eqe->slave_id;
133 if (slave == ALL_SLAVES) {
140 "for slave %d\n", i);
143 if (mlx4_GEN_EQE(dev, slave, eqe))
145 "for slave %d\n", slave);
152 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) argument
161 mlx4_warn(dev, "Master failed to generate an EQE for slave: %d. "
162 "No free EQE on slave event
177 mlx4_slave_event(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument
238 int slave = 0; local
508 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...]
H A Dport.c636 static int mlx4_common_set_port(struct mlx4_dev *dev, int slave, u32 in_mod, argument
642 struct mlx4_slave_state *slave_st = &master->slave_state[slave];
664 if (slave != dev->caps.function &&
666 mlx4_warn(dev, "denying SET_PORT for slave:%d\n",
667 slave);
718 * slave function capabilities
732 priv->mfunc.master.slave_state[slave].ib_cap_mask[port];
733 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask;
741 if (slave != dev->caps.function)
754 priv->mfunc.master.slave_state[slave]
759 mlx4_SET_PORT_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
861 mlx4_SET_MCAST_FLTR_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
881 mlx4_SET_VLAN_FLTR_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
892 mlx4_common_dump_eth_stats(struct mlx4_dev *dev, int slave, u32 in_mod, struct mlx4_cmd_mailbox *outbox) argument
900 mlx4_DUMP_ETH_STATS_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.c202 dlp->slave->netdev_ops->ndo_start_xmit(skb, dlp->slave);
215 flp = netdev_priv(dlp->slave);
227 err = (*flp->dlci_conf)(dlp->slave, dev, get);
255 strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave));
276 return dev_set_mtu(dlp->slave, new_mtu);
290 if (!netif_running(dlp->slave))
293 flp = netdev_priv(dlp->slave);
294 err = (*flp->activate)(dlp->slave, dev);
313 flp = netdev_priv(dlp->slave);
321 struct net_device *master, *slave; local
386 struct net_device *master, *slave; local
[all...]
H A Dsdla.c513 static int sdla_activate(struct net_device *slave, struct net_device *master) argument
518 flp = netdev_priv(slave);
529 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE))
530 sdla_cmd(slave, SDLA_ACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL);
535 static int sdla_deactivate(struct net_device *slave, struct net_device *master) argument
540 flp = netdev_priv(slave);
551 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE))
552 sdla_cmd(slave, SDLA_DEACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL);
557 static int sdla_assoc(struct net_device *slave, struct net_device *master) argument
565 flp = netdev_priv(slave);
593 sdla_deassoc(struct net_device *slave, struct net_device *master) argument
621 sdla_dlci_conf(struct net_device *slave, struct net_device *master, int get) argument
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_encoder.h65 struct drm_encoder_slave *slave = to_encoder_slave(enc); local
67 return container_of(slave, struct nouveau_encoder, base);
/drivers/parport/
H A Dshare.c378 struct parport *slave = port->slaves[i-1]; local
379 if (slave)
380 list_add_tail(&slave->list, &portlist);
387 struct parport *slave = port->slaves[i-1]; local
388 if (slave)
389 attach_driver_chain(slave);
426 struct parport *slave = port->slaves[i-1]; local
427 if (!slave)
429 detach_driver_chain(slave);
430 parport_daisy_fini(slave);
438 struct parport *slave = port->slaves[i-1]; local
449 struct parport *slave = port->slaves[i-1]; local
[all...]
/drivers/staging/vme/devices/
H A Dvme_user.c56 * 4 = /dev/bus/vme/s0 First slave image
57 * 5 = /dev/bus/vme/s1 Second slave image
58 * 6 = /dev/bus/vme/s2 Third slave image
59 * 7 = /dev/bus/vme/s3 Fourth slave image
67 * even support the tsi148 chipset (which has 8 master and 8 slave windows).
76 * The vmelinux.org driver never supported slave images, the devices reserved
89 #define PCI_BUF_SIZE 0x20000 /* Size of one slave image buffer */
464 struct vme_slave slave; local
538 memset(&slave, 0, sizeof(struct vme_slave));
544 &slave
[all...]
/drivers/ata/
H A Dpata_pcmcia.c53 * as we need to spot hardware with incorrect or missing master/slave
60 struct ata_device *slave = &link->device[1]; local
62 if (!ata_dev_enabled(master) || !ata_dev_enabled(slave))
65 if (memcmp(master->id + ATA_ID_FW_REV, slave->id + ATA_ID_FW_REV,
69 if (memcmp(master->id + ATA_ID_SERNO, slave->id + ATA_ID_SERNO,
71 ata_dev_warn(slave, "is a ghost device, ignoring\n");
72 ata_dev_disable(slave);
/drivers/i2c/busses/
H A Di2c-pxa.c19 * Dec 2004: Added support for PXA27x and slave device probing [Liam Girdwood]
20 * Feb 2005: Rework slave mode handling [RMK]
113 #define ICR_SSDIE (1 << 11) /* slave STOP detected int enable */
115 #define ICR_SADIE (1 << 13) /* slave address detected int enable */
123 #define ISR_SSD (1 << 4) /* slave stop detected */
128 #define ISR_SAD (1 << 9) /* slave address detected */
143 struct i2c_slave_client *slave; member in struct:pxa_i2c
291 dev_dbg(&i2c->adap.dev, "%s: called in slave mode\n", __func__);
469 dev_info(&i2c->adap.dev, "Enabling slave mode\n");
493 if (i2c->slave !
[all...]
/drivers/dma/
H A Damba-pl08x.c117 * @slave: slave engine for this instance
132 struct dma_device slave; member in struct:pl08x_driver_data
499 * byte data), slave is still not aligned, then its width will be reduced to
691 * - if slave is not then we must set its width down
874 if (plchan->slave && pl08x->pd->get_signal) {
938 if (!plchan->slave && !plchan->phychan) {
1103 if (!plchan->slave)
1167 * Slave transactions callback to the slave device to allow
1168 * synchronization of slave DM
1678 pl08x_dma_init_virtual_channels(struct pl08x_driver_data *pl08x, struct dma_device *dmadev, unsigned int channels, bool slave) argument
[all...]
/drivers/isdn/i4l/
H A Disdn_net.h60 #define ISDN_SLAVE_PRIV(lp) ((isdn_net_local *) netdev_priv(lp->slave))
62 (((isdn_net_local *) netdev_priv(master))->slave)

Completed in 450 milliseconds

123