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

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/
H A Detraxi2c.h13 * slave, register and value.
16 #define I2C_WRITEARG(slave, reg, value) (((slave) << 16) | ((reg) << 8) | (value))
17 #define I2C_READARG(slave, reg) (((slave) << 16) | ((reg) << 8))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/bonding/
H A Dbonding.h56 * Checks whether slave is ready for transmit.
58 #define SLAVE_IS_OK(slave) \
59 (((slave)->dev->flags & IFF_UP) && \
60 netif_running((slave)->dev) && \
61 ((slave)->link == BOND_LINK_UP) && \
62 ((slave)->state == BOND_STATE_ACTIVE))
86 * @pos: current slave.
100 * @pos: current slave.
115 * @pos: current slave.
149 struct slave { struct
213 struct slave *slave = NULL; local
225 bond_get_bond_by_slave(struct slave *slave) argument
240 slave_do_arp_validate(struct bonding *bond, struct slave *slave) argument
246 slave_last_rx(struct bonding *bond, struct slave *slave) argument
255 bond_set_slave_inactive_flags(struct slave *slave) argument
266 bond_set_slave_active_flags(struct slave *slave) argument
[all...]
H A Dbond_alb.h29 struct slave;
32 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info)
35 struct slave *tx_slave; /* A pointer to slave used for transmiting
70 struct slave *slave; /* the slave assigned to this client */ member in struct:rlb_client_info
79 * slave for transmit.
81 u32 load; /* Each slave sum
[all...]
H A Dbond_alb.c78 /* RLB_PROMISC_TIMEOUT = 10 sec equals the time that the current slave is
113 static void alb_send_learning_packets(struct slave *slave, u8 mac_addr[]);
153 static inline void tlb_init_slave(struct slave *slave) argument
155 SLAVE_TLB_INFO(slave).load = 0;
156 SLAVE_TLB_INFO(slave).head = TLB_NULL_INDEX;
160 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load) argument
167 /* clear slave fro
228 struct slave *slave, *least_loaded; local
379 struct slave *rx_slave, *slave, *start_at; local
432 rlb_clear_slave(struct bonding *bond, struct slave *slave) argument
551 rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) argument
874 alb_send_learning_packets(struct slave *slave, u8 mac_addr[]) argument
933 alb_set_slave_mac_addr(struct slave *slave, u8 addr[], int hw) argument
1018 alb_change_hw_addr_on_detach(struct bonding *bond, struct slave *slave) argument
1074 alb_handle_addr_collision_on_attach(struct bonding *bond, struct slave *slave) argument
1179 struct slave *slave, *stop_at; local
1379 struct slave *slave; local
1488 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
1626 struct slave *slave, *swap_slave; local
[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
305 * Searches the slave list. Returns 1 if a vlan challenged slave
312 struct slave *slave; local
315 bond_for_each_slave(bond, slave, i) {
316 if (slave->dev->features & NETIF_F_VLAN_CHALLENGED) {
317 dprintk("found VLAN challenged slave - %s\n",
318 slave
429 struct slave *slave; local
452 struct slave *slave; local
480 struct slave *slave; local
580 struct slave *slave; local
613 bond_update_speed_duplex(struct slave *slave) argument
798 struct slave *slave; local
817 struct slave *slave; local
837 struct slave *slave; local
857 struct slave *slave; local
1201 bond_detach_slave(struct bonding *bond, struct slave *slave) argument
1246 struct slave *slave; local
1642 struct slave *slave, *oldcurrent; local
1815 struct slave *slave; local
2000 struct slave *slave; local
2036 struct slave *slave, *oldcurrent; local
2364 bond_arp_send_all(struct bonding *bond, struct slave *slave) argument
2449 struct slave *slave = bond->curr_active_slave; local
2472 bond_validate_arp(struct bonding *bond, struct slave *slave, u32 sip, u32 tip) argument
2494 struct slave *slave; local
2569 struct slave *slave, *oldcurrent; local
2700 struct slave *slave; local
2940 struct slave *slave; local
2963 struct slave *slave = v; local
3074 bond_info_show_slave(struct seq_file *seq, const struct slave *slave) argument
3627 struct slave *slave; local
3846 struct slave *slave, *stop_at; local
3919 struct slave *slave, *stop_at; local
3992 struct slave *slave, *start_at; local
4074 struct slave *slave, *start_at; local
4120 struct slave *slave, *start_at; local
[all...]
H A Dbond_3ad.h173 struct slave;
196 struct slave *slave; // pointer to the bond slave that this aggregator belongs to member in struct:aggregator
236 struct slave *slave; // pointer to the bond slave that this port belongs to member in struct:port
255 #define SLAVE_AD_INFO(slave) ((slave)->ad_info)
277 int bond_3ad_bind_slave(struct slave *slav
[all...]
H A Dbond_3ad.c158 if (port->slave == NULL) {
162 return bond_get_bond_by_slave(port->slave);
169 * Return the port of the first slave in @bond, or %NULL if it can't be found.
184 * Return the port of the slave that is next in line of @port's slave in the
190 struct slave *slave = port->slave; local
192 // If there's no bond for this port, or this is the last slave
193 if ((bond == NULL) || (slave
228 struct slave *slave = aggregator->slave; local
256 struct slave *slave = port->slave; local
339 struct slave *slave = port->slave; local
386 struct slave *slave = port->slave; local
875 struct slave *slave = port->slave; local
917 struct slave *slave = port->slave; local
1841 bond_3ad_bind_slave(struct slave *slave) argument
1910 bond_3ad_unbind_slave(struct slave *slave) argument
2117 bond_3ad_rx_indication(struct lacpdu *lacpdu, struct slave *slave, u16 length) argument
2164 bond_3ad_adapter_speed_changed(struct slave *slave) argument
2192 bond_3ad_adapter_duplex_changed(struct slave *slave) argument
2221 bond_3ad_handle_link_change(struct slave *slave, char link) argument
2316 struct slave *slave, *start_at; local
2398 struct slave *slave = NULL; local
[all...]
H A Dbond_sysfs.c196 int bond_create_slave_symlinks(struct net_device *master, struct net_device *slave) argument
201 /* first, create a link from the slave back to the master */
202 ret = sysfs_create_link(&(slave->dev.kobj), &(master->dev.kobj),
206 /* next, create a link from the master to the slave */
207 sprintf(linkname,"slave_%s",slave->name);
208 ret = sysfs_create_link(&(master->dev.kobj), &(slave->dev.kobj),
214 void bond_destroy_slave_symlinks(struct net_device *master, struct net_device *slave) argument
218 sysfs_remove_link(&(slave->dev.kobj), "master");
219 sprintf(linkname,"slave_%s",slave->name);
230 struct slave *slav local
263 struct slave *slave; local
1068 struct slave *slave; local
1180 struct slave *slave; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dmtdpart.c285 * This function unregisters and destroy all slave MTD objects which are
292 struct mtd_part *slave; local
297 slave = list_entry(node, struct mtd_part, list);
298 if (slave->master == master) {
301 if(slave->registered)
302 del_mtd_device(&slave->mtd);
303 kfree(slave);
313 * and registers slave MTD objects which are bound to the master according to
322 struct mtd_part *slave; local
331 slave
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Deql.c138 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave);
148 slave_t *slave = list_entry(this, slave_t, list); local
150 if ((slave->dev->flags & IFF_UP) == IFF_UP) {
151 slave->bytes_queued -= slave->priority_Bps;
152 if (slave->bytes_queued < 0)
153 slave->bytes_queued = 0;
155 eql_kill_one_slave(&eql->queue, slave);
206 "your slave devices.\n", dev->name);
218 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) argument
304 slave_t *slave = list_entry(this, slave_t, list); local
331 slave_t *slave; local
371 slave_t *slave = list_entry(this, slave_t, list); local
390 __eql_insert_slave(slave_queue_t *queue, slave_t *slave) argument
471 slave_t *slave = __eql_find_slave_dev(&eql->queue, local
490 slave_t *slave; local
524 slave_t *slave; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/
H A Ddlci.c204 ret = dlp->slave->hard_start_xmit(skb, dlp->slave);
240 flp = dlp->slave->priv;
252 err = (*flp->dlci_conf)(dlp->slave, dev, get);
280 strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave));
303 return((*dlp->slave->change_mtu)(dlp->slave, new_mtu));
317 if (!netif_running(dlp->slave))
320 flp = dlp->slave->priv;
321 err = (*flp->activate)(dlp->slave, de
357 struct net_device *master, *slave; local
426 struct net_device *master, *slave; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/drivers/
H A Dslip.h11 int slave; member in struct:slip_data
H A Dslirp.h13 int slave; member in struct:slirp_data
H A Dslip_user.c154 pri->slave = sfd;
167 err = os_get_ifname(pri->slave, pri->name);
204 err = slip_tramp(argv, pri->slave);
209 os_close_file(pri->slave);
210 pri->slave = -1;
233 if(pri->slave < 0) return;
242 if(pri->slave < 0) return;
H A Dslirp_user.c66 pri->slave = fds[1];
84 os_close_file(pri->slave);
86 pri->slave = -1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-pxa/
H A Di2c.h27 * 13. SADIE 0 (Disables the unit from interrupting on slave addresses
28 * matching its slave address)
31 * 11. SSDIE 0 (Disables interrupts from a slave stop detected, in slave mode)
35 * 7. GCD 1 (Disables i2c unit response to general call messages as a slave)
50 * 9. SAD 1 (Clear slave address detected)
62 struct i2c_slave_client *slave; member in struct:i2c_pxa_platform_data
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/os-Linux/
H A Dsigio.c377 int slave; member in struct:openpty_arg
386 if(openpty(&info->master, &info->slave, NULL, NULL, NULL))
390 static int async_pty(int master, int slave) argument
402 if((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0))
411 struct openpty_arg pty = { .master = -1, .slave = -1 };
412 int master, slave, err; local
421 slave = pty.slave;
423 if((master == -1) || (slave == -1)){
433 err = async_pty(master, slave);
454 tty_output(int master, int slave) argument
477 tty_close(int master, int slave) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dsch_teql.c43 and new qdisc with the same name. To join a slave to the equalizer
57 2. This device puts no limitations on physical slave characteristics
62 3. If the slave requires address resolution, only protocols using
64 Other protocols are still allowed to use the slave device directly,
65 which will not break load balancing, though native slave
292 struct net_device *slave = q->dev; local
294 if (slave->qdisc_sleeping != q)
296 if (netif_queue_stopped(slave) || ! netif_running(slave)) {
301 switch (teql_resolve(skb, skb_res, slave)) {
359 struct net_device *slave = q->dev; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/
H A Dpic.c329 struct device_node *slave = NULL; local
348 slave = of_find_node_by_name(NULL, "pci106b,7");
349 if (slave) {
359 slave = of_find_node_by_name(master, "mac-io");
361 /* Check ordering of master & slave */
364 BUG_ON(slave == NULL);
366 master = slave;
367 slave = tmp;
370 /* We found a slave */
371 if (slave) {
501 struct device_node *np, *master = NULL, *slave = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/wanrouter/
H A Dwanmain.c532 struct net_device *slave = NULL; local
540 for (slave=wandev->dev;
541 *((struct net_device **)slave->priv);
542 slave = *((struct net_device **)slave->priv));
544 *((struct net_device **)slave->priv) = dev;
661 struct net_device **slave = dev->priv; local
663 dev = *slave;
679 struct net_device **slave = dev->priv; local
681 *prev_slave = *slave;
683 struct net_device **slave = dev->priv; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dif_eql.h41 typedef struct slave { struct
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ax25/
H A Dax25_ds_subr.c147 * mode. We thus flag the 'real' slave connections with
148 * ax25->dama_slave=1 and look on every disconnect if still slave
173 if (ax25_dev->dama.slave == 0)
176 ax25_dev->dama.slave = 1;
185 if (ax25_dev->dama.slave && !ax25_check_dama_slave(ax25_dev)) {
187 ax25_dev->dama.slave = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/
H A Dchgpasswd.c63 static int findpty(char **slave) argument
76 *slave = (char *)ptsname(master);
77 if (*slave == NULL)
80 ("findpty: Unable to create master/slave pty pair.\n"));
88 ("findpty: Allocated slave pty %s\n", *slave));
112 *slave = line;
125 int slave; local
150 /* Open slave pty and acquire as new controlling terminal. */
151 if ((slave
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-acpi.c52 struct ide_acpi_drive_link slave; member in struct:ide_acpi_hwif_link
255 drive->acpidata = &hwif->acpidata->slave;
256 hwif->acpidata->slave.drive = drive;
576 struct ide_acpi_drive_link *slave = &hwif->acpidata->slave; local
601 in_params[2].buffer.pointer = (u8 *)&slave->idbuff;
630 struct ide_acpi_drive_link *slave; local
653 hwif->acpidata->slave.drive = &hwif->drives[1];
654 hwif->drives[1].acpidata = &hwif->acpidata->slave;
655 slave
[all...]

Completed in 132 milliseconds

123