Searched refs:misc (Results 1 - 25 of 110) sorted by relevance

12345

/drivers/char/
H A Dmisc.c2 * linux/drivers/char/misc.c
4 * Generic misc open routine by Johan Myreen
14 * of the misc drivers, as they are now completely independent. Linus.
23 * Renamed to misc and miscdevice to be more accurate. Alan Cox 26-Mar-96
170 * @misc: device structure
184 int misc_register(struct miscdevice * misc) argument
190 INIT_LIST_HEAD(&misc->list);
194 if (c->minor == misc->minor) {
200 if (misc->minor == MISC_DYNAMIC_MINOR) {
206 misc
242 misc_deregister(struct miscdevice *misc) argument
[all...]
/drivers/scsi/bfa/
H A Dbfa_plog.h50 u16 misc; /* can be used to indicate fc frame length */ member in struct:bfa_plog_rec_s
145 enum bfa_plog_eid event, u16 misc, char *log_str);
147 enum bfa_plog_eid event, u16 misc,
150 enum bfa_plog_eid event, u16 misc, struct fchs_s *fchdr);
152 enum bfa_plog_eid event, u16 misc,
/drivers/mtd/ubi/
H A DMakefile4 ubi-y += misc.o
/drivers/media/video/pwc/
H A DMakefile1 pwc-objs := pwc-if.o pwc-misc.o pwc-ctrl.o pwc-v4l.o pwc-uncompress.o
/drivers/video/geode/
H A Dvideo_gx.c239 u32 dcfg, misc; local
259 misc = read_vp(par, VP_MISC);
262 misc |= VP_MISC_GAM_EN;
267 misc &= ~(VP_MISC_APWRDN | VP_MISC_DACPWRDN);
268 write_vp(par, VP_MISC, misc);
279 misc |= (VP_MISC_APWRDN | VP_MISC_DACPWRDN);
280 write_vp(par, VP_MISC, misc);
/drivers/input/
H A DMakefile24 obj-$(CONFIG_INPUT_MISC) += misc/
/drivers/staging/tidspbridge/include/dspbridge/
H A Drms_sh.h78 rms_word misc; /* Misc field. Not used for 'normal' member in struct:rms_more_task_args
/drivers/usb/host/
H A Dohci-tmio.c301 u8 misc; local
310 misc = tmio_ioread8(tmio->ccr + CCR_MISC);
311 misc |= 1 << 3; /* USSUSP */
312 tmio_iowrite8(misc, tmio->ccr + CCR_MISC);
331 u8 misc; local
348 misc = tmio_ioread8(tmio->ccr + CCR_MISC);
349 misc &= ~(1 << 3); /* USSUSP */
350 tmio_iowrite8(misc, tmio->ccr + CCR_MISC);
H A Dohci-pci.c181 u16 misc; local
184 pci_read_config_word(pdev, 0x50, &misc);
186 pci_write_config_word(pdev, 0x50, misc & 0xfcff);
188 pci_write_config_word(pdev, 0x50, misc | 0x0300);
/drivers/edac/
H A Dmce_amd_inj.c56 MCE_INJECT_STORE(misc); variable
68 MCE_INJECT_SHOW(misc); variable
72 EDAC_MCE_ATTR(misc, 0644, edac_inject_misc_show, edac_inject_misc_store);
/drivers/ide/
H A Dopti621.c71 u8 tim, misc, addr_pio = pio, clk; local
110 misc = addr_timings[clk][addr_pio];
125 write_reg(misc, MISC_REG);
/drivers/macintosh/
H A Dsmu.c168 void (*done)(struct smu_cmd *cmd, void *misc) = NULL;
169 void *misc = NULL; local
226 misc = cmd->misc;
240 done(cmd, misc);
294 void (*done)(struct smu_cmd *cmd, void *misc),
295 void *misc, ...)
311 cmd->misc = misc;
313 va_start(list, misc);
292 smu_queue_simple(struct smu_simple_cmd *scmd, u8 command, unsigned int data_len, void (*done)(struct smu_cmd *cmd, void *misc), void *misc, ...) argument
337 smu_done_complete(struct smu_cmd *cmd, void *misc) argument
709 void *misc = cmd->misc; local
769 smu_i2c_low_completion(struct smu_cmd *scmd, void *misc) argument
1104 smu_user_cmd_done(struct smu_cmd *cmd, void *misc) argument
[all...]
/drivers/media/dvb/b2c2/
H A DMakefile2 flexcop-sram.o flexcop-eeprom.o flexcop-misc.o flexcop-hw-filter.o
/drivers/video/via/
H A Dvia_aux_edid.c67 if (!spec || !spec->modedb || !(spec->misc & FB_MISC_1ST_DETAIL))
/drivers/gpu/drm/radeon/
H A Dradeon_asic.c185 .misc = &r100_pm_misc,
259 .misc = &r100_pm_misc,
333 .misc = &r100_pm_misc,
407 .misc = &r100_pm_misc,
481 .misc = &r100_pm_misc,
555 .misc = &r100_pm_misc,
629 .misc = &rs600_pm_misc,
703 .misc = &rs600_pm_misc,
777 .misc = &rs600_pm_misc,
851 .misc
[all...]
H A Dradeon_atombios.c1515 uint16_t data_offset, misc; local
1553 misc = le16_to_cpu(lvds_info->info.sLCDTiming.susModeMiscInfo.usAccess);
1554 if (misc & ATOM_VSYNC_POLARITY)
1556 if (misc & ATOM_HSYNC_POLARITY)
1558 if (misc & ATOM_COMPOSITESYNC)
1560 if (misc & ATOM_INTERLACE)
1562 if (misc & ATOM_DOUBLE_CLOCK_MODE)
1686 u16 data_offset, misc; local
1711 misc = le16_to_cpu(tv_info->aModeTimings[index].susModeMiscInfo.usAccess);
1712 if (misc
1925 radeon_atombios_parse_misc_flags_1_3(struct radeon_device *rdev, int state_index, u32 misc, u32 misc2) argument
1968 u32 misc, misc2 = 0; local
2234 u32 misc = le32_to_cpu(non_clock_info->ulCapsAndSettings); local
[all...]
/drivers/staging/android/
H A Dlogger.c2 * drivers/misc/logger.c
41 struct miscdevice misc; /* misc device representing the log */ member in struct:logger_log
717 .misc = { \
738 if (log_main.misc.minor == minor)
740 if (log_events.misc.minor == minor)
742 if (log_radio.misc.minor == minor)
744 if (log_system.misc.minor == minor)
753 ret = misc_register(&log->misc);
755 printk(KERN_ERR "logger: failed to register misc "
[all...]
/drivers/net/ethernet/tundra/
H A Dtsi108_eth.c630 if (data->txring[tx].misc & TSI108_TX_OWN)
635 if (!(data->txring[tx].misc & TSI108_TX_OK))
636 printk("%s: bad tx packet, misc %x\n",
637 dev->name, data->txring[tx].misc);
642 if (data->txring[tx].misc & TSI108_TX_EOF) {
686 int misc = 0; local
701 misc = TSI108_TX_INT;
709 misc |= TSI108_TX_SOF;
721 misc |= TSI108_TX_EOF;
731 data->txring[tx].misc
[all...]
/drivers/firewire/
H A Dnosy.c91 struct miscdevice misc; member in struct:pcilynx
284 if (tmp->misc.minor == minor) {
507 misc_deregister(&lynx->misc);
643 lynx->misc.parent = &dev->dev;
644 lynx->misc.minor = MISC_DYNAMIC_MINOR;
645 lynx->misc.name = "nosy";
646 lynx->misc.fops = &nosy_ops;
649 ret = misc_register(&lynx->misc);
651 dev_err(&dev->dev, "Failed to register misc char device\n");
/drivers/usb/
H A DMakefile48 obj-$(CONFIG_USB) += misc/
/drivers/video/
H A Dvgastate.c31 __u8 misc; member in struct:regstate
52 u8 misc, attr10, gr4, gr5, gr6, seq1, seq2, seq4; local
56 misc = vga_r(state->vgabase, VGA_MIS_R);
57 iobase = (misc & 1) ? 0x3d0 : 0x3b0;
232 saved->misc = vga_r(state->vgabase, VGA_MIS_R);
233 if (saved->misc & 1)
263 vga_w(state->vgabase, VGA_MIS_W, saved->misc);
265 if (saved->misc & 1)
/drivers/net/ethernet/amd/
H A Da2065.h118 unsigned short misc; member in struct:lance_tx_desc
/drivers/video/matrox/
H A Dg450_pll.c379 u_int8_t misc; local
381 misc = mga_inb(M_MISC_REG_READ) & ~0x0C;
386 misc |= 0x04;
389 misc |= 0x0C;
392 mga_outb(M_MISC_REG, misc);
/drivers/pci/hotplug/
H A Dcpqphp.h125 u16 misc; /* 0x02 */ member in struct:ctrl_reg
156 MISC = offsetof(struct ctrl_reg, misc),
487 u16 misc; local
489 misc = readw(ctrl->hpc_reg + MISC);
490 misc = (misc | 0x0001) & 0xFFFB;
491 writew(misc, ctrl->hpc_reg + MISC);
602 u16 misc; local
618 misc = readw(ctrl->hpc_reg + MISC);
619 return (misc
[all...]
/drivers/char/agp/
H A Damd64-agp.c127 dev = node_to_amd_nb(0)->misc;
190 amd64_configure(node_to_amd_nb(i)->misc, gatt_bus);
206 struct pci_dev *dev = node_to_amd_nb(i)->misc;
341 struct pci_dev *dev = node_to_amd_nb(i)->misc;
418 pci_read_config_dword (node_to_amd_nb(0)->misc, AMD64_GARTAPERTUREBASE,
486 pci_read_config_dword (node_to_amd_nb(0)->misc, AMD64_GARTAPERTUREBASE,

Completed in 647 milliseconds

12345