/drivers/net/bonding/ |
H A D | bonding.h | 43 * Checks whether slave is ready for transmit. 45 #define SLAVE_IS_OK(slave) \ 46 (((slave)->dev->flags & IFF_UP) && \ 47 netif_running((slave)->dev) && \ 48 ((slave)->link == BOND_LINK_UP) && \ 49 bond_is_active_slave(slave)) 76 * @pos: current slave. 90 * @pos: current slave. 105 * @pos: current slave. 173 struct slave { struct 268 struct slave *slave = NULL; local 280 bond_get_bond_by_slave(struct slave *slave) argument 295 bond_set_active_slave(struct slave *slave) argument 300 bond_set_backup_slave(struct slave *slave) argument 305 bond_slave_state(struct slave *slave) argument 310 bond_is_active_slave(struct slave *slave) argument 329 slave_do_arp_validate(struct bonding *bond, struct slave *slave) argument 335 slave_last_rx(struct bonding *bond, struct slave *slave) argument 345 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) argument 354 bond_netpoll_send_skb(const struct slave *slave, struct sk_buff *skb) argument 360 bond_set_slave_inactive_flags(struct slave *slave) argument 369 bond_set_slave_active_flags(struct slave *slave) argument 375 bond_is_slave_inactive(struct slave *slave) argument [all...] |
H A D | bond_alb.h | 29 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 D | bond_alb.c | 86 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 212 compute_gap(struct slave *slave) argument 221 struct slave *slave, *least_loaded; local 345 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 856 alb_send_learning_packets(struct slave *slave, u8 mac_addr[]) argument 910 alb_set_slave_mac_addr(struct slave *slave, u8 addr[]) argument 1009 alb_change_hw_addr_on_detach(struct bonding *bond, struct slave *slave) argument 1064 alb_handle_addr_collision_on_attach(struct bonding *bond, struct slave *slave) argument 1161 struct slave *slave, *stop_at; local 1373 struct slave *slave; local 1482 bond_alb_init_slave(struct bonding *bond, struct slave *slave) argument 1522 bond_alb_deinit_slave(struct bonding *bond, struct slave *slave) argument 1537 bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link) argument 1660 struct slave *slave, *swap_slave; variable in typeref:struct:slave [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 140 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave " 145 "2 for only on active slave " 390 * @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 1025 struct slave *slave = bond->curr_active_slave; local 1211 bond_detach_slave(struct bonding *bond, struct slave *slave) argument 1233 slave_enable_netpoll(struct slave *slave) argument 1254 slave_disable_netpoll(struct slave *slave) argument 1281 struct slave *slave; local 1300 struct slave *slave; local 1321 slave_enable_netpoll(struct slave *slave) argument 1325 slave_disable_netpoll(struct slave *slave) argument 1348 struct slave *slave; local 1382 struct slave *slave; local 1429 bond_should_deliver_exact_match(struct sk_buff *skb, struct slave *slave, struct bonding *bond) argument 1446 struct slave *slave; local 1926 struct slave *slave, *oldcurrent; local 2125 struct slave *slave; local 2309 struct slave *slave; local 2335 struct slave *slave; local 2435 struct slave *slave; local 2636 bond_arp_send_all(struct bonding *bond, struct slave *slave) argument 2715 bond_validate_arp(struct bonding *bond, struct slave *slave, __be32 sip, __be32 tip) argument 2732 bond_arp_rcv(struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument 2799 struct slave *slave, *oldcurrent; local 2920 struct slave *slave; local 3003 struct slave *slave; local 3080 struct slave *slave; local 3233 struct slave *slave = NULL; local 3393 struct slave *slave; local 3505 struct slave *slave; local 3721 struct slave *slave = bond->first_slave; local 3773 struct slave *slave, *stop_at; local 3848 struct slave *slave, *stop_at; local 3933 struct slave *slave, *start_at; local 4020 struct slave *slave, *start_at; local 4058 struct slave *slave, *start_at; local 4129 struct slave *slave = NULL; local [all...] |
H A D | bond_3ad.h | 167 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 D | bond_3ad.c | 132 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 2234 bond_3ad_adapter_speed_changed(struct slave *slave) argument 2262 bond_3ad_adapter_duplex_changed(struct slave *slave) argument 2291 bond_3ad_handle_link_change(struct slave *slave, char link) argument 2397 struct slave *slave, *start_at; local 2463 bond_3ad_lacpdu_recv(struct sk_buff *skb, struct bonding *bond, struct slave *slave) argument 2490 struct slave *slave; local [all...] |
H A D | bond_procfs.c | 14 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 D | bond_sysfs.c | 172 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 D | mtdpart.c | 317 * This function unregisters and destroy all slave MTD objects which are 323 struct mtd_part *slave, *next; local 327 list_for_each_entry_safe(slave, next, &mtd_partitions, list) 328 if (slave->master == master) { 329 ret = del_mtd_device(&slave->mtd); 334 list_del(&slave->list); 335 free_partition(slave); 346 struct mtd_part *slave; local 350 slave = kzalloc(sizeof(*slave), GFP_KERNE 593 struct mtd_part *slave, *next; local 627 struct mtd_part *slave; local [all...] |
/drivers/media/video/ |
H A D | v4l2-int-device.c | 49 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 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); 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 470 slave_t *slave = __eql_find_slave_dev(&eql->queue, local 489 slave_t *slave; local 523 slave_t *slave; local [all...] |
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 271 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 2280 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 2325 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 2354 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 2377 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 2402 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 2426 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 2439 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 2470 find_gid(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid) argument 2482 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 2509 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 2530 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 2585 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 2603 detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) argument 2619 _move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type, int print) argument 2655 move_all_busy(struct mlx4_dev *dev, int slave, enum mlx4_resource type) argument 2675 rem_slave_qps(struct mlx4_dev *dev, int slave) argument 2745 rem_slave_srqs(struct mlx4_dev *dev, int slave) argument 2811 rem_slave_cqs(struct mlx4_dev *dev, int slave) argument 2874 rem_slave_mrs(struct mlx4_dev *dev, int slave) argument 2942 rem_slave_mtts(struct mlx4_dev *dev, int slave) argument 2991 rem_slave_eqs(struct mlx4_dev *dev, int slave) argument 3059 mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave) argument [all...] |
H A D | mlx4.h | 104 /*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, 488 /* num_of_slave's lists, one per slave */ 811 int mlx4_WRITE_MTT_wrapper(struct mlx4_dev *dev, int slave, 816 int mlx4_SYNC_TPT_wrapper(struct mlx4_dev *dev, int slave, 821 int mlx4_SW2HW_MPT_wrapper(struct mlx4_dev *dev, int slave, 826 int mlx4_HW2SW_MPT_wrapper(struct mlx4_dev *dev, int slave, 831 int mlx4_QUERY_MPT_wrapper(struct mlx4_dev *dev, int slave, 836 int mlx4_SW2HW_EQ_wrapper(struct mlx4_dev *dev, int slave, [all...] |
H A D | cmd.c | 122 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" 558 int slave, u64 slave_addr, 565 (slave & ~0x7f) | (size & 0xff)) { 568 slave_addr, master_addr, slave, size); 573 in_param = (u64) slave | slave_addr; 577 out_param = (u64) slave | slave_addr; 585 int mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, argument 599 in_param |= slave; 557 mlx4_ACCESS_MEM(struct mlx4_dev *dev, u64 master_addr, int slave, u64 slave_addr, int size, int is_read) argument 1085 mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, struct mlx4_vhcr_cmd *in_vhcr) argument 1251 mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, u16 param, u8 toggle) argument 1385 int i, j, slave; local [all...] |
H A D | eq.c | 126 u8 slave; local 131 slave = eqe->slave_id; 134 if (slave == ALL_SLAVES) { 141 "for slave %d\n", i); 144 if (mlx4_GEN_EQE(dev, slave, eqe)) 146 "for slave %d\n", slave); 153 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) argument 162 mlx4_warn(dev, "Master failed to generate an EQE for slave: %d. " 163 "No free EQE on slave event 178 mlx4_slave_event(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument 239 int slave = 0; local 538 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 D | port.c | 593 static int mlx4_common_set_port(struct mlx4_dev *dev, int slave, u32 in_mod, argument 599 struct mlx4_slave_state *slave_st = &master->slave_state[slave]; 621 if (slave != dev->caps.function && 623 mlx4_warn(dev, "denying SET_PORT for slave:%d\n", 624 slave); 675 * slave function capabilities 689 priv->mfunc.master.slave_state[slave].ib_cap_mask[port]; 690 priv->mfunc.master.slave_state[slave].ib_cap_mask[port] = new_cap_mask; 698 if (slave != dev->caps.function) 711 priv->mfunc.master.slave_state[slave] 716 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 837 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 857 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 868 mlx4_common_dump_eth_stats(struct mlx4_dev *dev, int slave, u32 in_mod, struct mlx4_cmd_mailbox *outbox) argument 876 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 D | dlci.c | 201 dlp->slave->netdev_ops->ndo_start_xmit(skb, dlp->slave); 214 flp = netdev_priv(dlp->slave); 226 err = (*flp->dlci_conf)(dlp->slave, dev, get); 254 strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave)); 275 return dev_set_mtu(dlp->slave, new_mtu); 289 if (!netif_running(dlp->slave)) 292 flp = netdev_priv(dlp->slave); 293 err = (*flp->activate)(dlp->slave, dev); 312 flp = netdev_priv(dlp->slave); 320 struct net_device *master, *slave; local 385 struct net_device *master, *slave; local [all...] |
H A D | sdla.c | 512 static int sdla_activate(struct net_device *slave, struct net_device *master) argument 517 flp = netdev_priv(slave); 528 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE)) 529 sdla_cmd(slave, SDLA_ACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL); 534 static int sdla_deactivate(struct net_device *slave, struct net_device *master) argument 539 flp = netdev_priv(slave); 550 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE)) 551 sdla_cmd(slave, SDLA_DEACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL); 556 static int sdla_assoc(struct net_device *slave, struct net_device *master) argument 564 flp = netdev_priv(slave); 592 sdla_deassoc(struct net_device *slave, struct net_device *master) argument 620 sdla_dlci_conf(struct net_device *slave, struct net_device *master, int get) argument [all...] |
/drivers/net/ethernet/ti/ |
H A D | cpsw.c | 355 static void cpsw_set_slave_mac(struct cpsw_slave *slave, argument 358 __raw_writel(mac_hi(priv->mac_addr), &slave->regs->sa_hi); 359 __raw_writel(mac_lo(priv->mac_addr), &slave->regs->sa_lo); 362 static void _cpsw_adjust_link(struct cpsw_slave *slave, argument 365 struct phy_device *phy = slave->phy; 372 slave_port = cpsw_get_slave_port(priv, slave->slave_num); 393 if (mac_control != slave->mac_control) { 395 __raw_writel(mac_control, &slave->sliver->mac_control); 398 slave->mac_control = mac_control; 429 static void cpsw_slave_open(struct cpsw_slave *slave, struc argument 550 cpsw_slave_stop(struct cpsw_slave *slave, struct cpsw_priv *priv) argument 704 cpsw_slave_init(struct cpsw_slave *slave, struct cpsw_priv *priv) argument [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_encoder.h | 73 struct drm_encoder_slave *slave = to_encoder_slave(enc); local 75 return container_of(slave, struct nouveau_encoder, base);
|
/drivers/parport/ |
H A D | share.c | 378 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/dma/ |
H A D | sa11x0-dma.c | 125 struct dma_device slave; member in struct:sa11x0_dma_dev 141 return container_of(dmadev, struct sa11x0_dma_dev, slave); 163 dev_vdbg(p->dev->slave.dev, "pchan %u: txd %p[%x]: starting: DDAR:%x\n", 220 dev_dbg(p->dev->slave.dev, "pchan %u: load: DCSR:%02x DBS%c:%08x DBT%c:%08x\n", 234 dev_vdbg(d->slave.dev, "pchan %u: txd %p[%x]: completed\n", 267 dev_dbg(d->slave.dev, "pchan %u: irq: DCSR:%02x\n", p->num, dcsr); 270 dev_err(d->slave.dev, "pchan %u: error. DCSR:%02x DDAR:%08x DBSA:%08x DBTA:%08x DBSB:%08x DBTB:%08x\n", 339 dev_dbg(d->slave.dev, "tasklet enter\n"); 349 dev_dbg(d->slave.dev, "vchan %p: txd %p[%x] completed\n", 359 dev_dbg(d->slave [all...] |
H A D | amba-pl08x.c | 119 * @slave: slave engine for this instance 134 struct dma_device slave; member in struct:pl08x_driver_data 501 * byte data), slave is still not aligned, then its width will be reduced to 693 * - if slave is not then we must set its width down 876 if (plchan->slave && pl08x->pd->get_signal) { 937 if (!plchan->slave && !plchan->phychan) { 1088 if (!plchan->slave) 1154 * Slave transactions callback to the slave device to allow 1155 * synchronization of slave DM 1666 pl08x_dma_init_virtual_channels(struct pl08x_driver_data *pl08x, struct dma_device *dmadev, unsigned int channels, bool slave) argument [all...] |
/drivers/staging/vme/devices/ |
H A D | vme_user.c | 56 * 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 D | pata_pcmcia.c | 53 * 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);
|