Home
last modified time | relevance | path

Searched refs:master (Results 1 – 25 of 116) sorted by relevance

12345

/linux-2.4.37.9/drivers/mtd/
Dmtdpart.c30 struct mtd_info *master; member
57 return part->master->read (part->master, from + part->offset, in part_read()
69 return part->master->point (part->master, from + part->offset, in part_point()
76 part->master->unpoint (part->master, addr, from + part->offset, len); in part_unpoint()
88 return part->master->read_ecc (part->master, from + part->offset, in part_read_ecc()
100 return part->master->read_oob (part->master, from + part->offset, in part_read_oob()
108 return part->master->read_user_prot_reg (part->master, from, in part_read_user_prot_reg()
116 return part->master->read_user_prot_reg (part->master, from, in part_read_fact_prot_reg()
130 return part->master->write (part->master, to + part->offset, in part_write()
145 return part->master->write_ecc (part->master, to + part->offset, in part_write_ecc()
[all …]
Dredboot.c37 int parse_redboot_partitions(struct mtd_info *master, struct mtd_partition **pparts) in parse_redboot_partitions() argument
54 ret = master->read(master, master->size - master->erasesize, in parse_redboot_partitions()
73 master->name); in parse_redboot_partitions()
93 buf[i].flash_base &= master->size-1; in parse_redboot_partitions()
110 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize < tmp_fl->next->img->flash_bas… in parse_redboot_partitions()
136 …if(fl->next && fl->img->flash_base + fl->img->size + master->erasesize < fl->next->img->flash_base… in parse_redboot_partitions()
Dcmdlinepart.c294 int parse_cmdline_partitions(struct mtd_info *master, in parse_cmdline_partitions() argument
320 part->parts[i].size = master->size - offset; in parse_cmdline_partitions()
321 if (offset + part->parts[i].size > master->size) in parse_cmdline_partitions()
326 part->parts[i].size = master->size - offset; in parse_cmdline_partitions()
/linux-2.4.37.9/arch/ia64/sn/io/hwgdfs/
Dhcl_util.c37 vertex_hdl_t master; in device_master_get() local
39 rc = hwgraph_edge_get(vhdl, EDGE_LBL_MASTER, &master); in device_master_get()
41 return(master); in device_master_get()
51 device_master_set(vertex_hdl_t vhdl, vertex_hdl_t master) in device_master_set() argument
55 rc = hwgraph_edge_add(vhdl, master, EDGE_LBL_MASTER); in device_master_set()
69 vertex_hdl_t master; in master_node_get() local
76 master = device_master_get(vhdl); in master_node_get()
79 if (master == vhdl) { in master_node_get()
87 if (master == GRAPH_VERTEX_NONE) { in master_node_get()
88 master = hwgraph_connectpt_get(vhdl); in master_node_get()
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/
Dhcl_util.c40 vertex_hdl_t master; in device_master_get() local
42 rc = hwgraph_edge_get(vhdl, EDGE_LBL_MASTER, &master); in device_master_get()
44 return(master); in device_master_get()
54 device_master_set(vertex_hdl_t vhdl, vertex_hdl_t master) in device_master_set() argument
58 rc = hwgraph_edge_add(vhdl, master, EDGE_LBL_MASTER); in device_master_set()
72 vertex_hdl_t master; in master_node_get() local
79 master = device_master_get(vhdl); in master_node_get()
82 if (master == vhdl) { in master_node_get()
90 if (master == GRAPH_VERTEX_NONE) { in master_node_get()
91 master = hwgraph_connectpt_get(vhdl); in master_node_get()
[all …]
/linux-2.4.37.9/drivers/net/wan/
Ddlci.c406 struct net_device *master, *slave; in dlci_add() local
441 master = kmalloc(sizeof(*master), GFP_KERNEL); in dlci_add()
442 if (!master) in dlci_add()
445 memset(master, 0, sizeof(*master)); in dlci_add()
447 strcpy(master->name, buf); in dlci_add()
448 master->init = dlci_init; in dlci_add()
449 master->flags = 0; in dlci_add()
451 err = register_netdev(master); in dlci_add()
454 kfree(master); in dlci_add()
458 *(short *)(master->dev_addr) = dlci->dlci; in dlci_add()
[all …]
Dcomx-proto-fr.c71 struct net_device *master; member
140 && (sfr->master == dev) && in fr_keepalive_timerfun()
185 && (sfr->master == dev) && in fr_rx_lmi()
265 (sfr->master == dev) && (sfr->dlci == dlci)) { in fr_rx()
314 (sfr->master == dev) && (netif_queue_stopped(sdev))) { in fr_tx()
341 if (dev == fr->master && fr->keepa_freq) { in fr_status()
360 (sfr = sch->LINE_privdata) && (sfr->master == dev)) { in fr_status()
391 if (!fr->master) { in fr_open()
394 mch = fr->master->priv; in fr_open()
395 if (fr->master != dev && (!(mch->init_status & LINE_OPEN) in fr_open()
[all …]
Dsdla.c497 int sdla_activate(struct net_device *slave, struct net_device *master) in sdla_activate() argument
505 if (flp->master[i] == master) in sdla_activate()
519 int sdla_deactivate(struct net_device *slave, struct net_device *master) in sdla_deactivate() argument
527 if (flp->master[i] == master) in sdla_deactivate()
541 int sdla_assoc(struct net_device *slave, struct net_device *master) in sdla_assoc() argument
546 if (master->type != ARPHRD_DLCI) in sdla_assoc()
553 if (!flp->master[i]) in sdla_assoc()
555 if (abs(flp->dlci[i]) == *(short *)(master->dev_addr)) in sdla_assoc()
564 flp->master[i] = master; in sdla_assoc()
565 flp->dlci[i] = -*(short *)(master->dev_addr); in sdla_assoc()
[all …]
Dsbni.c110 struct net_device *master; member
394 nl->master = dev; in sbni_probe1()
515 spin_lock( &((struct net_local *) nl->master->priv)->lock ); in handle_channel()
551 spin_unlock( &((struct net_local *) nl->master->priv)->lock ); in handle_channel()
697 ((struct net_local *) nl->master->priv) in upload_data()
699 ((struct net_local *) nl->master->priv) in upload_data()
716 ((struct net_local *) nl->master->priv)->stats.rx_errors++, in upload_data()
717 ((struct net_local *) nl->master->priv)->stats.rx_crc_errors++; in upload_data()
731 ((struct net_local *) nl->master->priv)->stats.tx_packets++; in send_complete()
732 ((struct net_local *) nl->master->priv)->stats.tx_bytes in send_complete()
[all …]
/linux-2.4.37.9/net/sched/
Dsch_teql.c157 struct teql_master *master = dat->m; in teql_destroy() local
159 if ((prev = master->slaves) != NULL) { in teql_destroy()
164 if (q == master->slaves) { in teql_destroy()
165 master->slaves = NEXT_SLAVE(q); in teql_destroy()
166 if (q == master->slaves) { in teql_destroy()
167 master->slaves = NULL; in teql_destroy()
168 spin_lock_bh(&master->dev.queue_lock); in teql_destroy()
169 qdisc_reset(master->dev.qdisc); in teql_destroy()
170 spin_unlock_bh(&master->dev.queue_lock); in teql_destroy()
178 } while ((prev = q) != master->slaves); in teql_destroy()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dsmpboot.c163 get_delta (long *rt, long *master) in get_delta() argument
181 *master = best_tm - best_t0; in get_delta()
223 ia64_sync_itc (unsigned int master) in ia64_sync_itc() argument
230 long master; /* master's timestamp */ in ia64_sync_itc() member
238 if (smp_call_function_single(master, sync_master, NULL, 1, 0) < 0) { in ia64_sync_itc()
239 printk(KERN_ERR "sync_itc: failed to get attention of CPU %u!\n", master); in ia64_sync_itc()
265 t[i].master = master_time_stamp; in ia64_sync_itc()
276 t[i].rt, t[i].master, t[i].diff, t[i].lat); in ia64_sync_itc()
280 "maxerr %lu cycles)\n", smp_processor_id(), master, delta, rt); in ia64_sync_itc()
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_amanda.c40 struct ip_conntrack *master = master_ct(ct); in amanda_nat_expected() local
46 IP_NF_ASSERT(master); in amanda_nat_expected()
50 newip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip; in amanda_nat_expected()
52 newip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip; in amanda_nat_expected()
60 exp_amanda_info = &ct->master->help.exp_amanda_info; in amanda_nat_expected()
Dip_nat_ftp.c39 struct ip_conntrack *master = master_ct(ct); in ftp_nat_expected() local
42 IP_NF_ASSERT(master); in ftp_nat_expected()
47 exp_ftp_info = &ct->master->help.exp_ftp_info; in ftp_nat_expected()
52 newdstip = master->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip; in ftp_nat_expected()
53 newsrcip = master->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip; in ftp_nat_expected()
58 newdstip = master->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip; in ftp_nat_expected()
59 newsrcip = master->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip; in ftp_nat_expected()
Dip_nat_tftp.c100 const struct ip_conntrack *master = ct->master->expectant; in tftp_nat_expected() local
102 &master->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in tftp_nat_expected()
106 &master->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_nat_expected()
112 IP_NF_ASSERT(master); in tftp_nat_expected()
Dip_conntrack_core.c104 IP_NF_ASSERT(ct->infos[0].master); in ip_conntrack_put()
311 struct ip_conntrack *ct = (struct ip_conntrack *)nfct, *master = NULL; in destroy_conntrack() local
340 if (ct->master) { in destroy_conntrack()
341 if (ct->master->expectant) { in destroy_conntrack()
344 list_del(&ct->master->expected_list); in destroy_conntrack()
345 master = ct->master->expectant; in destroy_conntrack()
347 kfree(ct->master); in destroy_conntrack()
351 if (master) in destroy_conntrack()
352 ip_conntrack_put(master); in destroy_conntrack()
414 = (struct ip_conntrack *)nfct->master; in __ip_conntrack_get()
[all …]
Dipt_helper.c48 if (!ct->master) { in match()
53 exp = ct->master; in match()
Dipt_limit.c65 struct ipt_rateinfo *r = ((struct ipt_rateinfo *)matchinfo)->master; in ipt_limit_match()
124 r->master = r; in ipt_limit_checkentry()
Dip_nat_irc.c60 struct ip_conntrack *master = master_ct(ct); in irc_nat_expected() local
63 IP_NF_ASSERT(master); in irc_nat_expected()
69 newdstip = master->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip; in irc_nat_expected()
/linux-2.4.37.9/drivers/usb/gadget/
Dgoku_udc.c224 u32 master; in ep_reset() local
226 master = readl(&regs->dma_master) & MST_RW_BITS; in ep_reset()
228 master &= ~MST_W_BITS; in ep_reset()
229 master |= MST_WR_RESET; in ep_reset()
231 master &= ~MST_R_BITS; in ep_reset()
232 master |= MST_RD_RESET; in ep_reset()
234 writel(master, &regs->dma_master); in ep_reset()
619 u32 master; in start_dma() local
623 master = readl(&regs->dma_master) & MST_RW_BITS; in start_dma()
627 if (unlikely(master & MST_RD_ENA)) { in start_dma()
[all …]
/linux-2.4.37.9/drivers/sound/
Dhal2.c88 unsigned int master; /* Master frequency */ member
105 unsigned int master; member
392 codec->master = 44100; in hal2_compute_rate()
395 codec->master = 48000; in hal2_compute_rate()
400 rate = 4 * codec->master / mod; in hal2_compute_rate()
409 unsigned int master = hal2->dac.master; in hal2_set_dac_rate() local
413 DEBUG("master: %d inc: %d mod: %d\n", master, inc, mod); in hal2_set_dac_rate()
415 hal2_i_write16(hal2, H2I_BRES1_C1, (master == 44100) ? 1 : 0); in hal2_set_dac_rate()
421 unsigned int master = hal2->adc.master; in hal2_set_adc_rate() local
425 DEBUG("master: %d inc: %d mod: %d\n", master, inc, mod); in hal2_set_adc_rate()
[all …]
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack.h184 struct ip_conntrack_expect *master; member
213 #define master_ct(conntr) (conntr->master ? conntr->master->expectant : NULL)
/linux-2.4.37.9/drivers/isdn/
Disdn_net.c78 if (lp->master) in isdn_net_device_started()
79 dev = lp->master; in isdn_net_device_started()
91 if (lp->master) in isdn_net_device_wake_queue()
92 netif_wake_queue(lp->master); in isdn_net_device_wake_queue()
103 if (lp->master) in isdn_net_device_stop_queue()
104 netif_stop_queue(lp->master); in isdn_net_device_stop_queue()
123 if (lp->master) in isdn_net_device_busy()
124 nd = ((isdn_net_local *) lp->master->priv)->netdev; in isdn_net_device_busy()
302 if (!lp->master) { /* reset only master device */ in isdn_net_unbind_channel()
504 if (lp->master) { /* is lp a slave? */ in isdn_net_stat_callback()
[all …]
/linux-2.4.37.9/include/linux/
Ddevfs_fs_kernel.h94 extern void devfs_auto_unregister (devfs_handle_t master,devfs_handle_t slave);
95 extern devfs_handle_t devfs_get_unregister_slave (devfs_handle_t master);
230 static inline void devfs_auto_unregister (devfs_handle_t master, in devfs_auto_unregister() argument
235 static inline devfs_handle_t devfs_get_unregister_slave (devfs_handle_t master) in devfs_get_unregister_slave() argument
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6t_limit.c54 struct ip6t_rateinfo *r = ((struct ip6t_rateinfo *)matchinfo)->master; in ip6t_limit_match()
113 r->master = r; in ip6t_limit_checkentry()
/linux-2.4.37.9/Documentation/sound/
Drme96xx70 fprintf(stderr," master <n> set sync master\n");
152 fprintf(stdout,"ctrl.master %d\n",ctrl.master);
193 if (!strcmp(argv[argidx],"master")) {
196 printf("master = %d\n",val);
197 ctrl.master = val;
422 global master
423 exec $CTRLPROG master $master
474 checkbutton .control.sync.mode.master -text "Master" -anchor nw -width 13 -variable master -command…
477 pack .control.sync.mode.text .control.sync.mode.master .control.sync.mode.wc
573 global master
[all …]

12345