Searched defs:dir (Results 1 - 25 of 240) sorted by relevance

12345678910

/drivers/oprofile/
H A Doprofile_stats.c45 struct dentry *dir; local
49 dir = oprofilefs_mkdir(sb, root, "stats");
50 if (!dir)
56 cpudir = oprofilefs_mkdir(sb, dir, buf);
72 oprofilefs_create_ro_atomic(sb, dir, "sample_lost_no_mm",
74 oprofilefs_create_ro_atomic(sb, dir, "sample_lost_no_mapping",
76 oprofilefs_create_ro_atomic(sb, dir, "event_lost_overflow",
78 oprofilefs_create_ro_atomic(sb, dir, "bt_lost_no_mapping",
81 oprofilefs_create_ro_atomic(sb, dir, "multiplex_counter",
/drivers/gpu/drm/nouveau/
H A Dnv10_gpio.c55 nv10_gpio_drive(struct drm_device *dev, int line, int dir, int out) argument
63 data = (dir << 4) | out;
69 data = (dir << 1) | out;
75 data = (dir << 1) | out;
H A Dnv50_gpio.c46 nv50_gpio_drive(struct drm_device *dev, int line, int dir, int out) argument
53 nv_mask(dev, reg, 7 << shift, (((dir ^ 1) << 1) | out) << shift);
79 nvd0_gpio_drive(struct drm_device *dev, int line, int dir, int out) argument
81 u32 data = ((dir ^ 1) << 13) | (out << 12);
/drivers/misc/c2port/
H A Dc2port-duramar2150.c51 static void duramar2150_c2port_c2d_dir(struct c2port_device *dev, int dir) argument
59 if (dir)
/drivers/staging/cxt1e1/
H A Dsbeproc.c45 char dir[7 + SBE_IFACETMPL_SIZE + 1]; local
46 snprintf(dir, sizeof(dir), "driver/%s", ci->devname);
48 remove_proc_entry(dir, NULL);
315 char dir[7 + SBE_IFACETMPL_SIZE + 1]; local
318 snprintf(dir, sizeof(dir), "driver/%s", ci->devname);
319 ci->dir_dev = proc_mkdir(dir, NULL);
/drivers/usb/storage/
H A Dprotocol.c136 unsigned int *offset, enum xfer_buf_dir dir)
185 if (dir == TO_XFER_BUF)
134 usb_stor_access_xfer_buf(unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, unsigned int *offset, enum xfer_buf_dir dir) argument
/drivers/input/misc/
H A Drotary_encoder.c41 unsigned char dir; /* 0 - clockwise, 1 - CCW */ member in struct:rotary_encoder
63 pdata->axis, encoder->dir ? -1 : 1);
67 if (encoder->dir) {
107 encoder->dir = state - 1;
136 encoder->dir = (encoder->last_stable + state) & 0x01;
H A Dtwl4030-vibra.c103 int dir; local
107 dir = info->direction;
120 reg = (dir) ? (reg | TWL4030_VIBRA_DIR) :
/drivers/media/video/uvc/
H A Duvc_debugfs.c120 struct dentry *dir; local
122 dir = debugfs_create_dir("uvcvideo", usb_debug_root);
123 if (IS_ERR_OR_NULL(dir)) {
128 uvc_debugfs_root_dir = dir;
/drivers/mfd/
H A Dwm8350-gpio.c23 static int gpio_set_dir(struct wm8350 *wm8350, int gpio, int dir) argument
28 if (dir == WM8350_GPIO_DIR_OUT)
188 int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, argument
215 if (gpio_set_dir(wm8350, gpio, dir))
/drivers/nubus/
H A Dproc.c66 struct nubus_dir* dir)
71 while (nubus_readdir(dir, &ent) != -1) {
95 struct nubus_dir dir; local
102 if (nubus_get_subdir(&ent, &dir) == -1) {
108 nubus_proc_subdir(dev, e, &dir);
64 nubus_proc_subdir(struct nubus_dev* dev, struct proc_dir_entry* parent, struct nubus_dir* dir) argument
/drivers/staging/iio/Documentation/
H A Diio_event_monitor.c77 enum iio_event_direction dir = IIO_EVENT_CODE_EXTRACT_DIR(event->id); local
123 switch (dir) {
140 enum iio_event_direction dir = IIO_EVENT_CODE_EXTRACT_DIR(event->id); local
169 iio_ev_dir_text[dir]);
/drivers/xen/
H A Dcpu_hotplug.c28 char dir[32], state[32]; local
30 sprintf(dir, "cpu/%u", cpu);
31 err = xenbus_scanf(XBT_NIL, dir, "availability", "%s", state);
/drivers/infiniband/hw/ipath/
H A Dipath_dma.c147 enum dma_data_direction dir)
154 enum dma_data_direction dir)
144 ipath_sync_single_for_cpu(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction dir) argument
151 ipath_sync_single_for_device(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction dir) argument
/drivers/infiniband/hw/qib/
H A Dqib_dma.c138 size_t size, enum dma_data_direction dir)
144 enum dma_data_direction dir)
137 qib_sync_single_for_cpu(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction dir) argument
142 qib_sync_single_for_device(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction dir) argument
/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-bitbang.c32 __be32 __iomem *dir; member in struct:bb_info
58 static inline void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) argument
62 if (dir)
63 bb_set(bitbang->dir, bitbang->mdio_msk);
65 bb_clr(bitbang->dir, bitbang->mdio_msk);
68 in_be32(bitbang->dir);
142 bitbang->dir = ioremap(res.start, resource_size(&res));
143 if (!bitbang->dir)
146 bitbang->dat = bitbang->dir + 4;
193 iounmap(bitbang->dir);
[all...]
/drivers/net/phy/
H A Dmdio-gpio.c42 static void mdio_dir(struct mdiobb_ctrl *ctrl, int dir) argument
47 if (dir)
/drivers/net/wireless/brcm80211/brcmutil/
H A Dutils.c133 brcmu_pktq_pflush(struct pktq *pq, int prec, bool dir, argument
150 void brcmu_pktq_flush(struct pktq *pq, bool dir, argument
155 brcmu_pktq_pflush(pq, prec, dir, fn, arg);
/drivers/regulator/
H A Ddbx500-prcmu.c68 struct dentry *dir; member in struct:ux500_regulator_debug
182 rdebug.dir = debugfs_create_dir("ux500-regulator", NULL);
183 if (!rdebug.dir)
188 S_IRUGO, rdebug.dir, &pdev->dev,
195 S_IRUGO, rdebug.dir, &pdev->dev,
227 debugfs_remove(rdebug.dir);
235 debugfs_remove_recursive(rdebug.dir);
/drivers/staging/comedi/drivers/
H A Dpcl724.c109 static int subdev_8255_cb(int dir, int port, int data, unsigned long arg) argument
113 if (dir) {
121 static int subdev_8255mapped_cb(int dir, int port, int data, argument
128 if (dir) {
/drivers/staging/rts5139/
H A Drts51x_fop.c50 u8 dir, cmd12, standby, acmd, cmd_idx, rsp_code; local
54 dir = (cmnd->cmnd[0] >> 3) & 0x03;
66 if (dir) {
71 switch (dir) {
/drivers/usb/gadget/
H A Du_uac1.c59 int dir)
64 if (val == 0 && dir < 0) {
68 if (dir > 0)
70 else if (dir < 0)
77 if (val == 0 && dir < 0) {
80 } else if (dir == 0)
88 if (dir < 0) {
57 _snd_pcm_hw_param_set(struct snd_pcm_hw_params *params, snd_pcm_hw_param_t var, unsigned int val, int dir) argument
/drivers/video/mbx/
H A Dmbxdebugfs.c9 struct dentry *dir; member in struct:mbxfb_debugfs_data
224 dbg->dir = debugfs_create_dir("mbxfb", NULL);
225 dbg->sysconf = debugfs_create_file("sysconf", 0444, dbg->dir,
227 dbg->clock = debugfs_create_file("clock", 0444, dbg->dir,
229 dbg->display = debugfs_create_file("display", 0444, dbg->dir,
231 dbg->gsctl = debugfs_create_file("gsctl", 0444, dbg->dir,
233 dbg->sdram = debugfs_create_file("sdram", 0444, dbg->dir,
235 dbg->misc = debugfs_create_file("misc", 0444, dbg->dir,
250 debugfs_remove(dbg->dir);
/drivers/char/
H A Ddsp56k.c359 int dir, out, status; local
362 if(get_user(dir, &hf->dir) < 0)
368 if ((dir & 0x1) && (out & 0x1))
370 else if (dir & 0x1)
372 if ((dir & 0x2) && (out & 0x2))
374 else if (dir & 0x2)
H A Defirtc.c381 struct proc_dir_entry *dir; local
392 dir = create_proc_read_entry ("driver/efirtc", 0, NULL,
394 if (dir == NULL) {

Completed in 652 milliseconds

12345678910