Home
last modified time | relevance | path

Searched refs:dev_name (Results 1 – 25 of 71) sorted by relevance

123

/linux-2.4.37.9/net/8021q/
Dvlan.h72 int vlan_dev_set_ingress_priority(char* dev_name, __u32 skb_prio, short vlan_prio);
73 int vlan_dev_set_egress_priority(char* dev_name, __u32 skb_prio, short vlan_prio);
74 int vlan_dev_set_vlan_flag(char* dev_name, __u32 flag, short flag_val);
76 int vlan_dev_get_realdev_name(const char *dev_name, char* result);
77 int vlan_dev_get_vid(const char *dev_name, unsigned short* result);
Dvlan_dev.c534 int vlan_dev_set_ingress_priority(char *dev_name, __u32 skb_prio, short vlan_prio) in vlan_dev_set_ingress_priority() argument
536 struct net_device *dev = dev_get_by_name(dev_name); in vlan_dev_set_ingress_priority()
567 int vlan_dev_set_egress_priority(char *dev_name, __u32 skb_prio, short vlan_prio) in vlan_dev_set_egress_priority() argument
569 struct net_device *dev = dev_get_by_name(dev_name); in vlan_dev_set_egress_priority()
607 int vlan_dev_set_vlan_flag(char *dev_name, __u32 flag, short flag_val) in vlan_dev_set_vlan_flag() argument
609 struct net_device *dev = dev_get_by_name(dev_name); in vlan_dev_set_vlan_flag()
636 __FUNCTION__, dev_name); in vlan_dev_set_vlan_flag()
643 int vlan_dev_get_realdev_name(const char *dev_name, char* result) in vlan_dev_get_realdev_name() argument
645 struct net_device *dev = dev_get_by_name(dev_name); in vlan_dev_get_realdev_name()
669 int vlan_dev_get_vid(const char *dev_name, unsigned short* result) in vlan_dev_get_vid() argument
[all …]
/linux-2.4.37.9/drivers/s390/net/
Dqeth.c476 if (!strncmp(name,card->dev_name,DEV_NAME_LEN)) break; in qeth_get_card_by_name()
514 char *dev_name) in qeth_add_ipato_entry() argument
526 if (dev_name) { in qeth_add_ipato_entry()
527 strncpy(entry->dev_name,dev_name,DEV_NAME_LEN); in qeth_add_ipato_entry()
528 if (qeth_get_card_by_name(dev_name)->options.ena_ipat!= in qeth_add_ipato_entry()
531 "Ignoring line\n",dev_name); in qeth_add_ipato_entry()
533 memset(entry->dev_name,0,DEV_NAME_LEN); in qeth_add_ipato_entry()
543 ( ((dev_name)&&!strncmp(e->dev_name,dev_name, in qeth_add_ipato_entry()
545 (!dev_name) ) && in qeth_add_ipato_entry()
562 char *dev_name) in qeth_del_ipato_entry() argument
[all …]
Dctcmain.c3447 static int parse_opts(char **setup, char **dev_name, int *ints, int maxip) { in parse_opts() argument
3460 *dev_name = *setup; in parse_opts()
3609 char *dev_name; in ctc_setup() local
3612 while (parse_opts(&setup, &dev_name, ints, CTC_MAX_INTPARMS)) { in ctc_setup()
3621 setup, dev_name, ints[0]); in ctc_setup()
3623 if (dev_name == NULL) { in ctc_setup()
3637 printk(KERN_DEBUG "name=�%s� argc=%d\n", dev_name, ints[0]); in ctc_setup()
3640 if (strcmp(dev_name, "noauto") == 0) { in ctc_setup()
3647 if (find_param(dev_name) != NULL) { in ctc_setup()
3651 "Ignoring second definition\n", dev_name); in ctc_setup()
[all …]
/linux-2.4.37.9/drivers/scsi/pcmcia/
Dfdomain_stub.c274 sprintf(node->dev_name, "st#%04lx", id); in fdomain_config()
279 sprintf(node->dev_name, "sd#%04lx", id); in fdomain_config()
284 sprintf(node->dev_name, "sr#%04lx", id); in fdomain_config()
288 sprintf(node->dev_name, "sg#%04lx", id); in fdomain_config()
Daha152x_stub.c305 sprintf(node->dev_name, "st#%04lx", id); in aha152x_config_cs()
310 sprintf(node->dev_name, "sd#%04lx", id); in aha152x_config_cs()
315 sprintf(node->dev_name, "sr#%04lx", id); in aha152x_config_cs()
319 sprintf(node->dev_name, "sg#%04lx", id); in aha152x_config_cs()
Dqlogic_stub.c296 sprintf(node->dev_name, "st#%04lx", id); in qlogic_config()
301 sprintf(node->dev_name, "sd#%04lx", id); in qlogic_config()
306 sprintf(node->dev_name, "sr#%04lx", id); in qlogic_config()
310 sprintf(node->dev_name, "sg#%04lx", id); in qlogic_config()
Dnsp_cs.c1984 snprintf(info->node.dev_name, sizeof(info->node.dev_name), "scsi%d", host->host_no); in nsp_cs_config()
2005 snprintf(node->dev_name, sizeof(node->dev_name), "st#%04lx", id); in nsp_cs_config()
2010 snprintf(node->dev_name, sizeof(node->dev_name), "sd#%04lx", id); in nsp_cs_config()
2015 snprintf(node->dev_name, sizeof(node->dev_name), "sr#%04lx", id); in nsp_cs_config()
2019 snprintf(node->dev_name, sizeof(node->dev_name), "sg#%04lx", id); in nsp_cs_config()
/linux-2.4.37.9/fs/
Dsuper.c655 int flags, char *dev_name, void * data) in get_sb_bdev() argument
669 if (!dev_name || !*dev_name) in get_sb_bdev()
671 error = path_lookup(dev_name, LOOKUP_FOLLOW|LOOKUP_POSITIVE, &nd); in get_sb_bdev()
748 int flags, char *dev_name, void *data) in get_sb_nodev() argument
771 int flags, char *dev_name, void *data) in get_sb_single() argument
Dnamespace.c700 long do_mount(char * dev_name, char * dir_name, char *type_page, in do_mount() argument
715 if (dev_name && !memchr(dev_name, 0, PAGE_SIZE)) in do_mount()
739 retval = do_loopback(&nd, dev_name, flags & MS_REC); in do_mount()
741 retval = do_move_mount(&nd, dev_name); in do_mount()
744 dev_name, data_page); in do_mount()
829 asmlinkage long sys_mount(char * dev_name, char * dir_name, char * type, in sys_mount() argument
847 retval = copy_mount_options (dev_name, &dev_page); in sys_mount()
/linux-2.4.37.9/drivers/isdn/hisax/
Delsa_cs.c301 "still locked\n", link->dev->dev_name); in elsa_cs_detach()
419 sprintf(dev->node.dev_name, "elsa"); in elsa_cs_config()
426 dev->node.dev_name, link->conf.ConfigIndex, in elsa_cs_config()
472 "still open\n", link->dev->dev_name); in elsa_cs_release()
Dsedlbauer_cs.c308 "still locked\n", link->dev->dev_name); in sedlbauer_detach()
507 sprintf(dev->node.dev_name, "sedlbauer"); in sedlbauer_config()
513 dev->node.dev_name, link->conf.ConfigIndex, in sedlbauer_config()
565 link->dev->dev_name); in sedlbauer_release()
Davma1_cs.c252 "still locked\n", link->dev->dev_name); in avma1cs_detach()
404 strcpy(dev->node.dev_name, "A1"); in avma1cs_config()
453 link->dev->dev_name); in avma1cs_release()
/linux-2.4.37.9/drivers/message/i2o/
Di2o_block.c658 printk(KERN_ERR "\n/dev/%s error: %s", dev->i2odev->dev_name, in i2o_block_reply()
774 i2ob_dev[unit].i2odev->dev_name); in i2ob_evt()
814 printk(KERN_INFO "I2O Block: %s received a SCSI SMART Event\n",i2ob_dev[unit].i2odev->dev_name); in i2ob_evt()
846 i2ob_dev[unit].i2odev->dev_name, evt); in i2ob_evt()
1300 sprintf(d->dev_name, "%s%c", i2ob_gendisk.major_name, 'a' + (unit>>4)); in i2ob_install_device()
1303 d->dev_name, i2ob_dev[unit].max_segments, i2ob_dev[unit].depth, i2ob_max_sectors[unit]<<9); in i2ob_install_device()
1307 printk(KERN_INFO "%s: ", d->dev_name); in i2ob_install_device()
1344 d->dev_name, i2ob_max_sectors[unit]); in i2ob_install_device()
1632 d->dev_name, c->unit, d->lct_data.tid); in i2ob_del_device()
/linux-2.4.37.9/include/pcmcia/
Ddriver_ops.h40 char dev_name[DEV_NAME_LEN]; member
/linux-2.4.37.9/drivers/parport/
Dparport_cs.c308 strcpy(info->node.dev_name, p->name); in parport_config()
341 info->node.dev_name); in parport_cs_release()
344 info->node.dev_name); in parport_cs_release()
/linux-2.4.37.9/drivers/isdn/hysdn/
Dhysdn_net.c46 char dev_name[9]; /* our own device name */ member
306 strcpy(dev->name, ((struct net_local *) dev)->dev_name); in hysdn_net_create()
/linux-2.4.37.9/drivers/isdn/avmb1/
Davm_cs.c390 strcpy(dev->node.dev_name, s); in avmcs_config()
399 strcpy(dev->node.dev_name, "b1"); in avmcs_config()
423 dev->node.dev_name, link->io.BasePort1, link->irq.AssignedIRQ); in avmcs_config()
/linux-2.4.37.9/drivers/sound/
Dwaveartist.c1251 char rev[3], dev_name[64]; in waveartist_init() local
1257 sprintf(dev_name, "%s (%s", devc->hw.name, devc->chip_name); in waveartist_init()
1260 strcat(dev_name, " rev. "); in waveartist_init()
1261 strcat(dev_name, rev); in waveartist_init()
1263 strcat(dev_name, ")"); in waveartist_init()
1265 conf_printf2(dev_name, devc->hw.io_base, devc->hw.irq, in waveartist_init()
1274 my_dev = sound_install_audiodrv(AUDIO_DRIVER_VERSION, dev_name, in waveartist_init()
1314 dev_name, in waveartist_init()
Dad1816.c1103 char dev_name[100]; in attach_ad1816() local
1146 sprintf (dev_name,"AD1816 audio driver"); in attach_ad1816()
1148 conf_printf2 (dev_name, in attach_ad1816()
1153 dev_name, in attach_ad1816()
1202 dev_name, in attach_ad1816()
/linux-2.4.37.9/drivers/net/pcmcia/
Dibmtr_cs.c352 memcpy(info->node.dev_name, "tr0\0", 4); in ibmtr_config()
357 memcpy(info->node.dev_name, "tr1\0", 4); in ibmtr_config()
447 "still open\n", info->node.dev_name); in ibmtr_release()
/linux-2.4.37.9/drivers/net/wireless/
Dairo_cs.c495 strcpy(dev->node.dev_name, ((local_info_t*)link->priv)->eth_dev->name ); in airo_config()
501 dev->node.dev_name, link->conf.ConfigIndex, in airo_config()
548 link->dev->dev_name); in airo_release()
/linux-2.4.37.9/drivers/sbus/char/
Dbpp.c48 static const char* dev_name = "bpp"; variable
907 request_region(lpAddr,3, dev_name); in probeLptPort()
1045 rc = devfs_register_chrdev(BPP_MAJOR, dev_name, &bpp_fops); in bpp_init()
1066 devfs_unregister_chrdev(BPP_MAJOR, dev_name); in bpp_cleanup()
/linux-2.4.37.9/drivers/video/sti/
Dstifb.c1220 char *dev_name; in stifb_init_fb() local
1277 dev_name = fb->sti->outptr.dev_name; in stifb_init_fb()
1278 if (strstr(dev_name, "GRAYSCALE") || in stifb_init_fb()
1279 strstr(dev_name, "Grayscale") || in stifb_init_fb()
1280 strstr(dev_name, "grayscale")) in stifb_init_fb()
/linux-2.4.37.9/drivers/video/
Dcyber2000fb.h270 char dev_name[32]; member

123