[go: nahoru, domu]

Searched defs:nr (Results 1 - 25 of 259) sorted by relevance

1234567891011

/drivers/gpu/drm/nouveau/
H A Dnouveau_ioc32.c52 unsigned int nr = DRM_IOCTL_NR(cmd); local
56 if (nr < DRM_COMMAND_BASE)
60 if (nr < DRM_COMMAND_BASE + ARRAY_SIZE(mga_compat_ioctls))
61 fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE];
/drivers/staging/android/ion/
H A Dion.h63 * @nr: number of structures in the array
69 int nr; member in struct:ion_platform_data
/drivers/staging/lustre/lustre/obdclass/
H A Duuid.c60 static void uuid_unpack(class_uuid_t in, __u16 *uu, int nr) argument
64 LASSERT(nr * sizeof(*uu) == sizeof(class_uuid_t));
66 while (nr-- > 0)
67 CONSUME(uu[nr], &ptr);
/drivers/fmc/
H A Dfru-parse.c14 __fru_get_board_tl(struct fru_common_header *header, int nr) argument
21 while (nr > 0 && !fru_is_eof(tl)) {
23 nr--;
30 static char *__fru_alloc_get_tl(struct fru_common_header *header, int nr) argument
36 tl = __fru_get_board_tl(header, nr);
/drivers/tty/
H A Dn_tracesink.c115 * @nr: number of bytes of the data buffer that is returned.
128 unsigned char __user *buf, size_t nr) {
137 * @nr: number of bytes of the data buffer that is returned.
152 const unsigned char *buf, size_t nr) {
127 n_tracesink_read(struct tty_struct *tty, struct file *file, unsigned char __user *buf, size_t nr) argument
151 n_tracesink_write(struct tty_struct *tty, struct file *file, const unsigned char *buf, size_t nr) argument
H A Dn_tracerouter.c118 * @nr: number of bytes of the data buffer that is returned.
131 unsigned char __user *buf, size_t nr) {
140 * @nr: number of bytes of the data buffer that is returned.
155 const unsigned char *buf, size_t nr) {
130 n_tracerouter_read(struct tty_struct *tty, struct file *file, unsigned char __user *buf, size_t nr) argument
154 n_tracerouter_write(struct tty_struct *tty, struct file *file, const unsigned char *buf, size_t nr) argument
/drivers/zorro/
H A Dnames.c26 unsigned short nr; member in struct:zorro_manuf_info
74 int i = manuf_p->nr;
91 int nr = prod_p->seen + 1; local
92 prod_p->seen = nr;
93 if (nr > 1)
94 sprintf(n, " (#%d)", nr);
/drivers/gpu/drm/nouveau/core/core/
H A Dparent.c83 int nr = -1, i; local
88 if (++nr < size)
89 lclass[nr] = sclass->oclass->handle & 0xffff;
98 if (++nr < size)
99 lclass[nr] = oclass->handle & 0xffff;
107 return nr + 1;
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmr.c75 unsigned long nr = min(num_pages, (unsigned long)VMW_PPN_PER_REMAP); local
78 remap_cmd.numPages = nr;
84 for (i = 0; i < nr; ++i) {
95 num_pages -= nr;
96 remap_pos += nr;
/drivers/isdn/hardware/eicon/
H A Ddiva_dma.c59 int nr, void *virt, dword phys,
61 pmap[nr].phys_bus_addr = phys;
62 pmap[nr].local_ram_addr = virt;
63 pmap[nr].addr_handle = addr_handle;
81 void diva_free_dma_map_entry(struct _diva_dma_map_entry *pmap, int nr) { argument
82 pmap[nr].busy = 0;
87 void diva_get_dma_map_entry(struct _diva_dma_map_entry *pmap, int nr, argument
89 *pphys = pmap[nr].phys_bus_addr;
90 *pvirt = pmap[nr].local_ram_addr;
92 void *diva_get_entry_handle(struct _diva_dma_map_entry *pmap, int nr) { argument
58 diva_init_dma_map_entry(struct _diva_dma_map_entry *pmap, int nr, void *virt, dword phys, void *addr_handle) argument
[all...]
/drivers/isdn/pcbit/
H A Dedss1.c70 byte nr; member in struct:CauseValue
/drivers/base/power/
H A Dopp.c646 int nr; local
658 nr = prop->length / sizeof(u32);
659 if (nr % 2) {
665 while (nr) {
672 nr -= 2;
/drivers/gpio/
H A Dgpio-bt8xx.c81 static int bt8xxgpio_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) argument
90 data &= ~(1 << nr);
94 outen &= ~(1 << nr);
102 static int bt8xxgpio_gpio_get(struct gpio_chip *gpio, unsigned nr) argument
112 return !!(val & (1 << nr));
116 unsigned nr, int val)
125 outen |= (1 << nr);
130 data |= (1 << nr);
132 data &= ~(1 << nr);
141 unsigned nr, in
115 bt8xxgpio_gpio_direction_output(struct gpio_chip *gpio, unsigned nr, int val) argument
140 bt8xxgpio_gpio_set(struct gpio_chip *gpio, unsigned nr, int val) argument
[all...]
H A Dgpio-vx855.c99 unsigned int nr)
106 if (nr < NR_VX855_GPI)
110 if (nr < NR_VX855_GPInO)
116 reg_out |= gpio_o_bit(nr - NR_VX855_GPInO);
123 static int vx855gpio_get(struct gpio_chip *gpio, unsigned int nr) argument
129 if (nr < NR_VX855_GPI) {
131 if (reg_in & gpi_i_bit(nr))
133 } else if (nr < NR_VX855_GPInO) {
137 if (reg_in & gpo_o_bit(nr - NR_VX855_GPI))
141 if (reg_in & gpio_i_bit(nr
98 vx855gpio_direction_input(struct gpio_chip *gpio, unsigned int nr) argument
148 vx855gpio_set(struct gpio_chip *gpio, unsigned int nr, int val) argument
176 vx855gpio_direction_output(struct gpio_chip *gpio, unsigned int nr, int val) argument
[all...]
/drivers/gpu/drm/nouveau/core/engine/disp/
H A Dpiornv50.c84 nv50_pior_dp_lnk_pwr(struct nvkm_output_dp *outp, int nr) argument
90 nv50_pior_dp_lnk_ctl(struct nvkm_output_dp *outp, int nr, int bw, bool ef) argument
94 return port->func->lnk_ctl(port, nr, bw, ef);
H A Dsornv94.c68 nv94_sor_dp_lnk_pwr(struct nvkm_output_dp *outp, int nr) argument
75 for (i = 0; i < nr; i++)
85 nv94_sor_dp_lnk_ctl(struct nvkm_output_dp *outp, int nr, int bw, bool ef) argument
93 dpctrl |= ((1 << nr) - 1) << 16;
H A Dsornvd0.c64 nvd0_sor_dp_lnk_ctl(struct nvkm_output_dp *outp, int nr, int bw, bool ef) argument
73 dpctrl |= ((1 << nr) - 1) << 16;
/drivers/i2c/muxes/
H A Di2c-mux-gpio.c226 u32 nr = mux->data.base_nr ? (mux->data.base_nr + i) : 0; local
229 mux->adap[i] = i2c_add_mux_adapter(parent, &pdev->dev, mux, nr,
/drivers/media/platform/exynos4-is/
H A Dfimc-is-regs.c20 void fimc_is_fw_clear_irq1(struct fimc_is *is, unsigned int nr) argument
22 mcuctl_write(1UL << nr, is, MCUCTL_REG_INTCR1);
/drivers/misc/cb710/
H A Dcore.c73 unsigned nr; local
77 for (nr = chip->slots; nr; ++slot, --nr) {
102 int nr = chip->slots; local
103 struct cb710_slot *slot = &chip->slot[nr];
108 name, chip->platform_id, nr, slot_mask, io_offset); local
145 int nr = chip->slots - 1; local
150 platform_device_unregister(&chip->slot[nr].pdev);
154 BUG_ON(chip->slot[nr]
[all...]
/drivers/mtd/maps/
H A Dsa1100-flash.c156 int nr, size, i, ret = 0; local
161 for (nr = 0; ; nr++)
162 if (!platform_get_resource(pdev, IORESOURCE_MEM, nr))
165 if (nr == 0) {
170 size = sizeof(struct sa_info) + sizeof(struct sa_subdev_info) * nr;
190 for (i = 0; i < nr; i++) {
225 struct mtd_info *cdev[nr];
/drivers/pcmcia/
H A Dsa11xx_base.c95 MECR_FAST_SET(mecr, skt->nr, 0);
96 MECR_BSIO_SET(mecr, skt->nr, bs_io);
97 MECR_BSA_SET(mecr, skt->nr, bs_attr);
98 MECR_BSM_SET(mecr, skt->nr, bs_mem);
105 MECR_FAST_GET(mecr, skt->nr),
106 MECR_BSM_GET(mecr, skt->nr), MECR_BSA_GET(mecr, skt->nr),
107 MECR_BSIO_GET(mecr, skt->nr));
152 sa1100_pcmcia_cmd_time(clock, MECR_BSIO_GET(mecr, skt->nr)));
155 sa1100_pcmcia_cmd_time(clock, MECR_BSA_GET(mecr, skt->nr)));
215 sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops, int first, int nr) argument
[all...]
/drivers/bluetooth/
H A Dhci_ldisc.c569 unsigned char __user *buf, size_t nr)
568 hci_uart_tty_read(struct tty_struct *tty, struct file *file, unsigned char __user *buf, size_t nr) argument
/drivers/cpufreq/
H A Dimx6q-cpufreq.c162 u32 nr, i, j; local
239 nr = prop->length / sizeof(u32);
240 if (nr % 2 || (nr / 2) < num)
245 for (i = 0; i < nr / 2; i++) {
/drivers/firmware/efi/
H A Druntime-map.c109 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr) argument
126 memcpy(&entry->md, efi_runtime_map + nr * efi_memdesc_size,
131 ret = kobject_add(&entry->kobj, NULL, "%d", nr);

Completed in 923 milliseconds

1234567891011