u 217 arch/alpha/include/asm/atomic.h static __inline__ int atomic_fetch_add_unless(atomic_t *v, int a, int u) u 233 arch/alpha/include/asm/atomic.h : [mem] "m"(*v), [a] "rI"(a), [u] "rI"((long)u) u 249 arch/alpha/include/asm/atomic.h static __inline__ s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) u 265 arch/alpha/include/asm/atomic.h : [mem] "m"(*v), [a] "rI"(a), [u] "rI"(u) u 582 arch/alpha/include/asm/core_t2.h __EXTERN_INLINE void t2_iowrite##NS(u##NS b, void __iomem *xaddr) \ u 315 arch/alpha/include/asm/jensen.h __EXTERN_INLINE void jensen_iowrite##NS(u##NS b, void __iomem *xaddr) \ u 68 arch/alpha/include/asm/local.h #define local_add_unless(l, a, u) \ u 73 arch/alpha/include/asm/local.h if (unlikely(c == (u))) \ u 80 arch/alpha/include/asm/local.h c != (u); \ u 75 arch/alpha/include/asm/termios.h #define user_termios_to_kernel_termios(k, u) \ u 76 arch/alpha/include/asm/termios.h copy_from_user(k, u, sizeof(struct termios2)) u 78 arch/alpha/include/asm/termios.h #define kernel_termios_to_user_termios(u, k) \ u 79 arch/alpha/include/asm/termios.h copy_to_user(u, k, sizeof(struct termios2)) u 81 arch/alpha/include/asm/termios.h #define user_termios_to_kernel_termios_1(k, u) \ u 82 arch/alpha/include/asm/termios.h copy_from_user(k, u, sizeof(struct termios)) u 84 arch/alpha/include/asm/termios.h #define kernel_termios_to_user_termios_1(u, k) \ u 85 arch/alpha/include/asm/termios.h copy_to_user(u, k, sizeof(struct termios)) u 50 arch/alpha/include/asm/user.h #define HOST_TEXT_START_ADDR (u.start_code) u 51 arch/alpha/include/asm/user.h #define HOST_DATA_START_ADDR (u.start_data) u 52 arch/alpha/include/asm/user.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 41 arch/alpha/kernel/err_impl.h #define EXTRACT(u, f) (((u) >> f##__S) & f##__M) u 14 arch/alpha/math-emu/sfp-util.h #define umul_ppmm(wh, wl, u, v) \ u 18 arch/alpha/math-emu/sfp-util.h : "r" ((UDItype)(u)), \ u 528 arch/arc/include/asm/atomic.h static inline s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) u 545 arch/arc/include/asm/atomic.h : "r"(&v->counter), "r"(a), "r"(u) u 105 arch/arc/include/asm/io.h u##t *buf = ptr; \ u 113 arch/arc/include/asm/io.h u##t x = __raw_read##f(addr); \ u 118 arch/arc/include/asm/io.h u##t x = __raw_read##f(addr); \ u 168 arch/arc/include/asm/io.h const u##t *buf = ptr; \ u 57 arch/arc/include/asm/uaccess.h #define __get_user_fn(sz, u, k) \ u 61 arch/arc/include/asm/uaccess.h case 1: __arc_get_user_one(*(k), u, "ldb", __ret); break; \ u 62 arch/arc/include/asm/uaccess.h case 2: __arc_get_user_one(*(k), u, "ldw", __ret); break; \ u 63 arch/arc/include/asm/uaccess.h case 4: __arc_get_user_one(*(k), u, "ld", __ret); break; \ u 64 arch/arc/include/asm/uaccess.h case 8: __arc_get_user_one_64(*(k), u, __ret); break; \ u 118 arch/arc/include/asm/uaccess.h #define __put_user_fn(sz, u, k) \ u 122 arch/arc/include/asm/uaccess.h case 1: __arc_put_user_one(*(k), u, "stb", __ret); break; \ u 123 arch/arc/include/asm/uaccess.h case 2: __arc_put_user_one(*(k), u, "stw", __ret); break; \ u 124 arch/arc/include/asm/uaccess.h case 4: __arc_put_user_one(*(k), u, "st", __ret); break; \ u 125 arch/arc/include/asm/uaccess.h case 8: __arc_put_user_one_64(*(k), u, __ret); break; \ u 165 arch/arm/boot/compressed/atags_to_fdt.c atag->u.cmdline.cmdline); u 168 arch/arm/boot/compressed/atags_to_fdt.c atag->u.cmdline.cmdline); u 172 arch/arm/boot/compressed/atags_to_fdt.c if (!atag->u.mem.size) u 183 arch/arm/boot/compressed/atags_to_fdt.c cpu_to_fdt64(atag->u.mem.start); u 185 arch/arm/boot/compressed/atags_to_fdt.c cpu_to_fdt64(atag->u.mem.size); u 188 arch/arm/boot/compressed/atags_to_fdt.c cpu_to_fdt32(atag->u.mem.start); u 190 arch/arm/boot/compressed/atags_to_fdt.c cpu_to_fdt32(atag->u.mem.size); u 195 arch/arm/boot/compressed/atags_to_fdt.c initrd_start = atag->u.initrd.start; u 196 arch/arm/boot/compressed/atags_to_fdt.c initrd_size = atag->u.initrd.size; u 203 arch/arm/boot/compressed/atags_to_fdt.c hex_str(serno, atag->u.serialnr.high); u 204 arch/arm/boot/compressed/atags_to_fdt.c hex_str(serno+8, atag->u.serialnr.low); u 130 arch/arm/include/asm/atomic.h static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) u 148 arch/arm/include/asm/atomic.h : "r" (&v->counter), "r" (u), "r" (a) u 151 arch/arm/include/asm/atomic.h if (oldval != u) u 477 arch/arm/include/asm/atomic.h static inline s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) u 497 arch/arm/include/asm/atomic.h : "r" (&v->counter), "r" (u), "r" (a) u 500 arch/arm/include/asm/atomic.h if (oldval != u) u 82 arch/arm/include/asm/user.h #define HOST_TEXT_START_ADDR (u.start_code) u 83 arch/arm/include/asm/user.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 169 arch/arm/include/uapi/asm/setup.h } u; u 86 arch/arm/kernel/atags_compat.c tag->u.mem.size = size; u 87 arch/arm/kernel/atags_compat.c tag->u.mem.start = start; u 121 arch/arm/kernel/atags_compat.c tag->u.core.flags = params->u1.s.flags & FLAG_READONLY; u 122 arch/arm/kernel/atags_compat.c tag->u.core.pagesize = params->u1.s.page_size; u 123 arch/arm/kernel/atags_compat.c tag->u.core.rootdev = params->u1.s.rootdev; u 128 arch/arm/kernel/atags_compat.c tag->u.ramdisk.flags = (params->u1.s.flags & FLAG_RDLOAD ? 1 : 0) | u 130 arch/arm/kernel/atags_compat.c tag->u.ramdisk.size = params->u1.s.ramdisk_size; u 131 arch/arm/kernel/atags_compat.c tag->u.ramdisk.start = params->u1.s.rd_start; u 136 arch/arm/kernel/atags_compat.c tag->u.initrd.start = params->u1.s.initrd_start; u 137 arch/arm/kernel/atags_compat.c tag->u.initrd.size = params->u1.s.initrd_size; u 142 arch/arm/kernel/atags_compat.c tag->u.serialnr.low = params->u1.s.system_serial_low; u 143 arch/arm/kernel/atags_compat.c tag->u.serialnr.high = params->u1.s.system_serial_high; u 148 arch/arm/kernel/atags_compat.c tag->u.revision.rev = params->u1.s.system_rev; u 165 arch/arm/kernel/atags_compat.c tag->u.memclk.fmemclk = params->u1.s.mem_fclk_21285; u 174 arch/arm/kernel/atags_compat.c tag->u.videotext.x = params->u1.s.video_x; u 175 arch/arm/kernel/atags_compat.c tag->u.videotext.y = params->u1.s.video_y; u 176 arch/arm/kernel/atags_compat.c tag->u.videotext.video_page = 0; u 177 arch/arm/kernel/atags_compat.c tag->u.videotext.video_mode = 0; u 178 arch/arm/kernel/atags_compat.c tag->u.videotext.video_cols = params->u1.s.video_num_cols; u 179 arch/arm/kernel/atags_compat.c tag->u.videotext.video_ega_bx = 0; u 180 arch/arm/kernel/atags_compat.c tag->u.videotext.video_lines = params->u1.s.video_num_rows; u 181 arch/arm/kernel/atags_compat.c tag->u.videotext.video_isvga = 1; u 182 arch/arm/kernel/atags_compat.c tag->u.videotext.video_points = 8; u 190 arch/arm/kernel/atags_compat.c tag->u.acorn.memc_control_reg = params->u1.s.memc_control_reg; u 191 arch/arm/kernel/atags_compat.c tag->u.acorn.vram_pages = params->u1.s.pages_in_vram; u 192 arch/arm/kernel/atags_compat.c tag->u.acorn.sounddefault = params->u1.s.sounddefault; u 193 arch/arm/kernel/atags_compat.c tag->u.acorn.adfsdrives = params->u1.s.adfsdrives; u 200 arch/arm/kernel/atags_compat.c strcpy(tag->u.cmdline.cmdline, params->commandline); u 56 arch/arm/kernel/atags_parse.c if ((tag->u.core.flags & 1) == 0) u 58 arch/arm/kernel/atags_parse.c ROOT_DEV = old_decode_dev(tag->u.core.rootdev); u 67 arch/arm/kernel/atags_parse.c return arm_add_memory(tag->u.mem.start, tag->u.mem.size); u 75 arch/arm/kernel/atags_parse.c screen_info.orig_x = tag->u.videotext.x; u 76 arch/arm/kernel/atags_parse.c screen_info.orig_y = tag->u.videotext.y; u 77 arch/arm/kernel/atags_parse.c screen_info.orig_video_page = tag->u.videotext.video_page; u 78 arch/arm/kernel/atags_parse.c screen_info.orig_video_mode = tag->u.videotext.video_mode; u 79 arch/arm/kernel/atags_parse.c screen_info.orig_video_cols = tag->u.videotext.video_cols; u 80 arch/arm/kernel/atags_parse.c screen_info.orig_video_ega_bx = tag->u.videotext.video_ega_bx; u 81 arch/arm/kernel/atags_parse.c screen_info.orig_video_lines = tag->u.videotext.video_lines; u 82 arch/arm/kernel/atags_parse.c screen_info.orig_video_isVGA = tag->u.videotext.video_isvga; u 83 arch/arm/kernel/atags_parse.c screen_info.orig_video_points = tag->u.videotext.video_points; u 93 arch/arm/kernel/atags_parse.c rd_image_start = tag->u.ramdisk.start; u 94 arch/arm/kernel/atags_parse.c rd_doload = (tag->u.ramdisk.flags & 1) == 0; u 95 arch/arm/kernel/atags_parse.c rd_prompt = (tag->u.ramdisk.flags & 2) == 0; u 97 arch/arm/kernel/atags_parse.c if (tag->u.ramdisk.size) u 98 arch/arm/kernel/atags_parse.c rd_size = tag->u.ramdisk.size; u 108 arch/arm/kernel/atags_parse.c system_serial_low = tag->u.serialnr.low; u 109 arch/arm/kernel/atags_parse.c system_serial_high = tag->u.serialnr.high; u 117 arch/arm/kernel/atags_parse.c system_rev = tag->u.revision.rev; u 127 arch/arm/kernel/atags_parse.c strlcat(default_command_line, tag->u.cmdline.cmdline, u 132 arch/arm/kernel/atags_parse.c strlcpy(default_command_line, tag->u.cmdline.cmdline, u 45 arch/arm/mach-footbridge/common.c mem_fclk_21285 = tag->u.memclk.fmemclk; u 661 arch/arm/mach-lpc32xx/lpc32xx.h #define LPC32XX_UART_ENABLED_CLOCK(n, u) (((n) >> (16 + (u))) & 0x1) u 666 arch/arm/mach-lpc32xx/lpc32xx.h #define LPC32XX_UART_CLKMODE_MASK(u) (0x3 << ((((u) - 3) * 2) + 4)) u 667 arch/arm/mach-lpc32xx/lpc32xx.h #define LPC32XX_UART_CLKMODE_LOAD(m, u) ((m) << ((((u) - 3) * 2) + 4)) u 85 arch/arm/mach-omap2/board-generic.c system_rev = tag->u.revision.rev; u 384 arch/arm/mach-orion5x/common.c (!t->u.mem.size || t->u.mem.size & ~PAGE_MASK || u 385 arch/arm/mach-orion5x/common.c t->u.mem.start & ~PAGE_MASK)) { u 388 arch/arm/mach-orion5x/common.c t->u.mem.size / 1024, t->u.mem.start); u 866 arch/arm/mach-pxa/cm-x300.c tags->u.mem.start == 0x80000000) { u 867 arch/arm/mach-pxa/cm-x300.c tags->u.mem.start = 0xa0000000; u 26 arch/arm/mach-pxa/mfp-pxa2xx.c #define __GAFR(u, x) __REG2((u) ? 0x40E00058 : 0x40E00054, (x) << 3) u 121 arch/arm/mach-rpc/include/mach/uncompress.h video_num_rows = t->u.videotext.video_lines; u 122 arch/arm/mach-rpc/include/mach/uncompress.h video_num_cols = t->u.videotext.video_cols; u 123 arch/arm/mach-rpc/include/mach/uncompress.h video_x = t->u.videotext.x; u 124 arch/arm/mach-rpc/include/mach/uncompress.h video_y = t->u.videotext.y; u 126 arch/arm/mach-rpc/include/mach/uncompress.h bytes_per_char_h = t->u.videolfb.lfb_depth; u 130 arch/arm/mach-rpc/include/mach/uncompress.h nr_pages += (t->u.mem.size / PAGE_SIZE); u 43 arch/arm/mach-rpc/riscpc.c memc_ctrl_reg = tag->u.acorn.memc_control_reg; u 44 arch/arm/mach-rpc/riscpc.c number_mfm_drives = tag->u.acorn.adfsdrives; u 46 arch/arm/mach-rpc/riscpc.c switch (tag->u.acorn.vram_pages) { u 294 arch/arm/mm/cache-feroceon-l2.c u32 u; u 296 arch/arm/mm/cache-feroceon-l2.c __asm__("mrc p15, 1, %0, c15, c1, 0" : "=r" (u)); u 298 arch/arm/mm/cache-feroceon-l2.c return u; u 301 arch/arm/mm/cache-feroceon-l2.c static inline void write_extra_features(u32 u) u 303 arch/arm/mm/cache-feroceon-l2.c __asm__("mcr p15, 1, %0, c15, c1, 0" : : "r" (u)); u 308 arch/arm/mm/cache-feroceon-l2.c u32 u; u 314 arch/arm/mm/cache-feroceon-l2.c u = read_extra_features(); u 315 arch/arm/mm/cache-feroceon-l2.c if (!(u & 0x01000000)) { u 317 arch/arm/mm/cache-feroceon-l2.c write_extra_features(u | 0x01000000); u 323 arch/arm/mm/cache-feroceon-l2.c u32 u; u 325 arch/arm/mm/cache-feroceon-l2.c u = read_extra_features(); u 326 arch/arm/mm/cache-feroceon-l2.c if (!(u & 0x00400000)) { u 334 arch/arm/mm/cache-feroceon-l2.c write_extra_features(u | 0x00400000); u 1462 arch/arm/mm/cache-l2x0.c u32 u; u 1464 arch/arm/mm/cache-l2x0.c asm volatile("mrc p15, 1, %0, c15, c2, 0" : "=r" (u)); u 1465 arch/arm/mm/cache-l2x0.c u |= AURORA_CTRL_FW; /* Set the FW bit */ u 1466 arch/arm/mm/cache-l2x0.c asm volatile("mcr p15, 1, %0, c15, c2, 0" : : "r" (u)); u 143 arch/arm/mm/cache-tauros2.c u32 u; u 145 arch/arm/mm/cache-tauros2.c __asm__("mrc p15, 1, %0, c15, c1, 0" : "=r" (u)); u 147 arch/arm/mm/cache-tauros2.c return u; u 150 arch/arm/mm/cache-tauros2.c static inline void __init write_extra_features(u32 u) u 152 arch/arm/mm/cache-tauros2.c __asm__("mcr p15, 1, %0, c15, c1, 0" : : "r" (u)); u 185 arch/arm/mm/cache-tauros2.c u32 u; u 187 arch/arm/mm/cache-tauros2.c u = read_extra_features(); u 190 arch/arm/mm/cache-tauros2.c u &= ~CCR_L2C_PREFETCH_DISABLE; u 192 arch/arm/mm/cache-tauros2.c u |= CCR_L2C_PREFETCH_DISABLE; u 198 arch/arm/mm/cache-tauros2.c u |= CCR_L2C_BURST8_ENABLE; u 200 arch/arm/mm/cache-tauros2.c u &= ~CCR_L2C_BURST8_ENABLE; u 205 arch/arm/mm/cache-tauros2.c write_extra_features(u); u 56 arch/arm/mm/init.c phys_initrd_start = __virt_to_phys(tag->u.initrd.start); u 57 arch/arm/mm/init.c phys_initrd_size = tag->u.initrd.size; u 65 arch/arm/mm/init.c phys_initrd_start = tag->u.initrd.start; u 66 arch/arm/mm/init.c phys_initrd_size = tag->u.initrd.size; u 63 arch/arm/nwfpe/double_cpdo.c union float64_components u; u 65 arch/arm/nwfpe/double_cpdo.c u.f64 = rFm; u 67 arch/arm/nwfpe/double_cpdo.c u.i[0] ^= 0x80000000; u 69 arch/arm/nwfpe/double_cpdo.c u.i[1] ^= 0x80000000; u 72 arch/arm/nwfpe/double_cpdo.c return u.f64; u 77 arch/arm/nwfpe/double_cpdo.c union float64_components u; u 79 arch/arm/nwfpe/double_cpdo.c u.f64 = rFm; u 81 arch/arm/nwfpe/double_cpdo.c u.i[0] &= 0x7fffffff; u 83 arch/arm/nwfpe/double_cpdo.c u.i[1] &= 0x7fffffff; u 86 arch/arm/nwfpe/double_cpdo.c return u.f64; u 98 arch/arm/plat-orion/gpio.c u32 u; u 100 arch/arm/plat-orion/gpio.c u = readl(GPIO_IO_CONF(ochip)); u 102 arch/arm/plat-orion/gpio.c u |= 1 << pin; u 104 arch/arm/plat-orion/gpio.c u &= ~(1 << pin); u 105 arch/arm/plat-orion/gpio.c writel(u, GPIO_IO_CONF(ochip)); u 110 arch/arm/plat-orion/gpio.c u32 u; u 112 arch/arm/plat-orion/gpio.c u = readl(GPIO_OUT(ochip)); u 114 arch/arm/plat-orion/gpio.c u |= 1 << pin; u 116 arch/arm/plat-orion/gpio.c u &= ~(1 << pin); u 117 arch/arm/plat-orion/gpio.c writel(u, GPIO_OUT(ochip)); u 123 arch/arm/plat-orion/gpio.c u32 u; u 125 arch/arm/plat-orion/gpio.c u = readl(GPIO_BLINK_EN(ochip)); u 127 arch/arm/plat-orion/gpio.c u |= 1 << pin; u 129 arch/arm/plat-orion/gpio.c u &= ~(1 << pin); u 130 arch/arm/plat-orion/gpio.c writel(u, GPIO_BLINK_EN(ochip)); u 357 arch/arm/plat-orion/gpio.c u32 u; u 361 arch/arm/plat-orion/gpio.c u = readl(GPIO_IO_CONF(ochip)) & (1 << pin); u 362 arch/arm/plat-orion/gpio.c if (!u) { u 379 arch/arm/plat-orion/gpio.c u = readl(GPIO_IN_POL(ochip)); u 380 arch/arm/plat-orion/gpio.c u &= ~(1 << pin); u 381 arch/arm/plat-orion/gpio.c writel(u, GPIO_IN_POL(ochip)); u 383 arch/arm/plat-orion/gpio.c u = readl(GPIO_IN_POL(ochip)); u 384 arch/arm/plat-orion/gpio.c u |= 1 << pin; u 385 arch/arm/plat-orion/gpio.c writel(u, GPIO_IN_POL(ochip)); u 394 arch/arm/plat-orion/gpio.c u = readl(GPIO_IN_POL(ochip)); u 396 arch/arm/plat-orion/gpio.c u |= 1 << pin; /* falling */ u 398 arch/arm/plat-orion/gpio.c u &= ~(1 << pin); /* rising */ u 399 arch/arm/plat-orion/gpio.c writel(u, GPIO_IN_POL(ochip)); u 77 arch/arm/plat-orion/time.c u32 u; u 89 arch/arm/plat-orion/time.c u = readl(bridge_base + BRIDGE_MASK_OFF); u 90 arch/arm/plat-orion/time.c u |= BRIDGE_INT_TIMER1; u 91 arch/arm/plat-orion/time.c writel(u, bridge_base + BRIDGE_MASK_OFF); u 101 arch/arm/plat-orion/time.c u = readl(timer_base + TIMER_CTRL_OFF); u 102 arch/arm/plat-orion/time.c u = (u & ~TIMER1_RELOAD_EN) | TIMER1_EN; u 103 arch/arm/plat-orion/time.c writel(u, timer_base + TIMER_CTRL_OFF); u 113 arch/arm/plat-orion/time.c u32 u; u 118 arch/arm/plat-orion/time.c u = readl(timer_base + TIMER_CTRL_OFF); u 119 arch/arm/plat-orion/time.c writel(u & ~TIMER1_EN, timer_base + TIMER_CTRL_OFF); u 122 arch/arm/plat-orion/time.c u = readl(bridge_base + BRIDGE_MASK_OFF); u 123 arch/arm/plat-orion/time.c writel(u & ~BRIDGE_INT_TIMER1, bridge_base + BRIDGE_MASK_OFF); u 136 arch/arm/plat-orion/time.c u32 u; u 145 arch/arm/plat-orion/time.c u = readl(bridge_base + BRIDGE_MASK_OFF); u 146 arch/arm/plat-orion/time.c writel(u | BRIDGE_INT_TIMER1, bridge_base + BRIDGE_MASK_OFF); u 149 arch/arm/plat-orion/time.c u = readl(timer_base + TIMER_CTRL_OFF); u 150 arch/arm/plat-orion/time.c writel(u | TIMER1_EN | TIMER1_RELOAD_EN, timer_base + TIMER_CTRL_OFF); u 205 arch/arm/plat-orion/time.c u32 u; u 229 arch/arm/plat-orion/time.c u = readl(bridge_base + BRIDGE_MASK_OFF); u 230 arch/arm/plat-orion/time.c writel(u & ~BRIDGE_INT_TIMER0, bridge_base + BRIDGE_MASK_OFF); u 231 arch/arm/plat-orion/time.c u = readl(timer_base + TIMER_CTRL_OFF); u 232 arch/arm/plat-orion/time.c writel(u | TIMER0_EN | TIMER0_RELOAD_EN, timer_base + TIMER_CTRL_OFF); u 181 arch/arm/plat-samsung/adc.c unsigned v, unsigned u, unsigned *left) u 115 arch/arm/xen/enlighten.c op.u.settime64.mbz = 0; u 116 arch/arm/xen/enlighten.c op.u.settime64.secs = now.tv_sec; u 117 arch/arm/xen/enlighten.c op.u.settime64.nsecs = now.tv_nsec; u 118 arch/arm/xen/enlighten.c op.u.settime64.system_time = timespec64_to_ns(&system_time); u 260 arch/arm64/include/asm/atomic_ll_sc.h static inline u##sz \ u 263 arch/arm64/include/asm/atomic_ll_sc.h u##sz new) \ u 266 arch/arm64/include/asm/atomic_ll_sc.h u##sz oldval; \ u 274 arch/arm64/include/asm/atomic_ll_sc.h old = (u##sz)old; \ u 287 arch/arm64/include/asm/atomic_ll_sc.h [v] "+Q" (*(u##sz *)ptr) \ u 341 arch/arm64/include/asm/atomic_lse.h static __always_inline u##sz \ u 343 arch/arm64/include/asm/atomic_lse.h u##sz old, \ u 344 arch/arm64/include/asm/atomic_lse.h u##sz new) \ u 347 arch/arm64/include/asm/atomic_lse.h register u##sz x1 asm ("x1") = old; \ u 348 arch/arm64/include/asm/atomic_lse.h register u##sz x2 asm ("x2") = new; \ u 22 arch/arm64/include/asm/cmpxchg.h static inline u##sz __xchg_case_##name##sz(u##sz x, volatile void *ptr) \ u 24 arch/arm64/include/asm/cmpxchg.h u##sz ret; \ u 38 arch/arm64/include/asm/cmpxchg.h : "=&r" (ret), "=&r" (tmp), "+Q" (*(u##sz *)ptr) \ u 107 arch/arm64/include/asm/cmpxchg.h static inline u##sz __cmpxchg_case_##name##sz(volatile void *ptr, \ u 108 arch/arm64/include/asm/cmpxchg.h u##sz old, \ u 109 arch/arm64/include/asm/cmpxchg.h u##sz new) \ u 43 arch/arm64/include/asm/percpu.h return READ_ONCE(*(u##sz *)ptr); \ u 48 arch/arm64/include/asm/percpu.h WRITE_ONCE(*(u##sz *)ptr, (u##sz)val); \ u 56 arch/arm64/include/asm/percpu.h u##sz tmp; \ u 68 arch/arm64/include/asm/percpu.h [ptr] "+Q"(*(u##sz *)ptr) \ u 69 arch/arm64/include/asm/percpu.h : [val] "r" ((u##sz)(val))); \ u 73 arch/arm64/include/asm/percpu.h static inline u##sz \ u 77 arch/arm64/include/asm/percpu.h u##sz ret; \ u 90 arch/arm64/include/asm/percpu.h [ptr] "+Q"(*(u##sz *)ptr) \ u 91 arch/arm64/include/asm/percpu.h : [val] "r" ((u##sz)(val))); \ u 8 arch/csky/abiv1/bswapdi.c unsigned long long notrace __bswapdi2(unsigned long long u) u 10 arch/csky/abiv1/bswapdi.c return ___constant_swab64(u); u 8 arch/csky/abiv1/bswapsi.c unsigned int notrace __bswapsi2(unsigned int u) u 10 arch/csky/abiv1/bswapsi.c return ___constant_swab32(u); u 13 arch/csky/include/asm/atomic.h static inline int __atomic_add_unless(atomic_t *v, int a, int u) u 29 arch/csky/include/asm/atomic.h : "r" (a), "r"(&v->counter), "r"(u) u 32 arch/csky/include/asm/atomic.h if (ret != u) u 98 arch/csky/include/asm/atomic.h static inline int __atomic_add_unless(atomic_t *v, int a, int u) u 113 arch/csky/include/asm/atomic.h : "r" (a), "r"(&v->counter), "r"(u) u 85 arch/h8300/include/asm/atomic.h static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) u 92 arch/h8300/include/asm/atomic.h if (ret != u) u 72 arch/h8300/include/asm/user.h #define HOST_TEXT_START_ADDR (u.start_code) u 73 arch/h8300/include/asm/user.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 5 arch/h8300/lib/ashldi3.c __ashldi3(DWtype u, word_type b) u 7 arch/h8300/lib/ashldi3.c const DWunion uu = {.ll = u}; u 12 arch/h8300/lib/ashldi3.c return u; u 4 arch/h8300/lib/ashrdi3.c DWtype __ashrdi3(DWtype u, word_type b) u 6 arch/h8300/lib/ashrdi3.c const DWunion uu = {.ll = u}; u 11 arch/h8300/lib/ashrdi3.c return u; u 4 arch/h8300/lib/lshrdi3.c DWtype __lshrdi3(DWtype u, word_type b) u 6 arch/h8300/lib/lshrdi3.c const DWunion uu = {.ll = u}; u 11 arch/h8300/lib/lshrdi3.c return u; u 8 arch/h8300/lib/muldi3.c #define umul_ppmm(w1, w0, u, v) \ u 12 arch/h8300/lib/muldi3.c __ul = __ll_lowpart(u); \ u 13 arch/h8300/lib/muldi3.c __uh = __ll_highpart(u); \ u 28 arch/h8300/lib/muldi3.c #define __umulsidi3(u, v) ( \ u 31 arch/h8300/lib/muldi3.c umul_ppmm(__w.s.high, __w.s.low, u, v); \ u 35 arch/h8300/lib/muldi3.c DWtype __muldi3(DWtype u, DWtype v) u 37 arch/h8300/lib/muldi3.c const DWunion uu = {.ll = u}; u 162 arch/hexagon/include/asm/atomic.h static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) u 180 arch/hexagon/include/asm/atomic.h : "r" (v), "r" (a), "r" (u) u 156 arch/ia64/include/asm/pal.h u64 u : 1, /* 0 Unified cache ? */ u 202 arch/ia64/include/asm/pal.h #define pcci_unified pcci_info_1.pcci1_bits.u u 53 arch/ia64/include/asm/termios.h #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) u 54 arch/ia64/include/asm/termios.h #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) u 55 arch/ia64/include/asm/termios.h #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) u 56 arch/ia64/include/asm/termios.h #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) u 55 arch/ia64/include/asm/user.h #define HOST_TEXT_START_ADDR (u.start_code) u 56 arch/ia64/include/asm/user.h #define HOST_DATA_START_ADDR (u.start_data) u 57 arch/ia64/include/asm/user.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 62 arch/ia64/include/uapi/asm/fpu.h } u; u 38 arch/ia64/kernel/kprobes.c { u, u, u }, /* 06 */ u 39 arch/ia64/kernel/kprobes.c { u, u, u }, /* 07 */ u 52 arch/ia64/kernel/kprobes.c { u, u, u }, /* 14 */ u 53 arch/ia64/kernel/kprobes.c { u, u, u }, /* 15 */ u 58 arch/ia64/kernel/kprobes.c { u, u, u }, /* 1A */ u 59 arch/ia64/kernel/kprobes.c { u, u, u }, /* 1B */ u 62 arch/ia64/kernel/kprobes.c { u, u, u }, /* 1E */ u 63 arch/ia64/kernel/kprobes.c { u, u, u }, /* 1F */ u 216 arch/ia64/kernel/minstate.h (pUStk) extr.u r17=r18,3,6; \ u 120 arch/ia64/kernel/process.c regs->f6.u.bits[1], regs->f6.u.bits[0], u 121 arch/ia64/kernel/process.c regs->f7.u.bits[1], regs->f7.u.bits[0]); u 123 arch/ia64/kernel/process.c regs->f8.u.bits[1], regs->f8.u.bits[0], u 124 arch/ia64/kernel/process.c regs->f9.u.bits[1], regs->f9.u.bits[0]); u 126 arch/ia64/kernel/process.c regs->f10.u.bits[1], regs->f10.u.bits[0], u 127 arch/ia64/kernel/process.c regs->f11.u.bits[1], regs->f11.u.bits[0]); u 1271 arch/ia64/kernel/ptrace.c } u; u 1527 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, u 1528 arch/ia64/kernel/ptrace.c &dst->u.get.ubuf, u 1547 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, tmp, u 1557 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, &pt->r16, u 1576 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, tmp, u 1597 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, tmp, u 1615 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, u 1616 arch/ia64/kernel/ptrace.c &dst->u.set.ubuf, u 1627 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, tmp, u 1645 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, &pt->r16, u 1656 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, tmp, u 1677 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, tmp, u 1705 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, u 1706 arch/ia64/kernel/ptrace.c &dst->u.get.ubuf, u 1726 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, tmp, u 1738 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, u 1745 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, u 1762 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, u 1763 arch/ia64/kernel/ptrace.c &dst->u.set.ubuf, u 1775 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, tmp, u 1786 arch/ia64/kernel/ptrace.c tmp[start / sizeof(elf_fpreg_t) - 2].u.bits[0] u 1787 arch/ia64/kernel/ptrace.c = fpreg.u.bits[0]; u 1796 arch/ia64/kernel/ptrace.c tmp[end / sizeof(elf_fpreg_t) - 2].u.bits[1] u 1797 arch/ia64/kernel/ptrace.c = fpreg.u.bits[1]; u 1816 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, u 1817 arch/ia64/kernel/ptrace.c &dst->u.set.ubuf, u 1832 arch/ia64/kernel/ptrace.c .u.set = { .kbuf = kbuf, .ubuf = ubuf }, u 36 arch/ia64/kernel/signal.c # define PUT_SIGSET(k,u) __copy_to_user((u)->sig, (k)->sig, sizeof(sigset_t)) u 37 arch/ia64/kernel/signal.c # define GET_SIGSET(k,u) __copy_from_user((k)->sig, (u)->sig, sizeof(sigset_t)) u 39 arch/ia64/kernel/signal.c # define PUT_SIGSET(k,u) __put_user((k)->sig[0], &(u)->sig[0]) u 40 arch/ia64/kernel/signal.c # define GET_SIGSET(k,u) __get_user((k)->sig[0], &(u)->sig[0]) u 1305 arch/ia64/kernel/unaligned.c } u; u 1384 arch/ia64/kernel/unaligned.c case 0: u.l = (bundle[0] >> 5); break; u 1385 arch/ia64/kernel/unaligned.c case 1: u.l = (bundle[0] >> 46) | (bundle[1] << 18); break; u 1386 arch/ia64/kernel/unaligned.c case 2: u.l = (bundle[1] >> 23); break; u 1388 arch/ia64/kernel/unaligned.c opcode = (u.l >> IA64_OPCODE_SHIFT) & IA64_OPCODE_MASK; u 1391 arch/ia64/kernel/unaligned.c "ld.x6=0x%x ld.m=%d ld.op=%d\n", opcode, u.insn.qp, u.insn.r1, u.insn.imm, u 1392 arch/ia64/kernel/unaligned.c u.insn.r3, u.insn.x, u.insn.hint, u.insn.x6_sz, u.insn.m, u.insn.op); u 1431 arch/ia64/kernel/unaligned.c if (u.insn.x) u 1459 arch/ia64/kernel/unaligned.c if (u.insn.x) u 1470 arch/ia64/kernel/unaligned.c ret = emulate_load_int(ifa, u.insn, regs); u 1475 arch/ia64/kernel/unaligned.c if (u.insn.x) u 1481 arch/ia64/kernel/unaligned.c ret = emulate_store_int(ifa, u.insn, regs); u 1488 arch/ia64/kernel/unaligned.c if (u.insn.x) u 1489 arch/ia64/kernel/unaligned.c ret = emulate_load_floatpair(ifa, u.insn, regs); u 1491 arch/ia64/kernel/unaligned.c ret = emulate_load_float(ifa, u.insn, regs); u 1498 arch/ia64/kernel/unaligned.c ret = emulate_load_float(ifa, u.insn, regs); u 1503 arch/ia64/kernel/unaligned.c ret = emulate_store_float(ifa, u.insn, regs); u 55 arch/m68k/include/asm/delay.h #define __const_udelay(u) \ u 56 arch/m68k/include/asm/delay.h __delay(((((u) * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6) u 84 arch/m68k/include/asm/user.h #define HOST_TEXT_START_ADDR (u.start_code) u 85 arch/m68k/include/asm/user.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 35 arch/m68k/lib/ashldi3.c __ashldi3 (DItype u, word_type b) u 42 arch/m68k/lib/ashldi3.c return u; u 44 arch/m68k/lib/ashldi3.c uu.ll = u; u 35 arch/m68k/lib/ashrdi3.c __ashrdi3 (DItype u, word_type b) u 42 arch/m68k/lib/ashrdi3.c return u; u 44 arch/m68k/lib/ashrdi3.c uu.ll = u; u 35 arch/m68k/lib/lshrdi3.c __lshrdi3 (DItype u, word_type b) u 42 arch/m68k/lib/lshrdi3.c return u; u 44 arch/m68k/lib/lshrdi3.c uu.ll = u; u 28 arch/m68k/lib/muldi3.c #define umul_ppmm(w1, w0, u, v) \ u 33 arch/m68k/lib/muldi3.c __ul = __ll_lowpart (u); \ u 34 arch/m68k/lib/muldi3.c __uh = __ll_highpart (u); \ u 54 arch/m68k/lib/muldi3.c #define umul_ppmm(w1, w0, u, v) \ u 58 arch/m68k/lib/muldi3.c : "%0" ((USItype)(u)), \ u 63 arch/m68k/lib/muldi3.c #define __umulsidi3(u, v) \ u 65 arch/m68k/lib/muldi3.c umul_ppmm (__w.s.high, __w.s.low, u, v); \ u 82 arch/m68k/lib/muldi3.c __muldi3 (DItype u, DItype v) u 87 arch/m68k/lib/muldi3.c uu.ll = u, u 6 arch/microblaze/lib/ashldi3.c long long __ashldi3(long long u, word_type b) u 12 arch/microblaze/lib/ashldi3.c return u; u 14 arch/microblaze/lib/ashldi3.c uu.ll = u; u 6 arch/microblaze/lib/ashrdi3.c long long __ashrdi3(long long u, word_type b) u 12 arch/microblaze/lib/ashrdi3.c return u; u 14 arch/microblaze/lib/ashrdi3.c uu.ll = u; u 26 arch/microblaze/lib/libgcc.h extern long long __ashldi3(long long u, word_type b); u 27 arch/microblaze/lib/libgcc.h extern long long __ashrdi3(long long u, word_type b); u 29 arch/microblaze/lib/libgcc.h extern long long __lshrdi3(long long u, word_type b); u 30 arch/microblaze/lib/libgcc.h extern long long __muldi3(long long u, long long v); u 6 arch/microblaze/lib/lshrdi3.c long long __lshrdi3(long long u, word_type b) u 12 arch/microblaze/lib/lshrdi3.c return u; u 14 arch/microblaze/lib/lshrdi3.c uu.ll = u; u 14 arch/microblaze/lib/muldi3.c #define umul_ppmm(w1, w0, u, v) \ u 19 arch/microblaze/lib/muldi3.c __ul = __ll_lowpart(u); \ u 20 arch/microblaze/lib/muldi3.c __uh = __ll_highpart(u); \ u 40 arch/microblaze/lib/muldi3.c #define __umulsidi3(u, v) ({ \ u 42 arch/microblaze/lib/muldi3.c umul_ppmm(__w.s.high, __w.s.low, u, v); \ u 47 arch/microblaze/lib/muldi3.c long long __muldi3(long long u, long long v) u 49 arch/microblaze/lib/muldi3.c const DWunion uu = {.ll = u}; u 233 arch/mips/include/asm/asmmacro.h .macro MFTR rt=0, rd=0, u=0, sel=0 u 237 arch/mips/include/asm/asmmacro.h .macro MTTR rt=0, rd=0, u=0, sel=0 u 137 arch/mips/include/asm/local.h #define local_add_unless(l, a, u) \ u 141 arch/mips/include/asm/local.h while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \ u 143 arch/mips/include/asm/local.h c != (u); \ u 108 arch/mips/include/asm/mach-pmcs-msp71xx/msp_usb.h } u; u 320 arch/mips/include/asm/mipsmtregs.h #define mftr(rt, u, sel) \ u 325 arch/mips/include/asm/mipsmtregs.h " mftr %0, " #rt ", " #u ", " #sel " \n" \ u 359 arch/mips/include/asm/mipsmtregs.h #define mttr(rd, u, sel, v) \ u 362 arch/mips/include/asm/mipsmtregs.h "mttr %0," #rd ", " #u ", " #sel \ u 106 arch/mips/include/asm/processor.h static inline u##width get_fpr##width(union fpureg *fpr, unsigned idx) \ u 112 arch/mips/include/asm/processor.h u##width val) \ u 82 arch/mips/include/asm/termios.h struct termios2 *u) u 84 arch/mips/include/asm/termios.h return copy_from_user(k, u, sizeof(struct termios2)) ? -EFAULT : 0; u 87 arch/mips/include/asm/termios.h static inline int kernel_termios_to_user_termios(struct termios2 __user *u, u 90 arch/mips/include/asm/termios.h return copy_to_user(u, k, sizeof(struct termios2)) ? -EFAULT : 0; u 94 arch/mips/include/asm/termios.h struct termios __user *u) u 96 arch/mips/include/asm/termios.h return copy_from_user(k, u, sizeof(struct termios)) ? -EFAULT : 0; u 99 arch/mips/include/asm/termios.h static inline int kernel_termios_to_user_termios_1(struct termios __user *u, u 102 arch/mips/include/asm/termios.h return copy_to_user(u, k, sizeof(struct termios)) ? -EFAULT : 0; u 119 arch/mips/include/asm/txx9/tx4939.h struct tx4939_le_reg u; u 131 arch/mips/include/asm/txx9/tx4939.h struct tx4939_le_reg u; u 5 arch/mips/lib/bswapdi.c unsigned long long notrace __bswapdi2(unsigned long long u) u 7 arch/mips/lib/bswapdi.c return (((u) & 0xff00000000000000ull) >> 56) | u 8 arch/mips/lib/bswapdi.c (((u) & 0x00ff000000000000ull) >> 40) | u 9 arch/mips/lib/bswapdi.c (((u) & 0x0000ff0000000000ull) >> 24) | u 10 arch/mips/lib/bswapdi.c (((u) & 0x000000ff00000000ull) >> 8) | u 11 arch/mips/lib/bswapdi.c (((u) & 0x00000000ff000000ull) << 8) | u 12 arch/mips/lib/bswapdi.c (((u) & 0x0000000000ff0000ull) << 24) | u 13 arch/mips/lib/bswapdi.c (((u) & 0x000000000000ff00ull) << 40) | u 14 arch/mips/lib/bswapdi.c (((u) & 0x00000000000000ffull) << 56); u 5 arch/mips/lib/bswapsi.c unsigned int notrace __bswapsi2(unsigned int u) u 7 arch/mips/lib/bswapsi.c return (((u) & 0xff000000) >> 24) | u 8 arch/mips/lib/bswapsi.c (((u) & 0x00ff0000) >> 8) | u 9 arch/mips/lib/bswapsi.c (((u) & 0x0000ff00) << 8) | u 10 arch/mips/lib/bswapsi.c (((u) & 0x000000ff) << 24); u 1679 arch/mips/math-emu/cp1emu.c union ieee754sp(*u) (union ieee754sp); u 1708 arch/mips/math-emu/cp1emu.c handler.u = ieee754sp_sqrt; u 1721 arch/mips/math-emu/cp1emu.c handler.u = fpemu_sp_rsqrt; u 1729 arch/mips/math-emu/cp1emu.c handler.u = fpemu_sp_recip; u 1892 arch/mips/math-emu/cp1emu.c handler.u = ieee754sp_abs; u 1897 arch/mips/math-emu/cp1emu.c handler.u = ieee754sp_neg; u 1915 arch/mips/math-emu/cp1emu.c rv.s = (*handler.u) (fs); u 2056 arch/mips/math-emu/cp1emu.c union ieee754dp(*u) (union ieee754dp); u 2084 arch/mips/math-emu/cp1emu.c handler.u = ieee754dp_sqrt; u 2096 arch/mips/math-emu/cp1emu.c handler.u = fpemu_dp_rsqrt; u 2103 arch/mips/math-emu/cp1emu.c handler.u = fpemu_dp_recip; u 2263 arch/mips/math-emu/cp1emu.c handler.u = ieee754dp_abs; u 2268 arch/mips/math-emu/cp1emu.c handler.u = ieee754dp_neg; u 2286 arch/mips/math-emu/cp1emu.c rv.d = (*handler.u) (fs); u 88 arch/nds32/include/asm/sfp-machine.h #define umul_ppmm(w1, w0, u, v) \ u 93 arch/nds32/include/asm/sfp-machine.h __ul = __ll_lowpart(u); \ u 94 arch/nds32/include/asm/sfp-machine.h __uh = __ll_highpart(u); \ u 103 arch/openrisc/include/asm/atomic.h static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) u 117 arch/openrisc/include/asm/atomic.h : "r"(&v->counter), "r"(a), "r"(u) u 135 arch/parisc/include/asm/assembly.h extrd,u \r, 63-(\sa), 64-(\sa), \t u 47 arch/parisc/include/asm/termios.h #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) u 48 arch/parisc/include/asm/termios.h #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) u 49 arch/parisc/include/asm/termios.h #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) u 50 arch/parisc/include/asm/termios.h #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) u 237 arch/parisc/kernel/pci-dma.c u##size *res_ptr = (u##size *)&(pcxl_res_map[pcxl_res_hint & ~((size >> 3) - 1)]); \ u 238 arch/parisc/kernel/pci-dma.c u##size *res_end = (u##size *)&pcxl_res_map[pcxl_res_size]; \ u 240 arch/parisc/kernel/pci-dma.c res_ptr = (u##size *)&pcxl_res_map[0]; \ u 293 arch/parisc/kernel/pci-dma.c u##size *res_ptr = (u##size *)&(pcxl_res_map[(idx) + (((size >> 3) - 1) & (~((size >> 3) - 1)))]); \ u 69 arch/parisc/kernel/pci.c u##size in##type (int addr) \ u 73 arch/parisc/kernel/pci.c if (!parisc_pci_hba[b]) return (u##size) -1; \ u 84 arch/parisc/kernel/pci.c void out##type (u##size d, int addr) \ u 400 arch/parisc/kernel/ptrace.c __u64 __user *u = ubuf; u 411 arch/parisc/kernel/ptrace.c if (__put_user(regs->fr[pos++], u++)) u 415 arch/parisc/kernel/ptrace.c ubuf = u; u 429 arch/parisc/kernel/ptrace.c const __u64 __user *u = ubuf; u 440 arch/parisc/kernel/ptrace.c if (__get_user(reg, u++)) u 446 arch/parisc/kernel/ptrace.c ubuf = u; u 536 arch/parisc/kernel/ptrace.c unsigned long __user *u = ubuf; u 547 arch/parisc/kernel/ptrace.c if (__put_user(get_reg(regs, pos++), u++)) u 550 arch/parisc/kernel/ptrace.c ubuf = u; u 564 arch/parisc/kernel/ptrace.c const unsigned long __user *u = ubuf; u 575 arch/parisc/kernel/ptrace.c if (__get_user(reg, u++)) u 581 arch/parisc/kernel/ptrace.c ubuf = u; u 616 arch/parisc/kernel/ptrace.c compat_ulong_t __user *u = ubuf; u 627 arch/parisc/kernel/ptrace.c if (__put_user((compat_ulong_t) get_reg(regs, pos++), u++)) u 631 arch/parisc/kernel/ptrace.c ubuf = u; u 645 arch/parisc/kernel/ptrace.c const compat_ulong_t __user *u = ubuf; u 656 arch/parisc/kernel/ptrace.c if (__get_user(reg, u++)) u 662 arch/parisc/kernel/ptrace.c ubuf = u; u 213 arch/powerpc/include/asm/atomic.h static __inline__ int atomic_fetch_add_unless(atomic_t *v, int a, int u) u 230 arch/powerpc/include/asm/atomic.h : "r" (&v->counter), "r" (a), "r" (u) u 505 arch/powerpc/include/asm/atomic.h static __inline__ s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) u 521 arch/powerpc/include/asm/atomic.h : "r" (&v->counter), "r" (a), "r" (u) u 57 arch/powerpc/include/asm/hvsi.h } u; u 105 arch/powerpc/include/asm/io.h static inline u##size name(const volatile u##size __iomem *addr) \ u 107 arch/powerpc/include/asm/io.h u##size ret; \ u 114 arch/powerpc/include/asm/io.h static inline void name(volatile u##size __iomem *addr, u##size val) \ u 122 arch/powerpc/include/asm/io.h static inline u##size name(const volatile u##size __iomem *addr) \ u 124 arch/powerpc/include/asm/io.h u##size ret; \ u 131 arch/powerpc/include/asm/io.h static inline void name(volatile u##size __iomem *addr, u##size val) \ u 927 arch/powerpc/include/asm/kvm_ppc.h static inline u##size kvmppc_get_##reg(struct kvm_vcpu *vcpu) \ u 936 arch/powerpc/include/asm/kvm_ppc.h static inline void kvmppc_set_##reg(struct kvm_vcpu *vcpu, u##size val) \ u 115 arch/powerpc/include/asm/local.h static __inline__ int local_add_unless(local_t *l, long a, long u) u 121 arch/powerpc/include/asm/local.h if (l->v != u) { u 185 arch/powerpc/include/asm/mce.h } u; u 198 arch/powerpc/include/asm/mce.h } u; u 530 arch/powerpc/include/asm/opal-api.h } u; u 635 arch/powerpc/include/asm/opal-api.h } u; u 637 arch/powerpc/include/asm/opal-api.h } u; u 28 arch/powerpc/include/asm/pmac_pfunc.h } u[4]; u 302 arch/powerpc/include/asm/spu.h } u; u 49 arch/powerpc/include/asm/user.h #define HOST_TEXT_START_ADDR (u.start_code) u 50 arch/powerpc/include/asm/user.h #define HOST_DATA_START_ADDR (u.start_data) u 51 arch/powerpc/include/asm/user.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 276 arch/powerpc/include/uapi/asm/kvm.h } u; u 35 arch/powerpc/include/uapi/asm/types.h __u32 u[4]; u 56 arch/powerpc/kernel/mce.c mce->u.ue_error.ue_error_type = mce_err->u.ue_error_type; u 59 arch/powerpc/kernel/mce.c mce->u.slb_error.slb_error_type = mce_err->u.slb_error_type; u 62 arch/powerpc/kernel/mce.c mce->u.erat_error.erat_error_type = mce_err->u.erat_error_type; u 65 arch/powerpc/kernel/mce.c mce->u.tlb_error.tlb_error_type = mce_err->u.tlb_error_type; u 68 arch/powerpc/kernel/mce.c mce->u.user_error.user_error_type = mce_err->u.user_error_type; u 71 arch/powerpc/kernel/mce.c mce->u.ra_error.ra_error_type = mce_err->u.ra_error_type; u 74 arch/powerpc/kernel/mce.c mce->u.link_error.link_error_type = mce_err->u.link_error_type; u 129 arch/powerpc/kernel/mce.c mce->u.tlb_error.effective_address_provided = true; u 130 arch/powerpc/kernel/mce.c mce->u.tlb_error.effective_address = addr; u 132 arch/powerpc/kernel/mce.c mce->u.slb_error.effective_address_provided = true; u 133 arch/powerpc/kernel/mce.c mce->u.slb_error.effective_address = addr; u 135 arch/powerpc/kernel/mce.c mce->u.erat_error.effective_address_provided = true; u 136 arch/powerpc/kernel/mce.c mce->u.erat_error.effective_address = addr; u 138 arch/powerpc/kernel/mce.c mce->u.user_error.effective_address_provided = true; u 139 arch/powerpc/kernel/mce.c mce->u.user_error.effective_address = addr; u 141 arch/powerpc/kernel/mce.c mce->u.ra_error.effective_address_provided = true; u 142 arch/powerpc/kernel/mce.c mce->u.ra_error.effective_address = addr; u 144 arch/powerpc/kernel/mce.c mce->u.link_error.effective_address_provided = true; u 145 arch/powerpc/kernel/mce.c mce->u.link_error.effective_address = addr; u 147 arch/powerpc/kernel/mce.c mce->u.ue_error.effective_address_provided = true; u 148 arch/powerpc/kernel/mce.c mce->u.ue_error.effective_address = addr; u 150 arch/powerpc/kernel/mce.c mce->u.ue_error.physical_address_provided = true; u 151 arch/powerpc/kernel/mce.c mce->u.ue_error.physical_address = phys_addr; u 152 arch/powerpc/kernel/mce.c mce->u.ue_error.ignore_event = mce_err->ignore_event; u 276 arch/powerpc/kernel/mce.c if (evt->u.ue_error.ignore_event) { u 281 arch/powerpc/kernel/mce.c if (evt->u.ue_error.physical_address_provided) { u 284 arch/powerpc/kernel/mce.c pfn = evt->u.ue_error.physical_address >> u 316 arch/powerpc/kernel/mce.c evt->u.ue_error.ignore_event) { u 438 arch/powerpc/kernel/mce.c subtype = evt->u.ue_error.ue_error_type < u 440 arch/powerpc/kernel/mce.c mc_ue_types[evt->u.ue_error.ue_error_type] u 442 arch/powerpc/kernel/mce.c if (evt->u.ue_error.effective_address_provided) u 443 arch/powerpc/kernel/mce.c ea = evt->u.ue_error.effective_address; u 444 arch/powerpc/kernel/mce.c if (evt->u.ue_error.physical_address_provided) u 445 arch/powerpc/kernel/mce.c pa = evt->u.ue_error.physical_address; u 449 arch/powerpc/kernel/mce.c subtype = evt->u.slb_error.slb_error_type < u 451 arch/powerpc/kernel/mce.c mc_slb_types[evt->u.slb_error.slb_error_type] u 453 arch/powerpc/kernel/mce.c if (evt->u.slb_error.effective_address_provided) u 454 arch/powerpc/kernel/mce.c ea = evt->u.slb_error.effective_address; u 458 arch/powerpc/kernel/mce.c subtype = evt->u.erat_error.erat_error_type < u 460 arch/powerpc/kernel/mce.c mc_erat_types[evt->u.erat_error.erat_error_type] u 462 arch/powerpc/kernel/mce.c if (evt->u.erat_error.effective_address_provided) u 463 arch/powerpc/kernel/mce.c ea = evt->u.erat_error.effective_address; u 467 arch/powerpc/kernel/mce.c subtype = evt->u.tlb_error.tlb_error_type < u 469 arch/powerpc/kernel/mce.c mc_tlb_types[evt->u.tlb_error.tlb_error_type] u 471 arch/powerpc/kernel/mce.c if (evt->u.tlb_error.effective_address_provided) u 472 arch/powerpc/kernel/mce.c ea = evt->u.tlb_error.effective_address; u 476 arch/powerpc/kernel/mce.c subtype = evt->u.user_error.user_error_type < u 478 arch/powerpc/kernel/mce.c mc_user_types[evt->u.user_error.user_error_type] u 480 arch/powerpc/kernel/mce.c if (evt->u.user_error.effective_address_provided) u 481 arch/powerpc/kernel/mce.c ea = evt->u.user_error.effective_address; u 485 arch/powerpc/kernel/mce.c subtype = evt->u.ra_error.ra_error_type < u 487 arch/powerpc/kernel/mce.c mc_ra_types[evt->u.ra_error.ra_error_type] u 489 arch/powerpc/kernel/mce.c if (evt->u.ra_error.effective_address_provided) u 490 arch/powerpc/kernel/mce.c ea = evt->u.ra_error.effective_address; u 494 arch/powerpc/kernel/mce.c subtype = evt->u.link_error.link_error_type < u 496 arch/powerpc/kernel/mce.c mc_link_types[evt->u.link_error.link_error_type] u 498 arch/powerpc/kernel/mce.c if (evt->u.link_error.effective_address_provided) u 499 arch/powerpc/kernel/mce.c ea = evt->u.link_error.effective_address; u 429 arch/powerpc/kernel/mce_power.c mce_err->u.ue_error_type = table[i].error_subtype; u 432 arch/powerpc/kernel/mce_power.c mce_err->u.slb_error_type = table[i].error_subtype; u 435 arch/powerpc/kernel/mce_power.c mce_err->u.erat_error_type = table[i].error_subtype; u 438 arch/powerpc/kernel/mce_power.c mce_err->u.tlb_error_type = table[i].error_subtype; u 441 arch/powerpc/kernel/mce_power.c mce_err->u.user_error_type = table[i].error_subtype; u 444 arch/powerpc/kernel/mce_power.c mce_err->u.ra_error_type = table[i].error_subtype; u 447 arch/powerpc/kernel/mce_power.c mce_err->u.link_error_type = table[i].error_subtype; u 527 arch/powerpc/kernel/mce_power.c mce_err->u.ue_error_type = table[i].error_subtype; u 530 arch/powerpc/kernel/mce_power.c mce_err->u.slb_error_type = table[i].error_subtype; u 533 arch/powerpc/kernel/mce_power.c mce_err->u.erat_error_type = table[i].error_subtype; u 536 arch/powerpc/kernel/mce_power.c mce_err->u.tlb_error_type = table[i].error_subtype; u 539 arch/powerpc/kernel/mce_power.c mce_err->u.user_error_type = table[i].error_subtype; u 542 arch/powerpc/kernel/mce_power.c mce_err->u.ra_error_type = table[i].error_subtype; u 545 arch/powerpc/kernel/mce_power.c mce_err->u.link_error_type = table[i].error_subtype; u 1795 arch/powerpc/kernel/process.c current->thread.vr_state.vscr.u[3] = 0x00010000; /* Java mode disabled */ u 2026 arch/powerpc/kernel/ptrace.c compat_ulong_t __user *u = ubuf; u 2037 arch/powerpc/kernel/ptrace.c if (__put_user((compat_ulong_t) regs[pos++], u++)) u 2044 arch/powerpc/kernel/ptrace.c else if (__put_user(reg, u++)) u 2055 arch/powerpc/kernel/ptrace.c if (__put_user((compat_ulong_t) regs[pos++], u++)) u 2059 arch/powerpc/kernel/ptrace.c ubuf = u; u 2073 arch/powerpc/kernel/ptrace.c const compat_ulong_t __user *u = ubuf; u 2084 arch/powerpc/kernel/ptrace.c if (__get_user(reg, u++)) u 2093 arch/powerpc/kernel/ptrace.c else if (__get_user(reg, u++)) u 2107 arch/powerpc/kernel/ptrace.c if (__get_user(reg, u++)) u 2112 arch/powerpc/kernel/ptrace.c if (__get_user(reg, u++)) u 2119 arch/powerpc/kernel/ptrace.c else if (__get_user(reg, u++)) u 2127 arch/powerpc/kernel/ptrace.c ubuf = u; u 2067 arch/powerpc/kernel/traps.c current->thread.vr_state.vscr.u[3] |= 0x10000; u 294 arch/powerpc/kernel/vecemu.c vrs[vd].u[i] = eexp2(vrs[vb].u[i]); u 298 arch/powerpc/kernel/vecemu.c vrs[vd].u[i] = elog2(vrs[vb].u[i]); u 302 arch/powerpc/kernel/vecemu.c vrs[vd].u[i] = rfin(vrs[vb].u[i]); u 306 arch/powerpc/kernel/vecemu.c vrs[vd].u[i] = rfiz(vrs[vb].u[i]); u 310 arch/powerpc/kernel/vecemu.c u32 x = vrs[vb].u[i]; u 312 arch/powerpc/kernel/vecemu.c vrs[vd].u[i] = x; u 317 arch/powerpc/kernel/vecemu.c u32 x = vrs[vb].u[i]; u 319 arch/powerpc/kernel/vecemu.c vrs[vd].u[i] = x; u 324 arch/powerpc/kernel/vecemu.c vrs[vd].u[i] = ctuxs(vrs[vb].u[i], va, u 325 arch/powerpc/kernel/vecemu.c ¤t->thread.vr_state.vscr.u[3]); u 329 arch/powerpc/kernel/vecemu.c vrs[vd].u[i] = ctsxs(vrs[vb].u[i], va, u 330 arch/powerpc/kernel/vecemu.c ¤t->thread.vr_state.vscr.u[3]); u 1545 arch/powerpc/kvm/book3s_hv.c sregs->u.s.ppc64.slb[i].slbe = vcpu->arch.slb[i].orige; u 1546 arch/powerpc/kvm/book3s_hv.c sregs->u.s.ppc64.slb[i].slbv = vcpu->arch.slb[i].origv; u 1563 arch/powerpc/kvm/book3s_hv.c if (sregs->u.s.ppc64.slb[i].slbe & SLB_ESID_V) { u 1564 arch/powerpc/kvm/book3s_hv.c vcpu->arch.slb[j].orige = sregs->u.s.ppc64.slb[i].slbe; u 1565 arch/powerpc/kvm/book3s_hv.c vcpu->arch.slb[j].origv = sregs->u.s.ppc64.slb[i].slbv; u 1811 arch/powerpc/kvm/book3s_hv.c *val = get_reg_val(id, vcpu->arch.vr_tm.vscr.u[3]); u 2040 arch/powerpc/kvm/book3s_hv.c vcpu->arch.vr.vscr.u[3] = set_reg_val(id, *val); u 1447 arch/powerpc/kvm/book3s_pr.c sregs->u.s.sdr1 = to_book3s(vcpu)->sdr1; u 1450 arch/powerpc/kvm/book3s_pr.c sregs->u.s.ppc64.slb[i].slbe = vcpu->arch.slb[i].orige | i; u 1451 arch/powerpc/kvm/book3s_pr.c sregs->u.s.ppc64.slb[i].slbv = vcpu->arch.slb[i].origv; u 1455 arch/powerpc/kvm/book3s_pr.c sregs->u.s.ppc32.sr[i] = kvmppc_get_sr(vcpu, i); u 1458 arch/powerpc/kvm/book3s_pr.c sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw; u 1459 arch/powerpc/kvm/book3s_pr.c sregs->u.s.ppc32.dbat[i] = vcpu3s->dbat[i].raw; u 1474 arch/powerpc/kvm/book3s_pr.c vcpu3s->sdr1 = sregs->u.s.sdr1; u 1482 arch/powerpc/kvm/book3s_pr.c u64 rb = sregs->u.s.ppc64.slb[i].slbe; u 1483 arch/powerpc/kvm/book3s_pr.c u64 rs = sregs->u.s.ppc64.slb[i].slbv; u 1492 arch/powerpc/kvm/book3s_pr.c vcpu->arch.mmu.mtsrin(vcpu, i, sregs->u.s.ppc32.sr[i]); u 1496 arch/powerpc/kvm/book3s_pr.c (u32)sregs->u.s.ppc32.ibat[i]); u 1498 arch/powerpc/kvm/book3s_pr.c (u32)(sregs->u.s.ppc32.ibat[i] >> 32)); u 1500 arch/powerpc/kvm/book3s_pr.c (u32)sregs->u.s.ppc32.dbat[i]); u 1502 arch/powerpc/kvm/book3s_pr.c (u32)(sregs->u.s.ppc32.dbat[i] >> 32)); u 1593 arch/powerpc/kvm/book3s_pr.c *val = get_reg_val(id, vcpu->arch.vr_tm.vscr.u[3]); u 1692 arch/powerpc/kvm/book3s_pr.c vcpu->arch.vr.vscr.u[3] = set_reg_val(id, *val); u 1496 arch/powerpc/kvm/booke.c sregs->u.e.features |= KVM_SREGS_E_BASE; u 1498 arch/powerpc/kvm/booke.c sregs->u.e.csrr0 = vcpu->arch.csrr0; u 1499 arch/powerpc/kvm/booke.c sregs->u.e.csrr1 = vcpu->arch.csrr1; u 1500 arch/powerpc/kvm/booke.c sregs->u.e.mcsr = vcpu->arch.mcsr; u 1501 arch/powerpc/kvm/booke.c sregs->u.e.esr = kvmppc_get_esr(vcpu); u 1502 arch/powerpc/kvm/booke.c sregs->u.e.dear = kvmppc_get_dar(vcpu); u 1503 arch/powerpc/kvm/booke.c sregs->u.e.tsr = vcpu->arch.tsr; u 1504 arch/powerpc/kvm/booke.c sregs->u.e.tcr = vcpu->arch.tcr; u 1505 arch/powerpc/kvm/booke.c sregs->u.e.dec = kvmppc_get_dec(vcpu, tb); u 1506 arch/powerpc/kvm/booke.c sregs->u.e.tb = tb; u 1507 arch/powerpc/kvm/booke.c sregs->u.e.vrsave = vcpu->arch.vrsave; u 1513 arch/powerpc/kvm/booke.c if (!(sregs->u.e.features & KVM_SREGS_E_BASE)) u 1516 arch/powerpc/kvm/booke.c vcpu->arch.csrr0 = sregs->u.e.csrr0; u 1517 arch/powerpc/kvm/booke.c vcpu->arch.csrr1 = sregs->u.e.csrr1; u 1518 arch/powerpc/kvm/booke.c vcpu->arch.mcsr = sregs->u.e.mcsr; u 1519 arch/powerpc/kvm/booke.c kvmppc_set_esr(vcpu, sregs->u.e.esr); u 1520 arch/powerpc/kvm/booke.c kvmppc_set_dar(vcpu, sregs->u.e.dear); u 1521 arch/powerpc/kvm/booke.c vcpu->arch.vrsave = sregs->u.e.vrsave; u 1522 arch/powerpc/kvm/booke.c kvmppc_set_tcr(vcpu, sregs->u.e.tcr); u 1524 arch/powerpc/kvm/booke.c if (sregs->u.e.update_special & KVM_SREGS_E_UPDATE_DEC) { u 1525 arch/powerpc/kvm/booke.c vcpu->arch.dec = sregs->u.e.dec; u 1529 arch/powerpc/kvm/booke.c if (sregs->u.e.update_special & KVM_SREGS_E_UPDATE_TSR) u 1530 arch/powerpc/kvm/booke.c kvmppc_set_tsr(vcpu, sregs->u.e.tsr); u 1538 arch/powerpc/kvm/booke.c sregs->u.e.features |= KVM_SREGS_E_ARCH206; u 1540 arch/powerpc/kvm/booke.c sregs->u.e.pir = vcpu->vcpu_id; u 1541 arch/powerpc/kvm/booke.c sregs->u.e.mcsrr0 = vcpu->arch.mcsrr0; u 1542 arch/powerpc/kvm/booke.c sregs->u.e.mcsrr1 = vcpu->arch.mcsrr1; u 1543 arch/powerpc/kvm/booke.c sregs->u.e.decar = vcpu->arch.decar; u 1544 arch/powerpc/kvm/booke.c sregs->u.e.ivpr = vcpu->arch.ivpr; u 1550 arch/powerpc/kvm/booke.c if (!(sregs->u.e.features & KVM_SREGS_E_ARCH206)) u 1553 arch/powerpc/kvm/booke.c if (sregs->u.e.pir != vcpu->vcpu_id) u 1556 arch/powerpc/kvm/booke.c vcpu->arch.mcsrr0 = sregs->u.e.mcsrr0; u 1557 arch/powerpc/kvm/booke.c vcpu->arch.mcsrr1 = sregs->u.e.mcsrr1; u 1558 arch/powerpc/kvm/booke.c vcpu->arch.decar = sregs->u.e.decar; u 1559 arch/powerpc/kvm/booke.c vcpu->arch.ivpr = sregs->u.e.ivpr; u 1566 arch/powerpc/kvm/booke.c sregs->u.e.features |= KVM_SREGS_E_IVOR; u 1568 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[0] = vcpu->arch.ivor[BOOKE_IRQPRIO_CRITICAL]; u 1569 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[1] = vcpu->arch.ivor[BOOKE_IRQPRIO_MACHINE_CHECK]; u 1570 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[2] = vcpu->arch.ivor[BOOKE_IRQPRIO_DATA_STORAGE]; u 1571 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[3] = vcpu->arch.ivor[BOOKE_IRQPRIO_INST_STORAGE]; u 1572 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[4] = vcpu->arch.ivor[BOOKE_IRQPRIO_EXTERNAL]; u 1573 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[5] = vcpu->arch.ivor[BOOKE_IRQPRIO_ALIGNMENT]; u 1574 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[6] = vcpu->arch.ivor[BOOKE_IRQPRIO_PROGRAM]; u 1575 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[7] = vcpu->arch.ivor[BOOKE_IRQPRIO_FP_UNAVAIL]; u 1576 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[8] = vcpu->arch.ivor[BOOKE_IRQPRIO_SYSCALL]; u 1577 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[9] = vcpu->arch.ivor[BOOKE_IRQPRIO_AP_UNAVAIL]; u 1578 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[10] = vcpu->arch.ivor[BOOKE_IRQPRIO_DECREMENTER]; u 1579 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[11] = vcpu->arch.ivor[BOOKE_IRQPRIO_FIT]; u 1580 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[12] = vcpu->arch.ivor[BOOKE_IRQPRIO_WATCHDOG]; u 1581 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[13] = vcpu->arch.ivor[BOOKE_IRQPRIO_DTLB_MISS]; u 1582 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[14] = vcpu->arch.ivor[BOOKE_IRQPRIO_ITLB_MISS]; u 1583 arch/powerpc/kvm/booke.c sregs->u.e.ivor_low[15] = vcpu->arch.ivor[BOOKE_IRQPRIO_DEBUG]; u 1589 arch/powerpc/kvm/booke.c if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) u 1592 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_CRITICAL] = sregs->u.e.ivor_low[0]; u 1593 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_MACHINE_CHECK] = sregs->u.e.ivor_low[1]; u 1594 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_DATA_STORAGE] = sregs->u.e.ivor_low[2]; u 1595 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_INST_STORAGE] = sregs->u.e.ivor_low[3]; u 1596 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_EXTERNAL] = sregs->u.e.ivor_low[4]; u 1597 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_ALIGNMENT] = sregs->u.e.ivor_low[5]; u 1598 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_PROGRAM] = sregs->u.e.ivor_low[6]; u 1599 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_FP_UNAVAIL] = sregs->u.e.ivor_low[7]; u 1600 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_SYSCALL] = sregs->u.e.ivor_low[8]; u 1601 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_AP_UNAVAIL] = sregs->u.e.ivor_low[9]; u 1602 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_DECREMENTER] = sregs->u.e.ivor_low[10]; u 1603 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_FIT] = sregs->u.e.ivor_low[11]; u 1604 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_WATCHDOG] = sregs->u.e.ivor_low[12]; u 1605 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_DTLB_MISS] = sregs->u.e.ivor_low[13]; u 1606 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_ITLB_MISS] = sregs->u.e.ivor_low[14]; u 1607 arch/powerpc/kvm/booke.c vcpu->arch.ivor[BOOKE_IRQPRIO_DEBUG] = sregs->u.e.ivor_low[15]; u 366 arch/powerpc/kvm/e500.c sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_SPE | u 368 arch/powerpc/kvm/e500.c sregs->u.e.impl_id = KVM_SREGS_E_IMPL_FSL; u 370 arch/powerpc/kvm/e500.c sregs->u.e.impl.fsl.features = 0; u 371 arch/powerpc/kvm/e500.c sregs->u.e.impl.fsl.svr = vcpu_e500->svr; u 372 arch/powerpc/kvm/e500.c sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; u 373 arch/powerpc/kvm/e500.c sregs->u.e.impl.fsl.mcar = vcpu_e500->mcar; u 375 arch/powerpc/kvm/e500.c sregs->u.e.ivor_high[0] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_UNAVAIL]; u 376 arch/powerpc/kvm/e500.c sregs->u.e.ivor_high[1] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_DATA]; u 377 arch/powerpc/kvm/e500.c sregs->u.e.ivor_high[2] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_ROUND]; u 378 arch/powerpc/kvm/e500.c sregs->u.e.ivor_high[3] = u 392 arch/powerpc/kvm/e500.c if (sregs->u.e.impl_id == KVM_SREGS_E_IMPL_FSL) { u 393 arch/powerpc/kvm/e500.c vcpu_e500->svr = sregs->u.e.impl.fsl.svr; u 394 arch/powerpc/kvm/e500.c vcpu_e500->hid0 = sregs->u.e.impl.fsl.hid0; u 395 arch/powerpc/kvm/e500.c vcpu_e500->mcar = sregs->u.e.impl.fsl.mcar; u 402 arch/powerpc/kvm/e500.c if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) u 405 arch/powerpc/kvm/e500.c if (sregs->u.e.features & KVM_SREGS_E_SPE) { u 407 arch/powerpc/kvm/e500.c sregs->u.e.ivor_high[0]; u 409 arch/powerpc/kvm/e500.c sregs->u.e.ivor_high[1]; u 411 arch/powerpc/kvm/e500.c sregs->u.e.ivor_high[2]; u 414 arch/powerpc/kvm/e500.c if (sregs->u.e.features & KVM_SREGS_E_PM) { u 416 arch/powerpc/kvm/e500.c sregs->u.e.ivor_high[3]; u 573 arch/powerpc/kvm/e500_mmu.c sregs->u.e.mas0 = vcpu->arch.shared->mas0; u 574 arch/powerpc/kvm/e500_mmu.c sregs->u.e.mas1 = vcpu->arch.shared->mas1; u 575 arch/powerpc/kvm/e500_mmu.c sregs->u.e.mas2 = vcpu->arch.shared->mas2; u 576 arch/powerpc/kvm/e500_mmu.c sregs->u.e.mas7_3 = vcpu->arch.shared->mas7_3; u 577 arch/powerpc/kvm/e500_mmu.c sregs->u.e.mas4 = vcpu->arch.shared->mas4; u 578 arch/powerpc/kvm/e500_mmu.c sregs->u.e.mas6 = vcpu->arch.shared->mas6; u 580 arch/powerpc/kvm/e500_mmu.c sregs->u.e.mmucfg = vcpu->arch.mmucfg; u 581 arch/powerpc/kvm/e500_mmu.c sregs->u.e.tlbcfg[0] = vcpu->arch.tlbcfg[0]; u 582 arch/powerpc/kvm/e500_mmu.c sregs->u.e.tlbcfg[1] = vcpu->arch.tlbcfg[1]; u 583 arch/powerpc/kvm/e500_mmu.c sregs->u.e.tlbcfg[2] = 0; u 584 arch/powerpc/kvm/e500_mmu.c sregs->u.e.tlbcfg[3] = 0; u 589 arch/powerpc/kvm/e500_mmu.c if (sregs->u.e.features & KVM_SREGS_E_ARCH206_MMU) { u 590 arch/powerpc/kvm/e500_mmu.c vcpu->arch.shared->mas0 = sregs->u.e.mas0; u 591 arch/powerpc/kvm/e500_mmu.c vcpu->arch.shared->mas1 = sregs->u.e.mas1; u 592 arch/powerpc/kvm/e500_mmu.c vcpu->arch.shared->mas2 = sregs->u.e.mas2; u 593 arch/powerpc/kvm/e500_mmu.c vcpu->arch.shared->mas7_3 = sregs->u.e.mas7_3; u 594 arch/powerpc/kvm/e500_mmu.c vcpu->arch.shared->mas4 = sregs->u.e.mas4; u 595 arch/powerpc/kvm/e500_mmu.c vcpu->arch.shared->mas6 = sregs->u.e.mas6; u 219 arch/powerpc/kvm/e500mc.c sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_PM | u 221 arch/powerpc/kvm/e500mc.c sregs->u.e.impl_id = KVM_SREGS_E_IMPL_FSL; u 223 arch/powerpc/kvm/e500mc.c sregs->u.e.impl.fsl.features = 0; u 224 arch/powerpc/kvm/e500mc.c sregs->u.e.impl.fsl.svr = vcpu_e500->svr; u 225 arch/powerpc/kvm/e500mc.c sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; u 226 arch/powerpc/kvm/e500mc.c sregs->u.e.impl.fsl.mcar = vcpu_e500->mcar; u 230 arch/powerpc/kvm/e500mc.c sregs->u.e.ivor_high[3] = u 232 arch/powerpc/kvm/e500mc.c sregs->u.e.ivor_high[4] = vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL]; u 233 arch/powerpc/kvm/e500mc.c sregs->u.e.ivor_high[5] = vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL_CRIT]; u 244 arch/powerpc/kvm/e500mc.c if (sregs->u.e.impl_id == KVM_SREGS_E_IMPL_FSL) { u 245 arch/powerpc/kvm/e500mc.c vcpu_e500->svr = sregs->u.e.impl.fsl.svr; u 246 arch/powerpc/kvm/e500mc.c vcpu_e500->hid0 = sregs->u.e.impl.fsl.hid0; u 247 arch/powerpc/kvm/e500mc.c vcpu_e500->mcar = sregs->u.e.impl.fsl.mcar; u 254 arch/powerpc/kvm/e500mc.c if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) u 257 arch/powerpc/kvm/e500mc.c if (sregs->u.e.features & KVM_SREGS_E_PM) { u 259 arch/powerpc/kvm/e500mc.c sregs->u.e.ivor_high[3]; u 262 arch/powerpc/kvm/e500mc.c if (sregs->u.e.features & KVM_SREGS_E_PC) { u 264 arch/powerpc/kvm/e500mc.c sregs->u.e.ivor_high[4]; u 266 arch/powerpc/kvm/e500mc.c sregs->u.e.ivor_high[5]; u 1381 arch/powerpc/kvm/mpic.c } u; u 1390 arch/powerpc/kvm/mpic.c ret = kvm_mpic_read_internal(opp, addr - opp->reg_base, &u.val); u 1399 arch/powerpc/kvm/mpic.c *(u32 *)ptr = u.val; u 1401 arch/powerpc/kvm/mpic.c __func__, addr, ret, u.val); u 1403 arch/powerpc/kvm/mpic.c *(u8 *)ptr = u.bytes[addr & 3]; u 1405 arch/powerpc/kvm/mpic.c __func__, addr, ret, u.bytes[addr & 3]); u 1835 arch/powerpc/kvm/mpic.c e->irqchip.irqchip = ue->u.irqchip.irqchip; u 1836 arch/powerpc/kvm/mpic.c e->irqchip.pin = ue->u.irqchip.pin; u 1842 arch/powerpc/kvm/mpic.c e->msi.address_lo = ue->u.msi.address_lo; u 1843 arch/powerpc/kvm/mpic.c e->msi.address_hi = ue->u.msi.address_hi; u 1844 arch/powerpc/kvm/mpic.c e->msi.data = ue->u.msi.data; u 1698 arch/powerpc/kvm/powerpc.c val = get_reg_val(reg->id, vcpu->arch.vr.vscr.u[3]); u 1749 arch/powerpc/kvm/powerpc.c vcpu->arch.vr.vscr.u[3] = set_reg_val(reg->id, val); u 325 arch/powerpc/lib/sstep.c } u; u 329 arch/powerpc/lib/sstep.c u.ul = 0; u 331 arch/powerpc/lib/sstep.c err = copy_mem_in(&u.b[i], ea, nb, regs); u 333 arch/powerpc/lib/sstep.c *dest = u.ul; u 430 arch/powerpc/lib/sstep.c } u; u 433 arch/powerpc/lib/sstep.c u.ul = val; u 435 arch/powerpc/lib/sstep.c return copy_mem_out(&u.b[i], ea, nb, regs); u 464 arch/powerpc/lib/sstep.c unsigned int u; u 469 arch/powerpc/lib/sstep.c } u; u 475 arch/powerpc/lib/sstep.c err = copy_mem_in(u.b, ea, nb, regs); u 479 arch/powerpc/lib/sstep.c do_byte_reverse(u.b, min(nb, 8)); u 481 arch/powerpc/lib/sstep.c do_byte_reverse(&u.b[8], 8); u 486 arch/powerpc/lib/sstep.c conv_sp_to_dp(&u.f, &u.d[0]); u 488 arch/powerpc/lib/sstep.c u.l[0] = u.i; u 490 arch/powerpc/lib/sstep.c u.l[0] = u.u; u 493 arch/powerpc/lib/sstep.c put_fpr(rn, &u.d[0]); u 495 arch/powerpc/lib/sstep.c current->thread.TS_FPR(rn) = u.l[0]; u 500 arch/powerpc/lib/sstep.c put_fpr(rn, &u.d[1]); u 502 arch/powerpc/lib/sstep.c current->thread.TS_FPR(rn) = u.l[1]; u 514 arch/powerpc/lib/sstep.c unsigned int u; u 519 arch/powerpc/lib/sstep.c } u; u 527 arch/powerpc/lib/sstep.c get_fpr(rn, &u.d[0]); u 529 arch/powerpc/lib/sstep.c u.l[0] = current->thread.TS_FPR(rn); u 532 arch/powerpc/lib/sstep.c conv_dp_to_sp(&u.d[0], &u.f); u 534 arch/powerpc/lib/sstep.c u.u = u.l[0]; u 539 arch/powerpc/lib/sstep.c get_fpr(rn, &u.d[1]); u 541 arch/powerpc/lib/sstep.c u.l[1] = current->thread.TS_FPR(rn); u 545 arch/powerpc/lib/sstep.c do_byte_reverse(u.b, min(nb, 8)); u 547 arch/powerpc/lib/sstep.c do_byte_reverse(&u.b[8], 8); u 549 arch/powerpc/lib/sstep.c return copy_mem_out(u.b, ea, nb, regs); u 564 arch/powerpc/lib/sstep.c } u = {}; u 570 arch/powerpc/lib/sstep.c err = copy_mem_in(&u.b[ea & 0xf], ea, size, regs); u 574 arch/powerpc/lib/sstep.c do_byte_reverse(&u.b[ea & 0xf], size); u 577 arch/powerpc/lib/sstep.c put_vr(rn, &u.v); u 579 arch/powerpc/lib/sstep.c current->thread.vr_state.vr[rn] = u.v; u 591 arch/powerpc/lib/sstep.c } u; u 600 arch/powerpc/lib/sstep.c get_vr(rn, &u.v); u 602 arch/powerpc/lib/sstep.c u.v = current->thread.vr_state.vr[rn]; u 605 arch/powerpc/lib/sstep.c do_byte_reverse(&u.b[ea & 0xf], size); u 606 arch/powerpc/lib/sstep.c return copy_mem_out(&u.b[ea & 0xf], ea, size, regs); u 1168 arch/powerpc/lib/sstep.c unsigned int opcode, ra, rb, rc, rd, spr, u; u 2022 arch/powerpc/lib/sstep.c u = (instr >> 20) & UPDATE; u 2027 arch/powerpc/lib/sstep.c u = instr & UPDATE; u 2076 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 4); u 2081 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 1); u 2134 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 8); u 2139 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 8); u 2145 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 4); u 2150 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 1); u 2155 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 2); u 2161 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, SIGNEXT | u, 4); u 2167 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, SIGNEXT | u, 2); u 2172 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 2); u 2199 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, u | FPCONV, 4); u 2204 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, u, 8); u 2209 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, u | FPCONV, 4); u 2214 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, u, 8); u 2459 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 4); u 2465 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 1); u 2471 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 4); u 2477 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 1); u 2483 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 2); u 2489 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, SIGNEXT | u, 2); u 2495 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 2); u 2514 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, u | FPCONV, 4); u 2520 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, u, 8); u 2526 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, u | FPCONV, 4); u 2532 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, u, 8); u 179 arch/powerpc/perf/power6-pmu.c unsigned int pmc, ev, b, u, s, psel; u 212 arch/powerpc/perf/power6-pmu.c u = (ev >> PM_UNIT_SH) & PM_UNIT_MSK; u 214 arch/powerpc/perf/power6-pmu.c if ((ttmset & (1 << b)) && MMCR1_TTMSEL(mmcr1, b) != u) u 216 arch/powerpc/perf/power6-pmu.c mmcr1 |= (unsigned long)u << MMCR1_TTMSEL_SH(b); u 218 arch/powerpc/perf/power6-pmu.c if (u == 5) { u 777 arch/powerpc/platforms/cell/spufs/switch.c command.u.mfc_size = transfer_size; u 778 arch/powerpc/platforms/cell/spufs/switch.c command.u.mfc_tag = tag; u 779 arch/powerpc/platforms/cell/spufs/switch.c command.u.mfc_rclassid = rclass; u 780 arch/powerpc/platforms/cell/spufs/switch.c command.u.mfc_cmd = cmd; u 1376 arch/powerpc/platforms/powermac/low_i2c.c if (!args || !args->count || !args->u[0].p) u 1386 arch/powerpc/platforms/powermac/low_i2c.c *args->u[0].p = match; u 51 arch/powerpc/platforms/powermac/pfunc_base.c if (args && args->count && !args->u[0].v) u 72 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) u 76 arch/powerpc/platforms/powermac/pfunc_base.c *args->u[0].p = ((value & mask) >> rshift) ^ xor; u 160 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) u 163 arch/powerpc/platforms/powermac/pfunc_base.c *args->u[0].p = MACIO_IN32(offset); u 183 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) u 186 arch/powerpc/platforms/powermac/pfunc_base.c *((u8 *)(args->u[0].p)) = MACIO_IN8(offset); u 196 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) u 199 arch/powerpc/platforms/powermac/pfunc_base.c *args->u[0].p = ((MACIO_IN32(offset) & mask) >> shift) ^ xor; u 209 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) u 212 arch/powerpc/platforms/powermac/pfunc_base.c *((u8 *)(args->u[0].p)) = ((MACIO_IN8(offset) & mask) >> shift) ^ xor; u 229 arch/powerpc/platforms/powermac/pfunc_base.c val = args->u[0].v << shift; u 249 arch/powerpc/platforms/powermac/pfunc_base.c val = args->u[0].v << shift; u 638 arch/powerpc/platforms/powermac/smp.c args.u[0].v = !freeze; u 74 arch/powerpc/platforms/powernv/opal-hmi.c if (!hmi_evt->u.xstop_error.xstop_reason) { u 80 arch/powerpc/platforms/powernv/opal-hmi.c be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); u 82 arch/powerpc/platforms/powernv/opal-hmi.c if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & u 125 arch/powerpc/platforms/powernv/opal-hmi.c if (!hmi_evt->u.xstop_error.xstop_reason) { u 131 arch/powerpc/platforms/powernv/opal-hmi.c be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); u 133 arch/powerpc/platforms/powernv/opal-hmi.c if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & u 149 arch/powerpc/platforms/powernv/opal-hmi.c if (!hmi_evt->u.xstop_error.xstop_reason) { u 151 arch/powerpc/platforms/powernv/opal-hmi.c be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); u 165 arch/powerpc/platforms/powernv/opal-hmi.c reason_count = sizeof(hmi_evt->u.xstop_error.xstop_reason) / u 168 arch/powerpc/platforms/powernv/opal-hmi.c reason = (hmi_evt->u.xstop_error.xstop_reason >> (8 * i)) & 0xFF; u 172 arch/powerpc/platforms/powernv/opal-hmi.c be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id), u 180 arch/powerpc/platforms/powernv/opal-hmi.c uint8_t type = hmi_evt->u.xstop_error.xstop_type; u 38 arch/powerpc/platforms/powernv/opal-memory-errors.c paddr_start = be64_to_cpu(merr_evt->u.resilience.physical_address_start); u 39 arch/powerpc/platforms/powernv/opal-memory-errors.c paddr_end = be64_to_cpu(merr_evt->u.resilience.physical_address_end); u 42 arch/powerpc/platforms/powernv/opal-memory-errors.c paddr_start = be64_to_cpu(merr_evt->u.dyn_dealloc.physical_address_start); u 43 arch/powerpc/platforms/powernv/opal-memory-errors.c paddr_end = be64_to_cpu(merr_evt->u.dyn_dealloc.physical_address_end); u 563 arch/powerpc/platforms/pseries/ras.c mce_err.u.ue_error_type = MCE_UE_ERROR_IFETCH; u 566 arch/powerpc/platforms/pseries/ras.c mce_err.u.ue_error_type = MCE_UE_ERROR_PAGE_TABLE_WALK_IFETCH; u 569 arch/powerpc/platforms/pseries/ras.c mce_err.u.ue_error_type = MCE_UE_ERROR_LOAD_STORE; u 572 arch/powerpc/platforms/pseries/ras.c mce_err.u.ue_error_type = MCE_UE_ERROR_PAGE_TABLE_WALK_LOAD_STORE; u 576 arch/powerpc/platforms/pseries/ras.c mce_err.u.ue_error_type = MCE_UE_ERROR_INDETERMINATE; u 597 arch/powerpc/platforms/pseries/ras.c mce_err.u.slb_error_type = MCE_SLB_ERROR_PARITY; u 600 arch/powerpc/platforms/pseries/ras.c mce_err.u.slb_error_type = MCE_SLB_ERROR_MULTIHIT; u 604 arch/powerpc/platforms/pseries/ras.c mce_err.u.slb_error_type = MCE_SLB_ERROR_INDETERMINATE; u 614 arch/powerpc/platforms/pseries/ras.c mce_err.u.erat_error_type = MCE_ERAT_ERROR_PARITY; u 617 arch/powerpc/platforms/pseries/ras.c mce_err.u.erat_error_type = MCE_ERAT_ERROR_MULTIHIT; u 621 arch/powerpc/platforms/pseries/ras.c mce_err.u.erat_error_type = MCE_ERAT_ERROR_INDETERMINATE; u 631 arch/powerpc/platforms/pseries/ras.c mce_err.u.tlb_error_type = MCE_TLB_ERROR_PARITY; u 634 arch/powerpc/platforms/pseries/ras.c mce_err.u.tlb_error_type = MCE_TLB_ERROR_MULTIHIT; u 638 arch/powerpc/platforms/pseries/ras.c mce_err.u.tlb_error_type = MCE_TLB_ERROR_INDETERMINATE; u 202 arch/riscv/include/asm/atomic.h static __always_inline int atomic_fetch_add_unless(atomic_t *v, int a, int u) u 215 arch/riscv/include/asm/atomic.h : [a]"r" (a), [u]"r" (u) u 222 arch/riscv/include/asm/atomic.h static __always_inline s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) u 236 arch/riscv/include/asm/atomic.h : [a]"r" (a), [u]"r" (u) u 32 arch/riscv/include/asm/futex.h [u] "+m" (*uaddr), [t] "=&r" (tmp) \ u 106 arch/riscv/include/asm/futex.h : [r] "+r" (ret), [v] "=&r" (val), [u] "+m" (*uaddr), [t] "=&r" (tmp) u 21 arch/s390/include/asm/termios.h #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) u 22 arch/s390/include/asm/termios.h #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) u 72 arch/s390/include/asm/user.h #define HOST_TEXT_START_ADDR (u.start_code) u 73 arch/s390/include/asm/user.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 105 arch/s390/include/uapi/asm/qeth.h } u; u 27 arch/s390/include/uapi/asm/runtime_instr.h __u32 u : 1; u 22 arch/s390/include/uapi/asm/types.h __u32 u[4]; u 111 arch/s390/kernel/crash_dump.c memcpy(&sa->vxrs_low[i], &vxrs[i].u[2], 8); u 908 arch/s390/kernel/ptrace.c unsigned long __user *u = ubuf; u 910 arch/s390/kernel/ptrace.c if (__put_user(__peek_user(target, pos), u++)) u 912 arch/s390/kernel/ptrace.c count -= sizeof(*u); u 913 arch/s390/kernel/ptrace.c pos += sizeof(*u); u 937 arch/s390/kernel/ptrace.c const unsigned long __user *u = ubuf; u 940 arch/s390/kernel/ptrace.c rc = __get_user(word, u++); u 944 arch/s390/kernel/ptrace.c count -= sizeof(*u); u 945 arch/s390/kernel/ptrace.c pos += sizeof(*u); u 1023 arch/s390/kernel/ptrace.c unsigned long __user *u = ubuf; u 1024 arch/s390/kernel/ptrace.c if (__put_user(target->thread.last_break, u)) u 1442 arch/s390/kernel/ptrace.c compat_ulong_t __user *u = ubuf; u 1444 arch/s390/kernel/ptrace.c if (__put_user(__peek_user_compat(target, pos), u++)) u 1446 arch/s390/kernel/ptrace.c count -= sizeof(*u); u 1447 arch/s390/kernel/ptrace.c pos += sizeof(*u); u 1471 arch/s390/kernel/ptrace.c const compat_ulong_t __user *u = ubuf; u 1474 arch/s390/kernel/ptrace.c rc = __get_user(word, u++); u 1478 arch/s390/kernel/ptrace.c count -= sizeof(*u); u 1479 arch/s390/kernel/ptrace.c pos += sizeof(*u); u 1506 arch/s390/kernel/ptrace.c compat_ulong_t __user *u = ubuf; u 1508 arch/s390/kernel/ptrace.c if (__put_user(*gprs_high, u++)) u 1511 arch/s390/kernel/ptrace.c count -= sizeof(*u); u 1535 arch/s390/kernel/ptrace.c const compat_ulong_t __user *u = ubuf; u 1538 arch/s390/kernel/ptrace.c rc = __get_user(word, u++); u 1543 arch/s390/kernel/ptrace.c count -= sizeof(*u); u 1563 arch/s390/kernel/ptrace.c unsigned long __user *u = ubuf; u 1564 arch/s390/kernel/ptrace.c if (__put_user(last_break, u)) u 293 arch/s390/kvm/intercept.c irq.u.extcall.code = vcpu->arch.sie_block->extcpuaddr; u 1354 arch/s390/kvm/interrupt.c VCPU_EVENT(vcpu, 3, "inject: program irq code 0x%x", irq->u.pgm.code); u 1356 arch/s390/kvm/interrupt.c irq->u.pgm.code, 0); u 1358 arch/s390/kvm/interrupt.c if (!(irq->u.pgm.flags & KVM_S390_PGM_FLAGS_ILC_VALID)) { u 1360 arch/s390/kvm/interrupt.c irq->u.pgm.flags &= ~KVM_S390_PGM_FLAGS_ILC_MASK; u 1361 arch/s390/kvm/interrupt.c irq->u.pgm.flags |= kvm_s390_get_ilen(vcpu); u 1362 arch/s390/kvm/interrupt.c irq->u.pgm.flags |= KVM_S390_PGM_FLAGS_ILC_VALID; u 1365 arch/s390/kvm/interrupt.c if (irq->u.pgm.code == PGM_PER) { u 1367 arch/s390/kvm/interrupt.c li->irq.pgm.flags = irq->u.pgm.flags; u 1369 arch/s390/kvm/interrupt.c li->irq.pgm.per_address = irq->u.pgm.per_address; u 1370 arch/s390/kvm/interrupt.c li->irq.pgm.per_code = irq->u.pgm.per_code; u 1371 arch/s390/kvm/interrupt.c li->irq.pgm.per_atmid = irq->u.pgm.per_atmid; u 1372 arch/s390/kvm/interrupt.c li->irq.pgm.per_access_id = irq->u.pgm.per_access_id; u 1373 arch/s390/kvm/interrupt.c } else if (!(irq->u.pgm.code & PGM_PER)) { u 1375 arch/s390/kvm/interrupt.c irq->u.pgm.code; u 1376 arch/s390/kvm/interrupt.c li->irq.pgm.flags = irq->u.pgm.flags; u 1378 arch/s390/kvm/interrupt.c li->irq.pgm.trans_exc_code = irq->u.pgm.trans_exc_code; u 1379 arch/s390/kvm/interrupt.c li->irq.pgm.mon_code = irq->u.pgm.mon_code; u 1380 arch/s390/kvm/interrupt.c li->irq.pgm.data_exc_code = irq->u.pgm.data_exc_code; u 1381 arch/s390/kvm/interrupt.c li->irq.pgm.mon_class_nr = irq->u.pgm.mon_class_nr; u 1382 arch/s390/kvm/interrupt.c li->irq.pgm.exc_access_id = irq->u.pgm.exc_access_id; u 1383 arch/s390/kvm/interrupt.c li->irq.pgm.op_access_id = irq->u.pgm.op_access_id; u 1385 arch/s390/kvm/interrupt.c li->irq.pgm = irq->u.pgm; u 1397 arch/s390/kvm/interrupt.c irq->u.ext.ext_params2); u 1399 arch/s390/kvm/interrupt.c irq->u.ext.ext_params, u 1400 arch/s390/kvm/interrupt.c irq->u.ext.ext_params2); u 1402 arch/s390/kvm/interrupt.c li->irq.ext = irq->u.ext; u 1412 arch/s390/kvm/interrupt.c uint16_t src_id = irq->u.extcall.code; u 1429 arch/s390/kvm/interrupt.c *extcall = irq->u.extcall; u 1441 arch/s390/kvm/interrupt.c irq->u.prefix.address); u 1443 arch/s390/kvm/interrupt.c irq->u.prefix.address, 0); u 1448 arch/s390/kvm/interrupt.c *prefix = irq->u.prefix; u 1463 arch/s390/kvm/interrupt.c if (irq->u.stop.flags & ~KVM_S390_STOP_SUPP_FLAGS) u 1467 arch/s390/kvm/interrupt.c if (irq->u.stop.flags & KVM_S390_STOP_FLAG_STORE_STATUS) u 1475 arch/s390/kvm/interrupt.c stop->flags = irq->u.stop.flags; u 1500 arch/s390/kvm/interrupt.c irq->u.emerg.code); u 1502 arch/s390/kvm/interrupt.c irq->u.emerg.code, 0); u 1505 arch/s390/kvm/interrupt.c if (kvm_get_vcpu_by_id(vcpu->kvm, irq->u.emerg.code) == NULL) u 1508 arch/s390/kvm/interrupt.c set_bit(irq->u.emerg.code, li->sigp_emerg_pending); u 1521 arch/s390/kvm/interrupt.c irq->u.mchk.mcic); u 1523 arch/s390/kvm/interrupt.c irq->u.mchk.mcic); u 1533 arch/s390/kvm/interrupt.c mchk->cr14 |= irq->u.mchk.cr14; u 1534 arch/s390/kvm/interrupt.c mchk->mcic |= irq->u.mchk.mcic; u 1535 arch/s390/kvm/interrupt.c mchk->ext_damage_code |= irq->u.mchk.ext_damage_code; u 1536 arch/s390/kvm/interrupt.c mchk->failing_storage_address = irq->u.mchk.failing_storage_address; u 1537 arch/s390/kvm/interrupt.c memcpy(&mchk->fixed_logout, &irq->u.mchk.fixed_logout, u 1943 arch/s390/kvm/interrupt.c irq->u.pgm.code = s390int->parm; u 1946 arch/s390/kvm/interrupt.c irq->u.prefix.address = s390int->parm; u 1949 arch/s390/kvm/interrupt.c irq->u.stop.flags = s390int->parm; u 1954 arch/s390/kvm/interrupt.c irq->u.extcall.code = s390int->parm; u 1959 arch/s390/kvm/interrupt.c irq->u.emerg.code = s390int->parm; u 1962 arch/s390/kvm/interrupt.c irq->u.mchk.mcic = s390int->parm64; u 1965 arch/s390/kvm/interrupt.c irq->u.ext.ext_params = s390int->parm; u 1966 arch/s390/kvm/interrupt.c irq->u.ext.ext_params2 = s390int->parm64; u 2071 arch/s390/kvm/interrupt.c irq->u.ext = inti->ext; u 2074 arch/s390/kvm/interrupt.c irq->u.io = inti->io; u 2132 arch/s390/kvm/interrupt.c irq->u.io.io_int_word = isc_to_int_word(i); u 2158 arch/s390/kvm/interrupt.c irq->u.ext = fi->srv_signal; u 2169 arch/s390/kvm/interrupt.c irq->u.mchk = fi->mchk; u 2243 arch/s390/kvm/interrupt.c source = &uptr->u.ext; u 2248 arch/s390/kvm/interrupt.c source = &uptr->u.io; u 2253 arch/s390/kvm/interrupt.c source = &uptr->u.mchk; u 2801 arch/s390/kvm/interrupt.c mchk = mci.ck ? &inti.mchk : &irq.u.mchk; u 2827 arch/s390/kvm/interrupt.c e->adapter.summary_addr = ue->u.adapter.summary_addr; u 2828 arch/s390/kvm/interrupt.c e->adapter.ind_addr = ue->u.adapter.ind_addr; u 2829 arch/s390/kvm/interrupt.c e->adapter.summary_offset = ue->u.adapter.summary_offset; u 2830 arch/s390/kvm/interrupt.c e->adapter.ind_offset = ue->u.adapter.ind_offset; u 2831 arch/s390/kvm/interrupt.c e->adapter.adapter_id = ue->u.adapter.adapter_id; u 2895 arch/s390/kvm/interrupt.c irq->u.mchk = li->irq.mchk; u 2899 arch/s390/kvm/interrupt.c irq->u.pgm = li->irq.pgm; u 2903 arch/s390/kvm/interrupt.c irq->u.ext = li->irq.ext; u 2907 arch/s390/kvm/interrupt.c irq->u.extcall = li->irq.extcall; u 2917 arch/s390/kvm/interrupt.c irq->u.stop = li->irq.stop; u 2924 arch/s390/kvm/interrupt.c irq->u.prefix = li->irq.prefix; u 2964 arch/s390/kvm/interrupt.c irq.u.emerg.code = cpuaddr; u 2976 arch/s390/kvm/interrupt.c irq.u.extcall.code = scn; u 3626 arch/s390/kvm/kvm-s390.c irq.u.ext.ext_params2 = token; u 215 arch/s390/kvm/kvm-s390.h .u.pgm = *pgm_info, u 224 arch/s390/kvm/kvm-s390.h .u.pgm.code = code, u 49 arch/s390/kvm/sigp.c .u.emerg.code = vcpu->vcpu_id, u 98 arch/s390/kvm/sigp.c .u.extcall.code = vcpu->vcpu_id, u 137 arch/s390/kvm/sigp.c .u.stop.flags = KVM_S390_STOP_FLAG_STORE_STATUS, u 178 arch/s390/kvm/sigp.c .u.prefix.address = address & 0x7fffe000u, u 187 arch/s390/kvm/sigp.c if (kvm_is_error_gpa(vcpu->kvm, irq.u.prefix.address)) { u 64 arch/sh/include/asm/user.h #define HOST_TEXT_START_ADDR (u.start_code) u 65 arch/sh/include/asm/user.h #define HOST_DATA_START_ADDR (u.start_data) u 66 arch/sh/include/asm/user.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 51 arch/sh/include/uapi/asm/swab.h __u64 u; u 53 arch/sh/include/uapi/asm/swab.h v.u = val; u 56 arch/sh/include/uapi/asm/swab.h return w.u; u 111 arch/sh/kernel/unwinder.c int unwinder_register(struct unwinder *u) u 117 arch/sh/kernel/unwinder.c ret = unwinder_enqueue(u); u 6 arch/sh/lib/ashldi3.c long long __ashldi3(long long u, word_type b) u 12 arch/sh/lib/ashldi3.c return u; u 14 arch/sh/lib/ashldi3.c uu.ll = u; u 6 arch/sh/lib/ashrdi3.c long long __ashrdi3(long long u, word_type b) u 12 arch/sh/lib/ashrdi3.c return u; u 14 arch/sh/lib/ashrdi3.c uu.ll = u; u 6 arch/sh/lib/lshrdi3.c long long __lshrdi3(long long u, word_type b) u 12 arch/sh/lib/lshrdi3.c return u; u 14 arch/sh/lib/lshrdi3.c uu.ll = u; u 22 arch/sh/math-emu/sfp-util.h #define umul_ppmm(w1, w0, u, v) \ u 25 arch/sh/math-emu/sfp-util.h : "r" ((u32)(u)), "r" ((u32)(v)) \ u 67 arch/sparc/include/asm/termios.h #define user_termios_to_kernel_termios(k, u) \ u 70 arch/sparc/include/asm/termios.h err = get_user((k)->c_iflag, &(u)->c_iflag); \ u 71 arch/sparc/include/asm/termios.h err |= get_user((k)->c_oflag, &(u)->c_oflag); \ u 72 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cflag, &(u)->c_cflag); \ u 73 arch/sparc/include/asm/termios.h err |= get_user((k)->c_lflag, &(u)->c_lflag); \ u 74 arch/sparc/include/asm/termios.h err |= get_user((k)->c_line, &(u)->c_line); \ u 75 arch/sparc/include/asm/termios.h err |= copy_from_user((k)->c_cc, (u)->c_cc, NCCS); \ u 77 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \ u 78 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \ u 80 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \ u 81 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \ u 83 arch/sparc/include/asm/termios.h err |= get_user((k)->c_ispeed, &(u)->c_ispeed); \ u 84 arch/sparc/include/asm/termios.h err |= get_user((k)->c_ospeed, &(u)->c_ospeed); \ u 88 arch/sparc/include/asm/termios.h #define kernel_termios_to_user_termios(u, k) \ u 91 arch/sparc/include/asm/termios.h err = put_user((k)->c_iflag, &(u)->c_iflag); \ u 92 arch/sparc/include/asm/termios.h err |= put_user((k)->c_oflag, &(u)->c_oflag); \ u 93 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cflag, &(u)->c_cflag); \ u 94 arch/sparc/include/asm/termios.h err |= put_user((k)->c_lflag, &(u)->c_lflag); \ u 95 arch/sparc/include/asm/termios.h err |= put_user((k)->c_line, &(u)->c_line); \ u 96 arch/sparc/include/asm/termios.h err |= copy_to_user((u)->c_cc, (k)->c_cc, NCCS); \ u 98 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \ u 99 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \ u 101 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \ u 102 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \ u 104 arch/sparc/include/asm/termios.h err |= put_user((k)->c_ispeed, &(u)->c_ispeed); \ u 105 arch/sparc/include/asm/termios.h err |= put_user((k)->c_ospeed, &(u)->c_ospeed); \ u 109 arch/sparc/include/asm/termios.h #define user_termios_to_kernel_termios_1(k, u) \ u 112 arch/sparc/include/asm/termios.h err = get_user((k)->c_iflag, &(u)->c_iflag); \ u 113 arch/sparc/include/asm/termios.h err |= get_user((k)->c_oflag, &(u)->c_oflag); \ u 114 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cflag, &(u)->c_cflag); \ u 115 arch/sparc/include/asm/termios.h err |= get_user((k)->c_lflag, &(u)->c_lflag); \ u 116 arch/sparc/include/asm/termios.h err |= get_user((k)->c_line, &(u)->c_line); \ u 117 arch/sparc/include/asm/termios.h err |= copy_from_user((k)->c_cc, (u)->c_cc, NCCS); \ u 119 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \ u 120 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \ u 122 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \ u 123 arch/sparc/include/asm/termios.h err |= get_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \ u 128 arch/sparc/include/asm/termios.h #define kernel_termios_to_user_termios_1(u, k) \ u 131 arch/sparc/include/asm/termios.h err = put_user((k)->c_iflag, &(u)->c_iflag); \ u 132 arch/sparc/include/asm/termios.h err |= put_user((k)->c_oflag, &(u)->c_oflag); \ u 133 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cflag, &(u)->c_cflag); \ u 134 arch/sparc/include/asm/termios.h err |= put_user((k)->c_lflag, &(u)->c_lflag); \ u 135 arch/sparc/include/asm/termios.h err |= put_user((k)->c_line, &(u)->c_line); \ u 136 arch/sparc/include/asm/termios.h err |= copy_to_user((u)->c_cc, (k)->c_cc, NCCS); \ u 138 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \ u 139 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VTIME], &(u)->c_cc[_VTIME]); \ u 141 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \ u 142 arch/sparc/include/asm/termios.h err |= put_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \ u 76 arch/sparc/kernel/ldc.c } u; u 362 arch/sparc/kernel/ldc.c memcpy(p->u.u_data, data, dlen); u 476 arch/sparc/kernel/ldc.c p->u.r.ackid = lp->rcv_nxt; u 479 arch/sparc/kernel/ldc.c p->env, p->seqid, p->u.r.ackid); u 500 arch/sparc/kernel/ldc.c p->u.r.ackid = lp->rcv_nxt; u 503 arch/sparc/kernel/ldc.c p->type, p->ctrl, p->seqid, p->u.r.ackid); u 652 arch/sparc/kernel/ldc.c vp = (struct ldc_version *) p->u.u_data; u 716 arch/sparc/kernel/ldc.c p->stype, p->seqid, p->env, p->u.r.ackid); u 761 arch/sparc/kernel/ldc.c u32 ackid = ack->u.r.ackid; u 1598 arch/sparc/kernel/ldc.c p->u.u_data : u 1599 arch/sparc/kernel/ldc.c p->u.r.r_data); u 1731 arch/sparc/kernel/ldc.c p->u.r.ackid = lp->rcv_nxt; u 1776 arch/sparc/kernel/ldc.c p->u.r.ackid, u 1868 arch/sparc/kernel/ldc.c p->u.u_data : p->u.r.r_data), pkt_len); u 57 arch/sparc/kernel/ptrace_32.c unsigned long __user *u = ubuf; u 78 arch/sparc/kernel/ptrace_32.c if (put_user(regs->u_regs[pos++], u++)) u 86 arch/sparc/kernel/ptrace_32.c put_user(reg, u++)) u 114 arch/sparc/kernel/ptrace_32.c else if (put_user(reg, u++)) u 135 arch/sparc/kernel/ptrace_32.c const unsigned long __user *u = ubuf; u 156 arch/sparc/kernel/ptrace_32.c if (get_user(reg, u++)) u 164 arch/sparc/kernel/ptrace_32.c if (get_user(reg, u++) || u 174 arch/sparc/kernel/ptrace_32.c else if (get_user(reg, u++)) u 524 arch/sparc/kernel/ptrace_64.c compat_ulong_t __user *u = ubuf; u 559 arch/sparc/kernel/ptrace_64.c if (put_user((compat_ulong_t) regs->u_regs[pos++], u++)) u 568 arch/sparc/kernel/ptrace_64.c put_user(reg, u++)) u 581 arch/sparc/kernel/ptrace_64.c (unsigned long) u, u 587 arch/sparc/kernel/ptrace_64.c u++; u 615 arch/sparc/kernel/ptrace_64.c else if (put_user(reg, u++)) u 636 arch/sparc/kernel/ptrace_64.c const compat_ulong_t __user *u = ubuf; u 672 arch/sparc/kernel/ptrace_64.c if (get_user(reg, u++)) u 681 arch/sparc/kernel/ptrace_64.c if (get_user(reg, u++) || u 689 arch/sparc/kernel/ptrace_64.c u, u 702 arch/sparc/kernel/ptrace_64.c u++; u 711 arch/sparc/kernel/ptrace_64.c else if (get_user(reg, u++)) u 184 arch/sparc/kernel/viohs.c } u; u 190 arch/sparc/kernel/viohs.c if (WARN_ON(bytes > sizeof(u))) u 193 arch/sparc/kernel/viohs.c memset(&u, 0, bytes); u 194 arch/sparc/kernel/viohs.c init_tag(&u.pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_DRING_REG); u 195 arch/sparc/kernel/viohs.c u.pkt.dring_ident = 0; u 196 arch/sparc/kernel/viohs.c u.pkt.num_descr = dr->num_entries; u 197 arch/sparc/kernel/viohs.c u.pkt.descr_size = dr->entry_size; u 198 arch/sparc/kernel/viohs.c u.pkt.options = VIO_TX_DRING; u 199 arch/sparc/kernel/viohs.c u.pkt.num_cookies = dr->ncookies; u 203 arch/sparc/kernel/viohs.c u.pkt.num_descr, u.pkt.descr_size, u.pkt.options, u 204 arch/sparc/kernel/viohs.c u.pkt.num_cookies); u 207 arch/sparc/kernel/viohs.c u.pkt.cookies[i] = dr->cookies[i]; u 211 arch/sparc/kernel/viohs.c (unsigned long long) u.pkt.cookies[i].cookie_addr, u 212 arch/sparc/kernel/viohs.c (unsigned long long) u.pkt.cookies[i].cookie_size); u 215 arch/sparc/kernel/viohs.c return send_ctrl(vio, &u.pkt.tag, bytes); u 98 arch/sparc/lib/atomic32.c int atomic_fetch_add_unless(atomic_t *v, int a, int u) u 105 arch/sparc/lib/atomic32.c if (ret != u) u 28 arch/sparc/math-emu/sfp-util_32.h #define umul_ppmm(w1, w0, u, v) \ u 71 arch/sparc/math-emu/sfp-util_32.h : "%rI" ((USItype)(u)), \ u 43 arch/sparc/math-emu/sfp-util_64.h #define umul_ppmm(wh, wl, u, v) \ u 71 arch/sparc/math-emu/sfp-util_64.h : "r" ((UDItype)(u)), \ u 65 arch/sparc/vdso/vma.c } u; u 89 arch/sparc/vdso/vma.c struct vdso_elfinfo64 *e = &_e->u.elf64; u 119 arch/sparc/vdso/vma.c struct vdso_elfinfo64 *e = &_e->u.elf64; u 157 arch/sparc/vdso/vma.c struct vdso_elfinfo32 *e = &_e->u.elf32; u 187 arch/sparc/vdso/vma.c struct vdso_elfinfo32 *e = &_e->u.elf32; u 44 arch/um/include/asm/processor-generic.h } u; u 13 arch/um/include/shared/skas/mm_id.h } u; u 127 arch/um/kernel/process.c fn = current->thread.request.u.thread.proc; u 128 arch/um/kernel/process.c arg = current->thread.request.u.thread.arg; u 177 arch/um/kernel/process.c p->thread.request.u.thread.proc = (int (*)(void *))sp; u 178 arch/um/kernel/process.c p->thread.request.u.thread.arg = (void *)arg; u 31 arch/um/kernel/reboot.c pid = t->mm->context.id.u.pid; u 68 arch/um/kernel/skas/mmu.c to_mm->id.u.pid = copy_context_skas0(stack, u 69 arch/um/kernel/skas/mmu.c from_mm->id.u.pid); u 70 arch/um/kernel/skas/mmu.c else to_mm->id.u.pid = start_userspace(stack); u 73 arch/um/kernel/skas/mmu.c if (to_mm->id.u.pid < 0) { u 74 arch/um/kernel/skas/mmu.c ret = to_mm->id.u.pid; u 150 arch/um/kernel/skas/mmu.c if (mmu->id.u.pid < 2) { u 152 arch/um/kernel/skas/mmu.c mmu->id.u.pid); u 155 arch/um/kernel/skas/mmu.c os_kill_ptraced_process(mmu->id.u.pid, 1); u 43 arch/um/kernel/skas/process.c init_task.thread.request.u.thread.proc = start_kernel_proc; u 44 arch/um/kernel/skas/process.c init_task.thread.request.u.thread.arg = NULL; u 130 arch/um/kernel/time.c os_alarm_process(get_current()->mm->context.id.u.pid); u 38 arch/um/kernel/tlb.c } u; u 74 arch/um/kernel/tlb.c ret = map(&hvc->mm->context.id, op->u.mmap.addr, u 75 arch/um/kernel/tlb.c op->u.mmap.len, op->u.mmap.prot, u 76 arch/um/kernel/tlb.c op->u.mmap.fd, u 77 arch/um/kernel/tlb.c op->u.mmap.offset, finished, u 80 arch/um/kernel/tlb.c map_memory(op->u.mmap.addr, op->u.mmap.offset, u 81 arch/um/kernel/tlb.c op->u.mmap.len, 1, 1, 1); u 86 arch/um/kernel/tlb.c op->u.munmap.addr, u 87 arch/um/kernel/tlb.c op->u.munmap.len, finished, u 91 arch/um/kernel/tlb.c (void *) op->u.munmap.addr, u 92 arch/um/kernel/tlb.c op->u.munmap.len); u 98 arch/um/kernel/tlb.c op->u.mprotect.addr, u 99 arch/um/kernel/tlb.c op->u.mprotect.len, u 100 arch/um/kernel/tlb.c op->u.mprotect.prot, u 104 arch/um/kernel/tlb.c (void *) op->u.mprotect.addr, u 105 arch/um/kernel/tlb.c op->u.mprotect.len, u 136 arch/um/kernel/tlb.c (last->u.mmap.addr + last->u.mmap.len == virt) && u 137 arch/um/kernel/tlb.c (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && u 138 arch/um/kernel/tlb.c (last->u.mmap.offset + last->u.mmap.len == offset)) { u 139 arch/um/kernel/tlb.c last->u.mmap.len += len; u 151 arch/um/kernel/tlb.c .u = { .mmap = { .addr = virt, u 172 arch/um/kernel/tlb.c (last->u.munmap.addr + last->u.mmap.len == addr)) { u 173 arch/um/kernel/tlb.c last->u.munmap.len += len; u 185 arch/um/kernel/tlb.c .u = { .munmap = { .addr = addr, u 199 arch/um/kernel/tlb.c (last->u.mprotect.addr + last->u.mprotect.len == addr) && u 200 arch/um/kernel/tlb.c (last->u.mprotect.prot == prot)) { u 201 arch/um/kernel/tlb.c last->u.mprotect.len += len; u 213 arch/um/kernel/tlb.c .u = { .mprotect = { .addr = addr, u 644 arch/um/os-Linux/file.c } u; u 649 arch/um/os-Linux/file.c .msg_control = u.control, u 657 arch/um/os-Linux/file.c memset(u.control, 0, sizeof(u.control)); u 54 arch/um/os-Linux/skas/mem.c int err, pid = mm_idp->u.pid; u 652 arch/um/os-Linux/skas/process.c userspace_pid[0] = mm_idp->u.pid; u 102 arch/unicore32/include/asm/assembler.h \instr\()b.u \reg, [\ptr], #\inc u 104 arch/unicore32/include/asm/assembler.h \instr\()w.u \reg, [\ptr], #\inc u 26 arch/x86/crypto/poly1305_glue.c u32 u[5]; u 33 arch/x86/crypto/poly1305_glue.c unsigned int blocks, const u32 *u); u 36 arch/x86/crypto/poly1305_glue.c unsigned int blocks, const u32 *u); u 82 arch/x86/crypto/poly1305_glue.c memcpy(sctx->u, dctx->r.r, sizeof(sctx->u)); u 83 arch/x86/crypto/poly1305_glue.c poly1305_simd_mult(sctx->u, dctx->r.r); u 86 arch/x86/crypto/poly1305_glue.c memcpy(sctx->u + 5, sctx->u, sizeof(sctx->u)); u 87 arch/x86/crypto/poly1305_glue.c poly1305_simd_mult(sctx->u + 5, dctx->r.r); u 88 arch/x86/crypto/poly1305_glue.c memcpy(sctx->u + 10, sctx->u + 5, sizeof(sctx->u)); u 89 arch/x86/crypto/poly1305_glue.c poly1305_simd_mult(sctx->u + 10, dctx->r.r); u 94 arch/x86/crypto/poly1305_glue.c sctx->u); u 101 arch/x86/crypto/poly1305_glue.c memcpy(sctx->u, dctx->r.r, sizeof(sctx->u)); u 102 arch/x86/crypto/poly1305_glue.c poly1305_simd_mult(sctx->u, dctx->r.r); u 107 arch/x86/crypto/poly1305_glue.c sctx->u); u 236 arch/x86/include/asm/atomic64_32.h static inline int arch_atomic64_add_unless(atomic64_t *v, s64 a, s64 u) u 238 arch/x86/include/asm/atomic64_32.h unsigned low = (unsigned)u; u 239 arch/x86/include/asm/atomic64_32.h unsigned high = (unsigned)(u >> 32); u 499 arch/x86/include/asm/hyperv-tlfs.h } __packed u; u 519 arch/x86/include/asm/hyperv-tlfs.h } u; u 137 arch/x86/include/asm/local.h #define local_add_unless(l, a, u) \ u 142 arch/x86/include/asm/local.h if (unlikely(c == (u))) \ u 149 arch/x86/include/asm/local.h c != (u); \ u 129 arch/x86/include/asm/user_32.h #define HOST_TEXT_START_ADDR (u.start_code) u 130 arch/x86/include/asm/user_32.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 135 arch/x86/include/asm/user_64.h #define HOST_TEXT_START_ADDR (u.start_code) u 136 arch/x86/include/asm/user_64.h #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) u 849 arch/x86/include/asm/uv/uv_bau.h static inline int atomic_inc_unless_ge(spinlock_t *lock, atomic_t *v, int u) u 852 arch/x86/include/asm/uv/uv_bau.h if (atomic_read(v) >= u) { u 23 arch/x86/include/uapi/asm/swab.h __u64 u; u 25 arch/x86/include/uapi/asm/swab.h v.u = val; u 29 arch/x86/include/uapi/asm/swab.h return v.u; u 531 arch/x86/kernel/cpu/resctrl/ctrlmondata.c resid = md.u.rid; u 532 arch/x86/kernel/cpu/resctrl/ctrlmondata.c domid = md.u.domid; u 533 arch/x86/kernel/cpu/resctrl/ctrlmondata.c evtid = md.u.evtid; u 85 arch/x86/kernel/cpu/resctrl/internal.h } u; u 2381 arch/x86/kernel/cpu/resctrl/rdtgroup.c priv.u.rid = r->rid; u 2382 arch/x86/kernel/cpu/resctrl/rdtgroup.c priv.u.domid = d->id; u 2384 arch/x86/kernel/cpu/resctrl/rdtgroup.c priv.u.evtid = mevt->evtid; u 435 arch/x86/kernel/ptrace.c unsigned long __user *u = ubuf; u 436 arch/x86/kernel/ptrace.c while (count >= sizeof(*u)) { u 437 arch/x86/kernel/ptrace.c if (__put_user(getreg(target, pos), u++)) u 439 arch/x86/kernel/ptrace.c count -= sizeof(*u); u 440 arch/x86/kernel/ptrace.c pos += sizeof(*u); u 461 arch/x86/kernel/ptrace.c const unsigned long __user *u = ubuf; u 462 arch/x86/kernel/ptrace.c while (count >= sizeof(*u) && !ret) { u 464 arch/x86/kernel/ptrace.c ret = __get_user(word, u++); u 468 arch/x86/kernel/ptrace.c count -= sizeof(*u); u 469 arch/x86/kernel/ptrace.c pos += sizeof(*u); u 1002 arch/x86/kernel/ptrace.c compat_ulong_t __user *u = ubuf; u 1003 arch/x86/kernel/ptrace.c while (count >= sizeof(*u)) { u 1006 arch/x86/kernel/ptrace.c if (__put_user(word, u++)) u 1008 arch/x86/kernel/ptrace.c count -= sizeof(*u); u 1009 arch/x86/kernel/ptrace.c pos += sizeof(*u); u 1030 arch/x86/kernel/ptrace.c const compat_ulong_t __user *u = ubuf; u 1031 arch/x86/kernel/ptrace.c while (count >= sizeof(*u) && !ret) { u 1033 arch/x86/kernel/ptrace.c ret = __get_user(word, u++); u 1037 arch/x86/kernel/ptrace.c count -= sizeof(*u); u 1038 arch/x86/kernel/ptrace.c pos += sizeof(*u); u 225 arch/x86/kvm/emulate.c } u; u 4425 arch/x86/kvm/emulate.c #define EXT(_f, _e) { .flags = ((_f) | RMExt), .u.group = (_e) } u 4426 arch/x86/kvm/emulate.c #define G(_f, _g) { .flags = ((_f) | Group | ModRM), .u.group = (_g) } u 4427 arch/x86/kvm/emulate.c #define GD(_f, _g) { .flags = ((_f) | GroupDual | ModRM), .u.gdual = (_g) } u 4428 arch/x86/kvm/emulate.c #define ID(_f, _i) { .flags = ((_f) | InstrDual | ModRM), .u.idual = (_i) } u 4429 arch/x86/kvm/emulate.c #define MD(_f, _m) { .flags = ((_f) | ModeDual), .u.mdual = (_m) } u 4430 arch/x86/kvm/emulate.c #define E(_f, _e) { .flags = ((_f) | Escape | ModRM), .u.esc = (_e) } u 4431 arch/x86/kvm/emulate.c #define I(_f, _e) { .flags = (_f), .u.execute = (_e) } u 4432 arch/x86/kvm/emulate.c #define F(_f, _e) { .flags = (_f) | Fastop, .u.fastop = (_e) } u 4434 arch/x86/kvm/emulate.c { .flags = (_f)|Intercept, .u.execute = (_e), .intercept = x86_intercept_##_i } u 4436 arch/x86/kvm/emulate.c { .flags = (_f)|Intercept|CheckPerm, .u.execute = (_e), \ u 4438 arch/x86/kvm/emulate.c #define GP(_f, _g) { .flags = ((_f) | Prefix), .u.gprefix = (_g) } u 5333 arch/x86/kvm/emulate.c opcode = opcode.u.group[goffset]; u 5338 arch/x86/kvm/emulate.c opcode = opcode.u.gdual->mod3[goffset]; u 5340 arch/x86/kvm/emulate.c opcode = opcode.u.gdual->mod012[goffset]; u 5344 arch/x86/kvm/emulate.c opcode = opcode.u.group[goffset]; u 5351 arch/x86/kvm/emulate.c case 0x00: opcode = opcode.u.gprefix->pfx_no; break; u 5352 arch/x86/kvm/emulate.c case 0x66: opcode = opcode.u.gprefix->pfx_66; break; u 5353 arch/x86/kvm/emulate.c case 0xf2: opcode = opcode.u.gprefix->pfx_f2; break; u 5354 arch/x86/kvm/emulate.c case 0xf3: opcode = opcode.u.gprefix->pfx_f3; break; u 5359 arch/x86/kvm/emulate.c size_t size = ARRAY_SIZE(opcode.u.esc->high); u 5363 arch/x86/kvm/emulate.c opcode = opcode.u.esc->high[index]; u 5365 arch/x86/kvm/emulate.c opcode = opcode.u.esc->op[(ctxt->modrm >> 3) & 7]; u 5370 arch/x86/kvm/emulate.c opcode = opcode.u.idual->mod3; u 5372 arch/x86/kvm/emulate.c opcode = opcode.u.idual->mod012; u 5376 arch/x86/kvm/emulate.c opcode = opcode.u.mdual->mode64; u 5378 arch/x86/kvm/emulate.c opcode = opcode.u.mdual->mode32; u 5392 arch/x86/kvm/emulate.c ctxt->execute = opcode.u.execute; u 194 arch/x86/kvm/hyperv.c hv_vcpu->exit.u.synic.msr = msr; u 195 arch/x86/kvm/hyperv.c hv_vcpu->exit.u.synic.control = synic->control; u 196 arch/x86/kvm/hyperv.c hv_vcpu->exit.u.synic.evt_page = synic->evt_page; u 197 arch/x86/kvm/hyperv.c hv_vcpu->exit.u.synic.msg_page = synic->msg_page; u 626 arch/x86/kvm/hyperv.c (struct hv_timer_message_payload *)&msg->u.payload; u 733 arch/x86/kvm/hyperv.c (struct hv_timer_message_payload *)&msg->u.payload; u 1556 arch/x86/kvm/hyperv.c return kvm_hv_hypercall_complete(vcpu, vcpu->run->hyperv.u.hcall.result); u 1662 arch/x86/kvm/hyperv.c vcpu->run->hyperv.u.hcall.input = param; u 1663 arch/x86/kvm/hyperv.c vcpu->run->hyperv.u.hcall.params[0] = ingpa; u 1664 arch/x86/kvm/hyperv.c vcpu->run->hyperv.u.hcall.params[1] = outgpa; u 283 arch/x86/kvm/irq_comm.c e->irqchip.pin = ue->u.irqchip.pin; u 284 arch/x86/kvm/irq_comm.c switch (ue->u.irqchip.irqchip) { u 289 arch/x86/kvm/irq_comm.c if (ue->u.irqchip.pin >= PIC_NUM_PINS / 2) u 294 arch/x86/kvm/irq_comm.c if (ue->u.irqchip.pin >= KVM_IOAPIC_NUM_PINS) u 301 arch/x86/kvm/irq_comm.c e->irqchip.irqchip = ue->u.irqchip.irqchip; u 305 arch/x86/kvm/irq_comm.c e->msi.address_lo = ue->u.msi.address_lo; u 306 arch/x86/kvm/irq_comm.c e->msi.address_hi = ue->u.msi.address_hi; u 307 arch/x86/kvm/irq_comm.c e->msi.data = ue->u.msi.data; u 314 arch/x86/kvm/irq_comm.c e->hv_sint.vcpu = ue->u.hv_sint.vcpu; u 315 arch/x86/kvm/irq_comm.c e->hv_sint.sint = ue->u.hv_sint.sint; u 353 arch/x86/kvm/irq_comm.c .u.irqchip = { .irqchip = KVM_IRQCHIP_IOAPIC, .pin = (irq) } } u 358 arch/x86/kvm/irq_comm.c .u.irqchip = { .irqchip = SELECT_PIC(irq), .pin = (irq) % 8 } } u 4760 arch/x86/kvm/mmu.c const u8 u = BYTE_MASK(ACC_USER_MASK); u 4777 arch/x86/kvm/mmu.c u8 uf = (pfec & PFERR_USER_MASK) ? (u8)~u : 0; u 4787 arch/x86/kvm/mmu.c u8 kf = (pfec & PFERR_USER_MASK) ? 0 : u; u 342 arch/x86/kvm/mmutrace.h __field(u8, u) u 352 arch/x86/kvm/mmutrace.h __entry->u = shadow_user_mask ? !!(__entry->spte & shadow_user_mask) : -1; u 360 arch/x86/kvm/mmutrace.h __entry->u == -1 ? "" : (__entry->u ? "u" : "-"), u 4184 arch/x86/kvm/x86.c } u; u 4188 arch/x86/kvm/x86.c u.buffer = NULL; u 4194 arch/x86/kvm/x86.c u.lapic = kzalloc(sizeof(struct kvm_lapic_state), u 4198 arch/x86/kvm/x86.c if (!u.lapic) u 4200 arch/x86/kvm/x86.c r = kvm_vcpu_ioctl_get_lapic(vcpu, u.lapic); u 4204 arch/x86/kvm/x86.c if (copy_to_user(argp, u.lapic, sizeof(struct kvm_lapic_state))) u 4213 arch/x86/kvm/x86.c u.lapic = memdup_user(argp, sizeof(*u.lapic)); u 4214 arch/x86/kvm/x86.c if (IS_ERR(u.lapic)) { u 4215 arch/x86/kvm/x86.c r = PTR_ERR(u.lapic); u 4219 arch/x86/kvm/x86.c r = kvm_vcpu_ioctl_set_lapic(vcpu, u.lapic); u 4382 arch/x86/kvm/x86.c u.xsave = kzalloc(sizeof(struct kvm_xsave), GFP_KERNEL_ACCOUNT); u 4384 arch/x86/kvm/x86.c if (!u.xsave) u 4387 arch/x86/kvm/x86.c kvm_vcpu_ioctl_x86_get_xsave(vcpu, u.xsave); u 4390 arch/x86/kvm/x86.c if (copy_to_user(argp, u.xsave, sizeof(struct kvm_xsave))) u 4396 arch/x86/kvm/x86.c u.xsave = memdup_user(argp, sizeof(*u.xsave)); u 4397 arch/x86/kvm/x86.c if (IS_ERR(u.xsave)) { u 4398 arch/x86/kvm/x86.c r = PTR_ERR(u.xsave); u 4402 arch/x86/kvm/x86.c r = kvm_vcpu_ioctl_x86_set_xsave(vcpu, u.xsave); u 4406 arch/x86/kvm/x86.c u.xcrs = kzalloc(sizeof(struct kvm_xcrs), GFP_KERNEL_ACCOUNT); u 4408 arch/x86/kvm/x86.c if (!u.xcrs) u 4411 arch/x86/kvm/x86.c kvm_vcpu_ioctl_x86_get_xcrs(vcpu, u.xcrs); u 4414 arch/x86/kvm/x86.c if (copy_to_user(argp, u.xcrs, u 4421 arch/x86/kvm/x86.c u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); u 4422 arch/x86/kvm/x86.c if (IS_ERR(u.xcrs)) { u 4423 arch/x86/kvm/x86.c r = PTR_ERR(u.xcrs); u 4427 arch/x86/kvm/x86.c r = kvm_vcpu_ioctl_x86_set_xcrs(vcpu, u.xcrs); u 4548 arch/x86/kvm/x86.c kfree(u.buffer); u 4905 arch/x86/kvm/x86.c } u; u 4967 arch/x86/kvm/x86.c u.pit_config.flags = KVM_PIT_SPEAKER_DUMMY; u 4971 arch/x86/kvm/x86.c if (copy_from_user(&u.pit_config, argp, u 4980 arch/x86/kvm/x86.c kvm->arch.vpit = kvm_create_pit(kvm, u.pit_config.flags); u 5033 arch/x86/kvm/x86.c if (copy_from_user(&u.ps, argp, sizeof(struct kvm_pit_state))) u 5038 arch/x86/kvm/x86.c r = kvm_vm_ioctl_get_pit(kvm, &u.ps); u 5042 arch/x86/kvm/x86.c if (copy_to_user(argp, &u.ps, sizeof(struct kvm_pit_state))) u 5049 arch/x86/kvm/x86.c if (copy_from_user(&u.ps, argp, sizeof(u.ps))) u 5054 arch/x86/kvm/x86.c r = kvm_vm_ioctl_set_pit(kvm, &u.ps); u 5061 arch/x86/kvm/x86.c r = kvm_vm_ioctl_get_pit2(kvm, &u.ps2); u 5065 arch/x86/kvm/x86.c if (copy_to_user(argp, &u.ps2, sizeof(u.ps2))) u 5072 arch/x86/kvm/x86.c if (copy_from_user(&u.ps2, argp, sizeof(u.ps2))) u 5077 arch/x86/kvm/x86.c r = kvm_vm_ioctl_set_pit2(kvm, &u.ps2); u 229 arch/x86/mm/dump_pagetables.c static unsigned long normalize_addr(unsigned long u) u 233 arch/x86/mm/dump_pagetables.c return u; u 236 arch/x86/mm/dump_pagetables.c return (signed long)(u << shift) >> shift; u 902 arch/x86/mm/init.c u64 u; u 922 arch/x86/mm/init.c for_each_free_mem_range(u, NUMA_NO_NODE, MEMBLOCK_NONE, &start_addr, &end_addr, NULL) { u 34 arch/x86/um/asm/mm_context.h } u; u 71 arch/x86/um/ldt.c if (copy_to_user(ptr, ldt->u.entries, size)) u 82 arch/x86/um/ldt.c if (copy_to_user(ptr, ldt->u.pages[i], size)) { u 159 arch/x86/um/ldt.c memcpy(&entry0, ldt->u.entries, u 161 arch/x86/um/ldt.c ldt->u.pages[i] = (struct ldt_entry *) u 163 arch/x86/um/ldt.c if (!ldt->u.pages[i]) { u 171 arch/x86/um/ldt.c memcpy(ldt->u.pages[0], &entry0, u 173 arch/x86/um/ldt.c memcpy(ldt->u.pages[0]+1, ldt->u.entries+1, u 183 arch/x86/um/ldt.c ldt_p = ldt->u.entries + ldt_info.entry_number; u 185 arch/x86/um/ldt.c ldt_p = ldt->u.pages[ldt_info.entry_number/LDT_ENTRIES_PER_PAGE] + u 337 arch/x86/um/ldt.c memcpy(new_mm->arch.ldt.u.entries, from_mm->arch.ldt.u.entries, u 338 arch/x86/um/ldt.c sizeof(new_mm->arch.ldt.u.entries)); u 347 arch/x86/um/ldt.c new_mm->arch.ldt.u.pages[i] = u 349 arch/x86/um/ldt.c memcpy(new_mm->arch.ldt.u.pages[i], u 350 arch/x86/um/ldt.c from_mm->arch.ldt.u.pages[i], PAGE_SIZE); u 368 arch/x86/um/ldt.c free_page((long) mm->arch.ldt.u.pages[i]); u 20 arch/x86/um/syscalls_64.c int pid = task->mm->context.id.u.pid; u 50 arch/x86/xen/apic.c .u.pcpu_info.xen_cpuid = 0, u 70 arch/x86/xen/apic.c op.u.pcpu_info.apic_id = BAD_APICID; u 72 arch/x86/xen/apic.c return op.u.pcpu_info.apic_id << 24; u 49 arch/x86/xen/efi.c .u.firmware_info = { u 54 arch/x86/xen/efi.c union xenpf_efi_info *info = &op.u.firmware_info.u.efi_info; u 66 arch/x86/xen/efi.c op.u.firmware_info.type = XEN_FW_EFI_INFO; u 67 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_VENDOR; u 78 arch/x86/xen/efi.c op.u.firmware_info.type = XEN_FW_EFI_INFO; u 79 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_VERSION; u 85 arch/x86/xen/efi.c op.u.firmware_info.type = XEN_FW_EFI_INFO; u 86 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_RT_VERSION; u 211 arch/x86/xen/enlighten_pv.c .u.set_pminfo.id = -1, u 212 arch/x86/xen/enlighten_pv.c .u.set_pminfo.type = XEN_PM_PDC, u 265 arch/x86/xen/enlighten_pv.c set_xen_guest_handle(op.u.set_pminfo.pdc, buf); u 1129 arch/x86/xen/enlighten_pv.c op.u.firmware_info.type = XEN_FW_DISK_INFO; u 1133 arch/x86/xen/enlighten_pv.c op.u.firmware_info.index = nr; u 1135 arch/x86/xen/enlighten_pv.c set_xen_guest_handle(op.u.firmware_info.u.disk_info.edd_params, u 1141 arch/x86/xen/enlighten_pv.c #define C(x) info->x = op.u.firmware_info.u.disk_info.x u 1152 arch/x86/xen/enlighten_pv.c op.u.firmware_info.type = XEN_FW_DISK_MBR_SIGNATURE; u 1154 arch/x86/xen/enlighten_pv.c op.u.firmware_info.index = nr; u 1158 arch/x86/xen/enlighten_pv.c mbr_signature[nr] = op.u.firmware_info.u.disk_mbr_signature.mbr_signature; u 1363 arch/x86/xen/enlighten_pv.c .u.firmware_info.type = XEN_FW_KBD_SHIFT_FLAGS, u 1373 arch/x86/xen/enlighten_pv.c boot_params.kbd_status = op.u.firmware_info.u.kbd_shift_flags; u 186 arch/x86/xen/mmu_pv.c struct mmu_update *u; u 188 arch/x86/xen/mmu_pv.c mcs = xen_mc_extend_args(__HYPERVISOR_mmu_update, sizeof(*u)); u 193 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(sizeof(*u)); u 197 arch/x86/xen/mmu_pv.c u = mcs.args; u 198 arch/x86/xen/mmu_pv.c *u = *update; u 204 arch/x86/xen/mmu_pv.c struct mmuext_op *u; u 206 arch/x86/xen/mmu_pv.c mcs = xen_mc_extend_args(__HYPERVISOR_mmuext_op, sizeof(*u)); u 211 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(sizeof(*u)); u 215 arch/x86/xen/mmu_pv.c u = mcs.args; u 216 arch/x86/xen/mmu_pv.c *u = *op; u 221 arch/x86/xen/mmu_pv.c struct mmu_update u; u 228 arch/x86/xen/mmu_pv.c u.ptr = arbitrary_virt_to_machine(ptr).maddr; u 229 arch/x86/xen/mmu_pv.c u.val = pmd_val_ma(val); u 230 arch/x86/xen/mmu_pv.c xen_extend_mmu_update(&u); u 262 arch/x86/xen/mmu_pv.c struct mmu_update u; u 269 arch/x86/xen/mmu_pv.c u.ptr = virt_to_machine(ptep).maddr | MMU_NORMAL_PT_UPDATE; u 270 arch/x86/xen/mmu_pv.c u.val = pte_val_ma(pteval); u 271 arch/x86/xen/mmu_pv.c xen_extend_mmu_update(&u); u 288 arch/x86/xen/mmu_pv.c struct mmu_update u; u 290 arch/x86/xen/mmu_pv.c u.ptr = virt_to_machine(ptep).maddr | MMU_NORMAL_PT_UPDATE; u 291 arch/x86/xen/mmu_pv.c u.val = pte_val_ma(pteval); u 292 arch/x86/xen/mmu_pv.c HYPERVISOR_mmu_update(&u, 1, NULL, DOMID_SELF); u 320 arch/x86/xen/mmu_pv.c struct mmu_update u; u 325 arch/x86/xen/mmu_pv.c u.ptr = virt_to_machine(ptep).maddr | MMU_PT_UPDATE_PRESERVE_AD; u 326 arch/x86/xen/mmu_pv.c u.val = pte_val_ma(pte); u 327 arch/x86/xen/mmu_pv.c xen_extend_mmu_update(&u); u 412 arch/x86/xen/mmu_pv.c struct mmu_update u; u 419 arch/x86/xen/mmu_pv.c u.ptr = arbitrary_virt_to_machine(ptr).maddr; u 420 arch/x86/xen/mmu_pv.c u.val = pud_val_ma(val); u 421 arch/x86/xen/mmu_pv.c xen_extend_mmu_update(&u); u 502 arch/x86/xen/mmu_pv.c struct mmu_update u; u 504 arch/x86/xen/mmu_pv.c u.ptr = virt_to_machine(ptr).maddr; u 505 arch/x86/xen/mmu_pv.c u.val = p4d_val_ma(val); u 506 arch/x86/xen/mmu_pv.c xen_extend_mmu_update(&u); u 113 arch/x86/xen/time.c op.u.settime64.mbz = 0; u 114 arch/x86/xen/time.c op.u.settime64.secs = now.tv_sec; u 115 arch/x86/xen/time.c op.u.settime64.nsecs = now.tv_nsec; u 116 arch/x86/xen/time.c op.u.settime64.system_time = xen_clocksource_read(); u 119 arch/x86/xen/time.c op.u.settime32.secs = now.tv_sec; u 120 arch/x86/xen/time.c op.u.settime32.nsecs = now.tv_nsec; u 121 arch/x86/xen/time.c op.u.settime32.system_time = xen_clocksource_read(); u 28 arch/x86/xen/vga.c if (size < offsetof(struct dom0_vga_console_info, u.text_mode_3) u 29 arch/x86/xen/vga.c + sizeof(info->u.text_mode_3)) u 31 arch/x86/xen/vga.c screen_info->orig_video_lines = info->u.text_mode_3.rows; u 32 arch/x86/xen/vga.c screen_info->orig_video_cols = info->u.text_mode_3.columns; u 33 arch/x86/xen/vga.c screen_info->orig_x = info->u.text_mode_3.cursor_x; u 34 arch/x86/xen/vga.c screen_info->orig_y = info->u.text_mode_3.cursor_y; u 36 arch/x86/xen/vga.c info->u.text_mode_3.font_height; u 42 arch/x86/xen/vga.c u.vesa_lfb.gbl_caps)) u 45 arch/x86/xen/vga.c screen_info->lfb_width = info->u.vesa_lfb.width; u 46 arch/x86/xen/vga.c screen_info->lfb_height = info->u.vesa_lfb.height; u 47 arch/x86/xen/vga.c screen_info->lfb_depth = info->u.vesa_lfb.bits_per_pixel; u 48 arch/x86/xen/vga.c screen_info->lfb_base = info->u.vesa_lfb.lfb_base; u 49 arch/x86/xen/vga.c screen_info->lfb_size = info->u.vesa_lfb.lfb_size; u 50 arch/x86/xen/vga.c screen_info->lfb_linelength = info->u.vesa_lfb.bytes_per_line; u 51 arch/x86/xen/vga.c screen_info->red_size = info->u.vesa_lfb.red_size; u 52 arch/x86/xen/vga.c screen_info->red_pos = info->u.vesa_lfb.red_pos; u 53 arch/x86/xen/vga.c screen_info->green_size = info->u.vesa_lfb.green_size; u 54 arch/x86/xen/vga.c screen_info->green_pos = info->u.vesa_lfb.green_pos; u 55 arch/x86/xen/vga.c screen_info->blue_size = info->u.vesa_lfb.blue_size; u 56 arch/x86/xen/vga.c screen_info->blue_pos = info->u.vesa_lfb.blue_pos; u 57 arch/x86/xen/vga.c screen_info->rsvd_size = info->u.vesa_lfb.rsvd_size; u 58 arch/x86/xen/vga.c screen_info->rsvd_pos = info->u.vesa_lfb.rsvd_pos; u 66 arch/x86/xen/vga.c u.vesa_lfb.gbl_caps) u 67 arch/x86/xen/vga.c + sizeof(info->u.vesa_lfb.gbl_caps)) u 68 arch/x86/xen/vga.c screen_info->capabilities = info->u.vesa_lfb.gbl_caps; u 70 arch/x86/xen/vga.c u.vesa_lfb.mode_attrs) u 71 arch/x86/xen/vga.c + sizeof(info->u.vesa_lfb.mode_attrs)) u 72 arch/x86/xen/vga.c screen_info->vesa_attributes = info->u.vesa_lfb.mode_attrs; u 153 arch/xtensa/variants/test_kc705_hifi/include/variant/tie.h XCHAL_SA_REG(s,0,0,2,0, u0, 8, 8, 8,0x1020, u,0 , 64,0,0,0) \ u 154 arch/xtensa/variants/test_kc705_hifi/include/variant/tie.h XCHAL_SA_REG(s,0,0,2,0, u1, 8, 8, 8,0x1021, u,1 , 64,0,0,0) \ u 155 arch/xtensa/variants/test_kc705_hifi/include/variant/tie.h XCHAL_SA_REG(s,0,0,2,0, u2, 8, 8, 8,0x1022, u,2 , 64,0,0,0) \ u 156 arch/xtensa/variants/test_kc705_hifi/include/variant/tie.h XCHAL_SA_REG(s,0,0,2,0, u3, 8, 8, 8,0x1023, u,3 , 64,0,0,0) u 807 block/blk-iocost.c u64 *u = ioc->params.i_lcoefs; u 810 block/blk-iocost.c calc_lcoefs(u[I_LCOEF_RBPS], u[I_LCOEF_RSEQIOPS], u[I_LCOEF_RRANDIOPS], u 812 block/blk-iocost.c calc_lcoefs(u[I_LCOEF_WBPS], u[I_LCOEF_WSEQIOPS], u[I_LCOEF_WRANDIOPS], u 2334 block/blk-iocost.c u64 *u = ioc->params.i_lcoefs; u 2343 block/blk-iocost.c u[I_LCOEF_RBPS], u[I_LCOEF_RSEQIOPS], u[I_LCOEF_RRANDIOPS], u 2344 block/blk-iocost.c u[I_LCOEF_WBPS], u[I_LCOEF_WSEQIOPS], u[I_LCOEF_WRANDIOPS]); u 2378 block/blk-iocost.c u64 u[NR_I_LCOEFS]; u 2396 block/blk-iocost.c memcpy(u, ioc->params.i_lcoefs, sizeof(u)); u 2431 block/blk-iocost.c u[tok] = v; u 2437 block/blk-iocost.c memcpy(ioc->params.i_lcoefs, u, sizeof(u)); u 58 block/sed-opal.c u64 u; u 765 block/sed-opal.c tok->stored.u = pos[0] & 0x3f; u 795 block/sed-opal.c tok->stored.u = u_integer; u 968 block/sed-opal.c return tok->stored.u; u 105 crypto/adiantum.c } u; u 262 crypto/adiantum.c struct shash_desc *hash_desc = &rctx->u.hash_desc; u 385 crypto/adiantum.c skcipher_request_set_tfm(&rctx->u.streamcipher_req, tctx->streamcipher); u 386 crypto/adiantum.c skcipher_request_set_crypt(&rctx->u.streamcipher_req, req->src, u 388 crypto/adiantum.c skcipher_request_set_callback(&rctx->u.streamcipher_req, u 391 crypto/adiantum.c return crypto_skcipher_encrypt(&rctx->u.streamcipher_req) ?: u 436 crypto/adiantum.c BUILD_BUG_ON(offsetofend(struct adiantum_request_ctx, u) != u 439 crypto/adiantum.c u.hash_desc) + u 442 crypto/adiantum.c u.streamcipher_req) + u 446 crypto/adiantum.c offsetof(struct adiantum_request_ctx, u) + u 69 crypto/chacha20poly1305.c } u; u 129 crypto/chacha20poly1305.c struct chacha_req *creq = &rctx->u.chacha; u 176 crypto/chacha20poly1305.c struct poly_req *preq = &rctx->u.poly; u 205 crypto/chacha20poly1305.c struct poly_req *preq = &rctx->u.poly; u 234 crypto/chacha20poly1305.c struct poly_req *preq = &rctx->u.poly; u 264 crypto/chacha20poly1305.c struct poly_req *preq = &rctx->u.poly; u 293 crypto/chacha20poly1305.c struct poly_req *preq = &rctx->u.poly; u 317 crypto/chacha20poly1305.c struct poly_req *preq = &rctx->u.poly; u 343 crypto/chacha20poly1305.c struct poly_req *preq = &rctx->u.poly; u 367 crypto/chacha20poly1305.c struct chacha_req *creq = &rctx->u.chacha; u 405 crypto/chacha20poly1305.c struct chacha_req *creq = &rctx->u.chacha; u 534 crypto/chacha20poly1305.c align + offsetof(struct chachapoly_req_ctx, u) + u 984 crypto/drbg.c } u; u 1013 crypto/drbg.c u.req_int = cpu_to_be64(drbg->reseed_ctr); u 1014 crypto/drbg.c drbg_add_buf(drbg->V, drbg_statelen(drbg), u.req, 8); u 862 crypto/ecc.c u64 u[ECC_MAX_DIGITS], v[ECC_MAX_DIGITS]; u 873 crypto/ecc.c vli_clear(u, ndigits); u 874 crypto/ecc.c u[0] = 1; u 883 crypto/ecc.c if (!EVEN(u)) u 884 crypto/ecc.c carry = vli_add(u, u, mod, ndigits); u 886 crypto/ecc.c vli_rshift1(u, ndigits); u 888 crypto/ecc.c u[ndigits - 1] |= 0x8000000000000000ull; u 902 crypto/ecc.c if (vli_cmp(u, v, ndigits) < 0) u 903 crypto/ecc.c vli_add(u, u, mod, ndigits); u 905 crypto/ecc.c vli_sub(u, u, v, ndigits); u 906 crypto/ecc.c if (!EVEN(u)) u 907 crypto/ecc.c carry = vli_add(u, u, mod, ndigits); u 909 crypto/ecc.c vli_rshift1(u, ndigits); u 911 crypto/ecc.c u[ndigits - 1] |= 0x8000000000000000ull; u 916 crypto/ecc.c if (vli_cmp(v, u, ndigits) < 0) u 919 crypto/ecc.c vli_sub(v, v, u, ndigits); u 929 crypto/ecc.c vli_set(result, u, ndigits); u 44 crypto/essiv.c } u; u 53 crypto/essiv.c } u; u 73 crypto/essiv.c crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); u 74 crypto/essiv.c crypto_skcipher_set_flags(tctx->u.skcipher, u 77 crypto/essiv.c err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); u 79 crypto/essiv.c crypto_skcipher_get_flags(tctx->u.skcipher) & u 111 crypto/essiv.c crypto_aead_clear_flags(tctx->u.aead, CRYPTO_TFM_REQ_MASK); u 112 crypto/essiv.c crypto_aead_set_flags(tctx->u.aead, crypto_aead_get_flags(tfm) & u 114 crypto/essiv.c err = crypto_aead_setkey(tctx->u.aead, key, keylen); u 115 crypto/essiv.c crypto_aead_set_flags(tfm, crypto_aead_get_flags(tctx->u.aead) & u 148 crypto/essiv.c return crypto_aead_setauthsize(tctx->u.aead, authsize); u 166 crypto/essiv.c skcipher_request_set_tfm(subreq, tctx->u.skcipher); u 259 crypto/essiv.c aead_request_set_tfm(subreq, tctx->u.aead); u 318 crypto/essiv.c skcipher = crypto_spawn_skcipher(&ictx->u.skcipher_spawn); u 331 crypto/essiv.c tctx->u.skcipher = skcipher; u 347 crypto/essiv.c aead = crypto_spawn_aead(&ictx->u.aead_spawn); u 364 crypto/essiv.c tctx->u.aead = aead; u 372 crypto/essiv.c crypto_free_skcipher(tctx->u.skcipher); u 381 crypto/essiv.c crypto_free_aead(tctx->u.aead); u 390 crypto/essiv.c crypto_drop_skcipher(&ictx->u.skcipher_spawn); u 398 crypto/essiv.c crypto_drop_aead(&ictx->u.aead_spawn); u 499 crypto/essiv.c crypto_set_skcipher_spawn(&ictx->u.skcipher_spawn, inst); u 500 crypto/essiv.c err = crypto_grab_skcipher(&ictx->u.skcipher_spawn, u 506 crypto/essiv.c skcipher_alg = crypto_spawn_skcipher_alg(&ictx->u.skcipher_spawn); u 521 crypto/essiv.c crypto_set_aead_spawn(&ictx->u.aead_spawn, inst); u 522 crypto/essiv.c err = crypto_grab_aead(&ictx->u.aead_spawn, u 528 crypto/essiv.c aead_alg = crypto_spawn_aead_alg(&ictx->u.aead_spawn); u 632 crypto/essiv.c crypto_drop_skcipher(&ictx->u.skcipher_spawn); u 634 crypto/essiv.c crypto_drop_aead(&ictx->u.aead_spawn); u 228 crypto/fcrypt.c union lc4 { __be32 l; u8 c[4]; } u; \ u 229 crypto/fcrypt.c u.l = sched ^ R; \ u 230 crypto/fcrypt.c L ^= sbox0[u.c[0]] ^ sbox1[u.c[1]] ^ sbox2[u.c[2]] ^ sbox3[u.c[3]]; \ u 75 crypto/gcm.c } u; u 189 crypto/gcm.c struct skcipher_request *skreq = &pctx->u.skreq; u 214 crypto/gcm.c struct ahash_request *ahreq = &pctx->u.ahreq; u 232 crypto/gcm.c struct ahash_request *ahreq = &pctx->u.ahreq; u 407 crypto/gcm.c struct ahash_request *ahreq = &pctx->u.ahreq; u 460 crypto/gcm.c struct skcipher_request *skreq = &pctx->u.skreq; u 499 crypto/gcm.c struct skcipher_request *skreq = &pctx->u.skreq; u 552 crypto/gcm.c align + offsetof(struct crypto_gcm_req_priv_ctx, u) + u 305 drivers/atm/horizon.h } u; u 162 drivers/auxdisplay/panel.c } u; u 1249 drivers/auxdisplay/panel.c if (input->u.std.press_fct) u 1250 drivers/auxdisplay/panel.c input->u.std.press_fct(input->u.std.press_data); u 1256 drivers/auxdisplay/panel.c char *press_str = input->u.kbd.press_str; u 1259 drivers/auxdisplay/panel.c int s = sizeof(input->u.kbd.press_str); u 1265 drivers/auxdisplay/panel.c if (input->u.kbd.repeat_str[0]) { u 1266 drivers/auxdisplay/panel.c char *repeat_str = input->u.kbd.repeat_str; u 1269 drivers/auxdisplay/panel.c int s = sizeof(input->u.kbd.repeat_str); u 1307 drivers/auxdisplay/panel.c if (input->u.kbd.repeat_str[0]) { u 1308 drivers/auxdisplay/panel.c char *repeat_str = input->u.kbd.repeat_str; u 1311 drivers/auxdisplay/panel.c int s = sizeof(input->u.kbd.repeat_str); u 1327 drivers/auxdisplay/panel.c void (*release_fct)(int) = input->u.std.release_fct; u 1330 drivers/auxdisplay/panel.c release_fct(input->u.std.release_data); u 1332 drivers/auxdisplay/panel.c char *release_str = input->u.kbd.release_str; u 1335 drivers/auxdisplay/panel.c int s = sizeof(input->u.kbd.release_str); u 1504 drivers/auxdisplay/panel.c strncpy(key->u.kbd.press_str, press, sizeof(key->u.kbd.press_str)); u 1505 drivers/auxdisplay/panel.c strncpy(key->u.kbd.repeat_str, repeat, sizeof(key->u.kbd.repeat_str)); u 1506 drivers/auxdisplay/panel.c strncpy(key->u.kbd.release_str, release, u 1507 drivers/auxdisplay/panel.c sizeof(key->u.kbd.release_str)); u 1540 drivers/auxdisplay/panel.c callback->u.std.press_fct = press_fct; u 1541 drivers/auxdisplay/panel.c callback->u.std.press_data = press_data; u 1542 drivers/auxdisplay/panel.c callback->u.std.release_fct = release_fct; u 1543 drivers/auxdisplay/panel.c callback->u.std.release_data = release_data; u 120 drivers/block/paride/paride.h { union { u16 u; char t[2]; } r; u 123 drivers/block/paride/paride.h return r.u; u 128 drivers/block/paride/paride.h { union { u32 u; char f[4]; } r; u 132 drivers/block/paride/paride.h return r.u; u 970 drivers/block/xen-blkback/blkback.c pages[i]->gref = req->u.indirect.indirect_grefs[i]; u 1020 drivers/block/xen-blkback/blkback.c preq.sector_number = req->u.discard.sector_number; u 1021 drivers/block/xen-blkback/blkback.c preq.nr_sects = req->u.discard.nr_sectors; u 1033 drivers/block/xen-blkback/blkback.c (req->u.discard.flag & BLKIF_DISCARD_SECURE)) ? u 1036 drivers/block/xen-blkback/blkback.c err = blkdev_issue_discard(bdev, req->u.discard.sector_number, u 1037 drivers/block/xen-blkback/blkback.c req->u.discard.nr_sectors, u 1046 drivers/block/xen-blkback/blkback.c make_response(ring, req->u.discard.id, req->operation, status); u 1056 drivers/block/xen-blkback/blkback.c make_response(ring, req->u.other.id, req->operation, u 1242 drivers/block/xen-blkback/blkback.c req->u.indirect.indirect_op : req->operation; u 1277 drivers/block/xen-blkback/blkback.c req->u.indirect.nr_segments : req->u.rw.nr_segments; u 1292 drivers/block/xen-blkback/blkback.c pending_req->id = req->u.rw.id; u 1298 drivers/block/xen-blkback/blkback.c preq.dev = req->u.rw.handle; u 1299 drivers/block/xen-blkback/blkback.c preq.sector_number = req->u.rw.sector_number; u 1301 drivers/block/xen-blkback/blkback.c pages[i]->gref = req->u.rw.seg[i].gref; u 1302 drivers/block/xen-blkback/blkback.c seg[i].nsec = req->u.rw.seg[i].last_sect - u 1303 drivers/block/xen-blkback/blkback.c req->u.rw.seg[i].first_sect + 1; u 1304 drivers/block/xen-blkback/blkback.c seg[i].offset = (req->u.rw.seg[i].first_sect << 9); u 1305 drivers/block/xen-blkback/blkback.c if ((req->u.rw.seg[i].last_sect >= (XEN_PAGE_SIZE >> 9)) || u 1306 drivers/block/xen-blkback/blkback.c (req->u.rw.seg[i].last_sect < u 1307 drivers/block/xen-blkback/blkback.c req->u.rw.seg[i].first_sect)) u 1312 drivers/block/xen-blkback/blkback.c preq.dev = req->u.indirect.handle; u 1313 drivers/block/xen-blkback/blkback.c preq.sector_number = req->u.indirect.sector_number; u 1421 drivers/block/xen-blkback/blkback.c make_response(ring, req->u.rw.id, req_operation, BLKIF_RSP_ERROR); u 128 drivers/block/xen-blkback/common.h } u; u 184 drivers/block/xen-blkback/common.h } u; u 405 drivers/block/xen-blkback/common.h dst->u.rw.nr_segments = src->u.rw.nr_segments; u 406 drivers/block/xen-blkback/common.h dst->u.rw.handle = src->u.rw.handle; u 407 drivers/block/xen-blkback/common.h dst->u.rw.id = src->u.rw.id; u 408 drivers/block/xen-blkback/common.h dst->u.rw.sector_number = src->u.rw.sector_number; u 410 drivers/block/xen-blkback/common.h if (n > dst->u.rw.nr_segments) u 411 drivers/block/xen-blkback/common.h n = dst->u.rw.nr_segments; u 413 drivers/block/xen-blkback/common.h dst->u.rw.seg[i] = src->u.rw.seg[i]; u 416 drivers/block/xen-blkback/common.h dst->u.discard.flag = src->u.discard.flag; u 417 drivers/block/xen-blkback/common.h dst->u.discard.id = src->u.discard.id; u 418 drivers/block/xen-blkback/common.h dst->u.discard.sector_number = src->u.discard.sector_number; u 419 drivers/block/xen-blkback/common.h dst->u.discard.nr_sectors = src->u.discard.nr_sectors; u 422 drivers/block/xen-blkback/common.h dst->u.indirect.indirect_op = src->u.indirect.indirect_op; u 423 drivers/block/xen-blkback/common.h dst->u.indirect.nr_segments = src->u.indirect.nr_segments; u 424 drivers/block/xen-blkback/common.h dst->u.indirect.handle = src->u.indirect.handle; u 425 drivers/block/xen-blkback/common.h dst->u.indirect.id = src->u.indirect.id; u 426 drivers/block/xen-blkback/common.h dst->u.indirect.sector_number = src->u.indirect.sector_number; u 428 drivers/block/xen-blkback/common.h j = min(MAX_INDIRECT_PAGES, INDIRECT_PAGES(dst->u.indirect.nr_segments)); u 430 drivers/block/xen-blkback/common.h dst->u.indirect.indirect_grefs[i] = u 431 drivers/block/xen-blkback/common.h src->u.indirect.indirect_grefs[i]; u 438 drivers/block/xen-blkback/common.h dst->u.other.id = src->u.other.id; u 453 drivers/block/xen-blkback/common.h dst->u.rw.nr_segments = src->u.rw.nr_segments; u 454 drivers/block/xen-blkback/common.h dst->u.rw.handle = src->u.rw.handle; u 455 drivers/block/xen-blkback/common.h dst->u.rw.id = src->u.rw.id; u 456 drivers/block/xen-blkback/common.h dst->u.rw.sector_number = src->u.rw.sector_number; u 458 drivers/block/xen-blkback/common.h if (n > dst->u.rw.nr_segments) u 459 drivers/block/xen-blkback/common.h n = dst->u.rw.nr_segments; u 461 drivers/block/xen-blkback/common.h dst->u.rw.seg[i] = src->u.rw.seg[i]; u 464 drivers/block/xen-blkback/common.h dst->u.discard.flag = src->u.discard.flag; u 465 drivers/block/xen-blkback/common.h dst->u.discard.id = src->u.discard.id; u 466 drivers/block/xen-blkback/common.h dst->u.discard.sector_number = src->u.discard.sector_number; u 467 drivers/block/xen-blkback/common.h dst->u.discard.nr_sectors = src->u.discard.nr_sectors; u 470 drivers/block/xen-blkback/common.h dst->u.indirect.indirect_op = src->u.indirect.indirect_op; u 471 drivers/block/xen-blkback/common.h dst->u.indirect.nr_segments = src->u.indirect.nr_segments; u 472 drivers/block/xen-blkback/common.h dst->u.indirect.handle = src->u.indirect.handle; u 473 drivers/block/xen-blkback/common.h dst->u.indirect.id = src->u.indirect.id; u 474 drivers/block/xen-blkback/common.h dst->u.indirect.sector_number = src->u.indirect.sector_number; u 476 drivers/block/xen-blkback/common.h j = min(MAX_INDIRECT_PAGES, INDIRECT_PAGES(dst->u.indirect.nr_segments)); u 478 drivers/block/xen-blkback/common.h dst->u.indirect.indirect_grefs[i] = u 479 drivers/block/xen-blkback/common.h src->u.indirect.indirect_grefs[i]; u 486 drivers/block/xen-blkback/common.h dst->u.other.id = src->u.other.id; u 271 drivers/block/xen-blkfront.c rinfo->shadow_free = rinfo->shadow[free].req.u.rw.id; u 272 drivers/block/xen-blkfront.c rinfo->shadow[free].req.u.rw.id = 0x0fffffee; /* debug */ u 279 drivers/block/xen-blkfront.c if (rinfo->shadow[id].req.u.rw.id != id) u 283 drivers/block/xen-blkfront.c rinfo->shadow[id].req.u.rw.id = rinfo->shadow_free; u 539 drivers/block/xen-blkfront.c (*ring_req)->u.rw.id = id; u 554 drivers/block/xen-blkfront.c ring_req->u.discard.nr_sectors = blk_rq_sectors(req); u 555 drivers/block/xen-blkfront.c ring_req->u.discard.id = id; u 556 drivers/block/xen-blkfront.c ring_req->u.discard.sector_number = (blkif_sector_t)blk_rq_pos(req); u 558 drivers/block/xen-blkfront.c ring_req->u.discard.flag = BLKIF_DISCARD_SECURE; u 560 drivers/block/xen-blkfront.c ring_req->u.discard.flag = 0; u 622 drivers/block/xen-blkfront.c ring_req->u.indirect.indirect_grefs[n] = gnt_list_entry->gref; u 657 drivers/block/xen-blkfront.c ring_req->u.rw.seg[grant_idx] = u 676 drivers/block/xen-blkfront.c uint16_t nr_segments = first->u.rw.nr_segments; u 682 drivers/block/xen-blkfront.c first->u.rw.nr_segments = BLKIF_MAX_SEGMENTS_PER_REQUEST; u 684 drivers/block/xen-blkfront.c second->u.rw.nr_segments = nr_segments - BLKIF_MAX_SEGMENTS_PER_REQUEST; u 685 drivers/block/xen-blkfront.c second->u.rw.sector_number = first->u.rw.sector_number + u 688 drivers/block/xen-blkfront.c second->u.rw.handle = first->u.rw.handle; u 761 drivers/block/xen-blkfront.c ring_req->u.indirect.indirect_op = rq_data_dir(req) ? u 763 drivers/block/xen-blkfront.c ring_req->u.indirect.sector_number = (blkif_sector_t)blk_rq_pos(req); u 764 drivers/block/xen-blkfront.c ring_req->u.indirect.handle = info->handle; u 765 drivers/block/xen-blkfront.c ring_req->u.indirect.nr_segments = num_grant; u 767 drivers/block/xen-blkfront.c ring_req->u.rw.sector_number = (blkif_sector_t)blk_rq_pos(req); u 768 drivers/block/xen-blkfront.c ring_req->u.rw.handle = info->handle; u 788 drivers/block/xen-blkfront.c ring_req->u.rw.nr_segments = num_grant; u 1289 drivers/block/xen-blkfront.c rinfo->shadow[i].req.u.indirect.nr_segments : u 1290 drivers/block/xen-blkfront.c rinfo->shadow[i].req.u.rw.nr_segments; u 1433 drivers/block/xen-blkfront.c s->req.u.indirect.nr_segments : s->req.u.rw.nr_segments; u 1453 drivers/block/xen-blkfront.c num_grant += s2->req.u.rw.nr_segments; u 1625 drivers/block/xen-blkfront.c rinfo->shadow[id].req.u.rw.nr_segments == 0)) { u 1880 drivers/block/xen-blkfront.c rinfo->shadow[j].req.u.rw.id = j + 1; u 1881 drivers/block/xen-blkfront.c rinfo->shadow[BLK_RING_SIZE(info)-1].req.u.rw.id = 0x0fffffff; u 700 drivers/char/hpet.c struct compat_hpet_info __user *u = compat_ptr(arg); u 701 drivers/char/hpet.c if (put_user(info.hi_ireqfreq, &u->hi_ireqfreq) || u 702 drivers/char/hpet.c put_user(info.hi_flags, &u->hi_flags) || u 703 drivers/char/hpet.c put_user(info.hi_hpet, &u->hi_hpet) || u 704 drivers/char/hpet.c put_user(info.hi_timer, &u->hi_timer)) u 92 drivers/char/hw_random/optee-rng.c param[0].u.memref.shm = pvt_data->entropy_shm_pool; u 93 drivers/char/hw_random/optee-rng.c param[0].u.memref.size = req_size; u 94 drivers/char/hw_random/optee-rng.c param[0].u.memref.shm_offs = 0; u 109 drivers/char/hw_random/optee-rng.c rng_size = param[0].u.memref.size; u 200 drivers/char/hw_random/optee-rng.c pvt_data.data_rate = param[0].u.value.a; u 201 drivers/char/hw_random/optee-rng.c pvt_data.optee_rng.quality = param[0].u.value.b; u 105 drivers/char/tpm/tpm_ftpm_tee.c .u.memref = { u 123 drivers/char/tpm/tpm_ftpm_tee.c .u.memref = { u 138 drivers/char/tpm/tpm_ftpm_tee.c temp_buf = tee_shm_get_va(shm, command_params[1].u.memref.shm_offs); u 867 drivers/char/virtio_console.c struct sg_list *sgl = sd->u.data; u 920 drivers/char/virtio_console.c .u.data = &sgl, u 53 drivers/clk/bcm/clk-kona-setup.c struct peri_clk_data *peri = bcm_clk->u.peri; u 91 drivers/clk/bcm/clk-kona-setup.c peri = bcm_clk->u.peri; u 131 drivers/clk/bcm/clk-kona-setup.c if (div->u.s.offset > limit) { u 133 drivers/clk/bcm/clk-kona-setup.c __func__, name, div->u.s.offset, limit); u 140 drivers/clk/bcm/clk-kona-setup.c if (div->u.s.offset > limit) { u 143 drivers/clk/bcm/clk-kona-setup.c __func__, name, div->u.s.offset, limit); u 340 drivers/clk/bcm/clk-kona-setup.c if (div->u.fixed == 0) { u 347 drivers/clk/bcm/clk-kona-setup.c if (!bitfield_valid(div->u.s.shift, div->u.s.width, u 352 drivers/clk/bcm/clk-kona-setup.c if (div->u.s.frac_width > div->u.s.width) { u 355 drivers/clk/bcm/clk-kona-setup.c div->u.s.frac_width, div->u.s.width); u 370 drivers/clk/bcm/clk-kona-setup.c struct peri_clk_data *peri = bcm_clk->u.peri; u 387 drivers/clk/bcm/clk-kona-setup.c return div->u.s.frac_width + pre_div->u.s.frac_width <= limit; u 422 drivers/clk/bcm/clk-kona-setup.c peri = bcm_clk->u.peri; u 685 drivers/clk/bcm/clk-kona-setup.c peri_clk_teardown(bcm_clk->u.data, &bcm_clk->init_data); u 690 drivers/clk/bcm/clk-kona-setup.c bcm_clk->u.data = NULL; u 714 drivers/clk/bcm/clk-kona-setup.c ret = peri_clk_setup(bcm_clk->u.data, init_data); u 60 drivers/clk/bcm/clk-kona.c return (u64)reg_div + ((u64)1 << div->u.s.frac_width); u 76 drivers/clk/bcm/clk-kona.c combined <<= div->u.s.frac_width; u 86 drivers/clk/bcm/clk-kona.c return (u64)div->u.fixed; u 97 drivers/clk/bcm/clk-kona.c return (u64)div->u.fixed; u 99 drivers/clk/bcm/clk-kona.c reg_div = ((u32)1 << div->u.s.width) - 1; u 114 drivers/clk/bcm/clk-kona.c return (u32)(scaled_div - ((u64)1 << div->u.s.frac_width)); u 124 drivers/clk/bcm/clk-kona.c return (u64)rate << div->u.s.frac_width; u 571 drivers/clk/bcm/clk-kona.c return (u64)div->u.fixed; u 574 drivers/clk/bcm/clk-kona.c reg_val = __ccu_read(ccu, div->u.s.offset); u 578 drivers/clk/bcm/clk-kona.c reg_div = bitfield_extract(reg_val, div->u.s.shift, div->u.s.width); u 606 drivers/clk/bcm/clk-kona.c if (div->u.s.scaled_div == BAD_SCALED_DIV_VALUE) { u 607 drivers/clk/bcm/clk-kona.c reg_val = __ccu_read(ccu, div->u.s.offset); u 608 drivers/clk/bcm/clk-kona.c reg_div = bitfield_extract(reg_val, div->u.s.shift, u 609 drivers/clk/bcm/clk-kona.c div->u.s.width); u 610 drivers/clk/bcm/clk-kona.c div->u.s.scaled_div = scaled_div_value(div, reg_div); u 616 drivers/clk/bcm/clk-kona.c reg_div = divider(div, div->u.s.scaled_div); u 626 drivers/clk/bcm/clk-kona.c reg_val = __ccu_read(ccu, div->u.s.offset); u 627 drivers/clk/bcm/clk-kona.c reg_val = bitfield_replace(reg_val, div->u.s.shift, div->u.s.width, u 629 drivers/clk/bcm/clk-kona.c __ccu_write(ccu, div->u.s.offset, reg_val); u 665 drivers/clk/bcm/clk-kona.c previous = div->u.s.scaled_div; u 669 drivers/clk/bcm/clk-kona.c div->u.s.scaled_div = scaled_div; u 680 drivers/clk/bcm/clk-kona.c div->u.s.scaled_div = previous; /* Revert the change */ u 977 drivers/clk/bcm/clk-kona.c struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; u 985 drivers/clk/bcm/clk-kona.c struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; u 993 drivers/clk/bcm/clk-kona.c struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; u 1002 drivers/clk/bcm/clk-kona.c struct peri_clk_data *data = bcm_clk->u.peri; u 1012 drivers/clk/bcm/clk-kona.c struct bcm_clk_div *div = &bcm_clk->u.peri->div; u 1018 drivers/clk/bcm/clk-kona.c return round_rate(bcm_clk->ccu, div, &bcm_clk->u.peri->pre_div, u 1086 drivers/clk/bcm/clk-kona.c struct peri_clk_data *data = bcm_clk->u.peri; u 1121 drivers/clk/bcm/clk-kona.c struct peri_clk_data *data = bcm_clk->u.peri; u 1134 drivers/clk/bcm/clk-kona.c struct peri_clk_data *data = bcm_clk->u.peri; u 1197 drivers/clk/bcm/clk-kona.c struct peri_clk_data *peri = bcm_clk->u.peri; u 68 drivers/clk/bcm/clk-kona.h (div)->u.s.frac_width > 0) u 277 drivers/clk/bcm/clk-kona.h } u; u 294 drivers/clk/bcm/clk-kona.h .u.fixed = (_value), \ u 301 drivers/clk/bcm/clk-kona.h .u.s.offset = (_offset), \ u 302 drivers/clk/bcm/clk-kona.h .u.s.shift = (_shift), \ u 303 drivers/clk/bcm/clk-kona.h .u.s.width = (_width), \ u 304 drivers/clk/bcm/clk-kona.h .u.s.scaled_div = BAD_SCALED_DIV_VALUE, \ u 311 drivers/clk/bcm/clk-kona.h .u.s.offset = (_offset), \ u 312 drivers/clk/bcm/clk-kona.h .u.s.shift = (_shift), \ u 313 drivers/clk/bcm/clk-kona.h .u.s.width = (_width), \ u 314 drivers/clk/bcm/clk-kona.h .u.s.frac_width = (_frac_width), \ u 315 drivers/clk/bcm/clk-kona.h .u.s.scaled_div = BAD_SCALED_DIV_VALUE, \ u 412 drivers/clk/bcm/clk-kona.h } u; u 426 drivers/clk/bcm/clk-kona.h .u.data = &_clk_name ## _data, \ u 122 drivers/cpufreq/pmac64-cpufreq.c args.u[0].p = &slew; u 133 drivers/cpufreq/pmac64-cpufreq.c args.u[0].p = &done; u 277 drivers/cpufreq/pmac64-cpufreq.c args.u[0].p = &done; u 302 drivers/cpufreq/pmac64-cpufreq.c args.u[0].p = &val; u 656 drivers/crypto/amcc/crypto4xx_alg.c alg.u.hash); u 958 drivers/crypto/amcc/crypto4xx_core.c amcc_alg = container_of(alg, struct crypto4xx_alg, alg.u.cipher); u 989 drivers/crypto/amcc/crypto4xx_core.c amcc_alg = container_of(alg, struct crypto4xx_alg, alg.u.aead); u 1023 drivers/crypto/amcc/crypto4xx_core.c rc = crypto_register_aead(&alg->alg.u.aead); u 1027 drivers/crypto/amcc/crypto4xx_core.c rc = crypto_register_ahash(&alg->alg.u.hash); u 1031 drivers/crypto/amcc/crypto4xx_core.c rc = crypto_register_rng(&alg->alg.u.rng); u 1035 drivers/crypto/amcc/crypto4xx_core.c rc = crypto_register_skcipher(&alg->alg.u.cipher); u 1056 drivers/crypto/amcc/crypto4xx_core.c crypto_unregister_ahash(&alg->alg.u.hash); u 1060 drivers/crypto/amcc/crypto4xx_core.c crypto_unregister_aead(&alg->alg.u.aead); u 1064 drivers/crypto/amcc/crypto4xx_core.c crypto_unregister_rng(&alg->alg.u.rng); u 1068 drivers/crypto/amcc/crypto4xx_core.c crypto_unregister_skcipher(&alg->alg.u.cipher); u 1172 drivers/crypto/amcc/crypto4xx_core.c amcc_alg = container_of(alg, struct crypto4xx_alg, alg.u.rng); u 1193 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_SKCIPHER, .u.cipher = { u 1213 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_SKCIPHER, .u.cipher = { u 1233 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_SKCIPHER, .u.cipher = { u 1254 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_SKCIPHER, .u.cipher = { u 1274 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_SKCIPHER, .u.cipher = { u 1293 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_SKCIPHER, .u.cipher = { u 1315 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_AEAD, .u.aead = { u 1336 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_AEAD, .u.aead = { u 1357 drivers/crypto/amcc/crypto4xx_core.c { .type = CRYPTO_ALG_TYPE_RNG, .u.rng = { u 140 drivers/crypto/amcc/crypto4xx_core.h } u; u 396 drivers/crypto/caam/desc_constr.h u##size immediate, \ u 465 drivers/crypto/caam/pdb.h u8 *u; u 77 drivers/crypto/caam/regs.h static inline u##len caam##len ## _to_cpu(u##len val) \ u 86 drivers/crypto/caam/regs.h static inline u##len cpu_to_caam##len(u##len val) \ u 89 drivers/crypto/caam/regs.h return (__force u##len)cpu_to_le##len(val); \ u 91 drivers/crypto/caam/regs.h return (__force u##len)cpu_to_be##len(val); \ u 74 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u[8]; u 131 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u[2]; u 160 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 189 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 222 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 285 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 335 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 370 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 410 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 439 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 468 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 504 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 558 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 589 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 617 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 644 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 u; u 355 drivers/crypto/cavium/cpt/cptpf_main.c pf_cnsts.u = cpt_read_csr64(cpt->reg_base, CPTX_PF_CONSTANTS(0)); u 364 drivers/crypto/cavium/cpt/cptpf_main.c bist_sts.u = cpt_read_csr64(cpt->reg_base, u 367 drivers/crypto/cavium/cpt/cptpf_main.c return bist_sts.u; u 374 drivers/crypto/cavium/cpt/cptpf_main.c bist_sts.u = cpt_read_csr64(cpt->reg_base, u 377 drivers/crypto/cavium/cpt/cptpf_main.c return bist_sts.u; u 41 drivers/crypto/cavium/cpt/cptpf_mbox.c pf_qx_ctl.u = cpt_read_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf)); u 44 drivers/crypto/cavium/cpt/cptpf_mbox.c cpt_write_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf), pf_qx_ctl.u); u 54 drivers/crypto/cavium/cpt/cptpf_mbox.c pf_qx_ctl.u = cpt_read_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf)); u 56 drivers/crypto/cavium/cpt/cptpf_mbox.c cpt_write_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf), pf_qx_ctl.u); u 77 drivers/crypto/cavium/cpt/cptpf_mbox.c pf_qx_ctl.u = cpt_read_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, q)); u 79 drivers/crypto/cavium/cpt/cptpf_mbox.c cpt_write_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, q), pf_qx_ctl.u); u 369 drivers/crypto/cavium/cpt/cptvf_main.c vqx_ctl.u = cpt_read_csr64(cptvf->reg_base, CPTX_VQX_CTL(0, 0)); u 371 drivers/crypto/cavium/cpt/cptvf_main.c cpt_write_csr64(cptvf->reg_base, CPTX_VQX_CTL(0, 0), vqx_ctl.u); u 378 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dbell.u = cpt_read_csr64(cptvf->reg_base, u 382 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dbell.u); u 389 drivers/crypto/cavium/cpt/cptvf_main.c vqx_inprg.u = cpt_read_csr64(cptvf->reg_base, CPTX_VQX_INPROG(0, 0)); u 391 drivers/crypto/cavium/cpt/cptvf_main.c cpt_write_csr64(cptvf->reg_base, CPTX_VQX_INPROG(0, 0), vqx_inprg.u); u 398 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dwait.u = cpt_read_csr64(cptvf->reg_base, u 402 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dwait.u); u 409 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dwait.u = cpt_read_csr64(cptvf->reg_base, u 413 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dwait.u); u 420 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_ena.u = cpt_read_csr64(cptvf->reg_base, u 425 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_ena.u); u 432 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_ena.u = cpt_read_csr64(cptvf->reg_base, u 437 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_ena.u); u 444 drivers/crypto/cavium/cpt/cptvf_main.c vqx_done_ena.u = cpt_read_csr64(cptvf->reg_base, u 449 drivers/crypto/cavium/cpt/cptvf_main.c vqx_done_ena.u); u 456 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u = cpt_read_csr64(cptvf->reg_base, u 461 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u); u 468 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u = cpt_read_csr64(cptvf->reg_base, u 473 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u); u 480 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u = cpt_read_csr64(cptvf->reg_base, u 485 drivers/crypto/cavium/cpt/cptvf_main.c CPTX_VQX_MISC_INT(0, 0), vqx_misc_int.u); u 492 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u = cpt_read_csr64(cptvf->reg_base, u 497 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u); u 504 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u = cpt_read_csr64(cptvf->reg_base, u 509 drivers/crypto/cavium/cpt/cptvf_main.c vqx_misc_int.u); u 572 drivers/crypto/cavium/cpt/cptvf_main.c vqx_done.u = cpt_read_csr64(cptvf->reg_base, CPTX_VQX_DONE(0, 0)); u 581 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dack_cnt.u = cpt_read_csr64(cptvf->reg_base, u 585 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dack_cnt.u); u 637 drivers/crypto/cavium/cpt/cptvf_main.c vqx_saddr.u = val; u 638 drivers/crypto/cavium/cpt/cptvf_main.c cpt_write_csr64(cptvf->reg_base, CPTX_VQX_SADDR(0, 0), vqx_saddr.u); u 75 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size); u 76 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); u 77 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); u 78 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len3 = cpu_to_be16(list[i * 4 + 3].size); u 90 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); u 94 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); u 98 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size); u 81 drivers/crypto/cavium/cpt/request_manager.h } u; u 49 drivers/crypto/cavium/nitrox/nitrox_aead.c fctx = nctx->u.fctx; u 56 drivers/crypto/cavium/nitrox/nitrox_aead.c memcpy(fctx->crypto.u.key, key, keylen); u 65 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; u 195 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; u 207 drivers/crypto/cavium/nitrox/nitrox_aead.c rctx->ctx_handle = nctx->u.ctx_handle; u 226 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; u 238 drivers/crypto/cavium/nitrox/nitrox_aead.c rctx->ctx_handle = nctx->u.ctx_handle; u 268 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + u 270 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->u.fctx->flags.f = 0; u 285 drivers/crypto/cavium/nitrox/nitrox_aead.c flags = &nctx->u.fctx->flags; u 316 drivers/crypto/cavium/nitrox/nitrox_aead.c if (nctx->u.ctx_handle) { u 317 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; u 325 drivers/crypto/cavium/nitrox/nitrox_aead.c nctx->u.ctx_handle = 0; u 333 drivers/crypto/cavium/nitrox/nitrox_aead.c struct flexi_crypto_context *fctx = nctx->u.fctx; u 426 drivers/crypto/cavium/nitrox/nitrox_aead.c aead_rctx->ctx_handle = nctx->u.ctx_handle; u 459 drivers/crypto/cavium/nitrox/nitrox_aead.c aead_rctx->ctx_handle = nctx->u.ctx_handle; u 131 drivers/crypto/cavium/nitrox/nitrox_req.h } u; u 144 drivers/crypto/cavium/nitrox/nitrox_req.h } u; u 204 drivers/crypto/cavium/nitrox/nitrox_req.h } u; u 67 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + u 79 drivers/crypto/cavium/nitrox/nitrox_skcipher.c if (nctx->u.ctx_handle) { u 80 drivers/crypto/cavium/nitrox/nitrox_skcipher.c struct flexi_crypto_context *fctx = nctx->u.fctx; u 88 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nctx->u.ctx_handle = 0; u 111 drivers/crypto/cavium/nitrox/nitrox_skcipher.c fctx = nctx->u.fctx; u 119 drivers/crypto/cavium/nitrox/nitrox_skcipher.c memcpy(fctx->crypto.u.key, key, keylen); u 229 drivers/crypto/cavium/nitrox/nitrox_skcipher.c creq->ctx_handle = nctx->u.ctx_handle; u 294 drivers/crypto/cavium/nitrox/nitrox_skcipher.c fctx = nctx->u.fctx; u 296 drivers/crypto/cavium/nitrox/nitrox_skcipher.c memcpy(fctx->auth.u.key2, (key + keylen), keylen); u 312 drivers/crypto/cavium/nitrox/nitrox_skcipher.c fctx = nctx->u.fctx; u 69 drivers/crypto/ccp/ccp-crypto-aes-cmac.c if (!ctx->u.aes.key_len) u 153 drivers/crypto/ccp/ccp-crypto-aes-cmac.c cmac_key_sg = (need_pad) ? &ctx->u.aes.k2_sg u 154 drivers/crypto/ccp/ccp-crypto-aes-cmac.c : &ctx->u.aes.k1_sg; u 159 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.type = ctx->u.aes.type; u 160 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.mode = ctx->u.aes.mode; u 161 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.action = CCP_AES_ACTION_ENCRYPT; u 162 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; u 163 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; u 164 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.iv = &rctx->iv_sg; u 165 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.iv_len = AES_BLOCK_SIZE; u 166 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.src = sg; u 167 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.src_len = rctx->hash_cnt; u 168 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.dst = NULL; u 169 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.cmac_key = cmac_key_sg; u 170 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.cmac_key_len = ctx->u.aes.kn_len; u 171 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.cmac_final = final; u 270 drivers/crypto/ccp/ccp-crypto-aes-cmac.c ctx->u.aes.type = CCP_AES_TYPE_128; u 273 drivers/crypto/ccp/ccp-crypto-aes-cmac.c ctx->u.aes.type = CCP_AES_TYPE_192; u 276 drivers/crypto/ccp/ccp-crypto-aes-cmac.c ctx->u.aes.type = CCP_AES_TYPE_256; u 282 drivers/crypto/ccp/ccp-crypto-aes-cmac.c ctx->u.aes.mode = alg->mode; u 285 drivers/crypto/ccp/ccp-crypto-aes-cmac.c ctx->u.aes.key_len = 0; u 293 drivers/crypto/ccp/ccp-crypto-aes-cmac.c memset(ctx->u.aes.key, 0, sizeof(ctx->u.aes.key)); u 294 drivers/crypto/ccp/ccp-crypto-aes-cmac.c aes_encrypt(&aes, ctx->u.aes.key, ctx->u.aes.key); u 298 drivers/crypto/ccp/ccp-crypto-aes-cmac.c k0_hi = be64_to_cpu(*((__be64 *)ctx->u.aes.key)); u 299 drivers/crypto/ccp/ccp-crypto-aes-cmac.c k0_lo = be64_to_cpu(*((__be64 *)ctx->u.aes.key + 1)); u 303 drivers/crypto/ccp/ccp-crypto-aes-cmac.c if (ctx->u.aes.key[0] & 0x80) { u 307 drivers/crypto/ccp/ccp-crypto-aes-cmac.c gk = (__be64 *)ctx->u.aes.k1; u 314 drivers/crypto/ccp/ccp-crypto-aes-cmac.c if (ctx->u.aes.k1[0] & 0x80) { u 318 drivers/crypto/ccp/ccp-crypto-aes-cmac.c gk = (__be64 *)ctx->u.aes.k2; u 323 drivers/crypto/ccp/ccp-crypto-aes-cmac.c ctx->u.aes.kn_len = sizeof(ctx->u.aes.k1); u 324 drivers/crypto/ccp/ccp-crypto-aes-cmac.c sg_init_one(&ctx->u.aes.k1_sg, ctx->u.aes.k1, sizeof(ctx->u.aes.k1)); u 325 drivers/crypto/ccp/ccp-crypto-aes-cmac.c sg_init_one(&ctx->u.aes.k2_sg, ctx->u.aes.k2, sizeof(ctx->u.aes.k2)); u 328 drivers/crypto/ccp/ccp-crypto-aes-cmac.c memset(ctx->u.aes.key, 0, sizeof(ctx->u.aes.key)); u 329 drivers/crypto/ccp/ccp-crypto-aes-cmac.c memcpy(ctx->u.aes.key, key, key_len); u 330 drivers/crypto/ccp/ccp-crypto-aes-cmac.c ctx->u.aes.key_len = key_len; u 331 drivers/crypto/ccp/ccp-crypto-aes-cmac.c sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); u 342 drivers/crypto/ccp/ccp-crypto-aes-cmac.c ctx->u.aes.key_len = 0; u 36 drivers/crypto/ccp/ccp-crypto-aes-galois.c ctx->u.aes.type = CCP_AES_TYPE_128; u 39 drivers/crypto/ccp/ccp-crypto-aes-galois.c ctx->u.aes.type = CCP_AES_TYPE_192; u 42 drivers/crypto/ccp/ccp-crypto-aes-galois.c ctx->u.aes.type = CCP_AES_TYPE_256; u 49 drivers/crypto/ccp/ccp-crypto-aes-galois.c ctx->u.aes.mode = CCP_AES_MODE_GCM; u 50 drivers/crypto/ccp/ccp-crypto-aes-galois.c ctx->u.aes.key_len = key_len; u 52 drivers/crypto/ccp/ccp-crypto-aes-galois.c memcpy(ctx->u.aes.key, key, key_len); u 53 drivers/crypto/ccp/ccp-crypto-aes-galois.c sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); u 87 drivers/crypto/ccp/ccp-crypto-aes-galois.c if (!ctx->u.aes.key_len) u 90 drivers/crypto/ccp/ccp-crypto-aes-galois.c if (ctx->u.aes.mode != CCP_AES_MODE_GCM) u 120 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.authsize = crypto_aead_authsize(tfm); u 121 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.type = ctx->u.aes.type; u 122 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.mode = ctx->u.aes.mode; u 123 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.action = encrypt; u 124 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; u 125 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; u 126 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.iv = iv_sg; u 127 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.iv_len = iv_len; u 128 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.src = req->src; u 129 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.src_len = req->cryptlen; u 130 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.aad_len = req->assoclen; u 133 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.dst = req->dst; u 155 drivers/crypto/ccp/ccp-crypto-aes-galois.c ctx->u.aes.key_len = 0; u 92 drivers/crypto/ccp/ccp-crypto-aes-xts.c memcpy(ctx->u.aes.key, key, key_len); u 96 drivers/crypto/ccp/ccp-crypto-aes-xts.c memcpy(ctx->u.aes.key, key, key_len); u 99 drivers/crypto/ccp/ccp-crypto-aes-xts.c ctx->u.aes.key_len = key_len / 2; u 100 drivers/crypto/ccp/ccp-crypto-aes-xts.c sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); u 102 drivers/crypto/ccp/ccp-crypto-aes-xts.c return crypto_sync_skcipher_setkey(ctx->u.aes.tfm_skcipher, key, key_len); u 116 drivers/crypto/ccp/ccp-crypto-aes-xts.c if (!ctx->u.aes.key_len) u 142 drivers/crypto/ccp/ccp-crypto-aes-xts.c (ctx->u.aes.key_len != AES_KEYSIZE_128)) u 144 drivers/crypto/ccp/ccp-crypto-aes-xts.c if ((ctx->u.aes.key_len != AES_KEYSIZE_128) && u 145 drivers/crypto/ccp/ccp-crypto-aes-xts.c (ctx->u.aes.key_len != AES_KEYSIZE_256)) u 149 drivers/crypto/ccp/ccp-crypto-aes-xts.c ctx->u.aes.tfm_skcipher); u 154 drivers/crypto/ccp/ccp-crypto-aes-xts.c skcipher_request_set_sync_tfm(subreq, ctx->u.aes.tfm_skcipher); u 171 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.type = CCP_AES_TYPE_128; u 172 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.action = (encrypt) ? CCP_AES_ACTION_ENCRYPT u 174 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.unit_size = unit_size; u 175 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.key = &ctx->u.aes.key_sg; u 176 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.key_len = ctx->u.aes.key_len; u 177 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.iv = &rctx->iv_sg; u 178 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.iv_len = AES_BLOCK_SIZE; u 179 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.src = req->src; u 180 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.src_len = req->nbytes; u 181 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.dst = req->dst; u 204 drivers/crypto/ccp/ccp-crypto-aes-xts.c ctx->u.aes.key_len = 0; u 213 drivers/crypto/ccp/ccp-crypto-aes-xts.c ctx->u.aes.tfm_skcipher = fallback_tfm; u 224 drivers/crypto/ccp/ccp-crypto-aes-xts.c crypto_free_sync_skcipher(ctx->u.aes.tfm_skcipher); u 31 drivers/crypto/ccp/ccp-crypto-aes.c if (ctx->u.aes.mode != CCP_AES_MODE_ECB) u 46 drivers/crypto/ccp/ccp-crypto-aes.c ctx->u.aes.type = CCP_AES_TYPE_128; u 49 drivers/crypto/ccp/ccp-crypto-aes.c ctx->u.aes.type = CCP_AES_TYPE_192; u 52 drivers/crypto/ccp/ccp-crypto-aes.c ctx->u.aes.type = CCP_AES_TYPE_256; u 58 drivers/crypto/ccp/ccp-crypto-aes.c ctx->u.aes.mode = alg->mode; u 59 drivers/crypto/ccp/ccp-crypto-aes.c ctx->u.aes.key_len = key_len; u 61 drivers/crypto/ccp/ccp-crypto-aes.c memcpy(ctx->u.aes.key, key, key_len); u 62 drivers/crypto/ccp/ccp-crypto-aes.c sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); u 75 drivers/crypto/ccp/ccp-crypto-aes.c if (!ctx->u.aes.key_len) u 78 drivers/crypto/ccp/ccp-crypto-aes.c if (((ctx->u.aes.mode == CCP_AES_MODE_ECB) || u 79 drivers/crypto/ccp/ccp-crypto-aes.c (ctx->u.aes.mode == CCP_AES_MODE_CBC)) && u 83 drivers/crypto/ccp/ccp-crypto-aes.c if (ctx->u.aes.mode != CCP_AES_MODE_ECB) { u 96 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.type = ctx->u.aes.type; u 97 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.mode = ctx->u.aes.mode; u 98 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.action = u 100 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; u 101 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; u 102 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.iv = iv_sg; u 103 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.iv_len = iv_len; u 104 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.src = req->src; u 105 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.src_len = req->nbytes; u 106 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.dst = req->dst; u 128 drivers/crypto/ccp/ccp-crypto-aes.c ctx->u.aes.key_len = 0; u 160 drivers/crypto/ccp/ccp-crypto-aes.c memcpy(ctx->u.aes.nonce, key + key_len, CTR_RFC3686_NONCE_SIZE); u 173 drivers/crypto/ccp/ccp-crypto-aes.c memcpy(iv, ctx->u.aes.nonce, CTR_RFC3686_NONCE_SIZE); u 203 drivers/crypto/ccp/ccp-crypto-aes.c ctx->u.aes.key_len = 0; u 30 drivers/crypto/ccp/ccp-crypto-des3.c if (ctx->u.des3.mode != CCP_DES3_MODE_ECB) u 51 drivers/crypto/ccp/ccp-crypto-des3.c ctx->u.des3.type = CCP_DES3_TYPE_168; u 52 drivers/crypto/ccp/ccp-crypto-des3.c ctx->u.des3.mode = alg->mode; u 53 drivers/crypto/ccp/ccp-crypto-des3.c ctx->u.des3.key_len = key_len; u 55 drivers/crypto/ccp/ccp-crypto-des3.c memcpy(ctx->u.des3.key, key, key_len); u 56 drivers/crypto/ccp/ccp-crypto-des3.c sg_init_one(&ctx->u.des3.key_sg, ctx->u.des3.key, key_len); u 69 drivers/crypto/ccp/ccp-crypto-des3.c if (!ctx->u.des3.key_len) u 72 drivers/crypto/ccp/ccp-crypto-des3.c if (((ctx->u.des3.mode == CCP_DES3_MODE_ECB) || u 73 drivers/crypto/ccp/ccp-crypto-des3.c (ctx->u.des3.mode == CCP_DES3_MODE_CBC)) && u 77 drivers/crypto/ccp/ccp-crypto-des3.c if (ctx->u.des3.mode != CCP_DES3_MODE_ECB) { u 90 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.type = ctx->u.des3.type; u 91 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.mode = ctx->u.des3.mode; u 92 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.action = (encrypt) u 95 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.key = &ctx->u.des3.key_sg; u 96 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.key_len = ctx->u.des3.key_len; u 97 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.iv = iv_sg; u 98 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.iv_len = iv_len; u 99 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.src = req->src; u 100 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.src_len = req->nbytes; u 101 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.dst = req->dst; u 123 drivers/crypto/ccp/ccp-crypto-des3.c ctx->u.des3.key_len = 0; u 52 drivers/crypto/ccp/ccp-crypto-rsa.c req->dst_len = rctx->cmd.u.rsa.key_size >> 3; u 61 drivers/crypto/ccp/ccp-crypto-rsa.c return ctx->u.rsa.n_len; u 75 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.key_size = ctx->u.rsa.key_len; /* in bits */ u 77 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.exp = &ctx->u.rsa.e_sg; u 78 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.exp_len = ctx->u.rsa.e_len; u 80 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.exp = &ctx->u.rsa.d_sg; u 81 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.exp_len = ctx->u.rsa.d_len; u 83 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.mod = &ctx->u.rsa.n_sg; u 84 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.mod_len = ctx->u.rsa.n_len; u 85 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.src = req->src; u 86 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.src_len = req->src_len; u 87 drivers/crypto/ccp/ccp-crypto-rsa.c rctx->cmd.u.rsa.dst = req->dst; u 115 drivers/crypto/ccp/ccp-crypto-rsa.c kzfree(ctx->u.rsa.e_buf); u 116 drivers/crypto/ccp/ccp-crypto-rsa.c ctx->u.rsa.e_buf = NULL; u 117 drivers/crypto/ccp/ccp-crypto-rsa.c ctx->u.rsa.e_len = 0; u 118 drivers/crypto/ccp/ccp-crypto-rsa.c kzfree(ctx->u.rsa.n_buf); u 119 drivers/crypto/ccp/ccp-crypto-rsa.c ctx->u.rsa.n_buf = NULL; u 120 drivers/crypto/ccp/ccp-crypto-rsa.c ctx->u.rsa.n_len = 0; u 121 drivers/crypto/ccp/ccp-crypto-rsa.c kzfree(ctx->u.rsa.d_buf); u 122 drivers/crypto/ccp/ccp-crypto-rsa.c ctx->u.rsa.d_buf = NULL; u 123 drivers/crypto/ccp/ccp-crypto-rsa.c ctx->u.rsa.d_len = 0; u 144 drivers/crypto/ccp/ccp-crypto-rsa.c ret = ccp_copy_and_save_keypart(&ctx->u.rsa.n_buf, &ctx->u.rsa.n_len, u 148 drivers/crypto/ccp/ccp-crypto-rsa.c sg_init_one(&ctx->u.rsa.n_sg, ctx->u.rsa.n_buf, ctx->u.rsa.n_len); u 150 drivers/crypto/ccp/ccp-crypto-rsa.c ctx->u.rsa.key_len = ctx->u.rsa.n_len << 3; /* convert to bits */ u 151 drivers/crypto/ccp/ccp-crypto-rsa.c if (ccp_check_key_length(ctx->u.rsa.key_len)) { u 156 drivers/crypto/ccp/ccp-crypto-rsa.c ret = ccp_copy_and_save_keypart(&ctx->u.rsa.e_buf, &ctx->u.rsa.e_len, u 160 drivers/crypto/ccp/ccp-crypto-rsa.c sg_init_one(&ctx->u.rsa.e_sg, ctx->u.rsa.e_buf, ctx->u.rsa.e_len); u 163 drivers/crypto/ccp/ccp-crypto-rsa.c ret = ccp_copy_and_save_keypart(&ctx->u.rsa.d_buf, u 164 drivers/crypto/ccp/ccp-crypto-rsa.c &ctx->u.rsa.d_len, u 168 drivers/crypto/ccp/ccp-crypto-rsa.c sg_init_one(&ctx->u.rsa.d_sg, u 169 drivers/crypto/ccp/ccp-crypto-rsa.c ctx->u.rsa.d_buf, ctx->u.rsa.d_len); u 134 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.type = rctx->type; u 135 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.ctx = &rctx->ctx_sg; u 139 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.ctx_len = SHA1_DIGEST_SIZE; u 142 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.ctx_len = SHA224_DIGEST_SIZE; u 145 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.ctx_len = SHA256_DIGEST_SIZE; u 148 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.ctx_len = SHA384_DIGEST_SIZE; u 151 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.ctx_len = SHA512_DIGEST_SIZE; u 158 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.src = sg; u 159 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.src_len = rctx->hash_cnt; u 160 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.opad = ctx->u.sha.key_len ? u 161 drivers/crypto/ccp/ccp-crypto-sha.c &ctx->u.sha.opad_sg : NULL; u 162 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.opad_len = ctx->u.sha.key_len ? u 163 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.opad_count : 0; u 164 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.first = rctx->first; u 165 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.final = rctx->final; u 166 drivers/crypto/ccp/ccp-crypto-sha.c rctx->cmd.u.sha.msg_bits = rctx->msg_bits; u 195 drivers/crypto/ccp/ccp-crypto-sha.c if (ctx->u.sha.key_len) { u 197 drivers/crypto/ccp/ccp-crypto-sha.c memcpy(rctx->buf, ctx->u.sha.ipad, block_size); u 274 drivers/crypto/ccp/ccp-crypto-sha.c struct crypto_shash *shash = ctx->u.sha.hmac_tfm; u 283 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.key_len = 0; u 288 drivers/crypto/ccp/ccp-crypto-sha.c memset(ctx->u.sha.key, 0, sizeof(ctx->u.sha.key)); u 295 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.key); u 303 drivers/crypto/ccp/ccp-crypto-sha.c memcpy(ctx->u.sha.key, key, key_len); u 307 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.ipad[i] = ctx->u.sha.key[i] ^ HMAC_IPAD_VALUE; u 308 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.opad[i] = ctx->u.sha.key[i] ^ HMAC_OPAD_VALUE; u 311 drivers/crypto/ccp/ccp-crypto-sha.c sg_init_one(&ctx->u.sha.opad_sg, ctx->u.sha.opad, block_size); u 312 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.opad_count = block_size; u 314 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.key_len = key_len; u 325 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.key_len = 0; u 349 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.hmac_tfm = hmac_tfm; u 358 drivers/crypto/ccp/ccp-crypto-sha.c if (ctx->u.sha.hmac_tfm) u 359 drivers/crypto/ccp/ccp-crypto-sha.c crypto_free_shash(ctx->u.sha.hmac_tfm); u 266 drivers/crypto/ccp/ccp-crypto.h } u; u 154 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.aes.type << REQ1_AES_TYPE_SHIFT) u 155 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.aes.mode << REQ1_AES_MODE_SHIFT) u 156 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.aes.action << REQ1_AES_ACTION_SHIFT) u 158 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; u 159 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); u 162 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); u 163 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); u 165 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); u 167 drivers/crypto/ccp/ccp-dev-v3.c if (op->u.aes.mode == CCP_AES_MODE_CFB) u 185 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.xts.action << REQ1_AES_ACTION_SHIFT) u 186 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.xts.unit_size << REQ1_XTS_AES_SIZE_SHIFT) u 188 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; u 189 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); u 192 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); u 193 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); u 195 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); u 212 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.sha.type << REQ1_SHA_TYPE_SHIFT) u 214 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; u 215 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); u 218 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); u 222 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = lower_32_bits(op->u.sha.msg_bits); u 223 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = upper_32_bits(op->u.sha.msg_bits); u 238 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.rsa.mod_size << REQ1_RSA_MOD_SIZE_SHIFT) u 241 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->u.rsa.input_len - 1; u 242 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); u 245 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); u 246 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); u 248 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); u 259 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.passthru.bit_mod << REQ1_PT_BW_SHIFT) u 260 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.passthru.byte_swap << REQ1_PT_BS_SHIFT); u 263 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; u 265 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->dst.u.dma.length - 1; u 268 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); u 270 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); u 272 drivers/crypto/ccp/ccp-dev-v3.c if (op->u.passthru.bit_mod != CCP_PASSTHRU_BITWISE_NOOP) u 275 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = op->src.u.sb * CCP_SB_BYTES; u 280 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); u 282 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); u 284 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = op->dst.u.sb * CCP_SB_BYTES; u 301 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.ecc.function << REQ1_ECC_FUNCTION_SHIFT) u 303 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; u 304 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); u 306 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); u 307 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); u 309 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); u 297 drivers/crypto/ccp/ccp-dev-v5.c CCP_AES_ENCRYPT(&function) = op->u.aes.action; u 298 drivers/crypto/ccp/ccp-dev-v5.c CCP_AES_MODE(&function) = op->u.aes.mode; u 299 drivers/crypto/ccp/ccp-dev-v5.c CCP_AES_TYPE(&function) = op->u.aes.type; u 300 drivers/crypto/ccp/ccp-dev-v5.c CCP_AES_SIZE(&function) = op->u.aes.size; u 304 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; u 306 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); u 307 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); u 310 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); u 311 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); u 342 drivers/crypto/ccp/ccp-dev-v5.c CCP_XTS_TYPE(&function) = op->u.xts.type; u 343 drivers/crypto/ccp/ccp-dev-v5.c CCP_XTS_ENCRYPT(&function) = op->u.xts.action; u 344 drivers/crypto/ccp/ccp-dev-v5.c CCP_XTS_SIZE(&function) = op->u.xts.unit_size; u 347 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; u 349 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); u 350 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); u 353 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); u 354 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); u 384 drivers/crypto/ccp/ccp-dev-v5.c CCP_SHA_TYPE(&function) = op->u.sha.type; u 387 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; u 389 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); u 390 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); u 396 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SHA_LO(&desc) = lower_32_bits(op->u.sha.msg_bits); u 397 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SHA_HI(&desc) = upper_32_bits(op->u.sha.msg_bits); u 426 drivers/crypto/ccp/ccp-dev-v5.c CCP_DES3_ENCRYPT(&function) = op->u.des3.action; u 427 drivers/crypto/ccp/ccp-dev-v5.c CCP_DES3_MODE(&function) = op->u.des3.mode; u 428 drivers/crypto/ccp/ccp-dev-v5.c CCP_DES3_TYPE(&function) = op->u.des3.type; u 431 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; u 433 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); u 434 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); u 437 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); u 438 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); u 468 drivers/crypto/ccp/ccp-dev-v5.c CCP_RSA_SIZE(&function) = (op->u.rsa.mod_size + 7) >> 3; u 471 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->u.rsa.input_len; u 474 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); u 475 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); u 479 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); u 480 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); u 484 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_KEY_LO(&desc) = ccp_addr_lo(&op->exp.u.dma); u 485 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_KEY_HI(&desc) = ccp_addr_hi(&op->exp.u.dma); u 495 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_dma_info *saddr = &op->src.u.dma; u 496 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_dma_info *daddr = &op->dst.u.dma; u 512 drivers/crypto/ccp/ccp-dev-v5.c CCP_PT_BYTESWAP(&function) = op->u.passthru.byte_swap; u 513 drivers/crypto/ccp/ccp-dev-v5.c CCP_PT_BITWISE(&function) = op->u.passthru.bit_mod; u 523 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); u 524 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); u 527 drivers/crypto/ccp/ccp-dev-v5.c if (op->u.passthru.bit_mod != CCP_PASSTHRU_BITWISE_NOOP) u 530 drivers/crypto/ccp/ccp-dev-v5.c u32 key_addr = op->src.u.sb * CCP_SB_BYTES; u 538 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); u 539 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); u 542 drivers/crypto/ccp/ccp-dev-v5.c u32 key_addr = op->dst.u.sb * CCP_SB_BYTES; u 571 drivers/crypto/ccp/ccp-dev-v5.c function.ecc.mode = op->u.ecc.function; u 574 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; u 576 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); u 577 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); u 580 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); u 581 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); u 489 drivers/crypto/ccp/ccp-dev.h } u; u 553 drivers/crypto/ccp/ccp-dev.h } u; u 428 drivers/crypto/ccp/ccp-dmaengine.c ccp_pt = &ccp_cmd->u.passthru_nomap; u 361 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.address = src->dm_wa.dma.address; u 362 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.offset = 0; u 363 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.length = (blocksize_op) ? block_size : cp_len; u 368 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.address = sg_dma_address(src->sg_wa.sg); u 369 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.offset = src->sg_wa.sg_used; u 370 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.length = op_len & ~(block_size - 1); u 372 drivers/crypto/ccp/ccp-ops.c ccp_update_sg_workarea(&src->sg_wa, op->src.u.dma.length); u 382 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.address = dst->dm_wa.dma.address; u 383 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.offset = 0; u 384 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.length = op->src.u.dma.length; u 389 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.address = sg_dma_address(dst->sg_wa.sg); u 390 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.offset = dst->sg_wa.sg_used; u 391 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.length = op->src.u.dma.length; u 402 drivers/crypto/ccp/ccp-ops.c if (op->dst.u.dma.address == dst->dm_wa.dma.address) u 406 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.length); u 425 drivers/crypto/ccp/ccp-ops.c op.src.u.sb = sb; u 427 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = wa->dma.address; u 428 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = wa->length; u 431 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = wa->dma.address; u 432 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = wa->length; u 434 drivers/crypto/ccp/ccp-ops.c op.dst.u.sb = sb; u 437 drivers/crypto/ccp/ccp-ops.c op.u.passthru.byte_swap = byte_swap; u 459 drivers/crypto/ccp/ccp-ops.c struct ccp_aes_engine *aes = &cmd->u.aes; u 498 drivers/crypto/ccp/ccp-ops.c op.u.aes.type = aes->type; u 499 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = aes->mode; u 500 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = aes->action; u 615 drivers/crypto/ccp/ccp-ops.c struct ccp_aes_engine *aes = &cmd->u.aes; u 686 drivers/crypto/ccp/ccp-ops.c op.u.aes.type = aes->type; u 737 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = CCP_AES_MODE_GHASH; u 738 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = CCP_AES_GHASHAAD; u 754 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = CCP_AES_MODE_GCTR; u 755 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = aes->action; u 787 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = (nbytes * 8) - 1; u 838 drivers/crypto/ccp/ccp-ops.c op.u.aes.type = aes->type; u 839 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = CCP_AES_MODE_GHASH; u 840 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = CCP_AES_GHASHFINAL; u 842 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = final_wa.dma.address; u 843 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = AES_BLOCK_SIZE; u 845 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = final_wa.dma.address; u 846 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = AES_BLOCK_SIZE; u 848 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = 0; u 898 drivers/crypto/ccp/ccp-ops.c struct ccp_aes_engine *aes = &cmd->u.aes; u 937 drivers/crypto/ccp/ccp-ops.c op.u.aes.type = aes->type; u 938 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = aes->mode; u 939 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = aes->action; u 989 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = AES_BLOCK_SIZE * BITS_PER_BYTE - 1; u 992 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = 0; u 1075 drivers/crypto/ccp/ccp-ops.c struct ccp_xts_aes_engine *xts = &cmd->u.xts; u 1132 drivers/crypto/ccp/ccp-ops.c op.u.xts.type = aestype; u 1133 drivers/crypto/ccp/ccp-ops.c op.u.xts.action = xts->action; u 1134 drivers/crypto/ccp/ccp-ops.c op.u.xts.unit_size = xts->unit_size; u 1275 drivers/crypto/ccp/ccp-ops.c struct ccp_des3_engine *des3 = &cmd->u.des3; u 1321 drivers/crypto/ccp/ccp-ops.c op.u.des3.type = des3->type; u 1322 drivers/crypto/ccp/ccp-ops.c op.u.des3.mode = des3->mode; u 1323 drivers/crypto/ccp/ccp-ops.c op.u.des3.action = des3->action; u 1472 drivers/crypto/ccp/ccp-ops.c struct ccp_sha_engine *sha = &cmd->u.sha; u 1629 drivers/crypto/ccp/ccp-ops.c op.u.sha.type = sha->type; u 1630 drivers/crypto/ccp/ccp-ops.c op.u.sha.msg_bits = sha->msg_bits; u 1786 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.type = sha->type; u 1787 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.ctx = sha->ctx; u 1788 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.ctx_len = sha->ctx_len; u 1789 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.src = &sg; u 1790 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.src_len = block_size + digest_size; u 1791 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.opad = NULL; u 1792 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.opad_len = 0; u 1793 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.first = 1; u 1794 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.final = 1; u 1795 drivers/crypto/ccp/ccp-ops.c hmac_cmd.u.sha.msg_bits = (block_size + digest_size) << 3; u 1817 drivers/crypto/ccp/ccp-ops.c struct ccp_rsa_engine *rsa = &cmd->u.rsa; u 1887 drivers/crypto/ccp/ccp-ops.c op.exp.u.dma.address = exp.dma.address; u 1888 drivers/crypto/ccp/ccp-ops.c op.exp.u.dma.offset = 0; u 1912 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = src.dma.address; u 1913 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; u 1914 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = i_len; u 1915 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = dst.dma.address; u 1916 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = 0; u 1917 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = o_len; u 1919 drivers/crypto/ccp/ccp-ops.c op.u.rsa.mod_size = rsa->key_size; u 1920 drivers/crypto/ccp/ccp-ops.c op.u.rsa.input_len = i_len; u 1949 drivers/crypto/ccp/ccp-ops.c struct ccp_passthru_engine *pt = &cmd->u.passthru; u 2041 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = sg_dma_address(src.sg_wa.sg); u 2042 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; u 2043 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = sg_dma_len(src.sg_wa.sg); u 2046 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = sg_dma_address(dst.sg_wa.sg); u 2047 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = dst.sg_wa.sg_used; u 2048 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = op.src.u.dma.length; u 2082 drivers/crypto/ccp/ccp-ops.c struct ccp_passthru_nomap_engine *pt = &cmd->u.passthru_nomap; u 2127 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = pt->src_dma; u 2128 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; u 2129 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = pt->src_len; u 2132 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = pt->dst_dma; u 2133 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = 0; u 2134 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = pt->src_len; u 2145 drivers/crypto/ccp/ccp-ops.c struct ccp_ecc_engine *ecc = &cmd->u.ecc; u 2151 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.mm.operand_1 || u 2152 drivers/crypto/ccp/ccp-ops.c (ecc->u.mm.operand_1_len > CCP_ECC_MODULUS_BYTES)) u 2156 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.mm.operand_2 || u 2157 drivers/crypto/ccp/ccp-ops.c (ecc->u.mm.operand_2_len > CCP_ECC_MODULUS_BYTES)) u 2160 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.mm.result || u 2161 drivers/crypto/ccp/ccp-ops.c (ecc->u.mm.result_len < CCP_ECC_MODULUS_BYTES)) u 2190 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.mm.operand_1, 0, u 2191 drivers/crypto/ccp/ccp-ops.c ecc->u.mm.operand_1_len); u 2198 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.mm.operand_2, 0, u 2199 drivers/crypto/ccp/ccp-ops.c ecc->u.mm.operand_2_len); u 2215 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = src.dma.address; u 2216 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; u 2217 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = src.length; u 2218 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = dst.dma.address; u 2219 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = 0; u 2220 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = dst.length; u 2222 drivers/crypto/ccp/ccp-ops.c op.u.ecc.function = cmd->u.ecc.function; u 2238 drivers/crypto/ccp/ccp-ops.c ccp_reverse_get_dm_area(&dst, 0, ecc->u.mm.result, 0, u 2252 drivers/crypto/ccp/ccp-ops.c struct ccp_ecc_engine *ecc = &cmd->u.ecc; u 2258 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.point_1.x || u 2259 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.point_1.x_len > CCP_ECC_MODULUS_BYTES) || u 2260 drivers/crypto/ccp/ccp-ops.c !ecc->u.pm.point_1.y || u 2261 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.point_1.y_len > CCP_ECC_MODULUS_BYTES)) u 2265 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.point_2.x || u 2266 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.point_2.x_len > CCP_ECC_MODULUS_BYTES) || u 2267 drivers/crypto/ccp/ccp-ops.c !ecc->u.pm.point_2.y || u 2268 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.point_2.y_len > CCP_ECC_MODULUS_BYTES)) u 2271 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.domain_a || u 2272 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.domain_a_len > CCP_ECC_MODULUS_BYTES)) u 2276 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.scalar || u 2277 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.scalar_len > CCP_ECC_MODULUS_BYTES)) u 2281 drivers/crypto/ccp/ccp-ops.c if (!ecc->u.pm.result.x || u 2282 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.result.x_len < CCP_ECC_MODULUS_BYTES) || u 2283 drivers/crypto/ccp/ccp-ops.c !ecc->u.pm.result.y || u 2284 drivers/crypto/ccp/ccp-ops.c (ecc->u.pm.result.y_len < CCP_ECC_MODULUS_BYTES)) u 2313 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_1.x, 0, u 2314 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.point_1.x_len); u 2318 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_1.y, 0, u 2319 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.point_1.y_len); u 2330 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_2.x, 0, u 2331 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.point_2.x_len); u 2335 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.point_2.y, 0, u 2336 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.point_2.y_len); u 2346 drivers/crypto/ccp/ccp-ops.c ret = ccp_reverse_set_dm_area(&src, 0, ecc->u.pm.domain_a, 0, u 2347 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.domain_a_len); u 2355 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.scalar, 0, u 2356 drivers/crypto/ccp/ccp-ops.c ecc->u.pm.scalar_len); u 2373 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = src.dma.address; u 2374 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; u 2375 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = src.length; u 2376 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = dst.dma.address; u 2377 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = 0; u 2378 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = dst.length; u 2380 drivers/crypto/ccp/ccp-ops.c op.u.ecc.function = cmd->u.ecc.function; u 2401 drivers/crypto/ccp/ccp-ops.c ccp_reverse_get_dm_area(&dst, 0, ecc->u.pm.result.x, 0, u 2404 drivers/crypto/ccp/ccp-ops.c ccp_reverse_get_dm_area(&dst, 0, ecc->u.pm.result.y, 0, u 2423 drivers/crypto/ccp/ccp-ops.c struct ccp_ecc_engine *ecc = &cmd->u.ecc; u 2458 drivers/crypto/ccp/ccp-ops.c switch (cmd->u.aes.mode) { u 1711 drivers/crypto/hifn_795x.c int i, u; u 1719 drivers/crypto/hifn_795x.c i = dma->resk; u = dma->resu; u 1720 drivers/crypto/hifn_795x.c while (u != 0) { u 1733 drivers/crypto/hifn_795x.c u--; u 1735 drivers/crypto/hifn_795x.c dma->resk = i; dma->resu = u; u 1737 drivers/crypto/hifn_795x.c i = dma->srck; u = dma->srcu; u 1738 drivers/crypto/hifn_795x.c while (u != 0) { u 1743 drivers/crypto/hifn_795x.c u--; u 1745 drivers/crypto/hifn_795x.c dma->srck = i; dma->srcu = u; u 1747 drivers/crypto/hifn_795x.c i = dma->cmdk; u = dma->cmdu; u 1748 drivers/crypto/hifn_795x.c while (u != 0) { u 1753 drivers/crypto/hifn_795x.c u--; u 1755 drivers/crypto/hifn_795x.c dma->cmdk = i; dma->cmdu = u; u 1757 drivers/crypto/hifn_795x.c i = dma->dstk; u = dma->dstu; u 1758 drivers/crypto/hifn_795x.c while (u != 0) { u 1763 drivers/crypto/hifn_795x.c u--; u 1765 drivers/crypto/hifn_795x.c dma->dstk = i; dma->dstu = u; u 461 drivers/crypto/img-hash.c u32 u, l; u 468 drivers/crypto/img-hash.c u = nbits >> 32; u 470 drivers/crypto/img-hash.c img_hash_write(hdev, CR_MESSAGE_LENGTH_H, u); u 304 drivers/crypto/n2_core.c } u; u 620 drivers/crypto/n2_core.c memcpy(&rctx->u, n2alg->hash_init, n2alg->hw_op_hashsz); u 624 drivers/crypto/n2_core.c &rctx->u, 0UL, 0); u 650 drivers/crypto/n2_core.c memcpy(&rctx->u, n2alg->derived.hash_init, u 655 drivers/crypto/n2_core.c &rctx->u, u 101 drivers/crypto/qat/qat_common/icp_qat_fw.h } u; u 100 drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h } u; u 111 drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h } u; u 238 drivers/crypto/qat/qat_common/icp_qat_fw_la.h } u; u 253 drivers/crypto/qat/qat_common/icp_qat_fw_la.h } u; u 326 drivers/crypto/qat/qat_common/icp_qat_fw_la.h } u; u 333 drivers/crypto/qat/qat_common/qat_algs.c cd_pars->u.s.content_desc_addr = ctx->enc_cd_paddr; u 334 drivers/crypto/qat/qat_common/qat_algs.c cd_pars->u.s.content_desc_params_sz = sizeof(struct qat_alg_cd) >> 3; u 420 drivers/crypto/qat/qat_common/qat_algs.c cd_pars->u.s.content_desc_addr = ctx->dec_cd_paddr; u 421 drivers/crypto/qat/qat_common/qat_algs.c cd_pars->u.s.content_desc_params_sz = sizeof(struct qat_alg_cd) >> 3; u 478 drivers/crypto/qat/qat_common/qat_algs.c cd_pars->u.s.content_desc_params_sz = u 497 drivers/crypto/qat/qat_common/qat_algs.c cd_pars->u.s.content_desc_addr = ctx->enc_cd_paddr; u 510 drivers/crypto/qat/qat_common/qat_algs.c cd_pars->u.s.content_desc_addr = ctx->dec_cd_paddr; u 892 drivers/crypto/qat/qat_common/qat_algs.c memcpy(cipher_param->u.cipher_IV_array, areq->iv, AES_BLOCK_SIZE); u 934 drivers/crypto/qat/qat_common/qat_algs.c memcpy(cipher_param->u.cipher_IV_array, iv, AES_BLOCK_SIZE); u 1085 drivers/crypto/qat/qat_common/qat_algs.c cipher_param->u.s.cipher_IV_ptr = qat_req->iv_paddr; u 1145 drivers/crypto/qat/qat_common/qat_algs.c cipher_param->u.s.cipher_IV_ptr = qat_req->iv_paddr; u 145 drivers/crypto/virtio/virtio_crypto_algs.c vcrypto->ctrl.u.sym_create_session.op_type = u 147 drivers/crypto/virtio/virtio_crypto_algs.c vcrypto->ctrl.u.sym_create_session.u.cipher.para.algo = u 149 drivers/crypto/virtio/virtio_crypto_algs.c vcrypto->ctrl.u.sym_create_session.u.cipher.para.keylen = u 151 drivers/crypto/virtio/virtio_crypto_algs.c vcrypto->ctrl.u.sym_create_session.u.cipher.para.op = u 222 drivers/crypto/virtio/virtio_crypto_algs.c destroy_session = &vcrypto->ctrl.u.destroy_session; u 401 drivers/crypto/virtio/virtio_crypto_algs.c req_data->u.sym_req.op_type = cpu_to_le32(VIRTIO_CRYPTO_SYM_OP_CIPHER); u 402 drivers/crypto/virtio/virtio_crypto_algs.c req_data->u.sym_req.u.cipher.para.iv_len = cpu_to_le32(ivsize); u 403 drivers/crypto/virtio/virtio_crypto_algs.c req_data->u.sym_req.u.cipher.para.src_data_len = u 424 drivers/crypto/virtio/virtio_crypto_algs.c req_data->u.sym_req.u.cipher.para.dst_data_len = u 269 drivers/edac/i3200_edac.c } u; u 272 drivers/edac/i3200_edac.c pci_read_config_dword(pdev, I3200_MCHBAR_LOW, &u.mchbar_low); u 273 drivers/edac/i3200_edac.c pci_read_config_dword(pdev, I3200_MCHBAR_HIGH, &u.mchbar_high); u 274 drivers/edac/i3200_edac.c u.mchbar &= I3200_MCHBAR_MASK; u 276 drivers/edac/i3200_edac.c if (u.mchbar != (resource_size_t)u.mchbar) { u 279 drivers/edac/i3200_edac.c (unsigned long long)u.mchbar); u 283 drivers/edac/i3200_edac.c window = ioremap_nocache(u.mchbar, I3200_MMR_WINDOW_SIZE); u 286 drivers/edac/i3200_edac.c (unsigned long long)u.mchbar); u 336 drivers/edac/i5000_edac.c } u __packed; u 1142 drivers/edac/i5000_edac.c &pvt->u.ambase_bottom); u 1144 drivers/edac/i5000_edac.c &pvt->u.ambase_top); u 335 drivers/edac/i5400_edac.c } u __packed; u 1064 drivers/edac/i5400_edac.c &pvt->u.ambase_bottom); u 1066 drivers/edac/i5400_edac.c &pvt->u.ambase_top); u 347 drivers/edac/ie31200_edac.c } u; u 350 drivers/edac/ie31200_edac.c pci_read_config_dword(pdev, IE31200_MCHBAR_LOW, &u.mchbar_low); u 351 drivers/edac/ie31200_edac.c pci_read_config_dword(pdev, IE31200_MCHBAR_HIGH, &u.mchbar_high); u 352 drivers/edac/ie31200_edac.c u.mchbar &= IE31200_MCHBAR_MASK; u 354 drivers/edac/ie31200_edac.c if (u.mchbar != (resource_size_t)u.mchbar) { u 356 drivers/edac/ie31200_edac.c (unsigned long long)u.mchbar); u 360 drivers/edac/ie31200_edac.c window = ioremap_nocache(u.mchbar, IE31200_MMR_WINDOW_SIZE); u 363 drivers/edac/ie31200_edac.c (unsigned long long)u.mchbar); u 254 drivers/edac/x38_edac.c } u; u 257 drivers/edac/x38_edac.c pci_read_config_dword(pdev, X38_MCHBAR_LOW, &u.mchbar_low); u 258 drivers/edac/x38_edac.c pci_write_config_dword(pdev, X38_MCHBAR_LOW, u.mchbar_low | 0x1); u 259 drivers/edac/x38_edac.c pci_read_config_dword(pdev, X38_MCHBAR_HIGH, &u.mchbar_high); u 260 drivers/edac/x38_edac.c u.mchbar &= X38_MCHBAR_MASK; u 262 drivers/edac/x38_edac.c if (u.mchbar != (resource_size_t)u.mchbar) { u 265 drivers/edac/x38_edac.c (unsigned long long)u.mchbar); u 269 drivers/edac/x38_edac.c window = ioremap_nocache(u.mchbar, X38_MMR_WINDOW_SIZE); u 272 drivers/edac/x38_edac.c (unsigned long long)u.mchbar); u 1058 drivers/firewire/core-cdev.c } u; u 1092 drivers/firewire/core-cdev.c u.packet.payload_length = GET_PAYLOAD_LENGTH(control); u 1093 drivers/firewire/core-cdev.c u.packet.interrupt = GET_INTERRUPT(control); u 1094 drivers/firewire/core-cdev.c u.packet.skip = GET_SKIP(control); u 1095 drivers/firewire/core-cdev.c u.packet.tag = GET_TAG(control); u 1096 drivers/firewire/core-cdev.c u.packet.sy = GET_SY(control); u 1097 drivers/firewire/core-cdev.c u.packet.header_length = GET_HEADER_LENGTH(control); u 1101 drivers/firewire/core-cdev.c if (u.packet.header_length & 3) u 1103 drivers/firewire/core-cdev.c transmit_header_bytes = u.packet.header_length; u 1107 drivers/firewire/core-cdev.c if (u.packet.header_length == 0 || u 1108 drivers/firewire/core-cdev.c u.packet.header_length % ctx->header_size != 0) u 1113 drivers/firewire/core-cdev.c if (u.packet.payload_length == 0 || u 1114 drivers/firewire/core-cdev.c u.packet.payload_length & 3) u 1124 drivers/firewire/core-cdev.c (u.packet.header, p->header, transmit_header_bytes)) u 1126 drivers/firewire/core-cdev.c if (u.packet.skip && ctx->type == FW_ISO_CONTEXT_TRANSMIT && u 1127 drivers/firewire/core-cdev.c u.packet.header_length + u.packet.payload_length > 0) u 1129 drivers/firewire/core-cdev.c if (payload + u.packet.payload_length > buffer_end) u 1132 drivers/firewire/core-cdev.c if (fw_iso_context_queue(ctx, &u.packet, u 1137 drivers/firewire/core-cdev.c payload += u.packet.payload_length; u 1088 drivers/firewire/net.c unsigned u; u 1091 drivers/firewire/net.c for (u = 0; u < FWNET_ISO_PAGE_COUNT; u++) u 1092 drivers/firewire/net.c kunmap(dev->broadcast_rcv_buffer.pages[u]); u 1121 drivers/firewire/net.c unsigned u; u 1152 drivers/firewire/net.c for (u = 0; u < FWNET_ISO_PAGE_COUNT; u++) { u 1156 drivers/firewire/net.c ptr = kmap(dev->broadcast_rcv_buffer.pages[u]); u 1170 drivers/firewire/net.c for (u = 0; u < num_packets; u++) { u 299 drivers/firmware/arm_scmi/perf.c u##w val = 0; \ u 303 drivers/firmware/arm_scmi/perf.c iowrite##w((u##w)db->set | val, db->addr); \ u 192 drivers/gpio/gpio-lpc32xx.c u32 u = GPIO3_PIN_TO_BIT(pin); u 195 drivers/gpio/gpio-lpc32xx.c gpreg_write(group, u, group->gpio_grp->dir_clr); u 197 drivers/gpio/gpio-lpc32xx.c gpreg_write(group, u, group->gpio_grp->dir_set); u 214 drivers/gpio/gpio-lpc32xx.c u32 u = GPIO3_PIN_TO_BIT(pin); u 217 drivers/gpio/gpio-lpc32xx.c gpreg_write(group, u, group->gpio_grp->outp_set); u 219 drivers/gpio/gpio-lpc32xx.c gpreg_write(group, u, group->gpio_grp->outp_clr); u 310 drivers/gpio/gpio-mvebu.c u32 u; u 312 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u); u 314 drivers/gpio/gpio-mvebu.c if (u & BIT(pin)) { u 321 drivers/gpio/gpio-mvebu.c u = data_in ^ in_pol; u 323 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, &u); u 326 drivers/gpio/gpio-mvebu.c return (u >> pin) & 1; u 383 drivers/gpio/gpio-mvebu.c u32 u; u 385 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u); u 387 drivers/gpio/gpio-mvebu.c return !!(u & BIT(pin)); u 495 drivers/gpio/gpio-mvebu.c u32 u; u 499 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u); u 500 drivers/gpio/gpio-mvebu.c if ((u & BIT(pin)) == 0) u 656 drivers/gpio/gpio-mvebu.c u32 u; u 687 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, &u); u 688 drivers/gpio/gpio-mvebu.c if (u) u 3340 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 *p, u32 *u) u 3354 drivers/gpu/drm/amd/amdgpu/si_dpm.c *u = (b_c + 1) / 2; u 3355 drivers/gpu/drm/amd/amdgpu/si_dpm.c *p = i_c / (1 << (2 * (*u))); u 93 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c ib_packet->bitfields2.ib_base_lo = largep->u.low_part >> 2; u 94 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c ib_packet->bitfields3.ib_base_hi = largep->u.high_part; u 140 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c rm_packet->bitfields4.address_lo_32b = addr.u.low_part >> 2; u 141 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c rm_packet->address_hi = addr.u.high_part; u 252 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c addrHi->bitfields.addr = addr.u.high_part & u 255 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c (addr.u.low_part >> ADDRESS_WATCH_REG_ADDLOW_SHIFT); u 184 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } u; u 1372 drivers/gpu/drm/amd/display/dc/core/dc.c static enum surface_update_type get_plane_info_update_type(const struct dc_surface_update *u) u 1374 drivers/gpu/drm/amd/display/dc/core/dc.c union surface_update_flags *update_flags = &u->surface->update_flags; u 1377 drivers/gpu/drm/amd/display/dc/core/dc.c if (!u->plane_info) u 1380 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->color_space != u->surface->color_space) { u 1385 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->horizontal_mirror != u->surface->horizontal_mirror) { u 1390 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->rotation != u->surface->rotation) { u 1395 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->format != u->surface->format) { u 1400 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->stereo_format != u->surface->stereo_format) { u 1405 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->per_pixel_alpha != u->surface->per_pixel_alpha) { u 1410 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->global_alpha_value != u->surface->global_alpha_value) { u 1415 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->sdr_white_level != u->surface->sdr_white_level) { u 1420 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->dcc.enable != u->surface->dcc.enable u 1421 drivers/gpu/drm/amd/display/dc/core/dc.c || u->plane_info->dcc.independent_64b_blks != u->surface->dcc.independent_64b_blks u 1422 drivers/gpu/drm/amd/display/dc/core/dc.c || u->plane_info->dcc.meta_pitch != u->surface->dcc.meta_pitch) { u 1427 drivers/gpu/drm/amd/display/dc/core/dc.c if (resource_pixel_format_to_bpp(u->plane_info->format) != u 1428 drivers/gpu/drm/amd/display/dc/core/dc.c resource_pixel_format_to_bpp(u->surface->format)) { u 1436 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->plane_size.surface_pitch != u->surface->plane_size.surface_pitch u 1437 drivers/gpu/drm/amd/display/dc/core/dc.c || u->plane_info->plane_size.surface_pitch != u->surface->plane_size.surface_pitch u 1438 drivers/gpu/drm/amd/display/dc/core/dc.c || u->plane_info->plane_size.chroma_pitch != u->surface->plane_size.chroma_pitch) { u 1444 drivers/gpu/drm/amd/display/dc/core/dc.c if (memcmp(&u->plane_info->tiling_info, &u->surface->tiling_info, u 1452 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->tiling_info.gfx9.swizzle != DC_SW_LINEAR) { u 1466 drivers/gpu/drm/amd/display/dc/core/dc.c const struct dc_surface_update *u) u 1468 drivers/gpu/drm/amd/display/dc/core/dc.c union surface_update_flags *update_flags = &u->surface->update_flags; u 1470 drivers/gpu/drm/amd/display/dc/core/dc.c if (!u->scaling_info) u 1473 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->clip_rect.width != u->surface->clip_rect.width u 1474 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->clip_rect.height != u->surface->clip_rect.height u 1475 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.width != u->surface->dst_rect.width u 1476 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.height != u->surface->dst_rect.height) { u 1479 drivers/gpu/drm/amd/display/dc/core/dc.c if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width u 1480 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) u 1481 drivers/gpu/drm/amd/display/dc/core/dc.c && (u->scaling_info->dst_rect.width < u->surface->src_rect.width u 1482 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) u 1487 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->src_rect.width != u->surface->src_rect.width u 1488 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->src_rect.height != u->surface->src_rect.height) { u 1491 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->src_rect.width > u->surface->src_rect.width u 1492 drivers/gpu/drm/amd/display/dc/core/dc.c && u->scaling_info->src_rect.height > u->surface->src_rect.height) u 1497 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->src_rect.x != u->surface->src_rect.x u 1498 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->src_rect.y != u->surface->src_rect.y u 1499 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->clip_rect.x != u->surface->clip_rect.x u 1500 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->clip_rect.y != u->surface->clip_rect.y u 1501 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.x != u->surface->dst_rect.x u 1502 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) u 1517 drivers/gpu/drm/amd/display/dc/core/dc.c const struct dc_surface_update *u) u 1522 drivers/gpu/drm/amd/display/dc/core/dc.c union surface_update_flags *update_flags = &u->surface->update_flags; u 1526 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->flip_addr) u 1529 drivers/gpu/drm/amd/display/dc/core/dc.c if (!is_surface_in_context(context, u->surface)) { u 1534 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->surface->force_full_update) { u 1539 drivers/gpu/drm/amd/display/dc/core/dc.c type = get_plane_info_update_type(u); u 1542 drivers/gpu/drm/amd/display/dc/core/dc.c type = get_scaling_info_update_type(u); u 1545 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->flip_addr) u 1548 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->in_transfer_func) u 1551 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->input_csc_color_matrix) u 1554 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->coeff_reduction_factor) u 1557 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->gamma) { u 1560 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info) u 1561 drivers/gpu/drm/amd/display/dc/core/dc.c format = u->plane_info->format; u 1562 drivers/gpu/drm/amd/display/dc/core/dc.c else if (u->surface) u 1563 drivers/gpu/drm/amd/display/dc/core/dc.c format = u->surface->format; u 54 drivers/gpu/drm/amd/display/dc/dc_hw_types.h } u; u 135 drivers/gpu/drm/ast/ast_drv.h static inline u##x ast_read##x(struct ast_private *ast, u32 reg) { \ u 136 drivers/gpu/drm/ast/ast_drv.h u##x val = 0;\ u 146 drivers/gpu/drm/ast/ast_drv.h static inline u##x ast_io_read##x(struct ast_private *ast, u32 reg) { \ u 147 drivers/gpu/drm/ast/ast_drv.h u##x val = 0;\ u 157 drivers/gpu/drm/ast/ast_drv.h static inline void ast_write##x(struct ast_private *ast, u32 reg, u##x val) {\ u 166 drivers/gpu/drm/ast/ast_drv.h static inline void ast_io_write##x(struct ast_private *ast, u32 reg, u##x val) {\ u 275 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.port_num.port_number & 0xf) << 4; u 279 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.allocate_payload.port_number & 0xf) << 4 | u 280 drivers/gpu/drm/drm_dp_mst_topology.c (req->u.allocate_payload.number_sdp_streams & 0xf); u 282 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.allocate_payload.vcpi & 0x7f); u 284 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.allocate_payload.pbn >> 8); u 286 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.allocate_payload.pbn & 0xff); u 288 drivers/gpu/drm/drm_dp_mst_topology.c for (i = 0; i < req->u.allocate_payload.number_sdp_streams / 2; i++) { u 289 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = ((req->u.allocate_payload.sdp_stream_sink[i * 2] & 0xf) << 4) | u 290 drivers/gpu/drm/drm_dp_mst_topology.c (req->u.allocate_payload.sdp_stream_sink[i * 2 + 1] & 0xf); u 293 drivers/gpu/drm/drm_dp_mst_topology.c if (req->u.allocate_payload.number_sdp_streams & 1) { u 294 drivers/gpu/drm/drm_dp_mst_topology.c i = req->u.allocate_payload.number_sdp_streams - 1; u 295 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.allocate_payload.sdp_stream_sink[i] & 0xf) << 4; u 300 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.query_payload.port_number & 0xf) << 4; u 302 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.query_payload.vcpi & 0x7f); u 306 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.dpcd_read.port_number & 0xf) << 4; u 307 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] |= ((req->u.dpcd_read.dpcd_address & 0xf0000) >> 16) & 0xf; u 309 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.dpcd_read.dpcd_address & 0xff00) >> 8; u 311 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.dpcd_read.dpcd_address & 0xff); u 313 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.dpcd_read.num_bytes); u 318 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.dpcd_write.port_number & 0xf) << 4; u 319 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] |= ((req->u.dpcd_write.dpcd_address & 0xf0000) >> 16) & 0xf; u 321 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.dpcd_write.dpcd_address & 0xff00) >> 8; u 323 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.dpcd_write.dpcd_address & 0xff); u 325 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.dpcd_write.num_bytes); u 327 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(&buf[idx], req->u.dpcd_write.bytes, req->u.dpcd_write.num_bytes); u 328 drivers/gpu/drm/drm_dp_mst_topology.c idx += req->u.dpcd_write.num_bytes; u 331 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.i2c_read.port_number & 0xf) << 4; u 332 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] |= (req->u.i2c_read.num_transactions & 0x3); u 334 drivers/gpu/drm/drm_dp_mst_topology.c for (i = 0; i < (req->u.i2c_read.num_transactions & 0x3); i++) { u 335 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = req->u.i2c_read.transactions[i].i2c_dev_id & 0x7f; u 337 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = req->u.i2c_read.transactions[i].num_bytes; u 339 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(&buf[idx], req->u.i2c_read.transactions[i].bytes, req->u.i2c_read.transactions[i].num_bytes); u 340 drivers/gpu/drm/drm_dp_mst_topology.c idx += req->u.i2c_read.transactions[i].num_bytes; u 342 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.i2c_read.transactions[i].no_stop_bit & 0x1) << 4; u 343 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] |= (req->u.i2c_read.transactions[i].i2c_transaction_delay & 0xf); u 346 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.i2c_read.read_i2c_device_id) & 0x7f; u 348 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.i2c_read.num_bytes_read); u 353 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.i2c_write.port_number & 0xf) << 4; u 355 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.i2c_write.write_i2c_device_id) & 0x7f; u 357 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.i2c_write.num_bytes); u 359 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(&buf[idx], req->u.i2c_write.bytes, req->u.i2c_write.num_bytes); u 360 drivers/gpu/drm/drm_dp_mst_topology.c idx += req->u.i2c_write.num_bytes; u 365 drivers/gpu/drm/drm_dp_mst_topology.c buf[idx] = (req->u.port_num.port_number & 0xf) << 4; u 451 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(repmsg->u.link_addr.guid, &raw->msg[idx], 16); u 453 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.nports = raw->msg[idx] & 0xf; u 457 drivers/gpu/drm/drm_dp_mst_topology.c for (i = 0; i < repmsg->u.link_addr.nports; i++) { u 459 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].input_port = 1; u 461 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].peer_device_type = (raw->msg[idx] >> 4) & 0x7; u 462 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].port_number = (raw->msg[idx] & 0xf); u 467 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].mcs = (raw->msg[idx] >> 7) & 0x1; u 468 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].ddps = (raw->msg[idx] >> 6) & 0x1; u 469 drivers/gpu/drm/drm_dp_mst_topology.c if (repmsg->u.link_addr.ports[i].input_port == 0) u 470 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].legacy_device_plug_status = (raw->msg[idx] >> 5) & 0x1; u 474 drivers/gpu/drm/drm_dp_mst_topology.c if (repmsg->u.link_addr.ports[i].input_port == 0) { u 475 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].dpcd_revision = (raw->msg[idx]); u 479 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(repmsg->u.link_addr.ports[i].peer_guid, &raw->msg[idx], 16); u 483 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].num_sdp_streams = (raw->msg[idx] >> 4) & 0xf; u 484 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.ports[i].num_sdp_stream_sinks = (raw->msg[idx] & 0xf); u 502 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.remote_dpcd_read_ack.port_number = raw->msg[idx] & 0xf; u 506 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.remote_dpcd_read_ack.num_bytes = raw->msg[idx]; u 511 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(repmsg->u.remote_dpcd_read_ack.bytes, &raw->msg[idx], repmsg->u.remote_dpcd_read_ack.num_bytes); u 522 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.remote_dpcd_write_ack.port_number = raw->msg[idx] & 0xf; u 537 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.remote_i2c_read_ack.port_number = (raw->msg[idx] & 0xf); u 541 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.remote_i2c_read_ack.num_bytes = raw->msg[idx]; u 544 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(repmsg->u.remote_i2c_read_ack.bytes, &raw->msg[idx], repmsg->u.remote_i2c_read_ack.num_bytes); u 555 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.path_resources.port_number = (raw->msg[idx] >> 4) & 0xf; u 559 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.path_resources.full_payload_bw_number = (raw->msg[idx] << 8) | (raw->msg[idx+1]); u 563 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.path_resources.avail_payload_bw_number = (raw->msg[idx] << 8) | (raw->msg[idx+1]); u 577 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.allocate_payload.port_number = (raw->msg[idx] >> 4) & 0xf; u 581 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.allocate_payload.vcpi = raw->msg[idx]; u 585 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.allocate_payload.allocated_pbn = (raw->msg[idx] << 8) | (raw->msg[idx+1]); u 599 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.query_payload.port_number = (raw->msg[idx] >> 4) & 0xf; u 603 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.query_payload.allocated_pbn = (raw->msg[idx] << 8) | (raw->msg[idx + 1]); u 618 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.port_number.port_number = (raw->msg[idx] >> 4) & 0xf; u 636 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(msg->u.nak.guid, &raw->msg[1], 16); u 637 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.nak.reason = raw->msg[17]; u 638 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.nak.nak_data = raw->msg[18]; u 672 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.conn_stat.port_number = (raw->msg[idx] & 0xf0) >> 4; u 677 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(msg->u.conn_stat.guid, &raw->msg[idx], 16); u 682 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.conn_stat.legacy_device_plug_status = (raw->msg[idx] >> 6) & 0x1; u 683 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.conn_stat.displayport_device_plug_status = (raw->msg[idx] >> 5) & 0x1; u 684 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.conn_stat.message_capability_status = (raw->msg[idx] >> 4) & 0x1; u 685 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.conn_stat.input_port = (raw->msg[idx] >> 3) & 0x1; u 686 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.conn_stat.peer_device_type = (raw->msg[idx] & 0x7); u 699 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.resource_stat.port_number = (raw->msg[idx] & 0xf0) >> 4; u 704 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(msg->u.resource_stat.guid, &raw->msg[idx], 16); u 709 drivers/gpu/drm/drm_dp_mst_topology.c msg->u.resource_stat.available_pbn = (raw->msg[idx] << 8) | (raw->msg[idx + 1]); u 740 drivers/gpu/drm/drm_dp_mst_topology.c req.u.dpcd_write.port_number = port_num; u 741 drivers/gpu/drm/drm_dp_mst_topology.c req.u.dpcd_write.dpcd_address = offset; u 742 drivers/gpu/drm/drm_dp_mst_topology.c req.u.dpcd_write.num_bytes = num_bytes; u 743 drivers/gpu/drm/drm_dp_mst_topology.c req.u.dpcd_write.bytes = bytes; u 763 drivers/gpu/drm/drm_dp_mst_topology.c req.u.port_num.port_number = port_num; u 777 drivers/gpu/drm/drm_dp_mst_topology.c req.u.allocate_payload.port_number = port_num; u 778 drivers/gpu/drm/drm_dp_mst_topology.c req.u.allocate_payload.vcpi = vcpi; u 779 drivers/gpu/drm/drm_dp_mst_topology.c req.u.allocate_payload.pbn = pbn; u 780 drivers/gpu/drm/drm_dp_mst_topology.c req.u.allocate_payload.number_sdp_streams = number_sdp_streams; u 781 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(req.u.allocate_payload.sdp_stream_sink, sdp_stream_sink, u 798 drivers/gpu/drm/drm_dp_mst_topology.c req.u.port_num.port_number = port_num; u 1916 drivers/gpu/drm/drm_dp_mst_topology.c req.u.dpcd_read.port_number = port_num; u 1917 drivers/gpu/drm/drm_dp_mst_topology.c req.u.dpcd_read.dpcd_address = offset; u 1918 drivers/gpu/drm/drm_dp_mst_topology.c req.u.dpcd_read.num_bytes = num_bytes; u 2130 drivers/gpu/drm/drm_dp_mst_topology.c DRM_DEBUG_KMS("link address reply: %d\n", txmsg->reply.u.link_addr.nports); u 2131 drivers/gpu/drm/drm_dp_mst_topology.c for (i = 0; i < txmsg->reply.u.link_addr.nports; i++) { u 2133 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].input_port, u 2134 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].peer_device_type, u 2135 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].port_number, u 2136 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].dpcd_revision, u 2137 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].mcs, u 2138 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].ddps, u 2139 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].legacy_device_plug_status, u 2140 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].num_sdp_streams, u 2141 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.link_addr.ports[i].num_sdp_stream_sinks); u 2144 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_check_mstb_guid(mstb, txmsg->reply.u.link_addr.guid); u 2146 drivers/gpu/drm/drm_dp_mst_topology.c for (i = 0; i < txmsg->reply.u.link_addr.nports; i++) { u 2147 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_add_port(mstb, mgr->dev, &txmsg->reply.u.link_addr.ports[i]); u 2181 drivers/gpu/drm/drm_dp_mst_topology.c if (port->port_num != txmsg->reply.u.path_resources.port_number) u 2183 drivers/gpu/drm/drm_dp_mst_topology.c DRM_DEBUG_KMS("enum path resources %d: %d %d\n", txmsg->reply.u.path_resources.port_number, txmsg->reply.u.path_resources.full_payload_bw_number, u 2184 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.path_resources.avail_payload_bw_number); u 2185 drivers/gpu/drm/drm_dp_mst_topology.c port->available_pbn = txmsg->reply.u.path_resources.avail_payload_bw_number; u 2572 drivers/gpu/drm/drm_dp_mst_topology.c if (txmsg->reply.u.remote_dpcd_read_ack.num_bytes != size) { u 2577 drivers/gpu/drm/drm_dp_mst_topology.c ret = min_t(size_t, txmsg->reply.u.remote_dpcd_read_ack.num_bytes, u 2579 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(bytes, txmsg->reply.u.remote_dpcd_read_ack.bytes, ret); u 2947 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.nak.reason, u 2948 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_mst_nak_reason_str(txmsg->reply.u.nak.reason), u 2949 drivers/gpu/drm/drm_dp_mst_topology.c txmsg->reply.u.nak.nak_data); u 2997 drivers/gpu/drm/drm_dp_mst_topology.c mstb = drm_dp_get_mst_branch_device_by_guid(mgr, msg.u.conn_stat.guid); u 3005 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_update_port(mstb, &msg.u.conn_stat); u 3007 drivers/gpu/drm/drm_dp_mst_topology.c DRM_DEBUG_KMS("Got CSN: pn: %d ldps:%d ddps: %d mcs: %d ip: %d pdt: %d\n", msg.u.conn_stat.port_number, msg.u.conn_stat.legacy_device_plug_status, msg.u.conn_stat.displayport_device_plug_status, msg.u.conn_stat.message_capability_status, msg.u.conn_stat.input_port, msg.u.conn_stat.peer_device_type); u 3013 drivers/gpu/drm/drm_dp_mst_topology.c mstb = drm_dp_get_mst_branch_device_by_guid(mgr, msg.u.resource_stat.guid); u 3021 drivers/gpu/drm/drm_dp_mst_topology.c DRM_DEBUG_KMS("Got RSN: pn: %d avail_pbn %d\n", msg.u.resource_stat.port_number, msg.u.resource_stat.available_pbn); u 4062 drivers/gpu/drm/drm_dp_mst_topology.c msg.u.i2c_read.num_transactions = num - 1; u 4063 drivers/gpu/drm/drm_dp_mst_topology.c msg.u.i2c_read.port_number = port->port_num; u 4065 drivers/gpu/drm/drm_dp_mst_topology.c msg.u.i2c_read.transactions[i].i2c_dev_id = msgs[i].addr; u 4066 drivers/gpu/drm/drm_dp_mst_topology.c msg.u.i2c_read.transactions[i].num_bytes = msgs[i].len; u 4067 drivers/gpu/drm/drm_dp_mst_topology.c msg.u.i2c_read.transactions[i].bytes = msgs[i].buf; u 4068 drivers/gpu/drm/drm_dp_mst_topology.c msg.u.i2c_read.transactions[i].no_stop_bit = !(msgs[i].flags & I2C_M_STOP); u 4070 drivers/gpu/drm/drm_dp_mst_topology.c msg.u.i2c_read.read_i2c_device_id = msgs[num - 1].addr; u 4071 drivers/gpu/drm/drm_dp_mst_topology.c msg.u.i2c_read.num_bytes_read = msgs[num - 1].len; u 4091 drivers/gpu/drm/drm_dp_mst_topology.c if (txmsg->reply.u.remote_i2c_read_ack.num_bytes != msgs[num - 1].len) { u 4095 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(msgs[num - 1].buf, txmsg->reply.u.remote_i2c_read_ack.bytes, msgs[num - 1].len); u 120 drivers/gpu/drm/drm_ioctl.c struct drm_unique *u = data; u 124 drivers/gpu/drm/drm_ioctl.c if (u->unique_len >= master->unique_len) { u 125 drivers/gpu/drm/drm_ioctl.c if (copy_to_user(u->unique, master->unique, master->unique_len)) { u 130 drivers/gpu/drm/drm_ioctl.c u->unique_len = master->unique_len; u 1042 drivers/gpu/drm/i810/i810_dma.c int u; u 1047 drivers/gpu/drm/i810/i810_dma.c u = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, I810_BUF_HARDWARE); u 1048 drivers/gpu/drm/i810/i810_dma.c if (u != I810_BUF_CLIENT) u 1128 drivers/gpu/drm/i915/intel_uncore.c u##x val = 0; \ u 1136 drivers/gpu/drm/i915/intel_uncore.c static u##x \ u 1144 drivers/gpu/drm/i915/intel_uncore.c static u##x \ u 1170 drivers/gpu/drm/i915/intel_uncore.c u##x val = 0; \ u 1209 drivers/gpu/drm/i915/intel_uncore.c static u##x \ u 1247 drivers/gpu/drm/i915/intel_uncore.c gen2_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { \ u 1255 drivers/gpu/drm/i915/intel_uncore.c gen5_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { \ u 1289 drivers/gpu/drm/i915/intel_uncore.c gen6_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { \ u 1302 drivers/gpu/drm/i915/intel_uncore.c func##_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { \ u 261 drivers/gpu/drm/i915/intel_uncore.h static inline u##x__ __raw_uncore_read##x__(const struct intel_uncore *uncore, \ u 269 drivers/gpu/drm/i915/intel_uncore.h i915_reg_t reg, u##x__ val) \ u 287 drivers/gpu/drm/i915/intel_uncore.h static inline u##x__ intel_uncore_##name__(struct intel_uncore *uncore, \ u 295 drivers/gpu/drm/i915/intel_uncore.h i915_reg_t reg, u##x__ val) \ u 29 drivers/gpu/drm/i915/selftests/mock_uncore.c nop_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { } u 35 drivers/gpu/drm/i915/selftests/mock_uncore.c static u##x \ u 44 drivers/gpu/drm/nouveau/include/nvif/device.h #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) u 102 drivers/gpu/drm/nouveau/include/nvif/object.h #define nvif_sclass(o,m,u) ({ \ u 104 drivers/gpu/drm/nouveau/include/nvif/object.h s32 _oclass = (u); \ u 89 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h u##t __iomem *_m = nvkm_kmap(o); \ u 66 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h #define nvkm_usec(d,u,cond...) nvkm_nsec((d), (u) * 1000, ##cond) u 74 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h #define nvkm_wait_usec(d,u,addr,mask,data) \ u 75 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h nvkm_wait_nsec((d), (u) * 1000, (addr), (mask), (data)) u 933 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const u32 u = 0x418ea0 + (n * 0x04); u 943 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c mmio_wr32(info, u, ((bs / 3) << 16) | bs); u 76 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const u32 u = 0x418ea0 + (n * 0x04); u 87 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c mmio_wr32(info, u, bs); u 73 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c const u32 u = 0x418ea0 + (n * 0x04); u 86 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c mmio_wr32(info, u, bs); u 94 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c const u32 u = 0x418ea0 + (n * 0x04); u 105 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c mmio_wr32(info, u, bs); u 39 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h #define ROP_UNIT(u, r) (0x410000 + (u) * 0x400 + (r)) u 327 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h const u32 _pteo = (o); u##b _data = (d); \ u 55 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h static inline struct flcn_u64 u64_to_flcn64(u64 u) u 59 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h ret.hi = upper_32_bits(u); u 60 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/priv.h ret.lo = lower_32_bits(u); u 490 drivers/gpu/drm/qxl/qxl_cmd.c cmd->u.surface_create.format = surf->surf.format; u 491 drivers/gpu/drm/qxl/qxl_cmd.c cmd->u.surface_create.width = surf->surf.width; u 492 drivers/gpu/drm/qxl/qxl_cmd.c cmd->u.surface_create.height = surf->surf.height; u 493 drivers/gpu/drm/qxl/qxl_cmd.c cmd->u.surface_create.stride = surf->surf.stride; u 494 drivers/gpu/drm/qxl/qxl_cmd.c cmd->u.surface_create.data = qxl_bo_physical_address(qdev, surf, 0); u 446 drivers/gpu/drm/qxl/qxl_dev.h } u; u 509 drivers/gpu/drm/qxl/qxl_dev.h } u; u 702 drivers/gpu/drm/qxl/qxl_dev.h } u; u 732 drivers/gpu/drm/qxl/qxl_dev.h } u; u 755 drivers/gpu/drm/qxl/qxl_dev.h } u; u 852 drivers/gpu/drm/qxl/qxl_dev.h } u; u 518 drivers/gpu/drm/qxl/qxl_display.c cmd->u.set.position.x = plane->state->crtc_x + fb->hot_x; u 519 drivers/gpu/drm/qxl/qxl_display.c cmd->u.set.position.y = plane->state->crtc_y + fb->hot_y; u 521 drivers/gpu/drm/qxl/qxl_display.c cmd->u.set.shape = qxl_bo_physical_address(qdev, qcrtc->cursor_bo, 0); u 523 drivers/gpu/drm/qxl/qxl_display.c cmd->u.set.visible = 1; u 646 drivers/gpu/drm/qxl/qxl_display.c cmd->u.set.visible = 1; u 647 drivers/gpu/drm/qxl/qxl_display.c cmd->u.set.shape = qxl_bo_physical_address(qdev, u 664 drivers/gpu/drm/qxl/qxl_display.c cmd->u.position.x = plane->state->crtc_x + fb->hot_x; u 665 drivers/gpu/drm/qxl/qxl_display.c cmd->u.position.y = plane->state->crtc_y + fb->hot_y; u 222 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.src_area.top = 0; u 223 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.src_area.bottom = height; u 224 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.src_area.left = 0; u 225 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.src_area.right = width; u 227 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.rop_descriptor = SPICE_ROPD_OP_PUT; u 228 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.scale_mode = 0; u 229 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.mask.flags = 0; u 230 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.mask.pos.x = 0; u 231 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.mask.pos.y = 0; u 232 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.mask.bitmap = 0; u 234 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.src_bitmap = qxl_bo_physical_address(qdev, dimage->bo, 0); u 205 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.format = SPICE_BITMAP_FMT_1BIT_BE; u 208 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.format = SPICE_BITMAP_FMT_24BIT; u 211 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.format = SPICE_BITMAP_FMT_32BIT; u 218 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.flags = QXL_BITMAP_TOP_DOWN; u 219 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.x = width; u 220 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.y = height; u 221 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.stride = chunk_stride; u 222 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.palette = 0; u 223 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.data = qxl_bo_physical_address(qdev, chunk_bo, 0); u 210 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_qxl_reloc __user *u = u64_to_user_ptr(cmd->relocs); u 212 drivers/gpu/drm/qxl/qxl_ioctl.c if (copy_from_user(&reloc, u + i, sizeof(reloc))) { u 2160 drivers/gpu/drm/radeon/r100.c unsigned u, i, w, h, d; u 2163 drivers/gpu/drm/radeon/r100.c for (u = 0; u < track->num_texture; u++) { u 2164 drivers/gpu/drm/radeon/r100.c if (!track->textures[u].enabled) u 2166 drivers/gpu/drm/radeon/r100.c if (track->textures[u].lookup_disable) u 2168 drivers/gpu/drm/radeon/r100.c robj = track->textures[u].robj; u 2170 drivers/gpu/drm/radeon/r100.c DRM_ERROR("No texture bound to unit %u\n", u); u 2174 drivers/gpu/drm/radeon/r100.c for (i = 0; i <= track->textures[u].num_levels; i++) { u 2175 drivers/gpu/drm/radeon/r100.c if (track->textures[u].use_pitch) { u 2177 drivers/gpu/drm/radeon/r100.c w = (track->textures[u].pitch / track->textures[u].cpp) / (1 << i); u 2179 drivers/gpu/drm/radeon/r100.c w = track->textures[u].pitch / (1 << i); u 2181 drivers/gpu/drm/radeon/r100.c w = track->textures[u].width; u 2183 drivers/gpu/drm/radeon/r100.c w |= track->textures[u].width_11; u 2185 drivers/gpu/drm/radeon/r100.c if (track->textures[u].roundup_w) u 2188 drivers/gpu/drm/radeon/r100.c h = track->textures[u].height; u 2190 drivers/gpu/drm/radeon/r100.c h |= track->textures[u].height_11; u 2192 drivers/gpu/drm/radeon/r100.c if (track->textures[u].roundup_h) u 2194 drivers/gpu/drm/radeon/r100.c if (track->textures[u].tex_coord_type == 1) { u 2195 drivers/gpu/drm/radeon/r100.c d = (1 << track->textures[u].txdepth) / (1 << i); u 2201 drivers/gpu/drm/radeon/r100.c if (track->textures[u].compress_format) { u 2203 drivers/gpu/drm/radeon/r100.c size += r100_track_compress_size(track->textures[u].compress_format, w, h) * d; u 2208 drivers/gpu/drm/radeon/r100.c size *= track->textures[u].cpp; u 2210 drivers/gpu/drm/radeon/r100.c switch (track->textures[u].tex_coord_type) { u 2216 drivers/gpu/drm/radeon/r100.c ret = r100_cs_track_cube(rdev, track, u); u 2224 drivers/gpu/drm/radeon/r100.c "%u\n", track->textures[u].tex_coord_type, u); u 2229 drivers/gpu/drm/radeon/r100.c "%lu\n", u, size, radeon_bo_size(robj)); u 2230 drivers/gpu/drm/radeon/r100.c r100_cs_track_texture_print(&track->textures[u]); u 203 drivers/gpu/drm/radeon/r600_dpm.c u32 *p, u32 *u) u 217 drivers/gpu/drm/radeon/r600_dpm.c *u = (b_c + 1) / 2; u 218 drivers/gpu/drm/radeon/r600_dpm.c *p = i_c / (1 << (2 * (*u))); u 338 drivers/gpu/drm/radeon/r600_dpm.c void r600_set_bsp(struct radeon_device *rdev, u32 u, u32 p) u 340 drivers/gpu/drm/radeon/r600_dpm.c WREG32(CG_BSP, BSP(p) | BSU(u)); u 375 drivers/gpu/drm/radeon/r600_dpm.c void r600_set_tpu(struct radeon_device *rdev, u32 u) u 377 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(CG_TPC, TPU(u), ~TPU_MASK); u 385 drivers/gpu/drm/radeon/r600_dpm.c void r600_set_sstu(struct radeon_device *rdev, u32 u) u 387 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(CG_SSP, CG_SSTU(u), ~CG_SSTU_MASK); u 400 drivers/gpu/drm/radeon/r600_dpm.c void r600_set_fctu(struct radeon_device *rdev, u32 u) u 402 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(CG_FC_T, FC_TU(u), ~FC_TU_MASK); u 420 drivers/gpu/drm/radeon/r600_dpm.c void r600_set_vddc3d_oorsu(struct radeon_device *rdev, u32 u) u 422 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(CG_VDDC3D_OOR, SU(u), ~SU_MASK); u 506 drivers/gpu/drm/radeon/r600_dpm.c void r600_vid_rt_set_ssu(struct radeon_device *rdev, u32 u) u 508 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(VID_RT, SSTU(u), ~SSTU_MASK); u 511 drivers/gpu/drm/radeon/r600_dpm.c void r600_vid_rt_set_vru(struct radeon_device *rdev, u32 u) u 513 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(VID_RT, VID_CRTU(u), ~VID_CRTU_MASK); u 141 drivers/gpu/drm/radeon/r600_dpm.h u32 *p, u32 *u); u 153 drivers/gpu/drm/radeon/r600_dpm.h void r600_set_bsp(struct radeon_device *rdev, u32 u, u32 p); u 160 drivers/gpu/drm/radeon/r600_dpm.h void r600_set_tpu(struct radeon_device *rdev, u32 u); u 162 drivers/gpu/drm/radeon/r600_dpm.h void r600_set_sstu(struct radeon_device *rdev, u32 u); u 165 drivers/gpu/drm/radeon/r600_dpm.h void r600_set_fctu(struct radeon_device *rdev, u32 u); u 169 drivers/gpu/drm/radeon/r600_dpm.h void r600_set_vddc3d_oorsu(struct radeon_device *rdev, u32 u); u 188 drivers/gpu/drm/radeon/r600_dpm.h void r600_vid_rt_set_ssu(struct radeon_device *rdev, u32 u); u 189 drivers/gpu/drm/radeon/r600_dpm.h void r600_vid_rt_set_vru(struct radeon_device *rdev, u32 u); u 122 drivers/gpu/drm/radeon/sumo_dpm.c u32 p, u; u 126 drivers/gpu/drm/radeon/sumo_dpm.c xclk, 16, &p, &u); u 133 drivers/gpu/drm/radeon/sumo_dpm.c u32 p, u; u 137 drivers/gpu/drm/radeon/sumo_dpm.c r600_calculate_u_and_p(1, xclk, 14, &p, &u); u 139 drivers/gpu/drm/radeon/sumo_dpm.c WREG32(CG_GCOOR, PHC(grs) | SDC(p) | SU(u)); u 151 drivers/gpu/drm/radeon/sumo_dpm.c u32 p, u; u 173 drivers/gpu/drm/radeon/sumo_dpm.c xclk, 16, &p, &u); u 175 drivers/gpu/drm/radeon/sumo_dpm.c WREG32_P(CG_PWR_GATING_CNTL, PGP(p) | PGU(u), u 179 drivers/gpu/drm/radeon/sumo_dpm.c xclk, 16, &p, &u); u 181 drivers/gpu/drm/radeon/sumo_dpm.c WREG32_P(CG_CG_VOLTAGE_CNTL, PGP(p) | PGU(u), u 464 drivers/gpu/drm/radeon/sumo_dpm.c u32 p, u; u 468 drivers/gpu/drm/radeon/sumo_dpm.c xclk, 16, &p, &u); u 470 drivers/gpu/drm/radeon/sumo_dpm.c WREG32(CG_SSP, SSTU(u) | SST(p)); u 928 drivers/gpu/drm/radeon/sumo_dpm.c u32 p, u; u 932 drivers/gpu/drm/radeon/sumo_dpm.c xclk, 16, &p, &u); u 935 drivers/gpu/drm/radeon/sumo_dpm.c cg_sclk_dpm_ctrl_5 |= TT_TP(p) | TT_TU(u); u 972 drivers/gpu/drm/radeon/sumo_dpm.c u32 p, u; u 976 drivers/gpu/drm/radeon/sumo_dpm.c xclk, 14, &p, &u); u 979 drivers/gpu/drm/radeon/sumo_dpm.c cg_sclk_dpm_ctrl_4 |= DC_HDC(p) | DC_HU(u); u 366 drivers/gpu/drm/radeon/trinity_dpm.c u32 p, u; u 386 drivers/gpu/drm/radeon/trinity_dpm.c r600_calculate_u_and_p(500, xclk, 16, &p, &u); u 388 drivers/gpu/drm/radeon/trinity_dpm.c WREG32(CG_PG_CTRL, SP(p) | SU(u)); u 885 drivers/gpu/drm/radeon/trinity_dpm.c u32 p, u; u 890 drivers/gpu/drm/radeon/trinity_dpm.c r600_calculate_u_and_p(interval, xclk, 16, &p, &u); u 1028 drivers/gpu/drm/radeon/trinity_dpm.c u32 p, u; u 1034 drivers/gpu/drm/radeon/trinity_dpm.c r600_calculate_u_and_p(400, xclk, 16, &p, &u); u 53 drivers/gpu/drm/vboxvideo/hgsmi_defs.h } u; u 66 drivers/gpu/drm/vboxvideo/vbox_hgsmi.c memset(&h->u.header_data, 0, sizeof(h->u.header_data)); u 476 drivers/gpu/drm/vmwgfx/device_include/svga3d_devcaps.h uint32 u; u 94 drivers/gpu/drm/xen/xen_drm_front.c req = RING_GET_REQUEST(&evtchnl->u.req.ring, u 95 drivers/gpu/drm/xen/xen_drm_front.c evtchnl->u.req.ring.req_prod_pvt); u 105 drivers/gpu/drm/xen/xen_drm_front.c reinit_completion(&evtchnl->u.req.completion); u 115 drivers/gpu/drm/xen/xen_drm_front.c if (wait_for_completion_timeout(&evtchnl->u.req.completion, u 119 drivers/gpu/drm/xen/xen_drm_front.c return evtchnl->u.req.resp_status; u 137 drivers/gpu/drm/xen/xen_drm_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 154 drivers/gpu/drm/xen/xen_drm_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 190 drivers/gpu/drm/xen/xen_drm_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 218 drivers/gpu/drm/xen/xen_drm_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 222 drivers/gpu/drm/xen/xen_drm_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 250 drivers/gpu/drm/xen/xen_drm_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 269 drivers/gpu/drm/xen/xen_drm_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 293 drivers/gpu/drm/xen/xen_drm_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 309 drivers/gpu/drm/xen/xen_drm_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 325 drivers/gpu/drm/xen/xen_drm_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 337 drivers/gpu/drm/xen/xen_drm_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 354 drivers/gpu/drm/xen/xen_drm_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 366 drivers/gpu/drm/xen/xen_drm_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 37 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c rp = evtchnl->u.req.ring.sring->rsp_prod; u 41 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c for (i = evtchnl->u.req.ring.rsp_cons; i != rp; i++) { u 42 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c resp = RING_GET_RESPONSE(&evtchnl->u.req.ring, i); u 53 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.req.resp_status = resp->status; u 54 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c complete(&evtchnl->u.req.completion); u 64 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.req.ring.rsp_cons = i; u 66 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c if (i != evtchnl->u.req.ring.req_prod_pvt) { u 69 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c RING_FINAL_CHECK_FOR_RESPONSES(&evtchnl->u.req.ring, u 74 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.req.ring.sring->rsp_event = i + 1; u 85 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c struct xendispl_event_page *page = evtchnl->u.evt.page; u 129 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c page = (unsigned long)evtchnl->u.req.ring.sring; u 131 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c page = (unsigned long)evtchnl->u.evt.page; u 139 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.req.resp_status = -EIO; u 140 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c complete_all(&evtchnl->u.req.completion); u 182 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c init_completion(&evtchnl->u.req.completion); u 183 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c mutex_init(&evtchnl->u.req.req_io_lock); u 186 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c FRONT_RING_INIT(&evtchnl->u.req.ring, sring, XEN_PAGE_SIZE); u 190 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.req.ring.sring = NULL; u 204 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.evt.page = (struct xendispl_event_page *)page; u 350 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->u.req.ring.req_prod_pvt++; u 351 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&evtchnl->u.req.ring, notify); u 62 drivers/gpu/drm/xen/xen_drm_front_evtchnl.h } u; u 40 drivers/hid/hid-axff.c left = effect->u.rumble.strong_magnitude; u 41 drivers/hid/hid-axff.c right = effect->u.rumble.weak_magnitude; u 44 drivers/hid/hid-betopff.c left = effect->u.rumble.strong_magnitude; u 45 drivers/hid/hid-betopff.c right = effect->u.rumble.weak_magnitude; u 240 drivers/hid/hid-bigbenff.c right_motor_on = effect->u.rumble.weak_magnitude ? 1 : 0; u 241 drivers/hid/hid-bigbenff.c left_motor_force = effect->u.rumble.strong_magnitude / 256; u 38 drivers/hid/hid-dr.c strong = effect->u.rumble.strong_magnitude; u 39 drivers/hid/hid-dr.c weak = effect->u.rumble.weak_magnitude; u 29 drivers/hid/hid-emsff.c weak = effect->u.rumble.weak_magnitude; u 30 drivers/hid/hid-emsff.c strong = effect->u.rumble.strong_magnitude; u 36 drivers/hid/hid-gaff.c left = effect->u.rumble.strong_magnitude; u 37 drivers/hid/hid-gaff.c right = effect->u.rumble.weak_magnitude; u 100 drivers/hid/hid-holtekff.c left = effect->u.rumble.strong_magnitude; u 101 drivers/hid/hid-holtekff.c right = effect->u.rumble.weak_magnitude; u 29 drivers/hid/hid-lg2ff.c strong = effect->u.rumble.strong_magnitude; u 30 drivers/hid/hid-lg2ff.c weak = effect->u.rumble.weak_magnitude; u 69 drivers/hid/hid-lg3ff.c x = effect->u.ramp.start_level; u 70 drivers/hid/hid-lg3ff.c y = effect->u.ramp.end_level; u 432 drivers/hid/hid-lg4ff.c x = effect->u.ramp.start_level + 0x80; /* 0x80 is no force */ u 69 drivers/hid/hid-lgff.c x = effect->u.ramp.start_level + 0x7f; /* 0x7f is center */ u 70 drivers/hid/hid-lgff.c y = effect->u.ramp.end_level + 0x7f; u 82 drivers/hid/hid-lgff.c right = effect->u.rumble.strong_magnitude; u 83 drivers/hid/hid-lgff.c left = effect->u.rumble.weak_magnitude; u 1860 drivers/hid/hid-logitech-hidpp.c force = (effect->u.constant.level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; u 1864 drivers/hid/hid-logitech-hidpp.c params[8] = effect->u.constant.envelope.attack_level >> 7; u 1865 drivers/hid/hid-logitech-hidpp.c params[9] = effect->u.constant.envelope.attack_length >> 8; u 1866 drivers/hid/hid-logitech-hidpp.c params[10] = effect->u.constant.envelope.attack_length & 255; u 1867 drivers/hid/hid-logitech-hidpp.c params[11] = effect->u.constant.envelope.fade_level >> 7; u 1868 drivers/hid/hid-logitech-hidpp.c params[12] = effect->u.constant.envelope.fade_length >> 8; u 1869 drivers/hid/hid-logitech-hidpp.c params[13] = effect->u.constant.envelope.fade_length & 255; u 1872 drivers/hid/hid-logitech-hidpp.c effect->u.constant.level, u 1875 drivers/hid/hid-logitech-hidpp.c effect->u.constant.envelope.attack_level, u 1876 drivers/hid/hid-logitech-hidpp.c effect->u.constant.envelope.attack_length, u 1877 drivers/hid/hid-logitech-hidpp.c effect->u.constant.envelope.fade_level, u 1878 drivers/hid/hid-logitech-hidpp.c effect->u.constant.envelope.fade_length); u 1882 drivers/hid/hid-logitech-hidpp.c switch (effect->u.periodic.waveform) { u 1899 drivers/hid/hid-logitech-hidpp.c hid_err(data->hidpp->hid_dev, "Unexpected periodic waveform type %i!\n", effect->u.periodic.waveform); u 1902 drivers/hid/hid-logitech-hidpp.c force = (effect->u.periodic.magnitude * fixp_sin16((effect->direction * 360) >> 16)) >> 15; u 1903 drivers/hid/hid-logitech-hidpp.c params[6] = effect->u.periodic.magnitude >> 8; u 1904 drivers/hid/hid-logitech-hidpp.c params[7] = effect->u.periodic.magnitude & 255; u 1905 drivers/hid/hid-logitech-hidpp.c params[8] = effect->u.periodic.offset >> 8; u 1906 drivers/hid/hid-logitech-hidpp.c params[9] = effect->u.periodic.offset & 255; u 1907 drivers/hid/hid-logitech-hidpp.c params[10] = effect->u.periodic.period >> 8; u 1908 drivers/hid/hid-logitech-hidpp.c params[11] = effect->u.periodic.period & 255; u 1909 drivers/hid/hid-logitech-hidpp.c params[12] = effect->u.periodic.phase >> 8; u 1910 drivers/hid/hid-logitech-hidpp.c params[13] = effect->u.periodic.phase & 255; u 1911 drivers/hid/hid-logitech-hidpp.c params[14] = effect->u.periodic.envelope.attack_level >> 7; u 1912 drivers/hid/hid-logitech-hidpp.c params[15] = effect->u.periodic.envelope.attack_length >> 8; u 1913 drivers/hid/hid-logitech-hidpp.c params[16] = effect->u.periodic.envelope.attack_length & 255; u 1914 drivers/hid/hid-logitech-hidpp.c params[17] = effect->u.periodic.envelope.fade_level >> 7; u 1915 drivers/hid/hid-logitech-hidpp.c params[18] = effect->u.periodic.envelope.fade_length >> 8; u 1916 drivers/hid/hid-logitech-hidpp.c params[19] = effect->u.periodic.envelope.fade_length & 255; u 1919 drivers/hid/hid-logitech-hidpp.c effect->u.periodic.magnitude, effect->direction, u 1920 drivers/hid/hid-logitech-hidpp.c effect->u.periodic.offset, u 1921 drivers/hid/hid-logitech-hidpp.c effect->u.periodic.period, u 1922 drivers/hid/hid-logitech-hidpp.c effect->u.periodic.phase); u 1924 drivers/hid/hid-logitech-hidpp.c effect->u.periodic.envelope.attack_level, u 1925 drivers/hid/hid-logitech-hidpp.c effect->u.periodic.envelope.attack_length, u 1926 drivers/hid/hid-logitech-hidpp.c effect->u.periodic.envelope.fade_level, u 1927 drivers/hid/hid-logitech-hidpp.c effect->u.periodic.envelope.fade_length); u 1932 drivers/hid/hid-logitech-hidpp.c force = (effect->u.ramp.start_level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; u 1935 drivers/hid/hid-logitech-hidpp.c force = (effect->u.ramp.end_level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; u 1938 drivers/hid/hid-logitech-hidpp.c params[10] = effect->u.ramp.envelope.attack_level >> 7; u 1939 drivers/hid/hid-logitech-hidpp.c params[11] = effect->u.ramp.envelope.attack_length >> 8; u 1940 drivers/hid/hid-logitech-hidpp.c params[12] = effect->u.ramp.envelope.attack_length & 255; u 1941 drivers/hid/hid-logitech-hidpp.c params[13] = effect->u.ramp.envelope.fade_level >> 7; u 1942 drivers/hid/hid-logitech-hidpp.c params[14] = effect->u.ramp.envelope.fade_length >> 8; u 1943 drivers/hid/hid-logitech-hidpp.c params[15] = effect->u.ramp.envelope.fade_length & 255; u 1946 drivers/hid/hid-logitech-hidpp.c effect->u.ramp.start_level, u 1947 drivers/hid/hid-logitech-hidpp.c effect->u.ramp.end_level, u 1950 drivers/hid/hid-logitech-hidpp.c effect->u.ramp.envelope.attack_level, u 1951 drivers/hid/hid-logitech-hidpp.c effect->u.ramp.envelope.attack_length, u 1952 drivers/hid/hid-logitech-hidpp.c effect->u.ramp.envelope.fade_level, u 1953 drivers/hid/hid-logitech-hidpp.c effect->u.ramp.envelope.fade_length); u 1960 drivers/hid/hid-logitech-hidpp.c params[6] = effect->u.condition[0].left_saturation >> 9; u 1961 drivers/hid/hid-logitech-hidpp.c params[7] = (effect->u.condition[0].left_saturation >> 1) & 255; u 1962 drivers/hid/hid-logitech-hidpp.c params[8] = effect->u.condition[0].left_coeff >> 8; u 1963 drivers/hid/hid-logitech-hidpp.c params[9] = effect->u.condition[0].left_coeff & 255; u 1964 drivers/hid/hid-logitech-hidpp.c params[10] = effect->u.condition[0].deadband >> 9; u 1965 drivers/hid/hid-logitech-hidpp.c params[11] = (effect->u.condition[0].deadband >> 1) & 255; u 1966 drivers/hid/hid-logitech-hidpp.c params[12] = effect->u.condition[0].center >> 8; u 1967 drivers/hid/hid-logitech-hidpp.c params[13] = effect->u.condition[0].center & 255; u 1968 drivers/hid/hid-logitech-hidpp.c params[14] = effect->u.condition[0].right_coeff >> 8; u 1969 drivers/hid/hid-logitech-hidpp.c params[15] = effect->u.condition[0].right_coeff & 255; u 1970 drivers/hid/hid-logitech-hidpp.c params[16] = effect->u.condition[0].right_saturation >> 9; u 1971 drivers/hid/hid-logitech-hidpp.c params[17] = (effect->u.condition[0].right_saturation >> 1) & 255; u 1975 drivers/hid/hid-logitech-hidpp.c effect->u.condition[0].left_coeff, u 1976 drivers/hid/hid-logitech-hidpp.c effect->u.condition[0].left_saturation, u 1977 drivers/hid/hid-logitech-hidpp.c effect->u.condition[0].right_coeff, u 1978 drivers/hid/hid-logitech-hidpp.c effect->u.condition[0].right_saturation); u 1980 drivers/hid/hid-logitech-hidpp.c effect->u.condition[0].deadband, u 1981 drivers/hid/hid-logitech-hidpp.c effect->u.condition[0].center); u 40 drivers/hid/hid-mf.c strong = effect->u.rumble.strong_magnitude; u 41 drivers/hid/hid-mf.c weak = effect->u.rumble.weak_magnitude; u 322 drivers/hid/hid-microsoft.c ms->strong = ((u32) effect->u.rumble.strong_magnitude * 100) / U16_MAX; u 323 drivers/hid/hid-microsoft.c ms->weak = ((u32) effect->u.rumble.weak_magnitude * 100) / U16_MAX; u 311 drivers/hid/hid-picolcd_core.c unsigned u; u 312 drivers/hid/hid-picolcd_core.c if (sscanf(buf, "%u", &u) != 1) u 314 drivers/hid/hid-picolcd_core.c if (u > 30000) u 317 drivers/hid/hid-picolcd_core.c data->opmode_delay = u; u 72 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_eeprom_read(struct file *f, char __user *u, u 101 drivers/hid/hid-picolcd_debugfs.c if (copy_to_user(u, resp->raw_data+3, ret)) u 111 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_eeprom_write(struct file *f, const char __user *u, u 131 drivers/hid/hid-picolcd_debugfs.c if (copy_from_user(raw_data+3, u, min((u8)20, raw_data[2]))) u 180 drivers/hid/hid-picolcd_debugfs.c char __user *u, size_t s, loff_t *off) u 198 drivers/hid/hid-picolcd_debugfs.c if (copy_to_user(u+ret, resp->raw_data+len_off+1, raw_data[len_off])) { u 215 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_flash_read(struct file *f, char __user *u, u 228 drivers/hid/hid-picolcd_debugfs.c return _picolcd_flash_read(data, REPORT_BL_READ_MEMORY, u, s, off); u 230 drivers/hid/hid-picolcd_debugfs.c return _picolcd_flash_read(data, REPORT_READ_MEMORY, u, s, off); u 262 drivers/hid/hid-picolcd_debugfs.c const char __user *u, size_t s, loff_t *off) u 273 drivers/hid/hid-picolcd_debugfs.c if (copy_from_user(raw_data+len_off+1, u, raw_data[len_off])) { u 298 drivers/hid/hid-picolcd_debugfs.c static ssize_t picolcd_debug_flash_write(struct file *f, const char __user *u, u 326 drivers/hid/hid-picolcd_debugfs.c err = _picolcd_flash_write(data, report_write, u, 64, off); u 476 drivers/hid/hid-picolcd_fb.c unsigned u; u 481 drivers/hid/hid-picolcd_fb.c i = sscanf(buf, "%u", &u); u 485 drivers/hid/hid-picolcd_fb.c if (u > PICOLCDFB_UPDATE_RATE_LIMIT) u 487 drivers/hid/hid-picolcd_fb.c else if (u == 0) u 488 drivers/hid/hid-picolcd_fb.c u = PICOLCDFB_UPDATE_RATE_DEFAULT; u 490 drivers/hid/hid-picolcd_fb.c fbdata->update_rate = u; u 54 drivers/hid/hid-pl.c left = effect->u.rumble.strong_magnitude; u 55 drivers/hid/hid-pl.c right = effect->u.rumble.weak_magnitude; u 36 drivers/hid/hid-sjoy.c left = effect->u.rumble.strong_magnitude; u 37 drivers/hid/hid-sjoy.c right = effect->u.rumble.weak_magnitude; u 2265 drivers/hid/hid-sony.c sc->left = effect->u.rumble.strong_magnitude / 256; u 2266 drivers/hid/hid-sony.c sc->right = effect->u.rumble.weak_magnitude / 256; u 85 drivers/hid/hid-tmff.c x = tmff_scale_s8(effect->u.ramp.start_level, u 88 drivers/hid/hid-tmff.c y = tmff_scale_s8(effect->u.ramp.end_level, u 99 drivers/hid/hid-tmff.c left = tmff_scale_u16(effect->u.rumble.weak_magnitude, u 102 drivers/hid/hid-tmff.c right = tmff_scale_u16(effect->u.rumble.strong_magnitude, u 23 drivers/hid/hid-wiimote-debug.c static ssize_t wiidebug_eeprom_read(struct file *f, char __user *u, size_t s, u 66 drivers/hid/hid-wiimote-debug.c if (copy_to_user(u, buf, size)) u 124 drivers/hid/hid-wiimote-debug.c static ssize_t wiidebug_drm_write(struct file *f, const char __user *u, u 138 drivers/hid/hid-wiimote-debug.c if (copy_from_user(buf, u, len)) u 142 drivers/hid/hid-wiimote-modules.c if (eff->u.rumble.strong_magnitude || eff->u.rumble.weak_magnitude) u 1781 drivers/hid/hid-wiimote-modules.c if (eff->u.rumble.strong_magnitude || eff->u.rumble.weak_magnitude) u 289 drivers/hid/hid-wiimote.h static inline int wiidebug_init(void *u) { return 0; } u 290 drivers/hid/hid-wiimote.h static inline void wiidebug_deinit(void *u) { } u 38 drivers/hid/hid-zpff.c left = effect->u.rumble.strong_magnitude; u 39 drivers/hid/hid-zpff.c right = effect->u.rumble.weak_magnitude; u 119 drivers/hid/uhid.c ev->u.start.dev_flags |= UHID_DEV_NUMBERED_FEATURE_REPORTS; u 121 drivers/hid/uhid.c ev->u.start.dev_flags |= UHID_DEV_NUMBERED_OUTPUT_REPORTS; u 123 drivers/hid/uhid.c ev->u.start.dev_flags |= UHID_DEV_NUMBERED_INPUT_REPORTS; u 228 drivers/hid/uhid.c ev->u.get_report.rnum = rnum; u 229 drivers/hid/uhid.c ev->u.get_report.rtype = rtype; u 238 drivers/hid/uhid.c ret = __uhid_report_queue_and_wait(uhid, ev, &ev->u.get_report.id); u 242 drivers/hid/uhid.c req = &uhid->report_buf.u.get_report_reply; u 270 drivers/hid/uhid.c ev->u.set_report.rnum = rnum; u 271 drivers/hid/uhid.c ev->u.set_report.rtype = rtype; u 272 drivers/hid/uhid.c ev->u.set_report.size = count; u 273 drivers/hid/uhid.c memcpy(ev->u.set_report.data, buf, count); u 282 drivers/hid/uhid.c ret = __uhid_report_queue_and_wait(uhid, ev, &ev->u.set_report.id); u 286 drivers/hid/uhid.c if (uhid->report_buf.u.set_report_reply.err) u 353 drivers/hid/uhid.c ev->u.output.size = count; u 354 drivers/hid/uhid.c ev->u.output.rtype = rtype; u 355 drivers/hid/uhid.c memcpy(ev->u.output.data, buf, count); u 431 drivers/hid/uhid.c memcpy(event->u.create.name, compat->name, u 433 drivers/hid/uhid.c memcpy(event->u.create.phys, compat->phys, u 435 drivers/hid/uhid.c memcpy(event->u.create.uniq, compat->uniq, u 438 drivers/hid/uhid.c event->u.create.rd_data = compat_ptr(compat->rd_data); u 439 drivers/hid/uhid.c event->u.create.rd_size = compat->rd_size; u 441 drivers/hid/uhid.c event->u.create.bus = compat->bus; u 442 drivers/hid/uhid.c event->u.create.vendor = compat->vendor; u 443 drivers/hid/uhid.c event->u.create.product = compat->product; u 444 drivers/hid/uhid.c event->u.create.version = compat->version; u 445 drivers/hid/uhid.c event->u.create.country = compat->country; u 480 drivers/hid/uhid.c rd_size = ev->u.create2.rd_size; u 484 drivers/hid/uhid.c rd_data = kmemdup(ev->u.create2.rd_data, rd_size, GFP_KERNEL); u 498 drivers/hid/uhid.c len = min(sizeof(hid->name), sizeof(ev->u.create2.name)) - 1; u 499 drivers/hid/uhid.c strncpy(hid->name, ev->u.create2.name, len); u 500 drivers/hid/uhid.c len = min(sizeof(hid->phys), sizeof(ev->u.create2.phys)) - 1; u 501 drivers/hid/uhid.c strncpy(hid->phys, ev->u.create2.phys, len); u 502 drivers/hid/uhid.c len = min(sizeof(hid->uniq), sizeof(ev->u.create2.uniq)) - 1; u 503 drivers/hid/uhid.c strncpy(hid->uniq, ev->u.create2.uniq, len); u 506 drivers/hid/uhid.c hid->bus = ev->u.create2.bus; u 507 drivers/hid/uhid.c hid->vendor = ev->u.create2.vendor; u 508 drivers/hid/uhid.c hid->product = ev->u.create2.product; u 509 drivers/hid/uhid.c hid->version = ev->u.create2.version; u 510 drivers/hid/uhid.c hid->country = ev->u.create2.country; u 537 drivers/hid/uhid.c orig = ev->u.create; u 541 drivers/hid/uhid.c if (copy_from_user(&ev->u.create2.rd_data, orig.rd_data, orig.rd_size)) u 544 drivers/hid/uhid.c memcpy(ev->u.create2.name, orig.name, sizeof(orig.name)); u 545 drivers/hid/uhid.c memcpy(ev->u.create2.phys, orig.phys, sizeof(orig.phys)); u 546 drivers/hid/uhid.c memcpy(ev->u.create2.uniq, orig.uniq, sizeof(orig.uniq)); u 547 drivers/hid/uhid.c ev->u.create2.rd_size = orig.rd_size; u 548 drivers/hid/uhid.c ev->u.create2.bus = orig.bus; u 549 drivers/hid/uhid.c ev->u.create2.vendor = orig.vendor; u 550 drivers/hid/uhid.c ev->u.create2.product = orig.product; u 551 drivers/hid/uhid.c ev->u.create2.version = orig.version; u 552 drivers/hid/uhid.c ev->u.create2.country = orig.country; u 578 drivers/hid/uhid.c hid_input_report(uhid->hid, HID_INPUT_REPORT, ev->u.input.data, u 579 drivers/hid/uhid.c min_t(size_t, ev->u.input.size, UHID_DATA_MAX), 0); u 589 drivers/hid/uhid.c hid_input_report(uhid->hid, HID_INPUT_REPORT, ev->u.input2.data, u 590 drivers/hid/uhid.c min_t(size_t, ev->u.input2.size, UHID_DATA_MAX), 0); u 601 drivers/hid/uhid.c uhid_report_wake_up(uhid, ev->u.get_report_reply.id, ev); u 611 drivers/hid/uhid.c uhid_report_wake_up(uhid, ev->u.set_report_reply.id, ev); u 279 drivers/hid/usbhid/hid-pidff.c effect->u.constant.level); u 291 drivers/hid/usbhid/hid-pidff.c return effect->u.constant.level != old->u.constant.level; u 342 drivers/hid/usbhid/hid-pidff.c effect->u.periodic.magnitude); u 344 drivers/hid/usbhid/hid-pidff.c effect->u.periodic.offset); u 345 drivers/hid/usbhid/hid-pidff.c pidff_set(&pidff->set_periodic[PID_PHASE], effect->u.periodic.phase); u 346 drivers/hid/usbhid/hid-pidff.c pidff->set_periodic[PID_PERIOD].value[0] = effect->u.periodic.period; u 359 drivers/hid/usbhid/hid-pidff.c return effect->u.periodic.magnitude != old->u.periodic.magnitude || u 360 drivers/hid/usbhid/hid-pidff.c effect->u.periodic.offset != old->u.periodic.offset || u 361 drivers/hid/usbhid/hid-pidff.c effect->u.periodic.phase != old->u.periodic.phase || u 362 drivers/hid/usbhid/hid-pidff.c effect->u.periodic.period != old->u.periodic.period; u 379 drivers/hid/usbhid/hid-pidff.c effect->u.condition[i].center); u 381 drivers/hid/usbhid/hid-pidff.c effect->u.condition[i].right_coeff); u 383 drivers/hid/usbhid/hid-pidff.c effect->u.condition[i].left_coeff); u 385 drivers/hid/usbhid/hid-pidff.c effect->u.condition[i].right_saturation); u 387 drivers/hid/usbhid/hid-pidff.c effect->u.condition[i].left_saturation); u 389 drivers/hid/usbhid/hid-pidff.c effect->u.condition[i].deadband); u 405 drivers/hid/usbhid/hid-pidff.c struct ff_condition_effect *cond = &effect->u.condition[i]; u 406 drivers/hid/usbhid/hid-pidff.c struct ff_condition_effect *old_cond = &old->u.condition[i]; u 428 drivers/hid/usbhid/hid-pidff.c effect->u.ramp.start_level); u 430 drivers/hid/usbhid/hid-pidff.c effect->u.ramp.end_level); u 440 drivers/hid/usbhid/hid-pidff.c return effect->u.ramp.start_level != old->u.ramp.start_level || u 441 drivers/hid/usbhid/hid-pidff.c effect->u.ramp.end_level != old->u.ramp.end_level; u 578 drivers/hid/usbhid/hid-pidff.c pidff_needs_set_envelope(&effect->u.constant.envelope, u 579 drivers/hid/usbhid/hid-pidff.c &old->u.constant.envelope)) u 581 drivers/hid/usbhid/hid-pidff.c &effect->u.constant.envelope); u 586 drivers/hid/usbhid/hid-pidff.c switch (effect->u.periodic.waveform) { u 617 drivers/hid/usbhid/hid-pidff.c pidff_needs_set_envelope(&effect->u.periodic.envelope, u 618 drivers/hid/usbhid/hid-pidff.c &old->u.periodic.envelope)) u 620 drivers/hid/usbhid/hid-pidff.c &effect->u.periodic.envelope); u 635 drivers/hid/usbhid/hid-pidff.c pidff_needs_set_envelope(&effect->u.ramp.envelope, u 636 drivers/hid/usbhid/hid-pidff.c &old->u.ramp.envelope)) u 638 drivers/hid/usbhid/hid-pidff.c &effect->u.ramp.envelope); u 800 drivers/hv/channel_mgmt.c msg->u.payload; u 1370 drivers/hv/channel_mgmt.c hdr = (struct vmbus_channel_message_header *)msg->u.payload; u 1379 drivers/hv/channel_mgmt.c (unsigned char *)msg->u.payload, size); u 402 drivers/hv/connection.c conn_id.u.id = vmbus_connection.msg_conn_id; u 160 drivers/hv/vmbus_drv.c return monitor_page->parameter[monitor_group][monitor_offset].connectionid.u.id; u 1066 drivers/hv/vmbus_drv.c hdr = (struct vmbus_channel_message_header *)msg->u.payload; u 1143 drivers/hv/vmbus_drv.c rescind = (struct vmbus_channel_rescind_offer *)ctx->msg.u.payload; u 414 drivers/hwmon/gpio-fan.c u32 u; u 468 drivers/hwmon/gpio-fan.c p = of_prop_next_u32(prop, p, &u); u 471 drivers/hwmon/gpio-fan.c speed[i].rpm = u; u 472 drivers/hwmon/gpio-fan.c p = of_prop_next_u32(prop, p, &u); u 475 drivers/hwmon/gpio-fan.c speed[i].ctrl_val = u; u 346 drivers/hwmon/nct6683.c } u; u 354 drivers/hwmon/nct6683.c } u; u 366 drivers/hwmon/nct6683.c .u.index = _index, \ u 372 drivers/hwmon/nct6683.c .u.s.index = _index, \ u 373 drivers/hwmon/nct6683.c .u.s.nr = _nr, \ u 439 drivers/hwmon/nct6683.c a2 = &su->u.a2; u 442 drivers/hwmon/nct6683.c a2->nr = (*t)->u.s.nr + i; u 443 drivers/hwmon/nct6683.c a2->index = (*t)->u.s.index; u 450 drivers/hwmon/nct6683.c a = &su->u.a1; u 453 drivers/hwmon/nct6683.c a->index = (*t)->u.index + i; u 1233 drivers/hwmon/nct6775.c } u; u 1241 drivers/hwmon/nct6775.c } u; u 1253 drivers/hwmon/nct6775.c .u.index = _index, \ u 1259 drivers/hwmon/nct6775.c .u.s.index = _index, \ u 1260 drivers/hwmon/nct6775.c .u.s.nr = _nr, \ u 1326 drivers/hwmon/nct6775.c a2 = &su->u.a2; u 1329 drivers/hwmon/nct6775.c a2->nr = (*t)->u.s.nr + i; u 1330 drivers/hwmon/nct6775.c a2->index = (*t)->u.s.index; u 1337 drivers/hwmon/nct6775.c a = &su->u.a1; u 1340 drivers/hwmon/nct6775.c a->index = (*t)->u.index + i; u 1416 drivers/hwtracing/intel_th/msu.c struct msc_win_to_user_struct *u = data; u 1419 drivers/hwtracing/intel_th/msu.c ret = copy_to_user(u->buf + u->offset, src, len); u 1420 drivers/hwtracing/intel_th/msu.c u->offset += len - ret; u 1525 drivers/hwtracing/intel_th/msu.c struct msc_win_to_user_struct u = { u 1530 drivers/hwtracing/intel_th/msu.c ret = msc_buffer_iterate(iter, len, &u, msc_win_to_user); u 62 drivers/hwtracing/stm/p_sys-t.c #define MIPI_SYST_UNIT(u) ((u32)(u) << 12) u 66 drivers/hwtracing/stm/p_sys-t.c #define MIPI_SYST_UNITLARGE(u) (MIPI_SYST_UNIT(u & 0xf) | \ u 67 drivers/hwtracing/stm/p_sys-t.c MIPI_SYST_ORIGIN(u >> 4)) u 233 drivers/i2c/busses/i2c-pxa.c #define PXA_BIT(m, s, u) { .mask = m, .set = s, .unset = u } u 122 drivers/ide/amd74xx.c u32 u = 0; u 126 drivers/ide/amd74xx.c pci_read_config_dword(dev, AMD_UDMA_TIMING + offset, &u); u 129 drivers/ide/amd74xx.c if (((u >> i) & 4) && !(amd_80w & (1 << (1 - (i >> 4))))) { u 241 drivers/ide/via82cxxx.c static void via_cable_detect(struct via82cxxx_dev *vdev, u32 u) u 248 drivers/ide/via82cxxx.c if (((u >> (i & 16)) & 8) && u 249 drivers/ide/via82cxxx.c ((u >> i) & 0x20) && u 250 drivers/ide/via82cxxx.c (((u >> i) & 7) < 2)) { u 261 drivers/ide/via82cxxx.c if (((u >> i) & 0x10) || u 262 drivers/ide/via82cxxx.c (((u >> i) & 0x20) && u 263 drivers/ide/via82cxxx.c (((u >> i) & 7) < 4))) { u 273 drivers/ide/via82cxxx.c if (((u >> i) & 0x10) || u 274 drivers/ide/via82cxxx.c (((u >> i) & 0x20) && u 275 drivers/ide/via82cxxx.c (((u >> i) & 7) < 6))) { u 299 drivers/ide/via82cxxx.c u32 u; u 304 drivers/ide/via82cxxx.c pci_read_config_dword(dev, VIA_UDMA_TIMING, &u); u 306 drivers/ide/via82cxxx.c via_cable_detect(vdev, u); u 310 drivers/ide/via82cxxx.c pci_write_config_dword(dev, VIA_UDMA_TIMING, u|0x80008); u 313 drivers/ide/via82cxxx.c pci_write_config_dword(dev, VIA_UDMA_TIMING, u & ~0x80008); u 230 drivers/iio/adc/ad7266.c static AD7266_DECLARE_SINGLE_ENDED_CHANNELS(u, 'u'); u 232 drivers/iio/adc/ad7266.c static AD7266_DECLARE_SINGLE_ENDED_CHANNELS_FIXED(u, 'u'); u 267 drivers/iio/adc/ad7266.c static AD7266_DECLARE_DIFF_CHANNELS(u, 'u'); u 277 drivers/iio/adc/ad7266.c static AD7266_DECLARE_DIFF_CHANNELS_FIXED(u, 'u'); u 254 drivers/infiniband/core/uverbs_ioctl.c if (uattr->attr_data.enum_data.elem_id >= spec->u.enum_def.num_elems) u 274 drivers/infiniband/core/uverbs_ioctl.c if (uattr->len > val_spec->u.ptr.len && u 276 drivers/infiniband/core/uverbs_ioctl.c !uverbs_is_attr_cleared(uattr, val_spec->u.ptr.len)) u 281 drivers/infiniband/core/uverbs_ioctl.c if (uattr->len < val_spec->u.ptr.min_len || u 283 drivers/infiniband/core/uverbs_ioctl.c uattr->len > val_spec->u.ptr.len)) u 328 drivers/infiniband/core/uverbs_ioctl.c spec->u.obj.obj_type, spec->u.obj.access, u 334 drivers/infiniband/core/uverbs_ioctl.c if (spec->u.obj.access == UVERBS_ACCESS_NEW) { u 514 drivers/infiniband/core/uverbs_ioctl.c attr->obj_attr.attr_elm->spec.u.obj.access, commit, u 386 drivers/infiniband/core/uverbs_uapi.c u8 access = elm->spec.u.obj.access; u 503 drivers/infiniband/core/uverbs_uapi.c return spec->u.obj.obj_type; u 381 drivers/infiniband/hw/cxgb3/cxio_hal.c cqe.u.scqe.wrid_hi = sqp->sq_wptr; u 1074 drivers/infiniband/hw/cxgb3/cxio_hal.c read_cqe->u.scqe.wrid_hi = wq->oldest_read->sq_wptr; u 565 drivers/infiniband/hw/cxgb3/cxio_wr.h } u; u 622 drivers/infiniband/hw/cxgb3/cxio_wr.h #define CQE_WRID_STAG(x) (be32_to_cpu((x).u.rcqe.stag)) u 623 drivers/infiniband/hw/cxgb3/cxio_wr.h #define CQE_WRID_MSN(x) (be32_to_cpu((x).u.rcqe.msn)) u 626 drivers/infiniband/hw/cxgb3/cxio_wr.h #define CQE_WRID_SQ_WPTR(x) ((x).u.scqe.wrid_hi) u 627 drivers/infiniband/hw/cxgb3/cxio_wr.h #define CQE_WRID_WPTR(x) ((x).u.scqe.wrid_low) u 630 drivers/infiniband/hw/cxgb3/cxio_wr.h #define CQE_WRID_HI(x) ((x).u.scqe.wrid_hi) u 631 drivers/infiniband/hw/cxgb3/cxio_wr.h #define CQE_WRID_LOW(x) ((x).u.scqe.wrid_low) u 1976 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.lip = sin->sin_addr.s_addr; u 1979 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.pip = sin->sin_addr.s_addr; u 4013 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.lip = laddr; u 4014 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.pip = raddr; u 56 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.restype = FW_RI_RES_TYPE_CQ; u 57 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.op = FW_RI_RES_OP_RESET; u 58 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqid = cpu_to_be32(cq->cqid); u 134 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.restype = FW_RI_RES_TYPE_CQ; u 135 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.op = FW_RI_RES_OP_WRITE; u 136 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqid = cpu_to_be32(cq->cqid); u 137 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqandst_to_iqandstindex = cpu_to_be32( u 143 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqdroprss_to_iqesize = cpu_to_be16( u 151 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqsize = cpu_to_be16(cq->size); u 152 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.iqaddr = cpu_to_be64(cq->dma_addr); u 198 drivers/infiniband/hw/cxgb4/cq.c cqe.u.srcqe.abs_rqe_idx = cpu_to_be32(srqidx); u 303 drivers/infiniband/hw/cxgb4/cq.c read_cqe->u.scqe.cidx = wq->sq.oldest_read->idx; u 323 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.restype = FW_RI_RES_TYPE_SQ; u 324 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.op = FW_RI_RES_OP_WRITE; u 332 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.fetchszm_to_iqid = cpu_to_be32( u 338 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.dcaen_to_eqsize = cpu_to_be32( u 347 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.eqid = cpu_to_be32(wq->sq.qid); u 348 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.eqaddr = cpu_to_be64(wq->sq.dma_addr); u 352 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.restype = FW_RI_RES_TYPE_RQ; u 353 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.op = FW_RI_RES_OP_WRITE; u 360 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.fetchszm_to_iqid = u 368 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.dcaen_to_eqsize = u 376 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.eqid = cpu_to_be32(wq->rq.qid); u 377 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.eqaddr = cpu_to_be64(wq->rq.dma_addr); u 526 drivers/infiniband/hw/cxgb4/qp.c ret = build_immd(sq, wqe->send.u.immd_src, wr, u 535 drivers/infiniband/hw/cxgb4/qp.c wqe->send.u.isgl_src, u 543 drivers/infiniband/hw/cxgb4/qp.c wqe->send.u.immd_src[0].op = FW_RI_DATA_IMMD; u 544 drivers/infiniband/hw/cxgb4/qp.c wqe->send.u.immd_src[0].r1 = 0; u 545 drivers/infiniband/hw/cxgb4/qp.c wqe->send.u.immd_src[0].r2 = 0; u 546 drivers/infiniband/hw/cxgb4/qp.c wqe->send.u.immd_src[0].immdlen = 0; u 577 drivers/infiniband/hw/cxgb4/qp.c ret = build_immd(sq, wqe->write.u.immd_src, wr, u 586 drivers/infiniband/hw/cxgb4/qp.c wqe->write.u.isgl_src, u 594 drivers/infiniband/hw/cxgb4/qp.c wqe->write.u.immd_src[0].op = FW_RI_DATA_IMMD; u 595 drivers/infiniband/hw/cxgb4/qp.c wqe->write.u.immd_src[0].r1 = 0; u 596 drivers/infiniband/hw/cxgb4/qp.c wqe->write.u.immd_src[0].r2 = 0; u 597 drivers/infiniband/hw/cxgb4/qp.c wqe->write.u.immd_src[0].immdlen = 0; u 631 drivers/infiniband/hw/cxgb4/qp.c BUILD_BUG_ON(offsetof(struct fw_ri_rdma_write_cmpl_wr, u) > 64); u 651 drivers/infiniband/hw/cxgb4/qp.c wcwr->u.isgl_src, wr->sg_list, wr->num_sge, &plen); u 994 drivers/infiniband/hw/cxgb4/qp.c cqe.u.drain_cookie = wr->wr_id; u 1045 drivers/infiniband/hw/cxgb4/qp.c cqe.u.drain_cookie = wr->wr_id; u 1581 drivers/infiniband/hw/cxgb4/qp.c wqe->u.terminate.type = FW_RI_TYPE_TERMINATE; u 1582 drivers/infiniband/hw/cxgb4/qp.c wqe->u.terminate.immdlen = cpu_to_be32(sizeof(*term)); u 1583 drivers/infiniband/hw/cxgb4/qp.c term = (struct terminate_message *)wqe->u.terminate.termmsg; u 1715 drivers/infiniband/hw/cxgb4/qp.c wqe->u.fini.type = FW_RI_TYPE_FINI; u 1727 drivers/infiniband/hw/cxgb4/qp.c memset(&init->u, 0, sizeof(init->u)); u 1730 drivers/infiniband/hw/cxgb4/qp.c init->u.write.opcode = FW_RI_RDMA_WRITE_WR; u 1731 drivers/infiniband/hw/cxgb4/qp.c init->u.write.stag_sink = cpu_to_be32(1); u 1732 drivers/infiniband/hw/cxgb4/qp.c init->u.write.to_sink = cpu_to_be64(1); u 1733 drivers/infiniband/hw/cxgb4/qp.c init->u.write.u.immd_src[0].op = FW_RI_DATA_IMMD; u 1734 drivers/infiniband/hw/cxgb4/qp.c init->u.write.len16 = DIV_ROUND_UP( u 1735 drivers/infiniband/hw/cxgb4/qp.c sizeof(init->u.write) + sizeof(struct fw_ri_immd), 16); u 1738 drivers/infiniband/hw/cxgb4/qp.c init->u.write.opcode = FW_RI_RDMA_READ_WR; u 1739 drivers/infiniband/hw/cxgb4/qp.c init->u.read.stag_src = cpu_to_be32(1); u 1740 drivers/infiniband/hw/cxgb4/qp.c init->u.read.to_src_lo = cpu_to_be32(1); u 1741 drivers/infiniband/hw/cxgb4/qp.c init->u.read.stag_sink = cpu_to_be32(1); u 1742 drivers/infiniband/hw/cxgb4/qp.c init->u.read.to_sink_lo = cpu_to_be32(1); u 1743 drivers/infiniband/hw/cxgb4/qp.c init->u.read.len16 = DIV_ROUND_UP(sizeof(init->u.read), 16); u 1780 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.type = FW_RI_TYPE_INIT; u 1781 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.mpareqbit_p2ptype = u 1784 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.mpa_attrs = FW_RI_MPA_IETF_ENABLE; u 1786 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.mpa_attrs |= FW_RI_MPA_RX_MARKER_ENABLE; u 1788 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.mpa_attrs |= FW_RI_MPA_TX_MARKER_ENABLE; u 1790 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.mpa_attrs |= FW_RI_MPA_CRC_ENABLE; u 1792 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.qp_caps = FW_RI_QP_RDMA_READ_ENABLE | u 1796 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.qp_caps |= FW_RI_QP_FAST_REGISTER_ENABLE | u 1798 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.nrqe = cpu_to_be16(t4_rqes_posted(&qhp->wq)); u 1799 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.pdid = cpu_to_be32(qhp->attr.pd); u 1800 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.qpid = cpu_to_be32(qhp->wq.sq.qid); u 1801 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.sq_eqid = cpu_to_be32(qhp->wq.sq.qid); u 1803 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.rq_eqid = cpu_to_be32(FW_RI_INIT_RQEQID_SRQ | u 1806 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.rq_eqid = cpu_to_be32(qhp->wq.rq.qid); u 1807 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.hwrqsize = cpu_to_be32(qhp->wq.rq.rqt_size); u 1808 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.hwrqaddr = cpu_to_be32(qhp->wq.rq.rqt_hwaddr - u 1811 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.scqid = cpu_to_be32(qhp->attr.scq); u 1812 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.rcqid = cpu_to_be32(qhp->attr.rcq); u 1813 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.ord_max = cpu_to_be32(qhp->attr.max_ord); u 1814 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.ird_max = cpu_to_be32(qhp->attr.max_ird); u 1815 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.iss = cpu_to_be32(qhp->ep->snd_seq); u 1816 drivers/infiniband/hw/cxgb4/qp.c wqe->u.init.irs = cpu_to_be32(qhp->ep->rcv_seq); u 1818 drivers/infiniband/hw/cxgb4/qp.c build_rtr_msg(qhp->attr.mpa_attr.p2p_type, &wqe->u.init); u 2501 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.restype = FW_RI_RES_TYPE_SRQ; u 2502 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.op = FW_RI_RES_OP_RESET; u 2503 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.srqid = cpu_to_be32(srq->idx); u 2504 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.eqid = cpu_to_be32(wq->qid); u 2591 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.restype = FW_RI_RES_TYPE_SRQ; u 2592 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.op = FW_RI_RES_OP_WRITE; u 2599 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.eqid = cpu_to_be32(wq->qid); u 2600 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.fetchszm_to_iqid = u 2606 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.dcaen_to_eqsize = u 2614 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.eqaddr = cpu_to_be64(wq->dma_addr); u 2615 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.srqid = cpu_to_be32(srq->idx); u 2616 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.pdid = cpu_to_be32(srq->pdid); u 2617 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.hwsrqsize = cpu_to_be32(wq->rqt_size); u 2618 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.hwsrqaddr = cpu_to_be32(wq->rqt_hwaddr - u 321 drivers/infiniband/hw/cxgb4/restrack.c be32_to_cpu(cqe->u.gen.wrid_hi))) u 324 drivers/infiniband/hw/cxgb4/restrack.c be32_to_cpu(cqe->u.gen.wrid_low))) u 215 drivers/infiniband/hw/cxgb4/t4.h } u; u 270 drivers/infiniband/hw/cxgb4/t4.h #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag)) u 271 drivers/infiniband/hw/cxgb4/t4.h #define CQE_WRID_MSN(x) (be32_to_cpu((x)->u.rcqe.msn)) u 272 drivers/infiniband/hw/cxgb4/t4.h #define CQE_ABS_RQE_IDX(x) (be32_to_cpu((x)->u.srcqe.abs_rqe_idx)) u 274 drivers/infiniband/hw/cxgb4/t4.h (x)->u.imm_data_rcqe.iw_imm_data.ib_imm_data.imm_data32) u 277 drivers/infiniband/hw/cxgb4/t4.h #define CQE_WRID_SQ_IDX(x) ((x)->u.scqe.cidx) u 278 drivers/infiniband/hw/cxgb4/t4.h #define CQE_WRID_FR_STAG(x) (be32_to_cpu((x)->u.scqe.stag)) u 281 drivers/infiniband/hw/cxgb4/t4.h #define CQE_WRID_HI(x) (be32_to_cpu((x)->u.gen.wrid_hi)) u 282 drivers/infiniband/hw/cxgb4/t4.h #define CQE_WRID_LOW(x) (be32_to_cpu((x)->u.gen.wrid_low)) u 283 drivers/infiniband/hw/cxgb4/t4.h #define CQE_DRAIN_COOKIE(x) ((x)->u.drain_cookie) u 316 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h } u; u 569 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h } u; u 588 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h } u; u 625 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h } u; u 801 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h } u; u 814 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h } u; u 496 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h } u; u 667 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h } u; u 682 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h } u; u 690 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h } u; u 60 drivers/infiniband/hw/efa/efa_admin_defs.h } u; u 441 drivers/infiniband/hw/efa/efa_com_cmd.c memcpy(result->addr, resp.u.network_attr.addr, u 442 drivers/infiniband/hw/efa/efa_com_cmd.c sizeof(resp.u.network_attr.addr)); u 443 drivers/infiniband/hw/efa/efa_com_cmd.c result->mtu = resp.u.network_attr.mtu; u 462 drivers/infiniband/hw/efa/efa_com_cmd.c result->page_size_cap = resp.u.device_attr.page_size_cap; u 463 drivers/infiniband/hw/efa/efa_com_cmd.c result->fw_version = resp.u.device_attr.fw_version; u 464 drivers/infiniband/hw/efa/efa_com_cmd.c result->admin_api_version = resp.u.device_attr.admin_api_version; u 465 drivers/infiniband/hw/efa/efa_com_cmd.c result->device_version = resp.u.device_attr.device_version; u 466 drivers/infiniband/hw/efa/efa_com_cmd.c result->supported_features = resp.u.device_attr.supported_features; u 467 drivers/infiniband/hw/efa/efa_com_cmd.c result->phys_addr_width = resp.u.device_attr.phys_addr_width; u 468 drivers/infiniband/hw/efa/efa_com_cmd.c result->virt_addr_width = resp.u.device_attr.virt_addr_width; u 469 drivers/infiniband/hw/efa/efa_com_cmd.c result->db_bar = resp.u.device_attr.db_bar; u 479 drivers/infiniband/hw/efa/efa_com_cmd.c edev->supported_features = resp.u.device_attr.supported_features; u 489 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_qp = resp.u.queue_attr.max_qp; u 490 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_sq_depth = resp.u.queue_attr.max_sq_depth; u 491 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_rq_depth = resp.u.queue_attr.max_rq_depth; u 492 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_cq = resp.u.queue_attr.max_cq; u 493 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_cq_depth = resp.u.queue_attr.max_cq_depth; u 494 drivers/infiniband/hw/efa/efa_com_cmd.c result->inline_buf_size = resp.u.queue_attr.inline_buf_size; u 495 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_sq_sge = resp.u.queue_attr.max_wr_send_sges; u 496 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_rq_sge = resp.u.queue_attr.max_wr_recv_sges; u 497 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_mr = resp.u.queue_attr.max_mr; u 498 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_mr_pages = resp.u.queue_attr.max_mr_pages; u 499 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_pd = resp.u.queue_attr.max_pd; u 500 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_ah = resp.u.queue_attr.max_ah; u 501 drivers/infiniband/hw/efa/efa_com_cmd.c result->max_llq_size = resp.u.queue_attr.max_llq_size; u 502 drivers/infiniband/hw/efa/efa_com_cmd.c result->sub_cqs_per_cq = resp.u.queue_attr.sub_cqs_per_cq; u 520 drivers/infiniband/hw/efa/efa_com_cmd.c result->admin_completion_timeout = resp.u.hw_hints.admin_completion_timeout; u 521 drivers/infiniband/hw/efa/efa_com_cmd.c result->driver_watchdog_timeout = resp.u.hw_hints.driver_watchdog_timeout; u 522 drivers/infiniband/hw/efa/efa_com_cmd.c result->mmio_read_timeout = resp.u.hw_hints.mmio_read_timeout; u 523 drivers/infiniband/hw/efa/efa_com_cmd.c result->poll_interval = resp.u.hw_hints.poll_interval; u 603 drivers/infiniband/hw/efa/efa_com_cmd.c get_resp.u.aenq.supported_groups, u 604 drivers/infiniband/hw/efa/efa_com_cmd.c get_resp.u.aenq.enabled_groups); u 606 drivers/infiniband/hw/efa/efa_com_cmd.c if ((get_resp.u.aenq.supported_groups & groups) != groups) { u 610 drivers/infiniband/hw/efa/efa_com_cmd.c groups, get_resp.u.aenq.supported_groups); u 614 drivers/infiniband/hw/efa/efa_com_cmd.c cmd.u.aenq.enabled_groups = groups; u 275 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &rhdr->u.oth; u 277 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &rhdr->u.l.oth; u 278 drivers/infiniband/hw/hfi1/driver.c packet->grh = &rhdr->u.l.grh; u 647 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &hdr->u.oth; u 650 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &hdr->u.l.oth; u 651 drivers/infiniband/hw/hfi1/driver.c packet->grh = &hdr->u.l.grh; u 1458 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &hdr->u.oth; u 1463 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &hdr->u.l.oth; u 1464 drivers/infiniband/hw/hfi1/driver.c packet->grh = &hdr->u.l.grh; u 1787 drivers/infiniband/hw/hfi1/driver.c packet.ohdr = &hdr->u.oth; u 1789 drivers/infiniband/hw/hfi1/driver.c packet.ohdr = &hdr->u.l.oth; u 557 drivers/infiniband/hw/hfi1/hfi.h ohdr = &hdr->u.oth; u 559 drivers/infiniband/hw/hfi1/hfi.h ohdr = &hdr->u.l.oth; u 566 drivers/infiniband/hw/hfi1/hfi.h ohdr = &hdr_16b->u.oth; u 568 drivers/infiniband/hw/hfi1/hfi.h ohdr = &hdr_16b->u.l.oth; u 210 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = rvt_compute_aeth(qp); u 258 drivers/infiniband/hw/hfi1/rc.c ohdr->u.at.aeth = rvt_compute_aeth(qp); u 259 drivers/infiniband/hw/hfi1/rc.c ib_u64_put(e->atomic_data, &ohdr->u.at.atomic_ack_eth); u 260 drivers/infiniband/hw/hfi1/rc.c hwords += sizeof(ohdr->u.at) / sizeof(u32); u 281 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = rvt_compute_aeth(qp); u 380 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = u 385 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = rvt_compute_aeth(qp); u 460 drivers/infiniband/hw/hfi1/rc.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; u 462 drivers/infiniband/hw/hfi1/rc.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; u 468 drivers/infiniband/hw/hfi1/rc.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; u 470 drivers/infiniband/hw/hfi1/rc.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; u 610 drivers/infiniband/hw/hfi1/rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 615 drivers/infiniband/hw/hfi1/rc.c ohdr->u.ieth = cpu_to_be32( u 637 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.rc.reth); u 638 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.rkey = u 640 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); u 653 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; u 785 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.rc.reth); u 786 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.rkey = u 788 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); u 790 drivers/infiniband/hw/hfi1/rc.c hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); u 893 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.atomic_eth); u 895 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.atomic_eth); u 899 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.atomic_eth); u 900 drivers/infiniband/hw/hfi1/rc.c put_ib_ateth_compare(0, &ohdr->u.atomic_eth); u 903 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.atomic_eth); u 904 drivers/infiniband/hw/hfi1/rc.c ohdr->u.atomic_eth.rkey = cpu_to_be32( u 967 drivers/infiniband/hw/hfi1/rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 972 drivers/infiniband/hw/hfi1/rc.c ohdr->u.ieth = cpu_to_be32(wqe->wr.ex.invalidate_rkey); u 1012 drivers/infiniband/hw/hfi1/rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 1036 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.rc.reth); u 1037 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.rkey = u 1039 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); u 1041 drivers/infiniband/hw/hfi1/rc.c hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); u 1227 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | u 1231 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = rvt_compute_aeth(qp); u 1277 drivers/infiniband/hw/hfi1/rc.c ohdr = &hdr->u.oth; u 1282 drivers/infiniband/hw/hfi1/rc.c *hwords += hfi1_make_grh(ibp, &hdr->u.l.grh, u 1285 drivers/infiniband/hw/hfi1/rc.c ohdr = &hdr->u.l.oth; u 1332 drivers/infiniband/hw/hfi1/rc.c ohdr = &hdr->u.oth; u 1340 drivers/infiniband/hw/hfi1/rc.c *hwords += hfi1_make_grh(ibp, &hdr->u.l.grh, u 1343 drivers/infiniband/hw/hfi1/rc.c ohdr = &hdr->u.l.oth; u 2378 drivers/infiniband/hw/hfi1/rc.c aeth = be32_to_cpu(ohdr->u.aeth); u 2404 drivers/infiniband/hw/hfi1/rc.c aeth = be32_to_cpu(ohdr->u.aeth); u 2406 drivers/infiniband/hw/hfi1/rc.c val = ib_u64_get(&ohdr->u.at.atomic_ack_eth); u 2461 drivers/infiniband/hw/hfi1/rc.c aeth = be32_to_cpu(ohdr->u.aeth); u 2496 drivers/infiniband/hw/hfi1/rc.c aeth = be32_to_cpu(ohdr->u.aeth); u 2622 drivers/infiniband/hw/hfi1/rc.c reth = &ohdr->u.rc.reth; u 2947 drivers/infiniband/hw/hfi1/rc.c wc.ex.imm_data = ohdr->u.imm_data; u 2952 drivers/infiniband/hw/hfi1/rc.c rkey = be32_to_cpu(ohdr->u.ieth); u 3019 drivers/infiniband/hw/hfi1/rc.c reth = &ohdr->u.rc.reth; u 3053 drivers/infiniband/hw/hfi1/rc.c wc.ex.imm_data = ohdr->u.rc.imm_data; u 3076 drivers/infiniband/hw/hfi1/rc.c reth = &ohdr->u.rc.reth; u 3127 drivers/infiniband/hw/hfi1/rc.c struct ib_atomic_eth *ateth = &ohdr->u.atomic_eth; u 192 drivers/infiniband/hw/hfi1/ruc.c hdr.ibh.u.oth.bth[2]) / 4) u 302 drivers/infiniband/hw/hfi1/ruc.c grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; u 375 drivers/infiniband/hw/hfi1/ruc.c struct ib_grh *grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; u 1705 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_rdma_read_req *rreq = &ohdr->u.tid_rdma.r_req; u 1719 drivers/infiniband/hw/hfi1/tid_rdma.c memset(&ohdr->u.tid_rdma.r_req, 0, sizeof(ohdr->u.tid_rdma.r_req)); u 1773 drivers/infiniband/hw/hfi1/tid_rdma.c return sizeof(ohdr->u.tid_rdma.r_req) / sizeof(u32); u 1934 drivers/infiniband/hw/hfi1/tid_rdma.c flow->tid_qpn = be32_to_cpu(ohdr->u.tid_rdma.r_req.tid_flow_qp); u 1937 drivers/infiniband/hw/hfi1/tid_rdma.c flow_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.r_req.tid_flow_psn)); u 2024 drivers/infiniband/hw/hfi1/tid_rdma.c reth = &ohdr->u.tid_rdma.r_req.reth; u 2252 drivers/infiniband/hw/hfi1/tid_rdma.c reth = &ohdr->u.tid_rdma.r_req.reth; u 2347 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_rdma_read_resp *resp = &ohdr->u.tid_rdma.r_rsp; u 2401 drivers/infiniband/hw/hfi1/tid_rdma.c hdwords = sizeof(ohdr->u.tid_rdma.r_rsp) / sizeof(u32); u 2458 drivers/infiniband/hw/hfi1/tid_rdma.c aeth = be32_to_cpu(ohdr->u.tid_rdma.r_rsp.aeth); u 2462 drivers/infiniband/hw/hfi1/tid_rdma.c ipsn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.r_rsp.verbs_psn)); u 2866 drivers/infiniband/hw/hfi1/tid_rdma.c packet->ohdr = &hdr->u.oth; u 2871 drivers/infiniband/hw/hfi1/tid_rdma.c qp_num = be32_to_cpu(ohdr->u.tid_rdma.r_rsp.verbs_qp) & u 2914 drivers/infiniband/hw/hfi1/tid_rdma.c ibpsn = be32_to_cpu(ohdr->u.tid_rdma.r_rsp.verbs_psn); u 3370 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.w_req.kdeth0, KVER, 0x1); u 3371 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.w_req.kdeth1, JKEY, remote->jkey); u 3372 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.reth.vaddr = u 3374 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.reth.rkey = u 3376 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.reth.length = cpu_to_be32(*len); u 3377 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.verbs_qp = cpu_to_be32(qp->remote_qpn); u 3386 drivers/infiniband/hw/hfi1/tid_rdma.c return sizeof(ohdr->u.tid_rdma.w_req) / sizeof(u32); u 3675 drivers/infiniband/hw/hfi1/tid_rdma.c reth = &ohdr->u.tid_rdma.w_req.reth; u 3880 drivers/infiniband/hw/hfi1/tid_rdma.c memset(&ohdr->u.tid_rdma.w_rsp, 0, sizeof(ohdr->u.tid_rdma.w_rsp)); u 3903 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.w_rsp.kdeth0, KVER, 0x1); u 3904 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.w_rsp.kdeth1, JKEY, remote->jkey); u 3905 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.aeth = rvt_compute_aeth(qp); u 3906 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.tid_flow_psn = u 3911 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.tid_flow_qp = u 3916 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.verbs_qp = cpu_to_be32(qp->remote_qpn); u 3919 drivers/infiniband/hw/hfi1/tid_rdma.c hdwords = sizeof(ohdr->u.tid_rdma.w_rsp) / sizeof(u32); u 4041 drivers/infiniband/hw/hfi1/tid_rdma.c aeth = be32_to_cpu(ohdr->u.tid_rdma.w_rsp.aeth); u 4099 drivers/infiniband/hw/hfi1/tid_rdma.c flow->tid_qpn = be32_to_cpu(ohdr->u.tid_rdma.w_rsp.tid_flow_qp); u 4102 drivers/infiniband/hw/hfi1/tid_rdma.c flow_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.w_rsp.tid_flow_psn)); u 4203 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_rdma_write_data *wd = &ohdr->u.tid_rdma.w_data; u 4425 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.ack.kdeth1, JKEY, remote->jkey); u 4426 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.verbs_qp = cpu_to_be32(qp->remote_qpn); u 4433 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.aeth = rvt_compute_aeth(qp); u 4436 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.aeth = u 4442 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.aeth = rvt_compute_aeth(qp); u 4444 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.ack.kdeth0, KVER, 0x1); u 4445 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.tid_flow_qp = u 4451 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.tid_flow_psn = 0; u 4452 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.verbs_psn = u 4463 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.tid_flow_psn = u 4474 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.tid_flow_psn = u 4481 drivers/infiniband/hw/hfi1/tid_rdma.c return sizeof(ohdr->u.tid_rdma.ack) / sizeof(u32); u 4499 drivers/infiniband/hw/hfi1/tid_rdma.c aeth = be32_to_cpu(ohdr->u.tid_rdma.ack.aeth); u 4500 drivers/infiniband/hw/hfi1/tid_rdma.c req_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.ack.verbs_psn)); u 4501 drivers/infiniband/hw/hfi1/tid_rdma.c resync_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.ack.tid_flow_psn)); u 4842 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.ack.kdeth1, JKEY, remote->jkey); u 4843 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.verbs_qp = cpu_to_be32(qp->remote_qpn); u 4851 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.ack.kdeth0, KVER, 0x1); u 4853 drivers/infiniband/hw/hfi1/tid_rdma.c return sizeof(ohdr->u.tid_rdma.resync) / sizeof(u32); u 5034 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; u 5116 drivers/infiniband/hw/hfi1/tid_rdma.c hwords += sizeof(ohdr->u.tid_rdma.w_data) / sizeof(u32); u 57 drivers/infiniband/hw/hfi1/trace.c ohdr = &hdr->u.oth; u 59 drivers/infiniband/hw/hfi1/trace.c ohdr = &hdr->u.l.oth; u 77 drivers/infiniband/hw/hfi1/trace.c ohdr = &hdr->u.oth; u 79 drivers/infiniband/hw/hfi1/trace.c ohdr = &hdr->u.l.oth; u 255 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &packet->ohdr->u, u 376 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __entry->dest_qpn = hfi1_16B_get_dest_qpn(&opah->opah.u.mgmt); u 377 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __entry->src_qpn = hfi1_16B_get_src_qpn(&opah->opah.u.mgmt); u 380 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = &opah->opah.u.oth; u 382 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = &opah->opah.u.l.oth; u 404 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = &opah->ibh.u.oth; u 406 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = &opah->ibh.u.l.oth; u 424 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &ohdr->u, __get_dynamic_array_len(ehdrs)); u 99 drivers/infiniband/hw/hfi1/uc.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; u 101 drivers/infiniband/hw/hfi1/uc.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; u 107 drivers/infiniband/hw/hfi1/uc.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; u 109 drivers/infiniband/hw/hfi1/uc.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; u 173 drivers/infiniband/hw/hfi1/uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 185 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.reth.vaddr = u 187 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.reth.rkey = u 189 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.reth.length = cpu_to_be32(len); u 202 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; u 232 drivers/infiniband/hw/hfi1/uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 258 drivers/infiniband/hw/hfi1/uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 435 drivers/infiniband/hw/hfi1/uc.c wc.ex.imm_data = ohdr->u.imm_data; u 490 drivers/infiniband/hw/hfi1/uc.c reth = &ohdr->u.rc.reth; u 515 drivers/infiniband/hw/hfi1/uc.c wc.ex.imm_data = ohdr->u.rc.imm_data; u 530 drivers/infiniband/hw/hfi1/uc.c wc.ex.imm_data = ohdr->u.imm_data; u 275 drivers/infiniband/hw/hfi1/ud.c ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; u 297 drivers/infiniband/hw/hfi1/ud.c ohdr->u.ud.deth[0] = u 300 drivers/infiniband/hw/hfi1/ud.c ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); u 329 drivers/infiniband/hw/hfi1/ud.c grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; u 335 drivers/infiniband/hw/hfi1/ud.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; u 338 drivers/infiniband/hw/hfi1/ud.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; u 426 drivers/infiniband/hw/hfi1/ud.c grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; u 431 drivers/infiniband/hw/hfi1/ud.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; u 434 drivers/infiniband/hw/hfi1/ud.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; u 454 drivers/infiniband/hw/hfi1/ud.c hfi1_16B_set_qpn(&ps->s_txreq->phdr.hdr.opah.u.mgmt, u 652 drivers/infiniband/hw/hfi1/ud.c struct ib_grh *grh = &hdr.opah.u.l.grh; u 660 drivers/infiniband/hw/hfi1/ud.c ohdr = &hdr.opah.u.l.oth; u 664 drivers/infiniband/hw/hfi1/ud.c ohdr = &hdr.opah.u.oth; u 710 drivers/infiniband/hw/hfi1/ud.c struct ib_grh *grh = &hdr.ibh.u.l.grh; u 718 drivers/infiniband/hw/hfi1/ud.c ohdr = &hdr.ibh.u.l.oth; u 722 drivers/infiniband/hw/hfi1/ud.c ohdr = &hdr.ibh.u.oth; u 968 drivers/infiniband/hw/hfi1/ud.c wc.ex.imm_data = packet->ohdr->u.ud.imm_data; u 390 drivers/infiniband/hw/hfi1/verbs.c packet->ohdr = &hdr->u.oth; u 397 drivers/infiniband/hw/hfi1/verbs.c qp_num = be32_to_cpu(packet->ohdr->u.tid_rdma.r_req.verbs_qp) & u 444 drivers/infiniband/hw/hfi1/verbs.c packet->ohdr = &hdr->u.oth; u 451 drivers/infiniband/hw/hfi1/verbs.c qp_num = be32_to_cpu(packet->ohdr->u.tid_rdma.r_rsp.verbs_qp) & u 1271 drivers/infiniband/hw/hfi1/verbs.c ohdr = &hdr->u.oth; u 1273 drivers/infiniband/hw/hfi1/verbs.c ohdr = &hdr->u.l.oth; u 1282 drivers/infiniband/hw/hfi1/verbs.c ohdr = &hdr->u.l.oth; u 1284 drivers/infiniband/hw/hfi1/verbs.c ohdr = &hdr->u.oth; u 130 drivers/infiniband/hw/hfi1/verbs.h } u; u 47 drivers/infiniband/hw/hns/hns_roce_db.c db->u.user_page = page; u 61 drivers/infiniband/hw/hns/hns_roce_db.c refcount_dec(&db->u.user_page->refcount); u 62 drivers/infiniband/hw/hns/hns_roce_db.c if (refcount_dec_if_one(&db->u.user_page->refcount)) { u 63 drivers/infiniband/hw/hns/hns_roce_db.c list_del(&db->u.user_page->list); u 64 drivers/infiniband/hw/hns/hns_roce_db.c ib_umem_release(db->u.user_page->umem); u 65 drivers/infiniband/hw/hns/hns_roce_db.c kfree(db->u.user_page); u 116 drivers/infiniband/hw/hns/hns_roce_db.c db->u.pgdir = pgdir; u 164 drivers/infiniband/hw/hns/hns_roce_db.c if (db->order == 0 && test_bit(i ^ 1, db->u.pgdir->order0)) { u 165 drivers/infiniband/hw/hns/hns_roce_db.c clear_bit(i ^ 1, db->u.pgdir->order0); u 170 drivers/infiniband/hw/hns/hns_roce_db.c set_bit(i, db->u.pgdir->bits[o]); u 172 drivers/infiniband/hw/hns/hns_roce_db.c if (bitmap_full(db->u.pgdir->order1, u 174 drivers/infiniband/hw/hns/hns_roce_db.c dma_free_coherent(hr_dev->dev, PAGE_SIZE, db->u.pgdir->page, u 175 drivers/infiniband/hw/hns/hns_roce_db.c db->u.pgdir->db_dma); u 176 drivers/infiniband/hw/hns/hns_roce_db.c list_del(&db->u.pgdir->list); u 177 drivers/infiniband/hw/hns/hns_roce_db.c kfree(db->u.pgdir); u 478 drivers/infiniband/hw/hns/hns_roce_device.h } u; u 4044 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_local_mac_ipaddr_entry.cqp, u 4045 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_local_mac_ipaddr_entry.scratch, u 4046 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_local_mac_ipaddr_entry.entry_idx, u 4047 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_local_mac_ipaddr_entry.ignore_ref_count, u 4051 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_ceq_destroy(pcmdinfo->in.u.ceq_destroy.ceq, u 4052 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.ceq_destroy.scratch, u 4056 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_aeq_destroy(pcmdinfo->in.u.aeq_destroy.aeq, u 4057 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.aeq_destroy.scratch, u 4063 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_arp_cache_entry.cqp, u 4064 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_arp_cache_entry.scratch, u 4065 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_arp_cache_entry.arp_index, u 4070 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_apbvt_entry.cqp, u 4071 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.manage_apbvt_entry.info, u 4072 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_apbvt_entry.scratch, u 4076 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_ceq_create(pcmdinfo->in.u.ceq_create.ceq, u 4077 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.ceq_create.scratch, u 4081 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_aeq_create(pcmdinfo->in.u.aeq_create.aeq, u 4082 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.aeq_create.scratch, u 4087 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.alloc_local_mac_ipaddr_entry.cqp, u 4088 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.alloc_local_mac_ipaddr_entry.scratch, u 4093 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.add_local_mac_ipaddr_entry.cqp, u 4094 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.add_local_mac_ipaddr_entry.info, u 4095 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.add_local_mac_ipaddr_entry.scratch, u 4100 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_qhash_table_entry.cqp, u 4101 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.manage_qhash_table_entry.info, u 4102 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_qhash_table_entry.scratch, u 4108 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_modify.qp, u 4109 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.qp_modify.info, u 4110 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_modify.scratch, u 4116 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_upload_context.dev, u 4117 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.qp_upload_context.info, u 4118 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_upload_context.scratch, u 4124 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_create.cq, u 4125 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_create.scratch, u 4126 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_create.check_overflow, u 4131 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_destroy.cq, u 4132 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_destroy.scratch, u 4138 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_create.qp, u 4139 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.qp_create.info, u 4140 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_create.scratch, u 4145 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_destroy.qp, u 4146 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_destroy.scratch, u 4147 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_destroy.remove_hash_idx, u 4148 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_destroy. u 4155 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.alloc_stag.dev, u 4156 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.alloc_stag.info, u 4157 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.alloc_stag.scratch, u 4162 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mr_reg_non_shared.dev, u 4163 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.mr_reg_non_shared.info, u 4164 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mr_reg_non_shared.scratch, u 4170 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.dealloc_stag.dev, u 4171 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.dealloc_stag.info, u 4172 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.dealloc_stag.scratch, u 4178 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mw_alloc.dev, u 4179 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mw_alloc.scratch, u 4180 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mw_alloc.mw_stag_index, u 4181 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mw_alloc.pd_id, u 4187 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_flush_wqes.qp, u 4188 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.qp_flush_wqes.info, u 4189 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_flush_wqes. u 4194 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.gen_ae.qp, u 4195 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.gen_ae.info, u 4196 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.gen_ae.scratch, u 4201 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.add_arp_cache_entry.cqp, u 4202 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.add_arp_cache_entry.info, u 4203 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.add_arp_cache_entry.scratch, u 4208 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_push_page.cqp, u 4209 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.manage_push_page.info, u 4210 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_push_page.scratch, u 4216 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.update_pe_sds.dev, u 4217 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.update_pe_sds.info, u 4218 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.update_pe_sds. u 4224 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_hmc_pm.dev->cqp, u 4225 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_hmc_pm.scratch, u 4226 drivers/infiniband/hw/i40iw/i40iw_ctrl.c (u8)pcmdinfo->in.u.manage_hmc_pm.info.vf_id, u 4227 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_hmc_pm.info.free_fcn, u 4232 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.cqp, u 4233 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.qp, u 4234 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.scratch); u 4238 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.cqp, u 4239 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.qp, u 4240 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.scratch); u 4244 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_vf_pble_bp.cqp, u 4245 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.manage_vf_pble_bp.info, u 4246 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_vf_pble_bp.scratch, true); u 4249 drivers/infiniband/hw/i40iw/i40iw_ctrl.c values_mem.pa = pcmdinfo->in.u.query_fpm_values.fpm_values_pa; u 4250 drivers/infiniband/hw/i40iw/i40iw_ctrl.c values_mem.va = pcmdinfo->in.u.query_fpm_values.fpm_values_va; u 4252 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.query_fpm_values.cqp, u 4253 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.query_fpm_values.scratch, u 4254 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.query_fpm_values.hmc_fn_id, u 4258 drivers/infiniband/hw/i40iw/i40iw_ctrl.c values_mem.pa = pcmdinfo->in.u.commit_fpm_values.fpm_values_pa; u 4259 drivers/infiniband/hw/i40iw/i40iw_ctrl.c values_mem.va = pcmdinfo->in.u.commit_fpm_values.fpm_values_va; u 4261 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.commit_fpm_values.cqp, u 4262 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.commit_fpm_values.scratch, u 4263 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.commit_fpm_values.hmc_fn_id, u 197 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry->u.pd_table.pd_page_addr.pa : u 198 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry->u.bp.addr.pa; u 425 drivers/infiniband/hw/i40iw/i40iw_hmc.c &sd_entry->u.pd_table.pd_page_addr : u 426 drivers/infiniband/hw/i40iw/i40iw_hmc.c &sd_entry->u.bp.addr; u 492 drivers/infiniband/hw/i40iw/i40iw_hmc.c pd_table = &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; u 571 drivers/infiniband/hw/i40iw/i40iw_hmc.c &sd_entry->u.pd_table.pd_entry_virt_mem, u 575 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry->u.pd_table.pd_entry = (struct i40iw_hmc_pd_entry *) u 576 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry->u.pd_table.pd_entry_virt_mem.va; u 578 drivers/infiniband/hw/i40iw/i40iw_hmc.c memcpy(&sd_entry->u.pd_table.pd_page_addr, &mem, sizeof(struct i40iw_dma_mem)); u 580 drivers/infiniband/hw/i40iw/i40iw_hmc.c memcpy(&sd_entry->u.bp.addr, &mem, sizeof(struct i40iw_dma_mem)); u 581 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry->u.bp.sd_pd_index = sd_index; u 589 drivers/infiniband/hw/i40iw/i40iw_hmc.c I40IW_INC_BP_REFCNT(&sd_entry->u.bp); u 637 drivers/infiniband/hw/i40iw/i40iw_hmc.c pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; u 713 drivers/infiniband/hw/i40iw/i40iw_hmc.c pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; u 752 drivers/infiniband/hw/i40iw/i40iw_hmc.c I40IW_DEC_BP_REFCNT(&sd_entry->u.bp); u 753 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sd_entry->u.bp.ref_cnt) u 774 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sd_entry->u.pd_table.ref_cnt) u 130 drivers/infiniband/hw/i40iw/i40iw_hmc.h } u; u 458 drivers/infiniband/hw/i40iw/i40iw_hw.c info = &cqp_info->in.u.manage_apbvt_entry.info; u 466 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_apbvt_entry.cqp = &iwdev->cqp.sc_cqp; u 467 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_apbvt_entry.scratch = (uintptr_t)cqp_request; u 546 drivers/infiniband/hw/i40iw/i40iw_hw.c info = &cqp_info->in.u.add_arp_cache_entry.info; u 551 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.add_arp_cache_entry.scratch = (uintptr_t)cqp_request; u 552 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.add_arp_cache_entry.cqp = &iwdev->cqp.sc_cqp; u 555 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.del_arp_cache_entry.scratch = (uintptr_t)cqp_request; u 556 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.del_arp_cache_entry.cqp = &iwdev->cqp.sc_cqp; u 557 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.del_arp_cache_entry.arp_index = arp_index; u 560 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.add_arp_cache_entry.cqp = &iwdev->cqp.sc_cqp; u 561 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.add_arp_cache_entry.scratch = (uintptr_t)cqp_request; u 606 drivers/infiniband/hw/i40iw/i40iw_hw.c info = &cqp_info->in.u.manage_qhash_table_entry.info; u 652 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_qhash_table_entry.cqp = &iwdev->cqp.sc_cqp; u 653 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_qhash_table_entry.scratch = (uintptr_t)cqp_request; u 685 drivers/infiniband/hw/i40iw/i40iw_hw.c hw_info = &cqp_request->info.in.u.qp_flush_wqes.info; u 690 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.qp_flush_wqes.qp = qp; u 691 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.qp_flush_wqes.scratch = (uintptr_t)cqp_request; u 740 drivers/infiniband/hw/i40iw/i40iw_hw.c ae_info = &cqp_request->info.in.u.gen_ae.info; u 745 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.gen_ae.qp = qp; u 746 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.gen_ae.scratch = (uintptr_t)cqp_request; u 775 drivers/infiniband/hw/i40iw/i40iw_hw.c hw_info = &cqp_request->info.in.u.manage_vf_pble_bp.info; u 780 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_vf_pble_bp.cqp = &iwdev->cqp.sc_cqp; u 781 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_vf_pble_bp.scratch = (uintptr_t)cqp_request; u 1059 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.del_local_mac_ipaddr_entry.cqp = &iwcqp->sc_cqp; u 1060 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.del_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; u 1061 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.del_local_mac_ipaddr_entry.entry_idx = idx; u 1062 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.del_local_mac_ipaddr_entry.ignore_ref_count = 0; u 1093 drivers/infiniband/hw/i40iw/i40iw_main.c info = &cqp_info->in.u.add_local_mac_ipaddr_entry.info; u 1096 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.add_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; u 1098 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.add_local_mac_ipaddr_entry.cqp = &iwcqp->sc_cqp; u 1099 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.add_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; u 1135 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.alloc_local_mac_ipaddr_entry.cqp = &iwcqp->sc_cqp; u 1136 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.alloc_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; u 156 drivers/infiniband/hw/i40iw/i40iw_pble.c chunk->vaddr = ((u8 *)sd_entry->u.bp.addr.va + offset); u 289 drivers/infiniband/hw/i40iw/i40iw_pble.c pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx++]; u 303 drivers/infiniband/hw/i40iw/i40iw_pble.c vf_pble_info.pd_pl_pba = sd_entry->u.pd_table.pd_page_addr.pa; u 397 drivers/infiniband/hw/i40iw/i40iw_pble.c sd_entry->u.pd_table.pd_page_addr.pa : sd_entry->u.bp.addr.pa; u 1343 drivers/infiniband/hw/i40iw/i40iw_type.h } u; u 665 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.qp = &iwqp->sc_qp; u 666 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.scratch = (uintptr_t)cqp_request; u 667 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.remove_hash_idx = true; u 843 drivers/infiniband/hw/i40iw/i40iw_utils.c memcpy(&cqp_info->in.u.update_pe_sds.info, sdinfo, u 844 drivers/infiniband/hw/i40iw/i40iw_utils.c sizeof(cqp_info->in.u.update_pe_sds.info)); u 847 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.update_pe_sds.dev = dev; u 848 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.update_pe_sds.scratch = (uintptr_t)cqp_request; u 875 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.suspend_resume.cqp = cqp; u 876 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.suspend_resume.qp = qp; u 877 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.suspend_resume.scratch = (uintptr_t)cqp_request; u 1014 drivers/infiniband/hw/i40iw/i40iw_utils.c &cqp_request->info.in.u.manage_hmc_pm.info; u 1016 drivers/infiniband/hw/i40iw/i40iw_utils.c (struct i40iw_device *)cqp_request->info.in.u.manage_hmc_pm.dev->back_dev; u 1025 drivers/infiniband/hw/i40iw/i40iw_utils.c hmcfcninfo->callback_fcn(cqp_request->info.in.u.manage_hmc_pm.dev, u 1040 drivers/infiniband/hw/i40iw/i40iw_utils.c &cqp_request->info.in.u.manage_hmc_pm.info; u 1042 drivers/infiniband/hw/i40iw/i40iw_utils.c (struct i40iw_device *)cqp_request->info.in.u.manage_hmc_pm.dev-> u 1078 drivers/infiniband/hw/i40iw/i40iw_utils.c memcpy(&cqp_info->in.u.manage_hmc_pm.info, hmcfcninfo, u 1080 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.manage_hmc_pm.dev = dev; u 1083 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.manage_hmc_pm.scratch = (uintptr_t)cqp_request; u 1110 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.cqp = dev->cqp; u 1111 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.fpm_values_pa = values_mem->pa; u 1112 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.fpm_values_va = values_mem->va; u 1113 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.hmc_fn_id = hmc_fn_id; u 1116 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.scratch = (uintptr_t)cqp_request; u 1143 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.cqp = dev->cqp; u 1144 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.fpm_values_pa = values_mem->pa; u 1145 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.fpm_values_va = values_mem->va; u 1146 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.hmc_fn_id = hmc_fn_id; u 1149 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.scratch = (uintptr_t)cqp_request; u 1204 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.cq_create.cq = cq; u 1205 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.cq_create.scratch = (uintptr_t)cqp_request; u 1233 drivers/infiniband/hw/i40iw/i40iw_utils.c qp_info = &cqp_request->info.in.u.qp_create.info; u 1242 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_create.qp = qp; u 1243 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_create.scratch = (uintptr_t)cqp_request; u 1284 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.qp = qp; u 1285 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.scratch = (uintptr_t)cqp_request; u 1286 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.remove_hash_idx = true; u 232 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.qs_handle = qp->qs_handle; u 233 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.free_page = 0; u 234 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.cqp = &iwdev->cqp.sc_cqp; u 235 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; u 267 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.push_idx = qp->push_idx; u 268 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.qs_handle = qp->qs_handle; u 269 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.free_page = 1; u 270 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.cqp = &iwdev->cqp.sc_cqp; u 271 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; u 702 drivers/infiniband/hw/i40iw/i40iw_verbs.c qp_info = &cqp_request->info.in.u.qp_create.info; u 711 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.qp_create.qp = qp; u 712 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.qp_create.scratch = (uintptr_t)cqp_request; u 803 drivers/infiniband/hw/i40iw/i40iw_verbs.c m_info = &cqp_info->in.u.qp_modify.info; u 807 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.qp_modify.qp = &iwqp->sc_qp; u 808 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.qp_modify.scratch = (uintptr_t)cqp_request; u 1046 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.cq_destroy.cq = cq; u 1047 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.cq_destroy.scratch = (uintptr_t)cqp_request; u 1192 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.cq_create.cq = cq; u 1193 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.cq_create.scratch = (uintptr_t)cqp_request; u 1523 drivers/infiniband/hw/i40iw/i40iw_verbs.c info = &cqp_info->in.u.alloc_stag.info; u 1532 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.alloc_stag.dev = &iwdev->sc_dev; u 1533 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.alloc_stag.scratch = (uintptr_t)cqp_request; u 1690 drivers/infiniband/hw/i40iw/i40iw_verbs.c stag_info = &cqp_info->in.u.mr_reg_non_shared.info; u 1715 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.mr_reg_non_shared.dev = &iwdev->sc_dev; u 1716 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.mr_reg_non_shared.scratch = (uintptr_t)cqp_request; u 2022 drivers/infiniband/hw/i40iw/i40iw_verbs.c info = &cqp_info->in.u.dealloc_stag.info; u 2034 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.dealloc_stag.dev = &iwdev->sc_dev; u 2035 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.dealloc_stag.scratch = (uintptr_t)cqp_request; u 78 drivers/infiniband/hw/mlx4/doorbell.c db->u.user_page = page; u 91 drivers/infiniband/hw/mlx4/doorbell.c if (!--db->u.user_page->refcnt) { u 92 drivers/infiniband/hw/mlx4/doorbell.c list_del(&db->u.user_page->list); u 93 drivers/infiniband/hw/mlx4/doorbell.c ib_umem_release(db->u.user_page->umem); u 94 drivers/infiniband/hw/mlx4/doorbell.c kfree(db->u.user_page); u 78 drivers/infiniband/hw/mlx5/doorbell.c db->u.user_page = page; u 91 drivers/infiniband/hw/mlx5/doorbell.c if (!--db->u.user_page->refcnt) { u 92 drivers/infiniband/hw/mlx5/doorbell.c list_del(&db->u.user_page->list); u 93 drivers/infiniband/hw/mlx5/doorbell.c ib_umem_release(db->u.user_page->umem); u 94 drivers/infiniband/hw/mlx5/doorbell.c kfree(db->u.user_page); u 48 drivers/infiniband/hw/mlx5/flow.c .u.ptr = { u 760 drivers/infiniband/hw/mlx5/mr.c struct ib_umem *u; u 774 drivers/infiniband/hw/mlx5/mr.c u = &odp->umem; u 782 drivers/infiniband/hw/mlx5/mr.c u = ib_umem_get(udata, start, length, access_flags, 0); u 783 drivers/infiniband/hw/mlx5/mr.c if (IS_ERR(u)) { u 784 drivers/infiniband/hw/mlx5/mr.c mlx5_ib_dbg(dev, "umem get failed (%ld)\n", PTR_ERR(u)); u 785 drivers/infiniband/hw/mlx5/mr.c return PTR_ERR(u); u 788 drivers/infiniband/hw/mlx5/mr.c mlx5_ib_cont_pages(u, start, MLX5_MKEY_PAGE_SHIFT_MASK, npages, u 794 drivers/infiniband/hw/mlx5/mr.c ib_umem_release(u); u 798 drivers/infiniband/hw/mlx5/mr.c *umem = u; u 366 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_init_mch(&mqe->u.emb_req.mch, opcode, OCRDMA_SUBSYS_ROCE, u 1092 drivers/infiniband/hw/ocrdma/ocrdma_hw.c rsp = &mqe->u.rsp; u 1109 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (rsp && (mqe->u.rsp.status & OCRDMA_MBX_RSP_STATUS_MASK)) u 1110 drivers/infiniband/hw/ocrdma/ocrdma_hw.c status = ocrdma_get_mbx_errno(mqe->u.rsp.status); u 1246 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_init_mch((struct ocrdma_mbx_hdr *)&cmd->u.cmd[0], u 1273 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_init_mch((struct ocrdma_mbx_hdr *)&cmd->u.cmd[0], u 1302 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mqe->u.nonemb_req.sge[0].pa_lo = (u32) (dev->stats_mem.pa & 0xffffffff); u 1303 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mqe->u.nonemb_req.sge[0].pa_hi = (u32) upper_32_bits(dev->stats_mem.pa); u 1304 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mqe->u.nonemb_req.sge[0].len = dev->stats_mem.size; u 1350 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mqe->u.nonemb_req.sge[0].pa_lo = (u32) (dma.pa & 0xffffffff); u 1351 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mqe->u.nonemb_req.sge[0].pa_hi = (u32) upper_32_bits(dma.pa); u 1352 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mqe->u.nonemb_req.sge[0].len = dma.size; u 1407 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_init_mch((struct ocrdma_mbx_hdr *)&cmd->u.cmd[0], u 1411 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ((struct ocrdma_mbx_hdr *)cmd->u.cmd)->rsvd_version = 0x1; u 1439 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_init_mch((struct ocrdma_mbx_hdr *)&cmd->u.cmd[0], u 2887 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ocrdma_mqe_sge *mqe_sge = cmd.u.nonemb_req.sge; u 292 drivers/infiniband/hw/ocrdma/ocrdma_sli.h } u; u 106 drivers/infiniband/hw/qedr/qedr_roce_cm.c qp->rqe_wr_id[qp->rq.gsi_cons].rc = data->u.data_length_error ? u 327 drivers/infiniband/hw/qib/qib_driver.c ohdr = &hdr->u.oth; u 331 drivers/infiniband/hw/qib/qib_driver.c ohdr = &hdr->u.l.oth; u 332 drivers/infiniband/hw/qib/qib_driver.c if (hdr->u.l.grh.next_hdr != IB_GRH_NEXT_HDR) u 334 drivers/infiniband/hw/qib/qib_driver.c vtf = be32_to_cpu(hdr->u.l.grh.version_tclass_flow); u 1429 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[0] = cpu_to_be32( u 1431 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[1] = cpu_to_be32(0), u 1432 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.bth[2] = cpu_to_be32(0), u 1433 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.u.ud.deth[0] = cpu_to_be32(0), u 1434 drivers/infiniband/hw/qib/qib_iba7322.c .u.oth.u.ud.deth[1] = cpu_to_be32(0), u 132 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = rvt_compute_aeth(qp); u 141 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.at.aeth = rvt_compute_aeth(qp); u 142 drivers/infiniband/hw/qib/qib_rc.c ib_u64_put(e->atomic_data, &ohdr->u.at.atomic_ack_eth); u 143 drivers/infiniband/hw/qib/qib_rc.c hwords += sizeof(ohdr->u.at) / sizeof(u32); u 162 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = rvt_compute_aeth(qp); u 184 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = u 189 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = rvt_compute_aeth(qp); u 231 drivers/infiniband/hw/qib/qib_rc.c ohdr = &priv->s_hdr->u.oth; u 233 drivers/infiniband/hw/qib/qib_rc.c ohdr = &priv->s_hdr->u.l.oth; u 328 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 347 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.vaddr = u 349 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.rkey = u 351 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); u 363 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.imm_data = u 390 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.vaddr = u 392 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.rkey = u 394 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); u 396 drivers/infiniband/hw/qib/qib_rc.c hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); u 423 drivers/infiniband/hw/qib/qib_rc.c &ohdr->u.atomic_eth); u 425 drivers/infiniband/hw/qib/qib_rc.c &ohdr->u.atomic_eth); u 429 drivers/infiniband/hw/qib/qib_rc.c &ohdr->u.atomic_eth); u 430 drivers/infiniband/hw/qib/qib_rc.c put_ib_ateth_compare(0, &ohdr->u.atomic_eth); u 433 drivers/infiniband/hw/qib/qib_rc.c &ohdr->u.atomic_eth); u 434 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.atomic_eth.rkey = cpu_to_be32( u 491 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 530 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 552 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.vaddr = u 554 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.rkey = u 556 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); u 558 drivers/infiniband/hw/qib/qib_rc.c hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); u 623 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr.u.oth; u 629 drivers/infiniband/hw/qib/qib_rc.c hwords += qib_make_grh(ibp, &hdr.u.l.grh, u 632 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr.u.l.oth; u 640 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | u 644 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = rvt_compute_aeth(qp); u 893 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr->u.oth; u 895 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr->u.l.oth; u 1320 drivers/infiniband/hw/qib/qib_rc.c aeth = be32_to_cpu(ohdr->u.aeth); u 1346 drivers/infiniband/hw/qib/qib_rc.c aeth = be32_to_cpu(ohdr->u.aeth); u 1348 drivers/infiniband/hw/qib/qib_rc.c val = ib_u64_get(&ohdr->u.at.atomic_ack_eth); u 1404 drivers/infiniband/hw/qib/qib_rc.c aeth = be32_to_cpu(ohdr->u.aeth); u 1445 drivers/infiniband/hw/qib/qib_rc.c aeth = be32_to_cpu(ohdr->u.aeth); u 1587 drivers/infiniband/hw/qib/qib_rc.c reth = &ohdr->u.rc.reth; u 1729 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr->u.oth; u 1732 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr->u.l.oth; u 1845 drivers/infiniband/hw/qib/qib_rc.c wc.ex.imm_data = ohdr->u.imm_data; u 1897 drivers/infiniband/hw/qib/qib_rc.c reth = &ohdr->u.rc.reth; u 1931 drivers/infiniband/hw/qib/qib_rc.c wc.ex.imm_data = ohdr->u.rc.imm_data; u 1958 drivers/infiniband/hw/qib/qib_rc.c reth = &ohdr->u.rc.reth; u 2029 drivers/infiniband/hw/qib/qib_rc.c ateth = &ohdr->u.atomic_eth; u 101 drivers/infiniband/hw/qib/qib_ruc.c if (!gid_ok(&hdr->u.l.grh.dgid, u 104 drivers/infiniband/hw/qib/qib_ruc.c if (!gid_ok(&hdr->u.l.grh.sgid, u 140 drivers/infiniband/hw/qib/qib_ruc.c if (!gid_ok(&hdr->u.l.grh.dgid, u 143 drivers/infiniband/hw/qib/qib_ruc.c if (!gid_ok(&hdr->u.l.grh.sgid, u 221 drivers/infiniband/hw/qib/qib_ruc.c qib_make_grh(ibp, &priv->s_hdr->u.l.grh, u 75 drivers/infiniband/hw/qib/qib_uc.c ohdr = &priv->s_hdr->u.oth; u 77 drivers/infiniband/hw/qib/qib_uc.c ohdr = &priv->s_hdr->u.l.oth; u 118 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 130 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.reth.vaddr = u 132 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.reth.rkey = u 134 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.reth.length = cpu_to_be32(len); u 147 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; u 176 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 201 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; u 252 drivers/infiniband/hw/qib/qib_uc.c ohdr = &hdr->u.oth; u 255 drivers/infiniband/hw/qib/qib_uc.c ohdr = &hdr->u.l.oth; u 367 drivers/infiniband/hw/qib/qib_uc.c wc.ex.imm_data = ohdr->u.imm_data; u 414 drivers/infiniband/hw/qib/qib_uc.c reth = &ohdr->u.rc.reth; u 440 drivers/infiniband/hw/qib/qib_uc.c wc.ex.imm_data = ohdr->u.rc.imm_data; u 455 drivers/infiniband/hw/qib/qib_uc.c wc.ex.imm_data = ohdr->u.imm_data; u 324 drivers/infiniband/hw/qib/qib_ud.c qp->s_hdrwords += qib_make_grh(ibp, &priv->s_hdr->u.l.grh, u 328 drivers/infiniband/hw/qib/qib_ud.c ohdr = &priv->s_hdr->u.l.oth; u 336 drivers/infiniband/hw/qib/qib_ud.c ohdr = &priv->s_hdr->u.oth; u 340 drivers/infiniband/hw/qib/qib_ud.c ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; u 381 drivers/infiniband/hw/qib/qib_ud.c ohdr->u.ud.deth[0] = u 384 drivers/infiniband/hw/qib/qib_ud.c ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); u 440 drivers/infiniband/hw/qib/qib_ud.c ohdr = &hdr->u.oth; u 443 drivers/infiniband/hw/qib/qib_ud.c ohdr = &hdr->u.l.oth; u 446 drivers/infiniband/hw/qib/qib_ud.c qkey = be32_to_cpu(ohdr->u.ud.deth[0]); u 447 drivers/infiniband/hw/qib/qib_ud.c src_qp = be32_to_cpu(ohdr->u.ud.deth[1]) & RVT_QPN_MASK; u 510 drivers/infiniband/hw/qib/qib_ud.c wc.ex.imm_data = ohdr->u.ud.imm_data; u 549 drivers/infiniband/hw/qib/qib_ud.c rvt_copy_sge(qp, &qp->r_sge, &hdr->u.l.grh, u 301 drivers/infiniband/hw/qib/qib_verbs.c ohdr = &hdr->u.oth; u 305 drivers/infiniband/hw/qib/qib_verbs.c ohdr = &hdr->u.l.oth; u 306 drivers/infiniband/hw/qib/qib_verbs.c if (hdr->u.l.grh.next_hdr != IB_GRH_NEXT_HDR) u 308 drivers/infiniband/hw/qib/qib_verbs.c vtf = be32_to_cpu(hdr->u.l.grh.version_tclass_flow); u 328 drivers/infiniband/hw/qib/qib_verbs.c mcast = rvt_mcast_find(&ibp->rvp, &hdr->u.l.grh.dgid, lid); u 166 drivers/infiniband/hw/usnic/usnic_fwd.c if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_AD)) u 168 drivers/infiniband/hw/usnic/usnic_fwd.c if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_PT)) u 172 drivers/infiniband/hw/usnic/usnic_fwd.c else if (filter->u.ipv4.dst_port == 0) u 174 drivers/infiniband/hw/usnic/usnic_fwd.c else if (ntohl(ufdev->inaddr) != filter->u.ipv4.dst_addr) u 101 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.usnic.ethtype = ETH_P_IBOE; u 102 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.usnic.flags = FILTER_FIELD_USNIC_ETHTYPE | u 105 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.usnic.proto_version = (USNIC_ROCE_GRH_VER << u 108 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.usnic.usnic_id = usnic_id; u 115 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags = FILTER_FIELD_5TUP_PROTO; u 116 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.protocol = PROTO_UDP; u 119 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_AD; u 120 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.dst_addr = daddr; u 124 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_PT; u 125 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.dst_port = dport; u 198 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c uaction->action.u.rq_idx = res_chunk->res[DFLT_RQ_IDX]->vnic_idx; u 1038 drivers/input/evdev.c unsigned int i, t, u, v; u 1065 drivers/input/evdev.c if (get_user(u, ip)) u 1070 drivers/input/evdev.c input_inject_event(&evdev->handle, EV_REP, REP_DELAY, u); u 45 drivers/input/ff-core.c e1->u.periodic.waveform == e2->u.periodic.waveform); u 64 drivers/input/ff-core.c magnitude = effect->u.rumble.strong_magnitude / 3 + u 65 drivers/input/ff-core.c effect->u.rumble.weak_magnitude / 6; u 68 drivers/input/ff-core.c effect->u.periodic.waveform = FF_SINE; u 69 drivers/input/ff-core.c effect->u.periodic.period = 50; u 70 drivers/input/ff-core.c effect->u.periodic.magnitude = max(magnitude, 0x7fff); u 71 drivers/input/ff-core.c effect->u.periodic.offset = 0; u 72 drivers/input/ff-core.c effect->u.periodic.phase = 0; u 73 drivers/input/ff-core.c effect->u.periodic.envelope.attack_length = 0; u 74 drivers/input/ff-core.c effect->u.periodic.envelope.attack_level = 0; u 75 drivers/input/ff-core.c effect->u.periodic.envelope.fade_length = 0; u 76 drivers/input/ff-core.c effect->u.periodic.envelope.fade_level = 0; u 110 drivers/input/ff-core.c (effect->u.periodic.waveform < FF_WAVEFORM_MIN || u 111 drivers/input/ff-core.c effect->u.periodic.waveform > FF_WAVEFORM_MAX || u 112 drivers/input/ff-core.c !test_bit(effect->u.periodic.waveform, dev->ffbit))) { u 64 drivers/input/ff-memless.c return &effect->u.periodic.envelope; u 67 drivers/input/ff-memless.c return &effect->u.constant.envelope; u 256 drivers/input/ff-memless.c new->u.constant.level, u 257 drivers/input/ff-memless.c &new->u.constant.envelope)); u 265 drivers/input/ff-memless.c effect->u.ramp.start_level = u 266 drivers/input/ff-memless.c clamp_val(effect->u.ramp.start_level + x, -0x80, 0x7f); u 267 drivers/input/ff-memless.c effect->u.ramp.end_level = u 268 drivers/input/ff-memless.c clamp_val(effect->u.ramp.end_level + y, -0x80, 0x7f); u 272 drivers/input/ff-memless.c strong = (u32)new->u.rumble.strong_magnitude * gain / 0xffff; u 273 drivers/input/ff-memless.c weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff; u 275 drivers/input/ff-memless.c if (effect->u.rumble.strong_magnitude + strong) u 278 drivers/input/ff-memless.c effect->u.rumble.strong_magnitude, u 280 drivers/input/ff-memless.c else if (effect->u.rumble.weak_magnitude + weak) u 283 drivers/input/ff-memless.c effect->u.rumble.weak_magnitude, u 287 drivers/input/ff-memless.c effect->u.rumble.strong_magnitude = u 288 drivers/input/ff-memless.c min(strong + effect->u.rumble.strong_magnitude, u 290 drivers/input/ff-memless.c effect->u.rumble.weak_magnitude = u 291 drivers/input/ff-memless.c min(weak + effect->u.rumble.weak_magnitude, 0xffffU); u 295 drivers/input/ff-memless.c i = apply_envelope(state, abs(new->u.periodic.magnitude), u 296 drivers/input/ff-memless.c &new->u.periodic.envelope); u 301 drivers/input/ff-memless.c if (effect->u.rumble.strong_magnitude + i) u 304 drivers/input/ff-memless.c effect->u.rumble.strong_magnitude, u 308 drivers/input/ff-memless.c effect->u.rumble.strong_magnitude = u 309 drivers/input/ff-memless.c min(i + effect->u.rumble.strong_magnitude, 0xffffU); u 310 drivers/input/ff-memless.c effect->u.rumble.weak_magnitude = u 311 drivers/input/ff-memless.c min(i + effect->u.rumble.weak_magnitude, 0xffffU); u 51 drivers/input/gameport/ns558.c unsigned char c, u, v; u 69 drivers/input/gameport/ns558.c if (~(u = v = inb(io)) & 3) { u 80 drivers/input/gameport/ns558.c if (u == v) { u 90 drivers/input/gameport/ns558.c u = inb(io); u 92 drivers/input/gameport/ns558.c if ((u ^ inb(io)) & 0xf) { u 83 drivers/input/input-compat.c compat_effect->u.periodic.waveform == FF_CUSTOM) u 84 drivers/input/input-compat.c effect->u.periodic.custom_data = u 85 drivers/input/input-compat.c compat_ptr(compat_effect->u.periodic.custom_data); u 51 drivers/input/input-compat.h } u; u 58 drivers/input/joystick/a3d.c unsigned char u, v; u 72 drivers/input/joystick/a3d.c u = v; v = gameport_read(gameport); u 73 drivers/input/joystick/a3d.c if (~v & u & 0x10) { u 126 drivers/input/joystick/adi.c unsigned char u, v, w, x, z; u 142 drivers/input/joystick/adi.c u = v; u 143 drivers/input/joystick/adi.c w = u ^ (v = x = gameport_read(gameport)); u 286 drivers/input/joystick/analog.c unsigned char u; u 290 drivers/input/joystick/analog.c u = gameport_read(port->gameport); u 293 drivers/input/joystick/analog.c port->buttons = (~u >> 4) & 0xf; u 299 drivers/input/joystick/analog.c while ((~u & 0xf0) && (i < 16) && t) { u 300 drivers/input/joystick/analog.c port->buttons |= 1 << analog_chf[(~u >> 4) & 0xf]; u 305 drivers/input/joystick/analog.c while (((u = gameport_read(port->gameport)) & port->mask) && t) t--; u 600 drivers/input/joystick/analog.c int i, t, u, v; u 622 drivers/input/joystick/analog.c u = v = 0; u 627 drivers/input/joystick/analog.c while ((gameport_read(port->gameport) & port->mask) && (u < t)) u 628 drivers/input/joystick/analog.c u++; u 635 drivers/input/joystick/analog.c if (v < (u >> 1)) { /* FIXME - more than one port */ u 43 drivers/input/joystick/cobra.c unsigned char u, v, w; u 57 drivers/input/joystick/cobra.c u = gameport_read(gameport); u 62 drivers/input/joystick/cobra.c for (i = 0, w = u ^ v; i < 2 && w; i++, w >>= 2) u 67 drivers/input/joystick/cobra.c u = v; u 260 drivers/input/joystick/gamecon.c struct ff_rumble_effect *rumble = &effect->u.rumble; u 80 drivers/input/joystick/gf2k.c unsigned char u, v; u 96 drivers/input/joystick/gf2k.c t--; u = v; u 98 drivers/input/joystick/gf2k.c if (v & ~u & 0x10) { u 71 drivers/input/joystick/grip.c unsigned char u, v; u 87 drivers/input/joystick/grip.c u = v; v = (gameport_read(gameport) >> shift) & 3; u 88 drivers/input/joystick/grip.c if (~v & u & 1) { u 111 drivers/input/joystick/grip.c unsigned char u, v, w; u 128 drivers/input/joystick/grip.c u = (gameport_read(gameport) >> shift) & 3; u 130 drivers/input/joystick/grip.c if (u ^ v) { u 132 drivers/input/joystick/grip.c if ((u ^ v) & 1) { u 133 drivers/input/joystick/grip.c buf = (buf << 1) | (u >> 1); u 138 drivers/input/joystick/grip.c if ((((u ^ v) & (v ^ w)) >> 1) & ~(u | v | w) & 1) { u 152 drivers/input/joystick/grip.c v = u; u 71 drivers/input/joystick/guillemot.c unsigned char u, v; u 88 drivers/input/joystick/guillemot.c u = v; v = gameport_read(gameport); u 89 drivers/input/joystick/guillemot.c if (v & ~u & 0x10) { u 195 drivers/input/joystick/iforce/iforce-ff.c ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation u 196 drivers/input/joystick/iforce/iforce-ff.c || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation u 197 drivers/input/joystick/iforce/iforce-ff.c || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff u 198 drivers/input/joystick/iforce/iforce-ff.c || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff u 199 drivers/input/joystick/iforce/iforce-ff.c || old->u.condition[i].deadband != new->u.condition[i].deadband u 200 drivers/input/joystick/iforce/iforce-ff.c || old->u.condition[i].center != new->u.condition[i].center; u 219 drivers/input/joystick/iforce/iforce-ff.c return old->u.constant.level != effect->u.constant.level; u 231 drivers/input/joystick/iforce/iforce-ff.c if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length u 232 drivers/input/joystick/iforce/iforce-ff.c || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level u 233 drivers/input/joystick/iforce/iforce-ff.c || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length u 234 drivers/input/joystick/iforce/iforce-ff.c || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) u 239 drivers/input/joystick/iforce/iforce-ff.c if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length u 240 drivers/input/joystick/iforce/iforce-ff.c || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level u 241 drivers/input/joystick/iforce/iforce-ff.c || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length u 242 drivers/input/joystick/iforce/iforce-ff.c || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) u 266 drivers/input/joystick/iforce/iforce-ff.c return (old->u.periodic.period != new->u.periodic.period u 267 drivers/input/joystick/iforce/iforce-ff.c || old->u.periodic.magnitude != new->u.periodic.magnitude u 268 drivers/input/joystick/iforce/iforce-ff.c || old->u.periodic.offset != new->u.periodic.offset u 269 drivers/input/joystick/iforce/iforce-ff.c || old->u.periodic.phase != new->u.periodic.phase); u 352 drivers/input/joystick/iforce/iforce-ff.c effect->u.periodic.magnitude, effect->u.periodic.offset, u 353 drivers/input/joystick/iforce/iforce-ff.c effect->u.periodic.period, effect->u.periodic.phase); u 362 drivers/input/joystick/iforce/iforce-ff.c effect->u.periodic.envelope.attack_length, u 363 drivers/input/joystick/iforce/iforce-ff.c effect->u.periodic.envelope.attack_level, u 364 drivers/input/joystick/iforce/iforce-ff.c effect->u.periodic.envelope.fade_length, u 365 drivers/input/joystick/iforce/iforce-ff.c effect->u.periodic.envelope.fade_level); u 371 drivers/input/joystick/iforce/iforce-ff.c switch (effect->u.periodic.waveform) { u 422 drivers/input/joystick/iforce/iforce-ff.c effect->u.constant.level); u 431 drivers/input/joystick/iforce/iforce-ff.c effect->u.constant.envelope.attack_length, u 432 drivers/input/joystick/iforce/iforce-ff.c effect->u.constant.envelope.attack_level, u 433 drivers/input/joystick/iforce/iforce-ff.c effect->u.constant.envelope.fade_length, u 434 drivers/input/joystick/iforce/iforce-ff.c effect->u.constant.envelope.fade_level); u 484 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[0].right_saturation, u 485 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[0].left_saturation, u 486 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[0].right_coeff, u 487 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[0].left_coeff, u 488 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[0].deadband, u 489 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[0].center); u 496 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[1].right_saturation, u 497 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[1].left_saturation, u 498 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[1].right_coeff, u 499 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[1].left_coeff, u 500 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[1].deadband, u 501 drivers/input/joystick/iforce/iforce-ff.c effect->u.condition[1].center); u 78 drivers/input/joystick/interact.c unsigned char u, v; u 93 drivers/input/joystick/interact.c u = v; v = gameport_read(gameport); u 94 drivers/input/joystick/interact.c if (v & ~u & 0x40) { u 40 drivers/input/joystick/joydump.c unsigned char u; u 78 drivers/input/joystick/joydump.c u = gameport_read(gameport); u 80 drivers/input/joystick/joydump.c dump->data = u; u 90 drivers/input/joystick/joydump.c if (dump->data ^ u) { u 91 drivers/input/joystick/joydump.c u = dump->data; u 149 drivers/input/joystick/psxpad-spi.c (effect->u.rumble.weak_magnitude >> 8) & 0xFFU, u 150 drivers/input/joystick/psxpad-spi.c (effect->u.rumble.strong_magnitude >> 8) & 0xFFU); u 123 drivers/input/joystick/sidewinder.c unsigned char pending, u, v; u 141 drivers/input/joystick/sidewinder.c u = v; u 143 drivers/input/joystick/sidewinder.c } while (!(~v & u & 0x10) && (bitout > 0)); /* Wait for first falling edge on clock */ u 154 drivers/input/joystick/sidewinder.c u = v; u 157 drivers/input/joystick/sidewinder.c if ((~u & v & 0x10) && (bitout > 0)) { /* Rising edge on clock - data bit */ u 164 drivers/input/joystick/sidewinder.c if (kick && (~v & u & 0x01)) { /* Falling edge on axis 0 */ u 132 drivers/input/joystick/tmdc.c unsigned char u, v, w, x; u 152 drivers/input/joystick/tmdc.c for (k = 0, v = w, u = x; k < 2; k++, v >>= 2, u >>= 2) { u 153 drivers/input/joystick/tmdc.c if (~v & u & 2) { u 1234 drivers/input/joystick/xpad.c strong = effect->u.rumble.strong_magnitude; u 1235 drivers/input/joystick/xpad.c weak = effect->u.rumble.weak_magnitude; u 102 drivers/input/keyboard/lm8323.c #define PWM_RAMP(s, t, n, u) ((!!(s) << 14) | ((t) & 0x3f) << 8 | \ u 103 drivers/input/keyboard/lm8323.c ((n) & 0x7f) | ((u) ? 0 : 0x80)) u 119 drivers/input/misc/arizona-haptics.c if (effect->u.rumble.strong_magnitude) { u 123 drivers/input/misc/arizona-haptics.c effect->u.rumble.strong_magnitude >> 9; u 128 drivers/input/misc/arizona-haptics.c effect->u.rumble.strong_magnitude >> 8; u 278 drivers/input/misc/drv260x.c if (effect->u.rumble.strong_magnitude > 0) u 279 drivers/input/misc/drv260x.c haptics->magnitude = effect->u.rumble.strong_magnitude; u 280 drivers/input/misc/drv260x.c else if (effect->u.rumble.weak_magnitude > 0) u 281 drivers/input/misc/drv260x.c haptics->magnitude = effect->u.rumble.weak_magnitude; u 231 drivers/input/misc/drv2667.c if (effect->u.rumble.strong_magnitude > 0) u 232 drivers/input/misc/drv2667.c haptics->magnitude = effect->u.rumble.strong_magnitude; u 233 drivers/input/misc/drv2667.c else if (effect->u.rumble.weak_magnitude > 0) u 234 drivers/input/misc/drv2667.c haptics->magnitude = effect->u.rumble.weak_magnitude; u 83 drivers/input/misc/gpio-vibra.c level = effect->u.rumble.strong_magnitude; u 85 drivers/input/misc/gpio-vibra.c level = effect->u.rumble.weak_magnitude; u 239 drivers/input/misc/max77693-haptic.c haptic->magnitude = effect->u.rumble.strong_magnitude; u 241 drivers/input/misc/max77693-haptic.c haptic->magnitude = effect->u.rumble.weak_magnitude; u 222 drivers/input/misc/max8997_haptic.c chip->level = effect->u.rumble.strong_magnitude; u 224 drivers/input/misc/max8997_haptic.c chip->level = effect->u.rumble.weak_magnitude; u 134 drivers/input/misc/msm-vibrator.c if (effect->u.rumble.strong_magnitude > 0) u 135 drivers/input/misc/msm-vibrator.c vibrator->magnitude = effect->u.rumble.strong_magnitude; u 137 drivers/input/misc/msm-vibrator.c vibrator->magnitude = effect->u.rumble.weak_magnitude; u 158 drivers/input/misc/pm8xxx-vibrator.c vib->speed = effect->u.rumble.strong_magnitude >> 8; u 160 drivers/input/misc/pm8xxx-vibrator.c vib->speed = effect->u.rumble.weak_magnitude >> 9; u 105 drivers/input/misc/pwm-vibra.c vibrator->level = effect->u.rumble.strong_magnitude; u 107 drivers/input/misc/pwm-vibra.c vibrator->level = effect->u.rumble.weak_magnitude; u 99 drivers/input/misc/regulator-haptic.c haptic->magnitude = effect->u.rumble.strong_magnitude; u 101 drivers/input/misc/regulator-haptic.c haptic->magnitude = effect->u.rumble.weak_magnitude; u 63 drivers/input/misc/sc27xx-vibra.c info->strength = effect->u.rumble.weak_magnitude; u 39 drivers/input/misc/sparcspkr.c } u; u 69 drivers/input/misc/sparcspkr.c struct bbc_beep_info *info = &state->u.bbc; u 107 drivers/input/misc/sparcspkr.c struct grover_beep_info *info = &state->u.grover; u 206 drivers/input/misc/sparcspkr.c info = &state->u.bbc; u 236 drivers/input/misc/sparcspkr.c struct bbc_beep_info *info = &state->u.bbc; u 283 drivers/input/misc/sparcspkr.c info = &state->u.grover; u 314 drivers/input/misc/sparcspkr.c struct grover_beep_info *info = &state->u.grover; u 127 drivers/input/misc/twl4030-vibra.c info->speed = effect->u.rumble.strong_magnitude >> 8; u 129 drivers/input/misc/twl4030-vibra.c info->speed = effect->u.rumble.weak_magnitude >> 9; u 194 drivers/input/misc/twl6040-vibra.c info->weak_speed = effect->u.rumble.weak_magnitude; u 195 drivers/input/misc/twl6040-vibra.c info->strong_speed = effect->u.rumble.strong_magnitude; u 52 drivers/input/misc/uinput.c } u; u 249 drivers/input/misc/uinput.c effect->u.periodic.waveform == FF_CUSTOM) u 253 drivers/input/misc/uinput.c request.u.upload.effect = effect; u 254 drivers/input/misc/uinput.c request.u.upload.old = old; u 268 drivers/input/misc/uinput.c request.u.effect_id = effect_id; u 945 drivers/input/misc/uinput.c !req->u.upload.effect) { u 951 drivers/input/misc/uinput.c ff_up.effect = *req->u.upload.effect; u 952 drivers/input/misc/uinput.c if (req->u.upload.old) u 953 drivers/input/misc/uinput.c ff_up.old = *req->u.upload.old; u 973 drivers/input/misc/uinput.c ff_erase.effect_id = req->u.effect_id; u 988 drivers/input/misc/uinput.c !req->u.upload.effect) { u 131 drivers/input/misc/xen-kbdfront.c mtouch->u.pos.abs_x); u 133 drivers/input/misc/xen-kbdfront.c mtouch->u.pos.abs_y); u 138 drivers/input/misc/xen-kbdfront.c mtouch->u.shape.major); u 140 drivers/input/misc/xen-kbdfront.c mtouch->u.shape.minor); u 145 drivers/input/misc/xen-kbdfront.c mtouch->u.orientation); u 63 drivers/input/misc/yealink.c .u = { .s = { _LOC(a, am), _LOC(b, bm), _LOC(c, cm), \ u 68 drivers/input/misc/yealink.c .u = { .p = { .name = (n), .a = (h), .m = (hm) } } } u 80 drivers/input/misc/yealink.c } u; u 142 drivers/input/misc/yealink.c a = lcdMap[el].u.p.a; u 143 drivers/input/misc/yealink.c m = lcdMap[el].u.p.m; u 152 drivers/input/misc/yealink.c for (i = 0; i < ARRAY_SIZE(lcdMap[0].u.s); i++) { u 153 drivers/input/misc/yealink.c m = lcdMap[el].u.s[i].m; u 158 drivers/input/misc/yealink.c a = lcdMap[el].u.s[i].a; u 693 drivers/input/misc/yealink.c lcdMap[i].u.p.name); u 716 drivers/input/misc/yealink.c if (strncmp(buf, lcdMap[i].u.p.name, count) == 0) { u 468 drivers/input/tablet/wacom_serial4.c unsigned long u; u 477 drivers/input/tablet/wacom_serial4.c u = wait_for_completion_timeout(&wacom->cmd_done, HZ); u 478 drivers/input/tablet/wacom_serial4.c if (u == 0) { u 33 drivers/mailbox/omap-mailbox.c #define OMAP2_MAILBOX_IRQSTATUS(u) (0x100 + 8 * (u)) u 34 drivers/mailbox/omap-mailbox.c #define OMAP2_MAILBOX_IRQENABLE(u) (0x104 + 8 * (u)) u 36 drivers/mailbox/omap-mailbox.c #define OMAP4_MAILBOX_IRQSTATUS(u) (0x104 + 0x10 * (u)) u 37 drivers/mailbox/omap-mailbox.c #define OMAP4_MAILBOX_IRQENABLE(u) (0x108 + 0x10 * (u)) u 38 drivers/mailbox/omap-mailbox.c #define OMAP4_MAILBOX_IRQENABLE_CLR(u) (0x10c + 0x10 * (u)) u 40 drivers/mailbox/omap-mailbox.c #define MAILBOX_IRQSTATUS(type, u) (type ? OMAP4_MAILBOX_IRQSTATUS(u) : \ u 41 drivers/mailbox/omap-mailbox.c OMAP2_MAILBOX_IRQSTATUS(u)) u 42 drivers/mailbox/omap-mailbox.c #define MAILBOX_IRQENABLE(type, u) (type ? OMAP4_MAILBOX_IRQENABLE(u) : \ u 43 drivers/mailbox/omap-mailbox.c OMAP2_MAILBOX_IRQENABLE(u)) u 44 drivers/mailbox/omap-mailbox.c #define MAILBOX_IRQDISABLE(type, u) (type ? OMAP4_MAILBOX_IRQENABLE_CLR(u) \ u 45 drivers/mailbox/omap-mailbox.c : OMAP2_MAILBOX_IRQENABLE(u)) u 343 drivers/md/bcache/super.c struct uuid_entry *u; u 371 drivers/md/bcache/super.c for (u = c->uuids; u < c->uuids + c->nr_uuids; u++) u 372 drivers/md/bcache/super.c if (!bch_is_zero(u->uuid, 16)) u 374 drivers/md/bcache/super.c u - c->uuids, u->uuid, u->label, u 375 drivers/md/bcache/super.c u->first_reg, u->last_reg, u->invalidated); u 458 drivers/md/bcache/super.c struct uuid_entry *u; u 460 drivers/md/bcache/super.c for (u = c->uuids; u 461 drivers/md/bcache/super.c u < c->uuids + c->nr_uuids; u++) u 462 drivers/md/bcache/super.c if (!memcmp(u->uuid, uuid, 16)) u 463 drivers/md/bcache/super.c return u; u 739 drivers/md/bcache/super.c struct uuid_entry *u = d->c->uuids + d->id; u 741 drivers/md/bcache/super.c SET_UUID_FLASH_ONLY(u, 0); u 742 drivers/md/bcache/super.c memcpy(u->uuid, invalid_uuid, 16); u 743 drivers/md/bcache/super.c u->invalidated = cpu_to_le32((u32)ktime_get_real_seconds()); u 1104 drivers/md/bcache/super.c struct uuid_entry *u; u 1141 drivers/md/bcache/super.c u = uuid_find(c, dc->sb.uuid); u 1143 drivers/md/bcache/super.c if (u && u 1146 drivers/md/bcache/super.c memcpy(u->uuid, invalid_uuid, 16); u 1147 drivers/md/bcache/super.c u->invalidated = cpu_to_le32((u32)ktime_get_real_seconds()); u 1148 drivers/md/bcache/super.c u = NULL; u 1151 drivers/md/bcache/super.c if (!u) { u 1158 drivers/md/bcache/super.c u = uuid_find_empty(c); u 1159 drivers/md/bcache/super.c if (!u) { u 1171 drivers/md/bcache/super.c if (bch_is_zero(u->uuid, 16)) { u 1176 drivers/md/bcache/super.c memcpy(u->uuid, dc->sb.uuid, 16); u 1177 drivers/md/bcache/super.c memcpy(u->label, dc->sb.label, SB_LABEL_SIZE); u 1178 drivers/md/bcache/super.c u->first_reg = u->last_reg = rtime; u 1187 drivers/md/bcache/super.c u->last_reg = rtime; u 1191 drivers/md/bcache/super.c bcache_device_attach(&dc->disk, c, u - c->uuids); u 1438 drivers/md/bcache/super.c static int flash_dev_run(struct cache_set *c, struct uuid_entry *u) u 1450 drivers/md/bcache/super.c if (bcache_device_init(d, block_bytes(c), u->sectors)) u 1453 drivers/md/bcache/super.c bcache_device_attach(d, c, u - c->uuids); u 1472 drivers/md/bcache/super.c struct uuid_entry *u; u 1474 drivers/md/bcache/super.c for (u = c->uuids; u 1475 drivers/md/bcache/super.c u < c->uuids + c->nr_uuids && !ret; u 1476 drivers/md/bcache/super.c u++) u 1477 drivers/md/bcache/super.c if (UUID_FLASH_ONLY(u)) u 1478 drivers/md/bcache/super.c ret = flash_dev_run(c, u); u 1485 drivers/md/bcache/super.c struct uuid_entry *u; u 1493 drivers/md/bcache/super.c u = uuid_find_empty(c); u 1494 drivers/md/bcache/super.c if (!u) { u 1499 drivers/md/bcache/super.c get_random_bytes(u->uuid, 16); u 1500 drivers/md/bcache/super.c memset(u->label, 0, 32); u 1501 drivers/md/bcache/super.c u->first_reg = u->last_reg = cpu_to_le32((u32)ktime_get_real_seconds()); u 1503 drivers/md/bcache/super.c SET_UUID_FLASH_ONLY(u, 1); u 1504 drivers/md/bcache/super.c u->sectors = size >> 9; u 1508 drivers/md/bcache/super.c return flash_dev_run(c, u); u 528 drivers/md/bcache/sysfs.c struct uuid_entry *u = &d->c->uuids[d->id]; u 531 drivers/md/bcache/sysfs.c sysfs_hprint(size, u->sectors << 9); u 534 drivers/md/bcache/sysfs.c memcpy(buf, u->label, SB_LABEL_SIZE); u 547 drivers/md/bcache/sysfs.c struct uuid_entry *u = &d->c->uuids[d->id]; u 560 drivers/md/bcache/sysfs.c u->sectors = v >> 9; u 562 drivers/md/bcache/sysfs.c set_capacity(d->disk, u->sectors); u 566 drivers/md/bcache/sysfs.c memcpy(u->label, buf, SB_LABEL_SIZE); u 26 drivers/md/bcache/util.c int u = 0; \ u 35 drivers/md/bcache/util.c u++; \ u 38 drivers/md/bcache/util.c u++; \ u 41 drivers/md/bcache/util.c u++; \ u 44 drivers/md/bcache/util.c u++; \ u 47 drivers/md/bcache/util.c u++; \ u 50 drivers/md/bcache/util.c u++; \ u 53 drivers/md/bcache/util.c u++; \ u 66 drivers/md/bcache/util.c while (u--) { \ u 95 drivers/md/bcache/util.c int u = 0, t; u 109 drivers/md/bcache/util.c u++; u 119 drivers/md/bcache/util.c return sprintf(buf, "-%llu.%i%c", q, t * 10 / 1024, units[u]); u 121 drivers/md/bcache/util.c return sprintf(buf, "%llu.%i%c", q, t * 10 / 1024, units[u]); u 91 drivers/md/dm-integrity.c } u; u 99 drivers/md/dm-integrity.c #define journal_entry_set_sector(je, x) do { smp_wmb(); WRITE_ONCE((je)->u.sector, cpu_to_le64(x)); } while (0) u 101 drivers/md/dm-integrity.c #define journal_entry_set_sector(je, x) do { (je)->u.s.sector_lo = cpu_to_le32(x); smp_wmb(); WRITE_ONCE((je)->u.s.sector_hi, cpu_to_le32((x) >> 32)); } while (0) u 103 drivers/md/dm-integrity.c #define journal_entry_get_sector(je) le64_to_cpu((je)->u.sector) u 104 drivers/md/dm-integrity.c #define journal_entry_is_unused(je) ((je)->u.s.sector_hi == cpu_to_le32(-1)) u 105 drivers/md/dm-integrity.c #define journal_entry_set_unused(je) do { ((je)->u.s.sector_hi = cpu_to_le32(-1)); } while (0) u 106 drivers/md/dm-integrity.c #define journal_entry_is_inprogress(je) ((je)->u.s.sector_hi == cpu_to_le32(-2)) u 107 drivers/md/dm-integrity.c #define journal_entry_set_inprogress(je) do { ((je)->u.s.sector_hi = cpu_to_le32(-2)); } while (0) u 716 drivers/md/dm-integrity.c r = crypto_shash_update(desc, (__u8 *)&je->u.sector, sizeof je->u.sector); u 1915 drivers/md/dm-ioctl.c static long dm_ctl_ioctl(struct file *file, uint command, ulong u) u 1917 drivers/md/dm-ioctl.c return (long)ctl_ioctl(file, command, (struct dm_ioctl __user *)u); u 1921 drivers/md/dm-ioctl.c static long dm_compat_ctl_ioctl(struct file *file, uint command, ulong u) u 1923 drivers/md/dm-ioctl.c return (long)dm_ctl_ioctl(file, command, (ulong) compat_ptr(u)); u 1435 drivers/md/dm-snap.c } u; u 1440 drivers/md/dm-snap.c u.table_swap = snap_dest->complete; u 1442 drivers/md/dm-snap.c snap_src->complete = u.table_swap; u 1444 drivers/md/dm-snap.c u.store_swap = snap_dest->store; u 1446 drivers/md/dm-snap.c snap_dest->store->userspace_supports_overflow = u.store_swap->userspace_supports_overflow; u 1447 drivers/md/dm-snap.c snap_src->store = u.store_swap; u 1176 drivers/media/dvb-core/dvb_frontend.c c->symbol_rate = p->u.qpsk.symbol_rate; u 1177 drivers/media/dvb-core/dvb_frontend.c c->fec_inner = p->u.qpsk.fec_inner; u 1181 drivers/media/dvb-core/dvb_frontend.c c->symbol_rate = p->u.qam.symbol_rate; u 1182 drivers/media/dvb-core/dvb_frontend.c c->fec_inner = p->u.qam.fec_inner; u 1183 drivers/media/dvb-core/dvb_frontend.c c->modulation = p->u.qam.modulation; u 1188 drivers/media/dvb-core/dvb_frontend.c switch (p->u.ofdm.bandwidth) { u 1211 drivers/media/dvb-core/dvb_frontend.c c->code_rate_HP = p->u.ofdm.code_rate_HP; u 1212 drivers/media/dvb-core/dvb_frontend.c c->code_rate_LP = p->u.ofdm.code_rate_LP; u 1213 drivers/media/dvb-core/dvb_frontend.c c->modulation = p->u.ofdm.constellation; u 1214 drivers/media/dvb-core/dvb_frontend.c c->transmission_mode = p->u.ofdm.transmission_mode; u 1215 drivers/media/dvb-core/dvb_frontend.c c->guard_interval = p->u.ofdm.guard_interval; u 1216 drivers/media/dvb-core/dvb_frontend.c c->hierarchy = p->u.ofdm.hierarchy_information; u 1220 drivers/media/dvb-core/dvb_frontend.c c->modulation = p->u.vsb.modulation; u 1257 drivers/media/dvb-core/dvb_frontend.c p->u.qpsk.symbol_rate = c->symbol_rate; u 1258 drivers/media/dvb-core/dvb_frontend.c p->u.qpsk.fec_inner = c->fec_inner; u 1262 drivers/media/dvb-core/dvb_frontend.c p->u.qam.symbol_rate = c->symbol_rate; u 1263 drivers/media/dvb-core/dvb_frontend.c p->u.qam.fec_inner = c->fec_inner; u 1264 drivers/media/dvb-core/dvb_frontend.c p->u.qam.modulation = c->modulation; u 1270 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.bandwidth = BANDWIDTH_10_MHZ; u 1273 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.bandwidth = BANDWIDTH_8_MHZ; u 1276 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.bandwidth = BANDWIDTH_7_MHZ; u 1279 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.bandwidth = BANDWIDTH_6_MHZ; u 1282 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.bandwidth = BANDWIDTH_5_MHZ; u 1285 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.bandwidth = BANDWIDTH_1_712_MHZ; u 1289 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.bandwidth = BANDWIDTH_AUTO; u 1291 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.code_rate_HP = c->code_rate_HP; u 1292 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.code_rate_LP = c->code_rate_LP; u 1293 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.constellation = c->modulation; u 1294 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.transmission_mode = c->transmission_mode; u 1295 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.guard_interval = c->guard_interval; u 1296 drivers/media/dvb-core/dvb_frontend.c p->u.ofdm.hierarchy_information = c->hierarchy; u 1300 drivers/media/dvb-core/dvb_frontend.c p->u.vsb.modulation = c->modulation; u 1349 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.data[ncaps] = fe->ops.delsys[ncaps]; u 1352 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.len = ncaps; u 1355 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->frequency; u 1358 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->modulation; u 1361 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->bandwidth_hz; u 1364 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->inversion; u 1367 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->symbol_rate; u 1370 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->fec_inner; u 1373 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->pilot; u 1376 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->rolloff; u 1379 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->delivery_system; u 1382 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->voltage; u 1385 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->sectone; u 1388 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = (DVB_API_VERSION << 8) | DVB_API_VERSION_MINOR; u 1391 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->code_rate_HP; u 1394 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->code_rate_LP; u 1397 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->guard_interval; u 1400 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->transmission_mode; u 1403 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->hierarchy; u 1406 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->interleaving; u 1411 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->isdbt_partial_reception; u 1414 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->isdbt_sb_mode; u 1417 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->isdbt_sb_subchannel; u 1420 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->isdbt_sb_segment_idx; u 1423 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->isdbt_sb_segment_count; u 1426 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->isdbt_layer_enabled; u 1429 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[0].fec; u 1432 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[0].modulation; u 1435 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[0].segment_count; u 1438 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[0].interleaving; u 1441 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[1].fec; u 1444 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[1].modulation; u 1447 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[1].segment_count; u 1450 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[1].interleaving; u 1453 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[2].fec; u 1456 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[2].modulation; u 1459 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[2].segment_count; u 1462 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->layer[2].interleaving; u 1468 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->stream_id; u 1473 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->scrambling_sequence_index; u 1478 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_fic_ver; u 1481 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_parade_id; u 1484 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_nog; u 1487 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_tnog; u 1490 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sgn; u 1493 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_prc; u 1496 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_rs_frame_mode; u 1499 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_rs_frame_ensemble; u 1502 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_rs_code_mode_pri; u 1505 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_rs_code_mode_sec; u 1508 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_block_mode; u 1511 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_a; u 1514 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_b; u 1517 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_c; u 1520 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_d; u 1524 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->lna; u 1529 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->strength; u 1532 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->cnr; u 1535 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->pre_bit_error; u 1538 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->pre_bit_count; u 1541 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->post_bit_error; u 1544 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->post_bit_count; u 1547 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->block_error; u 1550 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->block_count; u 1563 drivers/media/dvb-core/dvb_frontend.c tvp->u.data); u 1569 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.len, u 1570 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.len, tvp->u.buffer.data); u 2055 drivers/media/dvb-core/dvb_frontend.c } u; u 2098 drivers/media/dvb-core/dvb_frontend.c (tvp + i)->u.data); u 2424 drivers/media/dvb-core/dvb_frontend.c (tvp + i)->u.data); u 169 drivers/media/dvb-frontends/as102_fe_types.h } __packed u; u 1592 drivers/media/dvb-frontends/dib0090.c #define steps(u) (((u) > 15) ? ((u)-16) : (u)) u 386 drivers/media/dvb-frontends/mxl5xx_defs.h } u; u 886 drivers/media/i2c/adv7180.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 315 drivers/media/i2c/adv7604.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 242 drivers/media/i2c/adv7842.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 656 drivers/media/i2c/cx25840/cx25840-ir.c unsigned u, v, w; u 681 drivers/media/i2c/cx25840/cx25840-ir.c u = 0; u 684 drivers/media/i2c/cx25840/cx25840-ir.c u = (p->hw_fifo_data & FIFO_RXTX_LVL) ? 1 : 0; u 686 drivers/media/i2c/cx25840/cx25840-ir.c u = u ? 0 : 1; u 696 drivers/media/i2c/cx25840/cx25840-ir.c { .pulse = u, .duration = v, .timeout = w }; u 699 drivers/media/i2c/cx25840/cx25840-ir.c v, u ? "mark" : "space", w ? "(timed out)" : ""); u 987 drivers/media/i2c/tc358743.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 282 drivers/media/i2c/tda1997x.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 836 drivers/media/i2c/tvp5150.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 26 drivers/media/pci/cx18/cx18-audio.c u32 u, v; u 45 drivers/media/pci/cx18/cx18-audio.c u = cx18_read_reg(cx, CX18_AUDIO_ENABLE); u 46 drivers/media/pci/cx18/cx18-audio.c v = u & ~CX18_AI1_MUX_MASK; u 58 drivers/media/pci/cx18/cx18-audio.c if (v == u) { u 60 drivers/media/pci/cx18/cx18-audio.c u &= ~CX18_AI1_MUX_MASK; u 63 drivers/media/pci/cx18/cx18-audio.c u |= CX18_AI1_MUX_843_I2S; u 66 drivers/media/pci/cx18/cx18-audio.c u |= CX18_AI1_MUX_843_I2S; u 69 drivers/media/pci/cx18/cx18-audio.c u |= CX18_AI1_MUX_I2S1; u 72 drivers/media/pci/cx18/cx18-audio.c cx18_write_reg_expect(cx, u | 0xb00, CX18_AUDIO_ENABLE, u 73 drivers/media/pci/cx18/cx18-audio.c u, CX18_AI1_MUX_MASK); u 68 drivers/media/pci/cx18/cx18-av-firmware.c u32 u, v; u 179 drivers/media/pci/cx18/cx18-av-firmware.c u = v & CX18_AI1_MUX_MASK; u 181 drivers/media/pci/cx18/cx18-av-firmware.c if (u == CX18_AI1_MUX_843_I2S || u == CX18_AI1_MUX_INVALID) { u 194 drivers/media/pci/cx18/cx18-av-firmware.c v = (v & ~CX18_AI1_MUX_MASK) | u; u 658 drivers/media/pci/cx23885/cx23888-ir.c unsigned u, v, w; u 676 drivers/media/pci/cx23885/cx23888-ir.c u = 0; u 679 drivers/media/pci/cx23885/cx23888-ir.c u = (p->hw_fifo_data & FIFO_RXTX_LVL) ? 1 : 0; u 681 drivers/media/pci/cx23885/cx23888-ir.c u = u ? 0 : 1; u 691 drivers/media/pci/cx23885/cx23888-ir.c { .pulse = u, .duration = v, .timeout = w }; u 694 drivers/media/pci/cx23885/cx23888-ir.c v, u ? "mark" : "space", w ? "(timed out)" : ""); u 604 drivers/media/pci/intel/ipu3/ipu3-cio2.c .u.frame_sync.frame_sequence = atomic_read(&q->frame_sequence), u 1623 drivers/media/pci/ivtv/ivtv-ioctl.c } u; u 1782 drivers/media/pci/ivtv/ivtv-ioctl.c ev32->u.vsync_field = vsync_field; u 1785 drivers/media/pci/ivtv/ivtv-ioctl.c ev->u.vsync_field = vsync_field; u 859 drivers/media/pci/ivtv/ivtv-irq.c .u.vsync.field = V4L2_FIELD_TOP, u 863 drivers/media/pci/ivtv/ivtv-irq.c .u.vsync.field = V4L2_FIELD_BOTTOM, u 304 drivers/media/pci/solo6x10/solo6x10-regs.h #define SOLO_BG_U(u) ((u)<<8) u 531 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c .u.motion_det = { u 510 drivers/media/pci/ttpci/av7110.c event.u.size.w = av7110->video_size.w; u 511 drivers/media/pci/ttpci/av7110.c event.u.size.h = av7110->video_size.h; u 516 drivers/media/pci/ttpci/av7110.c event.u.size.aspect_ratio = VIDEO_FORMAT_16_9; u 521 drivers/media/pci/ttpci/av7110.c event.u.size.aspect_ratio = VIDEO_FORMAT_221_1; u 526 drivers/media/pci/ttpci/av7110.c event.u.size.aspect_ratio = VIDEO_FORMAT_4_3; u 1098 drivers/media/pci/ttpci/av7110_av.c } u; u 1113 drivers/media/pci/ttpci/av7110_av.c .u.size = ev.u.size, u 931 drivers/media/pci/ttpci/av7110_hw.c u16 y, u, v; u 935 drivers/media/pci/ttpci/av7110_hw.c u = 2048 + B * 8 -(y >> 5); /* Cr 0..4095 */ u 939 drivers/media/pci/ttpci/av7110_hw.c Cb = u / 16; u 1445 drivers/media/pci/tw5864/tw5864-video.c .u.motion_det = { u 1335 drivers/media/platform/aspeed-video.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 1723 drivers/media/platform/coda/coda-common.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 70 drivers/media/platform/coda/coda-mpeg2.c } u = { { 0x00, 0x00, 0x01, 0xb5 } }; u 77 drivers/media/platform/coda/coda-mpeg2.c (size >= 25 && memcmp(buf + 22, u.start_code_prefix, 3) == 0)) && u 78 drivers/media/platform/coda/coda-mpeg2.c memcmp(buf + 12, u.extension_start, 4) == 0) u 82 drivers/media/platform/coda/coda-mpeg2.c (size > 89 && memcmp(buf + 86, u.start_code_prefix, 3) == 0)) && u 83 drivers/media/platform/coda/coda-mpeg2.c memcmp(buf + 76, u.extension_start, 4) == 0) u 67 drivers/media/platform/coda/coda-mpeg4.c } u = { { 0x00, 0x00, 0x01, 0xb5 } }; u 71 drivers/media/platform/coda/coda-mpeg4.c memcmp(buf + 5, u.vo_start, 4) != 0) u 75 drivers/media/platform/coda/coda-mpeg4.c (size >= 33 && memcmp(buf + 30, u.start_code_prefix, 3) == 0)) u 79 drivers/media/platform/coda/coda-mpeg4.c (size >= 34 && memcmp(buf + 31, u.start_code_prefix, 3) == 0)) u 83 drivers/media/platform/coda/coda-mpeg4.c (size >= 35 && memcmp(buf + 32, u.start_code_prefix, 3) == 0)) u 328 drivers/media/platform/marvell-ccic/mcam-core.c dma_addr_t y, u = 0, v = 0; u 334 drivers/media/platform/marvell-ccic/mcam-core.c u = y + pixel_count; u 335 drivers/media/platform/marvell-ccic/mcam-core.c v = u + pixel_count / 4; u 339 drivers/media/platform/marvell-ccic/mcam-core.c u = v + pixel_count / 4; u 347 drivers/media/platform/marvell-ccic/mcam-core.c mcam_reg_write(cam, REG_U0BAR + frame * 4, u); u 436 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c .u.src_change.changes = u 254 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c .u.src_change.changes = u 1467 drivers/media/platform/omap3isp/ispccdc.c event.u.frame_sync.frame_sequence = atomic_read(&pipe->frame_number); u 461 drivers/media/platform/omap3isp/ispstat.c struct omap3isp_stat_event_status *status = (void *)event.u.data; u 1171 drivers/media/platform/qcom/venus/vdec.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION }; u 2542 drivers/media/platform/s5p-jpeg/jpeg-core.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 396 drivers/media/platform/s5p-mfc/s5p_mfc.c .u.src_change.changes = u 675 drivers/media/platform/vicodec/vicodec-core.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 1480 drivers/media/platform/vicodec/vicodec-core.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 388 drivers/media/platform/vim2m.c u8 y, y1, u, v; u 392 drivers/media/platform/vim2m.c u = ((-4878 * (*r) - 9578 * (*g) + 14456 * (*b) u 400 drivers/media/platform/vim2m.c *(*dst)++ = u; u 788 drivers/media/platform/vivid/vivid-vid-common.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION, u 121 drivers/media/usb/as102/as102_fw.c fw_pkt->u.request[0] = 0x00; u 122 drivers/media/usb/as102/as102_fw.c fw_pkt->u.request[1] = 0x03; u 133 drivers/media/usb/as102/as102_fw.c fw_pkt->u.request[0] = 0x00; u 134 drivers/media/usb/as102/as102_fw.c fw_pkt->u.request[1] = 0x01; u 136 drivers/media/usb/as102/as102_fw.c data_len += sizeof(fw_pkt->u.request); u 19 drivers/media/usb/as102/as102_fw.h } __packed u; u 396 drivers/media/usb/as102/as10x_cmd.h } __packed u; u 63 drivers/media/usb/as102/as10x_cmd_cfg.c *pvalue = le32_to_cpu((__force __le32)prsp->body.context.rsp.reg_val.u.value32); u 95 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.context.req.reg_val.u.value32 = (__force u32)cpu_to_le32(value); u 546 drivers/media/usb/dvb-usb-v2/af9015.c stream->u.bulk.buffersize = 5 * 188; u 1908 drivers/media/usb/dvb-usb-v2/af9035.c stream->u.bulk.buffersize = 5 * 188; u 243 drivers/media/usb/dvb-usb-v2/ce6230.c .u = { u 69 drivers/media/usb/dvb-usb-v2/dvb_usb.h .u = { \ u 80 drivers/media/usb/dvb-usb-v2/dvb_usb.h .u = { \ u 157 drivers/media/usb/dvb-usb-v2/dvb_usb.h } u; u 1042 drivers/media/usb/dvb-usb-v2/mxl111sf.c stream->u.bulk.buffersize = 8192; u 1053 drivers/media/usb/dvb-usb-v2/mxl111sf.c stream->u.isoc.framesperurb = framesperurb; u 1054 drivers/media/usb/dvb-usb-v2/mxl111sf.c stream->u.isoc.framesize = framesize; u 1055 drivers/media/usb/dvb-usb-v2/mxl111sf.c stream->u.isoc.interval = 1; u 155 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.bulk.buffersize, u 173 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesperurb, GFP_ATOMIC); u 189 drivers/media/usb/dvb-usb-v2/usb_urb.c urb->interval = stream->props.u.isoc.interval; u 190 drivers/media/usb/dvb-usb-v2/usb_urb.c urb->number_of_packets = stream->props.u.isoc.framesperurb; u 191 drivers/media/usb/dvb-usb-v2/usb_urb.c urb->transfer_buffer_length = stream->props.u.isoc.framesize * u 192 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesperurb; u 195 drivers/media/usb/dvb-usb-v2/usb_urb.c for (j = 0; j < stream->props.u.isoc.framesperurb; j++) { u 198 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesize; u 199 drivers/media/usb/dvb-usb-v2/usb_urb.c frame_offset += stream->props.u.isoc.framesize; u 260 drivers/media/usb/dvb-usb-v2/usb_urb.c buf_size = stream->props.u.bulk.buffersize; u 262 drivers/media/usb/dvb-usb-v2/usb_urb.c buf_size = props->u.isoc.framesize * props->u.isoc.framesperurb; u 281 drivers/media/usb/dvb-usb-v2/usb_urb.c props->u.bulk.buffersize == u 282 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.bulk.buffersize) u 285 drivers/media/usb/dvb-usb-v2/usb_urb.c props->u.isoc.framesperurb == u 286 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesperurb && u 287 drivers/media/usb/dvb-usb-v2/usb_urb.c props->u.isoc.framesize == u 288 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesize && u 289 drivers/media/usb/dvb-usb-v2/usb_urb.c props->u.isoc.interval == u 290 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.interval) u 326 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.bulk.buffersize); u 333 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesize * u 334 drivers/media/usb/dvb-usb-v2/usb_urb.c stream->props.u.isoc.framesperurb); u 105 drivers/media/usb/dvb-usb/a800.c .u = { u 1043 drivers/media/usb/dvb-usb/af9005.c .u = { u 1117 drivers/media/usb/dvb-usb/az6027.c .u = { u 221 drivers/media/usb/dvb-usb/cinergyT2-core.c .u = { u 630 drivers/media/usb/dvb-usb/cxusb-analog.c static void cxusb_medion_v_complete(struct urb *u) u 632 drivers/media/usb/dvb-usb/cxusb-analog.c struct dvb_usb_device *dvbdev = u->context; u 637 drivers/media/usb/dvb-usb/cxusb-analog.c if (cxdev->streamurbs[i] == u) u 485 drivers/media/usb/dvb-usb/cxusb.c const int junk_len = p->u.bulk.buffersize; u 1788 drivers/media/usb/dvb-usb/cxusb.c .u = { u 1840 drivers/media/usb/dvb-usb/cxusb.c .u = { u 1899 drivers/media/usb/dvb-usb/cxusb.c .u = { u 1967 drivers/media/usb/dvb-usb/cxusb.c .u = { u 2026 drivers/media/usb/dvb-usb/cxusb.c .u = { u 2078 drivers/media/usb/dvb-usb/cxusb.c .u = { u 2132 drivers/media/usb/dvb-usb/cxusb.c .u = { u 2189 drivers/media/usb/dvb-usb/cxusb.c .u = { u 2243 drivers/media/usb/dvb-usb/cxusb.c .u = { u 2289 drivers/media/usb/dvb-usb/cxusb.c .u = { u 2343 drivers/media/usb/dvb-usb/cxusb.c .u = { u 2398 drivers/media/usb/dvb-usb/cxusb.c .u = { u 566 drivers/media/usb/dvb-usb/dib0700_core.c dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = 188*nb_packet_buffer_size; u 570 drivers/media/usb/dvb-usb/dib0700_core.c dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = ((188*nb_packet_buffer_size+188/2)/512)*512; u 571 drivers/media/usb/dvb-usb/dib0700_core.c if (dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize < 512) u 572 drivers/media/usb/dvb-usb/dib0700_core.c dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = 512; u 3935 drivers/media/usb/dvb-usb/dib0700_devices.c .u = { \ u 202 drivers/media/usb/dvb-usb/dibusb-mb.c .u = { u 292 drivers/media/usb/dvb-usb/dibusb-mb.c .u = { u 361 drivers/media/usb/dvb-usb/dibusb-mb.c .u = { u 423 drivers/media/usb/dvb-usb/dibusb-mb.c .u = { u 72 drivers/media/usb/dvb-usb/dibusb-mc.c .u = { u 318 drivers/media/usb/dvb-usb/digitv.c .u = { u 198 drivers/media/usb/dvb-usb/dtt200u.c .u = { u 250 drivers/media/usb/dvb-usb/dtt200u.c .u = { u 302 drivers/media/usb/dvb-usb/dtt200u.c .u = { u 354 drivers/media/usb/dvb-usb/dtt200u.c .u = { u 185 drivers/media/usb/dvb-usb/dtv5100.c .u = { u 119 drivers/media/usb/dvb-usb/dvb-usb.h } u; u 1929 drivers/media/usb/dvb-usb/dw2102.c .u = { u 1984 drivers/media/usb/dvb-usb/dw2102.c .u = { u 2036 drivers/media/usb/dvb-usb/dw2102.c .u = { u 2083 drivers/media/usb/dvb-usb/dw2102.c .u = { u 2174 drivers/media/usb/dvb-usb/dw2102.c .u = { u 2243 drivers/media/usb/dvb-usb/dw2102.c .u = { u 2292 drivers/media/usb/dvb-usb/dw2102.c .u = { u 342 drivers/media/usb/dvb-usb/gp8psk.c .u = { u 942 drivers/media/usb/dvb-usb/m920x.c .u = { u 990 drivers/media/usb/dvb-usb/m920x.c .u = { u 1053 drivers/media/usb/dvb-usb/m920x.c .u = { u 1077 drivers/media/usb/dvb-usb/m920x.c .u = { u 1119 drivers/media/usb/dvb-usb/m920x.c .u = { u 1173 drivers/media/usb/dvb-usb/m920x.c .u = { u 1230 drivers/media/usb/dvb-usb/m920x.c .u = { u 193 drivers/media/usb/dvb-usb/nova-t-usb2.c .u = { u 325 drivers/media/usb/dvb-usb/opera1.c int u = 0x04; u 332 drivers/media/usb/dvb-usb/opera1.c for (; u < 0x7e; u += 2) { u 333 drivers/media/usb/dvb-usb/opera1.c b_pid[0] = u; u 531 drivers/media/usb/dvb-usb/opera1.c .u = { u 974 drivers/media/usb/dvb-usb/pctv452e.c .u = { u 1027 drivers/media/usb/dvb-usb/pctv452e.c .u = { u 725 drivers/media/usb/dvb-usb/technisat-usb2.c .u = { u 668 drivers/media/usb/dvb-usb/ttusb2.c .u = { u 723 drivers/media/usb/dvb-usb/ttusb2.c .u = { u 784 drivers/media/usb/dvb-usb/ttusb2.c .u = { u 803 drivers/media/usb/dvb-usb/ttusb2.c .u = { u 111 drivers/media/usb/dvb-usb/umt-010.c .u = { u 143 drivers/media/usb/dvb-usb/usb-urb.c stream->props.u.bulk.buffersize)) < 0) u 158 drivers/media/usb/dvb-usb/usb-urb.c stream->props.u.bulk.buffersize, u 173 drivers/media/usb/dvb-usb/usb-urb.c stream->props.u.isoc.framesize*stream->props.u.isoc.framesperurb)) < 0) u 181 drivers/media/usb/dvb-usb/usb-urb.c stream->urb_list[i] = usb_alloc_urb(stream->props.u.isoc.framesperurb, GFP_KERNEL); u 196 drivers/media/usb/dvb-usb/usb-urb.c urb->interval = stream->props.u.isoc.interval; u 197 drivers/media/usb/dvb-usb/usb-urb.c urb->number_of_packets = stream->props.u.isoc.framesperurb; u 202 drivers/media/usb/dvb-usb/usb-urb.c for (j = 0; j < stream->props.u.isoc.framesperurb; j++) { u 204 drivers/media/usb/dvb-usb/usb-urb.c urb->iso_frame_desc[j].length = stream->props.u.isoc.framesize; u 205 drivers/media/usb/dvb-usb/usb-urb.c frame_offset += stream->props.u.isoc.framesize; u 396 drivers/media/usb/dvb-usb/vp702x.c .u = { u 200 drivers/media/usb/dvb-usb/vp7045.c .u = { u 394 drivers/media/usb/go7007/go7007-driver.c .u.motion_det = { u 681 drivers/media/usb/usbvision/usbvision-core.c unsigned char *f, *u = NULL, *v = NULL; u 701 drivers/media/usb/usbvision/usbvision-core.c u = frame->data u 704 drivers/media/usb/usbvision/usbvision-core.c v = u + (image_size >> 1); u 707 drivers/media/usb/usbvision/usbvision-core.c u = v + (image_size >> 2); u 784 drivers/media/usb/usbvision/usbvision-core.c *u++ = U[idx >> 1]; u 792 drivers/media/usb/usbvision/usbvision-core.c *u++ = U[idx >> 1]; u 864 drivers/media/usb/usbvision/usbvision-core.c unsigned char y[2], u, v; /* YUV components */ u 906 drivers/media/usb/usbvision/usbvision-core.c scratch_get_extra(usbvision, &u, &u_ptr, 1); u 911 drivers/media/usb/usbvision/usbvision-core.c u_ = u - 128; u 961 drivers/media/usb/usbvision/usbvision-core.c *f_even++ = u; u 1049 drivers/media/usb/usbvision/usbvision-core.c *f_odd++ = u; u 1559 drivers/media/usb/usbvision/usbvision-video.c int u; u 1576 drivers/media/usb/usbvision/usbvision-video.c u = usbvision->user; u 1583 drivers/media/usb/usbvision/usbvision-video.c if (u) { u 1213 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.value = value; u 1214 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.changes = changes; u 1215 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.type = v4l2_ctrl.type; u 1216 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.flags = v4l2_ctrl.flags; u 1217 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.minimum = v4l2_ctrl.minimum; u 1218 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.maximum = v4l2_ctrl.maximum; u 1219 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.step = v4l2_ctrl.step; u 1220 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.default_value = v4l2_ctrl.default_value; u 1036 drivers/media/v4l2-core/v4l2-compat-ioctl32.c } u; u 1049 drivers/media/v4l2-core/v4l2-compat-ioctl32.c copy_in_user(&p32->u, &p64->u, sizeof(p64->u)) || u 1468 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.changes = changes; u 1469 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.type = ctrl->type; u 1470 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.flags = user_flags(ctrl); u 1472 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.value64 = 0; u 1474 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.value64 = *ctrl->p_cur.p_s64; u 1475 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.minimum = ctrl->minimum; u 1476 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.maximum = ctrl->maximum; u 1479 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.step = 1; u 1481 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.step = ctrl->step; u 1482 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.default_value = ctrl->default_value; u 4362 drivers/media/v4l2-core/v4l2-ctrls.c u32 old_changes = old->u.ctrl.changes; u 4364 drivers/media/v4l2-core/v4l2-ctrls.c old->u.ctrl = new->u.ctrl; u 4365 drivers/media/v4l2-core/v4l2-ctrls.c old->u.ctrl.changes |= old_changes; u 4371 drivers/media/v4l2-core/v4l2-ctrls.c new->u.ctrl.changes |= old->u.ctrl.changes; u 138 drivers/media/v4l2-core/v4l2-event.c kev->event.u = ev->u; u 322 drivers/media/v4l2-core/v4l2-event.c u32 old_changes = old->u.src_change.changes; u 324 drivers/media/v4l2-core/v4l2-event.c old->u.src_change = new->u.src_change; u 325 drivers/media/v4l2-core/v4l2-event.c old->u.src_change.changes |= old_changes; u 331 drivers/media/v4l2-core/v4l2-event.c new->u.src_change.changes |= old->u.src_change.changes; u 830 drivers/media/v4l2-core/v4l2-ioctl.c prt_names(p->u.vsync.field, v4l2_field_names)); u 833 drivers/media/v4l2-core/v4l2-ioctl.c c = &p->u.ctrl; u 846 drivers/media/v4l2-core/v4l2-ioctl.c p->u.frame_sync.frame_sequence); u 378 drivers/message/fusion/lsi/mpi.h }u; u 413 drivers/message/fusion/lsi/mpi.h }u; u 477 drivers/message/fusion/lsi/mpi.h }u; u 493 drivers/message/fusion/lsi/mpi.h } u; u 507 drivers/message/fusion/lsi/mpi.h } u; u 522 drivers/message/fusion/lsi/mpi.h } u; u 80 drivers/message/fusion/lsi/mpi_targ.h } u; u 529 drivers/message/fusion/mptbase.c req_idx = le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx); u 530 drivers/message/fusion/mptbase.c cb_idx = mr->u.frame.hwhdr.msgctxu.fld.cb_idx; u 534 drivers/message/fusion/mptbase.c ioc->name, mr, req_idx, cb_idx, mr->u.hdr.Function)); u 539 drivers/message/fusion/mptbase.c ioc_stat = le16_to_cpu(mr->u.reply.IOCStatus); u 541 drivers/message/fusion/mptbase.c u32 log_info = le32_to_cpu(mr->u.reply.IOCLogInfo); u 635 drivers/message/fusion/mptbase.c switch (reply->u.hdr.Function) { u 652 drivers/message/fusion/mptbase.c 4 * reply->u.reply.MsgLength)); u 668 drivers/message/fusion/mptbase.c ioc->name, reply->u.hdr.Function); u 912 drivers/message/fusion/mptbase.c u.frame.linkage.list); u 913 drivers/message/fusion/mptbase.c list_del(&mf->u.frame.linkage.list); u 914 drivers/message/fusion/mptbase.c mf->u.frame.linkage.arg1 = 0; u 915 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; /* byte */ u 919 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); u 920 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; u 965 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; /* byte */ u 969 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); u 970 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; u 1001 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; u 1004 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); u 1005 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; u 1031 drivers/message/fusion/mptbase.c if (cpu_to_le32(mf->u.frame.linkage.arg1) == 0xdeadbeaf) u 1034 drivers/message/fusion/mptbase.c mf->u.frame.linkage.arg1 = cpu_to_le32(0xdeadbeaf); u 1035 drivers/message/fusion/mptbase.c list_add(&mf->u.frame.linkage.list, &ioc->FreeQ); u 1203 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(ii); u 1204 drivers/message/fusion/mptbase.c mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; u 4555 drivers/message/fusion/mptbase.c list_add_tail(&mf->u.frame.linkage.list, &ioc->FreeChainQ); u 4570 drivers/message/fusion/mptbase.c list_add_tail(&mf->u.frame.linkage.list, &ioc->FreeQ); u 328 drivers/message/fusion/mptbase.h } u; u 211 drivers/message/fusion/mptctl.c "(0x%02X), req=%p, reply=%p\n", ioc->name, req->u.hdr.Function, u 218 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.msg_context != req->u.hdr.MsgContext) u 227 drivers/message/fusion/mptctl.c sz = min(ioc->reply_sz, 4*reply->u.reply.MsgLength); u 230 drivers/message/fusion/mptctl.c if (reply->u.reply.IOCStatus || reply->u.reply.IOCLogInfo) u 233 drivers/message/fusion/mptctl.c le16_to_cpu(reply->u.reply.IOCStatus), u 234 drivers/message/fusion/mptctl.c le32_to_cpu(reply->u.reply.IOCLogInfo))); u 236 drivers/message/fusion/mptctl.c if ((req->u.hdr.Function == MPI_FUNCTION_SCSI_IO_REQUEST) || u 237 drivers/message/fusion/mptctl.c (req->u.hdr.Function == u 240 drivers/message/fusion/mptctl.c if (reply->u.sreply.SCSIStatus || reply->u.sreply.SCSIState) u 244 drivers/message/fusion/mptctl.c reply->u.sreply.SCSIStatus, u 245 drivers/message/fusion/mptctl.c reply->u.sreply.SCSIState, u 246 drivers/message/fusion/mptctl.c le16_to_cpu(reply->u.sreply.TaskTag), u 247 drivers/message/fusion/mptctl.c le32_to_cpu(reply->u.sreply.TransferCount))); u 249 drivers/message/fusion/mptctl.c if (reply->u.sreply.SCSIState & u 251 drivers/message/fusion/mptctl.c sz = req->u.scsireq.SenseBufferLength; u 253 drivers/message/fusion/mptctl.c le16_to_cpu(req->u.frame.hwhdr.msgctxu.fld.req_idx); u 265 drivers/message/fusion/mptctl.c if (req->u.hdr.Function == MPI_FUNCTION_SCSI_TASK_MGMT) { u 278 drivers/message/fusion/mptctl.c if (reply && (reply->u.reply.MsgFlags & u 302 drivers/message/fusion/mptctl.c min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); u 468 drivers/message/fusion/mptctl.c u8 function = mf->u.hdr.Function; u 1295 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.busNumber = pdev->bus->number; u 1296 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.deviceNumber = PCI_SLOT( pdev->devfn ); u 1297 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn ); u 1301 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.busNumber = pdev->bus->number; u 1302 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.deviceNumber = PCI_SLOT( pdev->devfn ); u 1303 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn ); u 1800 drivers/message/fusion/mptctl.c req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); u 152 drivers/message/fusion/mptctl.h } u; u 163 drivers/message/fusion/mptctl.h } u; u 244 drivers/message/fusion/mptlan.c switch (reply->u.hdr.Function) { u 1175 drivers/message/fusion/mptlan.c i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); u 1230 drivers/message/fusion/mptsas.c min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); u 2068 drivers/message/fusion/mptsas.c min(ioc->reply_sz, 4 * reply->u.reply.MsgLength)); u 4874 drivers/message/fusion/mptsas.c task_context = mf->u.frame.hwhdr.msgctxu.MsgContext; u 148 drivers/message/fusion/mptscsih.c u.frame.linkage.list); u 149 drivers/message/fusion/mptscsih.c list_del(&chainBuf->u.frame.linkage.list); u 599 drivers/message/fusion/mptscsih.c req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); u 601 drivers/message/fusion/mptscsih.c le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx) : req_idx; u 608 drivers/message/fusion/mptscsih.c (le32_to_cpu(mf->u.frame.linkage.arg1) == 0xdeadbeaf)) u 1347 drivers/message/fusion/mptscsih.c my_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); u 1476 drivers/message/fusion/mptscsih.c list_add_tail(&chain->u.frame.linkage.list, &ioc->FreeChainQ); u 1768 drivers/message/fusion/mptscsih.c ctx2abort = mf->u.frame.hwhdr.msgctxu.MsgContext; u 2067 drivers/message/fusion/mptscsih.c min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); u 2423 drivers/message/fusion/mptscsih.c req_index = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); u 2644 drivers/message/fusion/mptscsih.c min(MPT_DEFAULT_FRAME_SIZE, 4 * reply->u.reply.MsgLength)); u 2645 drivers/message/fusion/mptscsih.c cmd = reply->u.hdr.Function; u 2649 drivers/message/fusion/mptscsih.c req_idx = le16_to_cpu(req->u.frame.hwhdr.msgctxu.fld.req_idx); u 2724 drivers/message/fusion/mptscsih.c if (req->u.scsireq.CDB[0] == INQUIRY) u 2910 drivers/message/fusion/mptscsih.c my_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); u 250 drivers/mfd/lm3533-core.c } u; u 261 drivers/mfd/lm3533-core.c int id = lattr->u.output.id; u 298 drivers/mfd/lm3533-core.c int id = lattr->u.output.id; u 320 drivers/mfd/lm3533-core.c .u.output = { .id = _id }, } u 31 drivers/misc/cb710/debug.c u##t *reg, unsigned select) \ u 55 drivers/misc/cb710/debug.c const u##t *reg, unsigned select) \ u 84 drivers/misc/cb710/debug.c u##t regs[CB710_REG_COUNT/sizeof(u##t)]; \ u 740 drivers/misc/cxl/cxl.h } u; u 753 drivers/misc/cxl/cxl.h } u; u 552 drivers/misc/cxl/guest.c elem->common.u.psl8.aurp0 = cpu_to_be64(0); /* disable */ u 553 drivers/misc/cxl/guest.c elem->common.u.psl8.aurp1 = cpu_to_be64(0); /* disable */ u 557 drivers/misc/cxl/guest.c elem->common.u.psl8.sstp0 = cpu_to_be64(ctx->sstp0); u 558 drivers/misc/cxl/guest.c elem->common.u.psl8.sstp1 = cpu_to_be64(ctx->sstp1); u 746 drivers/misc/cxl/native.c ctx->elem->u.sdr = cpu_to_be64(mfspr(SPRN_SDR1)); u 757 drivers/misc/cxl/native.c ctx->elem->common.u.psl8.aurp0 = 0; /* disable */ u 758 drivers/misc/cxl/native.c ctx->elem->common.u.psl8.aurp1 = 0; /* disable */ u 762 drivers/misc/cxl/native.c ctx->elem->common.u.psl8.sstp0 = cpu_to_be64(ctx->sstp0); u 763 drivers/misc/cxl/native.c ctx->elem->common.u.psl8.sstp1 = cpu_to_be64(ctx->sstp1); u 269 drivers/misc/sgi-xp/xpc.h } u; u 1462 drivers/misc/sgi-xp/xpc_uv.c xpc_put_fifo_entry_uv(&ch_uv->recv_msg_list, &msg_slot->hdr.u.next); u 1657 drivers/misc/sgi-xp/xpc_uv.c hdr.u.next); u 139 drivers/misc/vmw_vmci/vmci_queue_pair.c } u; u 256 drivers/misc/vmw_vmci/vmci_queue_pair.c queue->kernel_if->u.g.vas[i], u 257 drivers/misc/vmw_vmci/vmci_queue_pair.c queue->kernel_if->u.g.pas[i]); u 283 drivers/misc/vmw_vmci/vmci_queue_pair.c (sizeof(*queue->kernel_if->u.g.pas) + u 284 drivers/misc/vmw_vmci/vmci_queue_pair.c sizeof(*queue->kernel_if->u.g.vas))) u 287 drivers/misc/vmw_vmci/vmci_queue_pair.c pas_size = num_pages * sizeof(*queue->kernel_if->u.g.pas); u 288 drivers/misc/vmw_vmci/vmci_queue_pair.c vas_size = num_pages * sizeof(*queue->kernel_if->u.g.vas); u 300 drivers/misc/vmw_vmci/vmci_queue_pair.c queue->kernel_if->u.g.pas = (dma_addr_t *)(queue->kernel_if + 1); u 301 drivers/misc/vmw_vmci/vmci_queue_pair.c queue->kernel_if->u.g.vas = u 302 drivers/misc/vmw_vmci/vmci_queue_pair.c (void **)((u8 *)queue->kernel_if->u.g.pas + pas_size); u 306 drivers/misc/vmw_vmci/vmci_queue_pair.c queue->kernel_if->u.g.vas[i] = u 308 drivers/misc/vmw_vmci/vmci_queue_pair.c &queue->kernel_if->u.g.pas[i], u 310 drivers/misc/vmw_vmci/vmci_queue_pair.c if (!queue->kernel_if->u.g.vas[i]) { u 318 drivers/misc/vmw_vmci/vmci_queue_pair.c queue->q_header = queue->kernel_if->u.g.vas[0]; u 346 drivers/misc/vmw_vmci/vmci_queue_pair.c va = kmap(kernel_if->u.h.page[page_index]); u 348 drivers/misc/vmw_vmci/vmci_queue_pair.c va = kernel_if->u.g.vas[page_index + 1]; u 360 drivers/misc/vmw_vmci/vmci_queue_pair.c kunmap(kernel_if->u.h.page[page_index]); u 365 drivers/misc/vmw_vmci/vmci_queue_pair.c kunmap(kernel_if->u.h.page[page_index]); u 394 drivers/misc/vmw_vmci/vmci_queue_pair.c va = kmap(kernel_if->u.h.page[page_index]); u 396 drivers/misc/vmw_vmci/vmci_queue_pair.c va = kernel_if->u.g.vas[page_index + 1]; u 408 drivers/misc/vmw_vmci/vmci_queue_pair.c kunmap(kernel_if->u.h.page[page_index]); u 413 drivers/misc/vmw_vmci/vmci_queue_pair.c kunmap(kernel_if->u.h.page[page_index]); u 459 drivers/misc/vmw_vmci/vmci_queue_pair.c produce_q->kernel_if->u.g.pas[i] >> PAGE_SHIFT; u 463 drivers/misc/vmw_vmci/vmci_queue_pair.c consume_q->kernel_if->u.g.pas[i] >> PAGE_SHIFT; u 535 drivers/misc/vmw_vmci/vmci_queue_pair.c sizeof(*queue->kernel_if->u.h.page)) u 538 drivers/misc/vmw_vmci/vmci_queue_pair.c queue_page_size = num_pages * sizeof(*queue->kernel_if->u.h.page); u 548 drivers/misc/vmw_vmci/vmci_queue_pair.c queue->kernel_if->u.h.header_page = u 550 drivers/misc/vmw_vmci/vmci_queue_pair.c queue->kernel_if->u.h.page = u 551 drivers/misc/vmw_vmci/vmci_queue_pair.c &queue->kernel_if->u.h.header_page[1]; u 656 drivers/misc/vmw_vmci/vmci_queue_pair.c produce_q->kernel_if->u.h.header_page); u 660 drivers/misc/vmw_vmci/vmci_queue_pair.c qp_release_pages(produce_q->kernel_if->u.h.header_page, u 669 drivers/misc/vmw_vmci/vmci_queue_pair.c consume_q->kernel_if->u.h.header_page); u 673 drivers/misc/vmw_vmci/vmci_queue_pair.c qp_release_pages(consume_q->kernel_if->u.h.header_page, u 675 drivers/misc/vmw_vmci/vmci_queue_pair.c qp_release_pages(produce_q->kernel_if->u.h.header_page, u 716 drivers/misc/vmw_vmci/vmci_queue_pair.c qp_release_pages(produce_q->kernel_if->u.h.header_page, u 718 drivers/misc/vmw_vmci/vmci_queue_pair.c memset(produce_q->kernel_if->u.h.header_page, 0, u 719 drivers/misc/vmw_vmci/vmci_queue_pair.c sizeof(*produce_q->kernel_if->u.h.header_page) * u 721 drivers/misc/vmw_vmci/vmci_queue_pair.c qp_release_pages(consume_q->kernel_if->u.h.header_page, u 723 drivers/misc/vmw_vmci/vmci_queue_pair.c memset(consume_q->kernel_if->u.h.header_page, 0, u 724 drivers/misc/vmw_vmci/vmci_queue_pair.c sizeof(*consume_q->kernel_if->u.h.header_page) * u 747 drivers/misc/vmw_vmci/vmci_queue_pair.c if (produce_q->kernel_if->u.h.header_page == NULL || u 748 drivers/misc/vmw_vmci/vmci_queue_pair.c *produce_q->kernel_if->u.h.header_page == NULL) u 751 drivers/misc/vmw_vmci/vmci_queue_pair.c headers[0] = *produce_q->kernel_if->u.h.header_page; u 752 drivers/misc/vmw_vmci/vmci_queue_pair.c headers[1] = *consume_q->kernel_if->u.h.header_page; u 662 drivers/mmc/host/sdhci-acpi.c const struct sdhci_acpi_uid_slot *u; u 664 drivers/mmc/host/sdhci-acpi.c for (u = sdhci_acpi_uids; u->hid; u++) { u 665 drivers/mmc/host/sdhci-acpi.c if (strcmp(u->hid, hid)) u 667 drivers/mmc/host/sdhci-acpi.c if (!u->uid) u 668 drivers/mmc/host/sdhci-acpi.c return u->slot; u 669 drivers/mmc/host/sdhci-acpi.c if (uid && !strcmp(u->uid, uid)) u 670 drivers/mmc/host/sdhci-acpi.c return u->slot; u 574 drivers/mtd/inftlcore.c + 8, 8, &retlen, (char *)&oob.u); u 575 drivers/mtd/inftlcore.c anac = oob.u.a.ANAC + 1; u 576 drivers/mtd/inftlcore.c nacs = oob.u.a.NACs + 1; u 588 drivers/mtd/inftlcore.c oob.u.a.virtualUnitNo = cpu_to_le16(thisVUC); u 589 drivers/mtd/inftlcore.c oob.u.a.prevUnitNo = cpu_to_le16(prev_block); u 590 drivers/mtd/inftlcore.c oob.u.a.ANAC = anac; u 591 drivers/mtd/inftlcore.c oob.u.a.NACs = nacs; u 592 drivers/mtd/inftlcore.c oob.u.a.parityPerField = parity; u 593 drivers/mtd/inftlcore.c oob.u.a.discarded = 0xaa; u 596 drivers/mtd/inftlcore.c &retlen, (char *)&oob.u); u 599 drivers/mtd/inftlcore.c oob.u.b.virtualUnitNo = cpu_to_le16(thisVUC); u 600 drivers/mtd/inftlcore.c oob.u.b.prevUnitNo = cpu_to_le16(prev_block); u 601 drivers/mtd/inftlcore.c oob.u.b.ANAC = anac; u 602 drivers/mtd/inftlcore.c oob.u.b.NACs = nacs; u 603 drivers/mtd/inftlcore.c oob.u.b.parityPerField = parity; u 604 drivers/mtd/inftlcore.c oob.u.b.discarded = 0xaa; u 607 drivers/mtd/inftlcore.c SECTORSIZE * 4 + 8, 8, &retlen, (char *)&oob.u); u 78 drivers/mtd/maps/scx200_docflash.c unsigned u; u 112 drivers/mtd/maps/scx200_docflash.c for (u = size; u > 1; u >>= 1) u 114 drivers/mtd/maps/scx200_docflash.c if (u != 1) u 131 drivers/mtd/maps/scx200_docflash.c for (u = size; u > 1; u >>= 1) u 133 drivers/mtd/maps/scx200_docflash.c if (u != 1) { u 270 drivers/mtd/nftlcore.c foldmark = oob.u.c.FoldMark | oob.u.c.FoldMark1; u 380 drivers/mtd/nftlcore.c oob.u.c.FoldMark = oob.u.c.FoldMark1 = cpu_to_le16(FOLD_MARK_IN_PROGRESS); u 381 drivers/mtd/nftlcore.c oob.u.c.unused = 0xffffffff; u 383 drivers/mtd/nftlcore.c 8, &retlen, (char *)&oob.u); u 428 drivers/mtd/nftlcore.c oob.u.a.VirtUnitNum = oob.u.a.SpareVirtUnitNum = cpu_to_le16(thisVUC); u 429 drivers/mtd/nftlcore.c oob.u.a.ReplUnitNum = oob.u.a.SpareReplUnitNum = BLOCK_NIL; u 432 drivers/mtd/nftlcore.c 8, &retlen, (char *)&oob.u); u 641 drivers/mtd/nftlcore.c &retlen, (char *)&oob.u); u 643 drivers/mtd/nftlcore.c oob.u.a.VirtUnitNum = oob.u.a.SpareVirtUnitNum = cpu_to_le16(thisVUC); u 646 drivers/mtd/nftlcore.c &retlen, (char *)&oob.u); u 656 drivers/mtd/nftlcore.c 8, &retlen, (char *)&oob.u); u 658 drivers/mtd/nftlcore.c oob.u.a.ReplUnitNum = oob.u.a.SpareReplUnitNum u 662 drivers/mtd/nftlcore.c 8, &retlen, (char *)&oob.u); u 251 drivers/mtd/ubi/attach.c list_add(&aeb->u.list, list); u 253 drivers/mtd/ubi/attach.c list_add_tail(&aeb->u.list, list); u 279 drivers/mtd/ubi/attach.c list_add(&aeb->u.list, &ai->corr); u 307 drivers/mtd/ubi/attach.c list_add(&aeb->u.list, &ai->fastmap); u 595 drivers/mtd/ubi/attach.c aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); u 704 drivers/mtd/ubi/attach.c rb_link_node(&aeb->u.rb, parent, p); u 705 drivers/mtd/ubi/attach.c rb_insert_color(&aeb->u.rb, &av->root); u 825 drivers/mtd/ubi/attach.c aeb = list_entry(ai->free.next, struct ubi_ainf_peb, u.list); u 826 drivers/mtd/ubi/attach.c list_del(&aeb->u.list); u 837 drivers/mtd/ubi/attach.c list_for_each_entry_safe(aeb, tmp_aeb, &ai->erase, u.list) { u 846 drivers/mtd/ubi/attach.c list_del(&aeb->u.list); u 1224 drivers/mtd/ubi/attach.c list_for_each_entry(aeb, &ai->corr, u.list) u 1289 drivers/mtd/ubi/attach.c aeb = rb_entry(this, struct ubi_ainf_peb, u.rb); u 1292 drivers/mtd/ubi/attach.c if (this->rb_left == &aeb->u.rb) u 1299 drivers/mtd/ubi/attach.c list_add_tail(&aeb->u.list, list); u 1317 drivers/mtd/ubi/attach.c list_for_each_entry_safe(aeb, aeb_tmp, &ai->alien, u.list) { u 1318 drivers/mtd/ubi/attach.c list_del(&aeb->u.list); u 1321 drivers/mtd/ubi/attach.c list_for_each_entry_safe(aeb, aeb_tmp, &ai->erase, u.list) { u 1322 drivers/mtd/ubi/attach.c list_del(&aeb->u.list); u 1325 drivers/mtd/ubi/attach.c list_for_each_entry_safe(aeb, aeb_tmp, &ai->corr, u.list) { u 1326 drivers/mtd/ubi/attach.c list_del(&aeb->u.list); u 1329 drivers/mtd/ubi/attach.c list_for_each_entry_safe(aeb, aeb_tmp, &ai->free, u.list) { u 1330 drivers/mtd/ubi/attach.c list_del(&aeb->u.list); u 1333 drivers/mtd/ubi/attach.c list_for_each_entry_safe(aeb, aeb_tmp, &ai->fastmap, u.list) { u 1334 drivers/mtd/ubi/attach.c list_del(&aeb->u.list); u 1416 drivers/mtd/ubi/attach.c ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) u 1421 drivers/mtd/ubi/attach.c list_for_each_entry(aeb, &ai->free, u.list) { u 1426 drivers/mtd/ubi/attach.c list_for_each_entry(aeb, &ai->corr, u.list) u 1430 drivers/mtd/ubi/attach.c list_for_each_entry(aeb, &ai->erase, u.list) u 1717 drivers/mtd/ubi/attach.c ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) { u 1790 drivers/mtd/ubi/attach.c ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) { u 1877 drivers/mtd/ubi/attach.c ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) u 1880 drivers/mtd/ubi/attach.c list_for_each_entry(aeb, &ai->free, u.list) u 1883 drivers/mtd/ubi/attach.c list_for_each_entry(aeb, &ai->corr, u.list) u 1886 drivers/mtd/ubi/attach.c list_for_each_entry(aeb, &ai->erase, u.list) u 1889 drivers/mtd/ubi/attach.c list_for_each_entry(aeb, &ai->alien, u.list) u 1564 drivers/mtd/ubi/eba.c ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) u 1571 drivers/mtd/ubi/eba.c ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) u 1648 drivers/mtd/ubi/eba.c ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) { u 32 drivers/mtd/ubi/fastmap-wl.c ubi_rb_for_each_entry(p, e, root, u.rb) { u 65 drivers/mtd/ubi/fastmap-wl.c ubi_rb_for_each_entry(p, e, root, u.rb) u 100 drivers/mtd/ubi/fastmap-wl.c rb_erase(&e->u.rb, &ubi->free); u 147 drivers/mtd/ubi/fastmap-wl.c rb_erase(&e->u.rb, &ubi->free); u 380 drivers/mtd/ubi/fastmap-wl.c struct ubi_wl_entry, u.rb); u 158 drivers/mtd/ubi/fastmap.c list_add_tail(&aeb->u.list, list); u 213 drivers/mtd/ubi/fastmap.c tmp_aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); u 225 drivers/mtd/ubi/fastmap.c list_del(&aeb->u.list); u 228 drivers/mtd/ubi/fastmap.c rb_link_node(&aeb->u.rb, parent, p); u 229 drivers/mtd/ubi/fastmap.c rb_insert_color(&aeb->u.rb, &av->root); u 252 drivers/mtd/ubi/fastmap.c aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); u 284 drivers/mtd/ubi/fastmap.c list_add_tail(&victim->u.list, &ai->erase); u 304 drivers/mtd/ubi/fastmap.c list_add_tail(&new_aeb->u.list, &ai->erase); u 321 drivers/mtd/ubi/fastmap.c rb_link_node(&new_aeb->u.rb, parent, p); u 322 drivers/mtd/ubi/fastmap.c rb_insert_color(&new_aeb->u.rb, &av->root); u 377 drivers/mtd/ubi/fastmap.c ubi_rb_for_each_entry(node2, aeb, &av->root, u.rb) { u 379 drivers/mtd/ubi/fastmap.c rb_erase(&aeb->u.rb, &av->root); u 524 drivers/mtd/ubi/fastmap.c list_for_each_entry(aeb, &ai->erase, u.list) u 527 drivers/mtd/ubi/fastmap.c list_for_each_entry(aeb, &ai->free, u.list) u 531 drivers/mtd/ubi/fastmap.c ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) u 731 drivers/mtd/ubi/fastmap.c list_for_each_entry(tmp_aeb, &used, u.list) { u 766 drivers/mtd/ubi/fastmap.c list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &free, u.list) u 767 drivers/mtd/ubi/fastmap.c list_move_tail(&tmp_aeb->u.list, &ai->free); u 769 drivers/mtd/ubi/fastmap.c list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) u 770 drivers/mtd/ubi/fastmap.c list_move_tail(&tmp_aeb->u.list, &ai->erase); u 789 drivers/mtd/ubi/fastmap.c list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) { u 790 drivers/mtd/ubi/fastmap.c list_del(&tmp_aeb->u.list); u 793 drivers/mtd/ubi/fastmap.c list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &free, u.list) { u 794 drivers/mtd/ubi/fastmap.c list_del(&tmp_aeb->u.list); u 811 drivers/mtd/ubi/fastmap.c list_for_each_entry(aeb, &ai->fastmap, u.list) { u 869 drivers/mtd/ubi/fastmap.c list_for_each_entry(aeb, &scan_ai->fastmap, u.list) { u 876 drivers/mtd/ubi/fastmap.c list_add(&new->u.list, &ai->fastmap); u 182 drivers/mtd/ubi/ubi.h } u; u 684 drivers/mtd/ubi/ubi.h } u; u 912 drivers/mtd/ubi/ubi.h int ubi_thread(void *u); u 1001 drivers/mtd/ubi/ubi.h ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->free, u.rb) u 1010 drivers/mtd/ubi/ubi.h ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->used, u.rb) u 1019 drivers/mtd/ubi/ubi.h ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->scrub, u.rb) u 1029 drivers/mtd/ubi/ubi.h list_for_each_entry((e), &(ubi->pq[(i)]), u.list) u 1056 drivers/mtd/ubi/ubi.h rb_erase(&aeb->u.rb, &av->root); u 1057 drivers/mtd/ubi/ubi.h list_add_tail(&aeb->u.list, list); u 341 drivers/mtd/ubi/vtbl.c list_add(&new_aeb->u.list, &ai->erase); u 399 drivers/mtd/ubi/vtbl.c ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) { u 148 drivers/mtd/ubi/wl.c e1 = rb_entry(parent, struct ubi_wl_entry, u.rb); u 163 drivers/mtd/ubi/wl.c rb_link_node(&e->u.rb, parent, p); u 164 drivers/mtd/ubi/wl.c rb_insert_color(&e->u.rb, root); u 244 drivers/mtd/ubi/wl.c e1 = rb_entry(p, struct ubi_wl_entry, u.rb); u 281 drivers/mtd/ubi/wl.c list_for_each_entry(p, &ubi->pq[i], u.list) u 305 drivers/mtd/ubi/wl.c list_add_tail(&e->u.list, &ubi->pq[pq_tail]); u 325 drivers/mtd/ubi/wl.c e = rb_entry(rb_first(root), struct ubi_wl_entry, u.rb); u 332 drivers/mtd/ubi/wl.c e1 = rb_entry(p, struct ubi_wl_entry, u.rb); u 366 drivers/mtd/ubi/wl.c first = rb_entry(rb_first(root), struct ubi_wl_entry, u.rb); u 367 drivers/mtd/ubi/wl.c last = rb_entry(rb_last(root), struct ubi_wl_entry, u.rb); u 370 drivers/mtd/ubi/wl.c e = rb_entry(root->rb_node, struct ubi_wl_entry, u.rb); u 406 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->free); u 432 drivers/mtd/ubi/wl.c list_del(&e->u.list); u 518 drivers/mtd/ubi/wl.c list_for_each_entry_safe(e, tmp, &ubi->pq[ubi->pq_head], u.list) { u 522 drivers/mtd/ubi/wl.c list_del(&e->u.list); u 720 drivers/mtd/ubi/wl.c rb_erase(&e1->u.rb, &ubi->used); u 731 drivers/mtd/ubi/wl.c e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb); u 746 drivers/mtd/ubi/wl.c rb_erase(&e1->u.rb, &ubi->used); u 752 drivers/mtd/ubi/wl.c e1 = rb_entry(rb_first(&ubi->scrub), struct ubi_wl_entry, u.rb); u 758 drivers/mtd/ubi/wl.c rb_erase(&e1->u.rb, &ubi->scrub); u 1036 drivers/mtd/ubi/wl.c e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb); u 1275 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->used); u 1278 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->scrub); u 1281 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->erroneous); u 1350 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->used); u 1546 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->used); u 1552 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->free); u 1597 drivers/mtd/ubi/wl.c e = rb_entry(rb, struct ubi_wl_entry, u.rb); u 1601 drivers/mtd/ubi/wl.c if (rb->rb_left == &e->u.rb) u 1616 drivers/mtd/ubi/wl.c int ubi_thread(void *u) u 1619 drivers/mtd/ubi/wl.c struct ubi_device *ubi = u; u 1762 drivers/mtd/ubi/wl.c list_for_each_entry_safe(aeb, tmp, &ai->erase, u.list) { u 1772 drivers/mtd/ubi/wl.c list_for_each_entry(aeb, &ai->free, u.list) { u 1794 drivers/mtd/ubi/wl.c ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) { u 1821 drivers/mtd/ubi/wl.c list_for_each_entry(aeb, &ai->fastmap, u.list) { u 1906 drivers/mtd/ubi/wl.c list_for_each_entry_safe(e, tmp, &ubi->pq[i], u.list) { u 1907 drivers/mtd/ubi/wl.c list_del(&e->u.list); u 2029 drivers/mtd/ubi/wl.c rb_erase(&e->u.rb, &ubi->free); u 317 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c } u; u 357 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.tid = transid & 0xff; u 360 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.channel = priv->channel; u 364 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd_tx_can_flags = &cmd->u.tx_can.leaf.flags; u 367 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd_tx_can_flags = &cmd->u.tx_can.usbcan.flags; u 375 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[0] = (cf->can_id >> 24) & 0x1f; u 376 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[1] = (cf->can_id >> 18) & 0x3f; u 377 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[2] = (cf->can_id >> 14) & 0x0f; u 378 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[3] = (cf->can_id >> 6) & 0xff; u 379 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[4] = cf->can_id & 0x3f; u 382 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[0] = (cf->can_id >> 6) & 0x1f; u 383 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[1] = cf->can_id & 0x3f; u 386 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[5] = cf->can_dlc; u 387 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c memcpy(&cmd->u.tx_can.data[6], cf->data, cf->can_dlc); u 465 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.simple.channel = channel; u 466 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.simple.tid = 0xff; u 489 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c dev->fw_version = le32_to_cpu(cmd.u.leaf.softinfo.fw_version); u 491 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c le16_to_cpu(cmd.u.leaf.softinfo.max_outstanding_tx); u 494 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c dev->fw_version = le32_to_cpu(cmd.u.usbcan.softinfo.fw_version); u 496 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c le16_to_cpu(cmd.u.usbcan.softinfo.max_outstanding_tx); u 533 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c dev->nchannels = cmd.u.cardinfo.nchannels; u 551 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c channel = cmd->u.tx_acknowledge_header.channel; u 552 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c tid = cmd->u.tx_acknowledge_header.tid; u 617 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.simple.channel = priv->channel; u 832 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.channel = cmd->u.usbcan.chip_state_event.channel; u 833 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.status = cmd->u.usbcan.chip_state_event.status; u 834 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.txerr = cmd->u.usbcan.chip_state_event.tx_errors_count; u 835 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.rxerr = cmd->u.usbcan.chip_state_event.rx_errors_count; u 841 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.status = cmd->u.usbcan.error_event.status_ch0; u 842 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.txerr = cmd->u.usbcan.error_event.tx_errors_count_ch0; u 843 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.rxerr = cmd->u.usbcan.error_event.rx_errors_count_ch0; u 845 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.usbcan.error_event.status_ch1; u 853 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.status = cmd->u.usbcan.error_event.status_ch1; u 855 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.usbcan.error_event.tx_errors_count_ch1; u 857 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.usbcan.error_event.rx_errors_count_ch1; u 859 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.usbcan.error_event.status_ch0; u 876 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.channel = cmd->u.leaf.error_event.channel; u 877 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.status = cmd->u.leaf.error_event.status; u 878 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.txerr = cmd->u.leaf.error_event.tx_errors_count; u 879 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.rxerr = cmd->u.leaf.error_event.rx_errors_count; u 880 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.leaf.error_factor = cmd->u.leaf.error_event.error_factor; u 883 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.channel = cmd->u.leaf.log_message.channel; u 884 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.status = cmd->u.leaf.log_message.data[0]; u 885 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.txerr = cmd->u.leaf.log_message.data[2]; u 886 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.rxerr = cmd->u.leaf.log_message.data[3]; u 887 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.leaf.error_factor = cmd->u.leaf.log_message.data[1]; u 890 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.channel = cmd->u.leaf.chip_state_event.channel; u 891 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.status = cmd->u.leaf.chip_state_event.status; u 892 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.txerr = cmd->u.leaf.chip_state_event.tx_errors_count; u 893 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c es.rxerr = cmd->u.leaf.chip_state_event.rx_errors_count; u 907 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (cmd->u.rx_can_header.flag & (MSG_FLAG_ERROR_FRAME | u 912 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.rx_can_header.flag); u 918 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (cmd->u.rx_can_header.flag & MSG_FLAG_OVERRUN) u 929 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c u8 channel = cmd->u.rx_can_header.channel; u 941 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if ((cmd->u.rx_can_header.flag & MSG_FLAG_ERROR_FRAME) && u 946 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c } else if (cmd->u.rx_can_header.flag & (MSG_FLAG_ERROR_FRAME | u 951 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c } else if (cmd->u.rx_can_header.flag & ~MSG_FLAG_REMOTE_FRAME) { u 954 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.rx_can_header.flag); u 960 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c rx_data = cmd->u.leaf.rx_can.data; u 963 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c rx_data = cmd->u.usbcan.rx_can.data; u 975 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cf->can_id = le32_to_cpu(cmd->u.leaf.log_message.id); u 981 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cf->can_dlc = get_can_dlc(cmd->u.leaf.log_message.dlc); u 983 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (cmd->u.leaf.log_message.flags & MSG_FLAG_REMOTE_FRAME) u 986 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c memcpy(cf->data, &cmd->u.leaf.log_message.data, u 1001 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (cmd->u.rx_can_header.flag & MSG_FLAG_REMOTE_FRAME) u 1016 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c u8 channel = cmd->u.simple.channel; u 1039 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c u8 channel = cmd->u.simple.channel; u 1149 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.ctrl_mode.tid = 0xff; u 1150 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.ctrl_mode.channel = priv->channel; u 1153 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.ctrl_mode.ctrl_mode = KVASER_CTRL_MODE_SILENT; u 1155 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.ctrl_mode.ctrl_mode = KVASER_CTRL_MODE_NORMAL; u 1215 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.flush_queue.channel = priv->channel; u 1216 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.flush_queue.flags = 0x00; u 1260 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.busparams.channel = priv->channel; u 1261 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.busparams.tid = 0xff; u 1262 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.busparams.bitrate = cpu_to_le32(bt->bitrate); u 1263 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.busparams.sjw = bt->sjw; u 1264 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.busparams.tseg1 = bt->prop_seg + bt->phase_seg1; u 1265 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.busparams.tseg2 = bt->phase_seg2; u 1268 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.busparams.no_samp = 3; u 1270 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.busparams.no_samp = 1; u 68 drivers/net/can/usb/peak_usb/pcan_usb_pro.c } u; u 100 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pm->u.rec_buffer = (u8 *)buffer_addr; u 102 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pm->rec_ptr = pm->u.rec_buffer + PCAN_USBPRO_MSG_HEADER_LEN; u 114 drivers/net/can/usb/peak_usb/pcan_usb_pro.c *pm->u.rec_cnt = 0; u 189 drivers/net/can/usb/peak_usb/pcan_usb_pro.c *pm->u.rec_cnt = cpu_to_le32(le32_to_cpu(*pm->u.rec_cnt) + 1); u 216 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pum->u.rec_buffer, pum->rec_buffer_len, u 238 drivers/net/can/usb/peak_usb/pcan_usb_pro.c req_data_type = pum->u.rec_buffer[4]; u 239 drivers/net/can/usb/peak_usb/pcan_usb_pro.c req_channel = pum->u.rec_buffer[5]; u 241 drivers/net/can/usb/peak_usb/pcan_usb_pro.c *pum->u.rec_cnt = 0; u 251 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pum->u.rec_buffer, pum->rec_buffer_len, u 269 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pc = pcan_msg_init(&rsp, pum->u.rec_buffer, u 272 drivers/net/can/usb/peak_usb/pcan_usb_pro.c rec_cnt = le32_to_cpu(*rsp.u.rec_cnt); u 281 drivers/net/can/usb/peak_usb/pcan_usb_pro.c pcan_dump_mem("rcvd rsp msg", pum->u.rec_buffer, u 703 drivers/net/can/usb/peak_usb/pcan_usb_pro.c rec_cnt = le16_to_cpu(*usb_msg.u.rec_cnt_rd); u 974 drivers/net/dsa/lan9303-core.c unsigned int u; u 979 drivers/net/dsa/lan9303-core.c for (u = 0; u < ARRAY_SIZE(lan9303_mib); u++) { u 980 drivers/net/dsa/lan9303-core.c strncpy(data + u * ETH_GSTRING_LEN, lan9303_mib[u].name, u 989 drivers/net/dsa/lan9303-core.c unsigned int u; u 991 drivers/net/dsa/lan9303-core.c for (u = 0; u < ARRAY_SIZE(lan9303_mib); u++) { u 996 drivers/net/dsa/lan9303-core.c chip, port, lan9303_mib[u].offset, ®); u 1000 drivers/net/dsa/lan9303-core.c port, lan9303_mib[u].offset); u 1001 drivers/net/dsa/lan9303-core.c data[u] = reg; u 125 drivers/net/dsa/realtek-smi-core.c u32 u; u 132 drivers/net/dsa/realtek-smi-core.c u = !!gpiod_get_value(smi->mdio); u 135 drivers/net/dsa/realtek-smi-core.c *data |= (u << (len - 1)); u 669 drivers/net/ethernet/3com/3c59x.c static u ## size \ u 673 drivers/net/ethernet/3com/3c59x.c u ## size ret; \ u 681 drivers/net/ethernet/3com/3c59x.c window_write ## size(struct vortex_private *vp, u ## size value, \ u 174 drivers/net/ethernet/amazon/ena/ena_admin_defs.h } u; u 367 drivers/net/ethernet/amazon/ena/ena_admin_defs.h } u; u 923 drivers/net/ethernet/amazon/ena/ena_admin_defs.h } u; u 956 drivers/net/ethernet/amazon/ena/ena_admin_defs.h } u; u 964 drivers/net/ethernet/amazon/ena/ena_admin_defs.h } u; u 616 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.llq.header_location_ctrl_enabled = llq_info->header_location_ctrl; u 617 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.llq.entry_size_ctrl_enabled = llq_info->desc_list_entry_size_ctrl; u 618 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.llq.desc_num_before_header_enabled = llq_info->descs_num_before_header; u 619 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.llq.descriptors_stride_ctrl_enabled = llq_info->desc_stride_ctrl; u 1142 drivers/net/ethernet/amazon/ena/ena_com.c if ((get_resp.u.ind_table.min_size > log_size) || u 1143 drivers/net/ethernet/amazon/ena/ena_com.c (get_resp.u.ind_table.max_size < log_size)) { u 1145 drivers/net/ethernet/amazon/ena/ena_com.c 1 << log_size, 1 << get_resp.u.ind_table.min_size, u 1146 drivers/net/ethernet/amazon/ena/ena_com.c 1 << get_resp.u.ind_table.max_size); u 1533 drivers/net/ethernet/amazon/ena/ena_com.c if ((get_resp.u.aenq.supported_groups & groups_flag) != groups_flag) { u 1535 drivers/net/ethernet/amazon/ena/ena_com.c get_resp.u.aenq.supported_groups, groups_flag); u 1545 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.aenq.enabled_groups = groups_flag; u 1916 drivers/net/ethernet/amazon/ena/ena_com.c memcpy(&get_feat_ctx->dev_attr, &get_resp.u.dev_attr, u 1917 drivers/net/ethernet/amazon/ena/ena_com.c sizeof(get_resp.u.dev_attr)); u 1918 drivers/net/ethernet/amazon/ena/ena_com.c ena_dev->supported_features = get_resp.u.dev_attr.supported_features; u 1927 drivers/net/ethernet/amazon/ena/ena_com.c if (get_resp.u.max_queue_ext.version != ENA_FEATURE_MAX_QUEUE_EXT_VER) u 1930 drivers/net/ethernet/amazon/ena/ena_com.c memcpy(&get_feat_ctx->max_queue_ext, &get_resp.u.max_queue_ext, u 1931 drivers/net/ethernet/amazon/ena/ena_com.c sizeof(get_resp.u.max_queue_ext)); u 1933 drivers/net/ethernet/amazon/ena/ena_com.c get_resp.u.max_queue_ext.max_queue_ext.max_tx_header_size; u 1937 drivers/net/ethernet/amazon/ena/ena_com.c memcpy(&get_feat_ctx->max_queues, &get_resp.u.max_queue, u 1938 drivers/net/ethernet/amazon/ena/ena_com.c sizeof(get_resp.u.max_queue)); u 1940 drivers/net/ethernet/amazon/ena/ena_com.c get_resp.u.max_queue.max_header_size; u 1951 drivers/net/ethernet/amazon/ena/ena_com.c memcpy(&get_feat_ctx->aenq, &get_resp.u.aenq, u 1952 drivers/net/ethernet/amazon/ena/ena_com.c sizeof(get_resp.u.aenq)); u 1959 drivers/net/ethernet/amazon/ena/ena_com.c memcpy(&get_feat_ctx->offload, &get_resp.u.offload, u 1960 drivers/net/ethernet/amazon/ena/ena_com.c sizeof(get_resp.u.offload)); u 1968 drivers/net/ethernet/amazon/ena/ena_com.c memcpy(&get_feat_ctx->hw_hints, &get_resp.u.hw_hints, u 1969 drivers/net/ethernet/amazon/ena/ena_com.c sizeof(get_resp.u.hw_hints)); u 1978 drivers/net/ethernet/amazon/ena/ena_com.c memcpy(&get_feat_ctx->llq, &get_resp.u.llq, u 1979 drivers/net/ethernet/amazon/ena/ena_com.c sizeof(get_resp.u.llq)); u 2192 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.mtu.mtu = mtu; u 2219 drivers/net/ethernet/amazon/ena/ena_com.c memcpy(offload, &resp.u.offload, sizeof(resp.u.offload)); u 2246 drivers/net/ethernet/amazon/ena/ena_com.c if (!(get_resp.u.flow_hash_func.supported_func & BIT(rss->hash_func))) { u 2258 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.flow_hash_func.init_val = rss->hash_init_val; u 2259 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.flow_hash_func.selected_func = 1 << rss->hash_func; u 2306 drivers/net/ethernet/amazon/ena/ena_com.c if (!((1 << func) & get_resp.u.flow_hash_func.supported_func)) { u 2360 drivers/net/ethernet/amazon/ena/ena_com.c rss->hash_func = ffs(get_resp.u.flow_hash_func.selected_func); u 2416 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.flow_hash_input.enabled_input_sort = u 2581 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.ind_table.size = rss->tbl_log_size; u 2582 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.ind_table.inline_index = 0xFFFFFFFF; u 2756 drivers/net/ethernet/amazon/ena/ena_com.c &cmd.u.host_attr.debug_ba, u 2764 drivers/net/ethernet/amazon/ena/ena_com.c &cmd.u.host_attr.os_info_ba, u 2771 drivers/net/ethernet/amazon/ena/ena_com.c cmd.u.host_attr.debug_area_size = host_attr->debug_area_size; u 2847 drivers/net/ethernet/amazon/ena/ena_com.c delay_resolution = get_resp.u.intr_moderation.intr_delay_resolution; u 284 drivers/net/ethernet/amazon/ena/ena_ethtool.c link = &feat_resp.u.link; u 738 drivers/net/ethernet/amd/ni65.c if((p->tmdhead[p->tmdlast].u.s.status & XMIT_OWN)) u 751 drivers/net/ethernet/amd/ni65.c buffer[i] = (u32) isa_bus_to_virt(tmdp->u.buffer); u 753 drivers/net/ethernet/amd/ni65.c tmdp->u.s.status = 0x0; u 758 drivers/net/ethernet/amd/ni65.c rmdp->u.s.status = RCV_OWN; u 765 drivers/net/ethernet/amd/ni65.c p->tmdhead[i].u.buffer = (u32) isa_virt_to_bus((char *)buffer[num]); /* status is part of buffer field */ u 767 drivers/net/ethernet/amd/ni65.c if(p->tmdhead[i].u.s.status & XMIT_OWN) { u 825 drivers/net/ethernet/amd/ni65.c tmdp->u.buffer = 0x0; u 826 drivers/net/ethernet/amd/ni65.c tmdp->u.s.status = XMIT_START | XMIT_END; u 834 drivers/net/ethernet/amd/ni65.c rmdp->u.buffer = (u32) isa_virt_to_bus(p->recv_skb[i]->data); u 836 drivers/net/ethernet/amd/ni65.c rmdp->u.buffer = (u32) isa_virt_to_bus(p->recvbounce[i]); u 840 drivers/net/ethernet/amd/ni65.c rmdp->u.s.status = RCV_OWN; u 908 drivers/net/ethernet/amd/ni65.c printk("%02x ",p->rmdhead[i].u.s.status); u 928 drivers/net/ethernet/amd/ni65.c if(!(p->rmdhead[num2].u.s.status & RCV_OWN)) u 936 drivers/net/ethernet/amd/ni65.c if(!(p->rmdhead[num1].u.s.status & RCV_OWN)) u 947 drivers/net/ethernet/amd/ni65.c sprintf(buf1,"%02x ",(p->rmdhead[k].u.s.status)); /* & RCV_OWN) ); */ u 956 drivers/net/ethernet/amd/ni65.c if((p->rmdhead[num2].u.s.status & RCV_OWN)) u 987 drivers/net/ethernet/amd/ni65.c int tmdstat = tmdp->u.s.status; u 1009 drivers/net/ethernet/amd/ni65.c tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END; /* test: resend this frame */ u 1052 drivers/net/ethernet/amd/ni65.c while(!( (rmdstat = rmdp->u.s.status) & RCV_OWN)) u 1101 drivers/net/ethernet/amd/ni65.c rmdp->u.buffer = (u32) isa_virt_to_bus(skb->data); u 1126 drivers/net/ethernet/amd/ni65.c rmdp->u.s.status = RCV_OWN; /* change owner */ u 1143 drivers/net/ethernet/amd/ni65.c printk("%02x ",p->tmdhead[i].u.s.status); u 1184 drivers/net/ethernet/amd/ni65.c tmdp->u.buffer = (u32) isa_virt_to_bus(p->tmdbounce[p->tmdbouncenum]); u 1193 drivers/net/ethernet/amd/ni65.c tmdp->u.buffer = (u32) isa_virt_to_bus(skb->data); u 1199 drivers/net/ethernet/amd/ni65.c tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END; u 106 drivers/net/ethernet/amd/ni65.h } u; u 118 drivers/net/ethernet/amd/ni65.h } u; u 292 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c } u; u 8425 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c memcpy(ramrod_param.user_req.u.mac.mac, mac, ETH_ALEN); u 8463 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c ramrod_param.user_req.u.vlan.vlan = vlan; u 622 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c memcpy(next, &pos->u, size); u 652 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (ether_addr_equal(data->mac.mac, pos->u.mac.mac) && u 653 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c (data->mac.is_inner_mac == pos->u.mac.is_inner_mac)) u 668 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (data->vlan.vlan == pos->u.vlan.vlan) u 684 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if ((data->vlan_mac.vlan == pos->u.vlan_mac.vlan) && u 685 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c (!memcmp(data->vlan_mac.mac, pos->u.vlan_mac.mac, u 688 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c pos->u.vlan_mac.is_inner_mac)) u 705 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (ether_addr_equal(data->mac.mac, pos->u.mac.mac) && u 706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c (data->mac.is_inner_mac == pos->u.mac.is_inner_mac)) u 722 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (data->vlan.vlan == pos->u.vlan.vlan) u 739 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if ((data->vlan_mac.vlan == pos->u.vlan_mac.vlan) && u 740 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c (!memcmp(data->vlan_mac.mac, pos->u.vlan_mac.mac, u 743 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c pos->u.vlan_mac.is_inner_mac)) u 893 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c u8 *mac = elem->cmd_data.vlan_mac.u.mac.mac; u 937 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cpu_to_le16(elem->cmd_data.vlan_mac.u.mac.is_inner_mac); u 956 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c u.mac.is_inner_mac); u 1061 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c elem->cmd_data.vlan_mac.u.mac.mac, 0, u 1077 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c u16 vlan = elem->cmd_data.vlan_mac.u.vlan.vlan; u 1127 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c u16 vlan = elem->cmd_data.vlan_mac.u.vlan_mac.vlan; u 1128 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c u8 *mac = elem->cmd_data.vlan_mac.u.vlan_mac.mac; u 1144 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c inner_mac = elem->cmd_data.vlan_mac.u.vlan_mac.is_inner_mac; u 1200 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c elem->cmd_data.vlan_mac.u.vlan_mac.mac, u 1201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c elem->cmd_data.vlan_mac.u.vlan_mac.vlan, u 1252 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c memcpy(&p->user_req.u, &pos->u, sizeof(pos->u)); u 1275 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c struct bnx2x_mac_ramrod_data *data = &elem->cmd_data.vlan_mac.u.mac; u 1279 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (!memcmp(&pos->cmd_data.vlan_mac.u.mac, data, u 1292 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c struct bnx2x_vlan_ramrod_data *data = &elem->cmd_data.vlan_mac.u.vlan; u 1296 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (!memcmp(&pos->cmd_data.vlan_mac.u.vlan, data, u 1310 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c &elem->cmd_data.vlan_mac.u.vlan_mac; u 1314 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (!memcmp(&pos->cmd_data.vlan_mac.u.vlan_mac, data, u 1345 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c rc = o->check_add(bp, o, &elem->cmd_data.vlan_mac.u); u 1396 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c pos = o->check_del(bp, o, &elem->cmd_data.vlan_mac.u); u 1457 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c &elem->cmd_data.vlan_mac.u)) { u 1754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c memcpy(®_elem->u, &elem->cmd_data.vlan_mac.u, u 1755 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c sizeof(reg_elem->u)); u 1761 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c reg_elem = o->check_del(bp, o, &elem->cmd_data.vlan_mac.u); u 1857 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c &elem->cmd_data.vlan_mac.u); u 1889 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c &elem->cmd_data.vlan_mac.u); u 2075 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c memcpy(&p.user_req.u, &pos->u, sizeof(pos->u)); u 4162 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c static inline bool __atomic_add_ifless(atomic_t *v, int a, int u) u 4168 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (unlikely(c + a >= u)) u 4190 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c static inline bool __atomic_dec_ifmoe(atomic_t *v, int a, int u) u 4196 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (unlikely(c - a < u)) u 141 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h union bnx2x_classification_ramrod_data u; u 259 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h union bnx2x_classification_ramrod_data u; u 416 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ramrod.user_req.u.vlan.vlan = filter->vid; u 417 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c memcpy(&ramrod.user_req.u.mac.mac, filter->mac, ETH_ALEN); u 421 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ramrod.user_req.u.vlan.vlan = filter->vid; u 425 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c memcpy(&ramrod.user_req.u.mac.mac, filter->mac, ETH_ALEN); u 2807 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ramrod_param.user_req.u.vlan.vlan = vlan; u 342 drivers/net/ethernet/broadcom/bnxt/bnxt.c return md_dst->u.port_info.port_id; u 274 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.u.ipv4.dst = match.key->dst; u 275 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.u.ipv4.dst = match.mask->dst; u 276 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_key.u.ipv4.src = match.key->src; u 277 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->tun_mask.u.ipv4.src = match.mask->src; u 562 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.dst_ipaddr[0] = tun_key->u.ipv4.dst; u 563 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.src_ipaddr[0] = tun_key->u.ipv4.src; u 635 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c encap_ipv4->dest_ip_addr = encap_key->u.ipv4.dst; u 636 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c encap_ipv4->src_ip_addr = encap_key->u.ipv4.src; u 965 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow.daddr = tun_key->u.ipv4.dst; u 1010 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key->u.ipv4.src = flow.saddr; u 1060 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key.u.ipv4.dst = flow->tun_key.u.ipv4.src; u 122 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c skb->dev = vf_rep->dst->u.port_info.lower_dev; u 449 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c vf_rep->dst->u.port_info.port_id = vf_rep->tx_cfa_action; u 450 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c vf_rep->dst->u.port_info.lower_dev = bp->dev; u 2403 drivers/net/ethernet/cavium/liquidio/lio_main.c cmdsetup.s.u.datasize = skb->len; u 2442 drivers/net/ethernet/cavium/liquidio/lio_main.c cmdsetup.s.u.gatherptrs = (skb_shinfo(skb)->nr_frags + 1); u 3808 drivers/net/ethernet/cavium/liquidio/lio_main.c u32 u; u 3825 drivers/net/ethernet/cavium/liquidio/lio_main.c u = 0; u 3831 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->sriov_info.dpiring_to_vfpcidev_lut[u] = u 3833 drivers/net/ethernet/cavium/liquidio/lio_main.c u += oct->sriov_info.rings_per_vf; u 3845 drivers/net/ethernet/cavium/liquidio/lio_main.c int u; u 3854 drivers/net/ethernet/cavium/liquidio/lio_main.c u = 0; u 3855 drivers/net/ethernet/cavium/liquidio/lio_main.c while (u < MAX_POSSIBLE_VFS) { u 3856 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->sriov_info.dpiring_to_vfpcidev_lut[u] = NULL; u 3857 drivers/net/ethernet/cavium/liquidio/lio_main.c u += oct->sriov_info.rings_per_vf; u 1482 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c cmdsetup.s.u.datasize = skb->len; u 1516 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c cmdsetup.s.u.gatherptrs = (skb_shinfo(skb)->nr_frags + 1); u 165 drivers/net/ethernet/cavium/liquidio/liquidio_common.h } u; u 184 drivers/net/ethernet/cavium/liquidio/liquidio_common.h sg_entry->u.size[pos] = size; u 186 drivers/net/ethernet/cavium/liquidio/liquidio_common.h sg_entry->u.size[3 - pos] = size; u 105 drivers/net/ethernet/cavium/liquidio/octeon_nic.h } u; u 151 drivers/net/ethernet/cavium/liquidio/octeon_nic.h ih2->dlengsz = setup->s.u.datasize; u 154 drivers/net/ethernet/cavium/liquidio/octeon_nic.h ih2->dlengsz = setup->s.u.gatherptrs; u 196 drivers/net/ethernet/cavium/liquidio/octeon_nic.h ih3->dlengsz = setup->s.u.datasize; u 199 drivers/net/ethernet/cavium/liquidio/octeon_nic.h ih3->dlengsz = setup->s.u.gatherptrs; u 351 drivers/net/ethernet/cavium/thunder/q_struct.h u64 u[64]; u 2204 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ldst_cmd.u.mps.rplc.fid_idx = u 2222 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c mps_rplc = ldst_cmd.u.mps.rplc; u 1068 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h } u; u 276 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c const union fw_port_dcb *fwdcb = &pcmd->u.dcb; u 281 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c int dcb_type = pcmd->u.dcb.pgid.type; u 289 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ((pcmd->u.dcb.control.all_syncd_pkd & u 297 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd->u.dcb.control.dcb_version_to_app_state)); u 454 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; u 460 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (tc * 4)) & 0xf; u 466 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; u 474 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; u 518 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; u 526 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c _pgid = be32_to_cpu(pcmd.u.dcb.pgid.pgid); u 529 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.pgid = cpu_to_be32(_pgid); u 543 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; u 552 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; u 577 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; u 585 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c *bw_per = pcmd.u.dcb.pgrate.pgrate[pgid]; u 607 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; u 616 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; u 662 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pfc.type = FW_PORT_DCB_TYPE_PFC; u 663 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pfc.pfcen = pi->dcb.pfcen; u 666 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pfc.pfcen |= (1 << (7 - priority)); u 668 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pfc.pfcen &= (~(1 << (7 - priority))); u 676 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pi->dcb.pfcen = pcmd.u.dcb.pfc.pfcen; u 802 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; u 803 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = i; u 811 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) u 812 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (pcmd.u.dcb.app_priority.sel_field == app_idtype) u 813 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c return pcmd.u.dcb.app_priority.user_prio_map; u 816 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!pcmd.u.dcb.app_priority.protocolid) u 853 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; u 854 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = i; u 862 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) { u 864 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.protocolid = 0; u 868 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!pcmd.u.dcb.app_priority.protocolid) u 883 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; u 884 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.protocolid = cpu_to_be16(app_id); u 885 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.sel_field = app_idtype; u 886 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.user_prio_map = app_prio; u 887 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = i; u 962 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; u 969 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c tc_info = be32_to_cpu(pcmd.u.dcb.pgid.pgid); u 976 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; u 987 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ets->tc_tx_bw[i] = pcmd.u.dcb.pgrate.pgrate[i]; u 989 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ets->tc_tsa[i] = pcmd.u.dcb.pgrate.tsa[i]; u 1126 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; u 1127 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = *app_count; u 1137 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!pcmd.u.dcb.app_priority.protocolid) u 1156 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; u 1157 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = i; u 1167 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!pcmd.u.dcb.app_priority.protocolid) u 1170 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c table[i].selector = (pcmd.u.dcb.app_priority.sel_field + 1); u 1172 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c be16_to_cpu(pcmd.u.dcb.app_priority.protocolid); u 1174 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ffs(pcmd.u.dcb.app_priority.user_prio_map) - 1; u 1195 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; u 1201 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pgid = be32_to_cpu(pcmd.u.dcb.pgid.pgid); u 1207 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; u 1216 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pg->pg_bw[i] = pcmd.u.dcb.pgrate.pgrate[i]; u 1218 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pg->tcs_supported = pcmd.u.dcb.pgrate.num_tcs_supported; u 1786 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c ldst_cmd.u.mps.rplc.fid_idx = u 1796 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c mps_rplc = ldst_cmd.u.mps.rplc; u 610 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ? !!(pcmd->u.info.dcbxdis_pkd & FW_PORT_CMD_DCBXDIS_F) u 611 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c : !!(be32_to_cpu(pcmd->u.info32.lstatus32_to_cbllen32) u 3109 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.level = SCHED_CLASS_LEVEL_CL_RL; u 3110 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.mode = SCHED_CLASS_MODE_CLASS; u 3111 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.rateunit = SCHED_CLASS_RATEUNIT_BITS; u 3112 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.ratemode = SCHED_CLASS_RATEMODE_ABS; u 3113 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.channel = pi->tx_chan; u 3114 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.class = SCHED_CLS_NONE; u 3115 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.minrate = 0; u 3116 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.maxrate = req_rate; u 3117 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.weight = 0; u 3118 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.pktsize = dev->mtu; u 139 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.init.sc = FW_PTP_SC_RXTIME_STAMP; u 140 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.init.mode = cpu_to_be16(mode); u 160 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.init.sc = FW_PTP_SC_TX_TYPE; u 161 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.init.mode = cpu_to_be16(PTP_TS_NONE); u 185 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.init.sc = FW_PTP_SC_RDRX_TYPE; u 186 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.init.txchan = pi->tx_chan; u 187 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.init.absid = cpu_to_be16(receive_q->rspq.abs_id); u 216 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sc = FW_PTP_SC_ADJ_FREQ; u 217 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sign = (ppb < 0) ? 1 : 0; u 220 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.ppb = cpu_to_be32(ppb); u 248 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sc = FW_PTP_SC_ADJ_FTIME; u 249 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sign = (delta < 0) ? 1 : 0; u 252 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.tm = cpu_to_be64(delta); u 287 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sc = FW_PTP_SC_ADJ_TIME; u 288 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sign = (delta < 0) ? 1 : 0; u 291 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.tm = cpu_to_be64(delta); u 350 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.sc = FW_PTP_SC_SET_TIME; u 353 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.ts.tm = cpu_to_be64(ns); u 374 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c c.u.scmd.sc = FW_PTP_SC_INIT_TIMER; u 50 drivers/net/ethernet/chelsio/cxgb4/sched.c e = &s->tab[p->u.params.class]; u 54 drivers/net/ethernet/chelsio/cxgb4/sched.c p->u.params.level, p->u.params.mode, u 55 drivers/net/ethernet/chelsio/cxgb4/sched.c p->u.params.rateunit, u 56 drivers/net/ethernet/chelsio/cxgb4/sched.c p->u.params.ratemode, u 57 drivers/net/ethernet/chelsio/cxgb4/sched.c p->u.params.channel, e->idx, u 58 drivers/net/ethernet/chelsio/cxgb4/sched.c p->u.params.minrate, p->u.params.maxrate, u 59 drivers/net/ethernet/chelsio/cxgb4/sched.c p->u.params.weight, p->u.params.pktsize); u 377 drivers/net/ethernet/chelsio/cxgb4/sched.c tp.u.params.class = SCHED_CLS_NONE; u 386 drivers/net/ethernet/chelsio/cxgb4/sched.c info.u.params.class = SCHED_CLS_NONE; u 389 drivers/net/ethernet/chelsio/cxgb4/sched.c (!memcmp(&info.u.params, &tp.u.params, u 390 drivers/net/ethernet/chelsio/cxgb4/sched.c sizeof(info.u.params)))) { u 410 drivers/net/ethernet/chelsio/cxgb4/sched.c class_id = p->u.params.class; u 431 drivers/net/ethernet/chelsio/cxgb4/sched.c np.u.params.class = e->idx; u 463 drivers/net/ethernet/chelsio/cxgb4/sched.c class_id = p->u.params.class; u 225 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c asrt.u.assert.filename_0_7, be32_to_cpu(asrt.u.assert.line), u 226 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c be32_to_cpu(asrt.u.assert.x), be32_to_cpu(asrt.u.assert.y)); u 748 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.u.pcie.select_naccess = FW_LDST_CMD_NACCESS_V(1); u 749 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.u.pcie.ctrl_to_fn = u 751 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.u.pcie.r = reg; u 759 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c val = be32_to_cpu(ldst_cmd.u.pcie.data[0]); u 4243 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.l1cfg.rcap = cpu_to_be32(fwcaps32_to_caps16(rcap)); u 4245 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.l1cfg32.rcap32 = cpu_to_be32(rcap); u 4288 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.l1cfg.rcap = cpu_to_be32(FW_PORT_CAP_ANEG); u 4290 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.l1cfg32.rcap32 = cpu_to_be32(FW_PORT_CAP32_ANEG); u 5225 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.manual.mode_pkd = u 5228 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.basicvirtual.mode_pkd = u 5230 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.basicvirtual.synmapen_to_hashtoeplitz = cpu_to_be32(flags); u 5256 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.basicvirtual.defaultq_to_udpen = cpu_to_be32(flags | u 5326 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.addrval.addr = cpu_to_be32(start_index + i); u 5327 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.addrval.val = rw ? 0 : cpu_to_be32(vals[i]); u 5334 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c vals[i] = be32_to_cpu(c.u.addrval.val); u 6535 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.addrval.addr = cpu_to_be32(addr); u 6536 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.addrval.val = cpu_to_be32(val); u 6565 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.mdio.paddr_mmd = cpu_to_be16(FW_LDST_CMD_PADDR_V(phy_addr) | u 6567 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.mdio.raddr = cpu_to_be16(reg); u 6571 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *valp = be16_to_cpu(c.u.mdio.rval); u 6598 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.mdio.paddr_mmd = cpu_to_be16(FW_LDST_CMD_PADDR_V(phy_addr) | u 6600 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.mdio.raddr = cpu_to_be16(reg); u 6601 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.mdio.rval = cpu_to_be16(val); u 6794 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.idctxt.msg_ctxtflush = cpu_to_be32(FW_LDST_CMD_CTXTFLUSH_F); u 7779 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p = c.u.exact; u 7807 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c struct fw_vi_mac_raw *p = &c.u.raw; u 7859 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c struct fw_vi_mac_vni *p = c.u.exact_vni; u 7907 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c struct fw_vi_mac_raw *p = &c.u.raw; u 7978 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int fw_naddr = (rem < ARRAY_SIZE(c.u.exact) ? u 7979 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c rem : ARRAY_SIZE(c.u.exact)); u 7981 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u.exact[fw_naddr]), 16); u 7995 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (i = 0, p = c.u.exact; i < fw_naddr; i++, p++) { u 8012 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (i = 0, p = c.u.exact; i < fw_naddr; i++, p++) { u 8065 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int fw_naddr = (rem < ARRAY_SIZE(c.u.exact) u 8067 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c : ARRAY_SIZE(c.u.exact)); u 8069 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u.exact[fw_naddr]), 16); u 8083 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (i = 0, p = c.u.exact; i < (int)fw_naddr; i++, p++) { u 8094 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (i = 0, p = c.u.exact; i < fw_naddr; i++, p++) { u 8135 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c struct fw_vi_mac_exact *p = c.u.exact; u 8201 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.hash.hashvec = cpu_to_be64(vec); u 8580 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); u 8586 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.pcap)); u 8587 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.acap)); u 8588 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lpacaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.lpacap)); u 8596 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lstatus32 = be32_to_cpu(cmd->u.info32.lstatus32_to_cbllen32); u 8601 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pcaps = be32_to_cpu(cmd->u.info32.pcaps32); u 8602 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = be32_to_cpu(cmd->u.info32.acaps32); u 8603 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c lpacaps = be32_to_cpu(cmd->u.info32.lpacaps32); u 8604 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr = be32_to_cpu(cmd->u.info32.linkattr32); u 8806 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 lstatus = be32_to_cpu(port_cmd.u.info.lstatus_to_modtype); u 8810 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c mtu = be16_to_cpu(port_cmd.u.info.mtu); u 8813 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c be32_to_cpu(port_cmd.u.info32.lstatus32_to_cbllen32); u 8816 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c linkattr = be32_to_cpu(port_cmd.u.info32.linkattr32); u 8818 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c be32_to_cpu(port_cmd.u.info32.auxlinfo32_mtu32)); u 9574 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p->rss_mode = be32_to_cpu(rvc.u.basicvirtual.defaultq_to_udpen); u 9639 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 lstatus = be32_to_cpu(cmd.u.info.lstatus_to_modtype); u 9645 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd.u.info.pcap)); u 9646 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = fwcaps16_to_caps32(be16_to_cpu(cmd.u.info.acap)); u 9648 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 lstatus32 = be32_to_cpu(cmd.u.info32.lstatus32_to_cbllen32); u 9654 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pcaps = be32_to_cpu(cmd.u.info32.pcaps32); u 9655 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c acaps = be32_to_cpu(cmd.u.info32.acaps32); u 10314 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.idctxt.physid = cpu_to_be32(cid); u 10318 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c data[0] = be32_to_cpu(c.u.idctxt.ctxt_data0); u 10319 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c data[1] = be32_to_cpu(c.u.idctxt.ctxt_data1); u 10320 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c data[2] = be32_to_cpu(c.u.idctxt.ctxt_data2); u 10321 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c data[3] = be32_to_cpu(c.u.idctxt.ctxt_data3); u 10322 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c data[4] = be32_to_cpu(c.u.idctxt.ctxt_data4); u 10323 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c data[5] = be32_to_cpu(c.u.idctxt.ctxt_data5); u 10363 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.sc = FW_SCHED_SC_PARAMS; u 10364 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.type = type; u 10365 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.level = level; u 10366 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.mode = mode; u 10367 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.ch = channel; u 10368 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.cl = class; u 10369 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.unit = rateunit; u 10370 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.rate = ratemode; u 10371 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.min = cpu_to_be32(minrate); u 10372 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.max = cpu_to_be32(maxrate); u 10373 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.weight = cpu_to_be16(weight); u 10374 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.pktsize = cpu_to_be16(pktsize); u 10396 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int i2c_max = sizeof(ldst_cmd.u.i2c.data); u 10413 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.u.i2c.pid = (port < 0 ? 0xff : port); u 10414 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.u.i2c.did = devid; u 10419 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.u.i2c.boffset = offset; u 10420 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ldst_cmd.u.i2c.blen = i2c_len; u 10427 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(buf, ldst_rpl.u.i2c.data, i2c_len); u 563 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 982 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 2252 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 2484 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 2838 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 3219 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 3274 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 3315 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 3373 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 3455 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 3529 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 3580 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 3604 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } u; u 731 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (!adapter->params.rss.u.basicvirtual.tnlalllookup) { u 224 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h } u; u 566 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u32 lstatus = be32_to_cpu(port_rpl.u.info.lstatus_to_modtype); u 572 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c pcaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.pcap)); u 573 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c acaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.acap)); u 576 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c be32_to_cpu(port_rpl.u.info32.lstatus32_to_cbllen32); u 582 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c pcaps = be32_to_cpu(port_rpl.u.info32.pcaps32); u 583 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c acaps = be32_to_cpu(port_rpl.u.info32.acaps32); u 1042 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c be32_to_cpu(rpl.u.manual.mode_pkd)); u 1046 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rpl.u.basicvirtual.synmapen_to_hashtoeplitz); u 1048 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.synmapen = u 1050 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.syn4tupenipv6 = u 1052 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.syn2tupenipv6 = u 1054 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.syn4tupenipv4 = u 1056 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.syn2tupenipv4 = u 1059 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.ofdmapen = u 1062 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.tnlmapen = u 1064 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.tnlalllookup = u 1067 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rss->u.basicvirtual.hashtoeplitz = u 1071 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c if (!rss->u.basicvirtual.tnlmapen) u 1162 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u32 word = be32_to_cpu(rpl.u.basicvirtual.defaultq_to_udpen); u 1222 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.u.basicvirtual.defaultq_to_udpen = cpu_to_be32(word); u 1541 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c unsigned int fw_naddr = (rem < ARRAY_SIZE(cmd.u.exact) u 1543 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c : ARRAY_SIZE(cmd.u.exact)); u 1545 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u.exact[fw_naddr]), 16); u 1559 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c for (i = 0, p = cmd.u.exact; i < fw_naddr; i++, p++) { u 1572 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c for (i = 0, p = rpl.u.exact; i < fw_naddr; i++, p++) { u 1626 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c unsigned int fw_naddr = (rem < ARRAY_SIZE(cmd.u.exact) ? u 1627 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rem : ARRAY_SIZE(cmd.u.exact)); u 1629 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u.exact[fw_naddr]), 16); u 1643 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c for (i = 0, p = cmd.u.exact; i < (int)fw_naddr; i++, p++) { u 1655 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c for (i = 0, p = cmd.u.exact; i < fw_naddr; i++, p++) { u 1695 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c struct fw_vi_mac_exact *p = &cmd.u.exact[0]; u 1697 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u.exact[1]), 16); u 1719 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c p = &rpl.u.exact[0]; u 1742 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u.exact[0]), 16); u 1752 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.u.hash.hashvec = cpu_to_be64(vec); u 1781 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c size_t len = (offsetof(struct fw_vi_stats_cmd, u) + u 1792 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.u.ctl.nstats_ix = u 1799 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); u 1928 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u32 lstatus = be32_to_cpu(cmd->u.info.lstatus_to_modtype); u 1934 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.pcap)); u 1935 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c acaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.acap)); u 1936 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lpacaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.lpacap)); u 1966 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lstatus32 = be32_to_cpu(cmd->u.info32.lstatus32_to_cbllen32); u 1971 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c pcaps = be32_to_cpu(cmd->u.info32.pcaps32); u 1972 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c acaps = be32_to_cpu(cmd->u.info32.acaps32); u 1973 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c lpacaps = be32_to_cpu(cmd->u.info32.lpacaps32); u 1974 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c linkattr = be32_to_cpu(cmd->u.info32.linkattr32); u 28 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.protocol = PROTO_TCP; u 31 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.protocol = PROTO_UDP; u 38 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src); u 39 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst); u 40 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.src_port = ntohs(keys->ports.src); u 41 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.dst_port = ntohs(keys->ports.dst); u 42 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.flags = FILTER_FIELDS_IPV4_5TUPLE; u 1239 drivers/net/ethernet/cisco/enic/vnic_dev.c action->u.rq_idx = *entry; u 622 drivers/net/ethernet/cisco/enic/vnic_devcmd.h } u; u 639 drivers/net/ethernet/cisco/enic/vnic_devcmd.h } u; u 932 drivers/net/ethernet/hisilicon/hns/hns_enet.c int u = ring->next_to_use; u 938 drivers/net/ethernet/hisilicon/hns/hns_enet.c assert(u > 0 && u < ring->desc_num); u 940 drivers/net/ethernet/hisilicon/hns/hns_enet.c assert(u != c && h != c); /* must be checked before call this func */ u 942 drivers/net/ethernet/hisilicon/hns/hns_enet.c return u > c ? (h > c && h <= u) : (h > c || h <= u); u 2321 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int u = ring->next_to_use; u 2327 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c return u > c ? (h > c && h <= u) : (h > c || h <= u); u 1604 drivers/net/ethernet/ibm/ehea/ehea_main.c u8 *imm_data = &swqe->u.immdata_desc.immediate_data[0]; u 1605 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_vsgentry *sg1entry = &swqe->u.immdata_desc.sg_entry; u 1645 drivers/net/ethernet/ibm/ehea/ehea_main.c sg1entry = &swqe->u.immdata_desc.sg_entry; u 1646 drivers/net/ethernet/ibm/ehea/ehea_main.c sg_list = (struct ehea_vsgentry *)&swqe->u.immdata_desc.sg_list; u 1998 drivers/net/ethernet/ibm/ehea/ehea_main.c u8 *imm_data = &swqe->u.immdata_nodesc.immediate_data[0]; u 122 drivers/net/ethernet/ibm/ehea/ehea_qmr.h } u; u 498 drivers/net/ethernet/intel/e100.c } u; u 1074 drivers/net/ethernet/intel/e100.c struct config *config = &cb->u.config; u 1321 drivers/net/ethernet/intel/e100.c memcpy(cb->u.ucode, fw->data, UCODE_SIZE * 4); u 1329 drivers/net/ethernet/intel/e100.c cb->u.ucode[timer] &= cpu_to_le32(0xFFFF0000); u 1330 drivers/net/ethernet/intel/e100.c cb->u.ucode[timer] |= cpu_to_le32(INTDELAY); u 1331 drivers/net/ethernet/intel/e100.c cb->u.ucode[bundle] &= cpu_to_le32(0xFFFF0000); u 1332 drivers/net/ethernet/intel/e100.c cb->u.ucode[bundle] |= cpu_to_le32(BUNDLEMAX); u 1333 drivers/net/ethernet/intel/e100.c cb->u.ucode[min_size] &= cpu_to_le32(0xFFFF0000); u 1334 drivers/net/ethernet/intel/e100.c cb->u.ucode[min_size] |= cpu_to_le32((BUNDLESMALL) ? 0xFFFF : 0xFF80); u 1384 drivers/net/ethernet/intel/e100.c memcpy(cb->u.iaaddr, nic->netdev->dev_addr, ETH_ALEN); u 1391 drivers/net/ethernet/intel/e100.c cb->u.dump_buffer_addr = cpu_to_le32(nic->dma_addr + u 1570 drivers/net/ethernet/intel/e100.c cb->u.multi.count = cpu_to_le16(count * ETH_ALEN); u 1575 drivers/net/ethernet/intel/e100.c memcpy(&cb->u.multi.addr[i++ * ETH_ALEN], &ha->addr, u 1766 drivers/net/ethernet/intel/e100.c cb->u.tcb.tbd_array = cb->dma_addr + offsetof(struct cb, u.tcb.tbd); u 1767 drivers/net/ethernet/intel/e100.c cb->u.tcb.tcb_byte_count = 0; u 1768 drivers/net/ethernet/intel/e100.c cb->u.tcb.threshold = nic->tx_threshold; u 1769 drivers/net/ethernet/intel/e100.c cb->u.tcb.tbd_count = 1; u 1770 drivers/net/ethernet/intel/e100.c cb->u.tcb.tbd.buf_addr = cpu_to_le32(dma_addr); u 1771 drivers/net/ethernet/intel/e100.c cb->u.tcb.tbd.size = cpu_to_le16(skb->len); u 1835 drivers/net/ethernet/intel/e100.c le32_to_cpu(cb->u.tcb.tbd.buf_addr), u 1836 drivers/net/ethernet/intel/e100.c le16_to_cpu(cb->u.tcb.tbd.size), u 1862 drivers/net/ethernet/intel/e100.c le32_to_cpu(cb->u.tcb.tbd.buf_addr), u 1863 drivers/net/ethernet/intel/e100.c le16_to_cpu(cb->u.tcb.tbd.size), u 3405 drivers/net/ethernet/intel/e1000/e1000_main.c struct my_u *u = (struct my_u *)tx_desc; u 3418 drivers/net/ethernet/intel/e1000/e1000_main.c ((le64_to_cpu(u->b) & (1<<20)) ? 'd' : 'c'), i, u 3419 drivers/net/ethernet/intel/e1000/e1000_main.c le64_to_cpu(u->a), le64_to_cpu(u->b), u 3447 drivers/net/ethernet/intel/e1000/e1000_main.c struct my_u *u = (struct my_u *)rx_desc; u 3458 drivers/net/ethernet/intel/e1000/e1000_main.c i, le64_to_cpu(u->a), le64_to_cpu(u->b), u 63 drivers/net/ethernet/intel/i40e/i40e_hmc.c &sd_entry->u.pd_table.pd_entry_virt_mem, u 67 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry->u.pd_table.pd_entry = u 69 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry->u.pd_table.pd_entry_virt_mem.va; u 70 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry->u.pd_table.pd_page_addr = mem; u 72 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry->u.bp.addr = mem; u 73 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry->u.bp.sd_pd_index = sd_index; u 83 drivers/net/ethernet/intel/i40e/i40e_hmc.c I40E_INC_BP_REFCNT(&sd_entry->u.bp); u 136 drivers/net/ethernet/intel/i40e/i40e_hmc.c pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; u 214 drivers/net/ethernet/intel/i40e/i40e_hmc.c pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; u 252 drivers/net/ethernet/intel/i40e/i40e_hmc.c I40E_DEC_BP_REFCNT(&sd_entry->u.bp); u 253 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (sd_entry->u.bp.ref_cnt) { u 285 drivers/net/ethernet/intel/i40e/i40e_hmc.c return i40e_free_dma_mem(hw, &sd_entry->u.bp.addr); u 301 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (sd_entry->u.pd_table.ref_cnt) { u 333 drivers/net/ethernet/intel/i40e/i40e_hmc.c return i40e_free_dma_mem(hw, &sd_entry->u.pd_table.pd_page_addr); u 62 drivers/net/ethernet/intel/i40e/i40e_hmc.h } u; u 388 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c sd_entry->u.pd_table.pd_page_addr.pa, u 392 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c I40E_SET_PF_SD_ENTRY(hw, sd_entry->u.bp.addr.pa, u 588 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; u 1027 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx]; u 1034 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c *object_base = (u8 *)sd_entry->u.bp.addr.va + obj_offset_in_sd; u 706 drivers/net/ethernet/mellanox/mlx4/alloc.c db->u.pgdir = pgdir; u 756 drivers/net/ethernet/mellanox/mlx4/alloc.c if (db->order == 0 && test_bit(i ^ 1, db->u.pgdir->order0)) { u 757 drivers/net/ethernet/mellanox/mlx4/alloc.c clear_bit(i ^ 1, db->u.pgdir->order0); u 761 drivers/net/ethernet/mellanox/mlx4/alloc.c set_bit(i, db->u.pgdir->bits[o]); u 763 drivers/net/ethernet/mellanox/mlx4/alloc.c if (bitmap_full(db->u.pgdir->order1, MLX4_DB_PER_PAGE / 2)) { u 765 drivers/net/ethernet/mellanox/mlx4/alloc.c db->u.pgdir->db_page, db->u.pgdir->db_dma); u 766 drivers/net/ethernet/mellanox/mlx4/alloc.c list_del(&db->u.pgdir->list); u 767 drivers/net/ethernet/mellanox/mlx4/alloc.c kfree(db->u.pgdir); u 222 drivers/net/ethernet/mellanox/mlx5/core/alloc.c db->u.pgdir = pgdir; u 275 drivers/net/ethernet/mellanox/mlx5/core/alloc.c __set_bit(db->index, db->u.pgdir->bitmap); u 277 drivers/net/ethernet/mellanox/mlx5/core/alloc.c if (bitmap_full(db->u.pgdir->bitmap, db_per_page)) { u 279 drivers/net/ethernet/mellanox/mlx5/core/alloc.c db->u.pgdir->db_page, db->u.pgdir->db_dma); u 280 drivers/net/ethernet/mellanox/mlx5/core/alloc.c list_del(&db->u.pgdir->list); u 281 drivers/net/ethernet/mellanox/mlx5/core/alloc.c bitmap_free(db->u.pgdir->bitmap); u 282 drivers/net/ethernet/mellanox/mlx5/core/alloc.c kfree(db->u.pgdir); u 225 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4.daddr = tun_key->u.ipv4.dst; u 226 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4.saddr = tun_key->u.ipv4.src; u 345 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl6.daddr = tun_key->u.ipv6.dst; u 346 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl6.saddr = tun_key->u.ipv6.src; u 1480 drivers/net/ethernet/mellanox/mlxsw/core.c &listener->u.event_listener, u 1484 drivers/net/ethernet/mellanox/mlxsw/core.c &listener->u.rx_listener, u 1494 drivers/net/ethernet/mellanox/mlxsw/core.c &listener->u.event_listener, u 1498 drivers/net/ethernet/mellanox/mlxsw/core.c &listener->u.rx_listener, u 1775 drivers/net/ethernet/mellanox/mlxsw/core.c __func__, rx_info->u.lag_id, u 1781 drivers/net/ethernet/mellanox/mlxsw/core.c rx_info->u.lag_id, u 1784 drivers/net/ethernet/mellanox/mlxsw/core.c local_port = rx_info->u.sys_port; u 72 drivers/net/ethernet/mellanox/mlxsw/core.h } u; u 84 drivers/net/ethernet/mellanox/mlxsw/core.h .u.rx_listener = \ u 100 drivers/net/ethernet/mellanox/mlxsw/core.h .u.event_listener = \ u 158 drivers/net/ethernet/mellanox/mlxsw/core.h } u; u 68 drivers/net/ethernet/mellanox/mlxsw/pci.c } u; u 94 drivers/net/ethernet/mellanox/mlxsw/pci.c } u; u 353 drivers/net/ethernet/mellanox/mlxsw/pci.c elem_info->u.rdq.skb = NULL; u 365 drivers/net/ethernet/mellanox/mlxsw/pci.c elem_info->u.rdq.skb = skb; u 379 drivers/net/ethernet/mellanox/mlxsw/pci.c skb = elem_info->u.rdq.skb; u 453 drivers/net/ethernet/mellanox/mlxsw/pci.c q->u.cq.v = mlxsw_pci->max_cqe_ver; u 456 drivers/net/ethernet/mellanox/mlxsw/pci.c if (q->u.cq.v == MLXSW_PCI_CQE_V2 && u 458 drivers/net/ethernet/mellanox/mlxsw/pci.c q->u.cq.v = MLXSW_PCI_CQE_V1; u 472 drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_cqe_owner_set(q->u.cq.v, elem, 1); u 475 drivers/net/ethernet/mellanox/mlxsw/pci.c if (q->u.cq.v == MLXSW_PCI_CQE_V1) u 478 drivers/net/ethernet/mellanox/mlxsw/pci.c else if (q->u.cq.v == MLXSW_PCI_CQE_V2) u 518 drivers/net/ethernet/mellanox/mlxsw/pci.c tx_info = mlxsw_skb_cb(elem_info->u.sdq.skb)->tx_info; u 519 drivers/net/ethernet/mellanox/mlxsw/pci.c skb = elem_info->u.sdq.skb; u 533 drivers/net/ethernet/mellanox/mlxsw/pci.c elem_info->u.sdq.skb = NULL; u 554 drivers/net/ethernet/mellanox/mlxsw/pci.c skb = elem_info->u.sdq.skb; u 565 drivers/net/ethernet/mellanox/mlxsw/pci.c rx_info.u.lag_id = mlxsw_pci_cqe_lag_id_get(cqe_v, cqe); u 570 drivers/net/ethernet/mellanox/mlxsw/pci.c rx_info.u.sys_port = mlxsw_pci_cqe_system_port_get(cqe); u 599 drivers/net/ethernet/mellanox/mlxsw/pci.c owner_bit = mlxsw_pci_cqe_owner_get(q->u.cq.v, elem); u 617 drivers/net/ethernet/mellanox/mlxsw/pci.c u8 sendq = mlxsw_pci_cqe_sr_get(q->u.cq.v, cqe); u 618 drivers/net/ethernet/mellanox/mlxsw/pci.c u8 dqn = mlxsw_pci_cqe_dqn_get(q->u.cq.v, cqe); u 630 drivers/net/ethernet/mellanox/mlxsw/pci.c q->u.cq.comp_sdq_count++; u 636 drivers/net/ethernet/mellanox/mlxsw/pci.c wqe_counter, q->u.cq.v, ncqe); u 637 drivers/net/ethernet/mellanox/mlxsw/pci.c q->u.cq.comp_rdq_count++; u 648 drivers/net/ethernet/mellanox/mlxsw/pci.c return q->u.cq.v == MLXSW_PCI_CQE_V2 ? MLXSW_PCI_CQE2_COUNT : u 654 drivers/net/ethernet/mellanox/mlxsw/pci.c return q->u.cq.v == MLXSW_PCI_CQE_V2 ? MLXSW_PCI_CQE2_SIZE : u 743 drivers/net/ethernet/mellanox/mlxsw/pci.c q->u.eq.ev_cmd_count++; u 749 drivers/net/ethernet/mellanox/mlxsw/pci.c q->u.eq.ev_comp_count++; u 752 drivers/net/ethernet/mellanox/mlxsw/pci.c q->u.eq.ev_other_count++; u 1590 drivers/net/ethernet/mellanox/mlxsw/pci.c elem_info->u.sdq.skb = skb; u 404 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c struct flowi6 fl6 = t->fl.u.ip6; u 838 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c attr->u.stp_state); u 843 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c attr->u.brport_flags); u 848 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c attr->u.brport_flags); u 852 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c attr->u.ageing_time); u 857 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c attr->u.vlan_filtering); u 862 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c attr->u.mrouter); u 867 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c attr->u.mc_disabled); u 872 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c attr->u.mrouter); u 928 drivers/net/ethernet/micrel/ks8851_mll.c u16 w, u; u 932 drivers/net/ethernet/micrel/ks8851_mll.c u = *pw++; u 933 drivers/net/ethernet/micrel/ks8851_mll.c w = ((u & 0xFF) << 8) | ((u >> 8) & 0xFF); u 936 drivers/net/ethernet/micrel/ks8851_mll.c u = *pw++; u 937 drivers/net/ethernet/micrel/ks8851_mll.c w = ((u & 0xFF) << 8) | ((u >> 8) & 0xFF); u 940 drivers/net/ethernet/micrel/ks8851_mll.c u = *pw; u 941 drivers/net/ethernet/micrel/ks8851_mll.c w = ((u & 0xFF) << 8) | ((u >> 8) & 0xFF); u 1314 drivers/net/ethernet/mscc/ocelot.c attr->u.stp_state); u 1317 drivers/net/ethernet/mscc/ocelot.c ocelot_port_attr_ageing_set(ocelot_port, attr->u.ageing_time); u 1320 drivers/net/ethernet/mscc/ocelot.c ocelot_port->vlan_aware = attr->u.vlan_filtering; u 1324 drivers/net/ethernet/mscc/ocelot.c ocelot_port_attr_mc_set(ocelot_port, !attr->u.mc_disabled); u 443 drivers/net/ethernet/netronome/nfp/flower/action.c flow.daddr = ip_tun->key.u.ipv4.dst; u 470 drivers/net/ethernet/netronome/nfp/flower/action.c pre_tun->ipv4_dst = ip_tun->key.u.ipv4.dst; u 87 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->portnum = cpu_to_be32(repr->dst->u.port_info.port_id); u 113 drivers/net/ethernet/netronome/nfp/flower/cmsg.c msg->portnum = cpu_to_be32(repr->dst->u.port_info.port_id); u 858 drivers/net/ethernet/netronome/nfp/flower/main.c app_priv->mtu_conf.portnum = repr->dst->u.port_info.port_id; u 949 drivers/net/ethernet/netronome/nfp/nfp_net_common.c put_unaligned_be32(md_dst->u.port_info.port_id, data); u 193 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c skb->dev = repr->dst->u.port_info.lower_dev; u 242 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c lower_dev = repr->dst->u.port_info.lower_dev; u 285 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c if (repr->dst->u.port_info.lower_dev != lower) u 315 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c repr->dst->u.port_info.port_id = cmsg_port_id; u 316 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c repr->dst->u.port_info.lower_dev = pf_netdev; u 87 drivers/net/ethernet/netronome/nfp/nfp_net_repr.h return priv->dst->u.port_info.port_id; u 2328 drivers/net/ethernet/qlogic/qed/qed_iwarp.c mpa_buf->data.first_mpa_offset += data->u.placement_offset; u 2329 drivers/net/ethernet/qlogic/qed/qed_iwarp.c mpa_buf->placement_offset = data->u.placement_offset; u 2375 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data->u.placement_offset, remote_mac_addr, u 2394 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data->u.placement_offset; u 2439 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ep->syn_phy_addr = buf->data_phys_addr + data->u.placement_offset + u 177 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->u.placement_offset, u 210 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->u.placement_offset += NET_SKB_PAD; u 211 drivers/net/ethernet/qlogic/qed/qed_ll2.c skb_reserve(skb, data->u.placement_offset); u 420 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->u.data_length_error = p_cqe->rx_cqe_gsi.data_length_error; u 437 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->u.placement_offset = p_cqe->rx_cqe_fp.placement_offset; u 514 drivers/net/ethernet/qlogic/qede/qede.h } u; u 1054 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->ndev->mtu = args->u.mtu; u 1070 drivers/net/ethernet/qlogic/qede/qede_ethtool.c args.u.mtu = new_mtu; u 934 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->ndev->features = args->u.features; u 961 drivers/net/ethernet/qlogic/qede/qede_filter.c args.u.features = features; u 1097 drivers/net/ethernet/qlogic/qede/qede_filter.c old = xchg(&edev->xdp_prog, args->u.new_prog); u 1108 drivers/net/ethernet/qlogic/qede/qede_filter.c args.u.new_prog = prog; u 2075 drivers/net/ethernet/rocker/rocker_main.c attr->u.stp_state, u 2080 drivers/net/ethernet/rocker/rocker_main.c attr->u.brport_flags, u 2085 drivers/net/ethernet/rocker/rocker_main.c attr->u.brport_flags, u 2090 drivers/net/ethernet/rocker/rocker_main.c attr->u.ageing_time, u 532 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_evq = req->u.init_evq.index; u 533 drivers/net/ethernet/sfc/siena_sriov.c unsigned buf_count = req->u.init_evq.buf_count; u 547 drivers/net/ethernet/sfc/siena_sriov.c efx_siena_sriov_bufs(efx, buftbl, req->u.init_evq.addr, buf_count); u 561 drivers/net/ethernet/sfc/siena_sriov.c memcpy(vf->evq0_addrs, req->u.init_evq.addr, u 573 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_rxq = req->u.init_rxq.index; u 574 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_evq = req->u.init_rxq.evq; u 575 drivers/net/ethernet/sfc/siena_sriov.c unsigned buf_count = req->u.init_rxq.buf_count; u 590 drivers/net/ethernet/sfc/siena_sriov.c if (__test_and_set_bit(req->u.init_rxq.index, vf->rxq_mask)) u 592 drivers/net/ethernet/sfc/siena_sriov.c efx_siena_sriov_bufs(efx, buftbl, req->u.init_rxq.addr, buf_count); u 594 drivers/net/ethernet/sfc/siena_sriov.c label = req->u.init_rxq.label & EFX_FIELD_MASK(FRF_AZ_RX_DESCQ_LABEL); u 601 drivers/net/ethernet/sfc/siena_sriov.c !!(req->u.init_rxq.flags & u 614 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_txq = req->u.init_txq.index; u 615 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_evq = req->u.init_txq.evq; u 616 drivers/net/ethernet/sfc/siena_sriov.c unsigned buf_count = req->u.init_txq.buf_count; u 633 drivers/net/ethernet/sfc/siena_sriov.c if (__test_and_set_bit(req->u.init_txq.index, vf->txq_mask)) u 636 drivers/net/ethernet/sfc/siena_sriov.c efx_siena_sriov_bufs(efx, buftbl, req->u.init_txq.addr, buf_count); u 640 drivers/net/ethernet/sfc/siena_sriov.c label = req->u.init_txq.label & EFX_FIELD_MASK(FRF_AZ_TX_DESCQ_LABEL); u 764 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_rxq = req->u.mac_filter.rxq; u 772 drivers/net/ethernet/sfc/siena_sriov.c req->u.mac_filter.flags); u 777 drivers/net/ethernet/sfc/siena_sriov.c if (req->u.mac_filter.flags & VFDI_MAC_FILTER_FLAG_RSS) u 779 drivers/net/ethernet/sfc/siena_sriov.c if (req->u.mac_filter.flags & VFDI_MAC_FILTER_FLAG_SCATTER) u 808 drivers/net/ethernet/sfc/siena_sriov.c u64 page_count = req->u.set_status_page.peer_page_count; u 811 drivers/net/ethernet/sfc/siena_sriov.c offsetof(struct vfdi_req, u.set_status_page.peer_page_addr[0])) u 812 drivers/net/ethernet/sfc/siena_sriov.c / sizeof(req->u.set_status_page.peer_page_addr[0]); u 814 drivers/net/ethernet/sfc/siena_sriov.c if (!req->u.set_status_page.dma_addr || page_count > max_page_count) { u 824 drivers/net/ethernet/sfc/siena_sriov.c vf->status_addr = req->u.set_status_page.dma_addr; u 835 drivers/net/ethernet/sfc/siena_sriov.c req->u.set_status_page.peer_page_addr, u 205 drivers/net/ethernet/sfc/vfdi.h } u; u 1336 drivers/net/ethernet/ti/netcp_core.c config.u.tx.filt_einfo = false; u 1337 drivers/net/ethernet/ti/netcp_core.c config.u.tx.filt_pswords = false; u 1338 drivers/net/ethernet/ti/netcp_core.c config.u.tx.priority = DMA_PRIO_MED_L; u 1665 drivers/net/ethernet/ti/netcp_core.c config.u.rx.einfo_present = true; u 1666 drivers/net/ethernet/ti/netcp_core.c config.u.rx.psinfo_present = true; u 1667 drivers/net/ethernet/ti/netcp_core.c config.u.rx.err_mode = DMA_DROP; u 1668 drivers/net/ethernet/ti/netcp_core.c config.u.rx.desc_type = DMA_DESC_HOST; u 1669 drivers/net/ethernet/ti/netcp_core.c config.u.rx.psinfo_at_sop = false; u 1670 drivers/net/ethernet/ti/netcp_core.c config.u.rx.sop_offset = NETCP_SOP_OFFSET; u 1671 drivers/net/ethernet/ti/netcp_core.c config.u.rx.dst_q = netcp->rx_queue_id; u 1672 drivers/net/ethernet/ti/netcp_core.c config.u.rx.thresh = DMA_THRESH_NONE; u 1677 drivers/net/ethernet/ti/netcp_core.c config.u.rx.fdq[i] = last_fdq; u 579 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 580 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c memcpy(iwe.u.ap_addr.sa_data, &scan->bssid[2], ETH_ALEN); u 585 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.flags = 1; u 586 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = strnlen(scan->essid, 32); u 591 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.freq.m = be16_to_cpu(scan->channel); u 592 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.freq.e = 0; /* table value in MHz */ u 593 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.freq.i = 0; u 598 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; u 612 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.bitrate.value = rate * 500000; /* 500kbps unit */ u 617 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.bitrate.value = (scan->ext_rate[j++] & 0x7f) * 500000; u 628 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 630 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 631 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = 0; u 639 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.mode = IW_MODE_MASTER; u 641 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.mode = IW_MODE_ADHOC; u 647 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.updated = IW_QUAL_ALL_UPDATED | u 649 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.level = be16_to_cpu(scan->rssi); u 650 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.qual = be16_to_cpu(scan->rssi); u 651 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.noise = 0; u 661 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = len; u 676 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = ie_info.wpa.len; u 684 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = ie_info.rsn.len; u 136 drivers/net/geneve.c addr == node->geneve->info.key.u.ipv4.dst) u 155 drivers/net/geneve.c ipv6_addr_equal(&addr6, &node->geneve->info.key.u.ipv6.dst)) u 236 drivers/net/geneve.c ip_tunnel_info_opts_set(&tun_dst->u.tun_info, u 790 drivers/net/geneve.c fl4->daddr = info->key.u.ipv4.dst; u 791 drivers/net/geneve.c fl4->saddr = info->key.u.ipv4.src; u 840 drivers/net/geneve.c fl6->daddr = info->key.u.ipv6.dst; u 841 drivers/net/geneve.c fl6->saddr = info->key.u.ipv6.src; u 1047 drivers/net/geneve.c info->key.u.ipv4.src = fl4.saddr; u 1059 drivers/net/geneve.c info->key.u.ipv6.src = fl6.saddr; u 1235 drivers/net/geneve.c !memcmp(&info->key.u, &geneve->info.key.u, sizeof(info->key.u))) u 1245 drivers/net/geneve.c memchr_inv(&info->key.u, 0, sizeof(info->key.u))); u 1252 drivers/net/geneve.c return a->key.u.ipv4.dst == b->key.u.ipv4.dst; u 1254 drivers/net/geneve.c return ipv6_addr_equal(&a->key.u.ipv6.dst, &b->key.u.ipv6.dst); u 1347 drivers/net/geneve.c info->key.u.ipv4.dst = u 1350 drivers/net/geneve.c if (ipv4_is_multicast(info->key.u.ipv4.dst)) { u 1365 drivers/net/geneve.c info->key.u.ipv6.dst = u 1368 drivers/net/geneve.c if (ipv6_addr_type(&info->key.u.ipv6.dst) & u 1374 drivers/net/geneve.c if (ipv6_addr_is_multicast(&info->key.u.ipv6.dst)) { u 1507 drivers/net/geneve.c struct flowi4 fl4 = { .daddr = info->key.u.ipv4.dst }; u 1523 drivers/net/geneve.c rt = rt6_lookup(geneve->net, &info->key.u.ipv6.dst, NULL, 0, u 1697 drivers/net/geneve.c info->key.u.ipv4.dst)) u 1706 drivers/net/geneve.c &info->key.u.ipv6.dst)) u 49 drivers/net/gtp.c } u; u 114 drivers/net/gtp.c pdp->u.v0.tid == tid) u 130 drivers/net/gtp.c pdp->u.v1.i_tei == tid) u 415 drivers/net/gtp.c gtp0->flow = htons(pctx->u.v0.flow); u 418 drivers/net/gtp.c gtp0->tid = cpu_to_be64(pctx->u.v0.tid); u 437 drivers/net/gtp.c gtp1->tid = htonl(pctx->u.v1.o_tei); u 922 drivers/net/gtp.c pctx->u.v0.tid = nla_get_u64(info->attrs[GTPA_TID]); u 923 drivers/net/gtp.c pctx->u.v0.flow = nla_get_u16(info->attrs[GTPA_FLOW]); u 926 drivers/net/gtp.c pctx->u.v1.i_tei = nla_get_u32(info->attrs[GTPA_I_TEI]); u 927 drivers/net/gtp.c pctx->u.v1.o_tei = nla_get_u32(info->attrs[GTPA_O_TEI]); u 975 drivers/net/gtp.c pctx->u.v0.tid, pctx); u 978 drivers/net/gtp.c pctx->u.v1.i_tei, pctx->u.v1.o_tei, pctx); u 1001 drivers/net/gtp.c hash_tid = gtp0_hashfn(pctx->u.v0.tid) % gtp->hash_size; u 1004 drivers/net/gtp.c hash_tid = gtp1u_hashfn(pctx->u.v1.i_tei) % gtp->hash_size; u 1014 drivers/net/gtp.c pctx->u.v0.tid, &pctx->peer_addr_ip4, u 1019 drivers/net/gtp.c pctx->u.v1.i_tei, pctx->u.v1.o_tei, u 1160 drivers/net/gtp.c pctx->u.v0.tid, pctx); u 1163 drivers/net/gtp.c pctx->u.v1.i_tei, pctx->u.v1.o_tei, pctx); u 1191 drivers/net/gtp.c if (nla_put_u64_64bit(skb, GTPA_TID, pctx->u.v0.tid, GTPA_PAD) || u 1192 drivers/net/gtp.c nla_put_u16(skb, GTPA_FLOW, pctx->u.v0.flow)) u 1196 drivers/net/gtp.c if (nla_put_u32(skb, GTPA_I_TEI, pctx->u.v1.i_tei) || u 1197 drivers/net/gtp.c nla_put_u32(skb, GTPA_O_TEI, pctx->u.v1.o_tei)) u 344 drivers/net/hamradio/baycom_ser_fdx.c enum uart u; u 360 drivers/net/hamradio/baycom_ser_fdx.c u = uart_tab[(inb(IIR(iobase)) >> 6) & 3]; u 361 drivers/net/hamradio/baycom_ser_fdx.c if (u == c_uart_16450) { u 367 drivers/net/hamradio/baycom_ser_fdx.c u = c_uart_8250; u 369 drivers/net/hamradio/baycom_ser_fdx.c return u; u 377 drivers/net/hamradio/baycom_ser_fdx.c enum uart u; u 402 drivers/net/hamradio/baycom_ser_fdx.c if ((u = ser12_check_uart(dev->base_addr)) == c_uart_unknown){ u 434 drivers/net/hamradio/baycom_ser_fdx.c bc_drvname, dev->base_addr, dev->irq, bc->baud, uart_str[u]); u 426 drivers/net/hamradio/baycom_ser_hdx.c enum uart u; u 442 drivers/net/hamradio/baycom_ser_hdx.c u = uart_tab[(inb(IIR(iobase)) >> 6) & 3]; u 443 drivers/net/hamradio/baycom_ser_hdx.c if (u == c_uart_16450) { u 449 drivers/net/hamradio/baycom_ser_hdx.c u = c_uart_8250; u 451 drivers/net/hamradio/baycom_ser_hdx.c return u; u 459 drivers/net/hamradio/baycom_ser_hdx.c enum uart u; u 470 drivers/net/hamradio/baycom_ser_hdx.c if ((u = ser12_check_uart(dev->base_addr)) == c_uart_unknown) { u 493 drivers/net/hamradio/baycom_ser_hdx.c bc_drvname, dev->base_addr, dev->irq, uart_str[u]); u 497 drivers/net/hamradio/yam.c enum uart u; u 513 drivers/net/hamradio/yam.c u = uart_tab[(inb(IIR(iobase)) >> 6) & 3]; u 514 drivers/net/hamradio/yam.c if (u == c_uart_16450) { u 520 drivers/net/hamradio/yam.c u = c_uart_8250; u 522 drivers/net/hamradio/yam.c return u; u 837 drivers/net/hamradio/yam.c enum uart u; u 854 drivers/net/hamradio/yam.c if ((u = yam_check_uart(dev->base_addr)) == c_uart_unknown) { u 886 drivers/net/hamradio/yam.c uart_str[u]); u 984 drivers/net/tap.c unsigned short u; u 993 drivers/net/tap.c if (get_user(u, &ifr->ifr_flags)) u 997 drivers/net/tap.c if ((u & ~TAP_IFFEATURES) != (IFF_NO_PI | IFF_TAP)) u 1000 drivers/net/tap.c q->flags = (q->flags & ~TAP_IFFEATURES) | u; u 1013 drivers/net/tap.c u = q->flags; u 1015 drivers/net/tap.c put_user(u, &ifr->ifr_flags)) u 1022 drivers/net/tap.c if (get_user(u, &ifr->ifr_flags)) u 1025 drivers/net/tap.c ret = tap_ioctl_set_queue(file, u); u 1098 drivers/net/tap.c u = tap->dev->type; u 1101 drivers/net/tap.c put_user(u, &ifr->ifr_hwaddr.sa_family)) u 916 drivers/net/tun.c struct { u8 u[ETH_ALEN]; } *addr; u 942 drivers/net/tun.c memcpy(filter->addr[n], addr[n].u, ETH_ALEN); u 950 drivers/net/tun.c if (!is_multicast_ether_addr(addr[n].u)) { u 954 drivers/net/tun.c addr_hash_set(filter->mask, addr[n].u); u 157 drivers/net/usb/cdc_ether.c info->u = header.usb_cdc_union_desc; u 160 drivers/net/usb/cdc_ether.c if (!info->u) { u 170 drivers/net/usb/cdc_ether.c info->control = usb_ifnum_to_if(dev->udev, info->u->bMasterInterface0); u 171 drivers/net/usb/cdc_ether.c info->data = usb_ifnum_to_if(dev->udev, info->u->bSlaveInterface0); u 175 drivers/net/usb/cdc_ether.c info->u->bMasterInterface0, u 177 drivers/net/usb/cdc_ether.c info->u->bSlaveInterface0, u 255 drivers/net/usb/cdc_ether.c if (rndis && (!info->u || android_rndis_quirk)) { u 269 drivers/net/usb/cdc_ether.c info->u ? "" : "union ", u 488 drivers/net/usb/kaweth.c static void int_callback(struct urb *u) u 490 drivers/net/usb/kaweth.c struct kaweth_device *kaweth = u->context; u 492 drivers/net/usb/kaweth.c int status = u->status; u 237 drivers/net/usb/rndis_host.c } u; u 240 drivers/net/usb/rndis_host.c u.buf = buf; u 242 drivers/net/usb/rndis_host.c memset(u.get, 0, sizeof *u.get + in_len); u 243 drivers/net/usb/rndis_host.c u.get->msg_type = cpu_to_le32(RNDIS_MSG_QUERY); u 244 drivers/net/usb/rndis_host.c u.get->msg_len = cpu_to_le32(sizeof *u.get + in_len); u 245 drivers/net/usb/rndis_host.c u.get->oid = cpu_to_le32(oid); u 246 drivers/net/usb/rndis_host.c u.get->len = cpu_to_le32(in_len); u 247 drivers/net/usb/rndis_host.c u.get->offset = cpu_to_le32(20); u 249 drivers/net/usb/rndis_host.c retval = rndis_command(dev, u.header, CONTROL_BUFFER_SIZE); u 256 drivers/net/usb/rndis_host.c off = le32_to_cpu(u.get_c->offset); u 257 drivers/net/usb/rndis_host.c len = le32_to_cpu(u.get_c->len); u 264 drivers/net/usb/rndis_host.c *reply = (unsigned char *) &u.get_c->request_id + off; u 303 drivers/net/usb/rndis_host.c } u; u 310 drivers/net/usb/rndis_host.c u.buf = kmalloc(CONTROL_BUFFER_SIZE, GFP_KERNEL); u 311 drivers/net/usb/rndis_host.c if (!u.buf) u 317 drivers/net/usb/rndis_host.c u.init->msg_type = cpu_to_le32(RNDIS_MSG_INIT); u 318 drivers/net/usb/rndis_host.c u.init->msg_len = cpu_to_le32(sizeof *u.init); u 319 drivers/net/usb/rndis_host.c u.init->major_version = cpu_to_le32(1); u 320 drivers/net/usb/rndis_host.c u.init->minor_version = cpu_to_le32(0); u 346 drivers/net/usb/rndis_host.c u.init->max_transfer_size = cpu_to_le32(dev->rx_urb_size); u 350 drivers/net/usb/rndis_host.c retval = rndis_command(dev, u.header, CONTROL_BUFFER_SIZE); u 356 drivers/net/usb/rndis_host.c tmp = le32_to_cpu(u.init_c->max_transfer_size); u 377 drivers/net/usb/rndis_host.c 1 << le32_to_cpu(u.init_c->packet_alignment)); u 388 drivers/net/usb/rndis_host.c retval = rndis_query(dev, intf, u.buf, u 413 drivers/net/usb/rndis_host.c retval = rndis_query(dev, intf, u.buf, u 427 drivers/net/usb/rndis_host.c memset(u.set, 0, sizeof *u.set); u 428 drivers/net/usb/rndis_host.c u.set->msg_type = cpu_to_le32(RNDIS_MSG_SET); u 429 drivers/net/usb/rndis_host.c u.set->msg_len = cpu_to_le32(4 + sizeof *u.set); u 430 drivers/net/usb/rndis_host.c u.set->oid = cpu_to_le32(RNDIS_OID_GEN_CURRENT_PACKET_FILTER); u 431 drivers/net/usb/rndis_host.c u.set->len = cpu_to_le32(4); u 432 drivers/net/usb/rndis_host.c u.set->offset = cpu_to_le32((sizeof *u.set) - 8); u 433 drivers/net/usb/rndis_host.c *(__le32 *)(u.buf + sizeof *u.set) = cpu_to_le32(RNDIS_DEFAULT_FILTER); u 435 drivers/net/usb/rndis_host.c retval = rndis_command(dev, u.header, CONTROL_BUFFER_SIZE); u 443 drivers/net/usb/rndis_host.c kfree(u.buf); u 447 drivers/net/usb/rndis_host.c memset(u.halt, 0, sizeof *u.halt); u 448 drivers/net/usb/rndis_host.c u.halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT); u 449 drivers/net/usb/rndis_host.c u.halt->msg_len = cpu_to_le32(sizeof *u.halt); u 450 drivers/net/usb/rndis_host.c (void) rndis_command(dev, (void *)u.halt, CONTROL_BUFFER_SIZE); u 456 drivers/net/usb/rndis_host.c kfree(u.buf); u 1547 drivers/net/vxlan.c tun_dst->u.tun_info.key.tun_flags |= TUNNEL_VXLAN_OPT; u 1548 drivers/net/vxlan.c tun_dst->u.tun_info.options_len = sizeof(*md); u 1711 drivers/net/vxlan.c md = ip_tunnel_info_opts(&tun_dst->u.tun_info); u 2481 drivers/net/vxlan.c remote_ip.sin.sin_addr.s_addr = info->key.u.ipv4.dst; u 2482 drivers/net/vxlan.c local_ip.sin.sin_addr.s_addr = info->key.u.ipv4.src; u 2484 drivers/net/vxlan.c remote_ip.sin6.sin6_addr = info->key.u.ipv6.dst; u 2485 drivers/net/vxlan.c local_ip.sin6.sin6_addr = info->key.u.ipv6.src; u 2934 drivers/net/vxlan.c info->key.u.ipv4.dst, u 2935 drivers/net/vxlan.c &info->key.u.ipv4.src, dport, sport, u 2946 drivers/net/vxlan.c info->key.label, &info->key.u.ipv6.dst, u 2947 drivers/net/vxlan.c &info->key.u.ipv6.src, dport, sport, u 335 drivers/net/wan/sealevel.c int u; u 339 drivers/net/wan/sealevel.c for (u = 0; u < 2; u++) { u 340 drivers/net/wan/sealevel.c struct net_device *d = b->dev[u].chan->netdevice; u 572 drivers/net/wireless/ath/ath10k/core.h } u; u 1492 drivers/net/wireless/ath/ath10k/mac.c arg.ssid = arvif->u.ap.ssid; u 1493 drivers/net/wireless/ath/ath10k/mac.c arg.ssid_len = arvif->u.ap.ssid_len; u 1494 drivers/net/wireless/ath/ath10k/mac.c arg.hidden_ssid = arvif->u.ap.hidden_ssid; u 1559 drivers/net/wireless/ath/ath10k/mac.c mgmt->u.beacon.variable, u 1560 drivers/net/wireless/ath/ath10k/mac.c bcn->len - (mgmt->u.beacon.variable - u 1640 drivers/net/wireless/ath/ath10k/mac.c u.beacon.variable)); u 1849 drivers/net/wireless/ath/ath10k/mac.c if (arvif->u.sta.uapsd) u 1874 drivers/net/wireless/ath/ath10k/mac.c if (arvif->u.sta.uapsd) u 3566 drivers/net/wireless/ath/ath10k/mac.c if (arvif->u.ap.noa_data) u 3567 drivers/net/wireless/ath/ath10k/mac.c if (!pskb_expand_head(skb, 0, arvif->u.ap.noa_len, u 3569 drivers/net/wireless/ath/ath10k/mac.c skb_put_data(skb, arvif->u.ap.noa_data, u 3570 drivers/net/wireless/ath/ath10k/mac.c arvif->u.ap.noa_len); u 4211 drivers/net/wireless/ath/ath10k/mac.c .u.scan_id = ATH10K_SCAN_ID, u 5528 drivers/net/wireless/ath/ath10k/mac.c kfree(arvif->u.ap.noa_data); u 5693 drivers/net/wireless/ath/ath10k/mac.c strncpy(arvif->u.ap.ssid, "mesh", u 5694 drivers/net/wireless/ath/ath10k/mac.c sizeof(arvif->u.ap.ssid)); u 5695 drivers/net/wireless/ath/ath10k/mac.c arvif->u.ap.ssid_len = 4; u 5723 drivers/net/wireless/ath/ath10k/mac.c arvif->u.ap.ssid_len = info->ssid_len; u 5725 drivers/net/wireless/ath/ath10k/mac.c memcpy(arvif->u.ap.ssid, info->ssid, info->ssid_len); u 5726 drivers/net/wireless/ath/ath10k/mac.c arvif->u.ap.hidden_ssid = info->hidden_ssid; u 6752 drivers/net/wireless/ath/ath10k/mac.c arvif->u.sta.uapsd |= value; u 6754 drivers/net/wireless/ath/ath10k/mac.c arvif->u.sta.uapsd &= ~value; u 6758 drivers/net/wireless/ath/ath10k/mac.c arvif->u.sta.uapsd); u 6764 drivers/net/wireless/ath/ath10k/mac.c if (arvif->u.sta.uapsd) u 77 drivers/net/wireless/ath/ath10k/p2p.c kfree(arvif->u.ap.noa_data); u 79 drivers/net/wireless/ath/ath10k/p2p.c arvif->u.ap.noa_data = ie; u 80 drivers/net/wireless/ath/ath10k/p2p.c arvif->u.ap.noa_len = len; u 1913 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (arg->req_type == WMI_SCAN_STOP_ONE && arg->u.scan_id > 0xFFF) u 1920 drivers/net/wireless/ath/ath10k/wmi-tlv.c scan_id = arg->u.scan_id; u 1931 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->vdev_id = __cpu_to_le32(arg->u.vdev_id); u 3496 drivers/net/wireless/ath/ath10k/wmi.c if (sizeof(arvif->u.ap.tim_bitmap) < tim_len) { u 3498 drivers/net/wireless/ath/ath10k/wmi.c tim_len, sizeof(arvif->u.ap.tim_bitmap)); u 3499 drivers/net/wireless/ath/ath10k/wmi.c tim_len = sizeof(arvif->u.ap.tim_bitmap); u 3505 drivers/net/wireless/ath/ath10k/wmi.c arvif->u.ap.tim_bitmap[i] = (v >> ((i % 4) * 8)) & 0xFF; u 3511 drivers/net/wireless/ath/ath10k/wmi.c arvif->u.ap.tim_len = 0; u 3513 drivers/net/wireless/ath/ath10k/wmi.c if (arvif->u.ap.tim_bitmap[i]) u 3514 drivers/net/wireless/ath/ath10k/wmi.c arvif->u.ap.tim_len = i; u 3516 drivers/net/wireless/ath/ath10k/wmi.c arvif->u.ap.tim_len++; u 3535 drivers/net/wireless/ath/ath10k/wmi.c if (pvm_len < arvif->u.ap.tim_len) { u 3557 drivers/net/wireless/ath/ath10k/wmi.c memcpy(tim->virtual_map, arvif->u.ap.tim_bitmap, pvm_len); u 3583 drivers/net/wireless/ath/ath10k/wmi.c if (arvif->u.ap.noa_data) u 3584 drivers/net/wireless/ath/ath10k/wmi.c if (!pskb_expand_head(bcn, 0, arvif->u.ap.noa_len, GFP_ATOMIC)) u 3585 drivers/net/wireless/ath/ath10k/wmi.c skb_put_data(bcn, arvif->u.ap.noa_data, u 3586 drivers/net/wireless/ath/ath10k/wmi.c arvif->u.ap.noa_len); u 6981 drivers/net/wireless/ath/ath10k/wmi.c if (arg->req_type == WMI_SCAN_STOP_ONE && arg->u.scan_id > 0xFFF) u 6988 drivers/net/wireless/ath/ath10k/wmi.c scan_id = arg->u.scan_id; u 6996 drivers/net/wireless/ath/ath10k/wmi.c cmd->vdev_id = __cpu_to_le32(arg->u.vdev_id); u 7002 drivers/net/wireless/ath/ath10k/wmi.c arg->req_id, arg->req_type, arg->u.scan_id); u 3298 drivers/net/wireless/ath/ath10k/wmi.h } u; u 1247 drivers/net/wireless/ath/ath5k/base.c if (le16_to_cpu(mgmt->u.beacon.capab_info) & WLAN_CAPABILITY_IBSS) { u 1254 drivers/net/wireless/ath/ath5k/base.c bc_tstamp = le64_to_cpu(mgmt->u.beacon.timestamp); u 2803 drivers/net/wireless/ath/ath6kl/cfg80211.c ies = mgmt->u.beacon.variable; u 3081 drivers/net/wireless/ath/ath6kl/cfg80211.c pos = mgmt->u.probe_resp.variable; u 3175 drivers/net/wireless/ath/ath6kl/cfg80211.c if (buf + len >= &mgmt->u.probe_resp.variable[1] && u 3176 drivers/net/wireless/ath/ath6kl/cfg80211.c (mgmt->u.probe_resp.variable[1] > P2P_WILDCARD_SSID_LEN)) { u 438 drivers/net/wireless/ath/ath6kl/main.c sizeof(mgmt->u.assoc_req)) { u 439 drivers/net/wireless/ath/ath6kl/main.c ies = mgmt->u.assoc_req.variable; u 443 drivers/net/wireless/ath/ath6kl/main.c + sizeof(mgmt->u.reassoc_req)) { u 444 drivers/net/wireless/ath/ath6kl/main.c ies = mgmt->u.reassoc_req.variable; u 868 drivers/net/wireless/ath/ath6kl/wmi.c if (memcmp(dev->dev_addr, ev->u.ap_bss.bssid, ETH_ALEN) == 0) { u 871 drivers/net/wireless/ath/ath6kl/wmi.c __func__, le16_to_cpu(ev->u.ap_bss.ch), u 872 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_bss.bssid); u 874 drivers/net/wireless/ath/ath6kl/wmi.c vif, le16_to_cpu(ev->u.ap_bss.ch)); u 878 drivers/net/wireless/ath/ath6kl/wmi.c __func__, ev->u.ap_sta.aid, u 879 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.mac_addr, u 880 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.auth, u 881 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.keymgmt, u 882 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.ap_sta.cipher), u 883 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.apsd_info); u 886 drivers/net/wireless/ath/ath6kl/wmi.c vif, ev->u.ap_sta.aid, ev->u.ap_sta.mac_addr, u 887 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.keymgmt, u 888 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.ap_sta.cipher), u 889 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.auth, ev->assoc_req_len, u 891 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.apsd_info); u 900 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.ch), ev->u.sta.bssid, u 901 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.listen_intvl), u 902 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.beacon_intvl), u 903 drivers/net/wireless/ath/ath6kl/wmi.c le32_to_cpu(ev->u.sta.nw_type)); u 932 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_connect_event(vif, le16_to_cpu(ev->u.sta.ch), u 933 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.sta.bssid, u 934 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.listen_intvl), u 935 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.beacon_intvl), u 936 drivers/net/wireless/ath/ath6kl/wmi.c le32_to_cpu(ev->u.sta.nw_type), u 1544 drivers/net/wireless/ath/ath6kl/wmi.h } u; u 414 drivers/net/wireless/ath/ath9k/ar9002_mac.c memset(&ads->u.rx, 0, sizeof(ads->u.rx)); u 145 drivers/net/wireless/ath/ath9k/beacon.c mgmt_hdr->u.beacon.timestamp = avp->tsf_adjust; u 229 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c mgmt->u.beacon.timestamp = avp->tsfadjust; u 238 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c mgmt->u.probe_resp.timestamp = avp->tsfadjust; u 534 drivers/net/wireless/ath/ath9k/mac.c ads.u.rx = adsp->u.rx; u 311 drivers/net/wireless/ath/ath9k/mac.h } u; u 317 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl2 u.tx.ctl2 u 318 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl3 u.tx.ctl3 u 319 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl4 u.tx.ctl4 u 320 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl5 u.tx.ctl5 u 321 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl6 u.tx.ctl6 u 322 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl7 u.tx.ctl7 u 323 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl8 u.tx.ctl8 u 324 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl9 u.tx.ctl9 u 325 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl10 u.tx.ctl10 u 326 drivers/net/wireless/ath/ath9k/mac.h #define ds_ctl11 u.tx.ctl11 u 328 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus0 u.tx.status0 u 329 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus1 u.tx.status1 u 330 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus2 u.tx.status2 u 331 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus3 u.tx.status3 u 332 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus4 u.tx.status4 u 333 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus5 u.tx.status5 u 334 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus6 u.tx.status6 u 335 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus7 u.tx.status7 u 336 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus8 u.tx.status8 u 337 drivers/net/wireless/ath/ath9k/mac.h #define ds_txstatus9 u.tx.status9 u 339 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus0 u.rx.status0 u 340 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus1 u.rx.status1 u 341 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus2 u.rx.status2 u 342 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus3 u.rx.status3 u 343 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus4 u.rx.status4 u 344 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus5 u.rx.status5 u 345 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus6 u.rx.status6 u 346 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus7 u.rx.status7 u 347 drivers/net/wireless/ath/ath9k/mac.h #define ds_rxstatus8 u.rx.status8 u 512 drivers/net/wireless/ath/ath9k/recv.c pos = mgmt->u.beacon.variable; u 495 drivers/net/wireless/ath/carl9170/rx.c pos = (u8 *)mgmt->u.beacon.variable; u 3285 drivers/net/wireless/ath/wcn36xx/hal.h } u; u 1861 drivers/net/wireless/ath/wil6210/cfg80211.c u.probe_resp.variable); u 1863 drivers/net/wireless/ath/wil6210/cfg80211.c ies = f->u.probe_resp.variable; u 1087 drivers/net/wireless/ath/wil6210/debugfs.c volatile u32 *u; u 1130 drivers/net/wireless/ath/wil6210/debugfs.c u = (volatile u32 *)d; u 1157 drivers/net/wireless/ath/wil6210/debugfs.c u[0], u[1], u[2], u[3]); u 1159 drivers/net/wireless/ath/wil6210/debugfs.c u[4], u[5], u[6], u[7]); u 1181 drivers/net/wireless/ath/wil6210/debugfs.c u32 *u; u 1202 drivers/net/wireless/ath/wil6210/debugfs.c u = sring->va + (sring->elem_size * status_msg_idx); u 1208 drivers/net/wireless/ath/wil6210/debugfs.c u[0], u[1], u[2], u[3]); u 1211 drivers/net/wireless/ath/wil6210/debugfs.c u[4], u[5], u[6], u[7]); u 887 drivers/net/wireless/ath/wil6210/wmi.c u64 tsf = le64_to_cpu(rx_mgmt_frame->u.beacon.timestamp); u 888 drivers/net/wireless/ath/wil6210/wmi.c u16 cap = le16_to_cpu(rx_mgmt_frame->u.beacon.capab_info); u 889 drivers/net/wireless/ath/wil6210/wmi.c u16 bi = le16_to_cpu(rx_mgmt_frame->u.beacon.beacon_int); u 890 drivers/net/wireless/ath/wil6210/wmi.c const u8 *ie_buf = rx_mgmt_frame->u.beacon.variable; u 892 drivers/net/wireless/ath/wil6210/wmi.c u.beacon.variable); u 1530 drivers/net/wireless/atmel/at76c50x-usb.c el_off = offsetof(struct ieee80211_mgmt, u.probe_resp.variable); u 1531 drivers/net/wireless/atmel/at76c50x-usb.c el = ((struct ieee80211_mgmt *)hdr)->u.probe_resp.variable; u 1533 drivers/net/wireless/atmel/at76c50x-usb.c el_off = offsetof(struct ieee80211_mgmt, u.beacon.variable); u 1534 drivers/net/wireless/atmel/at76c50x-usb.c el = ((struct ieee80211_mgmt *)hdr)->u.beacon.variable; u 2338 drivers/net/wireless/atmel/atmel.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 2339 drivers/net/wireless/atmel/atmel.c memcpy(iwe.u.ap_addr.sa_data, priv->BSSinfo[i].BSSID, ETH_ALEN); u 2344 drivers/net/wireless/atmel/atmel.c iwe.u.data.length = priv->BSSinfo[i].SSIDsize; u 2345 drivers/net/wireless/atmel/atmel.c if (iwe.u.data.length > 32) u 2346 drivers/net/wireless/atmel/atmel.c iwe.u.data.length = 32; u 2348 drivers/net/wireless/atmel/atmel.c iwe.u.data.flags = 1; u 2354 drivers/net/wireless/atmel/atmel.c iwe.u.mode = priv->BSSinfo[i].BSStype; u 2360 drivers/net/wireless/atmel/atmel.c iwe.u.freq.m = priv->BSSinfo[i].channel; u 2361 drivers/net/wireless/atmel/atmel.c iwe.u.freq.e = 0; u 2368 drivers/net/wireless/atmel/atmel.c iwe.u.qual.level = priv->BSSinfo[i].RSSI; u 2369 drivers/net/wireless/atmel/atmel.c iwe.u.qual.qual = iwe.u.qual.level; u 2378 drivers/net/wireless/atmel/atmel.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 2380 drivers/net/wireless/atmel/atmel.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 2381 drivers/net/wireless/atmel/atmel.c iwe.u.data.length = 0; u 2636 drivers/net/wireless/atmel/atmel.c wrq->u.param.value = ATMELMAGIC; u 1656 drivers/net/wireless/broadcom/b43/main.c ie = bcn->u.beacon.variable; u 1657 drivers/net/wireless/broadcom/b43/main.c variable_len = len - offsetof(struct ieee80211_mgmt, u.beacon.variable); u 1677 drivers/net/wireless/broadcom/b43/main.c tim_position += offsetof(struct ieee80211_mgmt, u.beacon.variable); u 976 drivers/net/wireless/broadcom/b43legacy/main.c ie = bcn->u.beacon.variable; u 977 drivers/net/wireless/broadcom/b43legacy/main.c variable_len = len - offsetof(struct ieee80211_mgmt, u.beacon.variable); u 998 drivers/net/wireless/broadcom/b43legacy/main.c u.beacon.variable); u 1065 drivers/net/wireless/broadcom/b43legacy/main.c ie_start = offsetof(struct ieee80211_mgmt, u.probe_resp.variable); u 1067 drivers/net/wireless/broadcom/b43legacy/main.c u.beacon.variable)); u 290 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h } u; u 1406 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c mgmt_frame = kzalloc(offsetof(struct ieee80211_mgmt, u) + u 1417 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(&mgmt_frame->u, frame, mgmt_frame_len); u 1418 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c mgmt_frame_len += offsetof(struct ieee80211_mgmt, u); u 2533 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 538 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h } u; u 1239 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 1375 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 1524 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 1608 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 2080 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 2252 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 2281 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 2379 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 2450 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 2658 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 2937 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 3196 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 3403 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 3458 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 3574 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 3907 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4055 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4172 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4202 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4264 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4332 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4698 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4754 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4816 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 4866 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 5037 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c kfree(pi->u.pi_lcnphy); u 5044 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi->u.pi_lcnphy = kzalloc(sizeof(struct brcms_phy_lcnphy), GFP_ATOMIC); u 5045 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (pi->u.pi_lcnphy == NULL) u 5048 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn = pi->u.pi_lcnphy; u 5121 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 5163 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct brcms_phy_lcnphy *pi_lcn = pi->u.pi_lcnphy; u 843 drivers/net/wireless/cisco/airo.c } u; u 1415 drivers/net/wireless/cisco/airo.c memcpy(&mic->u.snap, micsnap, sizeof(micsnap)); // Add Snap u 1476 drivers/net/wireless/cisco/airo.c if (memcmp (mic->u.snap, micsnap, sizeof(micsnap)) != 0) { u 1511 drivers/net/wireless/cisco/airo.c emmh32_update(&context->seed, (u8 *)&mic->typelen, sizeof(mic->typelen)+sizeof(mic->u.snap)); u 7279 drivers/net/wireless/cisco/airo.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 7280 drivers/net/wireless/cisco/airo.c memcpy(iwe.u.ap_addr.sa_data, bss->bssid, ETH_ALEN); u 7287 drivers/net/wireless/cisco/airo.c iwe.u.data.length = bss->ssidLen; u 7288 drivers/net/wireless/cisco/airo.c if(iwe.u.data.length > 32) u 7289 drivers/net/wireless/cisco/airo.c iwe.u.data.length = 32; u 7291 drivers/net/wireless/cisco/airo.c iwe.u.data.flags = 1; u 7300 drivers/net/wireless/cisco/airo.c iwe.u.mode = IW_MODE_MASTER; u 7302 drivers/net/wireless/cisco/airo.c iwe.u.mode = IW_MODE_ADHOC; u 7309 drivers/net/wireless/cisco/airo.c iwe.u.freq.m = le16_to_cpu(bss->dsChannel); u 7310 drivers/net/wireless/cisco/airo.c iwe.u.freq.m = 100000 * u 7311 drivers/net/wireless/cisco/airo.c ieee80211_channel_to_frequency(iwe.u.freq.m, NL80211_BAND_2GHZ); u 7312 drivers/net/wireless/cisco/airo.c iwe.u.freq.e = 1; u 7321 drivers/net/wireless/cisco/airo.c iwe.u.qual.level = 0x100 - dBm; u 7322 drivers/net/wireless/cisco/airo.c iwe.u.qual.qual = airo_dbm_to_pct(ai->rssi, dBm); u 7323 drivers/net/wireless/cisco/airo.c iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED u 7327 drivers/net/wireless/cisco/airo.c iwe.u.qual.level = (dBm + 321) / 2; u 7328 drivers/net/wireless/cisco/airo.c iwe.u.qual.qual = 0; u 7329 drivers/net/wireless/cisco/airo.c iwe.u.qual.updated = IW_QUAL_QUAL_INVALID u 7333 drivers/net/wireless/cisco/airo.c iwe.u.qual.noise = ai->wstats.qual.noise; u 7340 drivers/net/wireless/cisco/airo.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 7342 drivers/net/wireless/cisco/airo.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 7343 drivers/net/wireless/cisco/airo.c iwe.u.data.length = 0; u 7353 drivers/net/wireless/cisco/airo.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; u 7360 drivers/net/wireless/cisco/airo.c iwe.u.bitrate.value = ((bss->rates[i] & 0x7f) * 500000); u 7375 drivers/net/wireless/cisco/airo.c iwe.u.data.length = strlen(buf); u 7409 drivers/net/wireless/cisco/airo.c iwe.u.data.length = min(ie[1] + 2, u 7420 drivers/net/wireless/cisco/airo.c iwe.u.data.length = min(ie[1] + 2, 64); u 2608 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct ipw2100_rx *u = priv->rx_buffers[i].rxp; u 2613 drivers/net/wireless/intel/ipw2x00/ipw2100.c return (status->frame_size != sizeof(u->rx_data.command)); u 2615 drivers/net/wireless/intel/ipw2x00/ipw2100.c return (status->frame_size != sizeof(u->rx_data.status)); u 2617 drivers/net/wireless/intel/ipw2x00/ipw2100.c return (status->frame_size < sizeof(u->rx_data.notification)); u 2623 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (WLAN_FC_GET_TYPE(le16_to_cpu(u->rx_data.header.frame_ctl))) { u 2668 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct ipw2100_rx *u; u 2700 drivers/net/wireless/intel/ipw2x00/ipw2100.c u = packet->rxp; u 2717 drivers/net/wireless/intel/ipw2x00/ipw2100.c isr_rx_complete_command(priv, &u->rx_data.command); u 2721 drivers/net/wireless/intel/ipw2x00/ipw2100.c isr_status_change(priv, u->rx_data.status); u 2734 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (WLAN_FC_GET_TYPE(le16_to_cpu(u->rx_data.header.frame_ctl))) { u 2737 drivers/net/wireless/intel/ipw2x00/ipw2100.c &u->rx_data.header, &stats); u 3812 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (le32_to_cpu(bd->u.data.num_chunks) > NUM_TFD_CHUNKS) { u 3814 drivers/net/wireless/intel/ipw2x00/ipw2200.c le32_to_cpu(bd->u.data.num_chunks)); u 3820 drivers/net/wireless/intel/ipw2x00/ipw2200.c for (i = 0; i < le32_to_cpu(bd->u.data.num_chunks); i++) { u 3821 drivers/net/wireless/intel/ipw2x00/ipw2200.c pci_unmap_single(dev, le32_to_cpu(bd->u.data.chunk_ptr[i]), u 3822 drivers/net/wireless/intel/ipw2x00/ipw2200.c le16_to_cpu(bd->u.data.chunk_len[i]), u 4481 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct notif_association *assoc = ¬if->u.assoc; u 4522 drivers/net/wireless/intel/ipw2x00/ipw2200.c (IPW_GET_PACKET_STYPE(¬if->u.raw) u 4543 drivers/net/wireless/intel/ipw2x00/ipw2200.c ¬if->u.raw, &stats); u 4558 drivers/net/wireless/intel/ipw2x00/ipw2200.c = ¬if->u.auth; u 4596 drivers/net/wireless/intel/ipw2x00/ipw2200.c *)¬if->u.raw; u 4642 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct notif_authenticate *auth = ¬if->u.auth; u 4730 drivers/net/wireless/intel/ipw2x00/ipw2200.c ¬if->u.channel_result; u 4744 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct notif_scan_complete *x = ¬if->u.scan_complete; u 4817 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct notif_frag_length *x = ¬if->u.frag_len; u 4831 drivers/net/wireless/intel/ipw2x00/ipw2200.c ¬if->u.link_deterioration; u 4858 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct notif_beacon_state *x = ¬if->u.beacon_state; u 4876 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct notif_tgi_tx_key *x = ¬if->u.tgi_tx_key; u 4892 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct notif_calibration *x = ¬if->u.calibration; u 4910 drivers/net/wireless/intel/ipw2x00/ipw2200.c (u8) (le32_to_cpu(notif->u.noise.value) & 0xff), u 5055 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.cmd.index = hcmd; u 5056 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.cmd.length = len; u 5057 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(tfd->u.cmd.payload, buf, len); u 7689 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (unlikely((le16_to_cpu(pkt->u.frame.length) + IPW_RX_FRAME_SIZE) > u 7703 drivers/net/wireless/intel/ipw2x00/ipw2200.c skb_reserve(rxb->skb, offsetof(struct ipw_rx_packet, u.frame.data)); u 7706 drivers/net/wireless/intel/ipw2x00/ipw2200.c skb_put(rxb->skb, le16_to_cpu(pkt->u.frame.length)); u 7732 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_rx_frame *frame = &pkt->u.frame; u 7745 drivers/net/wireless/intel/ipw2x00/ipw2200.c unsigned short len = le16_to_cpu(pkt->u.frame.length); u 7752 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (unlikely((le16_to_cpu(pkt->u.frame.length) + IPW_RX_FRAME_SIZE) > u 7909 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_rx_frame *frame = &pkt->u.frame; u 7920 drivers/net/wireless/intel/ipw2x00/ipw2200.c unsigned short len = le16_to_cpu(pkt->u.frame.length); u 8223 drivers/net/wireless/intel/ipw2x00/ipw2200.c skb_put(skb, le16_to_cpu(pkt->u.frame.length) + u 8286 drivers/net/wireless/intel/ipw2x00/ipw2200.c .rssi = pkt->u.frame.rssi_dbm - u 8289 drivers/net/wireless/intel/ipw2x00/ipw2200.c pkt->u.frame.rssi_dbm - u 8292 drivers/net/wireless/intel/ipw2x00/ipw2200.c le16_to_cpu(pkt->u.frame.noise), u 8293 drivers/net/wireless/intel/ipw2x00/ipw2200.c .rate = pkt->u.frame.rate, u 8296 drivers/net/wireless/intel/ipw2x00/ipw2200.c pkt->u.frame.received_channel, u 8298 drivers/net/wireless/intel/ipw2x00/ipw2200.c (pkt->u.frame. u 8302 drivers/net/wireless/intel/ipw2x00/ipw2200.c .len = le16_to_cpu(pkt->u.frame.length), u 8357 drivers/net/wireless/intel/ipw2x00/ipw2200.c le16_to_cpu(pkt->u.frame.length)); u 8359 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (le16_to_cpu(pkt->u.frame.length) < u 8407 drivers/net/wireless/intel/ipw2x00/ipw2200.c pkt->u.notification.subtype, u 8408 drivers/net/wireless/intel/ipw2x00/ipw2200.c pkt->u.notification.flags, u 8409 drivers/net/wireless/intel/ipw2x00/ipw2200.c le16_to_cpu(pkt->u.notification.size)); u 8410 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_rx_notification(priv, &pkt->u.notification); u 10138 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.station_number = id; u 10143 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.cmd_id = DINO_CMD_TX; u 10144 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.len = cpu_to_le16(txb->payload_size); u 10147 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_CCK; u 10149 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_OFDM; u 10152 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags |= DCT_FLAG_SHORT_PREAMBLE; u 10157 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(&tfd->u.data.tfd.tfd_24.mchdr, hdr, hdr_len); u 10160 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD; u 10165 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |= u 10172 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD; u 10174 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP; u 10175 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_CCM; u 10176 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.key_index = 0; u 10177 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.key_index |= DCT_WEP_INDEX_USE_IMMEDIATE; u 10180 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |= u 10182 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP; u 10183 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_TKIP; u 10184 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.key_index = DCT_WEP_INDEX_USE_IMMEDIATE; u 10187 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |= u 10189 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx; u 10192 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.key_index |= DCT_WEP_KEY_64Bit; u 10194 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.key_index |= DCT_WEP_KEY_128Bit; u 10205 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.tx_flags |= DCT_FLAG_NO_WEP; u 10209 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_qos_set_tx_queue_command(priv, pri, &(tfd->u.data)); u 10213 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2), u 10216 drivers/net/wireless/intel/ipw2x00/ipw2200.c txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks)); u 10217 drivers/net/wireless/intel/ipw2x00/ipw2200.c for (i = 0; i < le32_to_cpu(tfd->u.data.num_chunks); i++) { u 10219 drivers/net/wireless/intel/ipw2x00/ipw2200.c i, le32_to_cpu(tfd->u.data.num_chunks), u 10222 drivers/net/wireless/intel/ipw2x00/ipw2200.c i, tfd->u.data.num_chunks, u 10227 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.chunk_ptr[i] = u 10233 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.chunk_len[i] = u 10249 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes); u 10261 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.chunk_ptr[i] = u 10267 drivers/net/wireless/intel/ipw2x00/ipw2200.c le32_add_cpu(&tfd->u.data.num_chunks, 1); u 509 drivers/net/wireless/intel/ipw2x00/ipw2200.h } u; u 655 drivers/net/wireless/intel/ipw2x00/ipw2200.h } u; u 693 drivers/net/wireless/intel/ipw2x00/ipw2200.h } u; u 59 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 60 drivers/net/wireless/intel/ipw2x00/libipw_wx.c memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); u 67 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.flags = 1; u 68 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = min(network->ssid_len, (u8) 32); u 74 drivers/net/wireless/intel/ipw2x00/libipw_wx.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11%s", u 82 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.mode = IW_MODE_MASTER; u 84 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.mode = IW_MODE_ADHOC; u 93 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.freq.m = libipw_channel_to_freq(ieee, network->channel); u 94 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.freq.e = 6; u 95 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.freq.i = 0; u 101 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 103 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 104 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = 0; u 114 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; u 124 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.bitrate.value = ((rate & 0x7f) * 500000); u 132 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.bitrate.value = ((rate & 0x7f) * 500000); u 143 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED | IW_QUAL_LEVEL_UPDATED | u 147 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.updated |= IW_QUAL_QUAL_INVALID | u 149 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = 0; u 152 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = 100; u 154 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = u 165 drivers/net/wireless/intel/ipw2x00/libipw_wx.c if (iwe.u.qual.qual > 100) u 166 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = 100; u 167 drivers/net/wireless/intel/ipw2x00/libipw_wx.c else if (iwe.u.qual.qual < 1) u 168 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = 0; u 172 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.updated |= IW_QUAL_NOISE_INVALID; u 173 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.noise = 0; u 175 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.noise = network->stats.noise; u 179 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.updated |= IW_QUAL_LEVEL_INVALID; u 180 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.level = 0; u 182 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.level = network->stats.signal; u 190 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = p - custom; u 191 drivers/net/wireless/intel/ipw2x00/libipw_wx.c if (iwe.u.data.length) u 199 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = network->wpa_ie_len; u 208 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = network->rsn_ie_len; u 219 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = p - custom; u 220 drivers/net/wireless/intel/ipw2x00/libipw_wx.c if (iwe.u.data.length) u 241 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = p - custom; u 332 drivers/net/wireless/intel/iwlegacy/3945-mac.c rc = il_send_cmd_pdu(il, C_TX_BEACON, frame_size, &frame->u.cmd[0]); u 698 drivers/net/wireless/intel/iwlegacy/3945-mac.c spectrum_resp_status = le16_to_cpu(pkt->u.spectrum.status); u 701 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (pkt->u.spectrum.id != 0xff) { u 703 drivers/net/wireless/intel/iwlegacy/3945-mac.c pkt->u.spectrum.id); u 727 drivers/net/wireless/intel/iwlegacy/3945-mac.c palive = &pkt->u.alive_frame; u 734 drivers/net/wireless/intel/iwlegacy/3945-mac.c memcpy(&il->card_alive_init, &pkt->u.alive_frame, u 739 drivers/net/wireless/intel/iwlegacy/3945-mac.c memcpy(&il->card_alive, &pkt->u.alive_frame, u 760 drivers/net/wireless/intel/iwlegacy/3945-mac.c D_RX("Received C_ADD_STA: 0x%02X\n", pkt->u.status); u 767 drivers/net/wireless/intel/iwlegacy/3945-mac.c struct il3945_beacon_notif *beacon = &(pkt->u.beacon_status); u 788 drivers/net/wireless/intel/iwlegacy/3945-mac.c u32 flags = le32_to_cpu(pkt->u.card_state_notif.flags); u 306 drivers/net/wireless/intel/iwlegacy/3945.c struct il3945_tx_resp *tx_resp = (void *)&pkt->u.raw[0]; u 412 drivers/net/wireless/intel/iwlegacy/3945.c il3945_accumulative_stats(il, (__le32 *) &pkt->u.raw); u 415 drivers/net/wireless/intel/iwlegacy/3945.c memcpy(&il->_3945.stats, pkt->u.raw, sizeof(il->_3945.stats)); u 422 drivers/net/wireless/intel/iwlegacy/3945.c __le32 *flag = (__le32 *) &pkt->u.raw; u 2420 drivers/net/wireless/intel/iwlegacy/3945.c tx_beacon_cmd = (struct il3945_tx_beacon_cmd *)&frame->u; u 2428 drivers/net/wireless/intel/iwlegacy/3945.c sizeof(frame->u) - sizeof(*tx_beacon_cmd)); u 131 drivers/net/wireless/intel/iwlegacy/3945.h } u; u 160 drivers/net/wireless/intel/iwlegacy/3945.h x->u.rx_frame.stats.payload + \ u 161 drivers/net/wireless/intel/iwlegacy/3945.h x->u.rx_frame.stats.phy_count)) u 165 drivers/net/wireless/intel/iwlegacy/3945.h #define IL_RX_STATS(x) (&x->u.rx_frame.stats) u 632 drivers/net/wireless/intel/iwlegacy/4965-mac.c phy_res = (struct il_rx_phy_res *)pkt->u.raw; u 634 drivers/net/wireless/intel/iwlegacy/4965-mac.c (struct ieee80211_hdr *)(pkt->u.raw + sizeof(*phy_res) + u 639 drivers/net/wireless/intel/iwlegacy/4965-mac.c *(__le32 *) (pkt->u.raw + sizeof(*phy_res) + u 648 drivers/net/wireless/intel/iwlegacy/4965-mac.c amsdu = (struct il_rx_mpdu_res_start *)pkt->u.raw; u 649 drivers/net/wireless/intel/iwlegacy/4965-mac.c header = (struct ieee80211_hdr *)(pkt->u.raw + sizeof(*amsdu)); u 651 drivers/net/wireless/intel/iwlegacy/4965-mac.c rx_pkt_status = *(__le32 *) (pkt->u.raw + sizeof(*amsdu) + len); u 749 drivers/net/wireless/intel/iwlegacy/4965-mac.c memcpy(&il->_4965.last_phy_res, pkt->u.raw, u 1255 drivers/net/wireless/intel/iwlegacy/4965-mac.c missed_beacon = &pkt->u.missed_beacon; u 1366 drivers/net/wireless/intel/iwlegacy/4965-mac.c pkt->u.stats.general.common.temperature) || u 1368 drivers/net/wireless/intel/iwlegacy/4965-mac.c (pkt->u.stats.flag & STATS_REPLY_FLG_HT40_MODE_MSK))); u 1370 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_accumulative_stats(il, (__le32 *) &pkt->u.stats); u 1374 drivers/net/wireless/intel/iwlegacy/4965-mac.c memcpy(&il->_4965.stats, &pkt->u.stats, sizeof(il->_4965.stats)); u 1400 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (le32_to_cpu(pkt->u.stats.flag) & UCODE_STATS_CLEAR_MSK) { u 2623 drivers/net/wireless/intel/iwlegacy/4965-mac.c return le32_to_cpup(&tx_resp->u.status + u 2652 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct agg_tx_status *frame_status = tx_resp->u.agg_status; u 2769 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il4965_tx_resp *tx_resp = (void *)&pkt->u.raw[0]; u 2770 drivers/net/wireless/intel/iwlegacy/4965-mac.c u32 status = le32_to_cpu(tx_resp->u.status); u 2909 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_compressed_ba_resp *ba_resp = &pkt->u.compressed_ba; u 3765 drivers/net/wireless/intel/iwlegacy/4965-mac.c tim_idx = mgmt->u.beacon.variable - beacon; u 3800 drivers/net/wireless/intel/iwlegacy/4965-mac.c tx_beacon_cmd = &frame->u.beacon; u 3806 drivers/net/wireless/intel/iwlegacy/4965-mac.c sizeof(frame->u) - sizeof(*tx_beacon_cmd)); u 3856 drivers/net/wireless/intel/iwlegacy/4965-mac.c rc = il_send_cmd_pdu(il, C_TX_BEACON, frame_size, &frame->u.cmd[0]); u 4022 drivers/net/wireless/intel/iwlegacy/4965-mac.c palive = &pkt->u.alive_frame; u 4029 drivers/net/wireless/intel/iwlegacy/4965-mac.c memcpy(&il->card_alive_init, &pkt->u.alive_frame, u 4034 drivers/net/wireless/intel/iwlegacy/4965-mac.c memcpy(&il->card_alive, &pkt->u.alive_frame, u 4077 drivers/net/wireless/intel/iwlegacy/4965-mac.c (struct il4965_beacon_notif *)pkt->u.raw; u 4082 drivers/net/wireless/intel/iwlegacy/4965-mac.c le32_to_cpu(beacon->beacon_notify_hdr.u.status) & TX_STATUS_MSK, u 4116 drivers/net/wireless/intel/iwlegacy/4965-mac.c u32 flags = le32_to_cpu(pkt->u.card_state_notif.flags); u 1712 drivers/net/wireless/intel/iwlegacy/commands.h } u; u 3367 drivers/net/wireless/intel/iwlegacy/commands.h } u; u 1272 drivers/net/wireless/intel/iwlegacy/common.c if (pkt->u.status != CAN_ABORT_STATUS) { u 1279 drivers/net/wireless/intel/iwlegacy/common.c D_SCAN("SCAN_ABORT ret %d.\n", pkt->u.status); u 1391 drivers/net/wireless/intel/iwlegacy/common.c (struct il_scanreq_notification *)pkt->u.raw; u 1403 drivers/net/wireless/intel/iwlegacy/common.c (struct il_scanstart_notification *)pkt->u.raw; u 1418 drivers/net/wireless/intel/iwlegacy/common.c (struct il_scanresults_notification *)pkt->u.raw; u 1435 drivers/net/wireless/intel/iwlegacy/common.c struct il_scancomplete_notification *scan_notif = (void *)pkt->u.raw; u 1636 drivers/net/wireless/intel/iwlegacy/common.c pos = &frame->u.probe_req.variable[0]; u 1774 drivers/net/wireless/intel/iwlegacy/common.c switch (pkt->u.add_sta.status) { u 1792 drivers/net/wireless/intel/iwlegacy/common.c D_ASSOC("Received C_ADD_STA:(0x%08X)\n", pkt->u.add_sta.status); u 2118 drivers/net/wireless/intel/iwlegacy/common.c switch (pkt->u.rem_sta.status) { u 2641 drivers/net/wireless/intel/iwlegacy/common.c struct il_spectrum_notification *report = &(pkt->u.spectrum_notif); u 4110 drivers/net/wireless/intel/iwlegacy/common.c struct il_csa_notification *csa = &(pkt->u.csa_notif); u 4452 drivers/net/wireless/intel/iwlegacy/common.c struct il_sleep_notification *sleep = &(pkt->u.sleep_notif); u 4466 drivers/net/wireless/intel/iwlegacy/common.c il_print_hex_dump(il, IL_DL_RADIO, pkt->u.raw, len); u 4477 drivers/net/wireless/intel/iwlegacy/common.c le32_to_cpu(pkt->u.err_resp.error_type), u 4478 drivers/net/wireless/intel/iwlegacy/common.c il_get_cmd_string(pkt->u.err_resp.cmd_id), u 4479 drivers/net/wireless/intel/iwlegacy/common.c pkt->u.err_resp.cmd_id, u 4480 drivers/net/wireless/intel/iwlegacy/common.c le16_to_cpu(pkt->u.err_resp.bad_cmd_seq_num), u 4481 drivers/net/wireless/intel/iwlegacy/common.c le32_to_cpu(pkt->u.err_resp.error_info)); u 5311 drivers/net/wireless/intel/iwlegacy/common.c timestamp = ((struct ieee80211_mgmt *)skb->data)->u.beacon.timestamp; u 526 drivers/net/wireless/intel/iwlegacy/common.h } u; u 74 drivers/net/wireless/intel/iwlegacy/iwl-spectrum.h } u; u 1135 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (event->u.rssi.data == RSSI_EVENT_LOW) u 1137 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c else if (event->u.rssi.data == RSSI_EVENT_HIGH) u 171 drivers/net/wireless/intel/iwlwifi/dvm/main.c tim_idx = mgmt->u.beacon.variable - beacon; u 589 drivers/net/wireless/intel/iwlwifi/dvm/scan.c pos = &frame->u.probe_req.variable[0]; u 344 drivers/net/wireless/intel/iwlwifi/fw/api/d3.h union iwl_wowlan_pattern_data u; u 93 drivers/net/wireless/intel/iwlwifi/fw/file.h } u; u 515 drivers/net/wireless/intel/iwlwifi/iwl-drv.c build = le32_to_cpu(ucode->u.v2.build); u 517 drivers/net/wireless/intel/iwlwifi/iwl-drv.c le32_to_cpu(ucode->u.v2.inst_size)); u 519 drivers/net/wireless/intel/iwlwifi/iwl-drv.c le32_to_cpu(ucode->u.v2.data_size)); u 521 drivers/net/wireless/intel/iwlwifi/iwl-drv.c le32_to_cpu(ucode->u.v2.init_size)); u 523 drivers/net/wireless/intel/iwlwifi/iwl-drv.c le32_to_cpu(ucode->u.v2.init_data_size)); u 524 drivers/net/wireless/intel/iwlwifi/iwl-drv.c src = ucode->u.v2.data; u 536 drivers/net/wireless/intel/iwlwifi/iwl-drv.c le32_to_cpu(ucode->u.v1.inst_size)); u 538 drivers/net/wireless/intel/iwlwifi/iwl-drv.c le32_to_cpu(ucode->u.v1.data_size)); u 540 drivers/net/wireless/intel/iwlwifi/iwl-drv.c le32_to_cpu(ucode->u.v1.init_size)); u 542 drivers/net/wireless/intel/iwlwifi/iwl-drv.c le32_to_cpu(ucode->u.v1.init_data_size)); u 543 drivers/net/wireless/intel/iwlwifi/iwl-drv.c src = ucode->u.v1.data; u 456 drivers/net/wireless/intel/iwlwifi/mvm/d3.c memcpy(&pattern_cmd->patterns[i].u.bitmask.mask, u 458 drivers/net/wireless/intel/iwlwifi/mvm/d3.c memcpy(&pattern_cmd->patterns[i].u.bitmask.pattern, u 461 drivers/net/wireless/intel/iwlwifi/mvm/d3.c pattern_cmd->patterns[i].u.bitmask.mask_size = mask_len; u 462 drivers/net/wireless/intel/iwlwifi/mvm/d3.c pattern_cmd->patterns[i].u.bitmask.pattern_size = u 639 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c sizeof(mgmt->u.action.u.ftm); u 648 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c ies = mgmt->u.action.u.ftm.variable; u 821 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c tim_idx = mgmt->u.beacon.variable - beacon; u 842 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon))) u 845 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c frame_size -= mgmt->u.beacon.variable - beacon; u 847 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ie = cfg80211_find_ie(eid, mgmt->u.beacon.variable, frame_size); u 4805 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (event->u.mlme.data == ASSOC_EVENT) { u 4806 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (event->u.mlme.status == MLME_DENIED) u 4809 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c event->u.mlme.reason); u 4810 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c else if (event->u.mlme.status == MLME_TIMEOUT) u 4813 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (event->u.mlme.data == AUTH_EVENT) { u 4814 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (event->u.mlme.status == MLME_DENIED) u 4817 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c event->u.mlme.reason); u 4818 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c else if (event->u.mlme.status == MLME_TIMEOUT) u 4821 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (event->u.mlme.data == DEAUTH_RX_EVENT) { u 4823 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c "DEAUTH RX %d", event->u.mlme.reason); u 4824 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (event->u.mlme.data == DEAUTH_TX_EVENT) { u 4826 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c "DEAUTH TX %d", event->u.mlme.reason); u 4845 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!(le16_to_cpu(ba_trig->rx_bar) & BIT(event->u.ba.tid))) u 4850 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c event->u.ba.sta->addr, event->u.ba.tid, u 4851 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c event->u.ba.ssn); u 4868 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_event_frame_timeout_callback(mvm, vif, event->u.ba.sta, u 4869 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c event->u.ba.tid); u 822 drivers/net/wireless/intel/iwlwifi/mvm/scan.c pos = frame->u.probe_req.variable; u 2373 drivers/net/wireless/intel/iwlwifi/mvm/sta.c } u = {}; u 2396 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd.common.key_flags = key_flags; u 2397 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd.common.key_offset = keyconf->hw_key_idx; u 2398 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd.common.sta_id = sta_id; u 2400 drivers/net/wireless/intel/iwlwifi/mvm/sta.c size = new_api ? sizeof(u.cmd) : sizeof(u.cmd_v1); u 2403 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ret = iwl_mvm_send_cmd_pdu_status(mvm, ADD_STA_KEY, size, &u.cmd, u 3204 drivers/net/wireless/intel/iwlwifi/mvm/sta.c } u = {}; u 3226 drivers/net/wireless/intel/iwlwifi/mvm/sta.c memcpy((void *)&u.cmd.tx_mic_key, u 3230 drivers/net/wireless/intel/iwlwifi/mvm/sta.c memcpy((void *)&u.cmd.rx_mic_key, u 3236 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd_v1.tkip_rx_tsc_byte2 = tkip_iv32; u 3238 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd_v1.tkip_rx_ttak[i] = u 3241 drivers/net/wireless/intel/iwlwifi/mvm/sta.c memcpy(u.cmd.common.key, key->key, key->keylen); u 3245 drivers/net/wireless/intel/iwlwifi/mvm/sta.c memcpy(u.cmd.common.key, key->key, key->keylen); u 3254 drivers/net/wireless/intel/iwlwifi/mvm/sta.c memcpy(u.cmd.common.key + 3, key->key, key->keylen); u 3261 drivers/net/wireless/intel/iwlwifi/mvm/sta.c memcpy(u.cmd.common.key, key->key, key->keylen); u 3267 drivers/net/wireless/intel/iwlwifi/mvm/sta.c memcpy(u.cmd.common.key, key->key, key->keylen); u 3275 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd.common.key_offset = key_offset; u 3276 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd.common.key_flags = key_flags; u 3277 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd.common.sta_id = sta_id; u 3280 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u.cmd.transmit_seq_cnt = cpu_to_le64(pn); u 3281 drivers/net/wireless/intel/iwlwifi/mvm/sta.c size = sizeof(u.cmd); u 3283 drivers/net/wireless/intel/iwlwifi/mvm/sta.c size = sizeof(u.cmd_v1); u 3289 drivers/net/wireless/intel/iwlwifi/mvm/sta.c &u.cmd); u 3292 drivers/net/wireless/intel/iwlwifi/mvm/sta.c &u.cmd, &status); u 654 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int base_len = (u8 *)mgmt->u.probe_resp.variable - (u8 *)mgmt; u 674 drivers/net/wireless/intel/iwlwifi/mvm/tx.c mgmt->u.probe_resp.variable, u 60 drivers/net/wireless/intersil/hostap/hostap_80211.h } u; u 402 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c if (skb->len < IEEE80211_MGMT_HDR_LEN + sizeof(mgmt->u.beacon)) u 406 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c pos = mgmt->u.beacon.variable; u 452 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c bss->capab_info = le16_to_cpu(mgmt->u.beacon.capab_info); u 542 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c memcmp(iface->u.wds.remote_addr, addr, ETH_ALEN) == 0) u 181 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c memcpy(&hdr.addr1, iface->u.wds.remote_addr, u 137 drivers/net/wireless/intersil/hostap/hostap_ap.c kfree(sta->u.sta.challenge); u 534 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.channel, sta->last_rx_signal, u 537 drivers/net/wireless/intersil/hostap/hostap_ap.c for (i = 0; i < sta->u.ap.ssid_len; i++) { u 538 drivers/net/wireless/intersil/hostap/hostap_ap.c if (sta->u.ap.ssid[i] >= 32 && sta->u.ap.ssid[i] < 127) u 539 drivers/net/wireless/intersil/hostap/hostap_ap.c seq_putc(m, sta->u.ap.ssid[i]); u 541 drivers/net/wireless/intersil/hostap/hostap_ap.c seq_printf(m, "<%02x>", sta->u.ap.ssid[i]); u 1046 drivers/net/wireless/intersil/hostap/hostap_ap.c if (sta->u.ap.channel >= 0) u 1047 drivers/net/wireless/intersil/hostap/hostap_ap.c seq_printf(m, "channel=%d\n", sta->u.ap.channel); u 1049 drivers/net/wireless/intersil/hostap/hostap_ap.c for (i = 0; i < sta->u.ap.ssid_len; i++) { u 1050 drivers/net/wireless/intersil/hostap/hostap_ap.c if (sta->u.ap.ssid[i] >= 32 && sta->u.ap.ssid[i] < 127) u 1051 drivers/net/wireless/intersil/hostap/hostap_ap.c seq_putc(m, sta->u.ap.ssid[i]); u 1053 drivers/net/wireless/intersil/hostap/hostap_ap.c seq_printf(m, "<%02x>", sta->u.ap.ssid[i]); u 1350 drivers/net/wireless/intersil/hostap/hostap_ap.c u8 *u = (u8 *) pos; u 1351 drivers/net/wireless/intersil/hostap/hostap_ap.c if (*u == WLAN_EID_CHALLENGE) { u 1352 drivers/net/wireless/intersil/hostap/hostap_ap.c if (*(u + 1) != WLAN_AUTH_CHALLENGE_LEN) { u 1362 drivers/net/wireless/intersil/hostap/hostap_ap.c challenge = (char *) (u + 2); u 1367 drivers/net/wireless/intersil/hostap/hostap_ap.c if (time_after(jiffies, sta->u.ap.last_beacon + u 1374 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.sta.challenge = NULL; u 1386 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.sta.challenge != NULL)))) { u 1424 drivers/net/wireless/intersil/hostap/hostap_ap.c if (sta->u.sta.challenge == NULL) { u 1425 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.sta.challenge = u 1427 drivers/net/wireless/intersil/hostap/hostap_ap.c if (sta->u.sta.challenge == NULL) { u 1433 drivers/net/wireless/intersil/hostap/hostap_ap.c if (sta->u.sta.challenge == NULL || u 1435 drivers/net/wireless/intersil/hostap/hostap_ap.c memcmp(sta->u.sta.challenge, challenge, u 1450 drivers/net/wireless/intersil/hostap/hostap_ap.c kfree(sta->u.sta.challenge); u 1451 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.sta.challenge = NULL; u 1467 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.sta.challenge != NULL && u 1473 drivers/net/wireless/intersil/hostap/hostap_ap.c memcpy(pos, sta->u.sta.challenge, WLAN_AUTH_CHALLENGE_LEN); u 1546 drivers/net/wireless/intersil/hostap/hostap_ap.c unsigned char *u = (unsigned char *) pos; u 1548 drivers/net/wireless/intersil/hostap/hostap_ap.c if (*u == WLAN_EID_SSID) { u 1549 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 1550 drivers/net/wireless/intersil/hostap/hostap_ap.c ileft = *u; u 1551 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 1560 drivers/net/wireless/intersil/hostap/hostap_ap.c memcmp(local->essid, u, ileft) != 0) { u 1566 drivers/net/wireless/intersil/hostap/hostap_ap.c u += ileft; u 1570 drivers/net/wireless/intersil/hostap/hostap_ap.c if (left >= 2 && *u == WLAN_EID_SUPP_RATES) { u 1571 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 1572 drivers/net/wireless/intersil/hostap/hostap_ap.c ileft = *u; u 1573 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 1584 drivers/net/wireless/intersil/hostap/hostap_ap.c memcpy(sta->supported_rates, u, ileft); u 1587 drivers/net/wireless/intersil/hostap/hostap_ap.c u += ileft; u 1596 drivers/net/wireless/intersil/hostap/hostap_ap.c PDEBUG2(DEBUG_AP, "<%02x>", *u); u 1597 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 2022 drivers/net/wireless/intersil/hostap/hostap_ap.c unsigned char *u = (unsigned char *) pos; u 2024 drivers/net/wireless/intersil/hostap/hostap_ap.c if (*u == WLAN_EID_SSID) { u 2025 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 2026 drivers/net/wireless/intersil/hostap/hostap_ap.c ileft = *u; u 2027 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 2036 drivers/net/wireless/intersil/hostap/hostap_ap.c memcmp(local->essid, u, ileft) != 0)) { u 2041 drivers/net/wireless/intersil/hostap/hostap_ap.c ssid = u; u 2044 drivers/net/wireless/intersil/hostap/hostap_ap.c u += ileft; u 2048 drivers/net/wireless/intersil/hostap/hostap_ap.c if (*u == WLAN_EID_SUPP_RATES) { u 2049 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 2050 drivers/net/wireless/intersil/hostap/hostap_ap.c ileft = *u; u 2051 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 2058 drivers/net/wireless/intersil/hostap/hostap_ap.c supp_rates = u; u 2061 drivers/net/wireless/intersil/hostap/hostap_ap.c u += ileft; u 2065 drivers/net/wireless/intersil/hostap/hostap_ap.c if (*u == WLAN_EID_DS_PARAMS) { u 2066 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 2067 drivers/net/wireless/intersil/hostap/hostap_ap.c ileft = *u; u 2068 drivers/net/wireless/intersil/hostap/hostap_ap.c u++; left--; u 2075 drivers/net/wireless/intersil/hostap/hostap_ap.c channel = *u; u 2077 drivers/net/wireless/intersil/hostap/hostap_ap.c u += ileft; u 2110 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.ssid_len = ssid_len; u 2111 drivers/net/wireless/intersil/hostap/hostap_ap.c memcpy(sta->u.ap.ssid, ssid, ssid_len); u 2112 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.ssid[ssid_len] = '\0'; u 2114 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.ssid_len = 0; u 2115 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.ssid[0] = '\0'; u 2117 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.channel = channel; u 2120 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.last_beacon = sta->last_rx = jiffies; u 2394 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 2395 drivers/net/wireless/intersil/hostap/hostap_ap.c memcpy(iwe.u.ap_addr.sa_data, sta->addr, ETH_ALEN); u 2405 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.mode = IW_MODE_MASTER; u 2407 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.mode = IW_MODE_INFRA; u 2416 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.qual = sta->last_rx_signal < 27 ? u 2419 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.qual = sta->last_rx_signal - u 2421 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.level = HFA384X_LEVEL_TO_dBm(sta->last_rx_signal); u 2422 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.noise = HFA384X_LEVEL_TO_dBm(sta->last_rx_silence); u 2423 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.updated = sta->last_rx_updated; u 2432 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.length = sta->u.ap.ssid_len; u 2433 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.flags = 1; u 2436 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.ssid); u 2441 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.flags = u 2444 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 2447 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.ssid); u 2449 drivers/net/wireless/intersil/hostap/hostap_ap.c if (sta->u.ap.channel > 0 && u 2450 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->u.ap.channel <= FREQ_COUNT) { u 2453 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.freq.m = freq_list[sta->u.ap.channel - 1] u 2455 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.freq.e = 1; u 2465 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.length = strlen(buf); u 2504 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->aid = param->u.add_sta.aid; u 2505 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->capability = param->u.add_sta.capability; u 2506 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->tx_supp_rates = param->u.add_sta.tx_supp_rates; u 2559 drivers/net/wireless/intersil/hostap/hostap_ap.c param->u.get_info_sta.inactive_sec = (jiffies - sta->last_rx) / HZ; u 2575 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->flags |= param->u.set_flags_sta.flags_or; u 2576 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->flags &= param->u.set_flags_sta.flags_and; u 96 drivers/net/wireless/intersil/hostap/hostap_ap.h } u; u 353 drivers/net/wireless/intersil/hostap/hostap_common.h offsetof(struct prism2_hostapd_param, u.rid.data) u 355 drivers/net/wireless/intersil/hostap/hostap_common.h offsetof(struct prism2_hostapd_param, u.generic_elem.data) u 406 drivers/net/wireless/intersil/hostap/hostap_common.h } u; u 740 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memcpy(&ap_addr->sa_data, iface->u.wds.remote_addr, ETH_ALEN); u 1805 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 1806 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memcpy(iwe.u.ap_addr.sa_data, bssid, ETH_ALEN); u 1814 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = ssid_len; u 1815 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.flags = 1; u 1829 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.mode = IW_MODE_MASTER; u 1831 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.mode = IW_MODE_ADHOC; u 1847 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.freq.m = freq_list[chan - 1] * 100000; u 1848 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.freq.e = 1; u 1857 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.level = le16_to_cpu(scan->sl); u 1858 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.noise = le16_to_cpu(scan->anl); u 1860 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.level = u 1862 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.noise = u 1865 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.updated = IW_QUAL_LEVEL_UPDATED u 1876 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 1878 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 1879 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = 0; u 1892 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.bitrate.value = ((pos[i] & 0x7f) * 500000); u 1908 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = strlen(buf); u 1915 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = strlen(buf); u 1924 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = strlen(buf); u 1934 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = bss->wpa_ie_len; u 1942 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = bss->rsn_ie_len; u 3449 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = 0; u 3450 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.alg[HOSTAP_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 3453 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (int) ((char *) param->u.crypt.key - (char *) param) + u 3454 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len) u 3458 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (param->u.crypt.idx >= WEP_KEYS) u 3461 drivers/net/wireless/intersil/hostap/hostap_ioctl.c crypt = &local->crypt_info.crypt[param->u.crypt.idx]; u 3463 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (param->u.crypt.idx) u 3467 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (param->u.crypt.flags & HOSTAP_CRYPT_FLAG_PERMANENT), u 3471 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_UNKNOWN_ADDR; u 3476 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (strcmp(param->u.crypt.alg, "none") == 0) { u 3482 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ops = lib80211_get_crypto_ops(param->u.crypt.alg); u 3483 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (ops == NULL && strcmp(param->u.crypt.alg, "WEP") == 0) { u 3485 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ops = lib80211_get_crypto_ops(param->u.crypt.alg); u 3486 drivers/net/wireless/intersil/hostap/hostap_ioctl.c } else if (ops == NULL && strcmp(param->u.crypt.alg, "TKIP") == 0) { u 3488 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ops = lib80211_get_crypto_ops(param->u.crypt.alg); u 3489 drivers/net/wireless/intersil/hostap/hostap_ioctl.c } else if (ops == NULL && strcmp(param->u.crypt.alg, "CCMP") == 0) { u 3491 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ops = lib80211_get_crypto_ops(param->u.crypt.alg); u 3495 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->dev->name, param->u.crypt.alg); u 3496 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_UNKNOWN_ALG; u 3517 drivers/net/wireless/intersil/hostap/hostap_ioctl.c new_crypt->priv = new_crypt->ops->init(param->u.crypt.idx); u 3520 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = u 3529 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if ((!(param->u.crypt.flags & HOSTAP_CRYPT_FLAG_SET_TX_KEY) || u 3530 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len > 0) && (*crypt)->ops->set_key && u 3531 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (*crypt)->ops->set_key(param->u.crypt.key, u 3532 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len, param->u.crypt.seq, u 3536 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_KEY_SET_FAILED; u 3541 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (param->u.crypt.flags & HOSTAP_CRYPT_FLAG_SET_TX_KEY) { u 3543 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->crypt_info.tx_keyidx = param->u.crypt.idx; u 3544 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else if (param->u.crypt.idx) { u 3547 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = u 3567 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_CARD_CONF_FAILED; u 3583 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = 0; u 3586 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (int) ((char *) param->u.crypt.key - (char *) param); u 3592 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (param->u.crypt.idx >= WEP_KEYS) u 3593 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.idx = local->crypt_info.tx_keyidx; u 3594 drivers/net/wireless/intersil/hostap/hostap_ioctl.c crypt = &local->crypt_info.crypt[param->u.crypt.idx]; u 3596 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.idx = 0; u 3601 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_UNKNOWN_ADDR; u 3607 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memcpy(param->u.crypt.alg, "none", 5); u 3608 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len = 0; u 3609 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.idx = 0xff; u 3611 drivers/net/wireless/intersil/hostap/hostap_ioctl.c strncpy(param->u.crypt.alg, (*crypt)->ops->name, u 3613 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len = 0; u 3615 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(param->u.crypt.seq, 0, 8); u 3617 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len = u 3618 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (*crypt)->ops->get_key(param->u.crypt.key, u 3620 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.seq, u 3642 drivers/net/wireless/intersil/hostap/hostap_ioctl.c res = local->func->get_rid(local->dev, param->u.rid.rid, u 3643 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.rid.data, param->u.rid.len, 0); u 3645 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.rid.len = res; u 3660 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (max_len < 0 || max_len < param->u.rid.len) u 3663 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return local->func->set_rid(local->dev, param->u.rid.rid, u 3664 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.rid.data, param->u.rid.len); u 3716 drivers/net/wireless/intersil/hostap/hostap_ioctl.c len = param->u.generic_elem.len; u 3722 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.generic_elem.data, len); u 3757 drivers/net/wireless/intersil/hostap/hostap_ioctl.c reason = cpu_to_le16(param->u.mlme.reason_code); u 3758 drivers/net/wireless/intersil/hostap/hostap_ioctl.c switch (param->u.mlme.cmd) { u 3785 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return prism2_request_hostscan(local->dev, param->u.scan_req.ssid, u 3786 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.scan_req.ssid_len); u 3973 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else ret = prism2_ioctl_priv_inquire(dev, (int *) wrq->u.name); u 3978 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else ret = prism2_ioctl_priv_monitor(dev, (int *) wrq->u.name); u 3983 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else ret = prism2_ioctl_priv_reset(dev, (int *) wrq->u.name); u 3988 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else ret = prism2_wds_add(local, wrq->u.ap_addr.sa_data, 1); u 3993 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else ret = prism2_wds_del(local, wrq->u.ap_addr.sa_data, 1, 0); u 3999 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (int *) wrq->u.name); u 4005 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else ret = ap_mac_cmd_ioctl(local, (int *) wrq->u.name); u 4011 drivers/net/wireless/intersil/hostap/hostap_ioctl.c wrq->u.ap_addr.sa_data); u 4016 drivers/net/wireless/intersil/hostap/hostap_ioctl.c wrq->u.ap_addr.sa_data); u 4021 drivers/net/wireless/intersil/hostap/hostap_ioctl.c wrq->u.ap_addr.sa_data); u 4032 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else ret = prism2_ioctl_priv_download(local, &wrq->u.data); u 4038 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else ret = prism2_ioctl_priv_hostapd(local, &wrq->u.data); u 152 drivers/net/wireless/intersil/hostap/hostap_main.c if (prism2_wds_special_addr(iface->u.wds.remote_addr)) u 154 drivers/net/wireless/intersil/hostap/hostap_main.c else if (ether_addr_equal(iface->u.wds.remote_addr, remote_addr)) { u 161 drivers/net/wireless/intersil/hostap/hostap_main.c memcpy(empty->u.wds.remote_addr, remote_addr, ETH_ALEN); u 191 drivers/net/wireless/intersil/hostap/hostap_main.c memcpy(iface->u.wds.remote_addr, remote_addr, ETH_ALEN); u 212 drivers/net/wireless/intersil/hostap/hostap_main.c if (ether_addr_equal(iface->u.wds.remote_addr, remote_addr)) { u 223 drivers/net/wireless/intersil/hostap/hostap_main.c eth_zero_addr(selected->u.wds.remote_addr); u 94 drivers/net/wireless/intersil/hostap/hostap_proc.c iface->dev->name, iface->u.wds.remote_addr); u 913 drivers/net/wireless/intersil/hostap/hostap_wlan.h } u; u 82 drivers/net/wireless/intersil/p54/main.c pos = (u8 *)mgmt->u.beacon.variable; u 177 drivers/net/wireless/intersil/prism54/isl_ioctl.c priv->local_iwstatistics.qual.noise = r.u; u 206 drivers/net/wireless/intersil/prism54/isl_ioctl.c priv->local_iwstatistics.discard.code = r.u; u 210 drivers/net/wireless/intersil/prism54/isl_ioctl.c priv->local_iwstatistics.discard.retries = r.u; u 272 drivers/net/wireless/intersil/prism54/isl_ioctl.c switch (r.u) { u 317 drivers/net/wireless/intersil/prism54/isl_ioctl.c fwrq->i = r.u; u 319 drivers/net/wireless/intersil/prism54/isl_ioctl.c fwrq->m = r.u; u 410 drivers/net/wireless/intersil/prism54/isl_ioctl.c vwrq->value = r.u; u 585 drivers/net/wireless/intersil/prism54/isl_ioctl.c memcpy(iwe.u.ap_addr.sa_data, bss->address, ETH_ALEN); u 586 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 594 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.length = bss->ssid.length; u 595 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.flags = 1; u 607 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.mode = 0; u 609 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.mode = IW_MODE_MASTER; u 611 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.mode = IW_MODE_ADHOC; u 613 drivers/net/wireless/intersil/prism54/isl_ioctl.c if (iwe.u.mode) u 619 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 621 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 622 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.length = 0; u 628 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.freq.m = bss->channel; u 629 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.freq.e = 6; u 635 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.qual.level = bss->rssi; u 636 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.qual.noise = noise; u 638 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.qual.qual = bss->rssi - noise; u 647 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.length = min_t(size_t, wpa_ie_len, MAX_WPA_IE_LEN); u 659 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; u 665 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.bitrate.value = (scan_rate_list[i] * 500000); u 699 drivers/net/wireless/intersil/prism54/isl_ioctl.c noise = r.u; u 912 drivers/net/wireless/intersil/prism54/isl_ioctl.c vwrq->value = r.u * 500000; u 946 drivers/net/wireless/intersil/prism54/isl_ioctl.c vwrq->value = r.u; u 969 drivers/net/wireless/intersil/prism54/isl_ioctl.c vwrq->value = r.u; u 1036 drivers/net/wireless/intersil/prism54/isl_ioctl.c vwrq->value = r.u * 1024; u 1042 drivers/net/wireless/intersil/prism54/isl_ioctl.c vwrq->value = r.u; u 1048 drivers/net/wireless/intersil/prism54/isl_ioctl.c vwrq->value = r.u; u 1076 drivers/net/wireless/intersil/prism54/isl_ioctl.c current_index = r.u; u 1169 drivers/net/wireless/intersil/prism54/isl_ioctl.c authen = r.u; u 1171 drivers/net/wireless/intersil/prism54/isl_ioctl.c invoke = r.u; u 1173 drivers/net/wireless/intersil/prism54/isl_ioctl.c exunencrypt = r.u; u 1188 drivers/net/wireless/intersil/prism54/isl_ioctl.c devindex = r.u; u 1214 drivers/net/wireless/intersil/prism54/isl_ioctl.c vwrq->value = (s32) r.u / 4; u 1229 drivers/net/wireless/intersil/prism54/isl_ioctl.c s32 u = vwrq->value; u 1232 drivers/net/wireless/intersil/prism54/isl_ioctl.c u *= 4; u 1241 drivers/net/wireless/intersil/prism54/isl_ioctl.c return mgt_set_request(priv, OID_INL_OUTPUTPOWER, 0, &u); u 1340 drivers/net/wireless/intersil/prism54/isl_ioctl.c authen = r.u; u 1342 drivers/net/wireless/intersil/prism54/isl_ioctl.c privinvoked = r.u; u 1344 drivers/net/wireless/intersil/prism54/isl_ioctl.c exunencrypt = r.u; u 1346 drivers/net/wireless/intersil/prism54/isl_ioctl.c dot1x = r.u; u 1348 drivers/net/wireless/intersil/prism54/isl_ioctl.c mlmelevel = r.u; u 1493 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = r.u > 0 ? 1 : 0; u 1499 drivers/net/wireless/intersil/prism54/isl_ioctl.c switch (r.u) { u 1522 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = r.u > 0 ? 1 : 0; u 1528 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = r.u > 0 ? 1 : 0; u 1562 drivers/net/wireless/intersil/prism54/isl_ioctl.c idx = r.u; u 1664 drivers/net/wireless/intersil/prism54/isl_ioctl.c authen = r.u; u 1666 drivers/net/wireless/intersil/prism54/isl_ioctl.c invoke = r.u; u 1668 drivers/net/wireless/intersil/prism54/isl_ioctl.c exunencrypt = r.u; u 1684 drivers/net/wireless/intersil/prism54/isl_ioctl.c idx = r.u; u 1769 drivers/net/wireless/intersil/prism54/isl_ioctl.c u32 oid = uwrq[0], u = uwrq[1]; u 1771 drivers/net/wireless/intersil/prism54/isl_ioctl.c return mgt_set_request(netdev_priv(ndev), oid, 0, &u); u 2665 drivers/net/wireless/intersil/prism54/isl_ioctl.c u32 u; u 2669 drivers/net/wireless/intersil/prism54/isl_ioctl.c mgt_get(priv, OID_INL_CONFIG, &u); u 2673 drivers/net/wireless/intersil/prism54/isl_ioctl.c u &= ~INL_CONFIG_RXANNEX; u 2676 drivers/net/wireless/intersil/prism54/isl_ioctl.c u |= INL_CONFIG_RXANNEX; u 2678 drivers/net/wireless/intersil/prism54/isl_ioctl.c mgt_set(priv, OID_INL_CONFIG, &u); u 483 drivers/net/wireless/intersil/prism54/isl_oid.h u32 u; u 551 drivers/net/wireless/intersil/prism54/oid_mgt.c res->u = ret ? 0 : le32_to_cpu(*(u32 *) _res); u 687 drivers/net/wireless/intersil/prism54/oid_mgt.c enum oid_num_t u; u 697 drivers/net/wireless/intersil/prism54/oid_mgt.c u = OID_INL_MODE; u 698 drivers/net/wireless/intersil/prism54/oid_mgt.c rvalue |= mgt_commit_list(priv, &u, 1); u 720 drivers/net/wireless/intersil/prism54/oid_mgt.c u32 u; u 726 drivers/net/wireless/intersil/prism54/oid_mgt.c u = DOT11_OID_SSID; u 727 drivers/net/wireless/intersil/prism54/oid_mgt.c rvalue = mgt_commit_list(priv, &u, 1); u 730 drivers/net/wireless/intersil/prism54/oid_mgt.c u = OID_INL_MODE; u 731 drivers/net/wireless/intersil/prism54/oid_mgt.c rvalue |= mgt_commit_list(priv, &u, 1); u 733 drivers/net/wireless/intersil/prism54/oid_mgt.c u = DOT11_OID_MLMEAUTOLEVEL; u 734 drivers/net/wireless/intersil/prism54/oid_mgt.c rvalue |= mgt_commit_list(priv, &u, 1); u 736 drivers/net/wireless/intersil/prism54/oid_mgt.c u = OID_INL_MODE; u 737 drivers/net/wireless/intersil/prism54/oid_mgt.c rvalue |= mgt_commit_list(priv, &u, 1); u 783 drivers/net/wireless/intersil/prism54/oid_mgt.c return snprintf(str, PRIV_STR_SIZE, "%u\n", r->u); u 1416 drivers/net/wireless/mac80211_hwsim.c mgmt->u.probe_resp.timestamp = u 1570 drivers/net/wireless/mac80211_hwsim.c mgmt->u.beacon.timestamp = cpu_to_le64(data->abs_bcn_ts + u 305 drivers/net/wireless/marvell/libertas/host.h } u; u 337 drivers/net/wireless/marvell/libertas/host.h } __packed u; u 1082 drivers/net/wireless/marvell/libertas/mesh.c if (rxpd->u.bss.bss_num == MESH_IFACE_ID) u 1097 drivers/net/wireless/marvell/libertas/mesh.c txpd->u.bss.bss_num = MESH_IFACE_ID; u 2224 drivers/net/wireless/marvell/mwifiex/fw.h } u; u 280 drivers/net/wireless/marvell/mwifiex/sta_event.c le16_to_cpu(tdls_evt->u.reason_code), u 287 drivers/net/wireless/marvell/mwifiex/sta_event.c tdls_evt->u.switch_result.status, u 288 drivers/net/wireless/marvell/mwifiex/sta_event.c tdls_evt->u.switch_result.reason, u 289 drivers/net/wireless/marvell/mwifiex/sta_event.c tdls_evt->u.switch_result.cur_chan); u 292 drivers/net/wireless/marvell/mwifiex/sta_event.c if (tdls_evt->u.switch_result.status != 0) { u 293 drivers/net/wireless/marvell/mwifiex/sta_event.c switch (tdls_evt->u.switch_result.cur_chan) { u 307 drivers/net/wireless/marvell/mwifiex/sta_event.c switch (tdls_evt->u.switch_result.cur_chan) { u 334 drivers/net/wireless/marvell/mwifiex/sta_event.c tdls_evt->u.cs_stop_reason); u 476 drivers/net/wireless/marvell/mwifiex/tdls.c tf = skb_put(skb, offsetof(struct ieee80211_tdls_data, u)); u 486 drivers/net/wireless/marvell/mwifiex/tdls.c skb_put(skb, sizeof(tf->u.setup_req)); u 487 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.setup_req.dialog_token = dialog_token; u 488 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.setup_req.capability = cpu_to_le16(capab); u 525 drivers/net/wireless/marvell/mwifiex/tdls.c skb_put(skb, sizeof(tf->u.setup_resp)); u 526 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.setup_resp.status_code = cpu_to_le16(status_code); u 527 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.setup_resp.dialog_token = dialog_token; u 528 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.setup_resp.capability = cpu_to_le16(capab); u 565 drivers/net/wireless/marvell/mwifiex/tdls.c skb_put(skb, sizeof(tf->u.setup_cfm)); u 566 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.setup_cfm.status_code = cpu_to_le16(status_code); u 567 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.setup_cfm.dialog_token = dialog_token; u 593 drivers/net/wireless/marvell/mwifiex/tdls.c skb_put(skb, sizeof(tf->u.teardown)); u 594 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.teardown.reason_code = cpu_to_le16(status_code); u 600 drivers/net/wireless/marvell/mwifiex/tdls.c skb_put(skb, sizeof(tf->u.discover_req)); u 601 drivers/net/wireless/marvell/mwifiex/tdls.c tf->u.discover_req.dialog_token = dialog_token; u 741 drivers/net/wireless/marvell/mwifiex/tdls.c mgmt = skb_put(skb, offsetof(struct ieee80211_mgmt, u)); u 755 drivers/net/wireless/marvell/mwifiex/tdls.c skb_put(skb, sizeof(mgmt->u.action.u.tdls_discover_resp) + 1); u 756 drivers/net/wireless/marvell/mwifiex/tdls.c mgmt->u.action.category = WLAN_CATEGORY_PUBLIC; u 757 drivers/net/wireless/marvell/mwifiex/tdls.c mgmt->u.action.u.tdls_discover_resp.action_code = u 759 drivers/net/wireless/marvell/mwifiex/tdls.c mgmt->u.action.u.tdls_discover_resp.dialog_token = u 761 drivers/net/wireless/marvell/mwifiex/tdls.c mgmt->u.action.u.tdls_discover_resp.capability = u 764 drivers/net/wireless/marvell/mwifiex/tdls.c memmove(pos + ETH_ALEN, &mgmt->u.action.category, u 765 drivers/net/wireless/marvell/mwifiex/tdls.c sizeof(mgmt->u.action.u.tdls_discover_resp)); u 261 drivers/net/wireless/marvell/mwifiex/uap_cmd.c int var_offset = offsetof(struct ieee80211_mgmt, u.beacon.variable); u 1973 drivers/net/wireless/marvell/mwl8k.c mgmt->u.action.category == WLAN_CATEGORY_BACK && u 1974 drivers/net/wireless/marvell/mwl8k.c mgmt->u.action.u.addba_req.action_code == WLAN_ACTION_ADDBA_REQ && u 1976 drivers/net/wireless/marvell/mwl8k.c u16 capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab); u 3344 drivers/net/wireless/marvell/mwl8k.c memcpy(cmd->beacon_data, &payload->u.beacon, payload_len); u 5632 drivers/net/wireless/marvell/mwl8k.c int len = skb->len - offsetof(struct ieee80211_mgmt, u.beacon.variable); u 5634 drivers/net/wireless/marvell/mwl8k.c mgmt->u.beacon.variable, len); u 55 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, struct urb *u), u 56 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_ARGS(dev, u), u 62 drivers/net/wireless/mediatek/mt76/usb_trace.h __entry->pipe = u->pipe; u 63 drivers/net/wireless/mediatek/mt76/usb_trace.h __entry->len = u->transfer_buffer_length; u 70 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, struct urb *u), u 71 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_ARGS(dev, u) u 75 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_PROTO(struct mt76_dev *dev, struct urb *u), u 76 drivers/net/wireless/mediatek/mt76/usb_trace.h TP_ARGS(dev, u) u 57 drivers/net/wireless/mediatek/mt7601u/trace.h TP_PROTO(struct mt7601u_dev *dev, struct urb *u), u 58 drivers/net/wireless/mediatek/mt7601u/trace.h TP_ARGS(dev, u), u 64 drivers/net/wireless/mediatek/mt7601u/trace.h __entry->pipe = u->pipe; u 65 drivers/net/wireless/mediatek/mt7601u/trace.h __entry->len = u->transfer_buffer_length; u 72 drivers/net/wireless/mediatek/mt7601u/trace.h struct urb u; \ u 73 drivers/net/wireless/mediatek/mt7601u/trace.h u.pipe = __pipe; \ u 74 drivers/net/wireless/mediatek/mt7601u/trace.h u.transfer_buffer_length = __len; \ u 75 drivers/net/wireless/mediatek/mt7601u/trace.h trace_mt_submit_urb(__dev, &u); \ u 1115 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); u 1118 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); u 1125 drivers/net/wireless/ralink/rt2x00/rt2400pci.c txdesc->u.plcp.length_low); u 1129 drivers/net/wireless/ralink/rt2x00/rt2400pci.c txdesc->u.plcp.length_high); u 1150 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); u 1270 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); u 1271 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); u 1273 drivers/net/wireless/ralink/rt2x00/rt2500pci.c txdesc->u.plcp.length_low); u 1275 drivers/net/wireless/ralink/rt2x00/rt2500pci.c txdesc->u.plcp.length_high); u 1300 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); u 1078 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); u 1092 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); u 1093 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); u 1095 drivers/net/wireless/ralink/rt2x00/rt2500usb.c txdesc->u.plcp.length_low); u 1097 drivers/net/wireless/ralink/rt2x00/rt2500usb.c txdesc->u.plcp.length_high); u 794 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txdesc->u.ht.mpdu_density); u 795 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(&word, TXWI_W0_TX_OP, txdesc->u.ht.txop); u 796 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(&word, TXWI_W0_MCS, txdesc->u.ht.mcs); u 801 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(&word, TXWI_W0_STBC, txdesc->u.ht.stbc); u 810 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(&word, TXWI_W1_BW_WIN_SIZE, txdesc->u.ht.ba_size); u 813 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txdesc->key_idx : txdesc->u.ht.wcid); u 565 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c pos = (u8 *)mgmt->u.beacon.variable; u 244 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.ifs = IFS_BACKOFF; u 246 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.ifs = IFS_SIFS; u 256 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.signal = hwrate->plcp; u 257 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.service = 0x04; u 260 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.length_high = (data_length >> 6) & 0x3f; u 261 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.length_low = data_length & 0x3f; u 276 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.service |= 0x80; u 279 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.length_high = (duration >> 8) & 0xff; u 280 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.length_low = duration & 0xff; u 287 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.plcp.signal |= 0x08; u 305 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.wcid = sta_priv->wcid; u 314 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.mcs = txrate->idx; u 320 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (sta && txdesc->u.ht.mcs > 7 && u 324 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.mcs = rt2x00_get_rate_mcs(hwrate->mcs); u 326 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.mcs |= 0x08; u 331 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.txop = TXOP_SIFS; u 333 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.txop = TXOP_BACKOFF; u 343 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.stbc = 1; u 352 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.mpdu_density = density; u 353 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.ba_size = 7; /* FIXME: What value is needed? */ u 377 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.txop = TXOP_BACKOFF; u 379 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.txop = TXOP_SIFS; u 381 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->u.ht.txop = TXOP_HTTXOP; u 316 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h } u; u 1798 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); u 1799 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); u 1801 drivers/net/wireless/ralink/rt2x00/rt61pci.c txdesc->u.plcp.length_low); u 1803 drivers/net/wireless/ralink/rt2x00/rt61pci.c txdesc->u.plcp.length_high); u 1847 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); u 1466 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); u 1491 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); u 1492 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); u 1494 drivers/net/wireless/ralink/rt2x00/rt73usb.c txdesc->u.plcp.length_low); u 1496 drivers/net/wireless/ralink/rt2x00/rt73usb.c txdesc->u.plcp.length_high); u 1304 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c mgmt->u.beacon.timestamp = cpu_to_le64(rtl8180_get_tsf(dev, vif)); u 1087 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c mgmt->u.beacon.timestamp = cpu_to_le64(rtl8187_get_tsf(dev, vif)); u 4735 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c switch (mgmt->u.action.u.addba_resp.action_code) { u 4737 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c cap = le16_to_cpu(mgmt->u.action.u.addba_resp.capab); u 4738 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c timeout = le16_to_cpu(mgmt->u.action.u.addba_resp.timeout); u 4746 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c le16_to_cpu(mgmt->u.action.u.addba_resp.status)); u 4749 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c cap = le16_to_cpu(mgmt->u.action.u.addba_req.capab); u 4750 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c timeout = le16_to_cpu(mgmt->u.action.u.addba_req.timeout); u 4760 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c mgmt->u.action.u.addba_resp.action_code); u 1416 drivers/net/wireless/realtek/rtlwifi/base.c le16_to_cpu(mgmt->u.action.u.addba_req.capab); u 2405 drivers/net/wireless/realtek/rtlwifi/base.c pos = (u8 *)mgmt->u.beacon.variable; u 2441 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.category = WLAN_CATEGORY_HT; u 2442 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.u.ht_smps.action = WLAN_HT_ACTION_SMPS; u 2449 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.u.ht_smps.smps_control = u 2453 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.u.ht_smps.smps_control = u 2457 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.u.ht_smps.smps_control = u 2568 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.category = WLAN_CATEGORY_BACK; u 2569 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.u.delba.action_code = WLAN_ACTION_DELBA; u 2573 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.u.delba.params = cpu_to_le16(params); u 2574 drivers/net/wireless/realtek/rtlwifi/base.c action_frame->u.action.u.delba.reason_code = u 2629 drivers/net/wireless/realtek/rtlwifi/base.c pos = (u8 *)mgmt->u.beacon.variable; u 587 drivers/net/wireless/realtek/rtlwifi/pci.c if (action_frame->u.action.u.ht_smps.action == u 722 drivers/net/wireless/realtek/rtlwifi/ps.c pos = (u8 *)mgmt->u.beacon.variable; u 824 drivers/net/wireless/realtek/rtlwifi/ps.c pos = (u8 *)&mgmt->u.action.category; u 243 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.h } u; u 95 drivers/net/wireless/realtek/rtw88/rtw8822b.h struct rtw8822bu_efuse u; u 94 drivers/net/wireless/realtek/rtw88/rtw8822c.h struct rtw8822cu_efuse u; u 214 drivers/net/wireless/rndis_wlan.c } u; u 702 drivers/net/wireless/rndis_wlan.c } u; u 706 drivers/net/wireless/rndis_wlan.c buflen = *len + sizeof(*u.get); u 711 drivers/net/wireless/rndis_wlan.c u.buf = kmalloc(buflen, GFP_KERNEL); u 712 drivers/net/wireless/rndis_wlan.c if (!u.buf) u 715 drivers/net/wireless/rndis_wlan.c u.buf = priv->command_buffer; u 720 drivers/net/wireless/rndis_wlan.c memset(u.get, 0, sizeof *u.get); u 721 drivers/net/wireless/rndis_wlan.c u.get->msg_type = cpu_to_le32(RNDIS_MSG_QUERY); u 722 drivers/net/wireless/rndis_wlan.c u.get->msg_len = cpu_to_le32(sizeof *u.get); u 723 drivers/net/wireless/rndis_wlan.c u.get->oid = cpu_to_le32(oid); u 726 drivers/net/wireless/rndis_wlan.c ret = rndis_command(dev, u.header, buflen); u 731 drivers/net/wireless/rndis_wlan.c le32_to_cpu(u.get_c->status)); u 734 drivers/net/wireless/rndis_wlan.c resplen = le32_to_cpu(u.get_c->len); u 735 drivers/net/wireless/rndis_wlan.c respoffs = le32_to_cpu(u.get_c->offset) + 8; u 759 drivers/net/wireless/rndis_wlan.c memcpy(data, u.buf + respoffs, copylen); u 763 drivers/net/wireless/rndis_wlan.c ret = rndis_error_status(u.get_c->status); u 767 drivers/net/wireless/rndis_wlan.c le32_to_cpu(u.get_c->status), ret); u 773 drivers/net/wireless/rndis_wlan.c if (u.buf != priv->command_buffer) u 774 drivers/net/wireless/rndis_wlan.c kfree(u.buf); u 787 drivers/net/wireless/rndis_wlan.c } u; u 790 drivers/net/wireless/rndis_wlan.c buflen = len + sizeof(*u.set); u 795 drivers/net/wireless/rndis_wlan.c u.buf = kmalloc(buflen, GFP_KERNEL); u 796 drivers/net/wireless/rndis_wlan.c if (!u.buf) u 799 drivers/net/wireless/rndis_wlan.c u.buf = priv->command_buffer; u 804 drivers/net/wireless/rndis_wlan.c memset(u.set, 0, sizeof *u.set); u 805 drivers/net/wireless/rndis_wlan.c u.set->msg_type = cpu_to_le32(RNDIS_MSG_SET); u 806 drivers/net/wireless/rndis_wlan.c u.set->msg_len = cpu_to_le32(sizeof(*u.set) + len); u 807 drivers/net/wireless/rndis_wlan.c u.set->oid = cpu_to_le32(oid); u 808 drivers/net/wireless/rndis_wlan.c u.set->len = cpu_to_le32(len); u 809 drivers/net/wireless/rndis_wlan.c u.set->offset = cpu_to_le32(sizeof(*u.set) - 8); u 810 drivers/net/wireless/rndis_wlan.c u.set->handle = cpu_to_le32(0); u 811 drivers/net/wireless/rndis_wlan.c memcpy(u.buf + sizeof(*u.set), data, len); u 814 drivers/net/wireless/rndis_wlan.c ret = rndis_command(dev, u.header, buflen); u 819 drivers/net/wireless/rndis_wlan.c le32_to_cpu(u.set_c->status)); u 822 drivers/net/wireless/rndis_wlan.c ret = rndis_error_status(u.set_c->status); u 827 drivers/net/wireless/rndis_wlan.c le32_to_cpu(u.set_c->status), ret); u 832 drivers/net/wireless/rndis_wlan.c if (u.buf != priv->command_buffer) u 833 drivers/net/wireless/rndis_wlan.c kfree(u.buf); u 2905 drivers/net/wireless/rndis_wlan.c if (len < offsetof(struct ndis_80211_status_indication, u) + u 2912 drivers/net/wireless/rndis_wlan.c buf = (void *)&indication->u.auth_request[0]; u 2913 drivers/net/wireless/rndis_wlan.c buflen = len - offsetof(struct ndis_80211_status_indication, u); u 2972 drivers/net/wireless/rndis_wlan.c if (len < offsetof(struct ndis_80211_status_indication, u) + u 2979 drivers/net/wireless/rndis_wlan.c list_len = le32_to_cpu(indication->u.cand_list.num_candidates) * u 2982 drivers/net/wireless/rndis_wlan.c offsetof(struct ndis_80211_status_indication, u); u 2990 drivers/net/wireless/rndis_wlan.c cand_list = &indication->u.cand_list; u 3039 drivers/net/wireless/rndis_wlan.c le32_to_cpu(indication->u.radio_status)); u 3044 drivers/net/wireless/rndis_wlan.c le32_to_cpu(indication->u.media_stream_mode)); u 554 drivers/net/wireless/st/cw1200/txrx.c mgmt->u.action.category == WLAN_CATEGORY_BACK) u 607 drivers/net/wireless/st/cw1200/txrx.c if (le16_to_cpu(mgt_frame->u.assoc_req.listen_interval) < u 611 drivers/net/wireless/st/cw1200/txrx.c mgt_frame->u.assoc_req.listen_interval); u 615 drivers/net/wireless/st/cw1200/txrx.c mgt_frame->u.assoc_req.listen_interval = cpu_to_le16(priv->listen_interval); u 798 drivers/net/wireless/st/cw1200/txrx.c if (mgmt->u.action.category == WLAN_CATEGORY_BACK) u 1033 drivers/net/wireless/st/cw1200/txrx.c (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) { u 1044 drivers/net/wireless/st/cw1200/txrx.c (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) { u 1169 drivers/net/wireless/st/cw1200/txrx.c (skb->data))->u.beacon.variable; u 2922 drivers/net/wireless/ti/wlcore/main.c u.probe_req.variable); u 2961 drivers/net/wireless/ti/wlcore/main.c u.probe_req.variable); u 3998 drivers/net/wireless/ti/wlcore/main.c ie_offset = offsetof(struct ieee80211_mgmt, u.probe_resp.variable); u 4081 drivers/net/wireless/ti/wlcore/main.c int ieoffset = offsetof(struct ieee80211_mgmt, u.beacon.variable); u 5553 drivers/net/wireless/ti/wlcore/main.c int ieoffset = offsetof(struct ieee80211_mgmt, u.beacon.variable); u 1575 drivers/net/wireless/wl3501_cs.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 1576 drivers/net/wireless/wl3501_cs.c memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].bssid, ETH_ALEN); u 1581 drivers/net/wireless/wl3501_cs.c iwe.u.data.flags = 1; u 1582 drivers/net/wireless/wl3501_cs.c iwe.u.data.length = this->bss_set[i].ssid.el.len; u 1588 drivers/net/wireless/wl3501_cs.c iwe.u.mode = this->bss_set[i].bss_type; u 1593 drivers/net/wireless/wl3501_cs.c iwe.u.freq.m = this->bss_set[i].ds_pset.chan; u 1594 drivers/net/wireless/wl3501_cs.c iwe.u.freq.e = 0; u 1600 drivers/net/wireless/wl3501_cs.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 1602 drivers/net/wireless/wl3501_cs.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 1603 drivers/net/wireless/wl3501_cs.c iwe.u.data.length = 0; u 1140 drivers/net/wireless/zydas/zd1201.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 1141 drivers/net/wireless/zydas/zd1201.c memcpy(iwe.u.ap_addr.sa_data, zd->rxdata+i+6, 6); u 1146 drivers/net/wireless/zydas/zd1201.c iwe.u.data.length = zd->rxdata[i+16]; u 1147 drivers/net/wireless/zydas/zd1201.c iwe.u.data.flags = 1; u 1153 drivers/net/wireless/zydas/zd1201.c iwe.u.mode = IW_MODE_MASTER; u 1155 drivers/net/wireless/zydas/zd1201.c iwe.u.mode = IW_MODE_ADHOC; u 1160 drivers/net/wireless/zydas/zd1201.c iwe.u.freq.m = zd->rxdata[i+0]; u 1161 drivers/net/wireless/zydas/zd1201.c iwe.u.freq.e = 0; u 1166 drivers/net/wireless/zydas/zd1201.c iwe.u.bitrate.fixed = 0; u 1167 drivers/net/wireless/zydas/zd1201.c iwe.u.bitrate.disabled = 0; u 1169 drivers/net/wireless/zydas/zd1201.c iwe.u.bitrate.value = (zd->rxdata[i+50+j]&0x7f)*500000; u 1175 drivers/net/wireless/zydas/zd1201.c iwe.u.data.length = 0; u 1177 drivers/net/wireless/zydas/zd1201.c iwe.u.data.flags = IW_ENCODE_ENABLED; u 1179 drivers/net/wireless/zydas/zd1201.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 1183 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.qual = zd->rxdata[i+4]; u 1184 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.noise= zd->rxdata[i+2]/10-100; u 1185 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.level = (256+zd->rxdata[i+4]*100)/255-100; u 1186 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.updated = 7; u 293 drivers/net/xen-netback/hash.c .source.u.ref = gref, u 295 drivers/net/xen-netback/hash.c .dest.u.gmfn = virt_to_gfn(key), u 339 drivers/net/xen-netback/hash.c .source.u.ref = gref, u 350 drivers/net/xen-netback/hash.c copy_op[0].dest.u.gmfn = virt_to_gfn(mapping + off); u 355 drivers/net/xen-netback/hash.c copy_op[1].dest.u.gmfn = virt_to_gfn(mapping + off + len); u 463 drivers/net/xen-netback/netback.c (*gopp_copy)->source.u.ref); u 636 drivers/net/xen-netback/netback.c if (!gso->u.gso.size) { u 642 drivers/net/xen-netback/netback.c switch (gso->u.gso.type) { u 650 drivers/net/xen-netback/netback.c netdev_err(vif->dev, "Bad GSO type %d.\n", gso->u.gso.type); u 655 drivers/net/xen-netback/netback.c skb_shinfo(skb)->gso_size = gso->u.gso.size; u 853 drivers/net/xen-netback/netback.c ret = xenvif_mcast_add(queue->vif, extra->u.mcast.addr); u 867 drivers/net/xen-netback/netback.c xenvif_mcast_del(queue->vif, extra->u.mcast.addr); u 957 drivers/net/xen-netback/netback.c switch (extra->u.hash.type) { u 974 drivers/net/xen-netback/netback.c *(u32 *)extra->u.hash.value, u 981 drivers/net/xen-netback/netback.c queue->tx_copy_ops[*copy_ops].source.u.ref = txreq.gref; u 985 drivers/net/xen-netback/netback.c queue->tx_copy_ops[*copy_ops].dest.u.gmfn = u 187 drivers/net/xen-netback/rx.c op->source.u.ref = foreign->gref; u 190 drivers/net/xen-netback/rx.c op->source.u.gmfn = virt_to_gfn(data); u 195 drivers/net/xen-netback/rx.c op->dest.u.ref = req->gref; u 251 drivers/net/xen-netback/rx.c extra->u.gso.type = gso_type; u 252 drivers/net/xen-netback/rx.c extra->u.gso.size = skb_shinfo(skb)->gso_size; u 253 drivers/net/xen-netback/rx.c extra->u.gso.pad = 0; u 254 drivers/net/xen-netback/rx.c extra->u.gso.features = 0; u 266 drivers/net/xen-netback/rx.c extra->u.hash.algorithm = u 270 drivers/net/xen-netback/rx.c extra->u.hash.type = u 275 drivers/net/xen-netback/rx.c extra->u.hash.type = u 280 drivers/net/xen-netback/rx.c *(uint32_t *)extra->u.hash.value = skb_get_hash_raw(skb); u 625 drivers/net/xen-netback/xenbus.c unsigned long b, u; u 642 drivers/net/xen-netback/xenbus.c u = simple_strtoul(s, &e, 10); u 647 drivers/net/xen-netback/xenbus.c *usec = u; u 660 drivers/net/xen-netfront.c gso->u.gso.size = skb_shinfo(skb)->gso_size; u 661 drivers/net/xen-netfront.c gso->u.gso.type = (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) ? u 664 drivers/net/xen-netfront.c gso->u.gso.pad = 0; u 665 drivers/net/xen-netfront.c gso->u.gso.features = 0; u 864 drivers/net/xen-netfront.c if (!gso->u.gso.size) { u 870 drivers/net/xen-netfront.c if (gso->u.gso.type != XEN_NETIF_GSO_TYPE_TCPV4 && u 871 drivers/net/xen-netfront.c gso->u.gso.type != XEN_NETIF_GSO_TYPE_TCPV6) { u 873 drivers/net/xen-netfront.c pr_warn("Bad GSO type %d\n", gso->u.gso.type); u 877 drivers/net/xen-netfront.c skb_shinfo(skb)->gso_size = gso->u.gso.size; u 879 drivers/net/xen-netfront.c (gso->u.gso.type == XEN_NETIF_GSO_TYPE_TCPV4) ? u 719 drivers/ntb/hw/amd/ntb_hw_amd.c union { u64 v64; u32 v32; u16 v16; } u; u 768 drivers/ntb/hw/amd/ntb_hw_amd.c u.v32 = readl(ndev->self_mmio + AMD_DBMASK_OFFSET); u 770 drivers/ntb/hw/amd/ntb_hw_amd.c "Doorbell Mask -\t\t\t%#06x\n", u.v32); u 772 drivers/ntb/hw/amd/ntb_hw_amd.c u.v32 = readl(mmio + AMD_DBSTAT_OFFSET); u 774 drivers/ntb/hw/amd/ntb_hw_amd.c "Doorbell Bell -\t\t\t%#06x\n", u.v32); u 779 drivers/ntb/hw/amd/ntb_hw_amd.c u.v64 = read64(mmio + AMD_BAR1XLAT_OFFSET); u 781 drivers/ntb/hw/amd/ntb_hw_amd.c "XLAT1 -\t\t%#018llx\n", u.v64); u 783 drivers/ntb/hw/amd/ntb_hw_amd.c u.v64 = read64(ndev->self_mmio + AMD_BAR23XLAT_OFFSET); u 785 drivers/ntb/hw/amd/ntb_hw_amd.c "XLAT23 -\t\t%#018llx\n", u.v64); u 787 drivers/ntb/hw/amd/ntb_hw_amd.c u.v64 = read64(ndev->self_mmio + AMD_BAR45XLAT_OFFSET); u 789 drivers/ntb/hw/amd/ntb_hw_amd.c "XLAT45 -\t\t%#018llx\n", u.v64); u 791 drivers/ntb/hw/amd/ntb_hw_amd.c u.v32 = readl(mmio + AMD_BAR1LMT_OFFSET); u 793 drivers/ntb/hw/amd/ntb_hw_amd.c "LMT1 -\t\t\t%#06x\n", u.v32); u 795 drivers/ntb/hw/amd/ntb_hw_amd.c u.v64 = read64(ndev->self_mmio + AMD_BAR23LMT_OFFSET); u 797 drivers/ntb/hw/amd/ntb_hw_amd.c "LMT23 -\t\t\t%#018llx\n", u.v64); u 799 drivers/ntb/hw/amd/ntb_hw_amd.c u.v64 = read64(ndev->self_mmio + AMD_BAR45LMT_OFFSET); u 801 drivers/ntb/hw/amd/ntb_hw_amd.c "LMT45 -\t\t\t%#018llx\n", u.v64); u 499 drivers/ntb/hw/intel/ntb_hw_gen1.c union { u64 v64; u32 v32; u16 v16; u8 v8; } u; u 568 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_mask); u 570 drivers/ntb/hw/intel/ntb_hw_gen1.c "Doorbell Mask -\t\t%#llx\n", u.v64); u 572 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_bell); u 574 drivers/ntb/hw/intel/ntb_hw_gen1.c "Doorbell Bell -\t\t%#llx\n", u.v64); u 579 drivers/ntb/hw/intel/ntb_hw_gen1.c pci_read_config_byte(pdev, XEON_PBAR23SZ_OFFSET, &u.v8); u 581 drivers/ntb/hw/intel/ntb_hw_gen1.c "PBAR23SZ %hhu\n", u.v8); u 583 drivers/ntb/hw/intel/ntb_hw_gen1.c pci_read_config_byte(pdev, XEON_PBAR45SZ_OFFSET, &u.v8); u 585 drivers/ntb/hw/intel/ntb_hw_gen1.c "PBAR45SZ %hhu\n", u.v8); u 587 drivers/ntb/hw/intel/ntb_hw_gen1.c pci_read_config_byte(pdev, XEON_PBAR4SZ_OFFSET, &u.v8); u 589 drivers/ntb/hw/intel/ntb_hw_gen1.c "PBAR4SZ %hhu\n", u.v8); u 590 drivers/ntb/hw/intel/ntb_hw_gen1.c pci_read_config_byte(pdev, XEON_PBAR5SZ_OFFSET, &u.v8); u 592 drivers/ntb/hw/intel/ntb_hw_gen1.c "PBAR5SZ %hhu\n", u.v8); u 595 drivers/ntb/hw/intel/ntb_hw_gen1.c pci_read_config_byte(pdev, XEON_SBAR23SZ_OFFSET, &u.v8); u 597 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR23SZ %hhu\n", u.v8); u 599 drivers/ntb/hw/intel/ntb_hw_gen1.c pci_read_config_byte(pdev, XEON_SBAR45SZ_OFFSET, &u.v8); u 601 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR45SZ %hhu\n", u.v8); u 603 drivers/ntb/hw/intel/ntb_hw_gen1.c pci_read_config_byte(pdev, XEON_SBAR4SZ_OFFSET, &u.v8); u 605 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR4SZ %hhu\n", u.v8); u 606 drivers/ntb/hw/intel/ntb_hw_gen1.c pci_read_config_byte(pdev, XEON_SBAR5SZ_OFFSET, &u.v8); u 608 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR5SZ %hhu\n", u.v8); u 614 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + bar2_off(ndev->xlat_reg->bar2_xlat, 2)); u 616 drivers/ntb/hw/intel/ntb_hw_gen1.c "XLAT23 -\t\t%#018llx\n", u.v64); u 619 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_xlat, 4)); u 621 drivers/ntb/hw/intel/ntb_hw_gen1.c "XLAT4 -\t\t\t%#06x\n", u.v32); u 623 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_xlat, 5)); u 625 drivers/ntb/hw/intel/ntb_hw_gen1.c "XLAT5 -\t\t\t%#06x\n", u.v32); u 627 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + bar2_off(ndev->xlat_reg->bar2_xlat, 4)); u 629 drivers/ntb/hw/intel/ntb_hw_gen1.c "XLAT45 -\t\t%#018llx\n", u.v64); u 632 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + bar2_off(ndev->xlat_reg->bar2_limit, 2)); u 634 drivers/ntb/hw/intel/ntb_hw_gen1.c "LMT23 -\t\t\t%#018llx\n", u.v64); u 637 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_limit, 4)); u 639 drivers/ntb/hw/intel/ntb_hw_gen1.c "LMT4 -\t\t\t%#06x\n", u.v32); u 640 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_limit, 5)); u 642 drivers/ntb/hw/intel/ntb_hw_gen1.c "LMT5 -\t\t\t%#06x\n", u.v32); u 644 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + bar2_off(ndev->xlat_reg->bar2_limit, 4)); u 646 drivers/ntb/hw/intel/ntb_hw_gen1.c "LMT45 -\t\t\t%#018llx\n", u.v64); u 654 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + XEON_PBAR23XLAT_OFFSET); u 656 drivers/ntb/hw/intel/ntb_hw_gen1.c "B2B XLAT23 -\t\t%#018llx\n", u.v64); u 659 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_PBAR4XLAT_OFFSET); u 662 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32); u 663 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_PBAR5XLAT_OFFSET); u 666 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32); u 668 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + XEON_PBAR45XLAT_OFFSET); u 671 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64); u 674 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + XEON_PBAR23LMT_OFFSET); u 676 drivers/ntb/hw/intel/ntb_hw_gen1.c "B2B LMT23 -\t\t%#018llx\n", u.v64); u 679 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_PBAR4LMT_OFFSET); u 682 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32); u 683 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_PBAR5LMT_OFFSET); u 686 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32); u 688 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + XEON_PBAR45LMT_OFFSET); u 691 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64); u 697 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + XEON_SBAR0BASE_OFFSET); u 699 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR01 -\t\t%#018llx\n", u.v64); u 701 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + XEON_SBAR23BASE_OFFSET); u 703 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR23 -\t\t%#018llx\n", u.v64); u 706 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_SBAR4BASE_OFFSET); u 708 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR4 -\t\t\t%#06x\n", u.v32); u 709 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v32 = ioread32(mmio + XEON_SBAR5BASE_OFFSET); u 711 drivers/ntb/hw/intel/ntb_hw_gen1.c "SBAR5 -\t\t\t%#06x\n", u.v32); u 713 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64 = ioread64(mmio + XEON_SBAR45BASE_OFFSET); u 716 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v64); u 723 drivers/ntb/hw/intel/ntb_hw_gen1.c u.v16 = ioread16(mmio + XEON_USMEMMISS_OFFSET); u 725 drivers/ntb/hw/intel/ntb_hw_gen1.c "Upstream Memory Miss -\t%u\n", u.v16); u 731 drivers/ntb/hw/intel/ntb_hw_gen1.c XEON_DEVSTS_OFFSET, &u.v16)) u 733 drivers/ntb/hw/intel/ntb_hw_gen1.c "DEVSTS -\t\t%#06x\n", u.v16); u 736 drivers/ntb/hw/intel/ntb_hw_gen1.c XEON_LINK_STATUS_OFFSET, &u.v16)) u 738 drivers/ntb/hw/intel/ntb_hw_gen1.c "LNKSTS -\t\t%#06x\n", u.v16); u 741 drivers/ntb/hw/intel/ntb_hw_gen1.c XEON_UNCERRSTS_OFFSET, &u.v32)) u 743 drivers/ntb/hw/intel/ntb_hw_gen1.c "UNCERRSTS -\t\t%#06x\n", u.v32); u 746 drivers/ntb/hw/intel/ntb_hw_gen1.c XEON_CORERRSTS_OFFSET, &u.v32)) u 748 drivers/ntb/hw/intel/ntb_hw_gen1.c "CORERRSTS -\t\t%#06x\n", u.v32); u 263 drivers/ntb/hw/intel/ntb_hw_gen3.c union { u64 v64; u32 v32; u16 v16; } u; u 320 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_mask); u 322 drivers/ntb/hw/intel/ntb_hw_gen3.c "Doorbell Mask -\t\t%#llx\n", u.v64); u 324 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_bell); u 326 drivers/ntb/hw/intel/ntb_hw_gen3.c "Doorbell Bell -\t\t%#llx\n", u.v64); u 331 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_IMBAR1XBASE_OFFSET); u 333 drivers/ntb/hw/intel/ntb_hw_gen3.c "IMBAR1XBASE -\t\t%#018llx\n", u.v64); u 335 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_IMBAR2XBASE_OFFSET); u 337 drivers/ntb/hw/intel/ntb_hw_gen3.c "IMBAR2XBASE -\t\t%#018llx\n", u.v64); u 339 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_IMBAR1XLMT_OFFSET); u 341 drivers/ntb/hw/intel/ntb_hw_gen3.c "IMBAR1XLMT -\t\t\t%#018llx\n", u.v64); u 343 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_IMBAR2XLMT_OFFSET); u 345 drivers/ntb/hw/intel/ntb_hw_gen3.c "IMBAR2XLMT -\t\t\t%#018llx\n", u.v64); u 351 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_EMBAR1XBASE_OFFSET); u 353 drivers/ntb/hw/intel/ntb_hw_gen3.c "EMBAR1XBASE -\t\t%#018llx\n", u.v64); u 355 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_EMBAR2XBASE_OFFSET); u 357 drivers/ntb/hw/intel/ntb_hw_gen3.c "EMBAR2XBASE -\t\t%#018llx\n", u.v64); u 359 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_EMBAR1XLMT_OFFSET); u 361 drivers/ntb/hw/intel/ntb_hw_gen3.c "EMBAR1XLMT -\t\t%#018llx\n", u.v64); u 363 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_EMBAR2XLMT_OFFSET); u 365 drivers/ntb/hw/intel/ntb_hw_gen3.c "EMBAR2XLMT -\t\t%#018llx\n", u.v64); u 370 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_EMBAR0_OFFSET); u 372 drivers/ntb/hw/intel/ntb_hw_gen3.c "EMBAR0 -\t\t%#018llx\n", u.v64); u 374 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_EMBAR1_OFFSET); u 376 drivers/ntb/hw/intel/ntb_hw_gen3.c "EMBAR1 -\t\t%#018llx\n", u.v64); u 378 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v64 = ioread64(mmio + GEN3_EMBAR2_OFFSET); u 380 drivers/ntb/hw/intel/ntb_hw_gen3.c "EMBAR2 -\t\t%#018llx\n", u.v64); u 386 drivers/ntb/hw/intel/ntb_hw_gen3.c u.v16 = ioread16(mmio + GEN3_USMEMMISS_OFFSET); u 388 drivers/ntb/hw/intel/ntb_hw_gen3.c "Upstream Memory Miss -\t%u\n", u.v16); u 394 drivers/ntb/hw/intel/ntb_hw_gen3.c GEN3_DEVSTS_OFFSET, &u.v16)) u 396 drivers/ntb/hw/intel/ntb_hw_gen3.c "DEVSTS -\t\t%#06x\n", u.v16); u 399 drivers/ntb/hw/intel/ntb_hw_gen3.c GEN3_LINK_STATUS_OFFSET, &u.v16)) u 401 drivers/ntb/hw/intel/ntb_hw_gen3.c "LNKSTS -\t\t%#06x\n", u.v16); u 404 drivers/ntb/hw/intel/ntb_hw_gen3.c GEN3_UNCERRSTS_OFFSET, &u.v32)) u 406 drivers/ntb/hw/intel/ntb_hw_gen3.c "UNCERRSTS -\t\t%#06x\n", u.v32); u 409 drivers/ntb/hw/intel/ntb_hw_gen3.c GEN3_CORERRSTS_OFFSET, &u.v32)) u 411 drivers/ntb/hw/intel/ntb_hw_gen3.c "CORERRSTS -\t\t%#06x\n", u.v32); u 309 drivers/parisc/ccio-dma.c u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \ u 310 drivers/parisc/ccio-dma.c u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \ u 312 drivers/parisc/ccio-dma.c res_ptr = (u##size *)&(ioc)->res_map[0]; \ u 417 drivers/parisc/ccio-dma.c u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \ u 264 drivers/parisc/dino.c static u##size dino_in##size (struct pci_hba_data *d, u16 addr) \ u 266 drivers/parisc/dino.c u##size v; \ u 282 drivers/parisc/dino.c static void dino_out##size (struct pci_hba_data *d, u16 addr, u##size val) \ u 888 drivers/parisc/lba_pci.c static u##size lba_astro_in##size (struct pci_hba_data *d, u16 addr) \ u 890 drivers/parisc/lba_pci.c u##size t; \ u 929 drivers/parisc/lba_pci.c static void lba_astro_out##size (struct pci_hba_data *d, u16 addr, u##size val) \ u 970 drivers/parisc/lba_pci.c static u##size lba_pat_in##size (struct pci_hba_data *l, u16 addr) \ u 972 drivers/parisc/lba_pci.c u##size t; \ u 986 drivers/parisc/lba_pci.c static void lba_pat_out##size (struct pci_hba_data *l, u16 addr, u##size val) \ u 132 drivers/parport/parport_amiga.c s->u.amiga.data = 0; u 133 drivers/parport/parport_amiga.c s->u.amiga.datadir = 255; u 134 drivers/parport/parport_amiga.c s->u.amiga.status = 0; u 135 drivers/parport/parport_amiga.c s->u.amiga.statusdir = 0; u 141 drivers/parport/parport_amiga.c s->u.amiga.data = ciaa.prb; u 142 drivers/parport/parport_amiga.c s->u.amiga.datadir = ciaa.ddrb; u 143 drivers/parport/parport_amiga.c s->u.amiga.status = ciab.pra & 7; u 144 drivers/parport/parport_amiga.c s->u.amiga.statusdir = ciab.ddra & 7; u 151 drivers/parport/parport_amiga.c ciaa.prb = s->u.amiga.data; u 152 drivers/parport/parport_amiga.c ciaa.ddrb = s->u.amiga.datadir; u 153 drivers/parport/parport_amiga.c ciab.pra |= (ciab.pra & 0xf8) | s->u.amiga.status; u 154 drivers/parport/parport_amiga.c ciab.ddra |= (ciab.ddra & 0xf8) | s->u.amiga.statusdir; u 211 drivers/parport/parport_ax88796.c s->u.ax88796.cpr = readb(dd->spp_cpr); u 220 drivers/parport/parport_ax88796.c s->u.ax88796.cpr = readb(dd->spp_cpr); u 229 drivers/parport/parport_ax88796.c writeb(s->u.ax88796.cpr, dd->spp_cpr); u 80 drivers/parport/parport_gsc.c s->u.pc.ctr = 0xc | (dev->irq_func ? 0x10 : 0x0); u 85 drivers/parport/parport_gsc.c s->u.pc.ctr = parport_readb (CONTROL (p)); u 90 drivers/parport/parport_gsc.c parport_writeb (s->u.pc.ctr, CONTROL (p)); u 1028 drivers/parport/parport_ip32.c s->u.ip32.dcr = DCR_SELECT | DCR_nINIT; u 1029 drivers/parport/parport_ip32.c s->u.ip32.ecr = ECR_MODE_PS2 | ECR_nERRINTR | ECR_SERVINTR; u 1040 drivers/parport/parport_ip32.c s->u.ip32.dcr = __parport_ip32_read_control(p); u 1041 drivers/parport/parport_ip32.c s->u.ip32.ecr = parport_ip32_read_econtrol(p); u 1052 drivers/parport/parport_ip32.c parport_ip32_set_mode(p, s->u.ip32.ecr & ECR_MODE_MASK); u 1053 drivers/parport/parport_ip32.c parport_ip32_write_econtrol(p, s->u.ip32.ecr); u 1054 drivers/parport/parport_ip32.c __parport_ip32_write_control(p, s->u.ip32.dcr); u 221 drivers/parport/parport_mfc3.c s->u.amiga.data = 0; u 222 drivers/parport/parport_mfc3.c s->u.amiga.datadir = 255; u 223 drivers/parport/parport_mfc3.c s->u.amiga.status = 0; u 224 drivers/parport/parport_mfc3.c s->u.amiga.statusdir = 0xe0; u 229 drivers/parport/parport_mfc3.c s->u.amiga.data = pia(p)->pprb; u 231 drivers/parport/parport_mfc3.c s->u.amiga.datadir = pia(p)->pddrb; u 233 drivers/parport/parport_mfc3.c s->u.amiga.status = pia(p)->ppra; u 235 drivers/parport/parport_mfc3.c s->u.amiga.statusdir = pia(p)->pddrb; u 241 drivers/parport/parport_mfc3.c pia(p)->pprb = s->u.amiga.data; u 243 drivers/parport/parport_mfc3.c pia(p)->pddrb = s->u.amiga.datadir; u 245 drivers/parport/parport_mfc3.c pia(p)->ppra = s->u.amiga.status; u 247 drivers/parport/parport_mfc3.c pia(p)->pddrb = s->u.amiga.statusdir; u 236 drivers/parport/parport_pc.c s->u.pc.ctr = 0xc; u 240 drivers/parport/parport_pc.c s->u.pc.ctr |= 0x10; u 242 drivers/parport/parport_pc.c s->u.pc.ecr = 0x34; /* NetMos chip can cause problems 0x24; u 249 drivers/parport/parport_pc.c s->u.pc.ctr = priv->ctr; u 251 drivers/parport/parport_pc.c s->u.pc.ecr = inb(ECONTROL(p)); u 258 drivers/parport/parport_pc.c register unsigned char c = s->u.pc.ctr & priv->ctr_writable; u 262 drivers/parport/parport_pc.c ECR_WRITE(p, s->u.pc.ecr); u 218 drivers/parport/parport_sunbpp.c s->u.pc.ctr = 0xc; u 219 drivers/parport/parport_sunbpp.c s->u.pc.ecr = 0x0; u 224 drivers/parport/parport_sunbpp.c s->u.pc.ctr = parport_sunbpp_read_control(p); u 229 drivers/parport/parport_sunbpp.c parport_sunbpp_write_control(p, s->u.pc.ctr); u 71 drivers/parport/probe.c char *u; u 74 drivers/parport/probe.c u = sep + strlen (sep) - 1; u 75 drivers/parport/probe.c while (u >= p && *u == ' ') u 76 drivers/parport/probe.c *u-- = '\0'; u 77 drivers/parport/probe.c u = p; u 78 drivers/parport/probe.c while (*u) { u 79 drivers/parport/probe.c *u = toupper(*u); u 80 drivers/parport/probe.c u++; u 93 drivers/parport/probe.c for (u = sep; *u; u++) u 94 drivers/parport/probe.c *u = toupper(*u); u 730 drivers/pci/hotplug/ibmphp.h } u; u 210 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - bus: %x\n", __func__, hpc_ptr->u.pci_ctlr.bus); u 211 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - dev_fun: %x\n", __func__, hpc_ptr->u.pci_ctlr.dev_fun); u 216 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - io_start: %x\n", __func__, hpc_ptr->u.isa_ctlr.io_start); u 217 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - io_end: %x\n", __func__, hpc_ptr->u.isa_ctlr.io_end); u 223 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - wpegbbar: %lx\n", __func__, hpc_ptr->u.wpeg_ctlr.wpegbbar); u 224 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - i2c_addr: %x\n", __func__, hpc_ptr->u.wpeg_ctlr.i2c_addr); u 800 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.pci_ctlr.bus = readb(io_mem + addr); u 801 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.pci_ctlr.dev_fun = readb(io_mem + addr + 1); u 805 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.pci_ctlr.bus, u 806 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.pci_ctlr.dev_fun, hpc_ptr->irq); u 810 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.isa_ctlr.io_start = readw(io_mem + addr); u 811 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.isa_ctlr.io_end = readw(io_mem + addr + 2); u 812 drivers/pci/hotplug/ibmphp_ebda.c if (!request_region(hpc_ptr->u.isa_ctlr.io_start, u 813 drivers/pci/hotplug/ibmphp_ebda.c (hpc_ptr->u.isa_ctlr.io_end - hpc_ptr->u.isa_ctlr.io_start + 1), u 824 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.wpeg_ctlr.wpegbbar = readl(io_mem + addr); u 825 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.wpeg_ctlr.i2c_addr = readb(io_mem + addr + 4); u 1052 drivers/pci/hotplug/ibmphp_ebda.c release_region(controller->u.isa_ctlr.io_start, (controller->u.isa_ctlr.io_end - controller->u.isa_ctlr.io_start + 1)); u 1112 drivers/pci/hotplug/ibmphp_ebda.c if ((dev->devfn == ctrl->u.pci_ctlr.dev_fun) && (dev->bus->number == ctrl->u.pci_ctlr.bus)) { u 136 drivers/pci/hotplug/ibmphp_hpc.c ultemp = (unsigned long)ctlr_ptr->u.wpeg_ctlr.i2c_addr; u 247 drivers/pci/hotplug/ibmphp_hpc.c ultemp = (unsigned long)ctlr_ptr->u.wpeg_ctlr.i2c_addr; u 331 drivers/pci/hotplug/ibmphp_hpc.c start_address = ctlr_ptr->u.isa_ctlr.io_start; u 332 drivers/pci/hotplug/ibmphp_hpc.c end_address = ctlr_ptr->u.isa_ctlr.io_end; u 345 drivers/pci/hotplug/ibmphp_hpc.c start_address = ctlr_ptr->u.isa_ctlr.io_start; u 549 drivers/pci/hotplug/ibmphp_hpc.c wpg_bbar = ioremap(ctlr_ptr->u.wpeg_ctlr.wpegbbar, WPG_I2C_IOREMAP_SIZE); u 689 drivers/pci/hotplug/ibmphp_hpc.c wpg_bbar = ioremap(ctlr_ptr->u.wpeg_ctlr.wpegbbar, WPG_I2C_IOREMAP_SIZE); u 692 drivers/pci/hotplug/ibmphp_hpc.c ctlr_ptr->ctlr_id, (ulong) (ctlr_ptr->u.wpeg_ctlr.wpegbbar), (ulong) wpg_bbar, u 693 drivers/pci/hotplug/ibmphp_hpc.c ctlr_ptr->u.wpeg_ctlr.i2c_addr); u 65 drivers/platform/chrome/cros_ec.c } u; u 71 drivers/platform/chrome/cros_ec.c buf.u.req1.sleep_event = sleep_event; u 72 drivers/platform/chrome/cros_ec.c buf.u.req1.suspend_params.sleep_timeout_ms = u 75 drivers/platform/chrome/cros_ec.c buf.msg.outsize = sizeof(buf.u.req1); u 78 drivers/platform/chrome/cros_ec.c buf.msg.insize = sizeof(buf.u.resp1); u 83 drivers/platform/chrome/cros_ec.c buf.u.req0.sleep_event = sleep_event; u 84 drivers/platform/chrome/cros_ec.c buf.msg.outsize = sizeof(buf.u.req0); u 95 drivers/platform/chrome/cros_ec.c buf.u.resp1.resume_response.sleep_transitions; u 97 drivers/platform/chrome/cros_ec.c WARN_ONCE(buf.u.resp1.resume_response.sleep_transitions & u 100 drivers/platform/chrome/cros_ec.c buf.u.resp1.resume_response.sleep_transitions & u 78 drivers/pnp/base.h } u; u 193 drivers/pnp/interface.c pnp_print_port(buffer, space, &option->u.port); u 196 drivers/pnp/interface.c pnp_print_mem(buffer, space, &option->u.mem); u 199 drivers/pnp/interface.c pnp_print_irq(buffer, space, &option->u.irq); u 202 drivers/pnp/interface.c pnp_print_dma(buffer, space, &option->u.dma); u 274 drivers/pnp/manager.c ret = pnp_assign_port(dev, &option->u.port, nport++); u 277 drivers/pnp/manager.c ret = pnp_assign_mem(dev, &option->u.mem, nmem++); u 280 drivers/pnp/manager.c ret = pnp_assign_irq(dev, &option->u.irq, nirq++); u 284 drivers/pnp/manager.c ret = pnp_assign_dma(dev, &option->u.dma, ndma++); u 40 drivers/pnp/quirks.c new_option->u.port.min += offset; u 41 drivers/pnp/quirks.c new_option->u.port.max += offset; u 45 drivers/pnp/quirks.c (unsigned long long) new_option->u.port.min, u 46 drivers/pnp/quirks.c (unsigned long long) new_option->u.port.max, u 80 drivers/pnp/quirks.c irq = &option->u.irq; u 89 drivers/pnp/quirks.c dma = &option->u.dma; u 123 drivers/pnp/quirks.c port = &option->u.port; u 195 drivers/pnp/quirks.c irq = &new_option->u.irq; u 218 drivers/pnp/quirks.c irq = &option->u.irq; u 61 drivers/pnp/resource.c irq = &option->u.irq; u 89 drivers/pnp/resource.c dma = &option->u.dma; u 109 drivers/pnp/resource.c port = &option->u.port; u 132 drivers/pnp/resource.c mem = &option->u.mem; u 659 drivers/pnp/resource.c port = &option->u.port; u 664 drivers/pnp/resource.c mem = &option->u.mem; u 669 drivers/pnp/resource.c irq = &option->u.irq; u 675 drivers/pnp/resource.c dma = &option->u.dma; u 125 drivers/pnp/support.c port = &option->u.port; u 134 drivers/pnp/support.c mem = &option->u.mem; u 143 drivers/pnp/support.c irq = &option->u.irq; u 162 drivers/pnp/support.c dma = &option->u.dma; u 121 drivers/powercap/intel_rapl_common.c #define PRIMITIVE_INFO_INIT(p, m, s, i, u, f) { \ u 126 drivers/powercap/intel_rapl_common.c .unit = u, \ u 1408 drivers/rapidio/devices/rio_mport_cdev.c event.u.doorbell.rioid = src; u 1409 drivers/rapidio/devices/rio_mport_cdev.c event.u.doorbell.payload = info; u 1528 drivers/rapidio/devices/rio_mport_cdev.c memcpy(event.u.portwrite.payload, msg->raw, RIO_PW_MSG_SIZE); u 2318 drivers/rapidio/devices/rio_mport_cdev.c event.u.doorbell.rioid, u 2319 drivers/rapidio/devices/rio_mport_cdev.c event.u.doorbell.payload); u 322 drivers/s390/cio/chsc.c } u; u 652 drivers/s390/cio/chsc.c chsc_process_sei_nt0(&sei->u.nt0_area); u 655 drivers/s390/cio/chsc.c chsc_process_sei_nt2(&sei->u.nt2_area); u 662 drivers/s390/cio/chsc.c if (!(sei->u.nt0_area.flags & 0x80)) u 1007 drivers/s390/cio/cmf.c unsigned long u = cmf_read(to_ccwdev(dev), avg_utilization); u 1009 drivers/s390/cio/cmf.c return sprintf(buf, "%02lu.%01lu%%\n", u / 10, u % 10); u 221 drivers/s390/cio/qdio.h } u; u 368 drivers/s390/cio/qdio.h (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) == 0) u 370 drivers/s390/cio/qdio.h (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) != 0) u 128 drivers/s390/cio/qdio_debug.c q->u.in.polling, q->u.in.ack_start, u 129 drivers/s390/cio/qdio_debug.c q->u.in.ack_count); u 133 drivers/s390/cio/qdio_debug.c &q->u.in.queue_irq_state)); u 395 drivers/s390/cio/qdio_main.c if (!q->u.in.polling) u 398 drivers/s390/cio/qdio_main.c q->u.in.polling = 0; u 403 drivers/s390/cio/qdio_main.c set_buf_states(q, q->u.in.ack_start, SLSB_P_INPUT_NOT_INIT, u 404 drivers/s390/cio/qdio_main.c q->u.in.ack_count); u 405 drivers/s390/cio/qdio_main.c q->u.in.ack_count = 0; u 407 drivers/s390/cio/qdio_main.c set_buf_state(q, q->u.in.ack_start, SLSB_P_INPUT_NOT_INIT); u 463 drivers/s390/cio/qdio_main.c if (!q->u.in.polling) { u 464 drivers/s390/cio/qdio_main.c q->u.in.polling = 1; u 465 drivers/s390/cio/qdio_main.c q->u.in.ack_count = count; u 466 drivers/s390/cio/qdio_main.c q->u.in.ack_start = start; u 471 drivers/s390/cio/qdio_main.c set_buf_states(q, q->u.in.ack_start, SLSB_P_INPUT_NOT_INIT, u 472 drivers/s390/cio/qdio_main.c q->u.in.ack_count); u 473 drivers/s390/cio/qdio_main.c q->u.in.ack_count = count; u 474 drivers/s390/cio/qdio_main.c q->u.in.ack_start = start; u 483 drivers/s390/cio/qdio_main.c if (q->u.in.polling) { u 486 drivers/s390/cio/qdio_main.c set_buf_state(q, q->u.in.ack_start, SLSB_P_INPUT_NOT_INIT); u 488 drivers/s390/cio/qdio_main.c q->u.in.polling = 1; u 492 drivers/s390/cio/qdio_main.c q->u.in.ack_start = new; u 559 drivers/s390/cio/qdio_main.c q->u.in.timestamp = get_tod_clock(); u 590 drivers/s390/cio/qdio_main.c if (get_tod_clock_fast() > q->u.in.timestamp + QDIO_INPUT_THRESHOLD) { u 605 drivers/s390/cio/qdio_main.c struct qaob *aob = q->u.out.aobs[b]; u 609 drivers/s390/cio/qdio_main.c q->u.out.sbal_state[b].flags |= u 611 drivers/s390/cio/qdio_main.c q->u.out.aobs[b] = NULL; u 726 drivers/s390/cio/qdio_main.c count = get_buf_states(q, start, &state, count, 0, q->u.out.use_cq); u 777 drivers/s390/cio/qdio_main.c if (q->u.out.use_cq) u 844 drivers/s390/cio/qdio_main.c if (q->u.out.pci_out_enabled) u 853 drivers/s390/cio/qdio_main.c del_timer_sync(&q->u.out.timer); u 855 drivers/s390/cio/qdio_main.c if (!timer_pending(&q->u.out.timer) && u 857 drivers/s390/cio/qdio_main.c mod_timer(&q->u.out.timer, jiffies + 10 * HZ); u 873 drivers/s390/cio/qdio_main.c struct qdio_q *q = from_timer(q, t, u.out.timer); u 962 drivers/s390/cio/qdio_main.c if (q->u.in.queue_start_poll) { u 965 drivers/s390/cio/qdio_main.c &q->u.in.queue_irq_state)) { u 969 drivers/s390/cio/qdio_main.c q->u.in.queue_start_poll(q->irq_ptr->cdev, q->nr, u 1126 drivers/s390/cio/qdio_main.c del_timer_sync(&q->u.out.timer); u 1309 drivers/s390/cio/qdio_main.c if (qdio_enable_async_operation(&q->u.out) < 0) { u 1314 drivers/s390/cio/qdio_main.c qdio_disable_async_operation(&q->u.out); u 1484 drivers/s390/cio/qdio_main.c if (!q->u.in.polling) u 1490 drivers/s390/cio/qdio_main.c q->u.in.polling = 0; u 1491 drivers/s390/cio/qdio_main.c q->u.in.ack_count = 0; u 1493 drivers/s390/cio/qdio_main.c } else if (buf_in_between(q->u.in.ack_start, bufnr, count)) { u 1497 drivers/s390/cio/qdio_main.c diff = sub_buf(diff, q->u.in.ack_start); u 1498 drivers/s390/cio/qdio_main.c q->u.in.ack_count -= diff; u 1499 drivers/s390/cio/qdio_main.c if (q->u.in.ack_count <= 0) { u 1500 drivers/s390/cio/qdio_main.c q->u.in.polling = 0; u 1501 drivers/s390/cio/qdio_main.c q->u.in.ack_count = 0; u 1504 drivers/s390/cio/qdio_main.c q->u.in.ack_start = add_buf(q->u.in.ack_start, diff); u 1508 drivers/s390/cio/qdio_main.c q->u.in.polling = 0; u 1544 drivers/s390/cio/qdio_main.c q->u.out.pci_out_enabled = 1; u 1547 drivers/s390/cio/qdio_main.c q->u.out.pci_out_enabled = 0; u 1555 drivers/s390/cio/qdio_main.c if (q->u.out.use_cq) u 1556 drivers/s390/cio/qdio_main.c phys_aob = qdio_aob_for_buffer(&q->u.out, bufnr); u 1579 drivers/s390/cio/qdio_main.c if (!timer_pending(&q->u.out.timer) && u 1581 drivers/s390/cio/qdio_main.c mod_timer(&q->u.out.timer, jiffies + HZ); u 1642 drivers/s390/cio/qdio_main.c clear_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state); u 1656 drivers/s390/cio/qdio_main.c &q->u.in.queue_irq_state)) u 1760 drivers/s390/cio/qdio_main.c &q->u.in.queue_irq_state)) u 229 drivers/s390/cio/qdio_setup.c q->u.in.queue_start_poll = qdio_init->queue_start_poll_array ? u 248 drivers/s390/cio/qdio_setup.c q->u.out.sbal_state = output_sbal_state_array; u 257 drivers/s390/cio/qdio_setup.c timer_setup(&q->u.out.timer, qdio_outbound_timer, 0); u 375 drivers/s390/cio/qdio_setup.c if (q->u.out.use_cq) { u 379 drivers/s390/cio/qdio_setup.c struct qaob *aob = q->u.out.aobs[n]; u 382 drivers/s390/cio/qdio_setup.c q->u.out.aobs[n] = NULL; u 386 drivers/s390/cio/qdio_setup.c qdio_disable_async_operation(&q->u.out); u 153 drivers/s390/cio/qdio_thinint.c if (q->u.in.queue_start_poll) { u 156 drivers/s390/cio/qdio_thinint.c &q->u.in.queue_irq_state)) { u 162 drivers/s390/cio/qdio_thinint.c q->u.in.queue_start_poll(irq->cdev, q->nr, u 81 drivers/s390/crypto/zcrypt_cex2a.h unsigned char u[64]; u 94 drivers/s390/crypto/zcrypt_cex2a.h unsigned char u[128]; u 107 drivers/s390/crypto/zcrypt_cex2a.h unsigned char u[256]; u 109 drivers/s390/crypto/zcrypt_msgtype50.c unsigned char u[64]; u 122 drivers/s390/crypto/zcrypt_msgtype50.c unsigned char u[128]; u 135 drivers/s390/crypto/zcrypt_msgtype50.c unsigned char u[256]; u 266 drivers/s390/crypto/zcrypt_msgtype50.c unsigned char *p, *q, *dp, *dq, *u, *inp; u 289 drivers/s390/crypto/zcrypt_msgtype50.c u = crb1->u + sizeof(crb1->u) - short_len; u 303 drivers/s390/crypto/zcrypt_msgtype50.c u = crb2->u + sizeof(crb2->u) - short_len; u 318 drivers/s390/crypto/zcrypt_msgtype50.c u = crb3->u + sizeof(crb3->u) - short_len; u 331 drivers/s390/crypto/zcrypt_msgtype50.c copy_from_user(u, crt->u_mult_inv + MSGTYPE_ADJUSTMENT, short_len) || u 47 drivers/s390/net/qeth_l3.h } u; u 66 drivers/s390/net/qeth_l3.h return ipv6_addr_equal(&a1->u.a6.addr, &a2->u.a6.addr); u 67 drivers/s390/net/qeth_l3.h return a1->u.a4.addr == a2->u.a4.addr; u 88 drivers/s390/net/qeth_l3.h return a1->u.a6.pfxlen == a2->u.a6.pfxlen; u 89 drivers/s390/net/qeth_l3.h return a1->u.a4.mask == a2->u.a4.mask; u 98 drivers/s390/net/qeth_l3.h point = (u8 *) &addr->u.a6.addr; u 103 drivers/s390/net/qeth_l3.h point = (u8 *) &addr->u.a4.addr; u 121 drivers/s390/net/qeth_l3_main.c qeth_l3_convert_addr_to_bits((u8 *) &addr->u, addr_bits, u 161 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 4, &tmp_addr->u.a4.addr, 4); u 163 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 4, &tmp_addr->u.a6.addr, 8); u 164 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 4, ((char *)&tmp_addr->u.a6.addr) + 8, 8); u 200 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 4, &tmp_addr->u.a4.addr, 4); u 202 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 4, &tmp_addr->u.a6.addr, 8); u 203 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 4, ((char *)&tmp_addr->u.a6.addr) + 8, 8); u 214 drivers/s390/net/qeth_l3_main.c qeth_l3_ipaddr_to_string(tmp_addr->proto, (u8 *)&tmp_addr->u, u 386 drivers/s390/net/qeth_l3_main.c memcpy(cmd->data.setdelipm.ip6, &addr->u.a6.addr, u 389 drivers/s390/net/qeth_l3_main.c memcpy(&cmd->data.setdelipm.ip4, &addr->u.a4.addr, 4); u 442 drivers/s390/net/qeth_l3_main.c memcpy(cmd->data.setdelip6.ip_addr, &addr->u.a6.addr, u 444 drivers/s390/net/qeth_l3_main.c qeth_l3_fill_netmask(netmask, addr->u.a6.pfxlen); u 449 drivers/s390/net/qeth_l3_main.c memcpy(cmd->data.setdelip4.ip_addr, &addr->u.a4.addr, 4); u 450 drivers/s390/net/qeth_l3_main.c memcpy(cmd->data.setdelip4.mask, &addr->u.a4.mask, 4); u 655 drivers/s390/net/qeth_l3_main.c memcpy(&addr.u.a4.addr, ip, 4); u 657 drivers/s390/net/qeth_l3_main.c memcpy(&addr.u.a6.addr, ip, 16); u 668 drivers/s390/net/qeth_l3_main.c addr.u.a6.addr.s6_addr[0] = 0xfe; u 669 drivers/s390/net/qeth_l3_main.c addr.u.a6.addr.s6_addr[1] = 0x80; u 671 drivers/s390/net/qeth_l3_main.c addr.u.a6.addr.s6_addr[8+i] = card->options.hsuid[i]; u 688 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 3, &addr->u.a4.addr, sizeof(int)); u 691 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 3, &addr->u.a6.addr, 8); u 692 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 3, ((char *)&addr->u.a6.addr) + 8, 8); u 707 drivers/s390/net/qeth_l3_main.c qeth_l3_ipaddr_to_string(addr->proto, (u8 *)&addr->u, buf); u 724 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 3, &addr->u.a4.addr, sizeof(int)); u 727 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 3, &addr->u.a6.addr, 8); u 728 drivers/s390/net/qeth_l3_main.c QETH_CARD_HEX(card, 3, ((char *)&addr->u.a6.addr) + 8, 8); u 1133 drivers/s390/net/qeth_l3_main.c tmp->u.a4.addr = be32_to_cpu(im4->multiaddr); u 1145 drivers/s390/net/qeth_l3_main.c ipm->u.a4.addr = be32_to_cpu(im4->multiaddr); u 1213 drivers/s390/net/qeth_l3_main.c memcpy(&tmp->u.a6.addr, &im6->mca_addr.s6_addr, u 1229 drivers/s390/net/qeth_l3_main.c memcpy(&ipm->u.a6.addr, &im6->mca_addr.s6_addr, u 2562 drivers/s390/net/qeth_l3_main.c addr.u.a4.addr = be32_to_cpu(ifa->ifa_address); u 2563 drivers/s390/net/qeth_l3_main.c addr.u.a4.mask = be32_to_cpu(ifa->ifa_mask); u 2603 drivers/s390/net/qeth_l3_main.c ip_work->addr.u.a6.addr = ifa->addr; u 2604 drivers/s390/net/qeth_l3_main.c ip_work->addr.u.a6.pfxlen = ifa->prefix_len; u 712 drivers/s390/net/qeth_l3_sys.c qeth_l3_ipaddr_to_string(proto, (const u8 *)&ipaddr->u, u 116 drivers/s390/scsi/zfcp_ccw.c struct zfcp_unit *unit, *u; u 129 drivers/s390/scsi/zfcp_ccw.c list_for_each_entry_safe(unit, u, &port->unit_list, list) u 137 drivers/s390/scsi/zfcp_ccw.c list_for_each_entry_safe(unit, u, &unit_remove_lh, list) u 87 drivers/s390/scsi/zfcp_dbf.c rec->u.res.req_issued = req->issued; u 88 drivers/s390/scsi/zfcp_dbf.c rec->u.res.prot_status = q_pref->prot_status; u 89 drivers/s390/scsi/zfcp_dbf.c rec->u.res.fsf_status = q_head->fsf_status; u 90 drivers/s390/scsi/zfcp_dbf.c rec->u.res.port_handle = q_head->port_handle; u 91 drivers/s390/scsi/zfcp_dbf.c rec->u.res.lun_handle = q_head->lun_handle; u 93 drivers/s390/scsi/zfcp_dbf.c memcpy(rec->u.res.prot_status_qual, &q_pref->prot_status_qual, u 95 drivers/s390/scsi/zfcp_dbf.c memcpy(rec->u.res.fsf_status_qual, &q_head->fsf_status_qual, u 134 drivers/s390/scsi/zfcp_dbf.c rec->u.uss.status_type = srb->status_type; u 135 drivers/s390/scsi/zfcp_dbf.c rec->u.uss.status_subtype = srb->status_subtype; u 136 drivers/s390/scsi/zfcp_dbf.c rec->u.uss.d_id = ntoh24(srb->d_id); u 137 drivers/s390/scsi/zfcp_dbf.c rec->u.uss.lun = srb->fcp_lun; u 138 drivers/s390/scsi/zfcp_dbf.c memcpy(&rec->u.uss.queue_designator, &srb->queue_designator, u 139 drivers/s390/scsi/zfcp_dbf.c sizeof(rec->u.uss.queue_designator)); u 177 drivers/s390/scsi/zfcp_dbf.c memcpy(&rec->u.be, &sr_buf->payload.bit_error, u 301 drivers/s390/scsi/zfcp_dbf.c rec->u.trig.ready++; u 304 drivers/s390/scsi/zfcp_dbf.c rec->u.trig.running++; u 306 drivers/s390/scsi/zfcp_dbf.c rec->u.trig.want = want; u 307 drivers/s390/scsi/zfcp_dbf.c rec->u.trig.need = need; u 357 drivers/s390/scsi/zfcp_dbf.c rec->u.run.fsf_req_id = erp->fsf_req_id; u 358 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_status = erp->status; u 359 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_step = erp->step; u 360 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_action = erp->type; u 363 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_count = u 366 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_count = atomic_read(&erp->port->erp_counter); u 368 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_count = atomic_read(&erp->adapter->erp_counter); u 410 drivers/s390/scsi/zfcp_dbf.c rec->u.run.fsf_req_id = req_id; u 411 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_status = ~0; u 412 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_step = ~0; u 413 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_action = ~0; u 414 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_count = ~0; u 92 drivers/s390/scsi/zfcp_dbf.h } u; u 200 drivers/s390/scsi/zfcp_dbf.h } u; u 348 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_gid_pn_rsp *gid_pn_rsp = &fc_req->u.gid_pn.rsp; u 378 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_gid_pn_req *gid_pn_req = &fc_req->u.gid_pn.req; u 379 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_gid_pn_rsp *gid_pn_rsp = &fc_req->u.gid_pn.rsp; u 505 drivers/s390/scsi/zfcp_fc.c struct fc_els_adisc *adisc_resp = &fc_req->u.adisc.rsp; u 546 drivers/s390/scsi/zfcp_fc.c sg_init_one(&fc_req->sg_req, &fc_req->u.adisc.req, u 548 drivers/s390/scsi/zfcp_fc.c sg_init_one(&fc_req->sg_rsp, &fc_req->u.adisc.rsp, u 556 drivers/s390/scsi/zfcp_fc.c fc_req->u.adisc.req.adisc_wwpn = cpu_to_be64(fc_host_port_name(shost)); u 557 drivers/s390/scsi/zfcp_fc.c fc_req->u.adisc.req.adisc_wwnn = cpu_to_be64(fc_host_node_name(shost)); u 558 drivers/s390/scsi/zfcp_fc.c fc_req->u.adisc.req.adisc_cmd = ELS_ADISC; u 559 drivers/s390/scsi/zfcp_fc.c hton24(fc_req->u.adisc.req.adisc_port_id, fc_host_port_id(shost)); u 668 drivers/s390/scsi/zfcp_fc.c sg_init_one(&fc_req->sg_req, &fc_req->u.gpn_ft.req, u 678 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_gpn_ft_req *req = &fc_req->u.gpn_ft.req; u 833 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_gspn_req *gspn_req = &fc_req->u.gspn.req; u 834 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_gspn_rsp *gspn_rsp = &fc_req->u.gspn.rsp; u 878 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_rspn_req *rspn_req = &fc_req->u.rspn.req; u 879 drivers/s390/scsi/zfcp_fc.c struct fc_ct_hdr *rspn_rsp = &fc_req->u.rspn.rsp; u 168 drivers/s390/scsi/zfcp_fc.h } u; u 706 drivers/scsi/aacraid/aacraid.h } u; u 1205 drivers/scsi/aacraid/aacraid.h } u; u 319 drivers/scsi/aacraid/commsup.c hw_fib->header.u.ReceiverFibAddress = cpu_to_le32(fibptr->hw_fib_pa); u 444 drivers/scsi/aacraid/commsup.c hw_fib->header.u.ReceiverFibAddress = hw_fib->header.SenderFibAddress; /* Let the adapter now where to find its data */ u 567 drivers/scsi/aacraid/src.c fib->hw_fib_va->header.u.TimeStamp = 0; u 629 drivers/scsi/aacraid/src.c dev->base)->u.tupelo.IndexRegs; u 658 drivers/scsi/aacraid/src.c dev->base)->u.denali.IndexRegs; u 475 drivers/scsi/arcmsr/arcmsr.h } u; u 1728 drivers/scsi/arcmsr/arcmsr_hba.c int8_t *psge = (int8_t *)&arcmsr_cdb->u; u 1026 drivers/scsi/be2iscsi/be_cmds.h u8 u; /* dword 2 */ u 1314 drivers/scsi/be2iscsi/be_main.c u, psol)) u 1521 drivers/scsi/be2iscsi/be_main.c phys_addr.u.a32.address_lo = AMAP_GET_BITS(struct amap_i_t_dpdu_cqe, u 1523 drivers/scsi/be2iscsi/be_main.c phys_addr.u.a32.address_lo -= dpl; u 1524 drivers/scsi/be2iscsi/be_main.c phys_addr.u.a32.address_hi = AMAP_GET_BITS(struct amap_i_t_dpdu_cqe, u 1544 drivers/scsi/be2iscsi/be_main.c if (pasync_handle->pa.u.a64.address != phys_addr.u.a64.address || u 1551 drivers/scsi/be2iscsi/be_main.c pasync_handle->pa.u.a64.address, u 1553 drivers/scsi/be2iscsi/be_main.c phys_addr.u.a64.address, ci); u 1569 drivers/scsi/be2iscsi/be_main.c cid, code, ci, phys_addr.u.a64.address); u 1744 drivers/scsi/be2iscsi/be_main.c pasync_sge[pi].hi = pasync_handle->pa.u.a32.address_lo; u 1745 drivers/scsi/be2iscsi/be_main.c pasync_sge[pi].lo = pasync_handle->pa.u.a32.address_hi; u 2085 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_lo); u 2087 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_hi); u 2127 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_hi); u 2129 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_lo); u 2180 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_lo); u 2182 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_hi); u 2216 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_hi); u 2218 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_lo); u 2271 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_lo); u 2273 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_hi); u 2318 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_hi); u 2320 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a32.address_lo); u 2517 drivers/scsi/be2iscsi/be_main.c mem_arr->bus_address.u. u 2550 drivers/scsi/be2iscsi/be_main.c bus_address.u.a64.address); u 2754 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_header.pa_base.u.a64.address = u 2756 drivers/scsi/be2iscsi/be_main.c bus_address.u.a64.address; u 2860 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_data.pa_base.u.a64.address = u 2862 drivers/scsi/be2iscsi/be_main.c bus_address.u.a64.address; u 2880 drivers/scsi/be2iscsi/be_main.c pasync_header_h->pa.u.a64.address = u 2881 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_header.pa_base.u.a64. u 2901 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_data.pa_base.u. u 2904 drivers/scsi/be2iscsi/be_main.c bus_address.u.a64.address; u 2915 drivers/scsi/be2iscsi/be_main.c pasync_data_h->pa.u.a64.address = u 2916 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_data.pa_base.u.a64. u 2962 drivers/scsi/be2iscsi/be_main.c pmem->bus_address.u.a64.address, u 2974 drivers/scsi/be2iscsi/be_main.c pmem->bus_address.u.a64.address, u 3157 drivers/scsi/be2iscsi/be_main.c bus_address.u.a64.address; u 3210 drivers/scsi/be2iscsi/be_main.c bus_address.u.a64.address; u 3361 drivers/scsi/be2iscsi/be_main.c pa_addr_lo = mem_descr->mem_array[idx].bus_address.u.a64.address; u 3368 drivers/scsi/be2iscsi/be_main.c pwrb_arr[num].bus_address.u.a64.address = pa_addr_lo; u 3378 drivers/scsi/be2iscsi/be_main.c bus_address.u.a64.address; u 3383 drivers/scsi/be2iscsi/be_main.c pwrb_arr[num].bus_address.u.a64.address\ u 3869 drivers/scsi/be2iscsi/be_main.c bus_address.u.a64.address); u 4270 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a64.address); u 4390 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a64.address = paddr; u 4514 drivers/scsi/be2iscsi/be_main.c io_task->bhs_pa.u.a64.address); u 193 drivers/scsi/be2iscsi/be_main.h } u; u 1347 drivers/scsi/be2iscsi/be_mgmt.c mem_descr->mem_array[0].bus_address.u.a32.address_hi); u 1350 drivers/scsi/be2iscsi/be_mgmt.c mem_descr->mem_array[0].bus_address.u.a32.address_lo); u 145 drivers/scsi/be2iscsi/be_mgmt.h bus_address.u.a32.address_lo; \ u 147 drivers/scsi/be2iscsi/be_mgmt.h bus_address.u.a32.address_hi; \ u 1564 drivers/scsi/csiostor/csio_lnode.c &rdev_wr->u.fcoe_rdev); u 279 drivers/scsi/csiostor/csio_mb.c ldst_cmd->u.pcie.select_naccess = FW_LDST_CMD_NACCESS_V(1); u 280 drivers/scsi/csiostor/csio_mb.c ldst_cmd->u.pcie.ctrl_to_fn = u 282 drivers/scsi/csiostor/csio_mb.c ldst_cmd->u.pcie.r = (uint8_t)reg; u 371 drivers/scsi/csiostor/csio_mb.c cmdp->u.l1cfg.rcap = cpu_to_be32(fwcaps32_to_caps16(fc)); u 373 drivers/scsi/csiostor/csio_mb.c cmdp->u.l1cfg32.rcap32 = cpu_to_be32(fc); u 395 drivers/scsi/csiostor/csio_mb.c *pcaps = fwcaps16_to_caps32(ntohs(rsp->u.info.pcap)); u 396 drivers/scsi/csiostor/csio_mb.c *acaps = fwcaps16_to_caps32(ntohs(rsp->u.info.acap)); u 398 drivers/scsi/csiostor/csio_mb.c *pcaps = be32_to_cpu(rsp->u.info32.pcaps32); u 399 drivers/scsi/csiostor/csio_mb.c *acaps = be32_to_cpu(rsp->u.info32.acaps32); u 1042 drivers/scsi/csiostor/csio_mb.c cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | u 1045 drivers/scsi/csiostor/csio_mb.c cmdp->u.ctl.port_valid_ix = FW_FCOE_STATS_CMD_IX(portparams->idx) | u 1138 drivers/scsi/csiostor/csio_mb.c ntohs(dbg->u.prt.dprtstridx)); u 1140 drivers/scsi/csiostor/csio_mb.c ntohl(dbg->u.prt.dprtstrparam0)); u 1142 drivers/scsi/csiostor/csio_mb.c ntohl(dbg->u.prt.dprtstrparam1)); u 1144 drivers/scsi/csiostor/csio_mb.c ntohl(dbg->u.prt.dprtstrparam2)); u 1146 drivers/scsi/csiostor/csio_mb.c ntohl(dbg->u.prt.dprtstrparam3)); u 1150 drivers/scsi/csiostor/csio_mb.c dbg->u.assert.filename_0_7, u 1151 drivers/scsi/csiostor/csio_mb.c ntohl(dbg->u.assert.line), u 1152 drivers/scsi/csiostor/csio_mb.c ntohl(dbg->u.assert.x), u 1153 drivers/scsi/csiostor/csio_mb.c ntohl(dbg->u.assert.y)); u 1429 drivers/scsi/csiostor/csio_mb.c link_status = ntohl(pcmd->u.info.lstatus_to_modtype); u 1437 drivers/scsi/csiostor/csio_mb.c ntohl(pcmd->u.info32.lstatus32_to_cbllen32); u 1439 drivers/scsi/csiostor/csio_mb.c linkattr = ntohl(pcmd->u.info32.linkattr32); u 230 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.ctl_pri = 0; u 231 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.cp_en_class = 0; u 232 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.r4_lo[0] = 0; u 233 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.r4_lo[1] = 0; u 389 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.ctl_pri = 0; u 390 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.cp_en_class = 0; u 391 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.r3_lo[0] = 0; u 392 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.r3_lo[1] = 0; u 442 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.ctl_pri = 0; u 443 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.cp_en_class = 0; u 444 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.r3_lo[0] = 0; u 445 drivers/scsi/csiostor/csio_scsi.c wr->u.fcoe.r3_lo[1] = 0; u 1113 drivers/scsi/csiostor/csio_wr.c return (q->un.iq.genbit == (ftr->u.type_gen >> IQWRF_GEN_SHIFT)); u 1156 drivers/scsi/csiostor/csio_wr.c wr_type = IQWRF_TYPE_GET(ftr->u.type_gen); u 309 drivers/scsi/csiostor/csio_wr.h } u; u 168 drivers/scsi/csiostor/t4fw_api_stor.h } u; u 223 drivers/scsi/csiostor/t4fw_api_stor.h } u; u 249 drivers/scsi/csiostor/t4fw_api_stor.h } u; u 275 drivers/scsi/csiostor/t4fw_api_stor.h } u; u 502 drivers/scsi/csiostor/t4fw_api_stor.h } u; u 1077 drivers/scsi/esas2r/atvda.h } u; u 1192 drivers/scsi/esas2r/esas2r.h sgc->sge.a64.curr = &rq->vrq->scsi.u.sge[0]; u 1194 drivers/scsi/esas2r/esas2r.h (u8)offsetof(struct atto_vda_scsi_req, u.sge); u 947 drivers/scsi/esas2r/esas2r_main.c ar->vrq->scsi.u.abort_handle = u 133 drivers/scsi/fnic/fcpio.h } u; u 139 drivers/scsi/fnic/fcpio.h tag->u.req_id = id; u 145 drivers/scsi/fnic/fcpio.h *id = tag->u.req_id; u 151 drivers/scsi/fnic/fcpio.h tag->u.ex_id.rx_id = rx_id; u 152 drivers/scsi/fnic/fcpio.h tag->u.ex_id.ox_id = ox_id; u 158 drivers/scsi/fnic/fcpio.h *rx_id = tag->u.ex_id.rx_id; u 159 drivers/scsi/fnic/fcpio.h *ox_id = tag->u.ex_id.ox_id; u 494 drivers/scsi/fnic/fcpio.h } u; u 725 drivers/scsi/fnic/fcpio.h } u; u 96 drivers/scsi/fnic/fnic_res.h desc->hdr.tag.u.req_id = req_id; /* id for this request */ u 98 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.lunmap_id = lunmap_id; /* index into lunmap table */ u 99 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.special_req_flags = spl_flags; /* exch req flags */ u 100 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16._resvd0[0] = 0; /* reserved */ u 101 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16._resvd0[1] = 0; /* reserved */ u 102 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16._resvd0[2] = 0; /* reserved */ u 103 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.sgl_cnt = sgl_cnt; /* scatter-gather list count */ u 104 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.sense_len = sense_len; /* sense buffer length */ u 105 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.sgl_addr = sgl_addr; /* scatter-gather list addr */ u 106 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.sense_addr = sns_addr; /* sense buffer address */ u 107 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.crn = crn; /* SCSI Command Reference No.*/ u 108 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.pri_ta = pri_ta; /* SCSI Pri & Task attribute */ u 109 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16._resvd1 = 0; /* reserved: should be 0 */ u 110 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.flags = flags; /* command flags */ u 111 drivers/scsi/fnic/fnic_res.h memset(desc->u.icmnd_16.scsi_cdb, 0, CDB_16); u 112 drivers/scsi/fnic/fnic_res.h memcpy(desc->u.icmnd_16.scsi_cdb, scsi_cdb, cdb_len); /* SCSI CDB */ u 113 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.data_len = data_len; /* length of data expected */ u 114 drivers/scsi/fnic/fnic_res.h memcpy(desc->u.icmnd_16.lun, lun, LUN_ADDRESS); /* LUN address */ u 115 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16._resvd2 = 0; /* reserved */ u 116 drivers/scsi/fnic/fnic_res.h hton24(desc->u.icmnd_16.d_id, d_id); /* FC vNIC only: Target D_ID */ u 117 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.mss = mss; /* FC vNIC only: max burst */ u 118 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.r_a_tov = ratov; /*FC vNIC only: Res. Alloc Timeout */ u 119 drivers/scsi/fnic/fnic_res.h desc->u.icmnd_16.e_d_tov = edtov; /*FC vNIC only: Err Detect Timeout */ u 135 drivers/scsi/fnic/fnic_res.h desc->hdr.tag.u.req_id = req_id; /* id for this request */ u 137 drivers/scsi/fnic/fnic_res.h desc->u.itmf.lunmap_id = lunmap_id; /* index into lunmap table */ u 138 drivers/scsi/fnic/fnic_res.h desc->u.itmf.tm_req = tm_req; /* SCSI Task Management request */ u 139 drivers/scsi/fnic/fnic_res.h desc->u.itmf.t_tag = tm_id; /* tag of fcpio to be aborted */ u 140 drivers/scsi/fnic/fnic_res.h desc->u.itmf._resvd = 0; u 141 drivers/scsi/fnic/fnic_res.h memcpy(desc->u.itmf.lun, lun, LUN_ADDRESS); /* LUN address */ u 142 drivers/scsi/fnic/fnic_res.h desc->u.itmf._resvd1 = 0; u 143 drivers/scsi/fnic/fnic_res.h hton24(desc->u.itmf.d_id, d_id); /* FC vNIC only: Target D_ID */ u 144 drivers/scsi/fnic/fnic_res.h desc->u.itmf.r_a_tov = r_a_tov; /* FC vNIC only: R_A_TOV in msec */ u 145 drivers/scsi/fnic/fnic_res.h desc->u.itmf.e_d_tov = e_d_tov; /* FC vNIC only: E_D_TOV in msec */ u 159 drivers/scsi/fnic/fnic_res.h desc->hdr.tag.u.req_id = req_id; /* id for this request */ u 161 drivers/scsi/fnic/fnic_res.h desc->u.flogi_reg.format = format; u 162 drivers/scsi/fnic/fnic_res.h desc->u.flogi_reg._resvd = 0; u 163 drivers/scsi/fnic/fnic_res.h hton24(desc->u.flogi_reg.s_id, s_id); u 164 drivers/scsi/fnic/fnic_res.h memcpy(desc->u.flogi_reg.gateway_mac, gw_mac, ETH_ALEN); u 179 drivers/scsi/fnic/fnic_res.h desc->hdr.tag.u.req_id = req_id; /* id for this request */ u 181 drivers/scsi/fnic/fnic_res.h desc->u.flogi_fip_reg._resvd0 = 0; u 182 drivers/scsi/fnic/fnic_res.h hton24(desc->u.flogi_fip_reg.s_id, s_id); u 183 drivers/scsi/fnic/fnic_res.h memcpy(desc->u.flogi_fip_reg.fcf_mac, fcf_mac, ETH_ALEN); u 184 drivers/scsi/fnic/fnic_res.h desc->u.flogi_fip_reg._resvd1 = 0; u 185 drivers/scsi/fnic/fnic_res.h desc->u.flogi_fip_reg.r_a_tov = r_a_tov; u 186 drivers/scsi/fnic/fnic_res.h desc->u.flogi_fip_reg.e_d_tov = e_d_tov; u 187 drivers/scsi/fnic/fnic_res.h memcpy(desc->u.flogi_fip_reg.ha_mac, ha_mac, ETH_ALEN); u 188 drivers/scsi/fnic/fnic_res.h desc->u.flogi_fip_reg._resvd2 = 0; u 201 drivers/scsi/fnic/fnic_res.h desc->hdr.tag.u.req_id = req_id; /* id for this request */ u 215 drivers/scsi/fnic/fnic_res.h desc->hdr.tag.u.req_id = req_id; /* id for this request */ u 217 drivers/scsi/fnic/fnic_res.h desc->u.lunmap_req.addr = lunmap_addr; /* address of the buffer */ u 218 drivers/scsi/fnic/fnic_res.h desc->u.lunmap_req.len = lunmap_len; /* len of the buffer */ u 793 drivers/scsi/fnic/fnic_scsi.c u16 request_out = desc->u.ack.request_out; u 840 drivers/scsi/fnic/fnic_scsi.c icmnd_cmpl = &desc->u.icmnd_cmpl; u 917 drivers/scsi/fnic/fnic_scsi.c icmnd_cmpl = &desc->u.icmnd_cmpl; u 538 drivers/scsi/gdth.c writel(DPMEM_MAGIC, &dp6_ptr->u); u 539 drivers/scsi/gdth.c if (readl(&dp6_ptr->u) != DPMEM_MAGIC) { u 562 drivers/scsi/gdth.c writel(DPMEM_MAGIC, &dp6_ptr->u); u 563 drivers/scsi/gdth.c if (readl(&dp6_ptr->u) == DPMEM_MAGIC) { u 575 drivers/scsi/gdth.c memset_io(&dp6_ptr->u, 0, sizeof(dp6_ptr->u)); u 576 drivers/scsi/gdth.c if (readl(&dp6_ptr->u) != 0) { u 585 drivers/scsi/gdth.c writeb(0x00, &dp6_ptr->u.ic.S_Status); u 586 drivers/scsi/gdth.c writeb(0x00, &dp6_ptr->u.ic.Cmd_Index); u 588 drivers/scsi/gdth.c writel(pcistr->dpmem, &dp6_ptr->u.ic.S_Info[0]); u 589 drivers/scsi/gdth.c writeb(0xff, &dp6_ptr->u.ic.S_Cmd_Indx); u 593 drivers/scsi/gdth.c while (readb(&dp6_ptr->u.ic.S_Status) != 0xff) { u 601 drivers/scsi/gdth.c prot_ver = (u8)readl(&dp6_ptr->u.ic.S_Info[0]); u 602 drivers/scsi/gdth.c writeb(0, &dp6_ptr->u.ic.S_Status); u 611 drivers/scsi/gdth.c ha->ic_all_size = sizeof(dp6_ptr->u); u 614 drivers/scsi/gdth.c writel(0x00, &dp6_ptr->u.ic.S_Info[0]); u 615 drivers/scsi/gdth.c writel(0x00, &dp6_ptr->u.ic.S_Info[1]); u 616 drivers/scsi/gdth.c writel(0x00, &dp6_ptr->u.ic.S_Info[2]); u 617 drivers/scsi/gdth.c writel(0x00, &dp6_ptr->u.ic.S_Info[3]); u 618 drivers/scsi/gdth.c writeb(0xfe, &dp6_ptr->u.ic.S_Cmd_Indx); u 622 drivers/scsi/gdth.c while (readb(&dp6_ptr->u.ic.S_Status) != 0xfe) { u 630 drivers/scsi/gdth.c writeb(0, &dp6_ptr->u.ic.S_Status); u 647 drivers/scsi/gdth.c writel(DPMEM_MAGIC, &dp6c_ptr->u); u 648 drivers/scsi/gdth.c if (readl(&dp6c_ptr->u) != DPMEM_MAGIC) { u 671 drivers/scsi/gdth.c writel(DPMEM_MAGIC, &dp6c_ptr->u); u 672 drivers/scsi/gdth.c if (readl(&dp6c_ptr->u) == DPMEM_MAGIC) { u 684 drivers/scsi/gdth.c memset_io(&dp6c_ptr->u, 0, sizeof(dp6c_ptr->u)); u 685 drivers/scsi/gdth.c if (readl(&dp6c_ptr->u) != 0) { u 695 drivers/scsi/gdth.c writeb(0x00, &dp6c_ptr->u.ic.S_Status); u 696 drivers/scsi/gdth.c writeb(0x00, &dp6c_ptr->u.ic.Cmd_Index); u 698 drivers/scsi/gdth.c writel(pcistr->dpmem, &dp6c_ptr->u.ic.S_Info[0]); u 699 drivers/scsi/gdth.c writeb(0xff, &dp6c_ptr->u.ic.S_Cmd_Indx); u 705 drivers/scsi/gdth.c while (readb(&dp6c_ptr->u.ic.S_Status) != 0xff) { u 713 drivers/scsi/gdth.c prot_ver = (u8)readl(&dp6c_ptr->u.ic.S_Info[0]); u 714 drivers/scsi/gdth.c writeb(0, &dp6c_ptr->u.ic.Status); u 722 drivers/scsi/gdth.c ha->ic_all_size = sizeof(dp6c_ptr->u); u 725 drivers/scsi/gdth.c writel(0x00, &dp6c_ptr->u.ic.S_Info[0]); u 726 drivers/scsi/gdth.c writel(0x00, &dp6c_ptr->u.ic.S_Info[1]); u 727 drivers/scsi/gdth.c writel(0x00, &dp6c_ptr->u.ic.S_Info[2]); u 728 drivers/scsi/gdth.c writel(0x00, &dp6c_ptr->u.ic.S_Info[3]); u 729 drivers/scsi/gdth.c writeb(0xfe, &dp6c_ptr->u.ic.S_Cmd_Indx); u 735 drivers/scsi/gdth.c while (readb(&dp6c_ptr->u.ic.S_Status) != 0xfe) { u 743 drivers/scsi/gdth.c writeb(0, &dp6c_ptr->u.ic.S_Status); u 769 drivers/scsi/gdth.c writel(DPMEM_MAGIC, &dp6m_ptr->u); u 770 drivers/scsi/gdth.c if (readl(&dp6m_ptr->u) != DPMEM_MAGIC) { u 793 drivers/scsi/gdth.c writel(DPMEM_MAGIC, &dp6m_ptr->u); u 794 drivers/scsi/gdth.c if (readl(&dp6m_ptr->u) == DPMEM_MAGIC) { u 806 drivers/scsi/gdth.c memset_io(&dp6m_ptr->u, 0, sizeof(dp6m_ptr->u)); u 812 drivers/scsi/gdth.c writeb(0x00, &dp6m_ptr->u.ic.S_Status); u 813 drivers/scsi/gdth.c writeb(0x00, &dp6m_ptr->u.ic.Cmd_Index); u 815 drivers/scsi/gdth.c writel(pcistr->dpmem, &dp6m_ptr->u.ic.S_Info[0]); u 816 drivers/scsi/gdth.c writeb(0xff, &dp6m_ptr->u.ic.S_Cmd_Indx); u 820 drivers/scsi/gdth.c while (readb(&dp6m_ptr->u.ic.S_Status) != 0xff) { u 828 drivers/scsi/gdth.c prot_ver = (u8)readl(&dp6m_ptr->u.ic.S_Info[0]); u 829 drivers/scsi/gdth.c writeb(0, &dp6m_ptr->u.ic.S_Status); u 837 drivers/scsi/gdth.c ha->ic_all_size = sizeof(dp6m_ptr->u); u 840 drivers/scsi/gdth.c writel(0x00, &dp6m_ptr->u.ic.S_Info[0]); u 841 drivers/scsi/gdth.c writel(0x00, &dp6m_ptr->u.ic.S_Info[1]); u 842 drivers/scsi/gdth.c writel(0x00, &dp6m_ptr->u.ic.S_Info[2]); u 843 drivers/scsi/gdth.c writel(0x00, &dp6m_ptr->u.ic.S_Info[3]); u 844 drivers/scsi/gdth.c writeb(0xfe, &dp6m_ptr->u.ic.S_Cmd_Indx); u 848 drivers/scsi/gdth.c while (readb(&dp6m_ptr->u.ic.S_Status) != 0xfe) { u 856 drivers/scsi/gdth.c writeb(0, &dp6m_ptr->u.ic.S_Status); u 859 drivers/scsi/gdth.c writeb(0xfd, &dp6m_ptr->u.ic.S_Cmd_Indx); u 863 drivers/scsi/gdth.c while (readb(&dp6m_ptr->u.ic.S_Status) != 0xfd) { u 871 drivers/scsi/gdth.c prot_ver = (u8)(readl(&dp6m_ptr->u.ic.S_Info[0]) >> 16); u 872 drivers/scsi/gdth.c writeb(0, &dp6m_ptr->u.ic.S_Status); u 896 drivers/scsi/gdth.c writeb(0, &dp6_ptr->u.ic.Cmd_Index); u 919 drivers/scsi/gdth.c readb(&((gdt6_dpram_str __iomem *)ha->brd)->u.ic.Cmd_Index); u 936 drivers/scsi/gdth.c gdtsema0 = (int)readb(&((gdt6_dpram_str __iomem *)ha->brd)->u.ic.Sema0); u 970 drivers/scsi/gdth.c writeb(1, &((gdt6_dpram_str __iomem *)ha->brd)->u.ic.Sema0); u 1006 drivers/scsi/gdth.c &dp6_ptr->u.ic.comm_queue[cmd_no].offset); u 1008 drivers/scsi/gdth.c &dp6_ptr->u.ic.comm_queue[cmd_no].serv_id); u 1009 drivers/scsi/gdth.c memcpy_toio(&dp6_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); u 1013 drivers/scsi/gdth.c &dp6c_ptr->u.ic.comm_queue[cmd_no].offset); u 1015 drivers/scsi/gdth.c &dp6c_ptr->u.ic.comm_queue[cmd_no].serv_id); u 1016 drivers/scsi/gdth.c memcpy_toio(&dp6c_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); u 1020 drivers/scsi/gdth.c &dp6m_ptr->u.ic.comm_queue[cmd_no].offset); u 1022 drivers/scsi/gdth.c &dp6m_ptr->u.ic.comm_queue[cmd_no].serv_id); u 1023 drivers/scsi/gdth.c memcpy_toio(&dp6m_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); u 1108 drivers/scsi/gdth.c cmd_ptr->u.ioctl.subfunc = p1; u 1109 drivers/scsi/gdth.c cmd_ptr->u.ioctl.channel = (u32)p2; u 1110 drivers/scsi/gdth.c cmd_ptr->u.ioctl.param_size = (u16)p3; u 1111 drivers/scsi/gdth.c cmd_ptr->u.ioctl.p_param = ha->scratch_phys; u 1114 drivers/scsi/gdth.c cmd_ptr->u.cache64.DeviceNo = (u16)p1; u 1115 drivers/scsi/gdth.c cmd_ptr->u.cache64.BlockNo = p2; u 1117 drivers/scsi/gdth.c cmd_ptr->u.cache.DeviceNo = (u16)p1; u 1118 drivers/scsi/gdth.c cmd_ptr->u.cache.BlockNo = (u32)p2; u 1123 drivers/scsi/gdth.c cmd_ptr->u.raw64.direction = p1; u 1124 drivers/scsi/gdth.c cmd_ptr->u.raw64.bus = (u8)p2; u 1125 drivers/scsi/gdth.c cmd_ptr->u.raw64.target = (u8)p3; u 1126 drivers/scsi/gdth.c cmd_ptr->u.raw64.lun = (u8)(p3 >> 8); u 1128 drivers/scsi/gdth.c cmd_ptr->u.raw.direction = p1; u 1129 drivers/scsi/gdth.c cmd_ptr->u.raw.bus = (u8)p2; u 1130 drivers/scsi/gdth.c cmd_ptr->u.raw.target = (u8)p3; u 1131 drivers/scsi/gdth.c cmd_ptr->u.raw.lun = (u8)(p3 >> 8); u 1135 drivers/scsi/gdth.c *(u32 *)&cmd_ptr->u.screen.su.data[0] = p1; u 1136 drivers/scsi/gdth.c *(u32 *)&cmd_ptr->u.screen.su.data[4] = (u32)p2; u 1137 drivers/scsi/gdth.c *(u32 *)&cmd_ptr->u.screen.su.data[8] = (u32)p3; u 2033 drivers/scsi/gdth.c cmdp->u.cache64.DeviceNo = hdrive; u 2034 drivers/scsi/gdth.c cmdp->u.cache64.BlockNo = 1; u 2035 drivers/scsi/gdth.c cmdp->u.cache64.sg_canz = 0; u 2037 drivers/scsi/gdth.c cmdp->u.cache.DeviceNo = hdrive; u 2038 drivers/scsi/gdth.c cmdp->u.cache.BlockNo = 1; u 2039 drivers/scsi/gdth.c cmdp->u.cache.sg_canz = 0; u 2059 drivers/scsi/gdth.c cmdp->u.cache64.BlockNo = blockno; u 2060 drivers/scsi/gdth.c cmdp->u.cache64.BlockCnt = blockcnt; u 2062 drivers/scsi/gdth.c cmdp->u.cache.BlockNo = (u32)blockno; u 2063 drivers/scsi/gdth.c cmdp->u.cache.BlockCnt = blockcnt; u 2074 drivers/scsi/gdth.c cmdp->u.cache64.DestAddr= (u64)-1; u 2075 drivers/scsi/gdth.c cmdp->u.cache64.sg_canz = sgcnt; u 2077 drivers/scsi/gdth.c cmdp->u.cache64.sg_lst[i].sg_ptr = sg_dma_address(sl); u 2078 drivers/scsi/gdth.c cmdp->u.cache64.sg_lst[i].sg_len = sg_dma_len(sl); u 2083 drivers/scsi/gdth.c cmdp->u.cache.DestAddr= 0xffffffff; u 2084 drivers/scsi/gdth.c cmdp->u.cache.sg_canz = sgcnt; u 2086 drivers/scsi/gdth.c cmdp->u.cache.sg_lst[i].sg_ptr = sg_dma_address(sl); u 2087 drivers/scsi/gdth.c cmdp->u.cache.sg_lst[i].sg_len = sg_dma_len(sl); u 2103 drivers/scsi/gdth.c cmdp->u.cache64.DestAddr,cmdp->u.cache64.sg_canz, u 2104 drivers/scsi/gdth.c cmdp->u.cache64.sg_lst[0].sg_ptr, u 2105 drivers/scsi/gdth.c cmdp->u.cache64.sg_lst[0].sg_len)); u 2107 drivers/scsi/gdth.c cmdp->OpCode,cmdp->u.cache64.BlockNo,cmdp->u.cache64.BlockCnt)); u 2108 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.cache64.sg_lst) + u 2109 drivers/scsi/gdth.c (u16)cmdp->u.cache64.sg_canz * sizeof(gdth_sg64_str); u 2112 drivers/scsi/gdth.c cmdp->u.cache.DestAddr,cmdp->u.cache.sg_canz, u 2113 drivers/scsi/gdth.c cmdp->u.cache.sg_lst[0].sg_ptr, u 2114 drivers/scsi/gdth.c cmdp->u.cache.sg_lst[0].sg_len)); u 2116 drivers/scsi/gdth.c cmdp->OpCode,cmdp->u.cache.BlockNo,cmdp->u.cache.BlockCnt)); u 2117 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.cache.sg_lst) + u 2118 drivers/scsi/gdth.c (u16)cmdp->u.cache.sg_canz * sizeof(gdth_sg_str); u 2171 drivers/scsi/gdth.c cmdp->u.raw64.direction = (cmndinfo->phase >> 8); u 2173 drivers/scsi/gdth.c cmdp->OpCode, cmdp->u.raw64.direction)); u 2175 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.raw64.sg_lst); u 2177 drivers/scsi/gdth.c cmdp->u.raw.direction = (cmndinfo->phase >> 8); u 2179 drivers/scsi/gdth.c cmdp->OpCode, cmdp->u.raw.direction)); u 2181 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.raw.sg_lst); u 2192 drivers/scsi/gdth.c cmdp->u.raw64.reserved = 0; u 2193 drivers/scsi/gdth.c cmdp->u.raw64.mdisc_time = 0; u 2194 drivers/scsi/gdth.c cmdp->u.raw64.mcon_time = 0; u 2195 drivers/scsi/gdth.c cmdp->u.raw64.clen = scp->cmd_len; u 2196 drivers/scsi/gdth.c cmdp->u.raw64.target = t; u 2197 drivers/scsi/gdth.c cmdp->u.raw64.lun = l; u 2198 drivers/scsi/gdth.c cmdp->u.raw64.bus = b; u 2199 drivers/scsi/gdth.c cmdp->u.raw64.priority = 0; u 2200 drivers/scsi/gdth.c cmdp->u.raw64.sdlen = scsi_bufflen(scp); u 2201 drivers/scsi/gdth.c cmdp->u.raw64.sense_len = 16; u 2202 drivers/scsi/gdth.c cmdp->u.raw64.sense_data = sense_paddr; u 2203 drivers/scsi/gdth.c cmdp->u.raw64.direction = u 2205 drivers/scsi/gdth.c memcpy(cmdp->u.raw64.cmd,scp->cmnd,16); u 2206 drivers/scsi/gdth.c cmdp->u.raw64.sg_ranz = 0; u 2208 drivers/scsi/gdth.c cmdp->u.raw.reserved = 0; u 2209 drivers/scsi/gdth.c cmdp->u.raw.mdisc_time = 0; u 2210 drivers/scsi/gdth.c cmdp->u.raw.mcon_time = 0; u 2211 drivers/scsi/gdth.c cmdp->u.raw.clen = scp->cmd_len; u 2212 drivers/scsi/gdth.c cmdp->u.raw.target = t; u 2213 drivers/scsi/gdth.c cmdp->u.raw.lun = l; u 2214 drivers/scsi/gdth.c cmdp->u.raw.bus = b; u 2215 drivers/scsi/gdth.c cmdp->u.raw.priority = 0; u 2216 drivers/scsi/gdth.c cmdp->u.raw.link_p = 0; u 2217 drivers/scsi/gdth.c cmdp->u.raw.sdlen = scsi_bufflen(scp); u 2218 drivers/scsi/gdth.c cmdp->u.raw.sense_len = 16; u 2219 drivers/scsi/gdth.c cmdp->u.raw.sense_data = sense_paddr; u 2220 drivers/scsi/gdth.c cmdp->u.raw.direction = u 2222 drivers/scsi/gdth.c memcpy(cmdp->u.raw.cmd,scp->cmnd,12); u 2223 drivers/scsi/gdth.c cmdp->u.raw.sg_ranz = 0; u 2233 drivers/scsi/gdth.c cmdp->u.raw64.sdata = (u64)-1; u 2234 drivers/scsi/gdth.c cmdp->u.raw64.sg_ranz = sgcnt; u 2236 drivers/scsi/gdth.c cmdp->u.raw64.sg_lst[i].sg_ptr = sg_dma_address(sl); u 2237 drivers/scsi/gdth.c cmdp->u.raw64.sg_lst[i].sg_len = sg_dma_len(sl); u 2242 drivers/scsi/gdth.c cmdp->u.raw.sdata = 0xffffffff; u 2243 drivers/scsi/gdth.c cmdp->u.raw.sg_ranz = sgcnt; u 2245 drivers/scsi/gdth.c cmdp->u.raw.sg_lst[i].sg_ptr = sg_dma_address(sl); u 2246 drivers/scsi/gdth.c cmdp->u.raw.sg_lst[i].sg_len = sg_dma_len(sl); u 2260 drivers/scsi/gdth.c cmdp->u.raw64.sdata,cmdp->u.raw64.sg_ranz, u 2261 drivers/scsi/gdth.c cmdp->u.raw64.sg_lst[0].sg_ptr, u 2262 drivers/scsi/gdth.c cmdp->u.raw64.sg_lst[0].sg_len)); u 2264 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.raw64.sg_lst) + u 2265 drivers/scsi/gdth.c (u16)cmdp->u.raw64.sg_ranz * sizeof(gdth_sg64_str); u 2268 drivers/scsi/gdth.c cmdp->u.raw.sdata,cmdp->u.raw.sg_ranz, u 2269 drivers/scsi/gdth.c cmdp->u.raw.sg_lst[0].sg_ptr, u 2270 drivers/scsi/gdth.c cmdp->u.raw.sg_lst[0].sg_len)); u 2272 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.raw.sg_lst) + u 2273 drivers/scsi/gdth.c (u16)cmdp->u.raw.sg_ranz * sizeof(gdth_sg_str); u 2320 drivers/scsi/gdth.c GDTOFFSOF(gdth_cmd_str,u.ioctl.p_param) + sizeof(u64); u 2325 drivers/scsi/gdth.c GDTOFFSOF(gdth_cmd_str,u.cache64.sg_lst) + sizeof(gdth_sg64_str); u 2328 drivers/scsi/gdth.c GDTOFFSOF(gdth_cmd_str,u.cache.sg_lst) + sizeof(gdth_sg_str); u 2333 drivers/scsi/gdth.c GDTOFFSOF(gdth_cmd_str,u.raw64.sg_lst) + sizeof(gdth_sg64_str); u 2336 drivers/scsi/gdth.c GDTOFFSOF(gdth_cmd_str,u.raw.sg_lst) + sizeof(gdth_sg_str); u 2516 drivers/scsi/gdth.c ha->status = readw(&dp6_ptr->u.ic.Status); u 2520 drivers/scsi/gdth.c ha->info = readl(&dp6_ptr->u.ic.Info[0]); u 2521 drivers/scsi/gdth.c ha->service = readw(&dp6_ptr->u.ic.Service); u 2522 drivers/scsi/gdth.c ha->info2 = readl(&dp6_ptr->u.ic.Info[1]); u 2525 drivers/scsi/gdth.c writeb(0, &dp6_ptr->u.ic.Cmd_Index);/* reset command index */ u 2675 drivers/scsi/gdth.c cmdp->u.screen.reserved = 0; u 2676 drivers/scsi/gdth.c cmdp->u.screen.su.msg.msg_handle= msg->msg_handle; u 2677 drivers/scsi/gdth.c cmdp->u.screen.su.msg.msg_addr = ha->msg_phys; u 2679 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.screen.su.msg.msg_addr) u 2709 drivers/scsi/gdth.c cmdp->u.screen.reserved = 0; u 2710 drivers/scsi/gdth.c cmdp->u.screen.su.msg.msg_handle= msg->msg_handle; u 2711 drivers/scsi/gdth.c cmdp->u.screen.su.msg.msg_addr = ha->msg_phys; u 2713 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.screen.su.msg.msg_addr) u 3026 drivers/scsi/gdth.c cmdp->u.screen.reserved = 0; u 3027 drivers/scsi/gdth.c cmdp->u.screen.su.msg.msg_handle= MSG_INV_HANDLE; u 3028 drivers/scsi/gdth.c cmdp->u.screen.su.msg.msg_addr = ha->msg_phys; u 3030 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.screen.su.msg.msg_addr) u 3536 drivers/scsi/gdth.c cmd.u.cache64.DeviceNo = res.number; u 3538 drivers/scsi/gdth.c cmd.u.cache.DeviceNo = res.number; u 3555 drivers/scsi/gdth.c gen->command.u.cache64.BlockCnt = gen->command.u.cache.BlockCnt; u 3556 drivers/scsi/gdth.c gen->command.u.cache64.BlockNo = gen->command.u.cache.BlockNo; u 3557 drivers/scsi/gdth.c gen->command.u.cache64.DeviceNo = gen->command.u.cache.DeviceNo; u 3560 drivers/scsi/gdth.c gen->command.u.cache64.DestAddr = (u64)-1; u 3561 drivers/scsi/gdth.c gen->command.u.cache64.sg_canz = 1; u 3562 drivers/scsi/gdth.c gen->command.u.cache64.sg_lst[0].sg_ptr = paddr; u 3563 drivers/scsi/gdth.c gen->command.u.cache64.sg_lst[0].sg_len = gen->data_len; u 3564 drivers/scsi/gdth.c gen->command.u.cache64.sg_lst[1].sg_len = 0; u 3566 drivers/scsi/gdth.c gen->command.u.cache64.DestAddr = paddr; u 3567 drivers/scsi/gdth.c gen->command.u.cache64.sg_canz = 0; u 3571 drivers/scsi/gdth.c gen->command.u.cache.DestAddr = 0xffffffff; u 3572 drivers/scsi/gdth.c gen->command.u.cache.sg_canz = 1; u 3573 drivers/scsi/gdth.c gen->command.u.cache.sg_lst[0].sg_ptr = (u32)paddr; u 3574 drivers/scsi/gdth.c gen->command.u.cache.sg_lst[0].sg_len = gen->data_len; u 3575 drivers/scsi/gdth.c gen->command.u.cache.sg_lst[1].sg_len = 0; u 3577 drivers/scsi/gdth.c gen->command.u.cache.DestAddr = paddr; u 3578 drivers/scsi/gdth.c gen->command.u.cache.sg_canz = 0; u 3590 drivers/scsi/gdth.c gen->command.u.raw64.sense_len = gen->command.u.raw.sense_len; u 3591 drivers/scsi/gdth.c gen->command.u.raw64.bus = gen->command.u.raw.bus; u 3592 drivers/scsi/gdth.c gen->command.u.raw64.lun = gen->command.u.raw.lun; u 3593 drivers/scsi/gdth.c gen->command.u.raw64.target = gen->command.u.raw.target; u 3594 drivers/scsi/gdth.c memcpy(cmd, gen->command.u.raw.cmd, 16); u 3595 drivers/scsi/gdth.c memcpy(gen->command.u.raw64.cmd, cmd, 16); u 3596 drivers/scsi/gdth.c gen->command.u.raw64.clen = gen->command.u.raw.clen; u 3597 drivers/scsi/gdth.c gen->command.u.raw64.sdlen = gen->command.u.raw.sdlen; u 3598 drivers/scsi/gdth.c gen->command.u.raw64.direction = gen->command.u.raw.direction; u 3602 drivers/scsi/gdth.c gen->command.u.raw64.sdata = (u64)-1; u 3603 drivers/scsi/gdth.c gen->command.u.raw64.sg_ranz = 1; u 3604 drivers/scsi/gdth.c gen->command.u.raw64.sg_lst[0].sg_ptr = paddr; u 3605 drivers/scsi/gdth.c gen->command.u.raw64.sg_lst[0].sg_len = gen->data_len; u 3606 drivers/scsi/gdth.c gen->command.u.raw64.sg_lst[1].sg_len = 0; u 3608 drivers/scsi/gdth.c gen->command.u.raw64.sdata = paddr; u 3609 drivers/scsi/gdth.c gen->command.u.raw64.sg_ranz = 0; u 3612 drivers/scsi/gdth.c gen->command.u.raw64.sense_data = paddr + gen->data_len; u 3615 drivers/scsi/gdth.c gen->command.u.raw.sdata = 0xffffffff; u 3616 drivers/scsi/gdth.c gen->command.u.raw.sg_ranz = 1; u 3617 drivers/scsi/gdth.c gen->command.u.raw.sg_lst[0].sg_ptr = (u32)paddr; u 3618 drivers/scsi/gdth.c gen->command.u.raw.sg_lst[0].sg_len = gen->data_len; u 3619 drivers/scsi/gdth.c gen->command.u.raw.sg_lst[1].sg_len = 0; u 3621 drivers/scsi/gdth.c gen->command.u.raw.sdata = paddr; u 3622 drivers/scsi/gdth.c gen->command.u.raw.sg_ranz = 0; u 3625 drivers/scsi/gdth.c gen->command.u.raw.sense_data = (u32)paddr + gen->data_len; u 3663 drivers/scsi/gdth.c gen.command.u.ioctl.p_param = paddr; u 3728 drivers/scsi/gdth.c cmd->u.cache64.DeviceNo = i; u 3730 drivers/scsi/gdth.c cmd->u.cache.DeviceNo = i; u 3775 drivers/scsi/gdth.c cmd->u.cache64.DeviceNo = LINUX_OS; u 3778 drivers/scsi/gdth.c cmd->u.cache.DeviceNo = LINUX_OS; u 3793 drivers/scsi/gdth.c cmd->u.cache64.DeviceNo = i; u 3795 drivers/scsi/gdth.c cmd->u.cache.DeviceNo = i; u 3827 drivers/scsi/gdth.c cmd->u.cache64.DeviceNo = i; u 3829 drivers/scsi/gdth.c cmd->u.cache.DeviceNo = i; u 3840 drivers/scsi/gdth.c cmd->u.cache64.DeviceNo = i; u 3842 drivers/scsi/gdth.c cmd->u.cache.DeviceNo = i; u 3855 drivers/scsi/gdth.c cmd->u.cache64.DeviceNo = i; u 3857 drivers/scsi/gdth.c cmd->u.cache.DeviceNo = i; u 4048 drivers/scsi/gdth.c gdtcmd.u.cache64.DeviceNo = i; u 4049 drivers/scsi/gdth.c gdtcmd.u.cache64.BlockNo = 1; u 4050 drivers/scsi/gdth.c gdtcmd.u.cache64.sg_canz = 0; u 4052 drivers/scsi/gdth.c gdtcmd.u.cache.DeviceNo = i; u 4053 drivers/scsi/gdth.c gdtcmd.u.cache.BlockNo = 1; u 4054 drivers/scsi/gdth.c gdtcmd.u.cache.sg_canz = 0; u 705 drivers/scsi/gdth.h } u; u 721 drivers/scsi/gdth.h } u; u 761 drivers/scsi/gdth.h } u; u 792 drivers/scsi/gdth.h } u; u 119 drivers/scsi/gdth_ioctl.h } u; u 67 drivers/scsi/gdth_proc.c gdtcmd.u.cache64.DeviceNo = i; u 68 drivers/scsi/gdth_proc.c gdtcmd.u.cache64.BlockNo = 1; u 70 drivers/scsi/gdth_proc.c gdtcmd.u.cache.DeviceNo = i; u 71 drivers/scsi/gdth_proc.c gdtcmd.u.cache.BlockNo = 1; u 131 drivers/scsi/gdth_proc.c gdtcmd.u.ioctl.p_param = ha->scratch_phys; u 132 drivers/scsi/gdth_proc.c gdtcmd.u.ioctl.param_size = sizeof(gdth_cpar_str); u 133 drivers/scsi/gdth_proc.c gdtcmd.u.ioctl.subfunc = CACHE_CONFIG; u 134 drivers/scsi/gdth_proc.c gdtcmd.u.ioctl.channel = INVALID_CHANNEL; u 248 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr + GDTH_SCRATCH/4; u 249 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = 3*GDTH_SCRATCH/4; u 250 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = DSK_STATISTICS | L_CTRL_PATTERN; u 251 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = ha->raw[i].address | INVALID_CHANNEL; u 271 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; u 272 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_diskinfo_str); u 273 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = SCSI_DR_INFO | L_CTRL_PATTERN; u 274 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = u 317 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; u 318 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_defcnt_str); u 319 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = SCSI_DEF_CNT | L_CTRL_PATTERN; u 320 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = u 352 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; u 353 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_cdrinfo_str); u 354 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = CACHE_DRV_INFO; u 355 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = drv_no; u 429 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; u 430 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_arrayinf_str); u 431 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = ARRAY_INFO | LA_CTRL_PATTERN; u 432 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = i; u 486 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; u 487 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_hget_str); u 488 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = HOST_GET | LA_CTRL_PATTERN; u 489 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = i; u 531 drivers/scsi/hisi_sas/hisi_sas.h } u; u 52 drivers/scsi/hptiop.c req = readl(&hba->u.itl.iop->inbound_queue); u 59 drivers/scsi/hptiop.c writel(req, &hba->u.itl.iop->outbound_queue); u 60 drivers/scsi/hptiop.c readl(&hba->u.itl.iop->outbound_intstatus); u 90 drivers/scsi/hptiop.c while ((req = readl(&hba->u.itl.iop->outbound_queue)) != u 99 drivers/scsi/hptiop.c ((char __iomem *)hba->u.itl.iop + req); u 115 drivers/scsi/hptiop.c struct hpt_iopmu_itl __iomem *iop = hba->u.itl.iop; u 116 drivers/scsi/hptiop.c void __iomem *plx = hba->u.itl.plx; u 163 drivers/scsi/hptiop.c u32 inbound_head = readl(&hba->u.mv.mu->inbound_head); u 169 drivers/scsi/hptiop.c memcpy_toio(&hba->u.mv.mu->inbound_q[inbound_head], &p, 8); u 170 drivers/scsi/hptiop.c writel(head, &hba->u.mv.mu->inbound_head); u 172 drivers/scsi/hptiop.c &hba->u.mv.regs->inbound_doorbell); u 208 drivers/scsi/hptiop.c status = readl(&hba->u.mv.regs->outbound_doorbell); u 209 drivers/scsi/hptiop.c writel(~status, &hba->u.mv.regs->outbound_doorbell); u 213 drivers/scsi/hptiop.c msg = readl(&hba->u.mv.mu->outbound_msg); u 222 drivers/scsi/hptiop.c while ((tag = mv_outbound_read(hba->u.mv.mu))) u 259 drivers/scsi/hptiop.c writel(0, &(hba->u.mvfrey.mu->pcie_f0_int_enable)); u 261 drivers/scsi/hptiop.c status = readl(&(hba->u.mvfrey.mu->f0_doorbell)); u 263 drivers/scsi/hptiop.c writel(status, &(hba->u.mvfrey.mu->f0_doorbell)); u 265 drivers/scsi/hptiop.c u32 msg = readl(&(hba->u.mvfrey.mu->cpu_to_f0_msg_a)); u 272 drivers/scsi/hptiop.c status = readl(&(hba->u.mvfrey.mu->isr_cause)); u 274 drivers/scsi/hptiop.c writel(status, &(hba->u.mvfrey.mu->isr_cause)); u 276 drivers/scsi/hptiop.c cptr = *hba->u.mvfrey.outlist_cptr & 0xff; u 277 drivers/scsi/hptiop.c cur_rptr = hba->u.mvfrey.outlist_rptr; u 280 drivers/scsi/hptiop.c if (cur_rptr == hba->u.mvfrey.list_count) u 283 drivers/scsi/hptiop.c _tag = hba->u.mvfrey.outlist[cur_rptr].val; u 288 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_rptr = cur_rptr; u 289 drivers/scsi/hptiop.c } while (cptr != (*hba->u.mvfrey.outlist_cptr & 0xff)); u 293 drivers/scsi/hptiop.c writel(0x1010, &(hba->u.mvfrey.mu->pcie_f0_int_enable)); u 306 drivers/scsi/hptiop.c writel((unsigned long)req - (unsigned long)hba->u.itl.iop, u 307 drivers/scsi/hptiop.c &hba->u.itl.iop->inbound_queue); u 308 drivers/scsi/hptiop.c readl(&hba->u.itl.iop->outbound_intstatus); u 323 drivers/scsi/hptiop.c struct hpt_iop_request_header *reqhdr = hba->u.mv.internal_req; u 328 drivers/scsi/hptiop.c mv_inbound_write(hba->u.mv.internal_req_phy | u 344 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_virt; u 349 drivers/scsi/hptiop.c hba->ops->post_req(hba, &(hba->u.mvfrey.internal_req)); u 362 drivers/scsi/hptiop.c writel(msg, &hba->u.itl.iop->inbound_msgaddr0); u 363 drivers/scsi/hptiop.c readl(&hba->u.itl.iop->outbound_intstatus); u 368 drivers/scsi/hptiop.c writel(msg, &hba->u.mv.mu->inbound_msg); u 369 drivers/scsi/hptiop.c writel(MVIOP_MU_INBOUND_INT_MSG, &hba->u.mv.regs->inbound_doorbell); u 370 drivers/scsi/hptiop.c readl(&hba->u.mv.regs->inbound_doorbell); u 375 drivers/scsi/hptiop.c writel(msg, &(hba->u.mvfrey.mu->f0_to_cpu_msg_a)); u 376 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->f0_to_cpu_msg_a)); u 406 drivers/scsi/hptiop.c req32 = readl(&hba->u.itl.iop->inbound_queue); u 411 drivers/scsi/hptiop.c ((unsigned long)hba->u.itl.iop + req32); u 424 drivers/scsi/hptiop.c writel(req32, &hba->u.itl.iop->outbound_queue); u 431 drivers/scsi/hptiop.c struct hpt_iop_request_get_config *req = hba->u.mv.internal_req; u 453 drivers/scsi/hptiop.c struct hpt_iop_request_get_config *info = hba->u.mvfrey.config; u 478 drivers/scsi/hptiop.c req32 = readl(&hba->u.itl.iop->inbound_queue); u 483 drivers/scsi/hptiop.c ((unsigned long)hba->u.itl.iop + req32); u 500 drivers/scsi/hptiop.c writel(req32, &hba->u.itl.iop->outbound_queue); u 507 drivers/scsi/hptiop.c struct hpt_iop_request_set_config *req = hba->u.mv.internal_req; u 530 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_virt; u 552 drivers/scsi/hptiop.c &hba->u.itl.iop->outbound_intmask); u 558 drivers/scsi/hptiop.c &hba->u.mv.regs->outbound_intmask); u 563 drivers/scsi/hptiop.c writel(CPU_TO_F0_DRBL_MSG_BIT, &(hba->u.mvfrey.mu->f0_doorbell_enable)); u 564 drivers/scsi/hptiop.c writel(0x1, &(hba->u.mvfrey.mu->isr_enable)); u 565 drivers/scsi/hptiop.c writel(0x1010, &(hba->u.mvfrey.mu->pcie_f0_int_enable)); u 614 drivers/scsi/hptiop.c hba->u.itl.iop = hptiop_map_pci_bar(hba, 0); u 615 drivers/scsi/hptiop.c if (hba->u.itl.iop == NULL) u 618 drivers/scsi/hptiop.c hba->u.itl.plx = hba->u.itl.iop; u 619 drivers/scsi/hptiop.c hba->u.itl.iop = hptiop_map_pci_bar(hba, 2); u 620 drivers/scsi/hptiop.c if (hba->u.itl.iop == NULL) { u 621 drivers/scsi/hptiop.c iounmap(hba->u.itl.plx); u 630 drivers/scsi/hptiop.c if (hba->u.itl.plx) u 631 drivers/scsi/hptiop.c iounmap(hba->u.itl.plx); u 632 drivers/scsi/hptiop.c iounmap(hba->u.itl.iop); u 637 drivers/scsi/hptiop.c hba->u.mv.regs = hptiop_map_pci_bar(hba, 0); u 638 drivers/scsi/hptiop.c if (hba->u.mv.regs == NULL) u 641 drivers/scsi/hptiop.c hba->u.mv.mu = hptiop_map_pci_bar(hba, 2); u 642 drivers/scsi/hptiop.c if (hba->u.mv.mu == NULL) { u 643 drivers/scsi/hptiop.c iounmap(hba->u.mv.regs); u 652 drivers/scsi/hptiop.c hba->u.mvfrey.config = hptiop_map_pci_bar(hba, 0); u 653 drivers/scsi/hptiop.c if (hba->u.mvfrey.config == NULL) u 656 drivers/scsi/hptiop.c hba->u.mvfrey.mu = hptiop_map_pci_bar(hba, 2); u 657 drivers/scsi/hptiop.c if (hba->u.mvfrey.mu == NULL) { u 658 drivers/scsi/hptiop.c iounmap(hba->u.mvfrey.config); u 667 drivers/scsi/hptiop.c iounmap(hba->u.mv.regs); u 668 drivers/scsi/hptiop.c iounmap(hba->u.mv.mu); u 673 drivers/scsi/hptiop.c iounmap(hba->u.mvfrey.config); u 674 drivers/scsi/hptiop.c iounmap(hba->u.mvfrey.mu); u 802 drivers/scsi/hptiop.c ((unsigned long)hba->u.itl.iop + tag); u 831 drivers/scsi/hptiop.c writel(tag, &hba->u.itl.iop->outbound_queue); u 895 drivers/scsi/hptiop.c &hba->u.itl.iop->inbound_queue); u 898 drivers/scsi/hptiop.c &hba->u.itl.iop->inbound_queue); u 939 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_wptr++; u 940 drivers/scsi/hptiop.c index = hba->u.mvfrey.inlist_wptr & 0x3fff; u 942 drivers/scsi/hptiop.c if (index == hba->u.mvfrey.list_count) { u 944 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_wptr &= ~0x3fff; u 945 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_wptr ^= CL_POINTER_TOGGLE; u 948 drivers/scsi/hptiop.c hba->u.mvfrey.inlist[index].addr = u 950 drivers/scsi/hptiop.c hba->u.mvfrey.inlist[index].intrfc_len = (reqhdr->size + 3) / 4; u 951 drivers/scsi/hptiop.c writel(hba->u.mvfrey.inlist_wptr, u 952 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->inbound_write_ptr)); u 953 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->inbound_write_ptr)); u 968 drivers/scsi/hptiop.c u32 list_count = hba->u.mvfrey.list_count; u 976 drivers/scsi/hptiop.c writel(cpu_to_le32(hba->u.mvfrey.inlist_phy & 0xffffffff), u 977 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->inbound_base)); u 978 drivers/scsi/hptiop.c writel(cpu_to_le32((hba->u.mvfrey.inlist_phy >> 16) >> 16), u 979 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->inbound_base_high)); u 981 drivers/scsi/hptiop.c writel(cpu_to_le32(hba->u.mvfrey.outlist_phy & 0xffffffff), u 982 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->outbound_base)); u 983 drivers/scsi/hptiop.c writel(cpu_to_le32((hba->u.mvfrey.outlist_phy >> 16) >> 16), u 984 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->outbound_base_high)); u 986 drivers/scsi/hptiop.c writel(cpu_to_le32(hba->u.mvfrey.outlist_cptr_phy & 0xffffffff), u 987 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->outbound_shadow_base)); u 988 drivers/scsi/hptiop.c writel(cpu_to_le32((hba->u.mvfrey.outlist_cptr_phy >> 16) >> 16), u 989 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->outbound_shadow_base_high)); u 991 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_wptr = (list_count - 1) | CL_POINTER_TOGGLE; u 992 drivers/scsi/hptiop.c *hba->u.mvfrey.outlist_cptr = (list_count - 1) | CL_POINTER_TOGGLE; u 993 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_rptr = list_count - 1; u 1189 drivers/scsi/hptiop.c hba->u.mv.internal_req = dma_alloc_coherent(&hba->pcidev->dev, u 1190 drivers/scsi/hptiop.c 0x800, &hba->u.mv.internal_req_phy, GFP_KERNEL); u 1191 drivers/scsi/hptiop.c if (hba->u.mv.internal_req) u 1199 drivers/scsi/hptiop.c u32 list_count = readl(&hba->u.mvfrey.mu->inbound_conf_ctl); u 1212 drivers/scsi/hptiop.c hba->u.mvfrey.list_count = list_count; u 1213 drivers/scsi/hptiop.c hba->u.mvfrey.internal_mem_size = 0x800 + u 1219 drivers/scsi/hptiop.c hba->u.mvfrey.internal_mem_size, &phy, GFP_KERNEL); u 1223 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_virt = p; u 1224 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_shifted_phy = phy >> 5; u 1225 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.scp = NULL; u 1226 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.next = NULL; u 1231 drivers/scsi/hptiop.c hba->u.mvfrey.inlist = (struct mvfrey_inlist_entry *)p; u 1232 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_phy = phy; u 1237 drivers/scsi/hptiop.c hba->u.mvfrey.outlist = (struct mvfrey_outlist_entry *)p; u 1238 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_phy = phy; u 1243 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_cptr = (__le32 *)p; u 1244 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_cptr_phy = phy; u 1256 drivers/scsi/hptiop.c if (hba->u.mv.internal_req) { u 1258 drivers/scsi/hptiop.c hba->u.mv.internal_req, hba->u.mv.internal_req_phy); u 1266 drivers/scsi/hptiop.c if (hba->u.mvfrey.internal_req.req_virt) { u 1268 drivers/scsi/hptiop.c hba->u.mvfrey.internal_mem_size, u 1269 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_virt, u 1271 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_shifted_phy << 5); u 1527 drivers/scsi/hptiop.c int_mask = readl(&hba->u.itl.iop->outbound_intmask); u 1530 drivers/scsi/hptiop.c &hba->u.itl.iop->outbound_intmask); u 1531 drivers/scsi/hptiop.c readl(&hba->u.itl.iop->outbound_intmask); u 1536 drivers/scsi/hptiop.c writel(0, &hba->u.mv.regs->outbound_intmask); u 1537 drivers/scsi/hptiop.c readl(&hba->u.mv.regs->outbound_intmask); u 1542 drivers/scsi/hptiop.c writel(0, &(hba->u.mvfrey.mu->f0_doorbell_enable)); u 1543 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->f0_doorbell_enable)); u 1544 drivers/scsi/hptiop.c writel(0, &(hba->u.mvfrey.mu->isr_enable)); u 1545 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->isr_enable)); u 1546 drivers/scsi/hptiop.c writel(0, &(hba->u.mvfrey.mu->pcie_f0_int_enable)); u 1547 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->pcie_f0_int_enable)); u 298 drivers/scsi/hptiop.h } u; u 164 drivers/scsi/ibmvscsi/ibmvfc.c entry->u.start.xfer_len = be32_to_cpu(vfc_cmd->iu.xfer_len); u 197 drivers/scsi/ibmvscsi/ibmvfc.c entry->u.end.status = be16_to_cpu(vfc_cmd->status); u 198 drivers/scsi/ibmvscsi/ibmvfc.c entry->u.end.error = be16_to_cpu(vfc_cmd->error); u 199 drivers/scsi/ibmvscsi/ibmvfc.c entry->u.end.fcp_rsp_flags = vfc_cmd->rsp.flags; u 200 drivers/scsi/ibmvscsi/ibmvfc.c entry->u.end.rsp_code = vfc_cmd->rsp.data.info.rsp_code; u 201 drivers/scsi/ibmvscsi/ibmvfc.c entry->u.end.scsi_status = vfc_cmd->rsp.scsi_status; u 205 drivers/scsi/ibmvscsi/ibmvfc.c entry->u.end.status = be16_to_cpu(mad->status); u 512 drivers/scsi/ibmvscsi/ibmvfc.h } u; u 353 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h #define h_vioctl(u, o, a, u1, u2, u3, u4) \ u 354 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h plpar_hcall_norets(H_VIOCTL, u, o, a, u1, u2) u 601 drivers/scsi/ipr.c trace_entry->ata_op_code = ipr_cmd->ioarcb.u.add_data.u.regs.command; u 604 drivers/scsi/ipr.c trace_entry->u.add_data = add_data; u 652 drivers/scsi/ipr.c ioarcb->u.sis64_addr_data.data_ioadl_addr = u 654 drivers/scsi/ipr.c ioasa64->u.gata.status = 0; u 659 drivers/scsi/ipr.c ioasa->u.gata.status = 0; u 681 drivers/scsi/ipr.c ipr_cmd->u.scratch = 0; u 1119 drivers/scsi/ipr.c ipr_cmd->u.hostrcb = hostrcb; u 1196 drivers/scsi/ipr.c proto = cfgtew->u.cfgte64->proto; u 1197 drivers/scsi/ipr.c res->flags = be16_to_cpu(cfgtew->u.cfgte64->flags); u 1198 drivers/scsi/ipr.c res->res_flags = be16_to_cpu(cfgtew->u.cfgte64->res_flags); u 1200 drivers/scsi/ipr.c res->type = cfgtew->u.cfgte64->res_type; u 1202 drivers/scsi/ipr.c memcpy(res->res_path, &cfgtew->u.cfgte64->res_path, u 1206 drivers/scsi/ipr.c memcpy(&res->dev_lun.scsi_lun, &cfgtew->u.cfgte64->lun, u 1212 drivers/scsi/ipr.c if (gscsi_res->dev_id == cfgtew->u.cfgte64->dev_id) { u 1242 drivers/scsi/ipr.c proto = cfgtew->u.cfgte->proto; u 1244 drivers/scsi/ipr.c res->flags = cfgtew->u.cfgte->flags; u 1248 drivers/scsi/ipr.c res->type = cfgtew->u.cfgte->rsvd_subtype & 0x0f; u 1250 drivers/scsi/ipr.c res->bus = cfgtew->u.cfgte->res_addr.bus; u 1251 drivers/scsi/ipr.c res->target = cfgtew->u.cfgte->res_addr.target; u 1252 drivers/scsi/ipr.c res->lun = cfgtew->u.cfgte->res_addr.lun; u 1253 drivers/scsi/ipr.c res->lun_wwn = get_unaligned_be64(cfgtew->u.cfgte->lun_wwn); u 1271 drivers/scsi/ipr.c if (!memcmp(&res->dev_id, &cfgtew->u.cfgte64->dev_id, u 1272 drivers/scsi/ipr.c sizeof(cfgtew->u.cfgte64->dev_id)) && u 1273 drivers/scsi/ipr.c !memcmp(&res->dev_lun.scsi_lun, &cfgtew->u.cfgte64->lun, u 1274 drivers/scsi/ipr.c sizeof(cfgtew->u.cfgte64->lun))) { u 1278 drivers/scsi/ipr.c if (res->bus == cfgtew->u.cfgte->res_addr.bus && u 1279 drivers/scsi/ipr.c res->target == cfgtew->u.cfgte->res_addr.target && u 1280 drivers/scsi/ipr.c res->lun == cfgtew->u.cfgte->res_addr.lun) u 1346 drivers/scsi/ipr.c res->flags = be16_to_cpu(cfgtew->u.cfgte64->flags); u 1347 drivers/scsi/ipr.c res->res_flags = be16_to_cpu(cfgtew->u.cfgte64->res_flags); u 1348 drivers/scsi/ipr.c res->type = cfgtew->u.cfgte64->res_type; u 1350 drivers/scsi/ipr.c memcpy(&res->std_inq_data, &cfgtew->u.cfgte64->std_inq_data, u 1354 drivers/scsi/ipr.c proto = cfgtew->u.cfgte64->proto; u 1355 drivers/scsi/ipr.c res->res_handle = cfgtew->u.cfgte64->res_handle; u 1356 drivers/scsi/ipr.c res->dev_id = cfgtew->u.cfgte64->dev_id; u 1358 drivers/scsi/ipr.c memcpy(&res->dev_lun.scsi_lun, &cfgtew->u.cfgte64->lun, u 1361 drivers/scsi/ipr.c if (memcmp(res->res_path, &cfgtew->u.cfgte64->res_path, u 1363 drivers/scsi/ipr.c memcpy(res->res_path, &cfgtew->u.cfgte64->res_path, u 1373 drivers/scsi/ipr.c res->flags = cfgtew->u.cfgte->flags; u 1377 drivers/scsi/ipr.c res->type = cfgtew->u.cfgte->rsvd_subtype & 0x0f; u 1379 drivers/scsi/ipr.c memcpy(&res->std_inq_data, &cfgtew->u.cfgte->std_inq_data, u 1383 drivers/scsi/ipr.c proto = cfgtew->u.cfgte->proto; u 1384 drivers/scsi/ipr.c res->res_handle = cfgtew->u.cfgte->res_handle; u 1439 drivers/scsi/ipr.c cfgtew.u.cfgte64 = &hostrcb->hcam.u.ccn.u.cfgte64; u 1440 drivers/scsi/ipr.c cc_res_handle = cfgtew.u.cfgte64->res_handle; u 1442 drivers/scsi/ipr.c cfgtew.u.cfgte = &hostrcb->hcam.u.ccn.u.cfgte; u 1443 drivers/scsi/ipr.c cc_res_handle = cfgtew.u.cfgte->res_handle; u 1501 drivers/scsi/ipr.c struct ipr_hostrcb *hostrcb = ipr_cmd->u.hostrcb; u 1634 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error64.u.type_12_error; u 1636 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error.u.type_12_error; u 1668 drivers/scsi/ipr.c &hostrcb->hcam.u.error.u.type_02_error; u 1703 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error.u.type_13_error; u 1744 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error64.u.type_23_error; u 1786 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error.u.type_03_error; u 1834 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error.u.type_14_error; u 1885 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error.u.type_04_error; u 1966 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error64.u.type_17_error; u 1968 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error.u.type_17_error; u 1974 drivers/scsi/ipr.c be32_to_cpu(hostrcb->hcam.u.error.prc)); u 1978 drivers/scsi/ipr.c (offsetof(struct ipr_hostrcb_error, u) + u 1995 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error.u.type_07_error; u 2000 drivers/scsi/ipr.c be32_to_cpu(hostrcb->hcam.u.error.prc)); u 2004 drivers/scsi/ipr.c (offsetof(struct ipr_hostrcb_error, u) + u 2285 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error.u.type_20_error; u 2290 drivers/scsi/ipr.c (offsetof(struct ipr_hostrcb_error, u) + u 2323 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error64.u.type_24_error; u 2378 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error64.u.type_30_error; u 2384 drivers/scsi/ipr.c (offsetof(struct ipr_hostrcb64_error, u) + u 2413 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error64.u.type_41_error; u 2419 drivers/scsi/ipr.c (offsetof(struct ipr_hostrcb_error, u) + u 2433 drivers/scsi/ipr.c ipr_log_hex_data(ioa_cfg, hostrcb->hcam.u.raw.data, u 2451 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error64.u.type_21_error; u 2519 drivers/scsi/ipr.c ioasc = be32_to_cpu(hostrcb->hcam.u.error64.fd_ioasc); u 2521 drivers/scsi/ipr.c ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc); u 2527 drivers/scsi/ipr.c hostrcb->hcam.u.error.fd_res_addr.bus); u 2537 drivers/scsi/ipr.c error = &hostrcb->hcam.u.error64.u.type_21_error; u 2551 drivers/scsi/ipr.c if (be32_to_cpu(hostrcb->hcam.length) > sizeof(hostrcb->hcam.u.raw)) u 2552 drivers/scsi/ipr.c hostrcb->hcam.length = cpu_to_be32(sizeof(hostrcb->hcam.u.raw)); u 2639 drivers/scsi/ipr.c struct ipr_hostrcb *hostrcb = ipr_cmd->u.hostrcb; u 2644 drivers/scsi/ipr.c fd_ioasc = be32_to_cpu(hostrcb->hcam.u.error64.fd_ioasc); u 2646 drivers/scsi/ipr.c fd_ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc); u 5233 drivers/scsi/ipr.c regs = &ioarcb->u.add_data.u.regs; u 5249 drivers/scsi/ipr.c memcpy(&res->sata_port->ioasa, &ipr_cmd->s.ioasa64.u.gata, u 5252 drivers/scsi/ipr.c memcpy(&res->sata_port->ioasa, &ipr_cmd->s.ioasa.u.gata, u 5467 drivers/scsi/ipr.c sdev_printk(KERN_ERR, ipr_cmd->u.sdev, "Abort timed out. Resetting bus.\n"); u 5546 drivers/scsi/ipr.c ipr_cmd->u.sdev = scsi_cmd->device; u 6005 drivers/scsi/ipr.c if (ipr_cmd->dma_use_sg <= ARRAY_SIZE(ioarcb->u.add_data.u.ioadl)) { u 6006 drivers/scsi/ipr.c ioadl = ioarcb->u.add_data.u.ioadl; u 6008 drivers/scsi/ipr.c offsetof(struct ipr_ioarcb, u.add_data)); u 6101 drivers/scsi/ipr.c ioarcb->u.sis64_addr_data.data_ioadl_addr = u 6294 drivers/scsi/ipr.c ioasa->u.vset.failing_lba_hi != 0) { u 6305 drivers/scsi/ipr.c failing_lba = be32_to_cpu(ioasa->u.vset.failing_lba_hi); u 6312 drivers/scsi/ipr.c failing_lba = be32_to_cpu(ioasa->u.vset.failing_lba_lo); u 6344 drivers/scsi/ipr.c failing_lba = be32_to_cpu(ioasa->u.vset.failing_lba_lo); u 6346 drivers/scsi/ipr.c failing_lba = be32_to_cpu(ioasa->u.dasd.failing_lba); u 6873 drivers/scsi/ipr.c memcpy(&sata_port->ioasa, &ipr_cmd->s.ioasa64.u.gata, u 6876 drivers/scsi/ipr.c memcpy(&sata_port->ioasa, &ipr_cmd->s.ioasa.u.gata, u 6922 drivers/scsi/ipr.c ioarcb->u.sis64_addr_data.data_ioadl_addr = u 7065 drivers/scsi/ipr.c regs = &ioarcb->u.add_data.u.regs; u 7340 drivers/scsi/ipr.c struct ipr_resource_entry *res = ipr_cmd->u.res; u 7348 drivers/scsi/ipr.c ipr_cmd->u.res = res; u 7580 drivers/scsi/ipr.c ipr_cmd->u.res = list_entry(ioa_cfg->used_res_q.next, u 7654 drivers/scsi/ipr.c ipr_cmd->u.res = list_entry(ioa_cfg->used_res_q.next, u 7801 drivers/scsi/ipr.c flag = ioa_cfg->u.cfg_table64->hdr64.flags; u 7803 drivers/scsi/ipr.c flag = ioa_cfg->u.cfg_table->hdr.flags; u 7812 drivers/scsi/ipr.c entries = be16_to_cpu(ioa_cfg->u.cfg_table64->hdr64.num_entries); u 7814 drivers/scsi/ipr.c entries = ioa_cfg->u.cfg_table->hdr.num_entries; u 7818 drivers/scsi/ipr.c cfgtew.u.cfgte64 = &ioa_cfg->u.cfg_table64->dev[i]; u 7820 drivers/scsi/ipr.c cfgtew.u.cfgte = &ioa_cfg->u.cfg_table->dev[i]; u 8349 drivers/scsi/ipr.c memset(ioa_cfg->u.cfg_table, 0, ioa_cfg->cfg_table_size); u 8575 drivers/scsi/ipr.c ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc); u 8617 drivers/scsi/ipr.c if (!ioa_cfg->sis64 || !ipr_cmd->u.time_left || u 8621 drivers/scsi/ipr.c if (!ipr_cmd->u.time_left) u 8635 drivers/scsi/ipr.c ipr_cmd->u.time_left -= IPR_CHECK_FOR_RESET_TIMEOUT; u 8695 drivers/scsi/ipr.c ipr_cmd->u.time_left = IPR_WAIT_FOR_MAILBOX; u 8846 drivers/scsi/ipr.c if (ipr_cmd->u.time_left) { u 8848 drivers/scsi/ipr.c ipr_cmd->u.time_left -= IPR_CHECK_FOR_RESET_TIMEOUT; u 8874 drivers/scsi/ipr.c ipr_cmd->u.time_left = IPR_WAIT_FOR_RESET_TIMEOUT; u 8913 drivers/scsi/ipr.c if (!ipr_reset_allowed(ioa_cfg) && ipr_cmd->u.time_left) { u 8914 drivers/scsi/ipr.c ipr_cmd->u.time_left -= IPR_CHECK_FOR_RESET_TIMEOUT; u 8953 drivers/scsi/ipr.c ipr_cmd->u.time_left = IPR_WAIT_FOR_RESET_TIMEOUT; u 9153 drivers/scsi/ipr.c enum ipr_shutdown_type shutdown_type = ipr_cmd->u.shutdown_type; u 9263 drivers/scsi/ipr.c ipr_cmd->u.shutdown_type = shutdown_type; u 9562 drivers/scsi/ipr.c ioa_cfg->u.cfg_table, ioa_cfg->cfg_table_dma); u 9705 drivers/scsi/ipr.c ioarcb->u.sis64_addr_data.data_ioadl_addr = u 9707 drivers/scsi/ipr.c ioarcb->u.sis64_addr_data.ioasa_host_pci_addr = u 9785 drivers/scsi/ipr.c ioa_cfg->u.cfg_table = dma_alloc_coherent(&pdev->dev, u 9790 drivers/scsi/ipr.c if (!ioa_cfg->u.cfg_table) u 9827 drivers/scsi/ipr.c ioa_cfg->u.cfg_table, ioa_cfg->cfg_table_dma); u 466 drivers/scsi/ipr.h } u; u 473 drivers/scsi/ipr.h } u; u 604 drivers/scsi/ipr.h } u; u 645 drivers/scsi/ipr.h } u; u 730 drivers/scsi/ipr.h } u; u 744 drivers/scsi/ipr.h } u; u 1147 drivers/scsi/ipr.h } u; u 1169 drivers/scsi/ipr.h } u; u 1228 drivers/scsi/ipr.h } u; u 1444 drivers/scsi/ipr.h } u; u 1519 drivers/scsi/ipr.h } u; u 1635 drivers/scsi/ipr.h } u; u 1813 drivers/scsi/ipr.h hostrcb->hcam.u.error64.fd_res_path, \ u 1819 drivers/scsi/ipr.h (hostrcb)->hcam.u.error.fd_res_addr, \ u 1945 drivers/scsi/ipr.h res_path = &hostrcb->hcam.u.error64.fd_res_path[0]; u 1950 drivers/scsi/ipr.h res_addr = &hostrcb->hcam.u.error.fd_res_addr; u 383 drivers/scsi/isci/init.c static void isci_user_parameters_get(struct sci_user_parameters *u) u 388 drivers/scsi/isci/init.c struct sci_phy_user_params *u_phy = &u->phys[i]; u 398 drivers/scsi/isci/init.c u->stp_inactivity_timeout = stp_inactive_to; u 399 drivers/scsi/isci/init.c u->ssp_inactivity_timeout = ssp_inactive_to; u 400 drivers/scsi/isci/init.c u->stp_max_occupancy_timeout = stp_max_occ_to; u 401 drivers/scsi/isci/init.c u->ssp_max_occupancy_timeout = ssp_max_occ_to; u 402 drivers/scsi/isci/init.c u->no_outbound_task_timeout = no_outbound_task_to; u 403 drivers/scsi/isci/init.c u->max_concurr_spinup = max_concurr_spinup; u 416 drivers/scsi/isci/init.c struct sci_phy_user_params *u; u 418 drivers/scsi/isci/init.c u = &sci_parms->phys[index]; u 420 drivers/scsi/isci/init.c if (!((u->max_speed_generation <= SCIC_SDS_PARM_MAX_SPEED) && u 421 drivers/scsi/isci/init.c (u->max_speed_generation > SCIC_SDS_PARM_NO_SPEED))) u 424 drivers/scsi/isci/init.c if ((u->in_connection_align_insertion_frequency < 3) || u 425 drivers/scsi/isci/init.c (u->align_insertion_frequency == 0) || u 426 drivers/scsi/isci/init.c (u->notify_enable_spin_up_insertion_frequency == 0)) u 1327 drivers/scsi/lpfc/lpfc.h writel(reg_data.word0, phba->sli4_hba.u.if_type2.EQDregaddr); u 189 drivers/scsi/lpfc/lpfc_attr.c wwn_to_u64(vport->fc_portname.u.wwn)); u 207 drivers/scsi/lpfc/lpfc_attr.c wwn_to_u64(vport->fc_portname.u.wwn), u 208 drivers/scsi/lpfc/lpfc_attr.c wwn_to_u64(vport->fc_nodename.u.wwn), u 343 drivers/scsi/lpfc/lpfc_attr.c wwn_to_u64(vport->fc_portname.u.wwn)); u 370 drivers/scsi/lpfc/lpfc_attr.c wwn_to_u64(vport->fc_portname.u.wwn), u 371 drivers/scsi/lpfc/lpfc_attr.c wwn_to_u64(vport->fc_nodename.u.wwn), u 1145 drivers/scsi/lpfc/lpfc_attr.c pmboxq->u.mb.mbxCommand = MBX_DOWN_LINK; u 1146 drivers/scsi/lpfc/lpfc_attr.c pmboxq->u.mb.mbxOwner = OWN_HOST; u 1151 drivers/scsi/lpfc/lpfc_attr.c (pmboxq->u.mb.mbxStatus == 0 || u 1152 drivers/scsi/lpfc/lpfc_attr.c pmboxq->u.mb.mbxStatus == MBXERR_LINK_DOWN)) { u 1159 drivers/scsi/lpfc/lpfc_attr.c (pmboxq->u.mb.mbxStatus == MBXERR_SEC_NO_PERMISSION)) u 1478 drivers/scsi/lpfc/lpfc_attr.c lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr, u 1489 drivers/scsi/lpfc/lpfc_attr.c lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr, u 1687 drivers/scsi/lpfc/lpfc_attr.c &mbox->u.mqe.un.set_trunk_mode, u 1862 drivers/scsi/lpfc/lpfc_attr.c pmb = &pmboxq->u.mb; u 1879 drivers/scsi/lpfc/lpfc_attr.c rd_config = &pmboxq->u.mqe.un.rd_config; u 4454 drivers/scsi/lpfc/lpfc_attr.c ndlp->nlp_portname.u.wwn[0], u 4455 drivers/scsi/lpfc/lpfc_attr.c ndlp->nlp_portname.u.wwn[1], u 4456 drivers/scsi/lpfc/lpfc_attr.c ndlp->nlp_portname.u.wwn[2], u 4457 drivers/scsi/lpfc/lpfc_attr.c ndlp->nlp_portname.u.wwn[3], u 4458 drivers/scsi/lpfc/lpfc_attr.c ndlp->nlp_portname.u.wwn[4], u 4459 drivers/scsi/lpfc/lpfc_attr.c ndlp->nlp_portname.u.wwn[5], u 4460 drivers/scsi/lpfc/lpfc_attr.c ndlp->nlp_portname.u.wwn[6], u 4461 drivers/scsi/lpfc/lpfc_attr.c ndlp->nlp_portname.u.wwn[7]); u 6554 drivers/scsi/lpfc/lpfc_attr.c node_name = wwn_to_u64(phba->fc_fabparam.nodeName.u.wwn); u 6605 drivers/scsi/lpfc/lpfc_attr.c pmb = &pmboxq->u.mb; u 6716 drivers/scsi/lpfc/lpfc_attr.c pmb = &pmboxq->u.mb; u 6830 drivers/scsi/lpfc/lpfc_attr.c ndlp ? wwn_to_u64(ndlp->nlp_nodename.u.wwn) : 0; u 6845 drivers/scsi/lpfc/lpfc_attr.c ndlp ? wwn_to_u64(ndlp->nlp_portname.u.wwn) : 0; u 1834 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.mbxCommand = MBX_DOWN_LINK; u 1835 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.mbxOwner = OWN_HOST; u 1839 drivers/scsi/lpfc/lpfc_bsg.c if ((mbxstatus == MBX_SUCCESS) && (pmboxq->u.mb.mbxStatus == 0)) { u 1852 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.un.varInitLnk.link_flags = FLAGS_LOCAL_LB; u 1854 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.un.varInitLnk.link_flags = u 1857 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.mbxCommand = MBX_INIT_LINK; u 1858 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.mbxOwner = OWN_HOST; u 1863 drivers/scsi/lpfc/lpfc_bsg.c if ((mbxstatus != MBX_SUCCESS) || (pmboxq->u.mb.mbxStatus)) u 1939 drivers/scsi/lpfc/lpfc_bsg.c link_diag_state = &pmboxq->u.mqe.un.link_diag_state; u 1940 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_set_diag_state_diag_bit_valid, &link_diag_state->u.req, u 1942 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_set_diag_state_link_num, &link_diag_state->u.req, u 1944 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_set_diag_state_link_type, &link_diag_state->u.req, u 1948 drivers/scsi/lpfc/lpfc_bsg.c &link_diag_state->u.req, 1); u 1951 drivers/scsi/lpfc/lpfc_bsg.c &link_diag_state->u.req, 0); u 1955 drivers/scsi/lpfc/lpfc_bsg.c if ((mbxstatus == MBX_SUCCESS) && (pmboxq->u.mb.mbxStatus == 0)) u 1997 drivers/scsi/lpfc/lpfc_bsg.c link_diag_loopback = &pmboxq->u.mqe.un.link_diag_loopback; u 1999 drivers/scsi/lpfc/lpfc_bsg.c &link_diag_loopback->u.req, link_no); u 2003 drivers/scsi/lpfc/lpfc_bsg.c &link_diag_loopback->u.req, LPFC_LNK_FC_TRUNKED); u 2006 drivers/scsi/lpfc/lpfc_bsg.c &link_diag_loopback->u.req, u 2010 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_set_diag_lpbk_type, &link_diag_loopback->u.req, u 2014 drivers/scsi/lpfc/lpfc_bsg.c if ((mbxstatus != MBX_SUCCESS) || (pmboxq->u.mb.mbxStatus)) { u 2018 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.mbxStatus); u 2471 drivers/scsi/lpfc/lpfc_bsg.c run_link_diag_test = &pmboxq->u.mqe.un.link_diag_test; u 2472 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_run_diag_test_link_num, &run_link_diag_test->u.req, u 2474 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_run_diag_test_link_type, &run_link_diag_test->u.req, u 2476 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_run_diag_test_test_id, &run_link_diag_test->u.req, u 2478 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_run_diag_test_loops, &run_link_diag_test->u.req, u 2480 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_run_diag_test_test_ver, &run_link_diag_test->u.req, u 2482 drivers/scsi/lpfc/lpfc_bsg.c bf_set(lpfc_mbx_run_diag_test_err_act, &run_link_diag_test->u.req, u 2488 drivers/scsi/lpfc/lpfc_bsg.c &pmboxq->u.mqe.un.sli4_config.header.cfg_shdr; u 2581 drivers/scsi/lpfc/lpfc_bsg.c if ((status != MBX_SUCCESS) || (mbox->u.mb.mbxStatus)) { u 2592 drivers/scsi/lpfc/lpfc_bsg.c *rpi = mbox->u.mb.un.varWords[0]; u 2625 drivers/scsi/lpfc/lpfc_bsg.c if ((status != MBX_SUCCESS) || (mbox->u.mb.mbxStatus)) { u 3469 drivers/scsi/lpfc/lpfc_bsg.c pmb = (uint8_t *)&pmboxq->u.mb; u 3665 drivers/scsi/lpfc/lpfc_bsg.c pmb = (uint8_t *)&pmboxq->u.mb; u 3736 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.mbxStatus = MBXERR_ERROR; u 3741 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state, pmboxq->u.mb.mbxStatus); u 3743 drivers/scsi/lpfc/lpfc_bsg.c if (pmboxq->u.mb.mbxStatus || phba->mbox_ext_buf_ctx.numBuf == 1) u 3776 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.mbxStatus = MBXERR_ERROR; u 3781 drivers/scsi/lpfc/lpfc_bsg.c phba->mbox_ext_buf_ctx.state, pmboxq->u.mb.mbxStatus); u 4017 drivers/scsi/lpfc/lpfc_bsg.c pmb = &pmboxq->u.mb; u 4196 drivers/scsi/lpfc/lpfc_bsg.c pmb = &pmboxq->u.mb; u 4543 drivers/scsi/lpfc/lpfc_bsg.c pmb = &pmboxq->u.mb; u 4817 drivers/scsi/lpfc/lpfc_bsg.c pmb = &pmboxq->u.mb; u 4931 drivers/scsi/lpfc/lpfc_bsg.c sli4_config = &pmboxq->u.mqe.un.sli4_config; u 869 drivers/scsi/lpfc/lpfc_debugfs.c wwn_to_u64(ndlp->nlp_portname.u.wwn)); u 872 drivers/scsi/lpfc/lpfc_debugfs.c wwn_to_u64(ndlp->nlp_nodename.u.wwn)); u 931 drivers/scsi/lpfc/lpfc_debugfs.c wwn_to_u64(vport->fc_nodename.u.wwn), u 932 drivers/scsi/lpfc/lpfc_debugfs.c wwn_to_u64(vport->fc_portname.u.wwn), u 5975 drivers/scsi/lpfc/lpfc_els.c mb = &pmb->u.mb; u 5982 drivers/scsi/lpfc/lpfc_els.c &pmb->u.mqe.un.beacon_config.header.cfg_shdr; u 6080 drivers/scsi/lpfc/lpfc_els.c cfg_shdr = &mbox->u.mqe.un.sli4_config.header.cfg_shdr; u 6089 drivers/scsi/lpfc/lpfc_els.c bf_set(lpfc_mbx_set_beacon_port_num, &mbox->u.mqe.un.beacon_config, u 6091 drivers/scsi/lpfc/lpfc_els.c bf_set(lpfc_mbx_set_beacon_state, &mbox->u.mqe.un.beacon_config, u 6093 drivers/scsi/lpfc/lpfc_els.c mbox->u.mqe.un.beacon_config.word5 = 0; /* Reserved */ u 6106 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, 0); u 6108 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, u 6119 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, beacon_state); u 6121 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, 1); u 6123 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, u 6820 drivers/scsi/lpfc/lpfc_els.c mbox->u.mb.un.varInitLnk.lipsr_AL_PA = 0; u 7071 drivers/scsi/lpfc/lpfc_els.c mb = &pmb->u.mb; u 7159 drivers/scsi/lpfc/lpfc_els.c mb = &pmb->u.mb; u 8739 drivers/scsi/lpfc/lpfc_els.c mbox->u.mb.un.varInitLnk.lipsr_AL_PA = 0; u 8971 drivers/scsi/lpfc/lpfc_els.c MAILBOX_t *mb = &pmb->u.mb; u 159 drivers/scsi/lpfc/lpfc_hbadisc.c if (rport->port_name != wwn_to_u64(ndlp->nlp_portname.u.wwn)) u 163 drivers/scsi/lpfc/lpfc_hbadisc.c wwn_to_u64(ndlp->nlp_portname.u.wwn)); u 1081 drivers/scsi/lpfc/lpfc_hbadisc.c MAILBOX_t *mb = &pmb->u.mb; u 1143 drivers/scsi/lpfc/lpfc_hbadisc.c if (pmb->u.mb.mbxStatus) u 1182 drivers/scsi/lpfc/lpfc_hbadisc.c pmb->u.mb.mbxStatus, vport->port_state); u 1222 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus) { u 1226 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus, vport->port_state); u 1231 drivers/scsi/lpfc/lpfc_hbadisc.c phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); u 2771 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus && u 2774 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus != MBX_VFI_IN_USE) { u 2778 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus); u 2834 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus) { u 2838 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus); u 2974 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus && u 2977 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus != MBX_VFI_IN_USE) { u 2981 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus, vport->port_state); u 3058 drivers/scsi/lpfc/lpfc_hbadisc.c MAILBOX_t *mb = &pmb->u.mb; u 3091 drivers/scsi/lpfc/lpfc_hbadisc.c fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); u 3391 drivers/scsi/lpfc/lpfc_hbadisc.c MAILBOX_t *mb = &pmb->u.mb; u 3411 drivers/scsi/lpfc/lpfc_hbadisc.c la = (struct lpfc_mbx_read_top *) &pmb->u.mb.un.varReadTop; u 3605 drivers/scsi/lpfc/lpfc_hbadisc.c MAILBOX_t *mb = &pmb->u.mb; u 3670 drivers/scsi/lpfc/lpfc_hbadisc.c MAILBOX_t *mb = &pmb->u.mb; u 3749 drivers/scsi/lpfc/lpfc_hbadisc.c mb = &pmb->u.mb; u 3785 drivers/scsi/lpfc/lpfc_hbadisc.c byte_count = pmb->u.mqe.un.mb_words[5]; u 3872 drivers/scsi/lpfc/lpfc_hbadisc.c MAILBOX_t *mb = &pmb->u.mb; u 4023 drivers/scsi/lpfc/lpfc_hbadisc.c MAILBOX_t *mb = &pmb->u.mb; u 4127 drivers/scsi/lpfc/lpfc_hbadisc.c rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); u 4128 drivers/scsi/lpfc/lpfc_hbadisc.c rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); u 5126 drivers/scsi/lpfc/lpfc_hbadisc.c if ((mb->u.mb.mbxCommand == MBX_REG_LOGIN64) && u 5137 drivers/scsi/lpfc/lpfc_hbadisc.c if ((mb->u.mb.mbxCommand != MBX_REG_LOGIN64) || u 5147 drivers/scsi/lpfc/lpfc_hbadisc.c if ((mb->u.mb.mbxCommand == MBX_REG_LOGIN64) && u 5940 drivers/scsi/lpfc/lpfc_hbadisc.c initlinkmbox->u.mb.un.varInitLnk.lipsr_AL_PA = 0; u 6041 drivers/scsi/lpfc/lpfc_hbadisc.c MAILBOX_t *mb = &pmb->u.mb; u 6504 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus) { u 6508 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus, vport->port_state); u 6529 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus) { u 6533 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus, vport->port_state); u 368 drivers/scsi/lpfc/lpfc_hw.h } u; u 1145 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1158 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1173 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1216 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1269 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1382 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1397 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1496 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1511 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1598 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1650 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1665 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1705 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1756 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1774 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1803 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1889 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1914 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1946 drivers/scsi/lpfc/lpfc_hw4.h } u; u 1985 drivers/scsi/lpfc/lpfc_hw4.h } u; u 2249 drivers/scsi/lpfc/lpfc_hw4.h } u; u 3720 drivers/scsi/lpfc/lpfc_hw4.h } u; u 3864 drivers/scsi/lpfc/lpfc_hw4.h } u; u 3907 drivers/scsi/lpfc/lpfc_hw4.h } u; u 137 drivers/scsi/lpfc/lpfc_init.c mb = &pmb->u.mb; u 286 drivers/scsi/lpfc/lpfc_init.c if (pmboxq->u.mb.mbxStatus == MBX_SUCCESS) u 313 drivers/scsi/lpfc/lpfc_init.c if (pmboxq->u.mb.mbxStatus != MBX_SUCCESS) { u 321 drivers/scsi/lpfc/lpfc_init.c prog_id_word = pmboxq->u.mb.un.varWords[7]; u 356 drivers/scsi/lpfc/lpfc_init.c vport->fc_sparam.nodeName.u.wwn); u 359 drivers/scsi/lpfc/lpfc_init.c vport->fc_sparam.portName.u.wwn); u 365 drivers/scsi/lpfc/lpfc_init.c if (vport->fc_nodename.u.wwn[0] == 0 || vport->phba->cfg_soft_wwnn) u 376 drivers/scsi/lpfc/lpfc_init.c if (vport->fc_portname.u.wwn[0] != 0 && u 381 drivers/scsi/lpfc/lpfc_init.c if (vport->fc_portname.u.wwn[0] == 0 || u 436 drivers/scsi/lpfc/lpfc_init.c mb = &pmb->u.mb; u 468 drivers/scsi/lpfc/lpfc_init.c fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); u 469 drivers/scsi/lpfc/lpfc_init.c fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); u 477 drivers/scsi/lpfc/lpfc_init.c outptr = &vport->fc_nodename.u.s.IEEE[0]; u 562 drivers/scsi/lpfc/lpfc_init.c pmb->u.mb.mbxCommand, u 563 drivers/scsi/lpfc/lpfc_init.c pmb->u.mb.mbxStatus); u 723 drivers/scsi/lpfc/lpfc_init.c mb = &pmb->u.mb; u 1855 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type0.UERRLOregaddr, u 1858 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type0.UEMASKLOregaddr, u 1918 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.STATUSregaddr, u 1924 drivers/scsi/lpfc/lpfc_init.c readl(phba->sli4_hba.u.if_type2.STATUSregaddr)); u 1928 drivers/scsi/lpfc/lpfc_init.c reg_err1 = readl(phba->sli4_hba.u.if_type2.ERR1regaddr); u 1929 drivers/scsi/lpfc/lpfc_init.c reg_err2 = readl(phba->sli4_hba.u.if_type2.ERR2regaddr); u 2998 drivers/scsi/lpfc/lpfc_init.c actcmd = phba->sli.mbox_active->u.mb.mbxCommand; u 4209 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), u 4210 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_status, &mboxq->u.mqe)); u 4214 drivers/scsi/lpfc/lpfc_init.c mb = &mboxq->u.mb; u 4516 drivers/scsi/lpfc/lpfc_init.c fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); u 4517 drivers/scsi/lpfc/lpfc_init.c fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); u 4959 drivers/scsi/lpfc/lpfc_init.c mb = &pmb->u.mb; u 4966 drivers/scsi/lpfc/lpfc_init.c la = (struct lpfc_mbx_read_top *) &pmb->u.mb.un.varReadTop; u 5235 drivers/scsi/lpfc/lpfc_init.c mb = &pmb->u.mb; u 5242 drivers/scsi/lpfc/lpfc_init.c la = (struct lpfc_mbx_read_top *)&pmb->u.mb.un.varReadTop; u 6599 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), u 6600 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_status, &mboxq->u.mqe)); u 6605 drivers/scsi/lpfc/lpfc_init.c mb = &mboxq->u.mb; u 6609 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.wwnn.u.name = wwn; u 6614 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.wwpn.u.name = wwn; u 6647 drivers/scsi/lpfc/lpfc_init.c mqe = &mboxq->u.mqe; u 7926 drivers/scsi/lpfc/lpfc_init.c readl(phba->sli4_hba.u.if_type0.UEMASKLOregaddr); u 7928 drivers/scsi/lpfc/lpfc_init.c readl(phba->sli4_hba.u.if_type0.UEMASKHIregaddr); u 7930 drivers/scsi/lpfc/lpfc_init.c readl(phba->sli4_hba.u.if_type0.UERRLOregaddr); u 7932 drivers/scsi/lpfc/lpfc_init.c readl(phba->sli4_hba.u.if_type0.UERRHIregaddr); u 7952 drivers/scsi/lpfc/lpfc_init.c if (lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr, u 7957 drivers/scsi/lpfc/lpfc_init.c readl(phba->sli4_hba.u.if_type2. u 7960 drivers/scsi/lpfc/lpfc_init.c readl(phba->sli4_hba.u.if_type2. u 7995 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type0.UERRLOregaddr = u 7997 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type0.UERRHIregaddr = u 7999 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type0.UEMASKLOregaddr = u 8001 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type0.UEMASKHIregaddr = u 8007 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.EQDregaddr = u 8010 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.ERR1regaddr = u 8013 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.ERR2regaddr = u 8016 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.CTRLregaddr = u 8019 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.STATUSregaddr = u 8042 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.EQDregaddr = u 8045 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.ERR1regaddr = u 8048 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.ERR2regaddr = u 8051 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.CTRLregaddr = u 8054 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.STATUSregaddr = u 8289 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_command, &pmb->u.mqe), u 8290 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_status, &pmb->u.mqe)); u 8293 drivers/scsi/lpfc/lpfc_init.c rd_config = &pmb->u.mqe.un.rd_config; u 8307 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_command, &pmb->u.mqe)); u 8498 drivers/scsi/lpfc/lpfc_init.c &pmb->u.mqe.un.sli4_config.header.cfg_shdr; u 8505 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_command, &pmb->u.mqe), u 8506 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_status, &pmb->u.mqe)); u 8511 drivers/scsi/lpfc/lpfc_init.c get_func_cfg = &pmb->u.mqe.un.get_func_cfg; u 8588 drivers/scsi/lpfc/lpfc_init.c memcpy(&mboxq->u.mqe, &endian_mb_data, sizeof(endian_mb_data)); u 9381 drivers/scsi/lpfc/lpfc_init.c &mboxq->u.mqe.un.sli4_config.header.cfg_shdr; u 9396 drivers/scsi/lpfc/lpfc_init.c mboxq->u.mqe.un.query_fw_cfg.rsp.function_mode; u 9397 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.ulp0_mode = mboxq->u.mqe.un.query_fw_cfg.rsp.ulp0_mode; u 9398 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.ulp1_mode = mboxq->u.mqe.un.query_fw_cfg.rsp.ulp1_mode; u 9400 drivers/scsi/lpfc/lpfc_init.c mboxq->u.mqe.un.query_fw_cfg.rsp.physical_port; u 9999 drivers/scsi/lpfc/lpfc_init.c &mboxq->u.mqe.un.sli4_config.header.cfg_shdr; u 10023 drivers/scsi/lpfc/lpfc_init.c if (lpfc_readl(phba->sli4_hba.u.if_type2. u 10035 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.ERR1regaddr); u 10037 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.u.if_type2.ERR2regaddr); u 10057 drivers/scsi/lpfc/lpfc_init.c writel(reg_data.word0, phba->sli4_hba.u.if_type2. u 10416 drivers/scsi/lpfc/lpfc_init.c pmb->u.mb.mbxCommand, pmb->u.mb.mbxStatus); u 11531 drivers/scsi/lpfc/lpfc_init.c mboxq->u.mb.mbxStatus = MBX_NOT_FINISHED; u 11599 drivers/scsi/lpfc/lpfc_init.c mqe = &mboxq->u.mqe; u 11666 drivers/scsi/lpfc/lpfc_init.c struct lpfc_mqe *mqe = &mboxq->u.mqe; u 65 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 117 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 141 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 173 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 209 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 235 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 261 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 295 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 332 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 359 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 410 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 493 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 607 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 660 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 692 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 717 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 753 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 819 drivers/scsi/lpfc/lpfc_mbox.c mb = &pmb->u.mb; u 858 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mb.un.varUnregLogin.rsvd1 = 0x4000; u 886 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 933 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 1031 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 1043 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 1048 drivers/scsi/lpfc/lpfc_mbox.c mqe = &pmb->u.mqe; u 1144 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 1219 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 1274 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 1462 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mb = &pmb->u.mb; u 1581 drivers/scsi/lpfc/lpfc_mbox.c mboxq->u.mb.mbxCommand); u 1627 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mbox = &mboxq->u.mb; u 1693 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.nembed_cmd; u 1714 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.nembed_cmd; u 1735 drivers/scsi/lpfc/lpfc_mbox.c sli4_cfg = &mbox->u.mqe.un.sli4_config; u 1791 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_SLI4_CONFIG); u 1794 drivers/scsi/lpfc/lpfc_mbox.c sli4_config = &mbox->u.mqe.un.sli4_config; u 1908 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.alloc_rsrc_extents.u.req, u 1925 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.alloc_rsrc_extents.u.req, u 1962 drivers/scsi/lpfc/lpfc_mbox.c if (mbox->u.mb.mbxCommand != MBX_SLI4_CONFIG) u 1964 drivers/scsi/lpfc/lpfc_mbox.c sli4_cfg = &mbox->u.mqe.un.sli4_config; u 1968 drivers/scsi/lpfc/lpfc_mbox.c cfg_shdr = &mbox->u.mqe.un.sli4_config.header.cfg_shdr; u 1995 drivers/scsi/lpfc/lpfc_mbox.c if (mbox->u.mb.mbxCommand != MBX_SLI4_CONFIG) u 1997 drivers/scsi/lpfc/lpfc_mbox.c sli4_cfg = &mbox->u.mqe.un.sli4_config; u 2001 drivers/scsi/lpfc/lpfc_mbox.c cfg_shdr = &mbox->u.mqe.un.sli4_config.header.cfg_shdr; u 2061 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_read_fcf_tbl_indx, &read_fcf->u.request, fcf_index); u 2081 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mboxq->u.mqe, MBX_SLI4_REQ_FTRS); u 2084 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_fcpi, &mboxq->u.mqe.un.req_ftrs, 1); u 2085 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_perfh, &mboxq->u.mqe.un.req_ftrs, 1); u 2089 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_dif, &mboxq->u.mqe.un.req_ftrs, 1); u 2093 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_npiv, &mboxq->u.mqe.un.req_ftrs, 1); u 2096 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_mrqp, &mboxq->u.mqe.un.req_ftrs, 1); u 2098 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_iaab, &mboxq->u.mqe.un.req_ftrs, 0); u 2099 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_iaar, &mboxq->u.mqe.un.req_ftrs, 0); u 2122 drivers/scsi/lpfc/lpfc_mbox.c init_vfi = &mbox->u.mqe.un.init_vfi; u 2123 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_INIT_VFI); u 2154 drivers/scsi/lpfc/lpfc_mbox.c reg_vfi = &mbox->u.mqe.un.reg_vfi; u 2155 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_REG_VFI); u 2230 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_INIT_VPI); u 2231 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_init_vpi_vpi, &mbox->u.mqe.un.init_vpi, u 2233 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_init_vpi_vfi, &mbox->u.mqe.un.init_vpi, u 2252 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_UNREG_VFI); u 2253 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_unreg_vfi_vfi, &mbox->u.mqe.un.unreg_vfi, u 2272 drivers/scsi/lpfc/lpfc_mbox.c mb = &mbox->u.mb; u 2310 drivers/scsi/lpfc/lpfc_mbox.c mb = &mboxq->u.mb; u 2330 drivers/scsi/lpfc/lpfc_mbox.c if (bf_get(lpfc_mqe_status, &mbox->u.mqe)) u 2366 drivers/scsi/lpfc/lpfc_mbox.c if (bf_get(lpfc_mqe_status, &mbox->u.mqe)) u 2381 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_DUMP_MEMORY); u 2383 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_LMSD); u 2385 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, phba->sli4_hba.physical_port); u 2387 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_PAGE_A2); u 2389 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_SFF_PAGE_A2_SIZE); u 2390 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mqe.un.mem_dump_type3.addr_lo = putPaddrLow(mp->phys); u 2391 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mqe.un.mem_dump_type3.addr_hi = putPaddrHigh(mp->phys); u 2437 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_DUMP_MEMORY); u 2442 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_LMSD); u 2444 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, phba->sli4_hba.physical_port); u 2446 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_PAGE_A0); u 2448 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_SFF_PAGE_A0_SIZE); u 2449 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mqe.un.mem_dump_type3.addr_lo = putPaddrLow(mp->phys); u 2450 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mqe.un.mem_dump_type3.addr_hi = putPaddrHigh(mp->phys); u 2474 drivers/scsi/lpfc/lpfc_mbox.c reg_fcfi = &mbox->u.mqe.un.reg_fcfi; u 2475 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_REG_FCFI); u 2546 drivers/scsi/lpfc/lpfc_mbox.c reg_fcfi = &mbox->u.mqe.un.reg_fcfi_mrq; u 2547 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_REG_FCFI_MRQ); u 2598 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_UNREG_FCFI); u 2599 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_unreg_fcfi, &mbox->u.mqe.un.unreg_fcfi, fcfi); u 2617 drivers/scsi/lpfc/lpfc_mbox.c resume_rpi = &mbox->u.mqe.un.resume_rpi; u 2618 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_RESUME_RPI); u 2639 drivers/scsi/lpfc/lpfc_mbox.c supp_pages = &mbox->u.mqe.un.supp_pages; u 2640 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_PORT_CAPABILITIES); u 2657 drivers/scsi/lpfc/lpfc_mbox.c sli4_params = &mbox->u.mqe.un.sli4_params; u 2658 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_PORT_CAPABILITIES); u 162 drivers/scsi/lpfc/lpfc_nportdisc.c sp->nodeName.u.wwn[0], sp->nodeName.u.wwn[1], u 163 drivers/scsi/lpfc/lpfc_nportdisc.c sp->nodeName.u.wwn[2], sp->nodeName.u.wwn[3], u 164 drivers/scsi/lpfc/lpfc_nportdisc.c sp->nodeName.u.wwn[4], sp->nodeName.u.wwn[5], u 165 drivers/scsi/lpfc/lpfc_nportdisc.c sp->nodeName.u.wwn[6], sp->nodeName.u.wwn[7]); u 303 drivers/scsi/lpfc/lpfc_nportdisc.c if (wwn_to_u64(sp->portName.u.wwn) == 0) { u 312 drivers/scsi/lpfc/lpfc_nportdisc.c if (wwn_to_u64(sp->nodeName.u.wwn) == 0) { u 322 drivers/scsi/lpfc/lpfc_nportdisc.c nlp_portwwn = wwn_to_u64(ndlp->nlp_portname.u.wwn); u 379 drivers/scsi/lpfc/lpfc_nportdisc.c nlp_portwwn != wwn_to_u64(sp->portName.u.wwn)) u 386 drivers/scsi/lpfc/lpfc_nportdisc.c wwn_to_u64(sp->portName.u.wwn)); u 941 drivers/scsi/lpfc/lpfc_nportdisc.c (!pmb->u.mb.mbxStatus)) { u 942 drivers/scsi/lpfc/lpfc_nportdisc.c rpi = pmb->u.mb.un.varWords[0]; u 1185 drivers/scsi/lpfc/lpfc_nportdisc.c (wwn_to_u64(sp->portName.u.wwn) == 0 || u 1186 drivers/scsi/lpfc/lpfc_nportdisc.c wwn_to_u64(sp->nodeName.u.wwn) == 0)) { u 1363 drivers/scsi/lpfc/lpfc_nportdisc.c MAILBOX_t *mb = &pmb->u.mb; u 1370 drivers/scsi/lpfc/lpfc_nportdisc.c rpi = pmb->u.mb.un.varWords[0]; u 1678 drivers/scsi/lpfc/lpfc_nportdisc.c if ((mb->u.mb.mbxCommand == MBX_REG_LOGIN64) && u 1689 drivers/scsi/lpfc/lpfc_nportdisc.c if ((mb->u.mb.mbxCommand == MBX_REG_LOGIN64) && u 1750 drivers/scsi/lpfc/lpfc_nportdisc.c MAILBOX_t *mb = &pmb->u.mb; u 2669 drivers/scsi/lpfc/lpfc_nportdisc.c MAILBOX_t *mb = &pmb->u.mb; u 2135 drivers/scsi/lpfc/lpfc_nvme.c nfcp_info.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); u 2136 drivers/scsi/lpfc/lpfc_nvme.c nfcp_info.port_name = wwn_to_u64(vport->fc_portname.u.wwn); u 2380 drivers/scsi/lpfc/lpfc_nvme.c rpinfo.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); u 2381 drivers/scsi/lpfc/lpfc_nvme.c rpinfo.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); u 1464 drivers/scsi/lpfc/lpfc_nvmet.c pinfo.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); u 1465 drivers/scsi/lpfc/lpfc_nvmet.c pinfo.port_name = wwn_to_u64(vport->fc_portname.u.wwn); u 1037 drivers/scsi/lpfc/lpfc_scsi.c if (phba->lpfc_injerr_wwpn.u.wwn[0] && u 4552 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_nodename.u.wwn[0], u 4553 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_nodename.u.wwn[1], u 4554 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_nodename.u.wwn[2], u 4555 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_nodename.u.wwn[3], u 4556 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_nodename.u.wwn[4], u 4557 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_nodename.u.wwn[5], u 4558 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_nodename.u.wwn[6], u 4559 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_nodename.u.wwn[7], u 4560 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_portname.u.wwn[0], u 4561 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_portname.u.wwn[1], u 4562 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_portname.u.wwn[2], u 4563 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_portname.u.wwn[3], u 4564 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_portname.u.wwn[4], u 4565 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_portname.u.wwn[5], u 4566 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_portname.u.wwn[6], u 4567 drivers/scsi/lpfc/lpfc_scsi.c ndlp->nlp_portname.u.wwn[7]); u 5520 drivers/scsi/lpfc/lpfc_scsi.c u64_to_wwn(rport->port_name, target_wwpn.u.wwn); u 5829 drivers/scsi/lpfc/lpfc_scsi.c if (((wwn_to_u64(vport_wwpn->u.wwn) == 0) || u 5832 drivers/scsi/lpfc/lpfc_scsi.c ((wwn_to_u64(target_wwpn->u.wwn) == 0) || u 1546 drivers/scsi/lpfc/lpfc_sli.c pmbox = &pmb->u.mb; u 2480 drivers/scsi/lpfc/lpfc_sli.c pmb->u.mb.mbxCommand == MBX_REG_LOGIN64 && u 2481 drivers/scsi/lpfc/lpfc_sli.c !pmb->u.mb.mbxStatus) { u 2482 drivers/scsi/lpfc/lpfc_sli.c rpi = pmb->u.mb.un.varWords[0]; u 2483 drivers/scsi/lpfc/lpfc_sli.c vpi = pmb->u.mb.un.varRegLogin.vpi; u 2494 drivers/scsi/lpfc/lpfc_sli.c if ((pmb->u.mb.mbxCommand == MBX_REG_VPI) && u 2496 drivers/scsi/lpfc/lpfc_sli.c !pmb->u.mb.mbxStatus) { u 2504 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.mbxCommand == MBX_REG_LOGIN64) { u 2511 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.mbxCommand == MBX_UNREG_LOGIN) { u 2539 drivers/scsi/lpfc/lpfc_sli.c if ((pmb->u.mb.mbxCommand == MBX_INIT_LINK) && u 2540 drivers/scsi/lpfc/lpfc_sli.c (pmb->u.mb.mbxStatus == MBXERR_SEC_NO_PERMISSION)) u 2545 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_mqe_command, &pmb->u.mqe) == MBX_SLI4_CONFIG) u 2570 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.mbxCommand == MBX_UNREG_LOGIN) { u 2650 drivers/scsi/lpfc/lpfc_sli.c pmbox = &pmb->u.mb; u 4839 drivers/scsi/lpfc/lpfc_sli.c pmbox = &pmb->u.mb; u 4967 drivers/scsi/lpfc/lpfc_sli.c pmb->u.mb.mbxCommand, pmb->u.mb.mbxStatus, 0); u 4979 drivers/scsi/lpfc/lpfc_sli.c if ((pmb->u.mb.un.varCfgPort.casabt == 1) && u 4980 drivers/scsi/lpfc/lpfc_sli.c (pmb->u.mb.un.varCfgPort.gasabt == 0)) u 4989 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.sli_mode == 3) { u 4990 drivers/scsi/lpfc/lpfc_sli.c if (!pmb->u.mb.un.varCfgPort.cMA) { u 4994 drivers/scsi/lpfc/lpfc_sli.c if (phba->max_vpi && pmb->u.mb.un.varCfgPort.gmv) { u 4996 drivers/scsi/lpfc/lpfc_sli.c phba->max_vpi = pmb->u.mb.un.varCfgPort.max_vpi; u 5004 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.gdss) { u 5006 drivers/scsi/lpfc/lpfc_sli.c phba->fips_level = pmb->u.mb.un.varCfgPort.fips_level; u 5007 drivers/scsi/lpfc/lpfc_sli.c phba->fips_spec_rev = pmb->u.mb.un.varCfgPort.fips_rev; u 5013 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.sec_err) { u 5017 drivers/scsi/lpfc/lpfc_sli.c pmb->u.mb.un.varCfgPort.sec_err); u 5019 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.gerbm) u 5021 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.gcrp) u 5028 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.gbg == 0) { u 5219 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; u 5319 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; u 5401 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), u 5427 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_mqe_command, &mboxq->u.mqe) == MBX_SLI4_CONFIG) u 5480 drivers/scsi/lpfc/lpfc_sli.c get_port_name = &mboxq->u.mqe.un.get_port_name; u 5483 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_get_port_name_lnk_type, &get_port_name->u.request, u 5492 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), u 5502 drivers/scsi/lpfc/lpfc_sli.c &get_port_name->u.response); u 5507 drivers/scsi/lpfc/lpfc_sli.c &get_port_name->u.response); u 5512 drivers/scsi/lpfc/lpfc_sli.c &get_port_name->u.response); u 5517 drivers/scsi/lpfc/lpfc_sli.c &get_port_name->u.response); u 5533 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_mqe_command, &mboxq->u.mqe) == MBX_SLI4_CONFIG) u 5641 drivers/scsi/lpfc/lpfc_sli.c rsrc_info = &mbox->u.mqe.un.rsrc_extent_info; u 5656 drivers/scsi/lpfc/lpfc_sli.c &rsrc_info->u.rsp); u 5658 drivers/scsi/lpfc/lpfc_sli.c &rsrc_info->u.rsp); u 5867 drivers/scsi/lpfc/lpfc_sli.c rsrc_ext = &mbox->u.mqe.un.alloc_rsrc_extents; u 5868 drivers/scsi/lpfc/lpfc_sli.c id_array = &rsrc_ext->u.rsp.id[0]; u 5869 drivers/scsi/lpfc/lpfc_sli.c rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, &rsrc_ext->u.rsp); u 6086 drivers/scsi/lpfc/lpfc_sli.c dealloc_rsrc = &mbox->u.mqe.un.dealloc_rsrc_extents; u 6168 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.set_feature, 1); u 6169 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.feature = LPFC_SET_UE_RECOVERY; u 6170 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.param_len = 8; u 6174 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.set_feature, 1); u 6176 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.set_feature, 1); u 6177 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.feature = LPFC_SET_MDS_DIAGS; u 6178 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.param_len = 8; u 6321 drivers/scsi/lpfc/lpfc_sli.c mb = &pmb->u.mb; u 6324 drivers/scsi/lpfc/lpfc_sli.c &pmb->u.mqe.un.ras_fwlog.header.cfg_shdr; u 6405 drivers/scsi/lpfc/lpfc_sli.c mbx_fwlog = (struct lpfc_mbx_set_ras_fwlog *)&mbox->u.mqe.un.ras_fwlog; u 6406 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_fwlog_enable, &mbx_fwlog->u.request, u 6408 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_fwlog_loglvl, &mbx_fwlog->u.request, u 6410 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_fwlog_buffcnt, &mbx_fwlog->u.request, u 6412 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_fwlog_buffsz, &mbx_fwlog->u.request, u 6419 drivers/scsi/lpfc/lpfc_sli.c mbx_fwlog->u.request.buff_fwlog[dmabuf->buffer_tag].addr_lo = u 6422 drivers/scsi/lpfc/lpfc_sli.c mbx_fwlog->u.request.buff_fwlog[dmabuf->buffer_tag].addr_hi = u 6427 drivers/scsi/lpfc/lpfc_sli.c mbx_fwlog->u.request.lwpd.addr_lo = putPaddrLow(ras_fwlog->lwpd.phys); u 6428 drivers/scsi/lpfc/lpfc_sli.c mbx_fwlog->u.request.lwpd.addr_hi = putPaddrHigh(ras_fwlog->lwpd.phys); u 6439 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mbox->u.mqe)); u 6866 drivers/scsi/lpfc/lpfc_sli.c rsrc_ext = &mbox->u.mqe.un.alloc_rsrc_extents; u 6868 drivers/scsi/lpfc/lpfc_sli.c *extnt_cnt = bf_get(lpfc_mbx_rsrc_cnt, &rsrc_ext->u.rsp); u 7084 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_host_data.param_id = LPFC_SET_HOST_OS_DRIVER_VERSION; u 7085 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_host_data.param_len = u 7087 drivers/scsi/lpfc/lpfc_sli.c snprintf(mbox->u.mqe.un.set_host_data.data, u 7209 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; u 7334 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.set_feature); u 7337 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.set_feature); u 7469 drivers/scsi/lpfc/lpfc_sli.c fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); u 7470 drivers/scsi/lpfc/lpfc_sli.c fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); u 7619 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.reg_fcfi); u 7631 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.reg_fcfi_mrq); u 7935 drivers/scsi/lpfc/lpfc_sli.c mb = &pmbox->u.mb; u 8045 drivers/scsi/lpfc/lpfc_sli.c pmbox->u.mb.mbxCommand); u 8065 drivers/scsi/lpfc/lpfc_sli.c mbx = &pmbox->u.mb; u 8076 drivers/scsi/lpfc/lpfc_sli.c pmbox->u.mb.mbxCommand, psli->sli_flag, flag); u 8088 drivers/scsi/lpfc/lpfc_sli.c pmbox->u.mb.mbxCommand, psli->sli_flag, flag); u 8107 drivers/scsi/lpfc/lpfc_sli.c pmbox->u.mb.mbxCommand, u 8119 drivers/scsi/lpfc/lpfc_sli.c pmbox->u.mb.mbxCommand, u 8172 drivers/scsi/lpfc/lpfc_sli.c pmbox->u.mb.mbxCommand, u 8394 drivers/scsi/lpfc/lpfc_sli.c pmbox->u.mb.mbxStatus = MBX_NOT_FINISHED; u 8548 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_mqe *mb = &mboxq->u.mqe; u 8563 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, u 8676 drivers/scsi/lpfc/lpfc_sli.c lpfc_idiag_mbxacc_dump_issue_mbox(phba, &mboxq->u.mb); u 8684 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, u 8704 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, u 8709 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mboxq->u.mqe), u 8721 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, u 8738 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, u 8743 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mboxq->u.mqe), u 8761 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, u 8777 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), u 8851 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; u 8890 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, u 8902 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxStatus = MBX_NOT_FINISHED; u 10616 drivers/scsi/lpfc/lpfc_sli.c pmb->u.mb.mbxStatus = MBX_NOT_FINISHED; u 12155 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_readl(phba->sli4_hba.u.if_type0.UERRLOregaddr, u 12157 drivers/scsi/lpfc/lpfc_sli.c lpfc_readl(phba->sli4_hba.u.if_type0.UERRHIregaddr, u 12183 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr, u 12194 drivers/scsi/lpfc/lpfc_sli.c readl(phba->sli4_hba.u.if_type2.ERR1regaddr); u 12196 drivers/scsi/lpfc/lpfc_sli.c readl(phba->sli4_hba.u.if_type2.ERR2regaddr); u 12498 drivers/scsi/lpfc/lpfc_sli.c pmbox = &pmb->u.mb; u 13109 drivers/scsi/lpfc/lpfc_sli.c mqe = &pmb->u.mqe; u 13110 drivers/scsi/lpfc/lpfc_sli.c pmbox = (MAILBOX_t *)&pmb->u.mqe; u 14687 drivers/scsi/lpfc/lpfc_sli.c eq_delay = &mbox->u.mqe.un.eq_delay; u 14701 drivers/scsi/lpfc/lpfc_sli.c eq_delay->u.request.eq[cnt].eq_id = eq->queue_id; u 14702 drivers/scsi/lpfc/lpfc_sli.c eq_delay->u.request.eq[cnt].phase = 0; u 14703 drivers/scsi/lpfc/lpfc_sli.c eq_delay->u.request.eq[cnt].delay_multi = dmult; u 14708 drivers/scsi/lpfc/lpfc_sli.c eq_delay->u.request.num_eq = cnt; u 14774 drivers/scsi/lpfc/lpfc_sli.c eq_create = &mbox->u.mqe.un.eq_create; u 14776 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_eq_create_num_pages, &eq_create->u.request, u 14778 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_size, &eq_create->u.request.context, u 14780 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_valid, &eq_create->u.request.context, 1); u 14786 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_autovalid, &eq_create->u.request.context, u 14792 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_delay_multi, &eq_create->u.request.context, u 14805 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_count, &eq_create->u.request.context, u 14809 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_count, &eq_create->u.request.context, u 14813 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_count, &eq_create->u.request.context, u 14817 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_count, &eq_create->u.request.context, u 14821 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_eq_context_count, &eq_create->u.request.context, u 14827 drivers/scsi/lpfc/lpfc_sli.c eq_create->u.request.page[dmabuf->buffer_tag].addr_lo = u 14829 drivers/scsi/lpfc/lpfc_sli.c eq_create->u.request.page[dmabuf->buffer_tag].addr_hi = u 14848 drivers/scsi/lpfc/lpfc_sli.c eq->queue_id = bf_get(lpfc_mbx_eq_create_q_id, &eq_create->u.response); u 14903 drivers/scsi/lpfc/lpfc_sli.c cq_create = &mbox->u.mqe.un.cq_create; u 14905 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_cq_create_num_pages, &cq_create->u.request, u 14907 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_cq_context_event, &cq_create->u.request.context, 1); u 14908 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_cq_context_valid, &cq_create->u.request.context, 1); u 14912 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_cq_create_page_size, &cq_create->u.request, u 14914 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_cq_eq_id_2, &cq_create->u.request.context, u 14916 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_cq_context_autovalid, &cq_create->u.request.context, u 14919 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_cq_eq_id, &cq_create->u.request.context, u 14927 drivers/scsi/lpfc/lpfc_sli.c cq_create->u.request.context.lpfc_cq_context_count = u 14930 drivers/scsi/lpfc/lpfc_sli.c &cq_create->u.request.context, u 14947 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_cq_context_count, &cq_create->u.request.context, u 14951 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_cq_context_count, &cq_create->u.request.context, u 14955 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_cq_context_count, &cq_create->u.request.context, u 14961 drivers/scsi/lpfc/lpfc_sli.c cq_create->u.request.page[dmabuf->buffer_tag].addr_lo = u 14963 drivers/scsi/lpfc/lpfc_sli.c cq_create->u.request.page[dmabuf->buffer_tag].addr_hi = u 14979 drivers/scsi/lpfc/lpfc_sli.c cq->queue_id = bf_get(lpfc_mbx_cq_create_q_id, &cq_create->u.response); u 14989 drivers/scsi/lpfc/lpfc_sli.c cq->queue_id = bf_get(lpfc_mbx_cq_create_q_id, &cq_create->u.response); u 15081 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, u 15084 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, cq->page_count); u 15086 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, 1); u 15088 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, 1); u 15090 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, 0); u 15092 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, numcq); u 15094 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, u 15102 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, u 15105 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, u 15121 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, LPFC_CQ_CNT_256); u 15125 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, LPFC_CQ_CNT_512); u 15129 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, LPFC_CQ_CNT_1024); u 15133 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15137 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15141 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15145 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15149 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15153 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15157 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15161 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15165 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15169 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15173 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15177 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15181 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15185 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15189 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15193 drivers/scsi/lpfc/lpfc_sli.c &cq_set->u.request, eq->queue_id); u 15214 drivers/scsi/lpfc/lpfc_sli.c cq_set->u.request.page[cnt].addr_lo = u 15216 drivers/scsi/lpfc/lpfc_sli.c cq_set->u.request.page[cnt].addr_hi = u 15236 drivers/scsi/lpfc/lpfc_sli.c rc = bf_get(lpfc_mbx_cq_create_set_base_id, &cq_set->u.response); u 15281 drivers/scsi/lpfc/lpfc_sli.c mq_create = &mbox->u.mqe.un.mq_create; u 15282 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_mq_create_num_pages, &mq_create->u.request, u 15284 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mq_context_cq_id, &mq_create->u.request.context, u 15286 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mq_context_valid, &mq_create->u.request.context, 1); u 15289 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mq_context_ring_size, &mq_create->u.request.context, u 15293 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mq_context_ring_size, &mq_create->u.request.context, u 15297 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mq_context_ring_size, &mq_create->u.request.context, u 15301 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mq_context_ring_size, &mq_create->u.request.context, u 15306 drivers/scsi/lpfc/lpfc_sli.c mq_create->u.request.page[dmabuf->buffer_tag].addr_lo = u 15308 drivers/scsi/lpfc/lpfc_sli.c mq_create->u.request.page[dmabuf->buffer_tag].addr_hi = u 15362 drivers/scsi/lpfc/lpfc_sli.c mq_create_ext = &mbox->u.mqe.un.mq_create_ext; u 15365 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request, mq->page_count); u 15367 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request, 1); u 15369 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request, 1); u 15371 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request, 1); u 15373 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request, 1); u 15375 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request, 1); u 15376 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mq_context_valid, &mq_create_ext->u.request.context, 1); u 15380 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_mq_create_ext_cq_id, &mq_create_ext->u.request, u 15383 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mq_context_cq_id, &mq_create_ext->u.request.context, u 15397 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request.context, u 15402 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request.context, u 15407 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request.context, u 15412 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.request.context, u 15418 drivers/scsi/lpfc/lpfc_sli.c mq_create_ext->u.request.page[dmabuf->buffer_tag].addr_lo = u 15420 drivers/scsi/lpfc/lpfc_sli.c mq_create_ext->u.request.page[dmabuf->buffer_tag].addr_hi = u 15425 drivers/scsi/lpfc/lpfc_sli.c &mq_create_ext->u.response); u 15432 drivers/scsi/lpfc/lpfc_sli.c mq_create = &mbox->u.mqe.un.mq_create; u 15436 drivers/scsi/lpfc/lpfc_sli.c &mq_create->u.response); u 15523 drivers/scsi/lpfc/lpfc_sli.c wq_create = &mbox->u.mqe.un.wq_create; u 15525 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_wq_create_num_pages, &wq_create->u.request, u 15527 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_wq_create_cq_id, &wq_create->u.request, u 15548 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_wq_create_wqe_count, &wq_create->u.request_1, u 15557 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.request_1, u 15562 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.request_1, u 15567 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_wq_create_dpp_req, &wq_create->u.request_1, 1); u 15569 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.request_1, u 15571 drivers/scsi/lpfc/lpfc_sli.c page = wq_create->u.request_1.page; u 15574 drivers/scsi/lpfc/lpfc_sli.c page = wq_create->u.request.page; u 15585 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_wq_create_dua, &wq_create->u.request, 1); u 15602 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.response); u 15605 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.response_1); u 15616 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.response); u 15627 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.response); u 15638 drivers/scsi/lpfc/lpfc_sli.c db_offset = wq_create->u.response.doorbell_offset; u 15658 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.response_1); u 15661 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.response_1); u 15672 drivers/scsi/lpfc/lpfc_sli.c db_offset = wq_create->u.response_1.doorbell_offset; u 15675 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.response_1); u 15677 drivers/scsi/lpfc/lpfc_sli.c &wq_create->u.response_1); u 15688 drivers/scsi/lpfc/lpfc_sli.c dpp_offset = wq_create->u.response_1.dpp_offset; u 15787 drivers/scsi/lpfc/lpfc_sli.c rq_create = &mbox->u.mqe.un.rq_create; u 15793 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15795 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.context.buffer_size = LPFC_HDR_BUF_SIZE; u 15797 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15800 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15815 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15820 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15825 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15830 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15834 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rq_context_buf_size, &rq_create->u.request.context, u 15837 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rq_context_cq_id, &rq_create->u.request.context, u 15839 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_create_num_pages, &rq_create->u.request, u 15843 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[dmabuf->buffer_tag].addr_lo = u 15845 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[dmabuf->buffer_tag].addr_hi = u 15849 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_create_dua, &rq_create->u.request, 1); u 15863 drivers/scsi/lpfc/lpfc_sli.c hrq->queue_id = bf_get(lpfc_mbx_rq_create_q_id, &rq_create->u.response); u 15871 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.response); u 15883 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.response); u 15894 drivers/scsi/lpfc/lpfc_sli.c db_offset = rq_create->u.response.doorbell_offset; u 15928 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, hrq->entry_count); u 15930 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.context.buffer_size = u 15933 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.context.buffer_size = u 15935 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rq_context_rqe_size, &rq_create->u.request.context, u 15937 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rq_context_page_size, &rq_create->u.request.context, u 15952 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15957 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15962 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15967 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15973 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15977 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 15980 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rq_context_cq_id, &rq_create->u.request.context, u 15982 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_create_num_pages, &rq_create->u.request, u 15985 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[dmabuf->buffer_tag].addr_lo = u 15987 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[dmabuf->buffer_tag].addr_hi = u 15991 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_create_dua, &rq_create->u.request, 1); u 16001 drivers/scsi/lpfc/lpfc_sli.c drq->queue_id = bf_get(lpfc_mbx_rq_create_q_id, &rq_create->u.response); u 16113 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request, u 16116 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request, (numrq * 2)); u 16117 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_create_dnb, &rq_create->u.request, u 16120 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 16123 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 16126 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 16129 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 16132 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 16135 drivers/scsi/lpfc/lpfc_sli.c &rq_create->u.request.context, u 16142 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[cnt].addr_lo = u 16144 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[cnt].addr_hi = u 16154 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[cnt].addr_lo = u 16156 drivers/scsi/lpfc/lpfc_sli.c rq_create->u.request.page[cnt].addr_hi = u 16196 drivers/scsi/lpfc/lpfc_sli.c rc = bf_get(lpfc_mbx_rq_create_q_id, &rq_create->u.response); u 16247 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_eq_destroy_q_id, &mbox->u.mqe.un.eq_destroy.u.request, u 16255 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.eq_destroy.header.cfg_shdr; u 16303 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_cq_destroy_q_id, &mbox->u.mqe.un.cq_destroy.u.request, u 16310 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.wq_create.header.cfg_shdr; u 16357 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_mq_destroy_q_id, &mbox->u.mqe.un.mq_destroy.u.request, u 16364 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.mq_destroy.header.cfg_shdr; u 16411 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_wq_destroy_q_id, &mbox->u.mqe.un.wq_destroy.u.request, u 16417 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.wq_destroy.header.cfg_shdr; u 16467 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_destroy_q_id, &mbox->u.mqe.un.rq_destroy.u.request, u 16474 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.rq_destroy.header.cfg_shdr; u 16486 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_destroy_q_id, &mbox->u.mqe.un.rq_destroy.u.request, u 16490 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.rq_destroy.header.cfg_shdr; u 16557 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.post_sgl_pages; u 18212 drivers/scsi/lpfc/lpfc_sli.c hdr_tmpl = &mboxq->u.mqe.un.hdr_tmpl; u 18428 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mboxq->u.mqe)); u 18463 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mboxq->u.mqe)); u 19025 drivers/scsi/lpfc/lpfc_sli.c redisc_fcf = &mbox->u.mqe.un.redisc_fcf_tbl; u 19100 drivers/scsi/lpfc/lpfc_sli.c redisc_fcf = &mbox->u.mqe.un.redisc_fcf_tbl; u 19167 drivers/scsi/lpfc/lpfc_sli.c mb = &pmb->u.mb; u 19229 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; u 19390 drivers/scsi/lpfc/lpfc_sli.c wr_object = (struct lpfc_mbx_wr_object *)&mbox->u.mqe.un.wr_object; u 19391 drivers/scsi/lpfc/lpfc_sli.c wr_object->u.request.write_offset = *offset; u 19392 drivers/scsi/lpfc/lpfc_sli.c sprintf((uint8_t *)wr_object->u.request.object_name, "/"); u 19393 drivers/scsi/lpfc/lpfc_sli.c wr_object->u.request.object_name[0] = u 19394 drivers/scsi/lpfc/lpfc_sli.c cpu_to_le32(wr_object->u.request.object_name[0]); u 19395 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_wr_object_eof, &wr_object->u.request, 0); u 19399 drivers/scsi/lpfc/lpfc_sli.c wr_object->u.request.bde[i].addrLow = putPaddrLow(dmabuf->phys); u 19400 drivers/scsi/lpfc/lpfc_sli.c wr_object->u.request.bde[i].addrHigh = u 19403 drivers/scsi/lpfc/lpfc_sli.c wr_object->u.request.bde[i].tus.f.bdeSize = u 19406 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_wr_object_eof, &wr_object->u.request, 1); u 19407 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_wr_object_eas, &wr_object->u.request, 1); u 19410 drivers/scsi/lpfc/lpfc_sli.c wr_object->u.request.bde[i].tus.f.bdeSize = u 19416 drivers/scsi/lpfc/lpfc_sli.c wr_object->u.request.bde_count = i; u 19417 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_wr_object_write_length, &wr_object->u.request, written); u 19431 drivers/scsi/lpfc/lpfc_sli.c &wr_object->u.response); u 19468 drivers/scsi/lpfc/lpfc_sli.c *offset += wr_object->u.response.actual_write_length; u 19499 drivers/scsi/lpfc/lpfc_sli.c if ((mb->u.mb.mbxCommand != MBX_REG_LOGIN64) && u 19500 drivers/scsi/lpfc/lpfc_sli.c (mb->u.mb.mbxCommand != MBX_REG_VPI)) u 19509 drivers/scsi/lpfc/lpfc_sli.c if ((mb->u.mb.mbxCommand == MBX_REG_LOGIN64) || u 19510 drivers/scsi/lpfc/lpfc_sli.c (mb->u.mb.mbxCommand == MBX_REG_VPI)) u 19512 drivers/scsi/lpfc/lpfc_sli.c if (mb->u.mb.mbxCommand == MBX_REG_LOGIN64) { u 19532 drivers/scsi/lpfc/lpfc_sli.c if ((mb->u.mb.mbxCommand != MBX_REG_LOGIN64) && u 19533 drivers/scsi/lpfc/lpfc_sli.c (mb->u.mb.mbxCommand != MBX_REG_VPI)) u 19537 drivers/scsi/lpfc/lpfc_sli.c if (mb->u.mb.mbxCommand == MBX_REG_LOGIN64) { u 19557 drivers/scsi/lpfc/lpfc_sli.c if (mb->u.mb.mbxCommand == MBX_REG_LOGIN64) { u 151 drivers/scsi/lpfc/lpfc_sli.h } u; u 769 drivers/scsi/lpfc/lpfc_sli4.h } u; u 129 drivers/scsi/lpfc/lpfc_vport.c mb = &pmb->u.mb; u 189 drivers/scsi/lpfc/lpfc_vport.c if (!((wwn->u.wwn[0] >> 4) == 1 && u 190 drivers/scsi/lpfc/lpfc_vport.c ((wwn->u.wwn[0] & 0xf) != 0 || (wwn->u.wwn[1] & 0xf) != 0))) u 197 drivers/scsi/lpfc/lpfc_vport.c wwn->u.wwn[0], wwn->u.wwn[1], u 198 drivers/scsi/lpfc/lpfc_vport.c wwn->u.wwn[2], wwn->u.wwn[3], u 199 drivers/scsi/lpfc/lpfc_vport.c wwn->u.wwn[4], wwn->u.wwn[5], u 200 drivers/scsi/lpfc/lpfc_vport.c wwn->u.wwn[6], wwn->u.wwn[7]); u 373 drivers/scsi/lpfc/lpfc_vport.c u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn); u 374 drivers/scsi/lpfc/lpfc_vport.c u64_to_wwn(fc_vport->port_name, vport->fc_portname.u.wwn); u 376 drivers/scsi/lpfc/lpfc_vport.c memcpy(&vport->fc_sparam.portName, vport->fc_portname.u.wwn, 8); u 377 drivers/scsi/lpfc/lpfc_vport.c memcpy(&vport->fc_sparam.nodeName, vport->fc_nodename.u.wwn, 8); u 801 drivers/scsi/megaraid/megaraid_sas.h } u; u 4927 drivers/scsi/megaraid/megaraid_sas_base.c if (ci->host_device_list[i].flags.u.bits.is_sys_pd) { u 8620 drivers/scsi/megaraid/megaraid_sas_base.c if (targetid_entry->flags.u.bits.is_sys_pd) { u 277 drivers/scsi/megaraid/megaraid_sas_fusion.c u64 req_data = (((u64)le32_to_cpu(req_desc->u.high) << 32) | u 278 drivers/scsi/megaraid/megaraid_sas_fusion.c le32_to_cpu(req_desc->u.low)); u 283 drivers/scsi/megaraid/megaraid_sas_fusion.c writel(le32_to_cpu(req_desc->u.low), u 285 drivers/scsi/megaraid/megaraid_sas_fusion.c writel(le32_to_cpu(req_desc->u.high), u 304 drivers/scsi/megaraid/megaraid_sas_fusion.c writel(le32_to_cpu(req_desc->u.low), u 1192 drivers/scsi/megaraid/megaraid_sas_fusion.c req_desc.u.low = cpu_to_le32(lower_32_bits(cmd->frame_phys_addr)); u 1193 drivers/scsi/megaraid/megaraid_sas_fusion.c req_desc.u.high = cpu_to_le32(upper_32_bits(cmd->frame_phys_addr)); u 3552 drivers/scsi/megaraid/megaraid_sas_fusion.c while (d_val.u.low != cpu_to_le32(UINT_MAX) && u 3553 drivers/scsi/megaraid/megaraid_sas_fusion.c d_val.u.high != cpu_to_le32(UINT_MAX)) { u 188 drivers/scsi/megaraid/megaraid_sas_fusion.h } u; u 207 drivers/scsi/megaraid/megaraid_sas_fusion.h rctx_g35->u.bytes[0] = (u8)(sge_count & NUM_SGE_MASK_LOWER); u 208 drivers/scsi/megaraid/megaraid_sas_fusion.h rctx_g35->u.bytes[1] |= (u8)((sge_count >> NUM_SGE_SHIFT_UPPER) u 216 drivers/scsi/megaraid/megaraid_sas_fusion.h sge_count = (u16)(((rctx_g35->u.bytes[1] & NUM_SGE_MASK_UPPER) u 217 drivers/scsi/megaraid/megaraid_sas_fusion.h << NUM_SGE_SHIFT_UPPER) | (rctx_g35->u.bytes[0])); u 222 drivers/scsi/megaraid/megaraid_sas_fusion.h (rctx_g35.u.bytes[1] |= STREAM_DETECT_MASK) u 225 drivers/scsi/megaraid/megaraid_sas_fusion.h (rctx_g35.u.bytes[1] &= ~(STREAM_DETECT_MASK)) u 229 drivers/scsi/megaraid/megaraid_sas_fusion.h return ((rctx_g35->u.bytes[1] & STREAM_DETECT_MASK)); u 330 drivers/scsi/megaraid/megaraid_sas_fusion.h } u; u 348 drivers/scsi/megaraid/megaraid_sas_fusion.h } u; u 598 drivers/scsi/megaraid/megaraid_sas_fusion.h } u; u 1077 drivers/scsi/megaraid/megaraid_sas_fusion.h } u; u 1348 drivers/scsi/megaraid/megaraid_sas_fusion.h } u; u 883 drivers/scsi/mpt3sas/mpi/mpi2.h } u; u 916 drivers/scsi/mpt3sas/mpi/mpi2.h } u; u 980 drivers/scsi/mpt3sas/mpi/mpi2.h } u; u 995 drivers/scsi/mpt3sas/mpi/mpi2.h } u; u 1007 drivers/scsi/mpt3sas/mpi/mpi2.h } u; u 1022 drivers/scsi/mpt3sas/mpi/mpi2.h } u; u 1180 drivers/scsi/mpt3sas/mpi/mpi2.h } u; u 1407 drivers/scsi/mpt3sas/mpt3sas_base.c } u; u 1457 drivers/scsi/mpt3sas/mpt3sas_base.c if (rd.u.low == UINT_MAX || rd.u.high == UINT_MAX) u 1149 drivers/scsi/mpt3sas/mpt3sas_ctl.c karg.pci_information.u.bits.bus = ioc->pdev->bus->number; u 1150 drivers/scsi/mpt3sas/mpt3sas_ctl.c karg.pci_information.u.bits.device = PCI_SLOT(ioc->pdev->devfn); u 1151 drivers/scsi/mpt3sas/mpt3sas_ctl.c karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn); u 134 drivers/scsi/mpt3sas/mpt3sas_ctl.h } u; u 195 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.master.MasterData = trigger_bitmask; u 279 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.event.EventValue = event; u 280 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.event.LogEntryQualifier = log_entry_qualifier; u 354 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.scsi.SenseKey = sense_key; u 355 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.scsi.ASC = asc; u 356 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.scsi.ASCQ = ascq; u 427 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.mpi.IOCStatus = ioc_status; u 428 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c event_data.u.mpi.IocLogInfo = loginfo; u 192 drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h } u; u 170 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.disable_phy = phy_cfg_tmp.u.disable_phy; u 171 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.sas_support = 1; u 172 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.sata_support = 1; u 173 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.sata_host_mode = 1; u 178 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.speed_support = 1; u 179 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.snw_3_support = 0; u 180 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.tx_lnk_parity = 1; u 181 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.tx_spt_phs_lnk_rate = 0x30; u 186 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.speed_support = 3; u 187 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.tx_spt_phs_lnk_rate = 0x3c; u 188 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.tx_lgcl_lnk_rate = 0x08; u 193 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.speed_support = 7; u 194 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.snw_3_support = 1; u 195 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.tx_lnk_parity = 1; u 196 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.tx_spt_phs_lnk_rate = 0x3f; u 197 drivers/scsi/mvsas/mv_94xx.c phy_cfg.u.tx_lgcl_lnk_rate = 0x09; u 204 drivers/scsi/mvsas/mv_94xx.h } u; u 1031 drivers/scsi/myrs.h } u; u 1033 drivers/scsi/myrs.h u.wq = addr; u 1035 drivers/scsi/myrs.h writel(u.wl[0], write_address); u 1036 drivers/scsi/myrs.h writel(u.wl[1], write_address + 4); u 789 drivers/scsi/ncr53c8xx.c int c, h, t, u, v; u 795 drivers/scsi/ncr53c8xx.c u = NO_LUN; u 802 drivers/scsi/ncr53c8xx.c u = ALL_LUNS; u 807 drivers/scsi/ncr53c8xx.c u = ALL_LUNS; u 810 drivers/scsi/ncr53c8xx.c if (u != lun) u 811 drivers/scsi/ncr53c8xx.c u = (lun == v) ? v : NO_LUN; u 816 drivers/scsi/ncr53c8xx.c (u == ALL_LUNS || u == lun)) u 821 drivers/scsi/ncr53c8xx.c u = ALL_LUNS; u 1023 drivers/scsi/pmcraid.c add_data.u.ioadl[0])); u 1029 drivers/scsi/pmcraid.c ioadl = &(ioarcb->add_data.u.ioadl[0]); u 1160 drivers/scsi/pmcraid.c add_data.u.ioadl[0])); u 1162 drivers/scsi/pmcraid.c ioadl = ioarcb->add_data.u.ioadl; u 2424 drivers/scsi/pmcraid.c struct pmcraid_ioadl_desc *ioadl = ioarcb->add_data.u.ioadl; u 2449 drivers/scsi/pmcraid.c add_data.u.ioadl[0])); u 2524 drivers/scsi/pmcraid.c ioasa->u.vset.failing_lba_hi != 0) { u 2536 drivers/scsi/pmcraid.c failing_lba = le32_to_cpu(ioasa->u.vset.failing_lba_hi); u 2543 drivers/scsi/pmcraid.c failing_lba = le32_to_cpu(ioasa->u.vset.failing_lba_lo); u 2558 drivers/scsi/pmcraid.c le32_to_cpu(ioasa->u. u 3107 drivers/scsi/pmcraid.c if ((sgcount + ioadl_count) > (ARRAY_SIZE(ioarcb->add_data.u.ioadl))) { u 3117 drivers/scsi/pmcraid.c add_data.u.ioadl[3])); u 3118 drivers/scsi/pmcraid.c ioadl = &ioarcb->add_data.u.ioadl[3]; u 3123 drivers/scsi/pmcraid.c add_data.u.ioadl[ioadl_count])); u 3125 drivers/scsi/pmcraid.c ioadl = &ioarcb->add_data.u.ioadl[ioadl_count]; u 3679 drivers/scsi/pmcraid.c memcpy(ioarcb->add_data.u.add_cmd_params, u 3680 drivers/scsi/pmcraid.c buffer->ioarcb.add_data.u.add_cmd_params, u 5448 drivers/scsi/pmcraid.c add_data.u.ioadl[0])); u 5456 drivers/scsi/pmcraid.c ioadl = &(ioarcb->add_data.u.ioadl[0]); u 5625 drivers/scsi/pmcraid.c add_data.u.ioadl[0])); u 5633 drivers/scsi/pmcraid.c ioadl = &(ioarcb->add_data.u.ioadl[0]); u 221 drivers/scsi/pmcraid.h } u; u 296 drivers/scsi/pmcraid.h } u; u 390 drivers/scsi/pmcraid.h } u; u 17 drivers/scsi/qla2xxx/qla_bsg.c struct bsg_job *bsg_job = sp->u.bsg_job; u 29 drivers/scsi/qla2xxx/qla_bsg.c struct bsg_job *bsg_job = sp->u.bsg_job; u 379 drivers/scsi/qla2xxx/qla_bsg.c sp->u.bsg_job = bsg_job; u 526 drivers/scsi/qla2xxx/qla_bsg.c sp->u.bsg_job = bsg_job; u 1165 drivers/scsi/qla2xxx/qla_bsg.c ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); u 1170 drivers/scsi/qla2xxx/qla_bsg.c cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type); u 1174 drivers/scsi/qla2xxx/qla_bsg.c ql84_mgmt->mgmt.mgmtp.u.info.context); u 1216 drivers/scsi/qla2xxx/qla_bsg.c cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); u 1222 drivers/scsi/qla2xxx/qla_bsg.c cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id); u 1225 drivers/scsi/qla2xxx/qla_bsg.c cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0); u 1228 drivers/scsi/qla2xxx/qla_bsg.c cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1); u 1907 drivers/scsi/qla2xxx/qla_bsg.c sp->u.bsg_job = bsg_job; u 2033 drivers/scsi/qla2xxx/qla_bsg.c sp->u.bsg_job = bsg_job; u 2590 drivers/scsi/qla2xxx/qla_bsg.c && (sp->u.bsg_job == bsg_job)) { u 142 drivers/scsi/qla2xxx/qla_bsg.h } u; u 404 drivers/scsi/qla2xxx/qla_dbg.c stat = RD_REG_DWORD(®->u.isp2300.host_status); u 456 drivers/scsi/qla2xxx/qla_dbg.c uint16_t __iomem *dmp_reg = ®->u.isp2300.fb_cmd; u 782 drivers/scsi/qla2xxx/qla_dbg.c dmp_reg = ®->u.isp2300.req_q_in; u 787 drivers/scsi/qla2xxx/qla_dbg.c dmp_reg = ®->u.isp2300.mailbox0; u 948 drivers/scsi/qla2xxx/qla_dbg.c dmp_reg = ®->u.isp2100.mailbox0; u 956 drivers/scsi/qla2xxx/qla_dbg.c dmp_reg = ®->u.isp2100.unused_2[0]; u 550 drivers/scsi/qla2xxx/qla_def.h } u; u 621 drivers/scsi/qla2xxx/qla_def.h } u; u 637 drivers/scsi/qla2xxx/qla_def.h #define GET_CMD_SP(sp) (sp->u.scmd.cmd) u 640 drivers/scsi/qla2xxx/qla_def.h (sp->u.scmd.request_sense_length) u 642 drivers/scsi/qla2xxx/qla_def.h (sp->u.scmd.request_sense_length = len) u 644 drivers/scsi/qla2xxx/qla_def.h (sp->u.scmd.request_sense_ptr) u 646 drivers/scsi/qla2xxx/qla_def.h (sp->u.scmd.request_sense_ptr = ptr) u 648 drivers/scsi/qla2xxx/qla_def.h (sp->u.scmd.fw_sense_length) u 650 drivers/scsi/qla2xxx/qla_def.h (sp->u.scmd.fw_sense_length = len) u 757 drivers/scsi/qla2xxx/qla_def.h } u; u 899 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2100.mailbox4 : \ u 900 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2300.req_q_in) u 903 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2100.mailbox4 : \ u 904 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2300.req_q_out) u 907 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2100.mailbox5 : \ u 908 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2300.rsp_q_in) u 911 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2100.mailbox5 : \ u 912 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2300.rsp_q_out) u 920 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2100.mailbox0 + (num) : \ u 922 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2300.mailbox0 + (num)) u 931 drivers/scsi/qla2xxx/qla_def.h &(reg)->u.isp2300.fb_cmd) u 1945 drivers/scsi/qla2xxx/qla_def.h } u; u 2252 drivers/scsi/qla2xxx/qla_def.h } u; u 2260 drivers/scsi/qla2xxx/qla_def.h } u; u 3344 drivers/scsi/qla2xxx/qla_def.h } u; u 1400 drivers/scsi/qla2xxx/qla_fw.h } u; u 517 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; u 531 drivers/scsi/qla2xxx/qla_gs.c del_timer(&sp->u.iocb_cmd.timer); u 532 drivers/scsi/qla2xxx/qla_gs.c e->u.iosb.sp = sp; u 542 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.req) { u 544 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size, u 545 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req, u 546 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma); u 547 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = NULL; u 550 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.rsp) { u 552 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, u 553 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp, u 554 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma); u 555 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = NULL; u 563 drivers/scsi/qla2xxx/qla_gs.c e->u.iosb.sp = sp; u 602 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, u 603 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, u 605 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); u 606 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.req) { u 613 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, u 614 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, u 616 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); u 617 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.rsp) { u 623 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; u 625 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; u 637 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = RFT_ID_REQ_SIZE; u 638 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = RFT_ID_RSP_SIZE; u 639 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 640 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 698 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, u 699 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, u 701 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); u 702 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.req) { u 709 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, u 710 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, u 712 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); u 713 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.rsp) { u 719 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; u 721 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; u 731 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = RFF_ID_REQ_SIZE; u 732 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = RFF_ID_RSP_SIZE; u 733 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 734 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 789 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, u 790 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, u 792 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); u 793 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.req) { u 800 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, u 801 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, u 803 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); u 804 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.rsp) { u 810 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; u 812 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; u 821 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = RNN_ID_REQ_SIZE; u 822 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = RNN_ID_RSP_SIZE; u 823 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 825 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 897 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, u 898 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, u 900 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); u 901 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.req) { u 908 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, u 909 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, u 911 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); u 912 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.rsp) { u 918 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; u 920 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; u 935 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = 24 + 1 + ct_req->req.rsnn_nn.name_len; u 936 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = RSNN_NN_RSP_SIZE; u 937 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 939 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 2960 drivers/scsi/qla2xxx/qla_gs.c e->u.fcport.fcport = fcport; u 3071 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = fcport->ct_desc.ct_sns; u 3072 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma = fcport->ct_desc.ct_sns_dma; u 3073 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = fcport->ct_desc.ct_sns; u 3074 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma = fcport->ct_desc.ct_sns_dma; u 3075 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = GPSC_REQ_SIZE; u 3076 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = GPSC_RSP_SIZE; u 3077 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = vha->mgmt_svr_loop_id; u 3079 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 3113 drivers/scsi/qla2xxx/qla_gs.c e->u.gpnid.id = *id; u 3119 drivers/scsi/qla2xxx/qla_gs.c struct srb_iocb *c = &sp->u.iocb_cmd; u 3123 drivers/scsi/qla2xxx/qla_gs.c qla2x00_els_dcmd2_free(vha, &c->u.els_plogi); u 3127 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.req) { u 3129 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size, u 3130 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req, u 3131 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma); u 3132 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = NULL; u 3135 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.rsp) { u 3137 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, u 3138 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp, u 3139 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma); u 3140 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = NULL; u 3253 drivers/scsi/qla2xxx/qla_gs.c (struct ct_sns_req *)sp->u.iocb_cmd.u.ctarg.req; u 3255 drivers/scsi/qla2xxx/qla_gs.c (struct ct_sns_rsp *)sp->u.iocb_cmd.u.ctarg.rsp; u 3300 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size, u 3301 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req, u 3302 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma); u 3303 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = NULL; u 3306 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, u 3307 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp, u 3308 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma); u 3309 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = NULL; u 3315 drivers/scsi/qla2xxx/qla_gs.c e->u.iosb.sp = sp; u 3337 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.id = *id; u 3343 drivers/scsi/qla2xxx/qla_gs.c if (tsp->u.iocb_cmd.u.ctarg.id.b24 == id->b24) { u 3353 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, u 3354 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.req_dma, u 3356 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); u 3357 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.req) { u 3363 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, u 3364 drivers/scsi/qla2xxx/qla_gs.c sizeof(struct ct_sns_pkt), &sp->u.iocb_cmd.u.ctarg.rsp_dma, u 3366 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = sizeof(struct ct_sns_pkt); u 3367 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.rsp) { u 3373 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.rsp; u 3376 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; u 3383 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = GPN_ID_REQ_SIZE; u 3384 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = GPN_ID_RSP_SIZE; u 3385 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 3387 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 3405 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.req) { u 3408 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req, u 3409 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma); u 3410 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = NULL; u 3412 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.rsp) { u 3415 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp, u 3416 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma); u 3417 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = NULL; u 3495 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 3506 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = fcport->ct_desc.ct_sns; u 3507 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma = fcport->ct_desc.ct_sns_dma; u 3508 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = fcport->ct_desc.ct_sns; u 3509 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma = fcport->ct_desc.ct_sns_dma; u 3510 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = GFF_ID_REQ_SIZE; u 3511 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = GFF_ID_RSP_SIZE; u 3512 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 3738 drivers/scsi/qla2xxx/qla_gs.c e->u.iosb.sp = sp; u 3755 drivers/scsi/qla2xxx/qla_gs.c e->u.gpnft.fc4_type = FC4_TYPE_NVME; u 3756 drivers/scsi/qla2xxx/qla_gs.c e->u.gpnft.sp = sp; u 3767 drivers/scsi/qla2xxx/qla_gs.c (struct ct_sns_req *)sp->u.iocb_cmd.u.ctarg.req; u 3769 drivers/scsi/qla2xxx/qla_gs.c (struct ct_sns_gpnft_rsp *)sp->u.iocb_cmd.u.ctarg.rsp; u 3861 drivers/scsi/qla2xxx/qla_gs.c (struct ct_sns_req *)sp->u.iocb_cmd.u.ctarg.req; u 3872 drivers/scsi/qla2xxx/qla_gs.c del_timer(&sp->u.iocb_cmd.timer); u 3962 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.req || !sp->u.iocb_cmd.u.ctarg.rsp) { u 3965 drivers/scsi/qla2xxx/qla_gs.c __func__, sp->u.iocb_cmd.u.ctarg.req, u 3966 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp); u 3978 drivers/scsi/qla2xxx/qla_gs.c __func__, fc4_type, sp->name, sp->u.iocb_cmd.u.ctarg.rsp_size, u 3979 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size); u 3986 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 3989 drivers/scsi/qla2xxx/qla_gs.c memset(sp->u.iocb_cmd.u.ctarg.rsp, 0, sp->u.iocb_cmd.u.ctarg.rsp_size); u 3990 drivers/scsi/qla2xxx/qla_gs.c memset(sp->u.iocb_cmd.u.ctarg.req, 0, sp->u.iocb_cmd.u.ctarg.req_size); u 3992 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; u 3995 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size); u 4000 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = GNN_FT_REQ_SIZE; u 4001 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 4017 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.req) { u 4019 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size, u 4020 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req, u 4021 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma); u 4022 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = NULL; u 4024 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.rsp) { u 4026 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, u 4027 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp, u 4028 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma); u 4029 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = NULL; u 4094 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = dma_alloc_coherent(&vha->hw->pdev->dev, u 4096 drivers/scsi/qla2xxx/qla_gs.c &sp->u.iocb_cmd.u.ctarg.req_dma, u 4098 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size = sizeof(struct ct_sns_pkt); u 4099 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.req) { u 4108 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = GPN_FT_REQ_SIZE; u 4114 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = dma_alloc_coherent(&vha->hw->pdev->dev, u 4116 drivers/scsi/qla2xxx/qla_gs.c &sp->u.iocb_cmd.u.ctarg.rsp_dma, u 4118 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size = rspsz; u 4119 drivers/scsi/qla2xxx/qla_gs.c if (!sp->u.iocb_cmd.u.ctarg.rsp) { u 4126 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size, u 4127 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req, u 4128 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma); u 4129 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = NULL; u 4133 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = rspsz; u 4150 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 4153 drivers/scsi/qla2xxx/qla_gs.c rspsz = sp->u.iocb_cmd.u.ctarg.rsp_size; u 4154 drivers/scsi/qla2xxx/qla_gs.c memset(sp->u.iocb_cmd.u.ctarg.rsp, 0, sp->u.iocb_cmd.u.ctarg.rsp_size); u 4155 drivers/scsi/qla2xxx/qla_gs.c memset(sp->u.iocb_cmd.u.ctarg.req, 0, sp->u.iocb_cmd.u.ctarg.req_size); u 4157 drivers/scsi/qla2xxx/qla_gs.c ct_sns = (struct ct_sns_pkt *)sp->u.iocb_cmd.u.ctarg.req; u 4164 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 4180 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.req) { u 4182 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_allocated_size, u 4183 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req, u 4184 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma); u 4185 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = NULL; u 4187 drivers/scsi/qla2xxx/qla_gs.c if (sp->u.iocb_cmd.u.ctarg.rsp) { u 4189 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_allocated_size, u 4190 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp, u 4191 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma); u 4192 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = NULL; u 4282 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 4294 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = fcport->ct_desc.ct_sns; u 4295 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma = fcport->ct_desc.ct_sns_dma; u 4296 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = fcport->ct_desc.ct_sns; u 4297 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma = fcport->ct_desc.ct_sns_dma; u 4298 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = GNN_ID_REQ_SIZE; u 4299 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = GNN_ID_RSP_SIZE; u 4300 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 4335 drivers/scsi/qla2xxx/qla_gs.c e->u.fcport.fcport = fcport; u 4410 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 4422 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req = fcport->ct_desc.ct_sns; u 4423 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_dma = fcport->ct_desc.ct_sns_dma; u 4424 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp = fcport->ct_desc.ct_sns; u 4425 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_dma = fcport->ct_desc.ct_sns_dma; u 4426 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.req_size = GFPN_ID_REQ_SIZE; u 4427 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.rsp_size = GFPN_ID_RSP_SIZE; u 4428 drivers/scsi/qla2xxx/qla_gs.c sp->u.iocb_cmd.u.ctarg.nport_handle = NPH_SNS; u 4464 drivers/scsi/qla2xxx/qla_gs.c e->u.fcport.fcport = fcport; u 51 drivers/scsi/qla2xxx/qla_init.c srb_t *sp = from_timer(sp, t, u.iocb_cmd.timer); u 61 drivers/scsi/qla2xxx/qla_init.c iocb = &sp->u.iocb_cmd; u 68 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *iocb = &sp->u.iocb_cmd; u 99 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *abt = &sp->u.iocb_cmd; u 131 drivers/scsi/qla2xxx/qla_init.c abt->u.abt.comp_status = CS_TIMEOUT; u 137 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *abt = &sp->u.iocb_cmd; u 139 drivers/scsi/qla2xxx/qla_init.c del_timer(&sp->u.iocb_cmd.timer); u 141 drivers/scsi/qla2xxx/qla_init.c complete(&abt->u.abt.comp); u 158 drivers/scsi/qla2xxx/qla_init.c abt_iocb = &sp->u.iocb_cmd; u 167 drivers/scsi/qla2xxx/qla_init.c init_completion(&abt_iocb->u.abt.comp); u 171 drivers/scsi/qla2xxx/qla_init.c abt_iocb->u.abt.cmd_hndl = cmd_sp->handle; u 172 drivers/scsi/qla2xxx/qla_init.c abt_iocb->u.abt.req_que_no = cpu_to_le16(cmd_sp->qpair->req->id); u 187 drivers/scsi/qla2xxx/qla_init.c wait_for_completion(&abt_iocb->u.abt.comp); u 188 drivers/scsi/qla2xxx/qla_init.c rval = abt_iocb->u.abt.comp_status == CS_COMPLETE ? u 201 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 221 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.data[0] = MBS_COMMAND_ERROR; u 222 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.data[1] = u 223 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.flags & SRB_LOGIN_RETRIED ? u 272 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 283 drivers/scsi/qla2xxx/qla_init.c ea.data[0] = lio->u.logio.data[0]; u 284 drivers/scsi/qla2xxx/qla_init.c ea.data[1] = lio->u.logio.data[1]; u 285 drivers/scsi/qla2xxx/qla_init.c ea.iop[0] = lio->u.logio.iop[0]; u 286 drivers/scsi/qla2xxx/qla_init.c ea.iop[1] = lio->u.logio.iop[1]; u 339 drivers/scsi/qla2xxx/qla_init.c lio = &sp->u.iocb_cmd; u 345 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.flags |= SRB_LOGIN_PRLI_ONLY; u 347 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.flags |= SRB_LOGIN_COND_PLOGI; u 350 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.flags |= SRB_LOGIN_SKIP_PRLI; u 398 drivers/scsi/qla2xxx/qla_init.c lio = &sp->u.iocb_cmd; u 435 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 441 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.data); u 460 drivers/scsi/qla2xxx/qla_init.c lio = &sp->u.iocb_cmd; u 535 drivers/scsi/qla2xxx/qla_init.c e->u.fcport.fcport = fcport; u 545 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 555 drivers/scsi/qla2xxx/qla_init.c ea.data[0] = lio->u.logio.data[0]; u 556 drivers/scsi/qla2xxx/qla_init.c ea.data[1] = lio->u.logio.data[1]; u 557 drivers/scsi/qla2xxx/qla_init.c ea.iop[0] = lio->u.logio.iop[0]; u 558 drivers/scsi/qla2xxx/qla_init.c ea.iop[1] = lio->u.logio.iop[1]; u 586 drivers/scsi/qla2xxx/qla_init.c lio = &sp->u.iocb_cmd; u 594 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.flags |= SRB_LOGIN_RETRIED; u 979 drivers/scsi/qla2xxx/qla_init.c sp->name, res, sp->u.iocb_cmd.u.mbx.in_mb[1], u 980 drivers/scsi/qla2xxx/qla_init.c sp->u.iocb_cmd.u.mbx.in_mb[2]); u 990 drivers/scsi/qla2xxx/qla_init.c if (sp->u.iocb_cmd.u.mbx.in_mb[1] >= u 992 drivers/scsi/qla2xxx/qla_init.c n = sp->u.iocb_cmd.u.mbx.in_mb[1] / u 994 drivers/scsi/qla2xxx/qla_init.c ea.data[0] = sp->u.iocb_cmd.u.mbx.in_mb[1]; /* amnt xfered */ u 1106 drivers/scsi/qla2xxx/qla_init.c mbx = &sp->u.iocb_cmd; u 1110 drivers/scsi/qla2xxx/qla_init.c mb = sp->u.iocb_cmd.u.mbx.out_mb; u 1147 drivers/scsi/qla2xxx/qla_init.c e->u.fcport.fcport = fcport; u 1157 drivers/scsi/qla2xxx/qla_init.c u16 *mb = sp->u.iocb_cmd.u.mbx.in_mb; u 1176 drivers/scsi/qla2xxx/qla_init.c dma_pool_free(ha->s_dma_pool, sp->u.iocb_cmd.u.mbx.in, u 1177 drivers/scsi/qla2xxx/qla_init.c sp->u.iocb_cmd.u.mbx.in_dma); u 1190 drivers/scsi/qla2xxx/qla_init.c e->u.fcport.fcport = fcport; u 1198 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 1210 drivers/scsi/qla2xxx/qla_init.c ea.data[0] = lio->u.logio.data[0]; u 1211 drivers/scsi/qla2xxx/qla_init.c ea.data[1] = lio->u.logio.data[1]; u 1212 drivers/scsi/qla2xxx/qla_init.c ea.iop[0] = lio->u.logio.iop[0]; u 1213 drivers/scsi/qla2xxx/qla_init.c ea.iop[1] = lio->u.logio.iop[1]; u 1253 drivers/scsi/qla2xxx/qla_init.c lio = &sp->u.iocb_cmd; u 1258 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.flags = 0; u 1261 drivers/scsi/qla2xxx/qla_init.c lio->u.logio.flags |= SRB_LOGIN_NVME_PRLI; u 1291 drivers/scsi/qla2xxx/qla_init.c e->u.fcport.fcport = fcport; u 1292 drivers/scsi/qla2xxx/qla_init.c e->u.fcport.opt = opt; u 1327 drivers/scsi/qla2xxx/qla_init.c mbx = &sp->u.iocb_cmd; u 1338 drivers/scsi/qla2xxx/qla_init.c mb = sp->u.iocb_cmd.u.mbx.out_mb; u 1348 drivers/scsi/qla2xxx/qla_init.c mbx->u.mbx.in = (void *)pd; u 1349 drivers/scsi/qla2xxx/qla_init.c mbx->u.mbx.in_dma = pd_dma; u 1412 drivers/scsi/qla2xxx/qla_init.c pd = (struct port_database_24xx *)sp->u.iocb_cmd.u.mbx.in; u 1683 drivers/scsi/qla2xxx/qla_init.c e->u.new_sess.id = *id; u 1684 drivers/scsi/qla2xxx/qla_init.c e->u.new_sess.pla = pla; u 1685 drivers/scsi/qla2xxx/qla_init.c e->u.new_sess.fc4_type = fc4_type; u 1686 drivers/scsi/qla2xxx/qla_init.c memcpy(e->u.new_sess.port_name, port_name, WWN_SIZE); u 1688 drivers/scsi/qla2xxx/qla_init.c memcpy(e->u.new_sess.node_name, node_name, WWN_SIZE); u 1767 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *tmf = &sp->u.iocb_cmd; u 1769 drivers/scsi/qla2xxx/qla_init.c tmf->u.tmf.comp_status = CS_TIMEOUT; u 1770 drivers/scsi/qla2xxx/qla_init.c complete(&tmf->u.tmf.comp); u 1775 drivers/scsi/qla2xxx/qla_init.c struct srb_iocb *tmf = &sp->u.iocb_cmd; u 1777 drivers/scsi/qla2xxx/qla_init.c complete(&tmf->u.tmf.comp); u 1793 drivers/scsi/qla2xxx/qla_init.c tm_iocb = &sp->u.iocb_cmd; u 1798 drivers/scsi/qla2xxx/qla_init.c init_completion(&tm_iocb->u.tmf.comp); u 1801 drivers/scsi/qla2xxx/qla_init.c tm_iocb->u.tmf.flags = flags; u 1802 drivers/scsi/qla2xxx/qla_init.c tm_iocb->u.tmf.lun = lun; u 1803 drivers/scsi/qla2xxx/qla_init.c tm_iocb->u.tmf.data = tag; u 1814 drivers/scsi/qla2xxx/qla_init.c wait_for_completion(&tm_iocb->u.tmf.comp); u 1816 drivers/scsi/qla2xxx/qla_init.c rval = tm_iocb->u.tmf.data; u 1824 drivers/scsi/qla2xxx/qla_init.c flags = tm_iocb->u.tmf.flags; u 1825 drivers/scsi/qla2xxx/qla_init.c lun = (uint16_t)tm_iocb->u.tmf.lun; u 5319 drivers/scsi/qla2xxx/qla_init.c e->u.fcport.fcport = fcport; u 624 drivers/scsi/qla2xxx/qla_iocb.c ctx = sp->u.scmd.ct6_ctx; u 957 drivers/scsi/qla2xxx/qla_iocb.c &sp->u.scmd.crc_ctx->dsd_list); u 1054 drivers/scsi/qla2xxx/qla_iocb.c &sp->u.scmd.crc_ctx->dsd_list); u 1100 drivers/scsi/qla2xxx/qla_iocb.c difctx = sp->u.scmd.crc_ctx; u 1440 drivers/scsi/qla2xxx/qla_iocb.c crc_ctx_pkt = sp->u.scmd.crc_ctx = u 1528 drivers/scsi/qla2xxx/qla_iocb.c cur_dsd = &crc_ctx_pkt->u.nobundling.data_dsd[0]; u 1535 drivers/scsi/qla2xxx/qla_iocb.c crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes); u 1536 drivers/scsi/qla2xxx/qla_iocb.c crc_ctx_pkt->u.bundling.dseg_count = cpu_to_le16(tot_dsds - u 1538 drivers/scsi/qla2xxx/qla_iocb.c cur_dsd = &crc_ctx_pkt->u.bundling.data_dsd[0]; u 1571 drivers/scsi/qla2xxx/qla_iocb.c cur_dsd = &crc_ctx_pkt->u.bundling.dif_dsd; u 2342 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 2346 drivers/scsi/qla2xxx/qla_iocb.c if (lio->u.logio.flags & SRB_LOGIN_NVME_PRLI) { u 2362 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 2365 drivers/scsi/qla2xxx/qla_iocb.c if (lio->u.logio.flags & SRB_LOGIN_PRLI_ONLY) { u 2369 drivers/scsi/qla2xxx/qla_iocb.c if (lio->u.logio.flags & SRB_LOGIN_COND_PLOGI) u 2371 drivers/scsi/qla2xxx/qla_iocb.c if (lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI) u 2385 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 2391 drivers/scsi/qla2xxx/qla_iocb.c opts = lio->u.logio.flags & SRB_LOGIN_COND_PLOGI ? BIT_0 : 0; u 2392 drivers/scsi/qla2xxx/qla_iocb.c opts |= lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI ? BIT_1 : 0; u 2484 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *iocb = &sp->u.iocb_cmd; u 2487 drivers/scsi/qla2xxx/qla_iocb.c flags = iocb->u.tmf.flags; u 2488 drivers/scsi/qla2xxx/qla_iocb.c lun = iocb->u.tmf.lun; u 2510 drivers/scsi/qla2xxx/qla_iocb.c timer_setup(&sp->u.iocb_cmd.timer, qla2x00_sp_timeout, 0); u 2511 drivers/scsi/qla2xxx/qla_iocb.c sp->u.iocb_cmd.timer.expires = jiffies + tmo * HZ; u 2514 drivers/scsi/qla2xxx/qla_iocb.c init_completion(&sp->u.iocb_cmd.u.fxiocb.fxiocb_comp); u 2520 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *elsio = &sp->u.iocb_cmd; u 2524 drivers/scsi/qla2xxx/qla_iocb.c if (elsio->u.els_logo.els_logo_pyld) u 2526 drivers/scsi/qla2xxx/qla_iocb.c elsio->u.els_logo.els_logo_pyld, u 2527 drivers/scsi/qla2xxx/qla_iocb.c elsio->u.els_logo.els_logo_pyld_dma); u 2539 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 2546 drivers/scsi/qla2xxx/qla_iocb.c complete(&lio->u.els_logo.comp); u 2552 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 2560 drivers/scsi/qla2xxx/qla_iocb.c complete(&lio->u.els_logo.comp); u 2589 drivers/scsi/qla2xxx/qla_iocb.c elsio = &sp->u.iocb_cmd; u 2603 drivers/scsi/qla2xxx/qla_iocb.c init_completion(&sp->u.iocb_cmd.u.els_logo.comp); u 2607 drivers/scsi/qla2xxx/qla_iocb.c elsio->u.els_logo.els_logo_pyld = dma_alloc_coherent(&ha->pdev->dev, u 2608 drivers/scsi/qla2xxx/qla_iocb.c DMA_POOL_SIZE, &elsio->u.els_logo.els_logo_pyld_dma, u 2611 drivers/scsi/qla2xxx/qla_iocb.c if (!elsio->u.els_logo.els_logo_pyld) { u 2618 drivers/scsi/qla2xxx/qla_iocb.c elsio->u.els_logo.els_cmd = els_opcode; u 2626 drivers/scsi/qla2xxx/qla_iocb.c memcpy(elsio->u.els_logo.els_logo_pyld, &logo_pyld, u 2640 drivers/scsi/qla2xxx/qla_iocb.c wait_for_completion(&elsio->u.els_logo.comp); u 2650 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *elsio = &sp->u.iocb_cmd; u 2662 drivers/scsi/qla2xxx/qla_iocb.c els_iocb->opcode = elsio->u.els_logo.els_cmd; u 2672 drivers/scsi/qla2xxx/qla_iocb.c if (elsio->u.els_logo.els_cmd == ELS_DCMD_PLOGI) { u 2676 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(elsio->u.els_plogi.els_plogi_pyld_dma, u 2681 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(elsio->u.els_plogi.els_resp_pyld_dma, u 2693 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(elsio->u.els_logo.els_logo_pyld_dma, u 2748 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 2758 drivers/scsi/qla2xxx/qla_iocb.c del_timer(&sp->u.iocb_cmd.timer); u 2761 drivers/scsi/qla2xxx/qla_iocb.c complete(&lio->u.els_plogi.comp); u 2775 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *elsio = &sp->u.iocb_cmd; u 2777 drivers/scsi/qla2xxx/qla_iocb.c qla2x00_els_dcmd2_free(vha, &elsio->u.els_plogi); u 2781 drivers/scsi/qla2xxx/qla_iocb.c e->u.iosb.sp = sp; u 2804 drivers/scsi/qla2xxx/qla_iocb.c elsio = &sp->u.iocb_cmd; u 2814 drivers/scsi/qla2xxx/qla_iocb.c init_completion(&elsio->u.els_plogi.comp); u 2821 drivers/scsi/qla2xxx/qla_iocb.c elsio->u.els_plogi.tx_size = elsio->u.els_plogi.rx_size = DMA_POOL_SIZE; u 2823 drivers/scsi/qla2xxx/qla_iocb.c ptr = elsio->u.els_plogi.els_plogi_pyld = u 2825 drivers/scsi/qla2xxx/qla_iocb.c &elsio->u.els_plogi.els_plogi_pyld_dma, GFP_KERNEL); u 2827 drivers/scsi/qla2xxx/qla_iocb.c if (!elsio->u.els_plogi.els_plogi_pyld) { u 2832 drivers/scsi/qla2xxx/qla_iocb.c resp_ptr = elsio->u.els_plogi.els_resp_pyld = u 2834 drivers/scsi/qla2xxx/qla_iocb.c &elsio->u.els_plogi.els_resp_pyld_dma, GFP_KERNEL); u 2836 drivers/scsi/qla2xxx/qla_iocb.c if (!elsio->u.els_plogi.els_resp_pyld) { u 2845 drivers/scsi/qla2xxx/qla_iocb.c memcpy(elsio->u.els_plogi.els_plogi_pyld->data, u 2847 drivers/scsi/qla2xxx/qla_iocb.c sizeof(elsio->u.els_plogi.els_plogi_pyld->data)); u 2849 drivers/scsi/qla2xxx/qla_iocb.c elsio->u.els_plogi.els_cmd = els_opcode; u 2850 drivers/scsi/qla2xxx/qla_iocb.c elsio->u.els_plogi.els_plogi_pyld->opcode = els_opcode; u 2854 drivers/scsi/qla2xxx/qla_iocb.c (uint8_t *)elsio->u.els_plogi.els_plogi_pyld, u 2855 drivers/scsi/qla2xxx/qla_iocb.c sizeof(*elsio->u.els_plogi.els_plogi_pyld)); u 2868 drivers/scsi/qla2xxx/qla_iocb.c wait_for_completion(&elsio->u.els_plogi.comp); u 2870 drivers/scsi/qla2xxx/qla_iocb.c if (elsio->u.els_plogi.comp_status != CS_COMPLETE) u 2878 drivers/scsi/qla2xxx/qla_iocb.c qla2x00_els_dcmd2_free(vha, &elsio->u.els_plogi); u 2887 drivers/scsi/qla2xxx/qla_iocb.c struct bsg_job *bsg_job = sp->u.bsg_job; u 2937 drivers/scsi/qla2xxx/qla_iocb.c struct bsg_job *bsg_job = sp->u.bsg_job; u 3004 drivers/scsi/qla2xxx/qla_iocb.c struct bsg_job *bsg_job = sp->u.bsg_job; u 3194 drivers/scsi/qla2xxx/qla_iocb.c ctx = sp->u.scmd.ct6_ctx = u 3390 drivers/scsi/qla2xxx/qla_iocb.c if (sp->u.scmd.crc_ctx) { u 3391 drivers/scsi/qla2xxx/qla_iocb.c mempool_free(sp->u.scmd.crc_ctx, ha->ctx_mempool); u 3392 drivers/scsi/qla2xxx/qla_iocb.c sp->u.scmd.crc_ctx = NULL; u 3402 drivers/scsi/qla2xxx/qla_iocb.c struct srb_iocb *aio = &sp->u.iocb_cmd; u 3417 drivers/scsi/qla2xxx/qla_iocb.c cpu_to_le32(MAKE_HANDLE(aio->u.abt.req_que_no, u 3418 drivers/scsi/qla2xxx/qla_iocb.c aio->u.abt.cmd_hndl)); u 3420 drivers/scsi/qla2xxx/qla_iocb.c abt_iocb->req_que_no = cpu_to_le16(aio->u.abt.req_que_no); u 3432 drivers/scsi/qla2xxx/qla_iocb.c sz = min(ARRAY_SIZE(mbx->mb), ARRAY_SIZE(sp->u.iocb_cmd.u.mbx.out_mb)); u 3435 drivers/scsi/qla2xxx/qla_iocb.c mbx->mb[i] = cpu_to_le16(sp->u.iocb_cmd.u.mbx.out_mb[i]); u 3441 drivers/scsi/qla2xxx/qla_iocb.c sp->u.iocb_cmd.u.ctarg.iocb = ct_pkt; u 3442 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_prep_ms_iocb(sp->vha, &sp->u.iocb_cmd.u.ctarg); u 3449 drivers/scsi/qla2xxx/qla_iocb.c struct imm_ntfy_from_isp *ntfy = sp->u.iocb_cmd.u.nack.ntfy; u 3455 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.handle = sp->handle; u 3456 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; u 3457 drivers/scsi/qla2xxx/qla_iocb.c if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { u 3458 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.flags = ntfy->u.isp24.flags & u 3461 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.srr_rx_id = ntfy->u.isp24.srr_rx_id; u 3462 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.status = ntfy->u.isp24.status; u 3463 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.status_subcode = ntfy->u.isp24.status_subcode; u 3464 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.fw_handle = ntfy->u.isp24.fw_handle; u 3465 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.exchange_address = ntfy->u.isp24.exchange_address; u 3466 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.srr_rel_offs = ntfy->u.isp24.srr_rel_offs; u 3467 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.srr_ui = ntfy->u.isp24.srr_ui; u 3468 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.srr_flags = 0; u 3469 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.srr_reject_code = 0; u 3470 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.srr_reject_code_expl = 0; u 3471 drivers/scsi/qla2xxx/qla_iocb.c nack->u.isp24.vp_index = ntfy->u.isp24.vp_index; u 3483 drivers/scsi/qla2xxx/qla_iocb.c nvme = &sp->u.iocb_cmd; u 3488 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->timeout = cpu_to_le16(nvme->u.nvme.timeout_sec); u 3493 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->tx_byte_count = nvme->u.nvme.cmd_len; u 3494 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dsd[0].length = nvme->u.nvme.cmd_len; u 3495 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(nvme->u.nvme.cmd_dma, &cmd_pkt->dsd[0].address); u 3498 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->rx_byte_count = nvme->u.nvme.rsp_len; u 3499 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dsd[1].length = nvme->u.nvme.rsp_len; u 3500 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(nvme->u.nvme.rsp_dma, &cmd_pkt->dsd[1].address); u 3513 drivers/scsi/qla2xxx/qla_iocb.c vce->command = cpu_to_le16(sp->u.iocb_cmd.u.ctrlvp.cmd); u 3520 drivers/scsi/qla2xxx/qla_iocb.c map = (sp->u.iocb_cmd.u.ctrlvp.vp_index - 1) / 8; u 3521 drivers/scsi/qla2xxx/qla_iocb.c pos = (sp->u.iocb_cmd.u.ctrlvp.vp_index - 1) & 7; u 3628 drivers/scsi/qla2xxx/qla_iocb.c add_timer(&sp->u.iocb_cmd.timer); u 3648 drivers/scsi/qla2xxx/qla_iocb.c struct bsg_job *bsg_job = sp->u.bsg_job; u 190 drivers/scsi/qla2xxx/qla_isr.c stat = RD_REG_DWORD(®->u.isp2300.host_status); u 1362 drivers/scsi/qla2xxx/qla_isr.c lio = &sp->u.iocb_cmd; u 1365 drivers/scsi/qla2xxx/qla_isr.c data = lio->u.logio.data; u 1368 drivers/scsi/qla2xxx/qla_isr.c data[1] = lio->u.logio.flags & SRB_LOGIN_RETRIED ? u 1446 drivers/scsi/qla2xxx/qla_isr.c si = &sp->u.iocb_cmd; u 1447 drivers/scsi/qla2xxx/qla_isr.c sz = min(ARRAY_SIZE(pkt->mb), ARRAY_SIZE(sp->u.iocb_cmd.u.mbx.in_mb)); u 1450 drivers/scsi/qla2xxx/qla_isr.c si->u.mbx.in_mb[i] = le16_to_cpu(pkt->mb[i]); u 1452 drivers/scsi/qla2xxx/qla_isr.c res = (si->u.mbx.in_mb[0] & MBS_MASK); u 1469 drivers/scsi/qla2xxx/qla_isr.c if (pkt->u.isp2x.status != cpu_to_le16(NOTIFY_ACK_SUCCESS)) u 1493 drivers/scsi/qla2xxx/qla_isr.c bsg_job = sp->u.bsg_job; u 1539 drivers/scsi/qla2xxx/qla_isr.c (struct ct_sns_rsp *)sp->u.iocb_cmd.u.ctarg.rsp, u 1589 drivers/scsi/qla2xxx/qla_isr.c (struct ct_sns_rsp *)sp->u.iocb_cmd.u.ctarg.rsp, u 1604 drivers/scsi/qla2xxx/qla_isr.c els = &sp->u.iocb_cmd; u 1605 drivers/scsi/qla2xxx/qla_isr.c els->u.els_plogi.fw_status[0] = fw_status[0]; u 1606 drivers/scsi/qla2xxx/qla_isr.c els->u.els_plogi.fw_status[1] = fw_status[1]; u 1607 drivers/scsi/qla2xxx/qla_isr.c els->u.els_plogi.fw_status[2] = fw_status[2]; u 1608 drivers/scsi/qla2xxx/qla_isr.c els->u.els_plogi.comp_status = fw_status[0]; u 1614 drivers/scsi/qla2xxx/qla_isr.c els->u.els_plogi.len = u 1618 drivers/scsi/qla2xxx/qla_isr.c els->u.els_plogi.len = 0; u 1633 drivers/scsi/qla2xxx/qla_isr.c bsg_job = sp->u.bsg_job; u 1693 drivers/scsi/qla2xxx/qla_isr.c lio = &sp->u.iocb_cmd; u 1696 drivers/scsi/qla2xxx/qla_isr.c data = lio->u.logio.data; u 1699 drivers/scsi/qla2xxx/qla_isr.c data[1] = lio->u.logio.flags & SRB_LOGIN_RETRIED ? u 1726 drivers/scsi/qla2xxx/qla_isr.c lio->u.logio.iop[0] = u 1728 drivers/scsi/qla2xxx/qla_isr.c lio->u.logio.iop[1] = u 1757 drivers/scsi/qla2xxx/qla_isr.c lio->u.logio.iop[0] = iop[0]; u 1758 drivers/scsi/qla2xxx/qla_isr.c lio->u.logio.iop[1] = iop[1]; u 1825 drivers/scsi/qla2xxx/qla_isr.c iocb = &sp->u.iocb_cmd; u 1828 drivers/scsi/qla2xxx/qla_isr.c iocb->u.tmf.data = QLA_SUCCESS; u 1834 drivers/scsi/qla2xxx/qla_isr.c iocb->u.tmf.data = QLA_FUNCTION_FAILED; u 1839 drivers/scsi/qla2xxx/qla_isr.c iocb->u.tmf.data = QLA_FUNCTION_FAILED; u 1850 drivers/scsi/qla2xxx/qla_isr.c iocb->u.tmf.data = QLA_FUNCTION_FAILED; u 1854 drivers/scsi/qla2xxx/qla_isr.c if (iocb->u.tmf.data != QLA_SUCCESS) u 1872 drivers/scsi/qla2xxx/qla_isr.c iocb = &sp->u.iocb_cmd; u 1874 drivers/scsi/qla2xxx/qla_isr.c iocb->u.nvme.comp_status = comp_status; u 1876 drivers/scsi/qla2xxx/qla_isr.c fd = iocb->u.nvme.desc; u 1878 drivers/scsi/qla2xxx/qla_isr.c if (unlikely(iocb->u.nvme.aen_op)) u 1890 drivers/scsi/qla2xxx/qla_isr.c iocb->u.nvme.rsp_pyld_len = 0; u 1892 drivers/scsi/qla2xxx/qla_isr.c iocb->u.nvme.rsp_pyld_len = le16_to_cpu(sts->nvme_rsp_pyld_len); u 1899 drivers/scsi/qla2xxx/qla_isr.c iocb->u.nvme.rsp_pyld_len = le16_to_cpu(sts->nvme_rsp_pyld_len); u 1900 drivers/scsi/qla2xxx/qla_isr.c if (unlikely(iocb->u.nvme.rsp_pyld_len > u 1904 drivers/scsi/qla2xxx/qla_isr.c iocb->u.nvme.rsp_pyld_len); u 1907 drivers/scsi/qla2xxx/qla_isr.c iocb->u.nvme.rsp_pyld_len); u 1909 drivers/scsi/qla2xxx/qla_isr.c iocb->u.nvme.rsp_pyld_len = u 1912 drivers/scsi/qla2xxx/qla_isr.c iter = iocb->u.nvme.rsp_pyld_len >> 2; u 1947 drivers/scsi/qla2xxx/qla_isr.c iocb->u.nvme.rsp_pyld_len = 0; u 2289 drivers/scsi/qla2xxx/qla_isr.c bsg_job = sp->u.bsg_job; u 2965 drivers/scsi/qla2xxx/qla_isr.c abt = &sp->u.iocb_cmd; u 2966 drivers/scsi/qla2xxx/qla_isr.c abt->u.abt.comp_status = le16_to_cpu(pkt->nport_handle); u 3877 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f1.port_name); u 3883 drivers/scsi/qla2xxx/qla_mbx.c switch (rptid_entry->u.f1.flags & TOPO_MASK) { u 3893 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f1.port_name, 1); u 3919 drivers/scsi/qla2xxx/qla_mbx.c wwn_to_u64(rptid_entry->u.f1.port_name)) { u 3932 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f1.port_name); u 3937 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f1.port_name, u 3938 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f1.node_name, u 3961 drivers/scsi/qla2xxx/qla_mbx.c vha->flags.bbcr_enable = (rptid_entry->u.f1.bbcr & 0xf) != 0; u 3968 drivers/scsi/qla2xxx/qla_mbx.c (rptid_entry->u.f1.flags & u 3971 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f1.port_name, u 4022 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f2.port_name); u 4042 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f2.port_name, 1); u 4051 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f2.remote_nport_id[2]; u 4053 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f2.remote_nport_id[1]; u 4055 drivers/scsi/qla2xxx/qla_mbx.c rptid_entry->u.f2.remote_nport_id[0]; u 6230 drivers/scsi/qla2xxx/qla_mbx.c sp->u.iocb_cmd.u.mbx.rc = res; u 6232 drivers/scsi/qla2xxx/qla_mbx.c complete(&sp->u.iocb_cmd.u.mbx.comp); u 6257 drivers/scsi/qla2xxx/qla_mbx.c c = &sp->u.iocb_cmd; u 6259 drivers/scsi/qla2xxx/qla_mbx.c init_completion(&c->u.mbx.comp); u 6263 drivers/scsi/qla2xxx/qla_mbx.c memcpy(sp->u.iocb_cmd.u.mbx.out_mb, mcp->mb, SIZEOF_IOCB_MB_REG); u 6278 drivers/scsi/qla2xxx/qla_mbx.c wait_for_completion(&c->u.mbx.comp); u 6279 drivers/scsi/qla2xxx/qla_mbx.c memcpy(mcp->mb, sp->u.iocb_cmd.u.mbx.in_mb, SIZEOF_IOCB_MB_REG); u 6281 drivers/scsi/qla2xxx/qla_mbx.c rval = c->u.mbx.rc; u 955 drivers/scsi/qla2xxx/qla_mid.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 957 drivers/scsi/qla2xxx/qla_mid.c sp->u.iocb_cmd.u.ctrlvp.cmd = cmd; u 958 drivers/scsi/qla2xxx/qla_mid.c sp->u.iocb_cmd.u.ctrlvp.vp_index = vp_index; u 1721 drivers/scsi/qla2xxx/qla_mr.c aen_data = evt->u.aenfx.evtcode; u 1723 drivers/scsi/qla2xxx/qla_mr.c switch (evt->u.aenfx.evtcode) { u 1725 drivers/scsi/qla2xxx/qla_mr.c if (evt->u.aenfx.mbx[1] == 0) { u 1726 drivers/scsi/qla2xxx/qla_mr.c if (evt->u.aenfx.mbx[2] == 1) { u 1733 drivers/scsi/qla2xxx/qla_mr.c } else if (evt->u.aenfx.mbx[2] == 2) { u 1734 drivers/scsi/qla2xxx/qla_mr.c qlafx00_tgt_detach(vha, evt->u.aenfx.mbx[3]); u 1736 drivers/scsi/qla2xxx/qla_mr.c } else if (evt->u.aenfx.mbx[1] == 0xffff) { u 1737 drivers/scsi/qla2xxx/qla_mr.c if (evt->u.aenfx.mbx[2] == 1) { u 1741 drivers/scsi/qla2xxx/qla_mr.c } else if (evt->u.aenfx.mbx[2] == 2) { u 1759 drivers/scsi/qla2xxx/qla_mr.c evt->u.aenfx.evtcode); u 1795 drivers/scsi/qla2xxx/qla_mr.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 1797 drivers/scsi/qla2xxx/qla_mr.c complete(&lio->u.fxiocb.fxiocb_comp); u 1802 drivers/scsi/qla2xxx/qla_mr.c struct srb_iocb *lio = &sp->u.iocb_cmd; u 1804 drivers/scsi/qla2xxx/qla_mr.c complete(&lio->u.fxiocb.fxiocb_comp); u 1825 drivers/scsi/qla2xxx/qla_mr.c fdisc = &sp->u.iocb_cmd; u 1831 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.flags = u 1833 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.rsp_len = sizeof(struct config_info_data); u 1836 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.flags = u 1838 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.rsp_len = QLAFX00_PORT_DATA_INFO; u 1839 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_data = cpu_to_le32(fcport->port_id); u 1842 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.flags = u 1844 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.rsp_len = QLAFX00_TGT_NODE_INFO; u 1845 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_data = cpu_to_le32(fcport->tgt_id); u 1848 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.flags = u 1850 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.rsp_len = QLAFX00_TGT_NODE_LIST_SIZE; u 1853 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.flags = SRB_FXDISC_REQ_DMA_VALID; u 1854 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_len = sizeof(struct register_host_info); u 1867 drivers/scsi/qla2xxx/qla_mr.c if (fdisc->u.fxiocb.flags & SRB_FXDISC_REQ_DMA_VALID) { u 1868 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_addr = dma_alloc_coherent(&ha->pdev->dev, u 1869 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_len, u 1870 drivers/scsi/qla2xxx/qla_mr.c &fdisc->u.fxiocb.req_dma_handle, GFP_KERNEL); u 1871 drivers/scsi/qla2xxx/qla_mr.c if (!fdisc->u.fxiocb.req_addr) u 1876 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_addr; u 1920 drivers/scsi/qla2xxx/qla_mr.c if (fdisc->u.fxiocb.flags & SRB_FXDISC_RESP_DMA_VALID) { u 1921 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.rsp_addr = dma_alloc_coherent(&ha->pdev->dev, u 1922 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.rsp_len, u 1923 drivers/scsi/qla2xxx/qla_mr.c &fdisc->u.fxiocb.rsp_dma_handle, GFP_KERNEL); u 1924 drivers/scsi/qla2xxx/qla_mr.c if (!fdisc->u.fxiocb.rsp_addr) u 1928 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_func_type = cpu_to_le16(fx_type); u 1935 drivers/scsi/qla2xxx/qla_mr.c wait_for_completion(&fdisc->u.fxiocb.fxiocb_comp); u 1939 drivers/scsi/qla2xxx/qla_mr.c (struct config_info_data *) fdisc->u.fxiocb.rsp_addr; u 1964 drivers/scsi/qla2xxx/qla_mr.c (struct port_info_data *) fdisc->u.fxiocb.rsp_addr; u 1975 drivers/scsi/qla2xxx/qla_mr.c (struct qlafx00_tgt_node_info *) fdisc->u.fxiocb.rsp_addr; u 1983 drivers/scsi/qla2xxx/qla_mr.c (struct qlafx00_tgt_node_info *) fdisc->u.fxiocb.rsp_addr; u 1988 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.result = u 1989 drivers/scsi/qla2xxx/qla_mr.c (fdisc->u.fxiocb.result == u 1993 drivers/scsi/qla2xxx/qla_mr.c rval = le32_to_cpu(fdisc->u.fxiocb.result); u 1996 drivers/scsi/qla2xxx/qla_mr.c if (fdisc->u.fxiocb.rsp_addr) u 1997 drivers/scsi/qla2xxx/qla_mr.c dma_free_coherent(&ha->pdev->dev, fdisc->u.fxiocb.rsp_len, u 1998 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.rsp_addr, fdisc->u.fxiocb.rsp_dma_handle); u 2001 drivers/scsi/qla2xxx/qla_mr.c if (fdisc->u.fxiocb.req_addr) u 2002 drivers/scsi/qla2xxx/qla_mr.c dma_free_coherent(&ha->pdev->dev, fdisc->u.fxiocb.req_len, u 2003 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_addr, fdisc->u.fxiocb.req_dma_handle); u 2182 drivers/scsi/qla2xxx/qla_mr.c tmf = &sp->u.iocb_cmd; u 2186 drivers/scsi/qla2xxx/qla_mr.c tmf->u.tmf.comp_status = cpstatus; u 2202 drivers/scsi/qla2xxx/qla_mr.c abt = &sp->u.iocb_cmd; u 2203 drivers/scsi/qla2xxx/qla_mr.c abt->u.abt.comp_status = pkt->tgt_id_sts; u 2225 drivers/scsi/qla2xxx/qla_mr.c iocb_job = &sp->u.iocb_cmd; u 2226 drivers/scsi/qla2xxx/qla_mr.c iocb_job->u.fxiocb.seq_number = pkt->seq_no; u 2227 drivers/scsi/qla2xxx/qla_mr.c iocb_job->u.fxiocb.fw_flags = pkt->fw_iotcl_flags; u 2228 drivers/scsi/qla2xxx/qla_mr.c iocb_job->u.fxiocb.result = pkt->status; u 2229 drivers/scsi/qla2xxx/qla_mr.c if (iocb_job->u.fxiocb.flags & SRB_FXDISC_RSP_DWRD_VALID) u 2230 drivers/scsi/qla2xxx/qla_mr.c iocb_job->u.fxiocb.req_data = u 2233 drivers/scsi/qla2xxx/qla_mr.c bsg_job = sp->u.bsg_job; u 3200 drivers/scsi/qla2xxx/qla_mr.c struct srb_iocb *fxio = &sp->u.iocb_cmd; u 3212 drivers/scsi/qla2xxx/qla_mr.c tm_iocb.control_flags = cpu_to_le32(fxio->u.tmf.flags); u 3214 drivers/scsi/qla2xxx/qla_mr.c int_to_scsilun(fxio->u.tmf.lun, &llun); u 3227 drivers/scsi/qla2xxx/qla_mr.c struct srb_iocb *fxio = &sp->u.iocb_cmd; u 3237 drivers/scsi/qla2xxx/qla_mr.c cpu_to_le32(MAKE_HANDLE(req->id, fxio->u.abt.cmd_hndl)); u 3249 drivers/scsi/qla2xxx/qla_mr.c struct srb_iocb *fxio = &sp->u.iocb_cmd; u 3263 drivers/scsi/qla2xxx/qla_mr.c sp->u.iocb_cmd.u.fxiocb.req_func_type; u 3264 drivers/scsi/qla2xxx/qla_mr.c fx_iocb.adapid = fxio->u.fxiocb.adapter_id; u 3265 drivers/scsi/qla2xxx/qla_mr.c fx_iocb.adapid_hi = fxio->u.fxiocb.adapter_id_hi; u 3266 drivers/scsi/qla2xxx/qla_mr.c fx_iocb.reserved_0 = fxio->u.fxiocb.reserved_0; u 3267 drivers/scsi/qla2xxx/qla_mr.c fx_iocb.reserved_1 = fxio->u.fxiocb.reserved_1; u 3268 drivers/scsi/qla2xxx/qla_mr.c fx_iocb.dataword_extra = fxio->u.fxiocb.req_data_extra; u 3270 drivers/scsi/qla2xxx/qla_mr.c if (fxio->u.fxiocb.flags & SRB_FXDISC_REQ_DMA_VALID) { u 3273 drivers/scsi/qla2xxx/qla_mr.c cpu_to_le16(fxio->u.fxiocb.req_len); u 3274 drivers/scsi/qla2xxx/qla_mr.c put_unaligned_le64(fxio->u.fxiocb.req_dma_handle, u 3277 drivers/scsi/qla2xxx/qla_mr.c cpu_to_le32(fxio->u.fxiocb.req_len); u 3280 drivers/scsi/qla2xxx/qla_mr.c if (fxio->u.fxiocb.flags & SRB_FXDISC_RESP_DMA_VALID) { u 3283 drivers/scsi/qla2xxx/qla_mr.c cpu_to_le16(fxio->u.fxiocb.rsp_len); u 3284 drivers/scsi/qla2xxx/qla_mr.c put_unaligned_le64(fxio->u.fxiocb.rsp_dma_handle, u 3287 drivers/scsi/qla2xxx/qla_mr.c cpu_to_le32(fxio->u.fxiocb.rsp_len); u 3290 drivers/scsi/qla2xxx/qla_mr.c if (fxio->u.fxiocb.flags & SRB_FXDISC_REQ_DWRD_VALID) { u 3291 drivers/scsi/qla2xxx/qla_mr.c fx_iocb.dataword = fxio->u.fxiocb.req_data; u 3293 drivers/scsi/qla2xxx/qla_mr.c fx_iocb.flags = fxio->u.fxiocb.flags; u 3297 drivers/scsi/qla2xxx/qla_mr.c bsg_job = sp->u.bsg_job; u 134 drivers/scsi/qla2xxx/qla_nvme.c nvme = &sp->u.iocb_cmd; u 135 drivers/scsi/qla2xxx/qla_nvme.c fd = nvme->u.nvme.desc; u 141 drivers/scsi/qla2xxx/qla_nvme.c fd->rcv_rsplen = nvme->u.nvme.rsp_pyld_len; u 302 drivers/scsi/qla2xxx/qla_nvme.c nvme = &sp->u.iocb_cmd; u 304 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.desc = fd; u 305 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.dir = 0; u 306 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.dl = 0; u 307 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.cmd_len = fd->rqstlen; u 308 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.rsp_len = fd->rsplen; u 309 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.rsp_dma = fd->rspdma; u 310 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.timeout_sec = fd->timeout; u 311 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.cmd_dma = dma_map_single(&ha->pdev->dev, fd->rqstaddr, u 313 drivers/scsi/qla2xxx/qla_nvme.c dma_sync_single_for_device(&ha->pdev->dev, nvme->u.nvme.cmd_dma, u 367 drivers/scsi/qla2xxx/qla_nvme.c struct srb_iocb *nvme = &sp->u.iocb_cmd; u 369 drivers/scsi/qla2xxx/qla_nvme.c struct nvmefc_fcp_req *fd = nvme->u.nvme.desc; u 404 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.aen_op = 1; u 571 drivers/scsi/qla2xxx/qla_nvme.c nvme = &sp->u.iocb_cmd; u 572 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.desc = fd; u 3690 drivers/scsi/qla2xxx/qla_nx.c if ((!sp->u.scmd.crc_ctx || u 673 drivers/scsi/qla2xxx/qla_os.c qla2x00_clean_dsd_pool(ha, sp->u.scmd.crc_ctx); u 678 drivers/scsi/qla2xxx/qla_os.c struct crc_context *ctx0 = sp->u.scmd.crc_ctx; u 685 drivers/scsi/qla2xxx/qla_os.c struct ct6_dsd *ctx1 = sp->u.scmd.ct6_ctx; u 727 drivers/scsi/qla2xxx/qla_os.c qla2x00_clean_dsd_pool(ha, sp->u.scmd.crc_ctx); u 732 drivers/scsi/qla2xxx/qla_os.c struct crc_context *difctx = sp->u.scmd.crc_ctx; u 768 drivers/scsi/qla2xxx/qla_os.c struct ct6_dsd *ctx1 = sp->u.scmd.ct6_ctx; u 780 drivers/scsi/qla2xxx/qla_os.c struct crc_context *ctx0 = sp->u.scmd.crc_ctx; u 894 drivers/scsi/qla2xxx/qla_os.c sp->u.scmd.cmd = cmd; u 976 drivers/scsi/qla2xxx/qla_os.c sp->u.scmd.cmd = cmd; u 4909 drivers/scsi/qla2xxx/qla_os.c e->u.aen.code = code; u 4910 drivers/scsi/qla2xxx/qla_os.c e->u.aen.data = data; u 4923 drivers/scsi/qla2xxx/qla_os.c memcpy(e->u.idc_ack.mb, mb, QLA_IDC_ACK_REGS * sizeof(uint16_t)); u 4938 drivers/scsi/qla2xxx/qla_os.c e->u.logio.fcport = fcport; \ u 4940 drivers/scsi/qla2xxx/qla_os.c e->u.logio.data[0] = data[0]; \ u 4941 drivers/scsi/qla2xxx/qla_os.c e->u.logio.data[1] = data[1]; \ u 4963 drivers/scsi/qla2xxx/qla_os.c e->u.uevent.code = code; u 4995 drivers/scsi/qla2xxx/qla_os.c e->u.aenfx.evtcode = evtcode; u 4996 drivers/scsi/qla2xxx/qla_os.c e->u.aenfx.count = cnt; u 4997 drivers/scsi/qla2xxx/qla_os.c memcpy(e->u.aenfx.mbx, data, sizeof(*data) * cnt); u 5028 drivers/scsi/qla2xxx/qla_os.c (struct qlt_plogi_ack_t *)e->u.new_sess.pla; u 5033 drivers/scsi/qla2xxx/qla_os.c __func__, __LINE__, e->u.new_sess.port_name); u 5036 drivers/scsi/qla2xxx/qla_os.c fcport = qla2x00_find_fcport_by_wwpn(vha, e->u.new_sess.port_name, 1); u 5038 drivers/scsi/qla2xxx/qla_os.c fcport->d_id = e->u.new_sess.id; u 5042 drivers/scsi/qla2xxx/qla_os.c pla->iocb.u.isp24.u.plogi.node_name, u 5054 drivers/scsi/qla2xxx/qla_os.c fcport->d_id = e->u.new_sess.id; u 5057 drivers/scsi/qla2xxx/qla_os.c if (e->u.new_sess.fc4_type == FS_FC4TYPE_FCP) u 5060 drivers/scsi/qla2xxx/qla_os.c if (e->u.new_sess.fc4_type == FS_FC4TYPE_NVME) { u 5065 drivers/scsi/qla2xxx/qla_os.c memcpy(fcport->port_name, e->u.new_sess.port_name, u 5068 drivers/scsi/qla2xxx/qla_os.c if (e->u.new_sess.fc4_type & FS_FCP_IS_N2N) u 5074 drivers/scsi/qla2xxx/qla_os.c __func__, e->u.new_sess.port_name); u 5086 drivers/scsi/qla2xxx/qla_os.c e->u.new_sess.port_name, 1); u 5111 drivers/scsi/qla2xxx/qla_os.c memcpy(fcport->node_name, e->u.new_sess.node_name, WWN_SIZE); u 5114 drivers/scsi/qla2xxx/qla_os.c if (pla->iocb.u.isp24.status_subcode == ELS_PRLI) { u 5121 drivers/scsi/qla2xxx/qla_os.c pla->iocb.u.isp24.nport_handle); u 5125 drivers/scsi/qla2xxx/qla_os.c pla->iocb.u.isp24.u.prli.wd3_lo); u 5141 drivers/scsi/qla2xxx/qla_os.c &e->u.new_sess.id, 1); u 5197 drivers/scsi/qla2xxx/qla_os.c struct srb *sp = e->u.iosb.sp; u 5226 drivers/scsi/qla2xxx/qla_os.c e->u.aen.code, e->u.aen.data); u 5229 drivers/scsi/qla2xxx/qla_os.c qla81xx_idc_ack(vha, e->u.idc_ack.mb); u 5232 drivers/scsi/qla2xxx/qla_os.c qla2x00_async_login(vha, e->u.logio.fcport, u 5233 drivers/scsi/qla2xxx/qla_os.c e->u.logio.data); u 5236 drivers/scsi/qla2xxx/qla_os.c rc = qla2x00_async_logout(vha, e->u.logio.fcport); u 5239 drivers/scsi/qla2xxx/qla_os.c qla2x00_async_logout_done(vha, e->u.logio.fcport, u 5240 drivers/scsi/qla2xxx/qla_os.c e->u.logio.data); u 5243 drivers/scsi/qla2xxx/qla_os.c qla2x00_async_adisc(vha, e->u.logio.fcport, u 5244 drivers/scsi/qla2xxx/qla_os.c e->u.logio.data); u 5247 drivers/scsi/qla2xxx/qla_os.c qla2x00_uevent_emit(vha, e->u.uevent.code); u 5253 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gpnid(vha, &e->u.gpnid.id); u 5256 drivers/scsi/qla2xxx/qla_os.c qla24xx_sp_unmap(vha, e->u.iosb.sp); u 5265 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gpdb(vha, e->u.fcport.fcport, u 5266 drivers/scsi/qla2xxx/qla_os.c e->u.fcport.opt); u 5269 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_prli(vha, e->u.fcport.fcport); u 5272 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gpsc(vha, e->u.fcport.fcport); u 5275 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gnl(vha, e->u.fcport.fcport); u 5281 drivers/scsi/qla2xxx/qla_os.c rc = qla2x00_async_prlo(vha, e->u.logio.fcport); u 5284 drivers/scsi/qla2xxx/qla_os.c qla2x00_async_prlo_done(vha, e->u.logio.fcport, u 5285 drivers/scsi/qla2xxx/qla_os.c e->u.logio.data); u 5288 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gpnft(vha, e->u.gpnft.fc4_type, u 5289 drivers/scsi/qla2xxx/qla_os.c e->u.gpnft.sp); u 5292 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gpnft_done(vha, e->u.iosb.sp); u 5295 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gnnft_done(vha, e->u.iosb.sp); u 5298 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gnnid(vha, e->u.fcport.fcport); u 5301 drivers/scsi/qla2xxx/qla_os.c qla24xx_async_gfpnid(vha, e->u.fcport.fcport); u 5307 drivers/scsi/qla2xxx/qla_os.c qla_do_iidma_work(vha, e->u.fcport.fcport); u 5311 drivers/scsi/qla2xxx/qla_os.c e->u.fcport.fcport, false); u 6970 drivers/scsi/qla2xxx/qla_os.c stat = RD_REG_DWORD(®->u.isp2300.host_status); u 36 drivers/scsi/qla2xxx/qla_sup.c WRT_REG_WORD(®->u.isp2300.host_semaphore, 0x1); u 37 drivers/scsi/qla2xxx/qla_sup.c RD_REG_WORD(®->u.isp2300.host_semaphore); u 39 drivers/scsi/qla2xxx/qla_sup.c data = RD_REG_WORD(®->u.isp2300.host_semaphore); u 43 drivers/scsi/qla2xxx/qla_sup.c WRT_REG_WORD(®->u.isp2300.host_semaphore, 0x1); u 44 drivers/scsi/qla2xxx/qla_sup.c RD_REG_WORD(®->u.isp2300.host_semaphore); u 46 drivers/scsi/qla2xxx/qla_sup.c data = RD_REG_WORD(®->u.isp2300.host_semaphore); u 61 drivers/scsi/qla2xxx/qla_sup.c WRT_REG_WORD(®->u.isp2300.host_semaphore, 0); u 62 drivers/scsi/qla2xxx/qla_sup.c RD_REG_WORD(®->u.isp2300.host_semaphore); u 252 drivers/scsi/qla2xxx/qla_target.c struct qla_tgt_sess_op *u; u 263 drivers/scsi/qla2xxx/qla_target.c u = kzalloc(sizeof(*u), GFP_ATOMIC); u 264 drivers/scsi/qla2xxx/qla_target.c if (u == NULL) u 267 drivers/scsi/qla2xxx/qla_target.c u->vha = vha; u 268 drivers/scsi/qla2xxx/qla_target.c memcpy(&u->atio, atio, sizeof(*atio)); u 269 drivers/scsi/qla2xxx/qla_target.c INIT_LIST_HEAD(&u->cmd_list); u 272 drivers/scsi/qla2xxx/qla_target.c list_add_tail(&u->cmd_list, &vha->unknown_atio_list); u 288 drivers/scsi/qla2xxx/qla_target.c struct qla_tgt_sess_op *u, *t; u 294 drivers/scsi/qla2xxx/qla_target.c list_for_each_entry_safe(u, t, &vha->unknown_atio_list, cmd_list) { u 295 drivers/scsi/qla2xxx/qla_target.c if (u->aborted) { u 298 drivers/scsi/qla2xxx/qla_target.c "ATIO_TYPE7", u); u 300 drivers/scsi/qla2xxx/qla_target.c &u->atio, ha_locked, 0); u 304 drivers/scsi/qla2xxx/qla_target.c host = qlt_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); u 307 drivers/scsi/qla2xxx/qla_target.c "Requeuing unknown ATIO_TYPE7 %p\n", u); u 308 drivers/scsi/qla2xxx/qla_target.c qlt_24xx_atio_pkt(host, &u->atio, ha_locked); u 312 drivers/scsi/qla2xxx/qla_target.c "ATIO_TYPE7", u); u 314 drivers/scsi/qla2xxx/qla_target.c &u->atio, ha_locked, 0); u 317 drivers/scsi/qla2xxx/qla_target.c "Reschedule u %p, vha %p, host %p\n", u, vha, host); u 328 drivers/scsi/qla2xxx/qla_target.c list_del(&u->cmd_list); u 330 drivers/scsi/qla2xxx/qla_target.c kfree(u); u 347 drivers/scsi/qla2xxx/qla_target.c __func__, vha->vp_idx, atio->u.raw.entry_type, u 348 drivers/scsi/qla2xxx/qla_target.c be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id)); u 350 drivers/scsi/qla2xxx/qla_target.c switch (atio->u.raw.entry_type) { u 354 drivers/scsi/qla2xxx/qla_target.c atio->u.isp24.fcp_hdr.d_id); u 359 drivers/scsi/qla2xxx/qla_target.c atio->u.isp24.fcp_hdr.d_id.domain, u 360 drivers/scsi/qla2xxx/qla_target.c atio->u.isp24.fcp_hdr.d_id.area, u 361 drivers/scsi/qla2xxx/qla_target.c atio->u.isp24.fcp_hdr.d_id.al_pa); u 382 drivers/scsi/qla2xxx/qla_target.c if ((entry->u.isp24.vp_index != 0xFF) && u 383 drivers/scsi/qla2xxx/qla_target.c (entry->u.isp24.nport_handle != 0xFFFF)) { u 385 drivers/scsi/qla2xxx/qla_target.c entry->u.isp24.vp_index); u 391 drivers/scsi/qla2xxx/qla_target.c vha->vp_idx, entry->u.isp24.vp_index); u 432 drivers/scsi/qla2xxx/qla_target.c "type %x\n", vha->vp_idx, atio->u.raw.entry_type); u 470 drivers/scsi/qla2xxx/qla_target.c host = qlt_find_host_by_vp_idx(vha, entry->u.isp24.vp_index); u 475 drivers/scsi/qla2xxx/qla_target.c vha->vp_idx, entry->u.isp24.vp_index); u 487 drivers/scsi/qla2xxx/qla_target.c if (0xFF != entry->u.isp24.vp_index) { u 489 drivers/scsi/qla2xxx/qla_target.c entry->u.isp24.vp_index); u 496 drivers/scsi/qla2xxx/qla_target.c entry->u.isp24.vp_index); u 556 drivers/scsi/qla2xxx/qla_target.c e->u.nack.fcport = fcport; u 557 drivers/scsi/qla2xxx/qla_target.c e->u.nack.type = type; u 558 drivers/scsi/qla2xxx/qla_target.c memcpy(e->u.nack.iocb, ntfy, sizeof(struct imm_ntfy_from_isp)); u 647 drivers/scsi/qla2xxx/qla_target.c sp->u.iocb_cmd.timeout = qla2x00_async_iocb_timeout; u 650 drivers/scsi/qla2xxx/qla_target.c sp->u.iocb_cmd.u.nack.ntfy = ntfy; u 674 drivers/scsi/qla2xxx/qla_target.c switch (e->u.nack.type) { u 676 drivers/scsi/qla2xxx/qla_target.c t = e->u.nack.fcport; u 680 drivers/scsi/qla2xxx/qla_target.c t = qlt_create_sess(vha, e->u.nack.fcport, 0); u 686 drivers/scsi/qla2xxx/qla_target.c vha->hw->tgt.tgt_ops->put_sess(e->u.nack.fcport); u 690 drivers/scsi/qla2xxx/qla_target.c qla24xx_async_notify_ack(vha, e->u.nack.fcport, u 691 drivers/scsi/qla2xxx/qla_target.c (struct imm_ntfy_from_isp *)e->u.nack.iocb, e->u.nack.type); u 796 drivers/scsi/qla2xxx/qla_target.c pla->iocb.u.isp24.port_name); u 834 drivers/scsi/qla2xxx/qla_target.c " exch %#x ox_id %#x\n", iocb->u.isp24.port_name, u 835 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_id[2], iocb->u.isp24.port_id[1], u 836 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_id[0], u 837 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(iocb->u.isp24.nport_handle), u 838 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.exchange_address, iocb->ox_id); u 840 drivers/scsi/qla2xxx/qla_target.c port_id.b.domain = iocb->u.isp24.port_id[2]; u 841 drivers/scsi/qla2xxx/qla_target.c port_id.b.area = iocb->u.isp24.port_id[1]; u 842 drivers/scsi/qla2xxx/qla_target.c port_id.b.al_pa = iocb->u.isp24.port_id[0]; u 845 drivers/scsi/qla2xxx/qla_target.c loop_id = le16_to_cpu(iocb->u.isp24.nport_handle); u 849 drivers/scsi/qla2xxx/qla_target.c if (iocb->u.isp24.status_subcode == ELS_PLOGI) u 877 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name, iocb->u.isp24.port_id[2], u 878 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_id[1], iocb->u.isp24.port_id[0], u 986 drivers/scsi/qla2xxx/qla_target.c (own->iocb.u.isp24.status_subcode == ELS_PLOGI))) { u 995 drivers/scsi/qla2xxx/qla_target.c } else if (own && (own->iocb.u.isp24.status_subcode == u 1088 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name, con->ref_count); u 1177 drivers/scsi/qla2xxx/qla_target.c loop_id = le16_to_cpu(n->u.isp24.nport_handle); u 1688 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.handle = QLA_TGT_SKIP_HANDLE; u 1689 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; u 1690 drivers/scsi/qla2xxx/qla_target.c if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { u 1691 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.flags = ntfy->u.isp24.flags & u 1694 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_rx_id = ntfy->u.isp24.srr_rx_id; u 1695 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.status = ntfy->u.isp24.status; u 1696 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.status_subcode = ntfy->u.isp24.status_subcode; u 1697 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.fw_handle = ntfy->u.isp24.fw_handle; u 1698 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.exchange_address = ntfy->u.isp24.exchange_address; u 1699 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_rel_offs = ntfy->u.isp24.srr_rel_offs; u 1700 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_ui = ntfy->u.isp24.srr_ui; u 1701 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_flags = cpu_to_le16(srr_flags); u 1702 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_reject_code = srr_reject_code; u 1703 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_reject_code_expl = srr_explan; u 1704 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.vp_index = ntfy->u.isp24.vp_index; u 1708 drivers/scsi/qla2xxx/qla_target.c vha->vp_idx, nack->u.isp24.status); u 1924 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags = cpu_to_le16(tmp); u 1925 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.ox_id = entry->fcp_hdr_le.ox_id; u 1929 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(ctio->u.status1.flags), u 1930 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(ctio->u.status1.ox_id), u 1966 drivers/scsi/qla2xxx/qla_target.c op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); u 1968 drivers/scsi/qla2xxx/qla_target.c (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun); u 1977 drivers/scsi/qla2xxx/qla_target.c op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); u 1979 drivers/scsi/qla2xxx/qla_target.c (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun); u 1988 drivers/scsi/qla2xxx/qla_target.c cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id); u 1990 drivers/scsi/qla2xxx/qla_target.c (struct scsi_lun *)&cmd->atio.u.isp24.fcp_cmnd.lun); u 2109 drivers/scsi/qla2xxx/qla_target.c mcmd->abort_io_attr = abort_cmd->atio.u.isp24.attr; u 2221 drivers/scsi/qla2xxx/qla_target.c ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); u 2222 drivers/scsi/qla2xxx/qla_target.c ctio->exchange_addr = atio->u.isp24.exchange_addr; u 2223 drivers/scsi/qla2xxx/qla_target.c temp = (atio->u.isp24.attr << 9)| u 2225 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags = cpu_to_le16(temp); u 2226 drivers/scsi/qla2xxx/qla_target.c temp = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); u 2227 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.ox_id = cpu_to_le16(temp); u 2228 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.scsi_status = u 2230 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.response_len = cpu_to_le16(8); u 2231 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.sense_data[0] = resp_code; u 2278 drivers/scsi/qla2xxx/qla_target.c ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); u 2279 drivers/scsi/qla2xxx/qla_target.c ctio->exchange_addr = atio->u.isp24.exchange_addr; u 2280 drivers/scsi/qla2xxx/qla_target.c temp = (atio->u.isp24.attr << 9) | u 2282 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags = cpu_to_le16(temp); u 2283 drivers/scsi/qla2xxx/qla_target.c temp = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); u 2284 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.ox_id = cpu_to_le16(temp); u 2285 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.scsi_status = u 2287 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.response_len = cpu_to_le16(18); u 2288 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.residual = cpu_to_le32(get_datalen_for_atio(atio)); u 2290 drivers/scsi/qla2xxx/qla_target.c if (ctio->u.status1.residual != 0) u 2291 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.scsi_status |= u 2295 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.sense_data[0] = 0x70; u 2296 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.sense_data[2] = sense_key; u 2298 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.sense_data[7] = 0xa; u 2300 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.sense_data[12] = asc; u 2301 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.sense_data[13] = ascq; u 2345 drivers/scsi/qla2xxx/qla_target.c switch (mcmd->orig_iocb.imm_ntfy.u.isp24.status_subcode) { u 2361 drivers/scsi/qla2xxx/qla_target.c if (mcmd->orig_iocb.atio.u.raw.entry_type == ABTS_RECV_24XX) { u 2579 drivers/scsi/qla2xxx/qla_target.c pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); u 2580 drivers/scsi/qla2xxx/qla_target.c pkt->exchange_addr = atio->u.isp24.exchange_addr; u 2581 drivers/scsi/qla2xxx/qla_target.c temp = atio->u.isp24.attr << 9; u 2582 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.flags |= cpu_to_le16(temp); u 2583 drivers/scsi/qla2xxx/qla_target.c temp = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); u 2584 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.ox_id = cpu_to_le16(temp); u 2585 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.relative_offset = cpu_to_le32(prm->cmd->offset); u 2640 drivers/scsi/qla2xxx/qla_target.c pkt24->u.status0.transfer_length = cpu_to_le32(prm->cmd->bufflen); u 2643 drivers/scsi/qla2xxx/qla_target.c cur_dsd = &pkt24->u.status0.dsd; u 2690 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.exchange_addr); u 2697 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.exchange_addr); u 2704 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.exchange_addr); u 2711 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.exchange_addr); u 2802 drivers/scsi/qla2xxx/qla_target.c (uint32_t)sizeof(ctio->u.status1.sense_data)); u 2803 drivers/scsi/qla2xxx/qla_target.c ctio->u.status0.flags |= cpu_to_le16(CTIO7_FLAGS_SEND_STATUS); u 2805 drivers/scsi/qla2xxx/qla_target.c ctio->u.status0.flags |= cpu_to_le16( u 2809 drivers/scsi/qla2xxx/qla_target.c ctio->u.status0.residual = cpu_to_le32(prm->residual); u 2810 drivers/scsi/qla2xxx/qla_target.c ctio->u.status0.scsi_status = cpu_to_le16(prm->rq_result); u 2822 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags |= cpu_to_le16( u 2827 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags &= u 2829 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags |= u 2831 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.scsi_status |= u 2833 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.sense_length = u 2836 drivers/scsi/qla2xxx/qla_target.c ((uint32_t *)ctio->u.status1.sense_data)[i] = u 2842 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags &= u 2844 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags |= u 2846 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.sense_length = 0; u 2847 drivers/scsi/qla2xxx/qla_target.c memset(ctio->u.status1.sense_data, 0, u 2848 drivers/scsi/qla2xxx/qla_target.c sizeof(ctio->u.status1.sense_data)); u 3092 drivers/scsi/qla2xxx/qla_target.c pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); u 3093 drivers/scsi/qla2xxx/qla_target.c pkt->exchange_addr = atio->u.isp24.exchange_addr; u 3096 drivers/scsi/qla2xxx/qla_target.c t16 = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); u 3099 drivers/scsi/qla2xxx/qla_target.c t16 = (atio->u.isp24.attr << 9); u 3134 drivers/scsi/qla2xxx/qla_target.c cur_dsd = &crc_ctx_pkt->u.nobundling.data_dsd[0]; u 3141 drivers/scsi/qla2xxx/qla_target.c crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes); u 3142 drivers/scsi/qla2xxx/qla_target.c crc_ctx_pkt->u.bundling.dseg_count = u 3144 drivers/scsi/qla2xxx/qla_target.c cur_dsd = &crc_ctx_pkt->u.bundling.data_dsd[0]; u 3177 drivers/scsi/qla2xxx/qla_target.c cur_dsd = &crc_ctx_pkt->u.bundling.dif_dsd; u 3263 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.flags |= u 3272 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.scsi_status = u 3274 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.residual = u 3276 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.flags |= cpu_to_le16( u 3279 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.flags |= u 3309 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags &= ~cpu_to_le16( u 3314 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.flags |= cpu_to_le16( u 3330 drivers/scsi/qla2xxx/qla_target.c cmd->ctio_flags = le16_to_cpu(pkt->u.status0.flags); u 3405 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.flags |= cpu_to_le16(CTIO7_FLAGS_DATA_OUT | u 3413 drivers/scsi/qla2xxx/qla_target.c cmd->ctio_flags = le16_to_cpu(pkt->u.status0.flags); u 3470 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.fcp_hdr.ox_id); u 3486 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.fcp_hdr.ox_id); u 3503 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.fcp_hdr.ox_id); u 3565 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.nport_handle = ntfy->u.isp24.nport_handle; u 3566 drivers/scsi/qla2xxx/qla_target.c if (le16_to_cpu(ntfy->u.isp24.status) == IMM_NTFY_ELS) { u 3567 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.flags = ntfy->u.isp24.flags & u 3572 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.flags |= u 3575 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_rx_id = ntfy->u.isp24.srr_rx_id; u 3576 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.status = ntfy->u.isp24.status; u 3577 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.status_subcode = ntfy->u.isp24.status_subcode; u 3578 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.fw_handle = ntfy->u.isp24.fw_handle; u 3579 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.exchange_address = ntfy->u.isp24.exchange_address; u 3580 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_rel_offs = ntfy->u.isp24.srr_rel_offs; u 3581 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.srr_ui = ntfy->u.isp24.srr_ui; u 3582 drivers/scsi/qla2xxx/qla_target.c nack->u.isp24.vp_index = ntfy->u.isp24.vp_index; u 3645 drivers/scsi/qla2xxx/qla_target.c ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); u 3646 drivers/scsi/qla2xxx/qla_target.c ctio24->exchange_addr = atio->u.isp24.exchange_addr; u 3647 drivers/scsi/qla2xxx/qla_target.c temp = (atio->u.isp24.attr << 9) | CTIO7_FLAGS_STATUS_MODE_1 | u 3649 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.flags = cpu_to_le16(temp); u 3650 drivers/scsi/qla2xxx/qla_target.c temp = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); u 3651 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.ox_id = cpu_to_le16(temp); u 3789 drivers/scsi/qla2xxx/qla_target.c be16_to_cpu(cmd->atio.u.isp24.fcp_hdr.ox_id)); u 3828 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.exchange_addr, u 3935 drivers/scsi/qla2xxx/qla_target.c vha->vp_idx, cmd->atio.u.isp24.attr, u 4099 drivers/scsi/qla2xxx/qla_target.c cmd->atio.u.isp24.exchange_addr); u 4104 drivers/scsi/qla2xxx/qla_target.c cdb = &atio->u.isp24.fcp_cmnd.cdb[0]; u 4105 drivers/scsi/qla2xxx/qla_target.c cmd->se_cmd.tag = atio->u.isp24.exchange_addr; u 4107 drivers/scsi/qla2xxx/qla_target.c if (atio->u.isp24.fcp_cmnd.rddata && u 4108 drivers/scsi/qla2xxx/qla_target.c atio->u.isp24.fcp_cmnd.wrdata) { u 4111 drivers/scsi/qla2xxx/qla_target.c } else if (atio->u.isp24.fcp_cmnd.rddata) u 4113 drivers/scsi/qla2xxx/qla_target.c else if (atio->u.isp24.fcp_cmnd.wrdata) u 4119 drivers/scsi/qla2xxx/qla_target.c atio->u.isp24.fcp_cmnd.task_attr); u 4296 drivers/scsi/qla2xxx/qla_target.c (struct scsi_lun *)&atio->u.isp24.fcp_cmnd.lun); u 4321 drivers/scsi/qla2xxx/qla_target.c id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id); u 4325 drivers/scsi/qla2xxx/qla_target.c sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, atio->u.isp24.fcp_hdr.s_id); u 4345 drivers/scsi/qla2xxx/qla_target.c be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id)); u 4368 drivers/scsi/qla2xxx/qla_target.c if (cmd->atio.u.isp24.fcp_cmnd.rddata) u 4418 drivers/scsi/qla2xxx/qla_target.c abort_cmds_for_lun(vha, lun, a->u.isp24.fcp_hdr.s_id); u 4452 drivers/scsi/qla2xxx/qla_target.c fn = a->u.isp24.fcp_cmnd.task_mgmt_flags; u 4456 drivers/scsi/qla2xxx/qla_target.c a->u.isp24.fcp_hdr.s_id); u 4460 drivers/scsi/qla2xxx/qla_target.c scsilun_to_int((struct scsi_lun *)&a->u.isp24.fcp_cmnd.lun); u 4492 drivers/scsi/qla2xxx/qla_target.c scsilun_to_int((struct scsi_lun *)&a->u.isp24.fcp_cmnd.lun); u 4498 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(iocb->u.isp2x.seq_id)); u 4642 drivers/scsi/qla2xxx/qla_target.c uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); u 4651 drivers/scsi/qla2xxx/qla_target.c uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); u 4660 drivers/scsi/qla2xxx/qla_target.c uint32_t cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id); u 4685 drivers/scsi/qla2xxx/qla_target.c wwn = wwn_to_u64(iocb->u.isp24.port_name); u 4687 drivers/scsi/qla2xxx/qla_target.c port_id.b.domain = iocb->u.isp24.port_id[2]; u 4688 drivers/scsi/qla2xxx/qla_target.c port_id.b.area = iocb->u.isp24.port_id[1]; u 4689 drivers/scsi/qla2xxx/qla_target.c port_id.b.al_pa = iocb->u.isp24.port_id[0]; u 4692 drivers/scsi/qla2xxx/qla_target.c loop_id = le16_to_cpu(iocb->u.isp24.nport_handle); u 4720 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name); u 4735 drivers/scsi/qla2xxx/qla_target.c __func__, __LINE__, iocb->u.isp24.port_name); u 4736 drivers/scsi/qla2xxx/qla_target.c if (iocb->u.isp24.status_subcode == ELS_PLOGI) u 4738 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name, u 4739 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.u.plogi.node_name, u 4743 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name, NULL, u 4781 drivers/scsi/qla2xxx/qla_target.c if (iocb->u.isp24.status_subcode == ELS_PRLI) { u 4787 drivers/scsi/qla2xxx/qla_target.c wd3_lo = le16_to_cpu(iocb->u.isp24.u.prli.wd3_lo); u 4863 drivers/scsi/qla2xxx/qla_target.c wwn = wwn_to_u64(iocb->u.isp24.port_name); u 4865 drivers/scsi/qla2xxx/qla_target.c port_id.b.domain = iocb->u.isp24.port_id[2]; u 4866 drivers/scsi/qla2xxx/qla_target.c port_id.b.area = iocb->u.isp24.port_id[1]; u 4867 drivers/scsi/qla2xxx/qla_target.c port_id.b.al_pa = iocb->u.isp24.port_id[0]; u 4870 drivers/scsi/qla2xxx/qla_target.c loop_id = le16_to_cpu(iocb->u.isp24.nport_handle); u 4874 drivers/scsi/qla2xxx/qla_target.c vha->vp_idx, iocb->u.isp24.port_id[2], u 4875 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_id[1], iocb->u.isp24.port_id[0], u 4876 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.status_subcode, loop_id, u 4877 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name); u 4882 drivers/scsi/qla2xxx/qla_target.c switch (iocb->u.isp24.status_subcode) { u 4890 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name, 1); u 4896 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name); u 4910 drivers/scsi/qla2xxx/qla_target.c wd3_lo = le16_to_cpu(iocb->u.isp24.u.prli.wd3_lo); u 5000 drivers/scsi/qla2xxx/qla_target.c sess->loop_id, sess, iocb->u.isp24.nport_handle); u 5046 drivers/scsi/qla2xxx/qla_target.c if (le16_to_cpu(iocb->u.isp24.flags) & u 5100 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.port_name, 1); u 5116 drivers/scsi/qla2xxx/qla_target.c "received\n", vha->vp_idx, iocb->u.isp24.status_subcode); u 5123 drivers/scsi/qla2xxx/qla_target.c vha->vp_idx, iocb->u.isp24.status_subcode, res); u 5141 drivers/scsi/qla2xxx/qla_target.c status = le16_to_cpu(iocb->u.isp2x.status); u 5147 drivers/scsi/qla2xxx/qla_target.c vha->vp_idx, le16_to_cpu(iocb->u.isp24.nport_handle), u 5148 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.status_subcode); u 5162 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(iocb->u.isp24.nport_handle), u 5163 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.status_subcode); u 5182 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(iocb->u.isp24.nport_handle), u 5183 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.status_subcode); u 5227 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(iocb->u.isp2x.seq_id), u 5229 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(iocb->u.isp2x.lun)); u 5243 drivers/scsi/qla2xxx/qla_target.c vha->vp_idx, iocb->u.isp2x.task_flags); u 5278 drivers/scsi/qla2xxx/qla_target.c id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id); u 5306 drivers/scsi/qla2xxx/qla_target.c ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id); u 5307 drivers/scsi/qla2xxx/qla_target.c ctio24->exchange_addr = atio->u.isp24.exchange_addr; u 5308 drivers/scsi/qla2xxx/qla_target.c temp = (atio->u.isp24.attr << 9) | u 5311 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.flags = cpu_to_le16(temp); u 5316 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.ox_id = swab16(atio->u.isp24.fcp_hdr.ox_id); u 5317 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.scsi_status = cpu_to_le16(status); u 5319 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.residual = get_datalen_for_atio(atio); u 5321 drivers/scsi/qla2xxx/qla_target.c if (ctio24->u.status1.residual != 0) u 5322 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.scsi_status |= SS_RESIDUAL_UNDER; u 5373 drivers/scsi/qla2xxx/qla_target.c (vha, atio->u.isp24.fcp_hdr.s_id); u 5466 drivers/scsi/qla2xxx/qla_target.c be16_to_cpu(cmd->atio.u.isp24.fcp_hdr.ox_id)); u 5470 drivers/scsi/qla2xxx/qla_target.c be16_to_cpu(cmd->atio.u.isp24.fcp_hdr.ox_id)); u 5556 drivers/scsi/qla2xxx/qla_target.c switch (atio->u.raw.entry_type) { u 5558 drivers/scsi/qla2xxx/qla_target.c if (unlikely(atio->u.isp24.exchange_addr == u 5573 drivers/scsi/qla2xxx/qla_target.c if (likely(atio->u.isp24.fcp_cmnd.task_mgmt_flags == 0)) { u 5621 drivers/scsi/qla2xxx/qla_target.c if (unlikely(atio->u.isp2x.entry_status != 0)) { u 5625 drivers/scsi/qla2xxx/qla_target.c atio->u.raw.entry_type, u 5626 drivers/scsi/qla2xxx/qla_target.c atio->u.isp2x.entry_status); u 5642 drivers/scsi/qla2xxx/qla_target.c "type %x\n", vha->vp_idx, atio->u.raw.entry_type); u 5779 drivers/scsi/qla2xxx/qla_target.c if (atio->u.isp2x.status != u 5784 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(atio->u.isp2x.status)); u 5855 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(entry->u.isp2x.seq_id), u 5856 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(entry->u.isp2x.status)); u 5858 drivers/scsi/qla2xxx/qla_target.c if (entry->u.isp2x.status != u 5863 drivers/scsi/qla2xxx/qla_target.c le16_to_cpu(entry->u.isp2x.status)); u 6240 drivers/scsi/qla2xxx/qla_target.c s_id = prm->tm_iocb2.u.isp24.fcp_hdr.s_id; u 6265 drivers/scsi/qla2xxx/qla_target.c fn = a->u.isp24.fcp_cmnd.task_mgmt_flags; u 6267 drivers/scsi/qla2xxx/qla_target.c scsilun_to_int((struct scsi_lun *)&a->u.isp24.fcp_cmnd.lun); u 6738 drivers/scsi/qla2xxx/qla_target.c pkt->u.raw.signature = ATIO_PROCESSED; u 6761 drivers/scsi/qla2xxx/qla_target.c cnt = pkt->u.raw.entry_count; u 6771 drivers/scsi/qla2xxx/qla_target.c &pkt->u.isp24.fcp_hdr.s_id, u 6772 drivers/scsi/qla2xxx/qla_target.c be16_to_cpu(pkt->u.isp24.fcp_hdr.ox_id), u 6773 drivers/scsi/qla2xxx/qla_target.c le32_to_cpu(pkt->u.isp24.exchange_addr), pkt); u 6791 drivers/scsi/qla2xxx/qla_target.c pkt->u.raw.signature = ATIO_PROCESSED; u 122 drivers/scsi/qla2xxx/qla_target.h ? le16_to_cpu((iocb)->u.isp2x.target.extended) \ u 123 drivers/scsi/qla2xxx/qla_target.h : (uint16_t)(iocb)->u.isp2x.target.id.standard) u 176 drivers/scsi/qla2xxx/qla_target.h } u; u 358 drivers/scsi/qla2xxx/qla_target.h } u; u 374 drivers/scsi/qla2xxx/qla_target.h atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN); u 375 drivers/scsi/qla2xxx/qla_target.h atio->u.isp24.fcp_cmnd.add_cdb_len = 0; u 380 drivers/scsi/qla2xxx/qla_target.h int len = atio->u.isp24.fcp_cmnd.add_cdb_len; u 383 drivers/scsi/qla2xxx/qla_target.h &atio->u.isp24.fcp_cmnd.add_cdb[len * 4]))); u 431 drivers/scsi/qla2xxx/qla_target.h } u; u 378 drivers/scsi/qla4xxx/ql4_def.h } u; u 5204 drivers/scsi/qla4xxx/ql4_os.c e->u.aen.code = aen_code; u 5205 drivers/scsi/qla4xxx/ql4_os.c e->u.aen.data_size = data_size; u 5206 drivers/scsi/qla4xxx/ql4_os.c memcpy(e->u.aen.data, data, data_size); u 5223 drivers/scsi/qla4xxx/ql4_os.c e->u.ping.status = status; u 5224 drivers/scsi/qla4xxx/ql4_os.c e->u.ping.pid = pid; u 5225 drivers/scsi/qla4xxx/ql4_os.c e->u.ping.data_size = data_size; u 5226 drivers/scsi/qla4xxx/ql4_os.c memcpy(e->u.ping.data, data, data_size); u 5250 drivers/scsi/qla4xxx/ql4_os.c e->u.aen.code, u 5251 drivers/scsi/qla4xxx/ql4_os.c e->u.aen.data_size, u 5252 drivers/scsi/qla4xxx/ql4_os.c e->u.aen.data); u 5257 drivers/scsi/qla4xxx/ql4_os.c e->u.ping.status, u 5258 drivers/scsi/qla4xxx/ql4_os.c e->u.ping.pid, u 5259 drivers/scsi/qla4xxx/ql4_os.c e->u.ping.data_size, u 5260 drivers/scsi/qla4xxx/ql4_os.c e->u.ping.data); u 1776 drivers/scsi/scsi_debug.c u16 req_sa, u; u 1894 drivers/scsi/scsi_debug.c u = oip->len_mask[0]; u 1895 drivers/scsi/scsi_debug.c put_unaligned_be16(u, arr + 2); u 1897 drivers/scsi/scsi_debug.c for (k = 1; k < u; ++k) u 1900 drivers/scsi/scsi_debug.c offset = 4 + u; u 2578 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.get_stats.sid, ev->u.get_stats.cid); u 2598 drivers/scsi/scsi_transport_iscsi.c evstat->u.get_stats.cid = u 2599 drivers/scsi/scsi_transport_iscsi.c ev->u.get_stats.cid; u 2600 drivers/scsi/scsi_transport_iscsi.c evstat->u.get_stats.sid = u 2601 drivers/scsi/scsi_transport_iscsi.c ev->u.get_stats.sid; u 2723 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.c_conn.sid); u 2726 drivers/scsi/scsi_transport_iscsi.c ev->u.c_conn.sid); u 2730 drivers/scsi/scsi_transport_iscsi.c conn = transport->create_conn(session, ev->u.c_conn.cid); u 2749 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.d_conn.sid, ev->u.d_conn.cid); u 2768 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.set_param.sid); u 2769 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.set_param.sid, ev->u.set_param.cid); u 2773 drivers/scsi/scsi_transport_iscsi.c switch (ev->u.set_param.param) { u 2780 drivers/scsi/scsi_transport_iscsi.c err = transport->set_param(conn, ev->u.set_param.param, u 2781 drivers/scsi/scsi_transport_iscsi.c data, ev->u.set_param.len); u 2799 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.ep_connect_through_host.host_no); u 2803 drivers/scsi/scsi_transport_iscsi.c ev->u.ep_connect_through_host.host_no); u 2806 drivers/scsi/scsi_transport_iscsi.c non_blocking = ev->u.ep_connect_through_host.non_blocking; u 2808 drivers/scsi/scsi_transport_iscsi.c non_blocking = ev->u.ep_connect.non_blocking; u 2863 drivers/scsi/scsi_transport_iscsi.c ep = iscsi_lookup_endpoint(ev->u.ep_poll.ep_handle); u 2868 drivers/scsi/scsi_transport_iscsi.c ev->u.ep_poll.timeout_ms); u 2872 drivers/scsi/scsi_transport_iscsi.c ev->u.ep_disconnect.ep_handle); u 2889 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.tgt_dscvr.host_no); u 2892 drivers/scsi/scsi_transport_iscsi.c ev->u.tgt_dscvr.host_no); u 2898 drivers/scsi/scsi_transport_iscsi.c err = transport->tgt_dscvr(shost, ev->u.tgt_dscvr.type, u 2899 drivers/scsi/scsi_transport_iscsi.c ev->u.tgt_dscvr.enable, dst_addr); u 2915 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_host_param.host_no); u 2918 drivers/scsi/scsi_transport_iscsi.c ev->u.set_host_param.host_no); u 2922 drivers/scsi/scsi_transport_iscsi.c err = transport->set_host_param(shost, ev->u.set_host_param.param, u 2923 drivers/scsi/scsi_transport_iscsi.c data, ev->u.set_host_param.len); u 2938 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_path.host_no); u 2941 drivers/scsi/scsi_transport_iscsi.c ev->u.set_path.host_no); u 2981 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_iface_params.host_no); u 2984 drivers/scsi/scsi_transport_iscsi.c ev->u.set_iface_params.host_no); u 3003 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.iscsi_ping.host_no); u 3006 drivers/scsi/scsi_transport_iscsi.c ev->u.iscsi_ping.host_no); u 3011 drivers/scsi/scsi_transport_iscsi.c err = transport->send_ping(shost, ev->u.iscsi_ping.iface_num, u 3012 drivers/scsi/scsi_transport_iscsi.c ev->u.iscsi_ping.iface_type, u 3013 drivers/scsi/scsi_transport_iscsi.c ev->u.iscsi_ping.payload_size, u 3014 drivers/scsi/scsi_transport_iscsi.c ev->u.iscsi_ping.pid, u 3041 drivers/scsi/scsi_transport_iscsi.c chap_buf_size = (ev->u.get_chap.num_entries * sizeof(*chap_rec)); u 3044 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.get_chap.host_no); u 3047 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.get_chap.host_no); u 3067 drivers/scsi/scsi_transport_iscsi.c evchap->u.get_chap.host_no = ev->u.get_chap.host_no; u 3068 drivers/scsi/scsi_transport_iscsi.c evchap->u.get_chap.chap_tbl_idx = ev->u.get_chap.chap_tbl_idx; u 3069 drivers/scsi/scsi_transport_iscsi.c evchap->u.get_chap.num_entries = ev->u.get_chap.num_entries; u 3073 drivers/scsi/scsi_transport_iscsi.c err = transport->get_chap(shost, ev->u.get_chap.chap_tbl_idx, u 3074 drivers/scsi/scsi_transport_iscsi.c &evchap->u.get_chap.num_entries, buf); u 3099 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_path.host_no); u 3102 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.set_path.host_no); u 3120 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.delete_chap.host_no); u 3123 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.delete_chap.host_no); u 3127 drivers/scsi/scsi_transport_iscsi.c err = transport->delete_chap(shost, ev->u.delete_chap.chap_tbl_idx); u 3172 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_flashnode.host_no); u 3175 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.set_flashnode.host_no); u 3180 drivers/scsi/scsi_transport_iscsi.c idx = ev->u.set_flashnode.flashnode_idx; u 3184 drivers/scsi/scsi_transport_iscsi.c __func__, idx, ev->u.set_flashnode.host_no); u 3222 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.new_flashnode.host_no); u 3225 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.new_flashnode.host_no); u 3257 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.del_flashnode.host_no); u 3260 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.del_flashnode.host_no); u 3265 drivers/scsi/scsi_transport_iscsi.c idx = ev->u.del_flashnode.flashnode_idx; u 3269 drivers/scsi/scsi_transport_iscsi.c __func__, idx, ev->u.del_flashnode.host_no); u 3299 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.login_flashnode.host_no); u 3302 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.login_flashnode.host_no); u 3307 drivers/scsi/scsi_transport_iscsi.c idx = ev->u.login_flashnode.flashnode_idx; u 3311 drivers/scsi/scsi_transport_iscsi.c __func__, idx, ev->u.login_flashnode.host_no); u 3351 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.logout_flashnode.host_no); u 3354 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.logout_flashnode.host_no); u 3359 drivers/scsi/scsi_transport_iscsi.c idx = ev->u.logout_flashnode.flashnode_idx; u 3363 drivers/scsi/scsi_transport_iscsi.c __func__, idx, ev->u.logout_flashnode.host_no); u 3401 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.logout_flashnode_sid.host_no); u 3404 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.logout_flashnode.host_no); u 3409 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.logout_flashnode_sid.sid); u 3412 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.logout_flashnode_sid.sid); u 3449 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.get_host_stats.host_no); u 3452 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.get_host_stats.host_no); u 3472 drivers/scsi/scsi_transport_iscsi.c evhost_stats->u.get_host_stats.host_no = u 3473 drivers/scsi/scsi_transport_iscsi.c ev->u.get_host_stats.host_no; u 3528 drivers/scsi/scsi_transport_iscsi.c ev->u.c_session.initial_cmdsn, u 3529 drivers/scsi/scsi_transport_iscsi.c ev->u.c_session.cmds_max, u 3530 drivers/scsi/scsi_transport_iscsi.c ev->u.c_session.queue_depth); u 3533 drivers/scsi/scsi_transport_iscsi.c ep = iscsi_lookup_endpoint(ev->u.c_bound_session.ep_handle); u 3541 drivers/scsi/scsi_transport_iscsi.c ev->u.c_bound_session.initial_cmdsn, u 3542 drivers/scsi/scsi_transport_iscsi.c ev->u.c_bound_session.cmds_max, u 3543 drivers/scsi/scsi_transport_iscsi.c ev->u.c_bound_session.queue_depth); u 3546 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.d_session.sid); u 3549 drivers/scsi/scsi_transport_iscsi.c else if (iscsi_session_has_conns(ev->u.d_session.sid)) u 3555 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.d_session.sid); u 3569 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.b_conn.sid); u 3570 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.b_conn.sid, ev->u.b_conn.cid); u 3581 drivers/scsi/scsi_transport_iscsi.c ev->u.b_conn.transport_eph, u 3582 drivers/scsi/scsi_transport_iscsi.c ev->u.b_conn.is_leading); u 3586 drivers/scsi/scsi_transport_iscsi.c ep = iscsi_lookup_endpoint(ev->u.b_conn.transport_eph); u 3602 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.start_conn.sid, ev->u.start_conn.cid); u 3609 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.stop_conn.sid, ev->u.stop_conn.cid); u 3611 drivers/scsi/scsi_transport_iscsi.c transport->stop_conn(conn, ev->u.stop_conn.flag); u 3616 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.send_pdu.sid, ev->u.send_pdu.cid); u 3620 drivers/scsi/scsi_transport_iscsi.c (char*)ev + sizeof(*ev) + ev->u.send_pdu.hdr_size, u 3621 drivers/scsi/scsi_transport_iscsi.c ev->u.send_pdu.data_size); u 131 drivers/scsi/snic/snic_ctl.c req->u.exch_ver.drvr_ver = cpu_to_le32(ver); u 132 drivers/scsi/snic/snic_ctl.c req->u.exch_ver.os_type = cpu_to_le32(SNIC_OS_LINUX); u 158 drivers/scsi/snic/snic_ctl.c struct snic_exch_ver_rsp *exv_cmpl = &fwreq->u.exch_ver_cmpl; u 68 drivers/scsi/snic/snic_disc.c req->u.rpt_tgts.sg_cnt = cpu_to_le16(1); u 73 drivers/scsi/snic/snic_disc.c req->u.rpt_tgts.sg_addr = cpu_to_le64((ulong)sgd); u 409 drivers/scsi/snic/snic_disc.c tgt_cnt = le32_to_cpu(fwreq->u.rpt_tgts_cmpl.tgt_cnt); u 64 drivers/scsi/snic/snic_disc.h } u; u 450 drivers/scsi/snic/snic_fwint.h } u; u 486 drivers/scsi/snic/snic_fwint.h } u; u 480 drivers/scsi/snic/snic_io.c req->u.icmnd.cdb[0]); u 510 drivers/scsi/snic/snic_io.c rqi->req->u.icmnd.cdb[0]); u 36 drivers/scsi/snic/snic_res.h req->u.icmnd.flags = cpu_to_le16(flags); u 37 drivers/scsi/snic/snic_res.h req->u.icmnd.tgt_id = cpu_to_le64(tgt_id); u 38 drivers/scsi/snic/snic_res.h memcpy(&req->u.icmnd.lun_id, lun, LUN_ADDR_LEN); u 39 drivers/scsi/snic/snic_res.h req->u.icmnd.cdb_len = cdb_len; u 40 drivers/scsi/snic/snic_res.h memset(req->u.icmnd.cdb, 0, SNIC_CDB_LEN); u 41 drivers/scsi/snic/snic_res.h memcpy(req->u.icmnd.cdb, scsi_cdb, cdb_len); u 42 drivers/scsi/snic/snic_res.h req->u.icmnd.data_len = cpu_to_le32(data_len); u 43 drivers/scsi/snic/snic_res.h req->u.icmnd.sg_addr = cpu_to_le64(sgl_addr); u 44 drivers/scsi/snic/snic_res.h req->u.icmnd.sense_len = cpu_to_le32(sense_len); u 45 drivers/scsi/snic/snic_res.h req->u.icmnd.sense_addr = cpu_to_le64(sns_addr_pa); u 54 drivers/scsi/snic/snic_res.h req->u.itmf.tm_type = tm_type; u 55 drivers/scsi/snic/snic_res.h req->u.itmf.flags = cpu_to_le16(flags); u 57 drivers/scsi/snic/snic_res.h req->u.itmf.req_id = cpu_to_le32(req_id); u 58 drivers/scsi/snic/snic_res.h req->u.itmf.tgt_id = cpu_to_le64(tgt_id); u 59 drivers/scsi/snic/snic_res.h memcpy(&req->u.itmf.lun_id, lun, LUN_ADDR_LEN); u 148 drivers/scsi/snic/snic_scsi.c if (req->u.icmnd.sense_addr) u 150 drivers/scsi/snic/snic_scsi.c le64_to_cpu(req->u.icmnd.sense_addr), u 559 drivers/scsi/snic/snic_scsi.c icmnd_cmpl = &fwreq->u.icmnd_cmpl; u 936 drivers/scsi/snic/snic_scsi.c itmf_cmpl = &fwreq->u.itmf_cmpl; u 1135 drivers/scsi/snic/snic_scsi.c struct snic_async_evnotify *aen = &fwreq->u.async_ev; u 2270 drivers/scsi/snic/snic_scsi.c req->u.reset.flags = 0; u 159 drivers/soc/ti/knav_dma.c if (cfg->u.tx.filt_pswords) u 161 drivers/soc/ti/knav_dma.c if (cfg->u.tx.filt_einfo) u 168 drivers/soc/ti/knav_dma.c writel_relaxed(cfg->u.tx.priority, &chan->reg_tx_sched->prio); u 173 drivers/soc/ti/knav_dma.c if (cfg->u.rx.einfo_present) u 175 drivers/soc/ti/knav_dma.c if (cfg->u.rx.psinfo_present) u 177 drivers/soc/ti/knav_dma.c if (cfg->u.rx.err_mode == DMA_RETRY) u 179 drivers/soc/ti/knav_dma.c v |= (cfg->u.rx.desc_type & DESC_TYPE_MASK) << DESC_TYPE_SHIFT; u 180 drivers/soc/ti/knav_dma.c if (cfg->u.rx.psinfo_at_sop) u 182 drivers/soc/ti/knav_dma.c v |= (cfg->u.rx.sop_offset & CHAN_SOP_OFF_MASK) u 184 drivers/soc/ti/knav_dma.c v |= cfg->u.rx.dst_q & CHAN_QNUM_MASK; u 190 drivers/soc/ti/knav_dma.c v = cfg->u.rx.fdq[0] << 16; u 191 drivers/soc/ti/knav_dma.c v |= cfg->u.rx.fdq[1] & CHAN_QNUM_MASK; u 194 drivers/soc/ti/knav_dma.c v = cfg->u.rx.fdq[2] << 16; u 195 drivers/soc/ti/knav_dma.c v |= cfg->u.rx.fdq[3] & CHAN_QNUM_MASK; u 330 drivers/soc/ti/knav_dma.c chan->cfg.u.tx.filt_einfo, u 331 drivers/soc/ti/knav_dma.c chan->cfg.u.tx.filt_pswords, u 332 drivers/soc/ti/knav_dma.c chan->cfg.u.tx.priority); u 335 drivers/soc/ti/knav_dma.c chan->cfg.u.rx.einfo_present, u 336 drivers/soc/ti/knav_dma.c chan->cfg.u.rx.psinfo_present, u 337 drivers/soc/ti/knav_dma.c chan->cfg.u.rx.desc_type); u 339 drivers/soc/ti/knav_dma.c chan->cfg.u.rx.dst_q, u 340 drivers/soc/ti/knav_dma.c chan->cfg.u.rx.thresh); u 342 drivers/soc/ti/knav_dma.c seq_printf(s, "[%d]", chan->cfg.u.rx.fdq[i]); u 475 drivers/spi/spi-au1550.c *(u##size *)hw->rx = (u##size)fifoword; \ u 486 drivers/spi/spi-au1550.c fifoword = *(u##size *)hw->tx & (u32)(mask); \ u 223 drivers/staging/comedi/drivers/dt9812.c } u; u 244 drivers/staging/comedi/drivers/dt9812.c cmd.u.flash_data_info.address = u 246 drivers/staging/comedi/drivers/dt9812.c cmd.u.flash_data_info.numbytes = cpu_to_le16(buf_size); u 268 drivers/staging/comedi/drivers/dt9812.c cmd.u.read_multi_info.count = reg_count; u 270 drivers/staging/comedi/drivers/dt9812.c cmd.u.read_multi_info.address[i] = address[i]; u 292 drivers/staging/comedi/drivers/dt9812.c cmd.u.read_multi_info.count = reg_count; u 294 drivers/staging/comedi/drivers/dt9812.c cmd.u.write_multi_info.write[i].address = address[i]; u 295 drivers/staging/comedi/drivers/dt9812.c cmd.u.write_multi_info.write[i].value = value[i]; u 313 drivers/staging/comedi/drivers/dt9812.c cmd.u.rmw_multi_info.count = reg_count; u 315 drivers/staging/comedi/drivers/dt9812.c cmd.u.rmw_multi_info.rmw[i] = rmw[i]; u 864 drivers/staging/fsl-dpaa2/ethsw/ethsw.c attr->u.stp_state); u 868 drivers/staging/fsl-dpaa2/ethsw/ethsw.c attr->u.brport_flags); u 872 drivers/staging/fsl-dpaa2/ethsw/ethsw.c attr->u.brport_flags); u 166 drivers/staging/greybus/loopback.c gb_loopback_ro_stats_attr(field, min, u); \ u 167 drivers/staging/greybus/loopback.c gb_loopback_ro_stats_attr(field, max, u); \ u 302 drivers/staging/greybus/loopback.c gb_dev_loopback_rw_attr(size, u); u 306 drivers/staging/greybus/loopback.c gb_dev_loopback_rw_attr(iteration_max, u); u 310 drivers/staging/greybus/loopback.c gb_dev_loopback_rw_attr(async, u); u 312 drivers/staging/greybus/loopback.c gb_dev_loopback_rw_attr(timeout, u); u 314 drivers/staging/greybus/loopback.c gb_dev_loopback_rw_attr(outstanding_operations_max, u); u 1159 drivers/staging/ks7010/ks_wlan_net.c iwe->u.data.length += sizeof(rsn_leader) - 1; u 1163 drivers/staging/ks7010/ks_wlan_net.c iwe->u.data.length += 4; u 1168 drivers/staging/ks7010/ks_wlan_net.c iwe->u.data.length += rsn->size * 2; u 1192 drivers/staging/ks7010/ks_wlan_net.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 1193 drivers/staging/ks7010/ks_wlan_net.c ether_addr_copy(iwe.u.ap_addr.sa_data, ap->bssid); u 1200 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.length = ap->ssid.size; u 1201 drivers/staging/ks7010/ks_wlan_net.c if (iwe.u.data.length > 32) u 1202 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.length = 32; u 1204 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.flags = 1; u 1212 drivers/staging/ks7010/ks_wlan_net.c iwe.u.mode = (capabilities & WLAN_CAPABILITY_ESS) ? u 1220 drivers/staging/ks7010/ks_wlan_net.c iwe.u.freq.m = ap->channel; u 1221 drivers/staging/ks7010/ks_wlan_net.c iwe.u.freq.m = frequency_list[iwe.u.freq.m - 1] * 100000; u 1222 drivers/staging/ks7010/ks_wlan_net.c iwe.u.freq.e = 1; u 1228 drivers/staging/ks7010/ks_wlan_net.c iwe.u.qual.level = 256 - ap->rssi; u 1229 drivers/staging/ks7010/ks_wlan_net.c iwe.u.qual.qual = ap->sq; u 1230 drivers/staging/ks7010/ks_wlan_net.c iwe.u.qual.noise = 0; /* invalid noise value */ u 1236 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.flags = (capabilities & WLAN_CAPABILITY_PRIVACY) ? u 1239 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.length = 0; u 1252 drivers/staging/ks7010/ks_wlan_net.c iwe.u.bitrate.fixed = 0; u 1253 drivers/staging/ks7010/ks_wlan_net.c iwe.u.bitrate.disabled = 0; u 1261 drivers/staging/ks7010/ks_wlan_net.c iwe.u.bitrate.value = ((ap->rate_set.body[i] & 0x7f) * 500000); u 2462 drivers/staging/ks7010/ks_wlan_net.c ret = ks_wlan_set_stop_request(dev, NULL, &wrq->u.mode, NULL); u 1869 drivers/staging/media/ipu3/include/intel-ipu3.h __u32 u:13; u 1387 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_frame_sp_plane u; u 1005 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.out_vf.planes.yuv.u.offset = u 419 drivers/staging/media/meson/vdec/vdec_helpers.c .u.src_change.changes = V4L2_EVENT_SRC_CH_RESOLUTION }; u 3404 drivers/staging/octeon-usb/octeon-hcd.c desc->u.hs.DeviceRemovable[0] = 0; u 3405 drivers/staging/octeon-usb/octeon-hcd.c desc->u.hs.DeviceRemovable[1] = 0xff; u 27 drivers/staging/rtl8188eu/core/rtw_security.c u32 t, u; u 43 drivers/staging/rtl8188eu/core/rtw_security.c u = state[stateindex]; u 45 drivers/staging/rtl8188eu/core/rtw_security.c state[counter] = (u8)u; u 236 drivers/staging/rtl8188eu/include/ieee80211.h } u; u 111 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 113 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress, ETH_ALEN); u 118 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.flags = 1; u 119 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = min_t(u16, pnetwork->network.ssid.ssid_length, 32); u 142 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bn"); u 144 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11b"); u 147 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bgn"); u 149 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bg"); u 153 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11an"); u 155 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11a"); u 158 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11gn"); u 160 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11g"); u 174 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.mode = IW_MODE_MASTER; u 176 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.mode = IW_MODE_ADHOC; u 186 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.freq.m = rtw_ch2freq(pnetwork->network.Configuration.DSConfig) * 100000; u 187 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.freq.e = 1; u 188 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.freq.i = pnetwork->network.Configuration.DSConfig; u 194 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 196 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 197 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = 0; u 225 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.bitrate.fixed = 0; u 226 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.bitrate.disabled = 0; u 227 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.bitrate.value = max_rate * 500000; u 253 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); u 258 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = wpa_len; u 268 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); u 273 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = rsn_len; u 291 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = (u16)wps_ielen; u 300 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED | IW_QUAL_LEVEL_UPDATED | IW_QUAL_NOISE_INVALID; u 311 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)ss; u 312 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.qual = (u8)sq; /* signal quality */ u 313 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.noise = 0; /* noise level */ u 358 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.err = 0; u 359 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 361 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param_len < (u32)((u8 *)param->u.crypt.key - (u8 *)param) + param->u.crypt.key_len) { u 367 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS) { u 376 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 384 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wep_key_idx = param->u.crypt.idx; u 385 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wep_key_len = param->u.crypt.key_len; u 416 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); u 417 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx) { u 443 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") != 0) u 450 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { /* pairwise key */ u 451 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); u 453 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */ u 454 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); u 455 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); u 463 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16 )); u 464 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); u 465 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); u 469 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; u 471 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_key(padapter, &padapter->securitypriv, param->u.crypt.idx, 1); u 479 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") != 0) u 1897 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c strlcpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); u 1900 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.set_tx = 1; u 1907 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.set_tx = 0; u 1909 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.idx = (pencoding->flags&0x00FF) - 1; u 1912 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(param->u.crypt.seq, pext->rx_seq, 8); u 1915 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key_len = pext->key_len; u 1916 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(param->u.crypt.key, pext + 1, pext->key_len); u 2047 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = wpa_set_param(dev, param->u.wpa_param.name, param->u.wpa_param.value); u 2052 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (char *)param->u.wpa_ie.data, (u16)param->u.wpa_ie.len); u 2060 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = wpa_mlme(dev, param->u.mlme.command, param->u.mlme.reason_code); u 2204 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.err = 0; u 2205 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 2206 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) { u 2211 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS) { u 2223 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") == 0 && (!psta)) { u 2226 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("clear default encryption keys, keyid =%d\n", param->u.crypt.idx); u 2229 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (!psta)) { u 2231 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wep_key_idx = param->u.crypt.idx; u 2232 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wep_key_len = param->u.crypt.key_len; u 2256 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); u 2258 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx) { u 2294 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { u 2295 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 2298 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, u 2299 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); u 2302 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) u 2304 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { u 2307 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, u 2308 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); u 2310 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); u 2311 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); u 2314 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { u 2317 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, u 2318 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); u 2323 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; u 2326 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); u 2338 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { u 2339 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); u 2341 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 2345 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) u 2347 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { u 2353 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); u 2354 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); u 2357 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { u 2371 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 2372 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, u 2373 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); u 2375 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) u 2377 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { u 2380 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, u 2381 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); u 2384 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); u 2385 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); u 2388 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { u 2391 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, u 2392 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); u 2397 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; u 2403 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); u 2427 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c unsigned char *pbuf = param->u.bcn_ie.buf; u 2434 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(&pstapriv->max_num_sta, param->u.bcn_ie.reserved, 2); u 2466 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("rtw_add_sta(aid =%d) =%pM\n", param->u.add_sta.aid, (param->sta_addr)); u 2476 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c int flags = param->u.add_sta.flags; u 2478 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->aid = param->u.add_sta.aid;/* aid = 1~2007 */ u 2480 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->bssrateset, param->u.add_sta.tx_supp_rates, 16); u 2495 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(&psta->htpriv.ht_cap, ¶m->u.add_sta.ht_cap, u 2627 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.wpa_ie.len = copy_len; u 2628 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(param->u.wpa_ie.reserved, psta->wpa_ie, copy_len); u 2665 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_beacon_ie, param->u.bcn_ie.buf, ie_len); u 2698 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_probe_resp_ie, param->u.bcn_ie.buf, ie_len); u 2728 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_assoc_resp_ie, param->u.bcn_ie.buf, ie_len); u 2746 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.wpa_param.name != 0) /* dummy test... */ u 2747 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("%s name(%u) != 0\n", __func__, param->u.wpa_param.name); u 2748 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c value = param->u.wpa_param.value; u 2794 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_macaddr_acl(padapter, param->u.mlme.command); u 3052 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = wpa_supplicant_ioctl(dev, &wrq->u.data); u 3056 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_hostapd_ioctl(dev, &wrq->u.data); u 50 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 51 drivers/staging/rtl8192e/rtllib_wx.c ether_addr_copy(iwe.u.ap_addr.sa_data, network->bssid); u 58 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.flags = 1; u 60 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = min_t(u8, network->ssid_len, 32); u 64 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = sizeof("<hidden>"); u 68 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = min_t(u8, network->hidden_ssid_len, 32); u 82 drivers/staging/rtl8192e/rtllib_wx.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE802.11%s", proto_name); u 90 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.mode = IW_MODE_MASTER; u 92 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.mode = IW_MODE_ADHOC; u 99 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.freq.m = network->channel; u 100 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.freq.e = 0; u 101 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.freq.i = 0; u 108 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 110 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 111 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = 0; u 161 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; u 162 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.bitrate.value = max_rate * 500000; u 166 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = p - custom; u 167 drivers/staging/rtl8192e/rtllib_wx.c if (iwe.u.data.length) u 173 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.qual = network->stats.signal; u 174 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.level = network->stats.rssi; u 175 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.noise = network->stats.noise; u 176 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated = network->stats.mask & RTLLIB_STATMASK_WEMASK; u 178 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated |= IW_QUAL_LEVEL_INVALID; u 180 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated |= IW_QUAL_NOISE_INVALID; u 182 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated |= IW_QUAL_QUAL_INVALID; u 183 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated = 7; u 189 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = p - custom; u 190 drivers/staging/rtl8192e/rtllib_wx.c if (iwe.u.data.length) u 200 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = network->wpa_ie_len; u 209 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = network->rsn_ie_len; u 220 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = network->wzc_ie_len; u 232 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = p - custom; u 233 drivers/staging/rtl8192e/rtllib_wx.c if (iwe.u.data.length) u 321 drivers/staging/rtl8192u/ieee80211/ieee80211.h } u; u 2661 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.wpa_ie.len > MAX_WPA_IE_LEN) u 2664 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.wpa_ie.len) { u 2665 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c buf = kmemdup(param->u.wpa_ie.data, param->u.wpa_ie.len, u 2672 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ieee->wpa_ie_len = param->u.wpa_ie.len; u 2801 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = 0; u 2802 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 2805 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c (int)((char *)param->u.crypt.key - (char *)param) + u 2806 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key_len) { u 2808 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key_len); u 2812 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.crypt.idx >= WEP_KEYS) u 2814 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c crypt = &ieee->crypt[param->u.crypt.idx]; u 2819 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (strcmp(param->u.crypt.alg, "none") == 0) { u 2837 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c strcmp(param->u.crypt.alg, "TKIP")) u 2841 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (!strcmp(param->u.crypt.alg, "WEP")) u 2843 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c else if (!strcmp(param->u.crypt.alg, "TKIP")) u 2845 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c else if (!strcmp(param->u.crypt.alg, "CCMP")) u 2848 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ops = try_then_request_module(ieee80211_get_crypto_ops(param->u.crypt.alg), u 2851 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c printk("unknown crypto alg '%s'\n", param->u.crypt.alg); u 2852 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = IEEE_CRYPT_ERR_UNKNOWN_ALG; u 2870 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c new_crypt->ops->init(param->u.crypt.idx); u 2874 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = IEEE_CRYPT_ERR_CRYPT_INIT_FAILED; u 2882 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.crypt.key_len > 0 && (*crypt)->ops->set_key && u 2883 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c (*crypt)->ops->set_key(param->u.crypt.key, u 2884 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key_len, param->u.crypt.seq, u 2887 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = IEEE_CRYPT_ERR_KEY_SET_FAILED; u 2893 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.crypt.set_tx) { u 2894 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ieee->tx_keyidx = param->u.crypt.idx; u 2895 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.active_key = param->u.crypt.idx; u 2900 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c memcpy(sec.keys[param->u.crypt.idx], u 2901 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key, u 2902 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key_len); u 2903 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.key_sizes[param->u.crypt.idx] = param->u.crypt.key_len; u 2904 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.flags |= (1 << param->u.crypt.idx); u 2906 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 2909 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { u 2912 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { u 2930 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = IEEE_CRYPT_ERR_CARD_CONF_FAILED; u 2998 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ret = ieee80211_wpa_set_param(ieee, param->u.wpa_param.name, u 2999 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.wpa_param.value); u 3011 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ret = ieee80211_wpa_mlme(ieee, param->u.mlme.command, u 3012 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.mlme.reason_code); u 55 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 56 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); u 62 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.flags = 1; u 65 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = sizeof("<hidden>"); u 68 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = min(network->ssid_len, (u8)32); u 80 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE802.11%s", proto_name); u 87 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.mode = IW_MODE_MASTER; u 89 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.mode = IW_MODE_ADHOC; u 97 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.freq.m = network->channel; u 98 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.freq.e = 0; u 99 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.freq.i = 0; u 104 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 106 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 107 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = 0; u 152 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; u 153 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.bitrate.value = max_rate * 500000; u 157 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = p - custom; u 158 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c if (iwe.u.data.length) u 163 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.qual = network->stats.signal; u 164 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.level = network->stats.rssi; u 165 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.noise = network->stats.noise; u 166 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated = network->stats.mask & IEEE80211_STATMASK_WEMASK; u 168 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated |= IW_QUAL_LEVEL_INVALID; u 170 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated |= IW_QUAL_NOISE_INVALID; u 172 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated |= IW_QUAL_QUAL_INVALID; u 173 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated = 7; u 178 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = p - custom; u 179 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c if (iwe.u.data.length) u 193 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = strlen(buf); u 208 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = strlen(buf); u 219 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = p - custom; u 220 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c if (iwe.u.data.length) u 3530 drivers/staging/rtl8192u/r8192U_core.c struct iw_point *p = &wrq->u.data; u 3551 drivers/staging/rtl8192u/r8192U_core.c if (ipw->u.crypt.set_tx) { u 3552 drivers/staging/rtl8192u/r8192U_core.c if (strcmp(ipw->u.crypt.alg, "CCMP") == 0) { u 3554 drivers/staging/rtl8192u/r8192U_core.c } else if (strcmp(ipw->u.crypt.alg, "TKIP") == 0) { u 3556 drivers/staging/rtl8192u/r8192U_core.c } else if (strcmp(ipw->u.crypt.alg, "WEP") == 0) { u 3557 drivers/staging/rtl8192u/r8192U_core.c if (ipw->u.crypt.key_len == 13) u 3559 drivers/staging/rtl8192u/r8192U_core.c else if (ipw->u.crypt.key_len == 5) u 3566 drivers/staging/rtl8192u/r8192U_core.c memcpy((u8 *)key, ipw->u.crypt.key, 16); u 3574 drivers/staging/rtl8192u/r8192U_core.c setKey(dev, 4, ipw->u.crypt.idx, u 3579 drivers/staging/rtl8192u/r8192U_core.c setKey(dev, ipw->u.crypt.idx, u 3580 drivers/staging/rtl8192u/r8192U_core.c ipw->u.crypt.idx, u 3586 drivers/staging/rtl8192u/r8192U_core.c memcpy((u8 *)key, ipw->u.crypt.key, 16); u 3587 drivers/staging/rtl8192u/r8192U_core.c if (strcmp(ipw->u.crypt.alg, "CCMP") == 0) { u 3589 drivers/staging/rtl8192u/r8192U_core.c } else if (strcmp(ipw->u.crypt.alg, "TKIP") == 0) { u 3591 drivers/staging/rtl8192u/r8192U_core.c } else if (strcmp(ipw->u.crypt.alg, "WEP") == 0) { u 3592 drivers/staging/rtl8192u/r8192U_core.c if (ipw->u.crypt.key_len == 13) u 3594 drivers/staging/rtl8192u/r8192U_core.c else if (ipw->u.crypt.key_len == 5) u 3601 drivers/staging/rtl8192u/r8192U_core.c setKey(dev, ipw->u.crypt.idx, u 3603 drivers/staging/rtl8192u/r8192U_core.c ipw->u.crypt.idx, u 3616 drivers/staging/rtl8192u/r8192U_core.c &wrq->u.data); u 102 drivers/staging/rtl8712/ieee80211.h } u; u 35 drivers/staging/rtl8712/recv_linux.c precvframe->u.hdr.pkt_newalloc = NULL; u 36 drivers/staging/rtl8712/recv_linux.c precvframe->u.hdr.pkt = NULL; u 98 drivers/staging/rtl8712/recv_linux.c struct rx_pkt_attrib *attrib = &recvframe->u.hdr.attrib; u 102 drivers/staging/rtl8712/recv_linux.c skb = recvframe->u.hdr.pkt; u 105 drivers/staging/rtl8712/recv_linux.c skb->data = recvframe->u.hdr.rx_data; u 106 drivers/staging/rtl8712/recv_linux.c skb->len = recvframe->u.hdr.len; u 115 drivers/staging/rtl8712/recv_linux.c recvframe->u.hdr.pkt = NULL; /* pointers to NULL before u 125 drivers/staging/rtl8712/rtl8712_recv.c struct _adapter *padapter = precvframe->u.hdr.adapter; u 128 drivers/staging/rtl8712/rtl8712_recv.c if (precvframe->u.hdr.pkt) { u 129 drivers/staging/rtl8712/rtl8712_recv.c dev_kfree_skb_any(precvframe->u.hdr.pkt);/*free skb by driver*/ u 130 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.pkt = NULL; u 133 drivers/staging/rtl8712/rtl8712_recv.c list_del_init(&(precvframe->u.hdr.list)); u 134 drivers/staging/rtl8712/rtl8712_recv.c list_add_tail(&(precvframe->u.hdr.list), &pfree_recv_queue->queue); u 192 drivers/staging/rtl8712/rtl8712_recv.c prframe = container_of(plist, union recv_frame, u.list); u 193 drivers/staging/rtl8712/rtl8712_recv.c list_del_init(&prframe->u.list); u 194 drivers/staging/rtl8712/rtl8712_recv.c pfhdr = &prframe->u.hdr; u 208 drivers/staging/rtl8712/rtl8712_recv.c pnextrframe = container_of(plist, union recv_frame, u.list); u 209 drivers/staging/rtl8712/rtl8712_recv.c pnfhdr = &pnextrframe->u.hdr; u 254 drivers/staging/rtl8712/rtl8712_recv.c pfhdr = &precv_frame->u.hdr; u 312 drivers/staging/rtl8712/rtl8712_recv.c if (prtnframe && (prtnframe->u.hdr.attrib.privacy)) { u 334 drivers/staging/rtl8712/rtl8712_recv.c pattrib = &prframe->u.hdr.attrib; u 335 drivers/staging/rtl8712/rtl8712_recv.c recvframe_pull(prframe, prframe->u.hdr.attrib.hdrlen); u 336 drivers/staging/rtl8712/rtl8712_recv.c if (prframe->u.hdr.attrib.iv_len > 0) u 337 drivers/staging/rtl8712/rtl8712_recv.c recvframe_pull(prframe, prframe->u.hdr.attrib.iv_len); u 338 drivers/staging/rtl8712/rtl8712_recv.c a_len = prframe->u.hdr.len; u 339 drivers/staging/rtl8712/rtl8712_recv.c pdata = prframe->u.hdr.rx_data; u 418 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.len = 0; u 482 drivers/staging/rtl8712/rtl8712_recv.c struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; u 487 drivers/staging/rtl8712/rtl8712_recv.c pnextrframe = container_of(plist, union recv_frame, u.list); u 488 drivers/staging/rtl8712/rtl8712_recv.c pnextattrib = &pnextrframe->u.hdr.attrib; u 496 drivers/staging/rtl8712/rtl8712_recv.c list_del_init(&(prframe->u.hdr.list)); u 497 drivers/staging/rtl8712/rtl8712_recv.c list_add_tail(&(prframe->u.hdr.list), plist); u 519 drivers/staging/rtl8712/rtl8712_recv.c prframe = container_of(plist, union recv_frame, u.list); u 520 drivers/staging/rtl8712/rtl8712_recv.c pattrib = &prframe->u.hdr.attrib; u 527 drivers/staging/rtl8712/rtl8712_recv.c prframe = container_of(plist, union recv_frame, u.list); u 528 drivers/staging/rtl8712/rtl8712_recv.c pattrib = &prframe->u.hdr.attrib; u 531 drivers/staging/rtl8712/rtl8712_recv.c list_del_init(&(prframe->u.hdr.list)); u 561 drivers/staging/rtl8712/rtl8712_recv.c struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; u 562 drivers/staging/rtl8712/rtl8712_recv.c struct recv_reorder_ctrl *preorder_ctrl = prframe->u.hdr.preorder_ctrl; u 719 drivers/staging/rtl8712/rtl8712_recv.c struct recv_stat *prxstat = (struct recv_stat *)prframe->u.hdr.rx_head; u 730 drivers/staging/rtl8712/rtl8712_recv.c bcck_rate = (prframe->u.hdr.attrib.mcs_rate <= 3 ? 1 : 0); u 818 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.signal_qual = sq; u 819 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.rx_mimo_signal_qual[0] = sq; u 820 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.rx_mimo_signal_qual[1] = -1; u 841 drivers/staging/rtl8712/rtl8712_recv.c if (prframe->u.hdr.attrib.htc && u 842 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.mcs_rate >= 20 && u 843 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.mcs_rate <= 27) { u 853 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.signal_qual = u 855 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.rx_mimo_signal_qual[i] = u 865 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.signal_strength = u 869 drivers/staging/rtl8712/rtl8712_recv.c prframe->u.hdr.attrib.signal_strength = u 884 drivers/staging/rtl8712/rtl8712_recv.c pattrib = &prframe->u.hdr.attrib; u 908 drivers/staging/rtl8712/rtl8712_recv.c struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; u 942 drivers/staging/rtl8712/rtl8712_recv.c pattrib = &prframe->u.hdr.attrib; u 1031 drivers/staging/rtl8712/rtl8712_recv.c INIT_LIST_HEAD(&precvframe->u.hdr.list); u 1032 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.precvbuf = NULL; /*can't access the precvbuf*/ u 1033 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.len = 0; u 1050 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.pkt = pkt_copy; u 1055 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.rx_head = precvframe->u.hdr.rx_data = u 1056 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.rx_tail = pkt_copy->data; u 1057 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; u 1059 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.pkt = skb_clone(pskb, GFP_ATOMIC); u 1060 drivers/staging/rtl8712/rtl8712_recv.c if (!precvframe->u.hdr.pkt) u 1062 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.rx_head = pbuf; u 1063 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.rx_data = pbuf; u 1064 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.rx_tail = pbuf; u 1065 drivers/staging/rtl8712/rtl8712_recv.c precvframe->u.hdr.rx_end = pbuf + alloc_sz; u 1072 drivers/staging/rtl8712/rtl8712_recv.c update_recvframe_attrib_from_recvstat(&precvframe->u.hdr.attrib, u 136 drivers/staging/rtl8712/rtl8712_recv.h } u; u 83 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(psta->x_UncstKey.skey, param->u.crypt.key, u 84 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (param->u.crypt. key_len > 16 ? 16 : param->u.crypt.key_len)); u 85 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */ u 87 drivers/staging/rtl8712/rtl871x_ioctl_linux.c &(param->u.crypt.key[16]), 8); u 89 drivers/staging/rtl8712/rtl871x_ioctl_linux.c &(param->u.crypt.key[24]), 8); u 104 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param->u.crypt.idx > 0 && u 105 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.idx < 3) { u 107 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(gk[param->u.crypt.idx - 1].skey, u 108 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.key, u 109 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (param->u.crypt.key_len > 16 ? 16 : u 110 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.key_len)); u 111 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(gtk[param->u.crypt.idx - 1].skey, u 112 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ¶m->u.crypt.key[16], 8); u 113 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(grk[param->u.crypt.idx - 1].skey, u 114 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ¶m->u.crypt.key[24], 8); u 117 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.idx); u 152 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = (u16)strlen(buf); u 157 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = (u16)wpa_len; u 172 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = strlen(buf); u 177 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = rsn_len; u 199 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = (u16)wps_ielen; u 230 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 231 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ether_addr_copy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress); u 235 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.flags = 1; u 236 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.length = min_t(u32, pnetwork->network.Ssid.SsidLength, 32); u 251 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bn"); u 253 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11b"); u 256 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bgn"); u 258 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bg"); u 261 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11gn"); u 263 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11g"); u 273 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.mode = (u32)IW_MODE_MASTER; u 275 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.mode = (u32)IW_MODE_ADHOC; u 287 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.m = u 291 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.m = 0; u 293 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.e = (s16)1; u 294 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.i = (u8)pnetwork->network.Configuration.DSConfig; u 300 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.flags = (u16)(IW_ENCODE_ENABLED | u 303 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.flags = (u16)(IW_ENCODE_DISABLED); u 304 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.length = (u16)0; u 310 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.fixed = 0; u 311 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.disabled = 0; u 312 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.value = 0; u 316 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.value = (pnetwork->network.rates[i++] & u 333 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.updated = (u8)(IW_QUAL_QUAL_INVALID | IW_QUAL_LEVEL_UPDATED | u 335 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.level = rssi; /* signal strength */ u 336 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.qual = 0; /* signal quality */ u 337 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.noise = 0; /* noise level */ u 382 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.err = 0; u 383 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 384 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param_len != (u32)((u8 *) param->u.crypt.key - (u8 *)param) + u 385 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.key_len) u 390 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS) { u 392 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.idx = 0; u 394 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 400 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wep_key_idx = param->u.crypt.idx; u 401 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wep_key_len = param->u.crypt.key_len; u 420 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); u 421 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param->u.crypt.set_tx) { u 458 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param->u.crypt.set_tx == 1) u 1791 drivers/staging/rtl8712/rtl871x_ioctl_linux.c strlcpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); u 1793 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.set_tx = 0; u 1795 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.set_tx = 1; u 1796 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.idx = (pencoding->flags & 0x00FF) - 1; u 1798 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(param->u.crypt.seq, pext->rx_seq, 8); u 1800 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.key_len = pext->key_len; u 2159 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = wpa_set_param(dev, param->u.wpa_param.name, u 2160 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.wpa_param.value); u 2163 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = r871x_set_wpa_ie(padapter, (char *)param->u.wpa_ie.data, u 2164 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (u16)param->u.wpa_ie.len); u 2170 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = wpa_mlme(dev, param->u.mlme.command, u 2171 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.mlme.reason_code); u 2190 drivers/staging/rtl8712/rtl871x_ioctl_linux.c return wpa_supplicant_ioctl(dev, &wrq->u.data); u 75 drivers/staging/rtl8712/rtl871x_recv.c INIT_LIST_HEAD(&(precvframe->u.list)); u 76 drivers/staging/rtl8712/rtl871x_recv.c list_add_tail(&(precvframe->u.list), u 79 drivers/staging/rtl8712/rtl871x_recv.c precvframe->u.hdr.adapter = padapter; u 101 drivers/staging/rtl8712/rtl871x_recv.c union recv_frame, u.hdr.list); u 103 drivers/staging/rtl8712/rtl871x_recv.c list_del_init(&precvframe->u.hdr.list); u 104 drivers/staging/rtl8712/rtl871x_recv.c padapter = precvframe->u.hdr.adapter; u 130 drivers/staging/rtl8712/rtl871x_recv.c precvframe = container_of(plist, union recv_frame, u.list); u 147 drivers/staging/rtl8712/rtl871x_recv.c struct rx_pkt_attrib *prxattrib = &precvframe->u.hdr.attrib; u 155 drivers/staging/rtl8712/rtl871x_recv.c iv = precvframe->u.hdr.rx_data + u 166 drivers/staging/rtl8712/rtl871x_recv.c datalen = precvframe->u.hdr.len - prxattrib->hdrlen - u 168 drivers/staging/rtl8712/rtl871x_recv.c pframe = precvframe->u.hdr.rx_data; u 201 drivers/staging/rtl8712/rtl871x_recv.c struct rx_pkt_attrib *prxattrib = &precv_frame->u.hdr.attrib; u 241 drivers/staging/rtl8712/rtl871x_recv.c pfhdr = &precv_frame->u.hdr; u 283 drivers/staging/rtl8712/rtl871x_recv.c sint tid = precv_frame->u.hdr.attrib.priority; u 284 drivers/staging/rtl8712/rtl871x_recv.c u16 seq_ctrl = ((precv_frame->u.hdr.attrib.seq_num & 0xffff) << 4) | u 285 drivers/staging/rtl8712/rtl871x_recv.c (precv_frame->u.hdr.attrib.frag_num & 0xf); u 299 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 301 drivers/staging/rtl8712/rtl871x_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 369 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 370 drivers/staging/rtl8712/rtl871x_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 430 drivers/staging/rtl8712/rtl871x_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 469 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 470 drivers/staging/rtl8712/rtl871x_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 509 drivers/staging/rtl8712/rtl871x_recv.c precv_frame->u.hdr.psta = psta; u 524 drivers/staging/rtl8712/rtl871x_recv.c precv_frame->u.hdr.preorder_ctrl = u 553 drivers/staging/rtl8712/rtl871x_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 555 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 596 drivers/staging/rtl8712/rtl871x_recv.c struct _adapter *adapter = precvframe->u.hdr.adapter; u 600 drivers/staging/rtl8712/rtl871x_recv.c struct rx_pkt_attrib *pattrib = &precvframe->u.hdr.attrib; u 622 drivers/staging/rtl8712/rtl871x_recv.c len = precvframe->u.hdr.len - rmv_len; u 658 drivers/staging/rtl8712/rtl871x_recv.c padapter = precvframe->u.hdr.adapter; u 667 drivers/staging/rtl8712/rtl871x_recv.c precvpriv->rx_bytes += (uint)(precvframe->u.hdr.rx_tail - u 668 drivers/staging/rtl8712/rtl871x_recv.c precvframe->u.hdr.rx_data); u 143 drivers/staging/rtl8712/rtl871x_recv.h return precvframe->u.hdr.rx_head; u 151 drivers/staging/rtl8712/rtl871x_recv.h return precvframe->u.hdr.rx_data; u 161 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.rx_data += sz; u 162 drivers/staging/rtl8712/rtl871x_recv.h if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { u 163 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.rx_data -= sz; u 166 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.len -= sz; u 167 drivers/staging/rtl8712/rtl871x_recv.h return precvframe->u.hdr.rx_data; u 178 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.rx_tail += sz; u 179 drivers/staging/rtl8712/rtl871x_recv.h if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { u 180 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.rx_tail -= sz; u 183 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.len += sz; u 184 drivers/staging/rtl8712/rtl871x_recv.h return precvframe->u.hdr.rx_tail; u 196 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.rx_tail -= sz; u 197 drivers/staging/rtl8712/rtl871x_recv.h if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { u 198 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.rx_tail += sz; u 201 drivers/staging/rtl8712/rtl871x_recv.h precvframe->u.hdr.len -= sz; u 202 drivers/staging/rtl8712/rtl871x_recv.h return precvframe->u.hdr.rx_tail; u 49 drivers/staging/rtl8712/rtl871x_security.c u32 t, u; u 65 drivers/staging/rtl8712/rtl871x_security.c u = state[stateindex]; u 67 drivers/staging/rtl8712/rtl871x_security.c state[counter] = (u8)u; u 217 drivers/staging/rtl8712/rtl871x_security.c precvframe)->u.hdr.attrib); u 221 drivers/staging/rtl8712/rtl871x_security.c u.hdr.rx_data; u 233 drivers/staging/rtl8712/rtl871x_security.c u.hdr.len - prxattrib->hdrlen - prxattrib->iv_len; u 652 drivers/staging/rtl8712/rtl871x_security.c precvframe)->u.hdr.attrib; u 656 drivers/staging/rtl8712/rtl871x_security.c precvframe)->u.hdr.rx_data; u 666 drivers/staging/rtl8712/rtl871x_security.c u.hdr.len - prxattrib->hdrlen - u 1351 drivers/staging/rtl8712/rtl871x_security.c precvframe)->u.hdr.attrib; u 1355 drivers/staging/rtl8712/rtl871x_security.c u.hdr.rx_data; u 1373 drivers/staging/rtl8712/rtl871x_security.c u.hdr.len - prxattrib->hdrlen - u 727 drivers/staging/rtl8723bs/core/rtw_ap.c max_AMPDU_len = pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x03; u 730 drivers/staging/rtl8723bs/core/rtw_ap.c pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c u 745 drivers/staging/rtl8723bs/core/rtw_ap.c pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info u 2882 drivers/staging/rtl8723bs/core/rtw_mlme.c (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & u 2891 drivers/staging/rtl8723bs/core/rtw_mlme.c pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= pmlmeext->default_supported_mcs_set[i]; u 2897 drivers/staging/rtl8723bs/core/rtw_mlme.c set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_1R); u 2903 drivers/staging/rtl8723bs/core/rtw_mlme.c set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R_13TO15_OFF); u 2905 drivers/staging/rtl8723bs/core/rtw_mlme.c set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R); u 2907 drivers/staging/rtl8723bs/core/rtw_mlme.c set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R); u 2932 drivers/staging/rtl8723bs/core/rtw_mlme.c (le16_to_cpu(pmlmeinfo->HT_caps.u.HT_cap_element.HT_caps_info) & u 505 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 523 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 555 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (precv_frame->u.hdr.attrib.seq_num == psta->RxMgmtFrameSeqNum) { u 558 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("Drop duplicate management frame with seq_num = %d.\n", precv_frame->u.hdr.attrib.seq_num); u 562 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->RxMgmtFrameSeqNum = precv_frame->u.hdr.attrib.seq_num; u 606 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 607 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c uint len = precv_frame->u.hdr.len; u 778 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 779 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c uint len = precv_frame->u.hdr.len; u 785 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + sizeof(struct ieee80211_hdr_3addr) + _BEACON_IE_OFFSET_, _EXT_SUPPORTEDRATES_IE_, &ielen, precv_frame->u.hdr.len - sizeof(struct ieee80211_hdr_3addr) - _BEACON_IE_OFFSET_); u 896 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 897 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c uint len = precv_frame->u.hdr.len; u 911 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct rx_pkt_attrib *prxattrib = &(precv_frame->u.hdr.attrib); u 1092 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 1093 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c uint pkt_len = precv_frame->u.hdr.len; u 1189 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 1190 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c uint pkt_len = precv_frame->u.hdr.len; u 1656 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 1657 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c uint pkt_len = precv_frame->u.hdr.len; u 1745 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 1820 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 1879 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 1921 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 2021 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct adapter *adapter = recv_frame->u.hdr.adapter; u 2023 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *frame = recv_frame->u.hdr.rx_data; u 2024 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u16 seq_ctrl = ((recv_frame->u.hdr.attrib.seq_num&0xffff) << 4) | u 2025 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c (recv_frame->u.hdr.attrib.frag_num & 0xf); u 2054 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 2071 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 2084 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 2085 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c uint frame_len = precv_frame->u.hdr.len; u 2088 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct adapter *adapter = precv_frame->u.hdr.adapter; u 2109 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 2137 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 2164 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 2165 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 2203 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 4417 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *pframe = precv_frame->u.hdr.rx_data; u 4418 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u32 packet_len = precv_frame->u.hdr.len; u 4460 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c bssid->Rssi = precv_frame->u.hdr.attrib.phy_info.RecvSignalPower; /* in dBM.raw data */ u 4461 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c bssid->PhyInfo.SignalQuality = precv_frame->u.hdr.attrib.phy_info.SignalQuality;/* in percentage */ u 4462 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c bssid->PhyInfo.SignalStrength = precv_frame->u.hdr.attrib.phy_info.SignalStrength;/* in percentage */ u 4558 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (le16_to_cpu(pHT_caps->u.HT_cap_element.HT_caps_info) & BIT(14)) u 5335 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.rx_ampdu_min_spacing = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para&IEEE80211_HT_CAP_AMPDU_DENSITY)>>2; u 66 drivers/staging/rtl8723bs/core/rtw_recv.c INIT_LIST_HEAD(&(precvframe->u.list)); u 68 drivers/staging/rtl8723bs/core/rtw_recv.c list_add_tail(&(precvframe->u.list), &(precvpriv->free_recv_queue.queue)); u 72 drivers/staging/rtl8723bs/core/rtw_recv.c precvframe->u.hdr.len = 0; u 74 drivers/staging/rtl8723bs/core/rtw_recv.c precvframe->u.hdr.adapter = padapter; u 123 drivers/staging/rtl8723bs/core/rtw_recv.c list_del_init(&precvframe->u.hdr.list); u 124 drivers/staging/rtl8723bs/core/rtw_recv.c padapter = precvframe->u.hdr.adapter; u 149 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter = precvframe->u.hdr.adapter; u 157 drivers/staging/rtl8723bs/core/rtw_recv.c list_del_init(&(precvframe->u.hdr.list)); u 159 drivers/staging/rtl8723bs/core/rtw_recv.c precvframe->u.hdr.len = 0; u 161 drivers/staging/rtl8723bs/core/rtw_recv.c list_add_tail(&(precvframe->u.hdr.list), get_list_head(pfree_recv_queue)); u 177 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter = precvframe->u.hdr.adapter; u 181 drivers/staging/rtl8723bs/core/rtw_recv.c list_del_init(&(precvframe->u.hdr.list)); u 184 drivers/staging/rtl8723bs/core/rtw_recv.c list_add_tail(&(precvframe->u.hdr.list), get_list_head(queue)); u 323 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *prxattrib = &precvframe->u.hdr.attrib; u 359 drivers/staging/rtl8723bs/core/rtw_recv.c datalen = precvframe->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len-prxattrib->icv_len-8;/* icv_len included the mic code */ u 360 drivers/staging/rtl8723bs/core/rtw_recv.c pframe = precvframe->u.hdr.rx_data; u 389 drivers/staging/rtl8723bs/core/rtw_recv.c RT_TRACE(_module_rtl871x_recv_c_, _drv_err_, ("\n ======demp packet (len =%d) ======\n", precvframe->u.hdr.len)); u 390 drivers/staging/rtl8723bs/core/rtw_recv.c for (i = 0; i < precvframe->u.hdr.len; i = i+8) { u 392 drivers/staging/rtl8723bs/core/rtw_recv.c *(precvframe->u.hdr.rx_data+i), *(precvframe->u.hdr.rx_data+i+1), u 393 drivers/staging/rtl8723bs/core/rtw_recv.c *(precvframe->u.hdr.rx_data+i+2), *(precvframe->u.hdr.rx_data+i+3), u 394 drivers/staging/rtl8723bs/core/rtw_recv.c *(precvframe->u.hdr.rx_data+i+4), *(precvframe->u.hdr.rx_data+i+5), u 395 drivers/staging/rtl8723bs/core/rtw_recv.c *(precvframe->u.hdr.rx_data+i+6), *(precvframe->u.hdr.rx_data+i+7))); u 397 drivers/staging/rtl8723bs/core/rtw_recv.c RT_TRACE(_module_rtl871x_recv_c_, _drv_err_, ("\n ======demp packet end [len =%d]======\n", precvframe->u.hdr.len)); u 446 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *prxattrib = &precv_frame->u.hdr.attrib; u 456 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *iv = precv_frame->u.hdr.rx_data+prxattrib->hdrlen; u 562 drivers/staging/rtl8723bs/core/rtw_recv.c pfhdr = &precv_frame->u.hdr; u 598 drivers/staging/rtl8723bs/core/rtw_recv.c RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("portctrl:precv_frame->hdr.attrib.privacy =%x\n", precv_frame->u.hdr.attrib.privacy)); u 624 drivers/staging/rtl8723bs/core/rtw_recv.c sint tid = precv_frame->u.hdr.attrib.priority; u 626 drivers/staging/rtl8723bs/core/rtw_recv.c u16 seq_ctrl = ((precv_frame->u.hdr.attrib.seq_num&0xffff) << 4) | u 627 drivers/staging/rtl8723bs/core/rtw_recv.c (precv_frame->u.hdr.attrib.frag_num & 0xf); u 653 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 654 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 689 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 744 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; u 759 drivers/staging/rtl8723bs/core/rtw_recv.c psta = prframe->u.hdr.psta; u 782 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 784 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 881 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 882 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 1030 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 1031 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 1086 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 1088 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *pframe = precv_frame->u.hdr.rx_data; u 1236 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data)); u 1239 drivers/staging/rtl8723bs/core/rtw_recv.c if (GetFrameSubType(precv_frame->u.hdr.rx_data) == WIFI_BEACON) u 1241 drivers/staging/rtl8723bs/core/rtw_recv.c else if (GetFrameSubType(precv_frame->u.hdr.rx_data) == WIFI_PROBEREQ) u 1243 drivers/staging/rtl8723bs/core/rtw_recv.c else if (GetFrameSubType(precv_frame->u.hdr.rx_data) == WIFI_PROBERSP) { u 1244 drivers/staging/rtl8723bs/core/rtw_recv.c if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN)) u 1246 drivers/staging/rtl8723bs/core/rtw_recv.c else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)) u 1247 drivers/staging/rtl8723bs/core/rtw_recv.c || is_multicast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data))) u 1267 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 1268 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 1343 drivers/staging/rtl8723bs/core/rtw_recv.c precv_frame->u.hdr.psta = psta; u 1367 drivers/staging/rtl8723bs/core/rtw_recv.c precv_frame->u.hdr.preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; u 1401 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 1402 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 1508 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 1510 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; u 1618 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *adapter = precvframe->u.hdr.adapter; u 1621 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &precvframe->u.hdr.attrib; u 1643 drivers/staging/rtl8723bs/core/rtw_recv.c len = precvframe->u.hdr.len - rmv_len; u 1653 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = precvframe->u.hdr.psta; u 1724 drivers/staging/rtl8723bs/core/rtw_recv.c pfhdr = &prframe->u.hdr; u 1725 drivers/staging/rtl8723bs/core/rtw_recv.c list_del_init(&(prframe->u.list)); u 1746 drivers/staging/rtl8723bs/core/rtw_recv.c pnfhdr = &pnextrframe->u.hdr; u 1804 drivers/staging/rtl8723bs/core/rtw_recv.c pfhdr = &precv_frame->u.hdr; u 1882 drivers/staging/rtl8723bs/core/rtw_recv.c if ((prtnframe) && (prtnframe->u.hdr.attrib.privacy)) { u 1905 drivers/staging/rtl8723bs/core/rtw_recv.c recvframe_pull(prframe, prframe->u.hdr.attrib.hdrlen); u 1907 drivers/staging/rtl8723bs/core/rtw_recv.c if (prframe->u.hdr.attrib.iv_len > 0) u 1908 drivers/staging/rtl8723bs/core/rtw_recv.c recvframe_pull(prframe, prframe->u.hdr.attrib.iv_len); u 1910 drivers/staging/rtl8723bs/core/rtw_recv.c a_len = prframe->u.hdr.len; u 1912 drivers/staging/rtl8723bs/core/rtw_recv.c pdata = prframe->u.hdr.rx_data; u 1963 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_os_recv_indicate_pkt(padapter, sub_pkt, &prframe->u.hdr.attrib); u 1967 drivers/staging/rtl8723bs/core/rtw_recv.c prframe->u.hdr.len = 0; u 2045 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; u 2062 drivers/staging/rtl8723bs/core/rtw_recv.c pnextattrib = &pnextrframe->u.hdr.attrib; u 2082 drivers/staging/rtl8723bs/core/rtw_recv.c list_del_init(&(prframe->u.hdr.list)); u 2084 drivers/staging/rtl8723bs/core/rtw_recv.c list_add_tail(&(prframe->u.hdr.list), plist); u 2137 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib = &prframe->u.hdr.attrib; u 2153 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib = &prframe->u.hdr.attrib; u 2161 drivers/staging/rtl8723bs/core/rtw_recv.c list_del_init(&(prframe->u.hdr.list)); u 2218 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; u 2219 drivers/staging/rtl8723bs/core/rtw_recv.c struct recv_reorder_ctrl *preorder_ctrl = prframe->u.hdr.preorder_ctrl; u 2508 drivers/staging/rtl8723bs/core/rtw_recv.c struct rx_pkt_attrib *prxattrib = &rframe->u.hdr.attrib; u 2570 drivers/staging/rtl8723bs/core/rtw_recv.c padapter = precvframe->u.hdr.adapter; u 100 drivers/staging/rtl8723bs/core/rtw_security.c u32 t, u; u 116 drivers/staging/rtl8723bs/core/rtw_security.c u = state[stateindex]; u 118 drivers/staging/rtl8723bs/core/rtw_security.c state[counter] = (u8)u; u 280 drivers/staging/rtl8723bs/core/rtw_security.c struct rx_pkt_attrib *prxattrib = &(((union recv_frame *)precvframe)->u.hdr.attrib); u 283 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; u 294 drivers/staging/rtl8723bs/core/rtw_security.c length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; u 773 drivers/staging/rtl8723bs/core/rtw_security.c struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; u 778 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; u 831 drivers/staging/rtl8723bs/core/rtw_security.c length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; u 1862 drivers/staging/rtl8723bs/core/rtw_security.c struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; u 1867 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; u 1924 drivers/staging/rtl8723bs/core/rtw_security.c length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; u 1940 drivers/staging/rtl8723bs/core/rtw_security.c struct rx_pkt_attrib *pattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; u 1959 drivers/staging/rtl8723bs/core/rtw_security.c pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; u 425 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c list_del_init(&(prframe->u.hdr.list)); u 1091 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pmlmeinfo->HT_caps.u.HT_cap[i] &= (pIE->data[i]); u 1094 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if ((pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x3) > (pIE->data[i] & 0x3)) u 1097 drivers/staging/rtl8723bs/core/rtw_wlan_util.c max_AMPDU_len = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x3); u 1099 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if ((pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c) > (pIE->data[i] & 0x1c)) u 1100 drivers/staging/rtl8723bs/core/rtw_wlan_util.c min_MPDU_spacing = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c); u 1104 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para = max_AMPDU_len | min_MPDU_spacing; u 1111 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= pmlmeext->default_supported_mcs_set[i]; u 1117 drivers/staging/rtl8723bs/core/rtw_wlan_util.c set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_1R); u 1123 drivers/staging/rtl8723bs/core/rtw_wlan_util.c set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R_13TO15_OFF); u 1125 drivers/staging/rtl8723bs/core/rtw_wlan_util.c set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R); u 1127 drivers/staging/rtl8723bs/core/rtw_wlan_util.c set_mcs_rate_by_mask(pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate, MCS_RATE_2R); u 1200 drivers/staging/rtl8723bs/core/rtw_wlan_util.c max_AMPDU_len = pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x03; u 1202 drivers/staging/rtl8723bs/core/rtw_wlan_util.c min_MPDU_spacing = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x1c) >> 2; u 1592 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (le16_to_cpu(pHT_caps->u.HT_cap_element.HT_caps_info) & (0x1 << bit_offset)) u 1664 drivers/staging/rtl8723bs/hal/hal_com.c struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; u 13 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; u 40 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c pattrib = &prframe->u.hdr.attrib; u 36 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c pattrib = &precvframe->u.hdr.attrib; u 80 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c struct adapter *padapter = precvframe->u.hdr.adapter; u 81 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c struct rx_pkt_attrib *pattrib = &precvframe->u.hdr.attrib; u 141 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.psta = NULL; u 147 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.psta = psta; u 154 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.psta = psta; u 270 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c pattrib = &precvframe->u.hdr.attrib; u 319 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.pkt = pkt_copy; u 323 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.rx_head = pkt_copy->head; u 324 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail = pkt_copy->data; u 325 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.rx_end = skb_end_pointer(pkt_copy); u 333 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.pkt = rtw_skb_clone(precvbuf->pskb); u 334 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c if (precvframe->u.hdr.pkt) { u 335 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c _pkt *pkt_clone = precvframe->u.hdr.pkt; u 339 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.rx_head = precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail u 341 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.rx_end = pkt_clone->data + skb_len; u 375 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c u8 *pbuf_c2h = precvframe->u.hdr.rx_data; u 386 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c rtl8723bs_c2h_packet_handler(padapter, precvframe->u.hdr.rx_data, pattrib->pkt_len); u 242 drivers/staging/rtl8723bs/include/ieee80211.h } u; u 377 drivers/staging/rtl8723bs/include/rtw_recv.h }u; u 414 drivers/staging/rtl8723bs/include/rtw_recv.h return precvframe->u.hdr.rx_head; u 424 drivers/staging/rtl8723bs/include/rtw_recv.h return precvframe->u.hdr.rx_data; u 439 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.rx_data += sz; u 441 drivers/staging/rtl8723bs/include/rtw_recv.h if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) u 443 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.rx_data -= sz; u 447 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.len -=sz; u 449 drivers/staging/rtl8723bs/include/rtw_recv.h return precvframe->u.hdr.rx_data; u 464 drivers/staging/rtl8723bs/include/rtw_recv.h prev_rx_tail = precvframe->u.hdr.rx_tail; u 466 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.rx_tail += sz; u 468 drivers/staging/rtl8723bs/include/rtw_recv.h if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) u 470 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.rx_tail = prev_rx_tail; u 474 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.len +=sz; u 476 drivers/staging/rtl8723bs/include/rtw_recv.h return precvframe->u.hdr.rx_tail; u 492 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.rx_tail -= sz; u 494 drivers/staging/rtl8723bs/include/rtw_recv.h if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) u 496 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.rx_tail += sz; u 500 drivers/staging/rtl8723bs/include/rtw_recv.h precvframe->u.hdr.len -=sz; u 502 drivers/staging/rtl8723bs/include/rtw_recv.h return precvframe->u.hdr.rx_tail; u 518 drivers/staging/rtl8723bs/include/rtw_recv.h return precvframe->u.hdr.len; u 710 drivers/staging/rtl8723bs/include/wifi.h }u; u 597 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.err = 0; u 598 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 600 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) u 610 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.idx >= WEP_KEYS) u 627 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "none") == 0 && (psta == NULL)) u 631 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C("clear default encryption keys, keyid =%d\n", param->u.crypt.idx); u 637 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (psta == NULL)) u 641 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_idx = param->u.crypt.idx; u 642 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_len = param->u.crypt.key_len; u 675 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); u 679 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ap_set_wep_key(padapter, param->u.crypt.key, wep_key_len, wep_key_idx, 1); u 688 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.set_tx == 0) /* group key */ u 690 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0) u 694 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 697 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.key_len == 13) u 703 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "TKIP") == 0) u 709 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 713 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); u 714 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); u 719 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "CCMP") == 0) u 725 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 734 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; u 740 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); u 759 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.set_tx == 1) /* pairwise key */ u 761 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 763 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0) u 768 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.key_len == 13) u 773 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "TKIP") == 0) u 781 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); u 782 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); u 787 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "CCMP") == 0) u 810 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0) u 812 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 815 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.key_len == 13) u 820 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "TKIP") == 0) u 824 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 828 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); u 829 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); u 834 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "CCMP") == 0) u 838 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 845 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; u 851 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); u 882 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.err = 0; u 883 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 885 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param_len < (u32) ((u8 *) param->u.crypt.key - (u8 *) param) + param->u.crypt.key_len) u 895 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.idx >= WEP_KEYS u 896 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c || param->u.crypt.idx >= BIP_MAX_KEYID u 909 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0) u 914 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_idx = param->u.crypt.idx; u 915 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_len = param->u.crypt.key_len; u 942 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); u 968 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "none") != 0) u 978 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.set_tx == 1)/* pairwise key */ u 983 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 985 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "TKIP") == 0)/* set mic key */ u 988 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); u 989 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); u 1002 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "TKIP") == 0 || strcmp(param->u.crypt.alg, "CCMP") == 0) u 1004 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 1005 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[16]), 8); u 1006 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[24]), 8); u 1011 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; u 1012 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_key(padapter,&padapter->securitypriv, param->u.crypt.idx, 1, true); u 1014 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "BIP") == 0) u 1018 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 1023 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11wBIPKeyid = param->u.crypt.idx; u 1038 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "none") != 0) u 1112 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); u 1117 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.set_tx = 0; /* for wpa/wpa2 group key */ u 1119 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.set_tx = 1; /* for wpa/wpa2 pairwise key */ u 1122 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.idx = key_index; u 1126 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(param->u.crypt.seq, (u8 *)params->seq, params->seq_len); u 1131 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.key_len = params->key_len; u 1132 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(param->u.crypt.key, (u8 *)params->key, params->key_len); u 99 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 101 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress, ETH_ALEN); u 106 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.flags = 1; u 107 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = min((u16)pnetwork->network.Ssid.SsidLength, (u16)32); u 129 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bn"); u 131 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11b"); u 134 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bgn"); u 136 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bg"); u 140 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11AC"); u 142 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11an"); u 144 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11a"); u 147 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11gn"); u 149 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11g"); u 168 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.mode = IW_MODE_MASTER; u 170 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.mode = IW_MODE_ADHOC; u 180 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.freq.m = rtw_ch2freq(pnetwork->network.Configuration.DSConfig) * 100000; u 181 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.freq.e = 1; u 182 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.freq.i = pnetwork->network.Configuration.DSConfig; u 188 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 190 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 191 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = 0; u 224 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; u 225 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.bitrate.value = max_rate * 500000; u 257 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); u 262 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = wpa_len; u 273 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); u 278 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = rsn_len; u 304 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = (u16)wps_ielen; u 313 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED | IW_QUAL_LEVEL_UPDATED u 335 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)translate_percentage_to_dbm(ss);/* dbm */ u 343 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)odm_SignalScaleMapping(&pHal->odmpriv, ss); u 346 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)ss;/* */ u 350 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.qual = (u8)sq; /* signal quality */ u 356 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.noise = tmp_noise ; u 359 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.noise = 0; /* noise level */ u 378 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); u 431 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.err = 0; u 432 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 434 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param_len < (u32)((u8 *)param->u.crypt.key - (u8 *)param) + param->u.crypt.key_len) { u 442 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS || u 443 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.idx >= BIP_MAX_KEYID) { u 454 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 462 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wep_key_idx = param->u.crypt.idx; u 463 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wep_key_len = param->u.crypt.key_len; u 497 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); u 499 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx) { u 533 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") != 0) u 541 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { /* pairwise key */ u 542 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 544 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */ u 546 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); u 547 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); u 558 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "TKIP") == 0 || strcmp(param->u.crypt.alg, "CCMP") == 0) { u 559 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 561 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.key_len > 16) { u 562 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[16]), 8); u 563 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[24]), 8); u 569 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; u 571 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_key(padapter,&padapter->securitypriv, param->u.crypt.idx, 1, true); u 572 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "BIP") == 0) { u 575 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 580 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11wBIPKeyid = param->u.crypt.idx; u 592 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") != 0) u 2170 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); u 2173 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.set_tx = 1; u 2181 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.set_tx = 0; u 2184 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.idx = (pencoding->flags&0x00FF) -1 ; u 2187 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(param->u.crypt.seq, pext->rx_seq, 8); u 2190 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.key_len = pext->key_len; u 2192 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(param->u.crypt.key, pext + 1, pext->key_len); u 3402 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = wpa_set_param(dev, param->u.wpa_param.name, param->u.wpa_param.value); u 3407 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_set_wpa_ie((struct adapter *)rtw_netdev_priv(dev), (char *)param->u.wpa_ie.data, (u16)param->u.wpa_ie.len); u 3415 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = wpa_mlme(dev, param->u.mlme.command, param->u.mlme.reason_code); u 3451 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.err = 0; u 3452 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; u 3456 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) { u 3464 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS) { u 3477 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") == 0 && (psta == NULL)) { u 3485 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("clear default encryption keys, keyid =%d\n", param->u.crypt.idx); u 3491 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (psta == NULL)) { u 3494 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wep_key_idx = param->u.crypt.idx; u 3495 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wep_key_len = param->u.crypt.key_len; u 3521 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); u 3523 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx) { u 3563 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { u 3564 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 3567 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 3570 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) u 3573 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { u 3578 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 3582 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); u 3583 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); u 3588 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { u 3593 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 3600 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; u 3606 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); u 3621 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { u 3622 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 3624 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 3628 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) u 3630 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { u 3637 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); u 3638 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); u 3642 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { u 3658 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { u 3659 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 3662 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) u 3664 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { u 3667 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 3671 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); u 3672 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); u 3676 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { u 3679 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); u 3684 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; u 3690 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); u 3714 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c unsigned char *pbuf = param->u.bcn_ie.buf; u 3722 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(&pstapriv->max_num_sta, param->u.bcn_ie.reserved, 2); u 3761 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_add_sta(aid =%d) =" MAC_FMT "\n", param->u.add_sta.aid, MAC_ARG(param->sta_addr)); u 3787 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int flags = param->u.add_sta.flags; u 3791 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->aid = param->u.add_sta.aid;/* aid = 1~2007 */ u 3793 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->bssrateset, param->u.add_sta.tx_supp_rates, 16); u 3809 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy((void *)&psta->htpriv.ht_cap, (void *)¶m->u.add_sta.ht_cap, sizeof(struct rtw_ieee80211_ht_cap)); u 3969 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.wpa_ie.len = copy_len; u 3971 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(param->u.wpa_ie.reserved, psta->wpa_ie, copy_len); u 4012 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_beacon_ie, param->u.bcn_ie.buf, ie_len); u 4049 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_probe_resp_ie, param->u.bcn_ie.buf, ie_len); u 4083 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_assoc_resp_ie, param->u.bcn_ie.buf, ie_len); u 4107 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.bcn_ie.reserved[0] != 0xea) u 4110 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c mlmeinfo->hidden_ssid_mode = ignore_broadcast_ssid = param->u.bcn_ie.reserved[1]; u 4113 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ssid_ie = rtw_get_ie(param->u.bcn_ie.buf, WLAN_EID_SSID, &ssid_len, ie_len); u 4191 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_macaddr_acl(padapter, param->u.mlme.command); u 5208 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = wpa_supplicant_ioctl(dev, &wrq->u.data); u 5211 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_hostapd_ioctl(dev, &wrq->u.data); u 5214 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_ioctl_wext_private(dev, &wrq->u); u 15 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (precvframe->u.hdr.pkt) { u 16 drivers/staging/rtl8723bs/os_dep/recv_linux.c dev_kfree_skb_any(precvframe->u.hdr.pkt);/* free skb by driver */ u 18 drivers/staging/rtl8723bs/os_dep/recv_linux.c precvframe->u.hdr.pkt = NULL; u 25 drivers/staging/rtl8723bs/os_dep/recv_linux.c precvframe->u.hdr.pkt_newalloc = precvframe->u.hdr.pkt = NULL; u 37 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (precvframe->u.hdr.pkt) { u 38 drivers/staging/rtl8723bs/os_dep/recv_linux.c dev_kfree_skb_any(precvframe->u.hdr.pkt);/* free skb by driver */ u 39 drivers/staging/rtl8723bs/os_dep/recv_linux.c precvframe->u.hdr.pkt = NULL; u 59 drivers/staging/rtl8723bs/os_dep/recv_linux.c pattrib = &prframe->u.hdr.attrib; u 66 drivers/staging/rtl8723bs/os_dep/recv_linux.c sub_skb = rtw_skb_clone(prframe->u.hdr.pkt); u 220 drivers/staging/rtl8723bs/os_dep/recv_linux.c _pkt *skb = precv_frame->u.hdr.pkt; u 221 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 222 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct sta_info *psta = precv_frame->u.hdr.psta; u 259 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib; u 266 drivers/staging/rtl8723bs/os_dep/recv_linux.c skb = precv_frame->u.hdr.pkt; u 273 drivers/staging/rtl8723bs/os_dep/recv_linux.c RT_TRACE(_module_recv_osdep_c_, _drv_info_, ("rtw_recv_indicatepkt():precv_frame->u.hdr.rx_head =%p precv_frame->hdr.rx_data =%p\n", precv_frame->u.hdr.rx_head, precv_frame->u.hdr.rx_data)); u 274 drivers/staging/rtl8723bs/os_dep/recv_linux.c RT_TRACE(_module_recv_osdep_c_, _drv_info_, ("precv_frame->hdr.rx_tail =%p precv_frame->u.hdr.rx_end =%p precv_frame->hdr.len =%d\n", precv_frame->u.hdr.rx_tail, precv_frame->u.hdr.rx_end, precv_frame->u.hdr.len)); u 276 drivers/staging/rtl8723bs/os_dep/recv_linux.c skb->data = precv_frame->u.hdr.rx_data; u 278 drivers/staging/rtl8723bs/os_dep/recv_linux.c skb_set_tail_pointer(skb, precv_frame->u.hdr.len); u 280 drivers/staging/rtl8723bs/os_dep/recv_linux.c skb->len = precv_frame->u.hdr.len; u 294 drivers/staging/rtl8723bs/os_dep/recv_linux.c precv_frame->u.hdr.pkt = NULL; /* pointers to NULL before rtw_free_recvframe() */ u 567 drivers/staging/speakup/kobjects.c rv = sprintf(buf, "%i\n", var->u.n.value); u 660 drivers/staging/speakup/kobjects.c var_data->u.n.low, var_data->u.n.high); u 670 drivers/staging/speakup/kobjects.c value = var_data->u.n.value; u 430 drivers/staging/speakup/main.c if (ch >= 0x100 || (direct && direct->u.n.value)) { u 731 drivers/staging/speakup/main.c if (ch >= 0x100 || (direct && direct->u.n.value)) { u 1275 drivers/staging/speakup/main.c {BELL_POS, .u.n = {NULL, 0, 0, 0, 0, 0, NULL} }, u 1276 drivers/staging/speakup/main.c {SPELL_DELAY, .u.n = {NULL, 0, 0, 4, 0, 0, NULL} }, u 1277 drivers/staging/speakup/main.c {ATTRIB_BLEEP, .u.n = {NULL, 1, 0, 3, 0, 0, NULL} }, u 1278 drivers/staging/speakup/main.c {BLEEPS, .u.n = {NULL, 3, 0, 3, 0, 0, NULL} }, u 1279 drivers/staging/speakup/main.c {BLEEP_TIME, .u.n = {NULL, 30, 1, 200, 0, 0, NULL} }, u 1280 drivers/staging/speakup/main.c {PUNC_LEVEL, .u.n = {NULL, 1, 0, 4, 0, 0, NULL} }, u 1281 drivers/staging/speakup/main.c {READING_PUNC, .u.n = {NULL, 1, 0, 4, 0, 0, NULL} }, u 1282 drivers/staging/speakup/main.c {CURSOR_TIME, .u.n = {NULL, 120, 50, 600, 0, 0, NULL} }, u 1286 drivers/staging/speakup/main.c {KEY_ECHO, .u.n = {NULL, 1, 0, 2, 0, 0, NULL} }, u 1438 drivers/staging/speakup/main.c jiffies + msecs_to_jiffies(cursor_timeout->u.n.value)); u 1562 drivers/staging/speakup/main.c jiffies + msecs_to_jiffies(cursor_timeout->u.n.value)); u 1863 drivers/staging/speakup/main.c var_data->u.n.value); u 2363 drivers/staging/speakup/main.c spk_vars[0].u.n.high = vc->vc_cols; u 13 drivers/staging/speakup/speakup.h #define TOGGLE_0 .u.n = {NULL, 0, 0, 1, 0, 0, NULL } u 14 drivers/staging/speakup/speakup.h #define TOGGLE_1 .u.n = {NULL, 1, 0, 1, 0, 0, NULL } u 38 drivers/staging/speakup/speakup_acntpc.c { CAPS_START, .u.s = {"\033P8" } }, u 39 drivers/staging/speakup/speakup_acntpc.c { CAPS_STOP, .u.s = {"\033P5" } }, u 40 drivers/staging/speakup/speakup_acntpc.c { RATE, .u.n = {"\033R%c", 9, 0, 17, 0, 0, "0123456789abcdefgh" } }, u 41 drivers/staging/speakup/speakup_acntpc.c { PITCH, .u.n = {"\033P%d", 5, 0, 9, 0, 0, NULL } }, u 42 drivers/staging/speakup/speakup_acntpc.c { VOL, .u.n = {"\033A%d", 5, 0, 9, 0, 0, NULL } }, u 43 drivers/staging/speakup/speakup_acntpc.c { TONE, .u.n = {"\033V%d", 5, 0, 9, 0, 0, NULL } }, u 44 drivers/staging/speakup/speakup_acntpc.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 180 drivers/staging/speakup/speakup_acntpc.c jiffy_delta_val = jiffy_delta->u.n.value; u 198 drivers/staging/speakup/speakup_acntpc.c full_time_val = full_time->u.n.value; u 226 drivers/staging/speakup/speakup_acntpc.c jiffy_delta_val = jiffy_delta->u.n.value; u 227 drivers/staging/speakup/speakup_acntpc.c delay_time_val = delay_time->u.n.value; u 23 drivers/staging/speakup/speakup_acntsa.c { CAPS_START, .u.s = {"\033P8" } }, u 24 drivers/staging/speakup/speakup_acntsa.c { CAPS_STOP, .u.s = {"\033P5" } }, u 25 drivers/staging/speakup/speakup_acntsa.c { RATE, .u.n = {"\033R%c", 9, 0, 17, 0, 0, "0123456789abcdefgh" } }, u 26 drivers/staging/speakup/speakup_acntsa.c { PITCH, .u.n = {"\033P%d", 5, 0, 9, 0, 0, NULL } }, u 27 drivers/staging/speakup/speakup_acntsa.c { VOL, .u.n = {"\033A%d", 9, 0, 9, 0, 0, NULL } }, u 28 drivers/staging/speakup/speakup_acntsa.c { TONE, .u.n = {"\033V%d", 5, 0, 9, 0, 0, NULL } }, u 29 drivers/staging/speakup/speakup_acntsa.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 28 drivers/staging/speakup/speakup_apollo.c { CAPS_START, .u.s = {"cap, " } }, u 29 drivers/staging/speakup/speakup_apollo.c { CAPS_STOP, .u.s = {"" } }, u 30 drivers/staging/speakup/speakup_apollo.c { RATE, .u.n = {"@W%d", 6, 1, 9, 0, 0, NULL } }, u 31 drivers/staging/speakup/speakup_apollo.c { PITCH, .u.n = {"@F%x", 10, 0, 15, 0, 0, NULL } }, u 32 drivers/staging/speakup/speakup_apollo.c { VOL, .u.n = {"@A%x", 10, 0, 15, 0, 0, NULL } }, u 33 drivers/staging/speakup/speakup_apollo.c { VOICE, .u.n = {"@V%d", 1, 1, 6, 0, 0, NULL } }, u 34 drivers/staging/speakup/speakup_apollo.c { LANG, .u.n = {"@=%d,", 1, 1, 4, 0, 0, NULL } }, u 35 drivers/staging/speakup/speakup_apollo.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 141 drivers/staging/speakup/speakup_apollo.c jiffy_delta_val = jiffy_delta->u.n.value; u 147 drivers/staging/speakup/speakup_apollo.c jiffy_delta_val = jiffy_delta->u.n.value; u 148 drivers/staging/speakup/speakup_apollo.c full_time_val = full_time->u.n.value; u 149 drivers/staging/speakup/speakup_apollo.c delay_time_val = delay_time->u.n.value; u 163 drivers/staging/speakup/speakup_apollo.c full_time_val = full_time->u.n.value; u 173 drivers/staging/speakup/speakup_apollo.c jiffy_delta_val = jiffy_delta->u.n.value; u 174 drivers/staging/speakup/speakup_apollo.c full_time_val = full_time->u.n.value; u 175 drivers/staging/speakup/speakup_apollo.c delay_time_val = delay_time->u.n.value; u 23 drivers/staging/speakup/speakup_audptr.c { CAPS_START, .u.s = {"\x05[f99]" } }, u 24 drivers/staging/speakup/speakup_audptr.c { CAPS_STOP, .u.s = {"\x05[f80]" } }, u 25 drivers/staging/speakup/speakup_audptr.c { RATE, .u.n = {"\x05[r%d]", 10, 0, 20, 100, -10, NULL } }, u 26 drivers/staging/speakup/speakup_audptr.c { PITCH, .u.n = {"\x05[f%d]", 80, 39, 4500, 0, 0, NULL } }, u 27 drivers/staging/speakup/speakup_audptr.c { VOL, .u.n = {"\x05[g%d]", 21, 0, 40, 0, 0, NULL } }, u 28 drivers/staging/speakup/speakup_audptr.c { TONE, .u.n = {"\x05[s%d]", 9, 0, 63, 0, 0, NULL } }, u 29 drivers/staging/speakup/speakup_audptr.c { PUNCT, .u.n = {"\x05[A%c]", 0, 0, 3, 0, 0, "nmsa" } }, u 30 drivers/staging/speakup/speakup_audptr.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 20 drivers/staging/speakup/speakup_bns.c { CAPS_START, .u.s = {"\x05\x31\x32P" } }, u 21 drivers/staging/speakup/speakup_bns.c { CAPS_STOP, .u.s = {"\x05\x38P" } }, u 22 drivers/staging/speakup/speakup_bns.c { RATE, .u.n = {"\x05%dE", 8, 1, 16, 0, 0, NULL } }, u 23 drivers/staging/speakup/speakup_bns.c { PITCH, .u.n = {"\x05%dP", 8, 0, 16, 0, 0, NULL } }, u 24 drivers/staging/speakup/speakup_bns.c { VOL, .u.n = {"\x05%dV", 8, 0, 16, 0, 0, NULL } }, u 25 drivers/staging/speakup/speakup_bns.c { TONE, .u.n = {"\x05%dT", 8, 0, 16, 0, 0, NULL } }, u 26 drivers/staging/speakup/speakup_bns.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 42 drivers/staging/speakup/speakup_decext.c { CAPS_START, .u.s = {"[:dv ap 222]" } }, u 43 drivers/staging/speakup/speakup_decext.c { CAPS_STOP, .u.s = {"[:dv ap 100]" } }, u 44 drivers/staging/speakup/speakup_decext.c { RATE, .u.n = {"[:ra %d]", 7, 0, 9, 150, 25, NULL } }, u 45 drivers/staging/speakup/speakup_decext.c { PITCH, .u.n = {"[:dv ap %d]", 100, 0, 100, 0, 0, NULL } }, u 46 drivers/staging/speakup/speakup_decext.c { VOL, .u.n = {"[:dv gv %d]", 13, 0, 16, 0, 5, NULL } }, u 47 drivers/staging/speakup/speakup_decext.c { PUNCT, .u.n = {"[:pu %c]", 0, 0, 2, 0, 0, "nsa" } }, u 48 drivers/staging/speakup/speakup_decext.c { VOICE, .u.n = {"[:n%c]", 0, 0, 9, 0, 0, "phfdburwkv" } }, u 49 drivers/staging/speakup/speakup_decext.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 155 drivers/staging/speakup/speakup_decext.c jiffy_delta_val = jiffy_delta->u.n.value; u 174 drivers/staging/speakup/speakup_decext.c delay_time_val = delay_time->u.n.value; u 199 drivers/staging/speakup/speakup_decext.c jiffy_delta_val = jiffy_delta->u.n.value; u 200 drivers/staging/speakup/speakup_decext.c delay_time_val = delay_time->u.n.value; u 138 drivers/staging/speakup/speakup_decpc.c { CAPS_START, .u.s = {"[:dv ap 200]" } }, u 139 drivers/staging/speakup/speakup_decpc.c { CAPS_STOP, .u.s = {"[:dv ap 100]" } }, u 140 drivers/staging/speakup/speakup_decpc.c { RATE, .u.n = {"[:ra %d]", 9, 0, 18, 150, 25, NULL } }, u 141 drivers/staging/speakup/speakup_decpc.c { PITCH, .u.n = {"[:dv ap %d]", 80, 0, 100, 20, 0, NULL } }, u 142 drivers/staging/speakup/speakup_decpc.c { VOL, .u.n = {"[:vo se %d]", 5, 0, 9, 5, 10, NULL } }, u 143 drivers/staging/speakup/speakup_decpc.c { PUNCT, .u.n = {"[:pu %c]", 0, 0, 2, 0, 0, "nsa" } }, u 144 drivers/staging/speakup/speakup_decpc.c { VOICE, .u.n = {"[:n%c]", 0, 0, 9, 0, 0, "phfdburwkv" } }, u 145 drivers/staging/speakup/speakup_decpc.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 373 drivers/staging/speakup/speakup_decpc.c jiffy_delta_val = jiffy_delta->u.n.value; u 392 drivers/staging/speakup/speakup_decpc.c delay_time_val = delay_time->u.n.value; u 416 drivers/staging/speakup/speakup_decpc.c jiffy_delta_val = jiffy_delta->u.n.value; u 417 drivers/staging/speakup/speakup_decpc.c delay_time_val = delay_time->u.n.value; u 44 drivers/staging/speakup/speakup_dectlk.c { CAPS_START, .u.s = {"[:dv ap 160] " } }, u 45 drivers/staging/speakup/speakup_dectlk.c { CAPS_STOP, .u.s = {"[:dv ap 100 ] " } }, u 46 drivers/staging/speakup/speakup_dectlk.c { RATE, .u.n = {"[:ra %d] ", 180, 75, 650, 0, 0, NULL } }, u 47 drivers/staging/speakup/speakup_dectlk.c { PITCH, .u.n = {"[:dv ap %d] ", 122, 50, 350, 0, 0, NULL } }, u 48 drivers/staging/speakup/speakup_dectlk.c { VOL, .u.n = {"[:dv g5 %d] ", 86, 60, 86, 0, 0, NULL } }, u 49 drivers/staging/speakup/speakup_dectlk.c { PUNCT, .u.n = {"[:pu %c] ", 0, 0, 2, 0, 0, "nsa" } }, u 50 drivers/staging/speakup/speakup_dectlk.c { VOICE, .u.n = {"[:n%c] ", 0, 0, 9, 0, 0, "phfdburwkv" } }, u 51 drivers/staging/speakup/speakup_dectlk.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 210 drivers/staging/speakup/speakup_dectlk.c jiffy_delta_val = jiffy_delta->u.n.value; u 241 drivers/staging/speakup/speakup_dectlk.c delay_time_val = delay_time->u.n.value; u 267 drivers/staging/speakup/speakup_dectlk.c jiffy_delta_val = jiffy_delta->u.n.value; u 268 drivers/staging/speakup/speakup_dectlk.c delay_time_val = delay_time->u.n.value; u 41 drivers/staging/speakup/speakup_dtlk.c { CAPS_START, .u.s = {"\x01+35p" } }, u 42 drivers/staging/speakup/speakup_dtlk.c { CAPS_STOP, .u.s = {"\x01-35p" } }, u 43 drivers/staging/speakup/speakup_dtlk.c { RATE, .u.n = {"\x01%ds", 8, 0, 9, 0, 0, NULL } }, u 44 drivers/staging/speakup/speakup_dtlk.c { PITCH, .u.n = {"\x01%dp", 50, 0, 99, 0, 0, NULL } }, u 45 drivers/staging/speakup/speakup_dtlk.c { VOL, .u.n = {"\x01%dv", 5, 0, 9, 0, 0, NULL } }, u 46 drivers/staging/speakup/speakup_dtlk.c { TONE, .u.n = {"\x01%dx", 1, 0, 2, 0, 0, NULL } }, u 47 drivers/staging/speakup/speakup_dtlk.c { PUNCT, .u.n = {"\x01%db", 7, 0, 15, 0, 0, NULL } }, u 48 drivers/staging/speakup/speakup_dtlk.c { VOICE, .u.n = {"\x01%do", 0, 0, 7, 0, 0, NULL } }, u 49 drivers/staging/speakup/speakup_dtlk.c { FREQUENCY, .u.n = {"\x01%df", 5, 0, 9, 0, 0, NULL } }, u 50 drivers/staging/speakup/speakup_dtlk.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 194 drivers/staging/speakup/speakup_dtlk.c jiffy_delta_val = jiffy_delta->u.n.value; u 211 drivers/staging/speakup/speakup_dtlk.c delay_time_val = delay_time->u.n.value; u 227 drivers/staging/speakup/speakup_dtlk.c delay_time_val = delay_time->u.n.value; u 228 drivers/staging/speakup/speakup_dtlk.c jiffy_delta_val = jiffy_delta->u.n.value; u 22 drivers/staging/speakup/speakup_dummy.c { CAPS_START, .u.s = {"CAPS_START\n" } }, u 23 drivers/staging/speakup/speakup_dummy.c { CAPS_STOP, .u.s = {"CAPS_STOP\n" } }, u 24 drivers/staging/speakup/speakup_dummy.c { PAUSE, .u.s = {"PAUSE\n"} }, u 25 drivers/staging/speakup/speakup_dummy.c { RATE, .u.n = {"RATE %d\n", 8, 1, 16, 0, 0, NULL } }, u 26 drivers/staging/speakup/speakup_dummy.c { PITCH, .u.n = {"PITCH %d\n", 8, 0, 16, 0, 0, NULL } }, u 27 drivers/staging/speakup/speakup_dummy.c { VOL, .u.n = {"VOL %d\n", 8, 0, 16, 0, 0, NULL } }, u 28 drivers/staging/speakup/speakup_dummy.c { TONE, .u.n = {"TONE %d\n", 8, 0, 16, 0, 0, NULL } }, u 29 drivers/staging/speakup/speakup_dummy.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 37 drivers/staging/speakup/speakup_keypc.c { CAPS_START, .u.s = {"[f130]" } }, u 38 drivers/staging/speakup/speakup_keypc.c { CAPS_STOP, .u.s = {"[f90]" } }, u 39 drivers/staging/speakup/speakup_keypc.c { RATE, .u.n = {"\04%c ", 8, 0, 10, 81, -8, NULL } }, u 40 drivers/staging/speakup/speakup_keypc.c { PITCH, .u.n = {"[f%d]", 5, 0, 9, 40, 10, NULL } }, u 41 drivers/staging/speakup/speakup_keypc.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 181 drivers/staging/speakup/speakup_keypc.c jiffy_delta_val = jiffy_delta->u.n.value; u 199 drivers/staging/speakup/speakup_keypc.c full_time_val = full_time->u.n.value; u 232 drivers/staging/speakup/speakup_keypc.c jiffy_delta_val = jiffy_delta->u.n.value; u 233 drivers/staging/speakup/speakup_keypc.c delay_time_val = delay_time->u.n.value; u 22 drivers/staging/speakup/speakup_ltlk.c { CAPS_START, .u.s = {"\x01+35p" } }, u 23 drivers/staging/speakup/speakup_ltlk.c { CAPS_STOP, .u.s = {"\x01-35p" } }, u 24 drivers/staging/speakup/speakup_ltlk.c { RATE, .u.n = {"\x01%ds", 8, 0, 9, 0, 0, NULL } }, u 25 drivers/staging/speakup/speakup_ltlk.c { PITCH, .u.n = {"\x01%dp", 50, 0, 99, 0, 0, NULL } }, u 26 drivers/staging/speakup/speakup_ltlk.c { VOL, .u.n = {"\x01%dv", 5, 0, 9, 0, 0, NULL } }, u 27 drivers/staging/speakup/speakup_ltlk.c { TONE, .u.n = {"\x01%dx", 1, 0, 2, 0, 0, NULL } }, u 28 drivers/staging/speakup/speakup_ltlk.c { PUNCT, .u.n = {"\x01%db", 7, 0, 15, 0, 0, NULL } }, u 29 drivers/staging/speakup/speakup_ltlk.c { VOICE, .u.n = {"\x01%do", 0, 0, 7, 0, 0, NULL } }, u 30 drivers/staging/speakup/speakup_ltlk.c { FREQUENCY, .u.n = {"\x01%df", 5, 0, 9, 0, 0, NULL } }, u 31 drivers/staging/speakup/speakup_ltlk.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 38 drivers/staging/speakup/speakup_soft.c { CAPS_START, .u.s = {"\x01+3p" } }, u 39 drivers/staging/speakup/speakup_soft.c { CAPS_STOP, .u.s = {"\x01-3p" } }, u 40 drivers/staging/speakup/speakup_soft.c { PAUSE, .u.n = {"\x01P" } }, u 41 drivers/staging/speakup/speakup_soft.c { RATE, .u.n = {"\x01%ds", 2, 0, 9, 0, 0, NULL } }, u 42 drivers/staging/speakup/speakup_soft.c { PITCH, .u.n = {"\x01%dp", 5, 0, 9, 0, 0, NULL } }, u 43 drivers/staging/speakup/speakup_soft.c { VOL, .u.n = {"\x01%dv", 5, 0, 9, 0, 0, NULL } }, u 44 drivers/staging/speakup/speakup_soft.c { TONE, .u.n = {"\x01%dx", 1, 0, 2, 0, 0, NULL } }, u 45 drivers/staging/speakup/speakup_soft.c { PUNCT, .u.n = {"\x01%db", 0, 0, 2, 0, 0, NULL } }, u 46 drivers/staging/speakup/speakup_soft.c { VOICE, .u.n = {"\x01%do", 0, 0, 7, 0, 0, NULL } }, u 47 drivers/staging/speakup/speakup_soft.c { FREQUENCY, .u.n = {"\x01%df", 5, 0, 9, 0, 0, NULL } }, u 48 drivers/staging/speakup/speakup_soft.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 161 drivers/staging/speakup/speakup_soft.c cp = cp + sprintf(cp, var->u.n.synth_fmt, u 162 drivers/staging/speakup/speakup_soft.c var->u.n.value); u 22 drivers/staging/speakup/speakup_spkout.c { CAPS_START, .u.s = {"\x05P+" } }, u 23 drivers/staging/speakup/speakup_spkout.c { CAPS_STOP, .u.s = {"\x05P-" } }, u 24 drivers/staging/speakup/speakup_spkout.c { RATE, .u.n = {"\x05R%d", 7, 0, 9, 0, 0, NULL } }, u 25 drivers/staging/speakup/speakup_spkout.c { PITCH, .u.n = {"\x05P%d", 3, 0, 9, 0, 0, NULL } }, u 26 drivers/staging/speakup/speakup_spkout.c { VOL, .u.n = {"\x05V%d", 9, 0, 9, 0, 0, NULL } }, u 27 drivers/staging/speakup/speakup_spkout.c { TONE, .u.n = {"\x05T%c", 8, 0, 25, 65, 0, NULL } }, u 28 drivers/staging/speakup/speakup_spkout.c { PUNCT, .u.n = {"\x05M%c", 0, 0, 3, 0, 0, "nsma" } }, u 29 drivers/staging/speakup/speakup_spkout.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 20 drivers/staging/speakup/speakup_txprt.c { CAPS_START, .u.s = {"\x05P8" } }, u 21 drivers/staging/speakup/speakup_txprt.c { CAPS_STOP, .u.s = {"\x05P5" } }, u 22 drivers/staging/speakup/speakup_txprt.c { RATE, .u.n = {"\x05R%d", 5, 0, 9, 0, 0, NULL } }, u 23 drivers/staging/speakup/speakup_txprt.c { PITCH, .u.n = {"\x05P%d", 5, 0, 9, 0, 0, NULL } }, u 24 drivers/staging/speakup/speakup_txprt.c { VOL, .u.n = {"\x05V%d", 5, 0, 9, 0, 0, NULL } }, u 25 drivers/staging/speakup/speakup_txprt.c { TONE, .u.n = {"\x05T%c", 12, 0, 25, 61, 0, NULL } }, u 26 drivers/staging/speakup/speakup_txprt.c { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, u 134 drivers/staging/speakup/spk_types.h } u; u 72 drivers/staging/speakup/synth.c jiffy_delta_val = jiffy_delta->u.n.value; u 92 drivers/staging/speakup/synth.c full_time_val = full_time->u.n.value; u 106 drivers/staging/speakup/synth.c jiffy_delta_val = jiffy_delta->u.n.value; u 107 drivers/staging/speakup/synth.c delay_time_val = delay_time->u.n.value; u 108 drivers/staging/speakup/synth.c full_time_val = full_time->u.n.value; u 191 drivers/staging/speakup/synth.c msecs_to_jiffies(trigger_time->u.n.value)); u 347 drivers/staging/speakup/synth.c { DELAY, .u.n = {NULL, 100, 100, 2000, 0, 0, NULL } }, u 348 drivers/staging/speakup/synth.c { TRIGGER, .u.n = {NULL, 20, 10, 2000, 0, 0, NULL } }, u 349 drivers/staging/speakup/synth.c { JIFFY, .u.n = {NULL, 50, 20, 200, 0, 0, NULL } }, u 350 drivers/staging/speakup/synth.c { FULL, .u.n = {NULL, 400, 200, 60000, 0, 0, NULL } }, u 403 drivers/staging/speakup/synth.c synth_time_vars[0].u.n.value = u 404 drivers/staging/speakup/synth.c synth_time_vars[0].u.n.default_val = synth->delay; u 405 drivers/staging/speakup/synth.c synth_time_vars[1].u.n.value = u 406 drivers/staging/speakup/synth.c synth_time_vars[1].u.n.default_val = synth->trigger; u 407 drivers/staging/speakup/synth.c synth_time_vars[2].u.n.value = u 408 drivers/staging/speakup/synth.c synth_time_vars[2].u.n.default_val = synth->jiffies; u 409 drivers/staging/speakup/synth.c synth_time_vars[3].u.n.value = u 410 drivers/staging/speakup/synth.c synth_time_vars[3].u.n.default_val = synth->full; u 189 drivers/staging/speakup/varhandlers.c val = var_data->u.n.value; u 192 drivers/staging/speakup/varhandlers.c if (input < var_data->u.n.low || input > var_data->u.n.high) u 194 drivers/staging/speakup/varhandlers.c var_data->u.n.default_val = input; u 197 drivers/staging/speakup/varhandlers.c val = var_data->u.n.default_val; u 210 drivers/staging/speakup/varhandlers.c if (val < var_data->u.n.low || val > var_data->u.n.high) u 213 drivers/staging/speakup/varhandlers.c var_data->u.n.value = val; u 224 drivers/staging/speakup/varhandlers.c if (var_data->u.n.multiplier != 0) u 225 drivers/staging/speakup/varhandlers.c val *= var_data->u.n.multiplier; u 226 drivers/staging/speakup/varhandlers.c val += var_data->u.n.offset; u 232 drivers/staging/speakup/varhandlers.c if (!var_data->u.n.synth_fmt) u 238 drivers/staging/speakup/varhandlers.c if (!var_data->u.n.out_str) u 239 drivers/staging/speakup/varhandlers.c sprintf(cp, var_data->u.n.synth_fmt, (int)val); u 241 drivers/staging/speakup/varhandlers.c sprintf(cp, var_data->u.n.synth_fmt, u 242 drivers/staging/speakup/varhandlers.c var_data->u.n.out_str[val]); u 256 drivers/staging/speakup/varhandlers.c if (!var_data->u.s.default_val) u 259 drivers/staging/speakup/varhandlers.c var->p_val = var_data->u.s.default_val; u 260 drivers/staging/speakup/varhandlers.c if (var->p_val != var_data->u.s.default_val) u 261 drivers/staging/speakup/varhandlers.c strcpy((char *)var->p_val, var_data->u.s.default_val); u 96 drivers/staging/vc04_services/bcm2835-camera/controls.c u32 u; u 536 drivers/staging/vc04_services/bcm2835-camera/controls.c dev->colourfx.u = u 537 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_to_mmal_effects_values[i].u; u 563 drivers/staging/vc04_services/bcm2835-camera/controls.c dev->colourfx.u, dev->colourfx.v, u 577 drivers/staging/vc04_services/bcm2835-camera/controls.c dev->colourfx.u = (ctrl->val & 0xff00) >> 8; u 57 drivers/staging/vc04_services/bcm2835-camera/mmal-common.h u32 u; u 287 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h } u; u 404 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h } u; u 153 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c } u; u 233 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.event_to_host.client_component, u 234 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.event_to_host.port_type, u 235 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.event_to_host.port_num, u 236 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.event_to_host.cmd, msg->u.event_to_host.length); u 247 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c container_of(work, struct mmal_msg_context, u.bulk.work); u 249 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c atomic_dec(&msg_context->u.bulk.port->buffers_with_vpu); u 251 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.port->buffer_cb(msg_context->u.bulk.instance, u 252 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.port, u 253 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status, u 254 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer, u 255 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer_used, u 256 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.mmal_flags, u 257 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.dts, u 258 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.pts); u 272 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c u.bulk.buffer_to_host_work); u 274 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c unsigned long len = msg_context->u.bulk.buffer_used; u 283 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer->buffer, u 306 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rd_len = msg->u.buffer_from_host.buffer_header.length; u 308 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (!msg_context->u.bulk.buffer) { u 325 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (rd_len > msg_context->u.bulk.buffer->buffer_size) { u 326 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rd_len = msg_context->u.bulk.buffer->buffer_size; u 334 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer_used = rd_len; u 335 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.dts = msg->u.buffer_from_host.buffer_header.dts; u 336 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.pts = msg->u.buffer_from_host.buffer_header.pts; u 339 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c &msg_context->u.bulk.buffer_to_host_work); u 349 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(msg_context->u.bulk.buffer->buffer, u 350 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.buffer_from_host.short_data, u 351 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.buffer_from_host.payload_in_message); u 353 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer_used = u 354 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.buffer_from_host.payload_in_message; u 382 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.instance = instance; u 383 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.port = port; u 384 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer = buf; u 385 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer_used = 0; u 388 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c INIT_WORK(&msg_context->u.bulk.work, buffer_work_cb); u 389 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c INIT_WORK(&msg_context->u.bulk.buffer_to_host_work, u 403 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.drvbuf.magic = MMAL_MAGIC; u 404 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.drvbuf.component_handle = port->component->handle; u 405 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.drvbuf.port_handle = port->handle; u 406 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.drvbuf.client_context = msg_context->handle; u 409 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.buffer_header.cmd = 0; u 410 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.buffer_header.data = u 412 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.buffer_header.alloc_size = buf->buffer_size; u 413 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.buffer_header.length = 0; /* nothing used yet */ u 414 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.buffer_header.offset = 0; /* no offset */ u 415 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.buffer_header.flags = 0; /* no flags */ u 416 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.buffer_header.pts = MMAL_TIME_UNKNOWN; u 417 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.buffer_header.dts = MMAL_TIME_UNKNOWN; u 420 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memset(&m.u.buffer_from_host.buffer_header_type_specific, 0, u 421 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.buffer_from_host.buffer_header_type_specific)); u 424 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.buffer_from_host.payload_in_message = 0; u 431 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.buffer_from_host)); u 448 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (msg->u.buffer_from_host.drvbuf.magic == MMAL_MAGIC) { u 449 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c handle = msg->u.buffer_from_host.drvbuf.client_context; u 462 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.mmal_flags = u 463 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.buffer_from_host.buffer_header.flags; u 469 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status = msg->h.status; u 471 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c } else if (msg->u.buffer_from_host.buffer_header.length == 0) { u 473 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (msg->u.buffer_from_host.buffer_header.flags & u 475 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status = u 477 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (msg_context->u.bulk.status == 0) u 483 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status = 0; u 484 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer_used = 0; u 486 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c } else if (msg->u.buffer_from_host.payload_in_message == 0) { u 488 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status = u 490 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (msg_context->u.bulk.status == 0) u 497 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status); u 499 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c } else if (msg->u.buffer_from_host.payload_in_message <= u 502 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status = inline_receive(instance, msg, u 508 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status = -EINVAL; u 509 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.buffer_used = u 510 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.buffer_from_host.payload_in_message; u 514 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c schedule_work(&msg_context->u.bulk.work); u 520 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status = 0; u 523 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c schedule_work(&msg_context->u.bulk.work); u 531 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.bulk.status = -EINTR; u 533 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c schedule_work(&msg_context->u.bulk.work); u 599 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.sync.msg_handle = msg_handle; u 600 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.sync.msg = msg; u 601 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg_context->u.sync.msg_len = msg_len; u 613 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c complete(&msg_context->u.sync.cmplt); u 662 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c init_completion(&msg_context->u.sync.cmplt); u 686 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c timeout = wait_for_completion_timeout(&msg_context->u.sync.cmplt, u 696 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c *msg_out = msg_context->u.sync.msg; u 697 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c *msg_handle_out = msg_context->u.sync.msg_handle; u 778 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.component_handle = port->component->handle; u 779 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.port_type = port->type; u 780 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.port_index = port->index; u 782 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port_to_mmal_msg(port, &m.u.port_info_set.port); u 785 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.type = port->format.type; u 786 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.encoding = port->format.encoding; u 787 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.encoding_variant = u 789 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.bitrate = port->format.bitrate; u 790 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.flags = port->format.flags; u 792 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(&m.u.port_info_set.es, &port->es, u 795 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.extradata_size = port->format.extradata_size; u 796 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(&m.u.port_info_set.extradata, port->format.extradata, u 800 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.port_info_set), u 812 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.port_info_get_reply.status; u 834 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_get.component_handle = port->component->handle; u 835 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_get.port_type = port->type; u 836 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_get.index = port->index; u 839 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.port_info_get), u 851 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.port_info_get_reply.status; u 855 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (rmsg->u.port_info_get_reply.port.is_enabled == 0) u 861 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->handle = rmsg->u.port_info_get_reply.port_handle; u 866 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->type = rmsg->u.port_info_get_reply.port_type; u 867 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->index = rmsg->u.port_info_get_reply.port_index; u 870 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.port.buffer_num_min; u 872 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.port.buffer_size_min; u 874 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.port.buffer_alignment_min; u 877 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.port.buffer_alignment_min; u 879 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.port.buffer_num_recommended; u 881 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->current_buffer.num = rmsg->u.port_info_get_reply.port.buffer_num; u 883 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.port.buffer_size; u 886 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.type = rmsg->u.port_info_get_reply.format.type; u 887 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.encoding = rmsg->u.port_info_get_reply.format.encoding; u 889 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.format.encoding_variant; u 890 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.bitrate = rmsg->u.port_info_get_reply.format.bitrate; u 891 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.flags = rmsg->u.port_info_get_reply.format.flags; u 895 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c &rmsg->u.port_info_get_reply.es, u 900 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.format.extradata_size; u 902 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.extradata, u 930 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.component_create.client_component = (u32)(unsigned long)component; u 931 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c strncpy(m.u.component_create.name, name, u 932 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.component_create.name)); u 935 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.component_create), u 946 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.component_create_reply.status; u 951 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->handle = rmsg->u.component_create_reply.component_handle; u 952 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->inputs = rmsg->u.component_create_reply.input_num; u 953 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->outputs = rmsg->u.component_create_reply.output_num; u 954 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->clocks = rmsg->u.component_create_reply.clock_num; u 976 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.component_destroy.component_handle = component->handle; u 979 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.component_destroy), u 990 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.component_destroy_reply.status; u 1009 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.component_enable.component_handle = component->handle; u 1012 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.component_enable), u 1023 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.component_enable_reply.status; u 1041 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.component_disable.component_handle = component->handle; u 1044 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.component_disable), u 1055 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.component_disable_reply.status; u 1076 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.version), u 1087 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c *major_out = rmsg->u.version.major; u 1088 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c *minor_out = rmsg->u.version.minor; u 1107 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_action_port.component_handle = port->component->handle; u 1108 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_action_port.port_handle = port->handle; u 1109 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_action_port.action = action_type; u 1111 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port_to_mmal_msg(port, &m.u.port_action_port.port); u 1114 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.port_action_port), u 1125 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.port_action_reply.status; u 1152 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_action_handle.component_handle = port->component->handle; u 1153 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_action_handle.port_handle = port->handle; u 1154 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_action_handle.action = action_type; u 1156 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_action_handle.connect_component_handle = u 1158 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_action_handle.connect_port_handle = connect_port_handle; u 1161 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c sizeof(m.u.port_action_handle), u 1172 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.port_action_reply.status; u 1197 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_parameter_set.component_handle = port->component->handle; u 1198 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_parameter_set.port_handle = port->handle; u 1199 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_parameter_set.id = parameter_id; u 1200 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_parameter_set.size = (2 * sizeof(u32)) + value_size; u 1201 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(&m.u.port_parameter_set.value, value, value_size); u 1215 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.port_parameter_set_reply.status; u 1238 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_parameter_get.component_handle = port->component->handle; u 1239 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_parameter_get.port_handle = port->handle; u 1240 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_parameter_get.id = parameter_id; u 1241 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_parameter_get.size = (2 * sizeof(u32)) + *value_size; u 1257 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = -rmsg->u.port_parameter_get_reply.status; u 1261 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_parameter_get_reply.size -= (2 * sizeof(u32)); u 1263 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (ret || rmsg->u.port_parameter_get_reply.size > *value_size) { u 1267 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(value, &rmsg->u.port_parameter_get_reply.value, u 1269 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c *value_size = rmsg->u.port_parameter_get_reply.size; u 1271 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(value, &rmsg->u.port_parameter_get_reply.value, u 1272 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_parameter_get_reply.size); u 99 drivers/staging/vt6655/key.c u32 u; u 106 drivers/staging/vt6655/key.c for (u = 0 ; u < MAX_KEY_TABLE; u++) u 107 drivers/staging/vt6655/key.c MACvDisableKeyEntry(priv, u); u 112 drivers/staging/vt6655/key.c for (u = 0; u < MAX_KEY_TABLE; u++) u 113 drivers/staging/vt6655/key.c MACvDisableKeyEntry(priv, u); u 1457 drivers/staging/vt6655/rxtx.c mgmt_hdr->u.beacon.timestamp = 0; u 35 drivers/staging/vt6655/tmacro.h #define LODWORD(q) ((q).u.dwLowDword) u 36 drivers/staging/vt6655/tmacro.h #define HIDWORD(q) ((q).u.dwHighDword) u 112 drivers/staging/vt6656/key.c int ret = 0, u; u 119 drivers/staging/vt6656/key.c for (u = 0 ; u < MAX_KEY_TABLE; u++) u 120 drivers/staging/vt6656/key.c vnt_mac_disable_keyentry(priv, u); u 125 drivers/staging/vt6656/key.c for (u = 0; u < MAX_KEY_TABLE; u++) u 126 drivers/staging/vt6656/key.c vnt_mac_disable_keyentry(priv, u); u 116 drivers/staging/vt6656/mac.c set_key.u.write.key_ctl = cpu_to_le16(key_ctl); u 117 drivers/staging/vt6656/mac.c ether_addr_copy(set_key.u.write.addr, addr); u 120 drivers/staging/vt6656/mac.c swap(set_key.u.swap[0], set_key.u.swap[1]); u 353 drivers/staging/vt6656/mac.h } u; u 1049 drivers/staging/vt6656/rxtx.c mgmt_hdr->u.beacon.timestamp = 0; u 585 drivers/staging/wilc1000/wilc_hif.c offset = offsetof(struct ieee80211_mgmt, u.probe_resp.variable); u 587 drivers/staging/wilc1000/wilc_hif.c offset = offsetof(struct ieee80211_mgmt, u.beacon.variable); u 591 drivers/staging/wilc1000/wilc_hif.c ies = rcvd_info->mgmt->u.beacon.variable; u 182 drivers/staging/wusbcore/rh.c memset(&descr->u.hs.DeviceRemovable[0], 0, temp); u 183 drivers/staging/wusbcore/rh.c memset(&descr->u.hs.DeviceRemovable[temp], 0xff, temp); u 292 drivers/staging/wusbcore/wusbhc.h #define usb_hcd_to_wusbhc(u) container_of((u), struct wusbhc, usb_hcd) u 235 drivers/tee/optee/call.c memcpy(&msg_arg->params[0].u.value, arg->uuid, sizeof(arg->uuid)); u 236 drivers/tee/optee/call.c memcpy(&msg_arg->params[1].u.value, arg->uuid, sizeof(arg->clnt_uuid)); u 237 drivers/tee/optee/call.c msg_arg->params[1].u.value.c = arg->clnt_login; u 605 drivers/tee/optee/call.c msg_arg->params->u.tmem.shm_ref = (unsigned long)shm; u 606 drivers/tee/optee/call.c msg_arg->params->u.tmem.size = tee_shm_get_size(shm); u 611 drivers/tee/optee/call.c msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | u 638 drivers/tee/optee/call.c msg_arg->params[0].u.rmem.shm_ref = (unsigned long)shm; u 52 drivers/tee/optee/core.c memset(&p->u, 0, sizeof(p->u)); u 59 drivers/tee/optee/core.c p->u.value.a = mp->u.value.a; u 60 drivers/tee/optee/core.c p->u.value.b = mp->u.value.b; u 61 drivers/tee/optee/core.c p->u.value.c = mp->u.value.c; u 68 drivers/tee/optee/core.c p->u.memref.size = mp->u.tmem.size; u 70 drivers/tee/optee/core.c mp->u.tmem.shm_ref; u 72 drivers/tee/optee/core.c p->u.memref.shm_offs = 0; u 73 drivers/tee/optee/core.c p->u.memref.shm = NULL; u 79 drivers/tee/optee/core.c p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; u 80 drivers/tee/optee/core.c p->u.memref.shm = shm; u 83 drivers/tee/optee/core.c if (p->u.memref.size) { u 84 drivers/tee/optee/core.c size_t o = p->u.memref.shm_offs + u 85 drivers/tee/optee/core.c p->u.memref.size - 1; u 97 drivers/tee/optee/core.c p->u.memref.size = mp->u.rmem.size; u 99 drivers/tee/optee/core.c mp->u.rmem.shm_ref; u 102 drivers/tee/optee/core.c p->u.memref.shm_offs = 0; u 103 drivers/tee/optee/core.c p->u.memref.shm = NULL; u 106 drivers/tee/optee/core.c p->u.memref.shm_offs = mp->u.rmem.offs; u 107 drivers/tee/optee/core.c p->u.memref.shm = shm; u 127 drivers/tee/optee/core.c mp->u.tmem.shm_ref = (unsigned long)p->u.memref.shm; u 128 drivers/tee/optee/core.c mp->u.tmem.size = p->u.memref.size; u 130 drivers/tee/optee/core.c if (!p->u.memref.shm) { u 131 drivers/tee/optee/core.c mp->u.tmem.buf_ptr = 0; u 135 drivers/tee/optee/core.c rc = tee_shm_get_pa(p->u.memref.shm, p->u.memref.shm_offs, &pa); u 139 drivers/tee/optee/core.c mp->u.tmem.buf_ptr = pa; u 152 drivers/tee/optee/core.c mp->u.rmem.shm_ref = (unsigned long)p->u.memref.shm; u 153 drivers/tee/optee/core.c mp->u.rmem.size = p->u.memref.size; u 154 drivers/tee/optee/core.c mp->u.rmem.offs = p->u.memref.shm_offs; u 178 drivers/tee/optee/core.c memset(&mp->u, 0, sizeof(mp->u)); u 185 drivers/tee/optee/core.c mp->u.value.a = p->u.value.a; u 186 drivers/tee/optee/core.c mp->u.value.b = p->u.value.b; u 187 drivers/tee/optee/core.c mp->u.value.c = p->u.value.c; u 192 drivers/tee/optee/core.c if (tee_shm_is_registered(p->u.memref.shm)) u 51 drivers/tee/optee/device.c param[0].u.memref.shm = device_shm; u 52 drivers/tee/optee/device.c param[0].u.memref.size = *shm_size; u 53 drivers/tee/optee/device.c param[0].u.memref.shm_offs = 0; u 63 drivers/tee/optee/device.c *shm_size = param[0].u.memref.size; u 162 drivers/tee/optee/optee_msg.h } u; u 43 drivers/tee/optee/rpc.c arg->params[0].u.value.a = ts.tv_sec; u 44 drivers/tee/optee/rpc.c arg->params[0].u.value.b = ts.tv_nsec; u 104 drivers/tee/optee/rpc.c switch (arg->params[0].u.value.a) { u 106 drivers/tee/optee/rpc.c wq_sleep(&optee->wait_queue, arg->params[0].u.value.b); u 109 drivers/tee/optee/rpc.c wq_wakeup(&optee->wait_queue, arg->params[0].u.value.b); u 132 drivers/tee/optee/rpc.c msec_to_wait = arg->params[0].u.value.a; u 178 drivers/tee/optee/rpc.c param.u.value.a = OPTEE_MSG_RPC_SHM_TYPE_APPL; u 179 drivers/tee/optee/rpc.c param.u.value.b = sz; u 180 drivers/tee/optee/rpc.c param.u.value.c = 0; u 188 drivers/tee/optee/rpc.c shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); u 217 drivers/tee/optee/rpc.c sz = arg->params[0].u.value.b; u 218 drivers/tee/optee/rpc.c switch (arg->params[0].u.value.a) { u 268 drivers/tee/optee/rpc.c arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | u 271 drivers/tee/optee/rpc.c arg->params[0].u.tmem.size = tee_shm_get_size(shm); u 272 drivers/tee/optee/rpc.c arg->params[0].u.tmem.shm_ref = (unsigned long)shm; u 278 drivers/tee/optee/rpc.c arg->params[0].u.tmem.buf_ptr = pa; u 279 drivers/tee/optee/rpc.c arg->params[0].u.tmem.size = sz; u 280 drivers/tee/optee/rpc.c arg->params[0].u.tmem.shm_ref = (unsigned long)shm; u 294 drivers/tee/optee/rpc.c param.u.value.a = OPTEE_MSG_RPC_SHM_TYPE_APPL; u 295 drivers/tee/optee/rpc.c param.u.value.b = tee_shm_get_id(shm); u 296 drivers/tee/optee/rpc.c param.u.value.c = 0; u 327 drivers/tee/optee/rpc.c shm = (struct tee_shm *)(unsigned long)arg->params[0].u.value.b; u 328 drivers/tee/optee/rpc.c switch (arg->params[0].u.value.a) { u 198 drivers/tee/optee/supp.c if (tee_param_is_memref(params + n) && params[n].u.memref.shm) u 199 drivers/tee/optee/supp.c tee_shm_put(params[n].u.memref.shm); u 274 drivers/tee/optee/supp.c param->u.value.a = id; u 275 drivers/tee/optee/supp.c param->u.value.b = 0; u 276 drivers/tee/optee/supp.c param->u.value.c = 0; u 308 drivers/tee/optee/supp.c id = param->u.value.a; u 364 drivers/tee/optee/supp.c p->u.value.a = param[n + num_meta].u.value.a; u 365 drivers/tee/optee/supp.c p->u.value.b = param[n + num_meta].u.value.b; u 366 drivers/tee/optee/supp.c p->u.value.c = param[n + num_meta].u.value.c; u 370 drivers/tee/optee/supp.c p->u.memref.size = param[n + num_meta].u.memref.size; u 227 drivers/tee/tee_core.c params[n].u.value.a = ip.a; u 228 drivers/tee/tee_core.c params[n].u.value.b = ip.b; u 229 drivers/tee/tee_core.c params[n].u.value.c = ip.c; u 257 drivers/tee/tee_core.c params[n].u.memref.shm_offs = ip.a; u 258 drivers/tee/tee_core.c params[n].u.memref.size = ip.b; u 259 drivers/tee/tee_core.c params[n].u.memref.shm = shm; u 281 drivers/tee/tee_core.c if (put_user(p->u.value.a, &up->a) || u 282 drivers/tee/tee_core.c put_user(p->u.value.b, &up->b) || u 283 drivers/tee/tee_core.c put_user(p->u.value.c, &up->c)) u 288 drivers/tee/tee_core.c if (put_user((u64)p->u.memref.size, &up->b)) u 361 drivers/tee/tee_core.c params[n].u.memref.shm) u 362 drivers/tee/tee_core.c tee_shm_put(params[n].u.memref.shm); u 423 drivers/tee/tee_core.c params[n].u.memref.shm) u 424 drivers/tee/tee_core.c tee_shm_put(params[n].u.memref.shm); u 474 drivers/tee/tee_core.c ip.a = p->u.value.a; u 475 drivers/tee/tee_core.c ip.b = p->u.value.b; u 476 drivers/tee/tee_core.c ip.c = p->u.value.c; u 481 drivers/tee/tee_core.c ip.b = p->u.memref.size; u 482 drivers/tee/tee_core.c if (!p->u.memref.shm) { u 487 drivers/tee/tee_core.c ip.a = p->u.memref.shm_offs; u 488 drivers/tee/tee_core.c ip.c = p->u.memref.shm->id; u 576 drivers/tee/tee_core.c p->u.value.a = ip.a; u 577 drivers/tee/tee_core.c p->u.value.b = ip.b; u 578 drivers/tee/tee_core.c p->u.value.c = ip.c; u 589 drivers/tee/tee_core.c p->u.memref.shm = NULL; u 590 drivers/tee/tee_core.c p->u.memref.shm_offs = 0; u 591 drivers/tee/tee_core.c p->u.memref.size = ip.b; u 594 drivers/tee/tee_core.c memset(&p->u, 0, sizeof(p->u)); u 297 drivers/tty/cyclades.c cy_writeb(port->u.cyy.base_addr + (reg << card->bus_index), val); u 304 drivers/tty/cyclades.c return readb(port->u.cyy.base_addr + (reg << card->bus_index)); u 383 drivers/tty/cyclades.c return __cyy_issue_cmd(port->u.cyy.base_addr, cmd, u 920 drivers/tty/cyclades.c struct BUF_CTRL __iomem *buf_ctrl = info->u.cyz.buf_ctrl; u 1007 drivers/tty/cyclades.c struct BUF_CTRL __iomem *buf_ctrl = info->u.cyz.buf_ctrl; u 1120 drivers/tty/cyclades.c readl(&info->u.cyz.ch_ctrl->rs_status); u 1312 drivers/tty/cyclades.c struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; u 1721 drivers/tty/cyclades.c struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; u 1906 drivers/tty/cyclades.c struct BUF_CTRL __iomem *buf_ctrl = info->u.cyz.buf_ctrl; u 2140 drivers/tty/cyclades.c struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; u 2410 drivers/tty/cyclades.c lstatus = readl(&info->u.cyz.ch_ctrl->rs_status); u 2439 drivers/tty/cyclades.c struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; u 3002 drivers/tty/cyclades.c return readl(&info->u.cyz.ch_ctrl->rs_status) & C_RS_DCD; u 3010 drivers/tty/cyclades.c struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; u 3085 drivers/tty/cyclades.c info->u.cyz.ch_ctrl = &zfw_ctrl->ch_ctrl[channel]; u 3086 drivers/tty/cyclades.c info->u.cyz.buf_ctrl = &zfw_ctrl->buf_ctrl[channel]; u 3107 drivers/tty/cyclades.c info->u.cyy.base_addr = cinfo->base_addr + u 265 drivers/tty/hvc/hvsi.c mctrl_word = be32_to_cpu(resp->u.mctrl_word); u 289 drivers/tty/hvc/hvsi.c packet.u.version = HVSI_VERSION; u 100 drivers/tty/hvc/hvsi_lib.c r.u.version = HVSI_VERSION; u 115 drivers/tty/hvc/hvsi_lib.c hvsi_cd_change(pv, be32_to_cpu(r->u.mctrl_word) & HVSI_TSCD); u 73 drivers/tty/serial/arc_uart.c #define UART_REG_SET(u, r, v) writeb((v), RBASE(u, r)) u 74 drivers/tty/serial/arc_uart.c #define UART_REG_GET(u, r) readb(RBASE(u, r)) u 76 drivers/tty/serial/arc_uart.c #define UART_REG_OR(u, r, v) UART_REG_SET(u, r, UART_REG_GET(u, r) | (v)) u 77 drivers/tty/serial/arc_uart.c #define UART_REG_CLR(u, r, v) UART_REG_SET(u, r, UART_REG_GET(u, r) & ~(v)) u 525 drivers/tty/serial/mxs-auart.c static void mxs_auart_stop_tx(struct uart_port *u); u 527 drivers/tty/serial/mxs-auart.c #define to_auart_port(u) container_of(u, struct mxs_auart_port, port) u 707 drivers/tty/serial/mxs-auart.c static int mxs_auart_request_port(struct uart_port *u) u 712 drivers/tty/serial/mxs-auart.c static int mxs_auart_verify_port(struct uart_port *u, u 715 drivers/tty/serial/mxs-auart.c if (u->type != PORT_UNKNOWN && u->type != PORT_IMX) u 720 drivers/tty/serial/mxs-auart.c static void mxs_auart_config_port(struct uart_port *u, int flags) u 724 drivers/tty/serial/mxs-auart.c static const char *mxs_auart_type(struct uart_port *u) u 726 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 731 drivers/tty/serial/mxs-auart.c static void mxs_auart_release_port(struct uart_port *u) u 735 drivers/tty/serial/mxs-auart.c static void mxs_auart_set_mctrl(struct uart_port *u, unsigned mctrl) u 737 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 743 drivers/tty/serial/mxs-auart.c if (uart_cts_enabled(u)) u 777 drivers/tty/serial/mxs-auart.c static u32 mxs_auart_get_mctrl(struct uart_port *u) u 779 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 974 drivers/tty/serial/mxs-auart.c static void mxs_auart_settermios(struct uart_port *u, u 978 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 1016 drivers/tty/serial/mxs-auart.c u->read_status_mask = AUART_STAT_OERR; u 1019 drivers/tty/serial/mxs-auart.c u->read_status_mask |= AUART_STAT_PERR; u 1021 drivers/tty/serial/mxs-auart.c u->read_status_mask |= AUART_STAT_BERR; u 1026 drivers/tty/serial/mxs-auart.c u->ignore_status_mask = 0; u 1028 drivers/tty/serial/mxs-auart.c u->ignore_status_mask |= AUART_STAT_PERR; u 1030 drivers/tty/serial/mxs-auart.c u->ignore_status_mask |= AUART_STAT_BERR; u 1036 drivers/tty/serial/mxs-auart.c u->ignore_status_mask |= AUART_STAT_OERR; u 1076 drivers/tty/serial/mxs-auart.c baud = uart_get_baud_rate(u, termios, old, u 1077 drivers/tty/serial/mxs-auart.c u->uartclk * 4 / 0x3FFFFF, u 1078 drivers/tty/serial/mxs-auart.c u->uartclk / 16); u 1079 drivers/tty/serial/mxs-auart.c div = u->uartclk * 4 / baud; u 1081 drivers/tty/serial/mxs-auart.c baud_min = DIV_ROUND_UP(u->uartclk * 32, u 1083 drivers/tty/serial/mxs-auart.c baud_max = u->uartclk * 32 / AUART_LINECTRL_BAUD_DIV_MIN; u 1084 drivers/tty/serial/mxs-auart.c baud = uart_get_baud_rate(u, termios, old, baud_min, baud_max); u 1085 drivers/tty/serial/mxs-auart.c div = DIV_ROUND_CLOSEST(u->uartclk * 32, baud); u 1094 drivers/tty/serial/mxs-auart.c uart_update_timeout(u, termios->c_cflag, baud); u 1110 drivers/tty/serial/mxs-auart.c if (UART_ENABLE_MS(u, termios->c_cflag)) u 1111 drivers/tty/serial/mxs-auart.c mxs_auart_enable_ms(u); u 1113 drivers/tty/serial/mxs-auart.c mxs_auart_disable_ms(u); u 1212 drivers/tty/serial/mxs-auart.c static int mxs_auart_startup(struct uart_port *u) u 1215 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 1221 drivers/tty/serial/mxs-auart.c if (uart_console(u)) { u 1235 drivers/tty/serial/mxs-auart.c u->fifosize = MXS_AUART_FIFO_SIZE; u 1250 drivers/tty/serial/mxs-auart.c static void mxs_auart_shutdown(struct uart_port *u) u 1252 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 1254 drivers/tty/serial/mxs-auart.c mxs_auart_disable_ms(u); u 1259 drivers/tty/serial/mxs-auart.c if (uart_console(u)) { u 1272 drivers/tty/serial/mxs-auart.c static unsigned int mxs_auart_tx_empty(struct uart_port *u) u 1274 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 1283 drivers/tty/serial/mxs-auart.c static void mxs_auart_start_tx(struct uart_port *u) u 1285 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 1293 drivers/tty/serial/mxs-auart.c static void mxs_auart_stop_tx(struct uart_port *u) u 1295 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 1300 drivers/tty/serial/mxs-auart.c static void mxs_auart_stop_rx(struct uart_port *u) u 1302 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 1307 drivers/tty/serial/mxs-auart.c static void mxs_auart_break_ctl(struct uart_port *u, int ctl) u 1309 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = to_auart_port(u); u 163 drivers/tty/serial/serial-tegra.c static inline struct tegra_uart_port *to_tegra_uport(struct uart_port *u) u 165 drivers/tty/serial/serial-tegra.c return container_of(u, struct tegra_uart_port, uport); u 168 drivers/tty/serial/serial-tegra.c static unsigned int tegra_uart_get_mctrl(struct uart_port *u) u 170 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 231 drivers/tty/serial/serial-tegra.c static void tegra_uart_set_mctrl(struct uart_port *u, unsigned int mctrl) u 233 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 246 drivers/tty/serial/serial-tegra.c static void tegra_uart_break_ctl(struct uart_port *u, int break_ctl) u 248 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 470 drivers/tty/serial/serial-tegra.c static int tegra_uart_request_port(struct uart_port *u) u 475 drivers/tty/serial/serial-tegra.c static void tegra_uart_release_port(struct uart_port *u) u 581 drivers/tty/serial/serial-tegra.c static void tegra_uart_start_tx(struct uart_port *u) u 583 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 584 drivers/tty/serial/serial-tegra.c struct circ_buf *xmit = &u->state->xmit; u 590 drivers/tty/serial/serial-tegra.c static unsigned int tegra_uart_tx_empty(struct uart_port *u) u 592 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 596 drivers/tty/serial/serial-tegra.c spin_lock_irqsave(&u->lock, flags); u 602 drivers/tty/serial/serial-tegra.c spin_unlock_irqrestore(&u->lock, flags); u 606 drivers/tty/serial/serial-tegra.c static void tegra_uart_stop_tx(struct uart_port *u) u 608 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 716 drivers/tty/serial/serial-tegra.c struct uart_port *u = &tup->uport; u 721 drivers/tty/serial/serial-tegra.c spin_lock_irqsave(&u->lock, flags); u 742 drivers/tty/serial/serial-tegra.c spin_unlock_irqrestore(&u->lock, flags); u 784 drivers/tty/serial/serial-tegra.c static void tegra_uart_handle_modem_signal_change(struct uart_port *u) u 786 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 820 drivers/tty/serial/serial-tegra.c struct uart_port *u = &tup->uport; u 826 drivers/tty/serial/serial-tegra.c spin_lock_irqsave(&u->lock, flags); u 840 drivers/tty/serial/serial-tegra.c spin_unlock_irqrestore(&u->lock, flags); u 846 drivers/tty/serial/serial-tegra.c tegra_uart_handle_modem_signal_change(u); u 885 drivers/tty/serial/serial-tegra.c static void tegra_uart_stop_rx(struct uart_port *u) u 887 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 1179 drivers/tty/serial/serial-tegra.c static int tegra_uart_startup(struct uart_port *u) u 1181 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 1187 drivers/tty/serial/serial-tegra.c dev_err(u->dev, "Tx Dma allocation failed, err = %d\n", u 1196 drivers/tty/serial/serial-tegra.c dev_err(u->dev, "Rx Dma allocation failed, err = %d\n", u 1204 drivers/tty/serial/serial-tegra.c dev_err(u->dev, "Uart HW init failed, err = %d\n", ret); u 1208 drivers/tty/serial/serial-tegra.c ret = request_irq(u->irq, tegra_uart_isr, 0, u 1209 drivers/tty/serial/serial-tegra.c dev_name(u->dev), tup); u 1211 drivers/tty/serial/serial-tegra.c dev_err(u->dev, "Failed to register ISR for IRQ %d\n", u->irq); u 1229 drivers/tty/serial/serial-tegra.c static void tegra_uart_flush_buffer(struct uart_port *u) u 1231 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 1238 drivers/tty/serial/serial-tegra.c static void tegra_uart_shutdown(struct uart_port *u) u 1240 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 1243 drivers/tty/serial/serial-tegra.c free_irq(u->irq, tup); u 1246 drivers/tty/serial/serial-tegra.c static void tegra_uart_enable_ms(struct uart_port *u) u 1248 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 1256 drivers/tty/serial/serial-tegra.c static void tegra_uart_set_termios(struct uart_port *u, u 1259 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = to_tegra_uport(u); u 1270 drivers/tty/serial/serial-tegra.c spin_lock_irqsave(&u->lock, flags); u 1336 drivers/tty/serial/serial-tegra.c baud = uart_get_baud_rate(u, termios, oldtermios, u 1339 drivers/tty/serial/serial-tegra.c spin_unlock_irqrestore(&u->lock, flags); u 1347 drivers/tty/serial/serial-tegra.c spin_lock_irqsave(&u->lock, flags); u 1364 drivers/tty/serial/serial-tegra.c uart_update_timeout(u, termios->c_cflag, baud); u 1380 drivers/tty/serial/serial-tegra.c spin_unlock_irqrestore(&u->lock, flags); u 1383 drivers/tty/serial/serial-tegra.c static const char *tegra_uart_type(struct uart_port *u) u 1550 drivers/tty/serial/serial-tegra.c struct uart_port *u; u 1573 drivers/tty/serial/serial-tegra.c u = &tup->uport; u 1574 drivers/tty/serial/serial-tegra.c u->dev = &pdev->dev; u 1575 drivers/tty/serial/serial-tegra.c u->ops = &tegra_uart_ops; u 1576 drivers/tty/serial/serial-tegra.c u->type = PORT_TEGRA; u 1577 drivers/tty/serial/serial-tegra.c u->fifosize = 32; u 1587 drivers/tty/serial/serial-tegra.c u->mapbase = resource->start; u 1588 drivers/tty/serial/serial-tegra.c u->membase = devm_ioremap_resource(&pdev->dev, resource); u 1589 drivers/tty/serial/serial-tegra.c if (IS_ERR(u->membase)) u 1590 drivers/tty/serial/serial-tegra.c return PTR_ERR(u->membase); u 1604 drivers/tty/serial/serial-tegra.c u->iotype = UPIO_MEM32; u 1608 drivers/tty/serial/serial-tegra.c u->irq = ret; u 1609 drivers/tty/serial/serial-tegra.c u->regshift = 2; u 1610 drivers/tty/serial/serial-tegra.c ret = uart_add_one_port(&tegra_uart_driver, u); u 1621 drivers/tty/serial/serial-tegra.c struct uart_port *u = &tup->uport; u 1623 drivers/tty/serial/serial-tegra.c uart_remove_one_port(&tegra_uart_driver, u); u 1631 drivers/tty/serial/serial-tegra.c struct uart_port *u = &tup->uport; u 1633 drivers/tty/serial/serial-tegra.c return uart_suspend_port(&tegra_uart_driver, u); u 1639 drivers/tty/serial/serial-tegra.c struct uart_port *u = &tup->uport; u 1641 drivers/tty/serial/serial-tegra.c return uart_resume_port(&tegra_uart_driver, u); u 1129 drivers/tty/serial/sprd_serial.c struct sprd_uart_port *u = sprd_port[uport->line]; u 1150 drivers/tty/serial/sprd_serial.c u->clk = devm_clk_get(uport->dev, "enable"); u 1151 drivers/tty/serial/sprd_serial.c if (IS_ERR(u->clk)) { u 1152 drivers/tty/serial/sprd_serial.c if (PTR_ERR(u->clk) == -EPROBE_DEFER) u 1160 drivers/tty/serial/sprd_serial.c return PTR_ERR(u->clk); u 1162 drivers/tty/serial/sprd_serial.c u->clk = NULL; u 475 drivers/usb/atm/ueagle-atm.c #define e1_bSwapPageNo u.e1.s1.swapinfo.bSwapPageNo u 476 drivers/usb/atm/ueagle-atm.c #define e1_bOvl u.e1.s1.swapinfo.bOvl u 477 drivers/usb/atm/ueagle-atm.c #define e4_bSwapPageNo u.e4.s1.swapinfo.bSwapPageNo u 514 drivers/usb/atm/ueagle-atm.c } u; u 1909 drivers/usb/atm/ueagle-atm.c int ret, size, u, ln; u 1931 drivers/usb/atm/ueagle-atm.c for (u = 0; u < size; u += ln) { u 1932 drivers/usb/atm/ueagle-atm.c ln = min(size - u, 64); u 1933 drivers/usb/atm/ueagle-atm.c ret = uea_request(sc, 0xe, 0, ln, pfw + u); u 1967 drivers/usb/atm/ueagle-atm.c struct cmv_e1 *cmv = &intr->u.e1.s2.cmv; u 2029 drivers/usb/atm/ueagle-atm.c struct cmv_e4 *cmv = &intr->u.e4.s2.cmv; u 1432 drivers/usb/core/devio.c int u; u 1436 drivers/usb/core/devio.c if (get_user(u, (int __user *)arg)) u 1458 drivers/usb/core/devio.c current->comm, u); u 1469 drivers/usb/core/devio.c if (actconfig && actconfig->desc.bConfigurationValue == u) u 1472 drivers/usb/core/devio.c status = usb_set_configuration(ps->dev, u); u 1511 drivers/usb/core/devio.c unsigned int u, totlen, isofrmlen; u 1549 drivers/usb/core/devio.c u = 0; u 1590 drivers/usb/core/devio.c u = sizeof(struct usb_ctrlrequest); u 1640 drivers/usb/core/devio.c for (totlen = u = 0; u < number_of_packets; u++) { u 1645 drivers/usb/core/devio.c if (isopkt[u].length > 98304) { u 1649 drivers/usb/core/devio.c totlen += isopkt[u].length; u 1651 drivers/usb/core/devio.c u *= sizeof(struct usb_iso_packet_descriptor); u 1683 drivers/usb/core/devio.c u += sizeof(struct async) + sizeof(struct urb) + u 1686 drivers/usb/core/devio.c ret = usbfs_increase_memory_usage(u); u 1689 drivers/usb/core/devio.c as->mem_usage = u; u 1704 drivers/usb/core/devio.c u = (totlen > USB_SG_SIZE) ? USB_SG_SIZE : totlen; u 1705 drivers/usb/core/devio.c buf = kmalloc(u, GFP_KERNEL); u 1710 drivers/usb/core/devio.c sg_set_buf(&as->urb->sg[i], buf, u); u 1713 drivers/usb/core/devio.c if (copy_from_user(buf, uurb->buffer, u)) { u 1717 drivers/usb/core/devio.c uurb->buffer += u; u 1719 drivers/usb/core/devio.c totlen -= u; u 1762 drivers/usb/core/devio.c u = (is_in ? URB_DIR_IN : URB_DIR_OUT); u 1764 drivers/usb/core/devio.c u |= URB_ISO_ASAP; u 1766 drivers/usb/core/devio.c u |= URB_SHORT_NOT_OK; u 1768 drivers/usb/core/devio.c u |= URB_ZERO_PACKET; u 1770 drivers/usb/core/devio.c u |= URB_NO_INTERRUPT; u 1771 drivers/usb/core/devio.c as->urb->transfer_flags = u; u 1797 drivers/usb/core/devio.c for (totlen = u = 0; u < number_of_packets; u++) { u 1798 drivers/usb/core/devio.c as->urb->iso_frame_desc[u].offset = totlen; u 1799 drivers/usb/core/devio.c as->urb->iso_frame_desc[u].length = isopkt[u].length; u 1800 drivers/usb/core/devio.c totlen += isopkt[u].length; u 205 drivers/usb/core/hub.c (hub->descriptor->u.ss.bHubHdrDecLat * 100); u 1425 drivers/usb/core/hub.c u32 delay = __le16_to_cpu(hub->descriptor->u.ss.wHubDelay); u 1459 drivers/usb/core/hub.c portstr[i] = hub->descriptor->u.hs.DeviceRemovable u 2463 drivers/usb/core/hub.c if (le16_to_cpu(hub->descriptor->u.ss.DeviceRemovable) u 2467 drivers/usb/core/hub.c if (hub->descriptor->u.hs.DeviceRemovable[port / 8] & (1 << (port % 8))) u 6034 drivers/usb/core/hub.c if (!(desc->u.hs.DeviceRemovable[i/8] & mask)) { u 6036 drivers/usb/core/hub.c desc->u.hs.DeviceRemovable[i/8] |= mask; u 6041 drivers/usb/core/hub.c u16 port_removable = le16_to_cpu(desc->u.ss.DeviceRemovable); u 6057 drivers/usb/core/hub.c desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); u 3508 drivers/usb/dwc2/hcd.c hub_desc->u.hs.DeviceRemovable[0] = 0; u 3509 drivers/usb/dwc2/hcd.c hub_desc->u.hs.DeviceRemovable[1] = 0xff; u 485 drivers/usb/gadget/function/f_fs.c events[i].u.setup = ffs->ev.setup; u 898 drivers/usb/gadget/function/f_hid.c u##prec num; \ u 209 drivers/usb/gadget/function/f_uvc.c struct uvc_event *uvc_event = (void *)&v4l2_event.u.data; u 227 drivers/usb/gadget/function/f_uvc.c struct uvc_event *uvc_event = (void *)&v4l2_event.u.data; u 280 drivers/usb/gadget/function/f_uvc.c struct uvc_event *uvc_event = (void *)&v4l2_event.u.data; u 173 drivers/usb/gadget/function/uvc_configfs.c u##bits num; \ u 1503 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *u = to_uvcg_uncompressed(item); \ u 1506 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &u->fmt.group.cg_subsys->su_mutex; \ u 1511 drivers/usb/gadget/function/uvc_configfs.c opts_item = u->fmt.group.cg_item.ci_parent->ci_parent->ci_parent;\ u 1515 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\ u 1528 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *u = to_uvcg_uncompressed(item); \ u 1531 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &u->fmt.group.cg_subsys->su_mutex; \ u 1536 drivers/usb/gadget/function/uvc_configfs.c opts_item = u->fmt.group.cg_item.ci_parent->ci_parent->ci_parent;\ u 1540 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\ u 1551 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *u = to_uvcg_uncompressed(item); \ u 1554 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &u->fmt.group.cg_subsys->su_mutex; \ u 1560 drivers/usb/gadget/function/uvc_configfs.c opts_item = u->fmt.group.cg_item.ci_parent->ci_parent->ci_parent;\ u 1564 drivers/usb/gadget/function/uvc_configfs.c if (u->fmt.linked || opts->refcnt) { \ u 1573 drivers/usb/gadget/function/uvc_configfs.c u->desc.aname = num; \ u 1697 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); \ u 1700 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &u->fmt.group.cg_subsys->su_mutex; \ u 1705 drivers/usb/gadget/function/uvc_configfs.c opts_item = u->fmt.group.cg_item.ci_parent->ci_parent->ci_parent;\ u 1709 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\ u 1721 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); \ u 1724 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &u->fmt.group.cg_subsys->su_mutex; \ u 1729 drivers/usb/gadget/function/uvc_configfs.c opts_item = u->fmt.group.cg_item.ci_parent->ci_parent->ci_parent;\ u 1733 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\ u 1744 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); \ u 1747 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &u->fmt.group.cg_subsys->su_mutex; \ u 1753 drivers/usb/gadget/function/uvc_configfs.c opts_item = u->fmt.group.cg_item.ci_parent->ci_parent->ci_parent;\ u 1757 drivers/usb/gadget/function/uvc_configfs.c if (u->fmt.linked || opts->refcnt) { \ u 1766 drivers/usb/gadget/function/uvc_configfs.c u->desc.aname = num; \ u 1789 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); u 1790 drivers/usb/gadget/function/uvc_configfs.c return uvcg_format_bma_controls_show(&u->fmt, page); u 1797 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); u 1798 drivers/usb/gadget/function/uvc_configfs.c return uvcg_format_bma_controls_store(&u->fmt, page, len); u 2042 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *u = u 2046 drivers/usb/gadget/function/uvc_configfs.c *size += sizeof(u->desc); u 2110 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *u = u 2114 drivers/usb/gadget/function/uvc_configfs.c u->desc.bFormatIndex = n + 1; u 2115 drivers/usb/gadget/function/uvc_configfs.c u->desc.bNumFrameDescriptors = fmt->num_frames; u 2116 drivers/usb/gadget/function/uvc_configfs.c memcpy(*dest, &u->desc, sizeof(u->desc)); u 2117 drivers/usb/gadget/function/uvc_configfs.c *dest += sizeof(u->desc); u 1351 drivers/usb/gadget/legacy/inode.c event->u.speed = gadget->speed; u 1498 drivers/usb/gadget/legacy/inode.c event->u.setup = *ctrl; u 143 drivers/usb/gadget/udc/aspeed-vhub/hub.c .u.hs.DeviceRemovable[0] = 0, u 144 drivers/usb/gadget/udc/aspeed-vhub/hub.c .u.hs.DeviceRemovable[1] = 0xff, u 423 drivers/usb/gadget/udc/aspeed-vhub/vhub.h #define UDCVDBG(u, fmt...) dev_dbg(&(u)->pdev->dev, fmt) u 439 drivers/usb/gadget/udc/aspeed-vhub/vhub.h #define UDCVDBG(u, fmt...) do { } while(0) u 445 drivers/usb/gadget/udc/aspeed-vhub/vhub.h #define UDCDBG(u, fmt...) dev_dbg(&(u)->pdev->dev, fmt) u 460 drivers/usb/gadget/udc/aspeed-vhub/vhub.h #define UDCDBG(u, fmt...) do { } while(0) u 2054 drivers/usb/gadget/udc/dummy_hcd.c desc->u.ss.bHubHdrDecLat = 0x04; /* Worst case: 0.4 micro sec*/ u 2055 drivers/usb/gadget/udc/dummy_hcd.c desc->u.ss.DeviceRemovable = 0; u 2067 drivers/usb/gadget/udc/dummy_hcd.c desc->u.hs.DeviceRemovable[0] = 0; u 2068 drivers/usb/gadget/udc/dummy_hcd.c desc->u.hs.DeviceRemovable[1] = 0xff; /* PortPwrCtrlMask */ u 1049 drivers/usb/gadget/udc/gr_udc.c } u; u 1088 drivers/usb/gadget/udc/gr_udc.c u.raw[i] = ((u8 *)req->req.buf)[i]; u 1090 drivers/usb/gadget/udc/gr_udc.c type = u.ctrl.bRequestType; u 1091 drivers/usb/gadget/udc/gr_udc.c request = u.ctrl.bRequest; u 1092 drivers/usb/gadget/udc/gr_udc.c value = le16_to_cpu(u.ctrl.wValue); u 1093 drivers/usb/gadget/udc/gr_udc.c index = le16_to_cpu(u.ctrl.wIndex); u 1094 drivers/usb/gadget/udc/gr_udc.c length = le16_to_cpu(u.ctrl.wLength); u 1128 drivers/usb/gadget/udc/gr_udc.c status = dev->driver->setup(&dev->gadget, &u.ctrl); u 1715 drivers/usb/gadget/udc/net2272.c } u; u 1770 drivers/usb/gadget/udc/net2272.c u.raw[0] = net2272_read(dev, SETUP0); u 1771 drivers/usb/gadget/udc/net2272.c u.raw[1] = net2272_read(dev, SETUP1); u 1772 drivers/usb/gadget/udc/net2272.c u.raw[2] = net2272_read(dev, SETUP2); u 1773 drivers/usb/gadget/udc/net2272.c u.raw[3] = net2272_read(dev, SETUP3); u 1774 drivers/usb/gadget/udc/net2272.c u.raw[4] = net2272_read(dev, SETUP4); u 1775 drivers/usb/gadget/udc/net2272.c u.raw[5] = net2272_read(dev, SETUP5); u 1776 drivers/usb/gadget/udc/net2272.c u.raw[6] = net2272_read(dev, SETUP6); u 1777 drivers/usb/gadget/udc/net2272.c u.raw[7] = net2272_read(dev, SETUP7); u 1782 drivers/usb/gadget/udc/net2272.c le16_to_cpus(&u.r.wValue); u 1783 drivers/usb/gadget/udc/net2272.c le16_to_cpus(&u.r.wIndex); u 1784 drivers/usb/gadget/udc/net2272.c le16_to_cpus(&u.r.wLength); u 1793 drivers/usb/gadget/udc/net2272.c ep->is_in = (u.r.bRequestType & USB_DIR_IN) != 0; u 1805 drivers/usb/gadget/udc/net2272.c if ((u.r.bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD) u 1807 drivers/usb/gadget/udc/net2272.c switch (u.r.bRequest) { u 1812 drivers/usb/gadget/udc/net2272.c switch (u.r.bRequestType & USB_RECIP_MASK) { u 1814 drivers/usb/gadget/udc/net2272.c e = net2272_get_ep_by_addr(dev, u.r.wIndex); u 1815 drivers/usb/gadget/udc/net2272.c if (!e || u.r.wLength > 2) u 1831 drivers/usb/gadget/udc/net2272.c if (u.r.wLength > 2) u 1844 drivers/usb/gadget/udc/net2272.c if (u.r.wLength > 2) u 1861 drivers/usb/gadget/udc/net2272.c if (u.r.bRequestType != USB_RECIP_ENDPOINT) u 1863 drivers/usb/gadget/udc/net2272.c if (u.r.wValue != USB_ENDPOINT_HALT || u 1864 drivers/usb/gadget/udc/net2272.c u.r.wLength != 0) u 1866 drivers/usb/gadget/udc/net2272.c e = net2272_get_ep_by_addr(dev, u.r.wIndex); u 1882 drivers/usb/gadget/udc/net2272.c if (u.r.bRequestType == USB_RECIP_DEVICE) { u 1883 drivers/usb/gadget/udc/net2272.c if (u.r.wIndex != NORMAL_OPERATION) u 1884 drivers/usb/gadget/udc/net2272.c net2272_set_test_mode(dev, (u.r.wIndex >> 8)); u 1886 drivers/usb/gadget/udc/net2272.c dev_vdbg(dev->dev, "test mode: %d\n", u.r.wIndex); u 1888 drivers/usb/gadget/udc/net2272.c } else if (u.r.bRequestType != USB_RECIP_ENDPOINT) u 1890 drivers/usb/gadget/udc/net2272.c if (u.r.wValue != USB_ENDPOINT_HALT || u 1891 drivers/usb/gadget/udc/net2272.c u.r.wLength != 0) u 1893 drivers/usb/gadget/udc/net2272.c e = net2272_get_ep_by_addr(dev, u.r.wIndex); u 1902 drivers/usb/gadget/udc/net2272.c net2272_write(dev, OURADDR, u.r.wValue & 0xff); u 1910 drivers/usb/gadget/udc/net2272.c u.r.bRequestType, u.r.bRequest, u 1911 drivers/usb/gadget/udc/net2272.c u.r.wValue, u.r.wIndex, u 1914 drivers/usb/gadget/udc/net2272.c tmp = dev->driver->setup(&dev->gadget, &u.r); u 1922 drivers/usb/gadget/udc/net2272.c u.r.bRequestType, u.r.bRequest, tmp); u 3105 drivers/usb/gadget/udc/net2280.c } u; u 3163 drivers/usb/gadget/udc/net2280.c u.raw[0] = readl(&dev->usb->setup0123); u 3164 drivers/usb/gadget/udc/net2280.c u.raw[1] = readl(&dev->usb->setup4567); u 3166 drivers/usb/gadget/udc/net2280.c cpu_to_le32s(&u.raw[0]); u 3167 drivers/usb/gadget/udc/net2280.c cpu_to_le32s(&u.raw[1]); u 3170 drivers/usb/gadget/udc/net2280.c defect7374_workaround(dev, u.r); u 3174 drivers/usb/gadget/udc/net2280.c #define w_value le16_to_cpu(u.r.wValue) u 3175 drivers/usb/gadget/udc/net2280.c #define w_index le16_to_cpu(u.r.wIndex) u 3176 drivers/usb/gadget/udc/net2280.c #define w_length le16_to_cpu(u.r.wLength) u 3187 drivers/usb/gadget/udc/net2280.c ep->is_in = (u.r.bRequestType & USB_DIR_IN) != 0; u 3205 drivers/usb/gadget/udc/net2280.c handle_stat0_irqs_superspeed(dev, ep, u.r); u 3209 drivers/usb/gadget/udc/net2280.c switch (u.r.bRequest) { u 3215 drivers/usb/gadget/udc/net2280.c if (u.r.bRequestType != (USB_DIR_IN|USB_RECIP_ENDPOINT)) u 3239 drivers/usb/gadget/udc/net2280.c if (u.r.bRequestType != USB_RECIP_ENDPOINT) u 3264 drivers/usb/gadget/udc/net2280.c if (u.r.bRequestType != USB_RECIP_ENDPOINT) u 3285 drivers/usb/gadget/udc/net2280.c u.r.bRequestType, u.r.bRequest, u 3290 drivers/usb/gadget/udc/net2280.c tmp = dev->driver->setup(&dev->gadget, &u.r); u 3298 drivers/usb/gadget/udc/net2280.c u.r.bRequestType, u.r.bRequest, tmp); u 1509 drivers/usb/gadget/udc/omap_udc.c } u; u 1517 drivers/usb/gadget/udc/omap_udc.c u.word[0] = omap_readw(UDC_DATA); u 1518 drivers/usb/gadget/udc/omap_udc.c u.word[1] = omap_readw(UDC_DATA); u 1519 drivers/usb/gadget/udc/omap_udc.c u.word[2] = omap_readw(UDC_DATA); u 1520 drivers/usb/gadget/udc/omap_udc.c u.word[3] = omap_readw(UDC_DATA); u 1524 drivers/usb/gadget/udc/omap_udc.c #define w_value le16_to_cpu(u.r.wValue) u 1525 drivers/usb/gadget/udc/omap_udc.c #define w_index le16_to_cpu(u.r.wIndex) u 1526 drivers/usb/gadget/udc/omap_udc.c #define w_length le16_to_cpu(u.r.wLength) u 1532 drivers/usb/gadget/udc/omap_udc.c udc->ep0_in = (u.r.bRequestType & USB_DIR_IN) != 0; u 1537 drivers/usb/gadget/udc/omap_udc.c switch (u.r.bRequest) { u 1540 drivers/usb/gadget/udc/omap_udc.c if (u.r.bRequestType != USB_RECIP_DEVICE) u 1560 drivers/usb/gadget/udc/omap_udc.c if (u.r.bRequestType != USB_RECIP_ENDPOINT) u 1589 drivers/usb/gadget/udc/omap_udc.c if (u.r.bRequestType != USB_RECIP_ENDPOINT) u 1622 drivers/usb/gadget/udc/omap_udc.c if (u.r.bRequestType != (USB_DIR_IN|USB_RECIP_ENDPOINT)) u 1648 drivers/usb/gadget/udc/omap_udc.c if (u.r.bRequestType u 1675 drivers/usb/gadget/udc/omap_udc.c u.r.bRequestType, u.r.bRequest, u 1695 drivers/usb/gadget/udc/omap_udc.c status = udc->driver->setup(&udc->gadget, &u.r); u 1703 drivers/usb/gadget/udc/omap_udc.c u.r.bRequestType, u.r.bRequest, status); u 1637 drivers/usb/gadget/udc/pxa25x_udc.c } u; u 1678 drivers/usb/gadget/udc/pxa25x_udc.c u.raw [i] = (u8) UDDR0; u 1685 drivers/usb/gadget/udc/pxa25x_udc.c u.r.bRequestType, u.r.bRequest, u 1686 drivers/usb/gadget/udc/pxa25x_udc.c le16_to_cpu(u.r.wValue), u 1687 drivers/usb/gadget/udc/pxa25x_udc.c le16_to_cpu(u.r.wIndex), u 1688 drivers/usb/gadget/udc/pxa25x_udc.c le16_to_cpu(u.r.wLength)); u 1691 drivers/usb/gadget/udc/pxa25x_udc.c dev->req_std = (u.r.bRequestType & USB_TYPE_MASK) u 1695 drivers/usb/gadget/udc/pxa25x_udc.c switch (u.r.bRequest) { u 1698 drivers/usb/gadget/udc/pxa25x_udc.c if (u.r.bRequestType == USB_RECIP_DEVICE) { u 1713 drivers/usb/gadget/udc/pxa25x_udc.c if (u.r.bRequestType == USB_RECIP_INTERFACE) { u 1720 drivers/usb/gadget/udc/pxa25x_udc.c le16_to_cpu(u.r.wIndex), u 1721 drivers/usb/gadget/udc/pxa25x_udc.c le16_to_cpu(u.r.wValue)); u 1727 drivers/usb/gadget/udc/pxa25x_udc.c if (u.r.bRequestType == USB_RECIP_DEVICE) { u 1734 drivers/usb/gadget/udc/pxa25x_udc.c if (u.r.bRequestType & USB_DIR_IN) u 1739 drivers/usb/gadget/udc/pxa25x_udc.c i = dev->driver->setup(&dev->gadget, &u.r); u 1748 drivers/usb/gadget/udc/pxa25x_udc.c u.r.bRequest, i); u 1769 drivers/usb/gadget/udc/pxa25x_udc.c || dev->req_std || u.r.wLength)) u 1790 drivers/usb/gadget/udc/pxa25x_udc.c u.raw [i] = (u8) UDDR0; u 1791 drivers/usb/gadget/udc/pxa25x_udc.c if ((u.r.bRequestType & USB_RECIP_MASK) u 1794 drivers/usb/gadget/udc/pxa25x_udc.c if (u.word [0] == 0 && u.word [1] == 0) u 1825 drivers/usb/gadget/udc/pxa27x_udc.c } u; u 1846 drivers/usb/gadget/udc/pxa27x_udc.c u.word[i] = udc_ep_readl(ep, UDCDR); u 1856 drivers/usb/gadget/udc/pxa27x_udc.c u.r.bRequestType, u.r.bRequest, u 1857 drivers/usb/gadget/udc/pxa27x_udc.c le16_to_cpu(u.r.wValue), le16_to_cpu(u.r.wIndex), u 1858 drivers/usb/gadget/udc/pxa27x_udc.c le16_to_cpu(u.r.wLength)); u 1862 drivers/usb/gadget/udc/pxa27x_udc.c if (u.r.bRequestType & USB_DIR_IN) u 1871 drivers/usb/gadget/udc/pxa27x_udc.c i = udc->driver->setup(&udc->gadget, &u.r); u 711 drivers/usb/host/ehci-hub.c memset(&desc->u.hs.DeviceRemovable[0], 0, temp); u 712 drivers/usb/host/ehci-hub.c memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); u 1453 drivers/usb/host/fotg210-hcd.c memset(&desc->u.hs.DeviceRemovable[0], 0, temp); u 1454 drivers/usb/host/fotg210-hcd.c memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); u 1475 drivers/usb/host/imx21-hcd.c desc->u.hs.DeviceRemovable[0] = 1 << 1; u 1476 drivers/usb/host/imx21-hcd.c desc->u.hs.DeviceRemovable[1] = ~0; u 959 drivers/usb/host/isp116x-hcd.c desc->u.hs.DeviceRemovable[0] = 0; u 960 drivers/usb/host/isp116x-hcd.c desc->u.hs.DeviceRemovable[1] = ~0; u 1556 drivers/usb/host/isp1362-hcd.c desc->u.hs.DeviceRemovable[0] = desc->bNbrPorts == 1 ? 1 << 1 : 3 << 1; u 1557 drivers/usb/host/isp1362-hcd.c desc->u.hs.DeviceRemovable[1] = ~0; u 563 drivers/usb/host/ohci-hub.c memset(desc->u.hs.DeviceRemovable, 0xff, u 564 drivers/usb/host/ohci-hub.c sizeof(desc->u.hs.DeviceRemovable)); u 565 drivers/usb/host/ohci-hub.c desc->u.hs.DeviceRemovable[0] = rh & RH_B_DR; u 567 drivers/usb/host/ohci-hub.c desc->u.hs.DeviceRemovable[1] = (rh & RH_B_DR) >> 8; u 568 drivers/usb/host/ohci-hub.c desc->u.hs.DeviceRemovable[2] = 0xff; u 570 drivers/usb/host/ohci-hub.c desc->u.hs.DeviceRemovable[1] = 0xff; u 882 drivers/usb/host/oxu210hp-hcd.c memset(&desc->u.hs.DeviceRemovable[0], 0, temp); u 883 drivers/usb/host/oxu210hp-hcd.c memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); u 2137 drivers/usb/host/r8a66597-hcd.c desc->u.hs.DeviceRemovable[0] = u 2139 drivers/usb/host/r8a66597-hcd.c desc->u.hs.DeviceRemovable[1] = ~0; u 1117 drivers/usb/host/sl811-hcd.c desc->u.hs.DeviceRemovable[0] = 0 << 1; u 1118 drivers/usb/host/sl811-hcd.c desc->u.hs.DeviceRemovable[1] = ~0; u 646 drivers/usb/host/u132-hcd.c u8 *u = urb->transfer_buffer + urb->actual_length; u 651 drivers/usb/host/u132-hcd.c *u++ = *b++; u 797 drivers/usb/host/u132-hcd.c u8 *u = urb->transfer_buffer + urb->actual_length; u 802 drivers/usb/host/u132-hcd.c *u++ = *b++; u 936 drivers/usb/host/u132-hcd.c u8 *u = urb->transfer_buffer; u 941 drivers/usb/host/u132-hcd.c *u++ = *b++; u 1225 drivers/usb/host/u132-hcd.c u8 *u = urb->transfer_buffer; u 1230 drivers/usb/host/u132-hcd.c *u++ = *b++; u 2592 drivers/usb/host/u132-hcd.c memset(desc->u.hs.DeviceRemovable, 0xff, u 2593 drivers/usb/host/u132-hcd.c sizeof(desc->u.hs.DeviceRemovable)); u 2594 drivers/usb/host/u132-hcd.c desc->u.hs.DeviceRemovable[0] = rh_b & RH_B_DR; u 2596 drivers/usb/host/u132-hcd.c desc->u.hs.DeviceRemovable[1] = (rh_b & RH_B_DR) >> 8; u 2597 drivers/usb/host/u132-hcd.c desc->u.hs.DeviceRemovable[2] = 0xff; u 2599 drivers/usb/host/u132-hcd.c desc->u.hs.DeviceRemovable[1] = 0xff; u 474 drivers/usb/host/uhci-hcd.h #define uhci_dev(u) (uhci_to_hcd(u)->self.controller) u 548 drivers/usb/host/uhci-hcd.h #define uhci_has_pci_registers(u) ((u)->io_addr != 0) u 551 drivers/usb/host/uhci-hcd.h #define uhci_has_pci_registers(u) 0 u 556 drivers/usb/host/uhci-hcd.h #define uhci_big_endian_mmio(u) ((u)->big_endian_mmio) u 558 drivers/usb/host/uhci-hcd.h #define uhci_big_endian_mmio(u) 0 u 683 drivers/usb/host/uhci-hcd.h #define uhci_big_endian_desc(u) ((u)->big_endian_desc) u 236 drivers/usb/host/xhci-hub.c memset(desc->u.hs.DeviceRemovable, 0xff, u 237 drivers/usb/host/xhci-hub.c sizeof(desc->u.hs.DeviceRemovable)); u 238 drivers/usb/host/xhci-hub.c memset(desc->u.hs.PortPwrCtrlMask, 0xff, u 239 drivers/usb/host/xhci-hub.c sizeof(desc->u.hs.PortPwrCtrlMask)); u 242 drivers/usb/host/xhci-hub.c memset(&desc->u.hs.DeviceRemovable[i], port_removable[i], u 265 drivers/usb/host/xhci-hub.c desc->u.ss.bHubHdrDecLat = 0; u 266 drivers/usb/host/xhci-hub.c desc->u.ss.wHubDelay = 0; u 276 drivers/usb/host/xhci-hub.c desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable); u 1772 drivers/usb/isp1760/isp1760-hcd.c memset(&desc->u.hs.DeviceRemovable[0], 0, temp); u 1773 drivers/usb/isp1760/isp1760-hcd.c memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); u 1158 drivers/usb/misc/usbtest.c struct urb *u = ctx->urb[ u 1162 drivers/usb/misc/usbtest.c if (u == urb || !u->dev) u 1165 drivers/usb/misc/usbtest.c status = usb_unlink_urb(u); u 1230 drivers/usb/misc/usbtest.c struct urb *u; u 1369 drivers/usb/misc/usbtest.c urb[i] = u = simple_alloc_urb(udev, pipe, len, 0); u 1370 drivers/usb/misc/usbtest.c if (!u) u 1379 drivers/usb/misc/usbtest.c u->setup_packet = (char *) &reqp->setup; u 1381 drivers/usb/misc/usbtest.c u->context = &context; u 1382 drivers/usb/misc/usbtest.c u->complete = ctrl_complete; u 433 drivers/usb/misc/uss720.c s->u.pc.ctr = 0xc | (dev->irq_func ? 0x10 : 0x0); u 434 drivers/usb/misc/uss720.c s->u.pc.ecr = 0x24; u 445 drivers/usb/misc/uss720.c s->u.pc.ctr = priv->reg[1]; u 446 drivers/usb/misc/uss720.c s->u.pc.ecr = priv->reg[2]; u 453 drivers/usb/misc/uss720.c set_1284_register(pp, 2, s->u.pc.ctr, GFP_ATOMIC); u 454 drivers/usb/misc/uss720.c set_1284_register(pp, 6, s->u.pc.ecr, GFP_ATOMIC); u 456 drivers/usb/misc/uss720.c priv->reg[1] = s->u.pc.ctr; u 457 drivers/usb/misc/uss720.c priv->reg[2] = s->u.pc.ecr; u 338 drivers/usb/musb/musb_virthub.c desc->u.hs.DeviceRemovable[0] = 0x02; /* port 1 */ u 339 drivers/usb/musb/musb_virthub.c desc->u.hs.DeviceRemovable[1] = 0xff; u 98 drivers/usb/renesas_usbhs/mod_gadget.c #define usbhsg_uep_to_gpriv(u) ((u)->gpriv) u 99 drivers/usb/renesas_usbhs/mod_gadget.c #define usbhsg_uep_to_pipe(u) ((u)->pipe) u 101 drivers/usb/renesas_usbhs/mod_gadget.c #define usbhsg_is_dcp(u) ((u) == usbhsg_gpriv_to_dcp((u)->gpriv)) u 103 drivers/usb/renesas_usbhs/mod_gadget.c #define usbhsg_ureq_to_pkt(u) (&(u)->pkt) u 123 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_ep_to_uep(u) ((u)->hcpriv) u 124 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_uep_to_pipe(u) ((u)->pipe) u 125 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_uep_to_udev(u) ((u)->udev) u 126 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_uep_to_ep(u) ((u)->ep) u 128 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_urb_to_ureq(u) ((u)->hcpriv) u 129 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_urb_to_usbv(u) ((u)->dev) u 1225 drivers/usb/renesas_usbhs/mod_host.c desc->u.hs.DeviceRemovable[0] = (roothub_id << 1); u 1226 drivers/usb/renesas_usbhs/mod_host.c desc->u.hs.DeviceRemovable[1] = ~0; u 72 drivers/usb/serial/io_edgeport.h } u; u 608 drivers/usb/serial/mos7720.c s->u.pc.ctr = DCR_INIT_VAL; u 609 drivers/usb/serial/mos7720.c s->u.pc.ecr = ECR_INIT_VAL; u 624 drivers/usb/serial/mos7720.c s->u.pc.ctr = mos_parport->shadowDCR; u 625 drivers/usb/serial/mos7720.c s->u.pc.ecr = mos_parport->shadowECR; u 212 drivers/usb/usbip/stub_rx.c if (priv->seqnum != pdu->u.cmd_unlink.seqnum) u 262 drivers/usb/usbip/stub_rx.c pdu->u.cmd_unlink.seqnum); u 368 drivers/usb/usbip/stub_rx.c if (pdu->u.cmd_submit.number_of_packets < 0 || u 369 drivers/usb/usbip/stub_rx.c pdu->u.cmd_submit.number_of_packets > u 373 drivers/usb/usbip/stub_rx.c pdu->u.cmd_submit.number_of_packets); u 465 drivers/usb/usbip/stub_rx.c int use_sg = pdu->u.cmd_submit.transfer_flags & URB_DMA_MAP_SG; u 482 drivers/usb/usbip/stub_rx.c buf_len = (unsigned long long)pdu->u.cmd_submit.transfer_buffer_length; u 514 drivers/usb/usbip/stub_rx.c pdu->u.cmd_submit.transfer_flags &= u 533 drivers/usb/usbip/stub_rx.c np = pdu->u.cmd_submit.number_of_packets; u 550 drivers/usb/usbip/stub_rx.c priv->urbs[0]->setup_packet = kmemdup(&pdu->u.cmd_submit.setup, u 129 drivers/usb/usbip/stub_tx.c rpdu->u.ret_unlink.status = unlink->status; u 211 drivers/usb/usbip/stub_tx.c pdu_header.u.ret_submit.status = priv->urb_status; u 212 drivers/usb/usbip/stub_tx.c pdu_header.u.ret_submit.actual_length = actual_length; u 271 drivers/usb/usbip/usbip_common.c pdu->u.cmd_submit.transfer_flags, u 272 drivers/usb/usbip/usbip_common.c pdu->u.cmd_submit.transfer_buffer_length, u 273 drivers/usb/usbip/usbip_common.c pdu->u.cmd_submit.start_frame, u 274 drivers/usb/usbip/usbip_common.c pdu->u.cmd_submit.number_of_packets, u 275 drivers/usb/usbip/usbip_common.c pdu->u.cmd_submit.interval); u 279 drivers/usb/usbip/usbip_common.c pdu->u.cmd_unlink.seqnum); u 283 drivers/usb/usbip/usbip_common.c pdu->u.ret_submit.status, u 284 drivers/usb/usbip/usbip_common.c pdu->u.ret_submit.actual_length, u 285 drivers/usb/usbip/usbip_common.c pdu->u.ret_submit.start_frame, u 286 drivers/usb/usbip/usbip_common.c pdu->u.ret_submit.number_of_packets, u 287 drivers/usb/usbip/usbip_common.c pdu->u.ret_submit.error_count); u 291 drivers/usb/usbip/usbip_common.c pdu->u.ret_unlink.status); u 355 drivers/usb/usbip/usbip_common.c struct usbip_header_cmd_submit *spdu = &pdu->u.cmd_submit; u 380 drivers/usb/usbip/usbip_common.c struct usbip_header_ret_submit *rpdu = &pdu->u.ret_submit; u 502 drivers/usb/usbip/usbip_common.c correct_endian_cmd_submit(&pdu->u.cmd_submit, send); u 505 drivers/usb/usbip/usbip_common.c correct_endian_ret_submit(&pdu->u.ret_submit, send); u 508 drivers/usb/usbip/usbip_common.c correct_endian_cmd_unlink(&pdu->u.cmd_unlink, send); u 511 drivers/usb/usbip/usbip_common.c correct_endian_ret_unlink(&pdu->u.ret_unlink, send); u 215 drivers/usb/usbip/usbip_common.h } u; u 294 drivers/usb/usbip/vhci_hcd.c desc->u.ss.bHubHdrDecLat = 0x04; /* Worst case: 0.4 micro sec*/ u 295 drivers/usb/usbip/vhci_hcd.c desc->u.ss.DeviceRemovable = 0xffff; u 311 drivers/usb/usbip/vhci_hcd.c memset(&desc->u.hs.DeviceRemovable[0], 0, width); u 312 drivers/usb/usbip/vhci_hcd.c memset(&desc->u.hs.DeviceRemovable[width], 0xff, width); u 171 drivers/usb/usbip/vhci_rx.c urb->status = pdu->u.ret_unlink.status; u 31 drivers/usb/usbip/vhci_tx.c memcpy(pdup->u.cmd_submit.setup, urb->setup_packet, 8); u 211 drivers/usb/usbip/vhci_tx.c pdu_header.u.cmd_unlink.seqnum = unlink->unlink_seqnum; u 69 drivers/usb/usbip/vudc.h struct v_unlink *u; u 21 drivers/usb/usbip/vudc_rx.c urb = usb_alloc_urb(pdu->u.cmd_submit.number_of_packets, u 38 drivers/usb/usbip/vudc_rx.c urb->setup_packet = kmemdup(&pdu->u.cmd_submit.setup, 8, u 70 drivers/usb/usbip/vudc_rx.c if (urb_p->seqnum != pdu->u.cmd_unlink.seqnum) u 129 drivers/usb/usbip/vudc_rx.c bytes = pdu->u.cmd_submit.transfer_buffer_length; u 132 drivers/usb/usbip/vudc_rx.c if (pdu->u.cmd_submit.number_of_packets < 0 || u 133 drivers/usb/usbip/vudc_rx.c pdu->u.cmd_submit.number_of_packets > packets) { u 136 drivers/usb/usbip/vudc_rx.c pdu->u.cmd_submit.number_of_packets); u 35 drivers/usb/usbip/vudc_tx.c rpdu->u.ret_unlink.status = unlink->status; u 203 drivers/usb/usbip/vudc_tx.c ret = v_send_ret_unlink(udc, txi->u); u 264 drivers/usb/usbip/vudc_tx.c txi->u = unlink; u 1873 drivers/vhost/vhost.c struct vhost_umem_node *u; u 1883 drivers/vhost/vhost.c list_for_each_entry(u, &umem->umem_list, link) { u 1884 drivers/vhost/vhost.c if (u->userspace_addr > hva - 1 + len || u 1885 drivers/vhost/vhost.c u->userspace_addr - 1 + u->size < hva) u 1887 drivers/vhost/vhost.c start = max(u->userspace_addr, hva); u 1888 drivers/vhost/vhost.c end = min(u->userspace_addr - 1 + u->size, u 1892 drivers/vhost/vhost.c u->start + start - u->userspace_addr, u 195 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define SPU_DMA_PITCH_U(u) (u) u 299 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_CKEY_U(u) ((u)<<8) u 301 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_ALPHA_U(u) (u) u 1099 drivers/video/fbdev/omap/omapfb_main.c struct omapfb_update_window *u = &p.update_window; u 1100 drivers/video/fbdev/omap/omapfb_main.c u->out_x = u->x; u 1101 drivers/video/fbdev/omap/omapfb_main.c u->out_y = u->y; u 1102 drivers/video/fbdev/omap/omapfb_main.c u->out_width = u->width; u 1103 drivers/video/fbdev/omap/omapfb_main.c u->out_height = u->height; u 1104 drivers/video/fbdev/omap/omapfb_main.c memset(u->reserved, 0, sizeof(u->reserved)); u 1105 drivers/video/fbdev/omap/omapfb_main.c r = omapfb_update_win(fbi, u); u 22 drivers/video/fbdev/pxa168fb.h #define SPU_DMA_PITCH_U(u) (u) u 126 drivers/video/fbdev/pxa168fb.h #define CFG_CKEY_U(u) ((u) << 8) u 128 drivers/video/fbdev/pxa168fb.h #define CFG_ALPHA_U(u) (u) u 390 drivers/video/fbdev/via/viafbdev.c } u; u 400 drivers/video/fbdev/via/viafbdev.c memset(&u, 0, sizeof(u)); u 422 drivers/video/fbdev/via/viafbdev.c u.viamode.xres = (u32) viafb_hotplug_Xres; u 423 drivers/video/fbdev/via/viafbdev.c u.viamode.yres = (u32) viafb_hotplug_Yres; u 424 drivers/video/fbdev/via/viafbdev.c u.viamode.refresh = (u32) viafb_hotplug_refresh; u 425 drivers/video/fbdev/via/viafbdev.c u.viamode.bpp = (u32) viafb_hotplug_bpp; u 427 drivers/video/fbdev/via/viafbdev.c u.viamode.xres_sec = viafb_second_xres; u 428 drivers/video/fbdev/via/viafbdev.c u.viamode.yres_sec = viafb_second_yres; u 429 drivers/video/fbdev/via/viafbdev.c u.viamode.virtual_xres_sec = viafb_dual_fb ? viafbinfo1->var.xres_virtual : viafbinfo->var.xres_virtual; u 430 drivers/video/fbdev/via/viafbdev.c u.viamode.virtual_yres_sec = viafb_dual_fb ? viafbinfo1->var.yres_virtual : viafbinfo->var.yres_virtual; u 431 drivers/video/fbdev/via/viafbdev.c u.viamode.refresh_sec = viafb_refresh1; u 432 drivers/video/fbdev/via/viafbdev.c u.viamode.bpp_sec = viafb_bpp1; u 434 drivers/video/fbdev/via/viafbdev.c u.viamode.xres_sec = 0; u 435 drivers/video/fbdev/via/viafbdev.c u.viamode.yres_sec = 0; u 436 drivers/video/fbdev/via/viafbdev.c u.viamode.virtual_xres_sec = 0; u 437 drivers/video/fbdev/via/viafbdev.c u.viamode.virtual_yres_sec = 0; u 438 drivers/video/fbdev/via/viafbdev.c u.viamode.refresh_sec = 0; u 439 drivers/video/fbdev/via/viafbdev.c u.viamode.bpp_sec = 0; u 441 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.viamode, sizeof(u.viamode))) u 445 drivers/video/fbdev/via/viafbdev.c u.viasamm.samm_status = viafb_SAMM_ON; u 449 drivers/video/fbdev/via/viafbdev.c u.viasamm.size_prim = viaparinfo->fbmem_free; u 450 drivers/video/fbdev/via/viafbdev.c u.viasamm.size_sec = viaparinfo1->fbmem_free; u 453 drivers/video/fbdev/via/viafbdev.c u.viasamm.size_prim = u 456 drivers/video/fbdev/via/viafbdev.c u.viasamm.size_sec = u 459 drivers/video/fbdev/via/viafbdev.c u.viasamm.size_prim = u 461 drivers/video/fbdev/via/viafbdev.c u.viasamm.size_sec = u 465 drivers/video/fbdev/via/viafbdev.c u.viasamm.mem_base = viaparinfo->fbmem; u 466 drivers/video/fbdev/via/viafbdev.c u.viasamm.offset_sec = viafb_second_offset; u 468 drivers/video/fbdev/via/viafbdev.c u.viasamm.size_prim = u 470 drivers/video/fbdev/via/viafbdev.c u.viasamm.size_sec = 0; u 471 drivers/video/fbdev/via/viafbdev.c u.viasamm.mem_base = viaparinfo->fbmem; u 472 drivers/video/fbdev/via/viafbdev.c u.viasamm.offset_sec = 0; u 475 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.viasamm, sizeof(u.viasamm))) u 500 drivers/video/fbdev/via/viafbdev.c u.active_dev.crt = viafb_CRT_ON; u 501 drivers/video/fbdev/via/viafbdev.c u.active_dev.dvi = viafb_DVI_ON; u 502 drivers/video/fbdev/via/viafbdev.c u.active_dev.lcd = viafb_LCD_ON; u 503 drivers/video/fbdev/via/viafbdev.c u.active_dev.samm = viafb_SAMM_ON; u 504 drivers/video/fbdev/via/viafbdev.c u.active_dev.primary_dev = viafb_primary_dev; u 506 drivers/video/fbdev/via/viafbdev.c u.active_dev.lcd_dsp_cent = viafb_lcd_dsp_method; u 507 drivers/video/fbdev/via/viafbdev.c u.active_dev.lcd_panel_id = viafb_lcd_panel_id; u 508 drivers/video/fbdev/via/viafbdev.c u.active_dev.lcd_mode = viafb_lcd_mode; u 510 drivers/video/fbdev/via/viafbdev.c u.active_dev.xres = viafb_hotplug_Xres; u 511 drivers/video/fbdev/via/viafbdev.c u.active_dev.yres = viafb_hotplug_Yres; u 513 drivers/video/fbdev/via/viafbdev.c u.active_dev.xres1 = viafb_second_xres; u 514 drivers/video/fbdev/via/viafbdev.c u.active_dev.yres1 = viafb_second_yres; u 516 drivers/video/fbdev/via/viafbdev.c u.active_dev.bpp = viafb_bpp; u 517 drivers/video/fbdev/via/viafbdev.c u.active_dev.bpp1 = viafb_bpp1; u 518 drivers/video/fbdev/via/viafbdev.c u.active_dev.refresh = viafb_refresh; u 519 drivers/video/fbdev/via/viafbdev.c u.active_dev.refresh1 = viafb_refresh1; u 521 drivers/video/fbdev/via/viafbdev.c u.active_dev.epia_dvi = viafb_platform_epia_dvi; u 522 drivers/video/fbdev/via/viafbdev.c u.active_dev.lcd_dual_edge = viafb_device_lcd_dualedge; u 523 drivers/video/fbdev/via/viafbdev.c u.active_dev.bus_width = viafb_bus_width; u 525 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.active_dev, sizeof(u.active_dev))) u 530 drivers/video/fbdev/via/viafbdev.c u.driver_version.iMajorNum = VERSION_MAJOR; u 531 drivers/video/fbdev/via/viafbdev.c u.driver_version.iKernelNum = VERSION_KERNEL; u 532 drivers/video/fbdev/via/viafbdev.c u.driver_version.iOSNum = VERSION_OS; u 533 drivers/video/fbdev/via/viafbdev.c u.driver_version.iMinorNum = VERSION_MINOR; u 535 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.driver_version, u 536 drivers/video/fbdev/via/viafbdev.c sizeof(u.driver_version))) u 543 drivers/video/fbdev/via/viafbdev.c retrieve_device_setting(&u.viafb_setting); u 545 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.viafb_setting, u 546 drivers/video/fbdev/via/viafbdev.c sizeof(u.viafb_setting))) u 610 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&u.panel_pos_size_para, argp, u 611 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 613 drivers/video/fbdev/via/viafbdev.c u.panel_pos_size_para.x = u.panel_pos_size_para.y = 0; u 614 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.panel_pos_size_para, u 615 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 619 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&u.panel_pos_size_para, argp, u 620 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 622 drivers/video/fbdev/via/viafbdev.c u.panel_pos_size_para.x = u.panel_pos_size_para.y = 0; u 623 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.panel_pos_size_para, u 624 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 629 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&u.panel_pos_size_para, argp, u 630 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 632 drivers/video/fbdev/via/viafbdev.c u.panel_pos_size_para.x = u.panel_pos_size_para.y = 0; u 633 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.panel_pos_size_para, u 634 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 638 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&u.panel_pos_size_para, argp, u 639 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 641 drivers/video/fbdev/via/viafbdev.c u.panel_pos_size_para.x = u.panel_pos_size_para.y = 0; u 642 drivers/video/fbdev/via/viafbdev.c if (copy_to_user(argp, &u.panel_pos_size_para, u 643 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 648 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&u.panel_pos_size_para, argp, u 649 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 653 drivers/video/fbdev/via/viafbdev.c if (copy_from_user(&u.panel_pos_size_para, argp, u 654 drivers/video/fbdev/via/viafbdev.c sizeof(u.panel_pos_size_para))) u 982 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&info->hdr, sizeof(info->u.in), sizeof(info->u.out))) u 985 drivers/virt/vboxguest/vboxguest_core.c req_maj_version = info->u.in.req_version >> 16; u 986 drivers/virt/vboxguest/vboxguest_core.c min_maj_version = info->u.in.min_version >> 16; u 988 drivers/virt/vboxguest/vboxguest_core.c if (info->u.in.min_version > info->u.in.req_version || u 992 drivers/virt/vboxguest/vboxguest_core.c if (info->u.in.min_version <= VBG_IOC_VERSION && u 994 drivers/virt/vboxguest/vboxguest_core.c info->u.out.session_version = VBG_IOC_VERSION; u 996 drivers/virt/vboxguest/vboxguest_core.c info->u.out.session_version = U32_MAX; u 1000 drivers/virt/vboxguest/vboxguest_core.c info->u.out.driver_version = VBG_IOC_VERSION; u 1001 drivers/virt/vboxguest/vboxguest_core.c info->u.out.driver_revision = 0; u 1002 drivers/virt/vboxguest/vboxguest_core.c info->u.out.reserved1 = 0; u 1003 drivers/virt/vboxguest/vboxguest_core.c info->u.out.reserved2 = 0; u 1041 drivers/virt/vboxguest/vboxguest_core.c u32 timeout_ms = wait->u.in.timeout_ms; u 1042 drivers/virt/vboxguest/vboxguest_core.c u32 event_mask = wait->u.in.events; u 1047 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&wait->hdr, sizeof(wait->u.in), sizeof(wait->u.out))) u 1055 drivers/virt/vboxguest/vboxguest_core.c wait->u.out.events = 0; u 1069 drivers/virt/vboxguest/vboxguest_core.c wait->u.out.events = u 1079 drivers/virt/vboxguest/vboxguest_core.c } while (ret == 0 && wait->u.out.events == 0); u 1230 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&conn->hdr, sizeof(conn->u.in), sizeof(conn->u.out))) u 1246 drivers/virt/vboxguest/vboxguest_core.c ret = vbg_hgcm_connect(gdev, session->requestor, &conn->u.in.loc, u 1251 drivers/virt/vboxguest/vboxguest_core.c conn->u.out.client_id = client_id; u 1254 drivers/virt/vboxguest/vboxguest_core.c conn->u.out.client_id = 0; u 1269 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&disconn->hdr, sizeof(disconn->u.in), 0)) u 1272 drivers/virt/vboxguest/vboxguest_core.c client_id = disconn->u.in.client_id; u 1410 drivers/virt/vboxguest/vboxguest_core.c log->u.in.msg); u 1421 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&filter->hdr, sizeof(filter->u.in), 0)) u 1424 drivers/virt/vboxguest/vboxguest_core.c or_mask = filter->u.in.or_mask; u 1425 drivers/virt/vboxguest/vboxguest_core.c not_mask = filter->u.in.not_mask; u 1440 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&caps->hdr, sizeof(caps->u.in), sizeof(caps->u.out))) u 1443 drivers/virt/vboxguest/vboxguest_core.c or_mask = caps->u.in.or_mask; u 1444 drivers/virt/vboxguest/vboxguest_core.c not_mask = caps->u.in.not_mask; u 1454 drivers/virt/vboxguest/vboxguest_core.c caps->u.out.session_caps = session->guest_caps; u 1455 drivers/virt/vboxguest/vboxguest_core.c caps->u.out.global_caps = gdev->guest_caps_host; u 1463 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&balloon_info->hdr, 0, sizeof(balloon_info->u.out))) u 1466 drivers/virt/vboxguest/vboxguest_core.c balloon_info->u.out.balloon_chunks = gdev->mem_balloon.chunks; u 1471 drivers/virt/vboxguest/vboxguest_core.c balloon_info->u.out.handle_in_r3 = false; u 1482 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&dump->hdr, sizeof(dump->u.in), 0)) u 1490 drivers/virt/vboxguest/vboxguest_core.c req->flags = dump->u.in.flags; u 212 drivers/virt/vboxguest/vboxguest_utils.c buf = (void *)src_parm->u.pointer.u.linear_addr; u 213 drivers/virt/vboxguest/vboxguest_utils.c len = src_parm->u.pointer.size; u 285 drivers/virt/vboxguest/vboxguest_utils.c buf = (void *)src_parm->u.pointer.u.linear_addr; u 286 drivers/virt/vboxguest/vboxguest_utils.c len = src_parm->u.pointer.size; u 340 drivers/virt/vboxguest/vboxguest_utils.c dst_parm->u.pointer.size = 0; u 341 drivers/virt/vboxguest/vboxguest_utils.c dst_parm->u.pointer.u.linear_addr = 0; u 350 drivers/virt/vboxguest/vboxguest_utils.c dst_parm->u.page_list.size = len; u 351 drivers/virt/vboxguest/vboxguest_utils.c dst_parm->u.page_list.offset = *off_extra; u 405 drivers/virt/vboxguest/vboxguest_utils.c src_parm->u.pointer.size, u 412 drivers/virt/vboxguest/vboxguest_utils.c buf = (void *)src_parm->u.pointer.u.linear_addr; u 414 drivers/virt/vboxguest/vboxguest_utils.c src_parm->u.pointer.size, u 569 drivers/virt/vboxguest/vboxguest_utils.c dst_parm->u.page_list.size = src_parm->u.page_list.size; u 576 drivers/virt/vboxguest/vboxguest_utils.c dst_parm->u.pointer.size = src_parm->u.pointer.size; u 581 drivers/virt/vboxguest/vboxguest_utils.c dst_parm->u.pointer.size = src_parm->u.pointer.size; u 583 drivers/virt/vboxguest/vboxguest_utils.c p = (void __user *)dst_parm->u.pointer.u.linear_addr; u 585 drivers/virt/vboxguest/vboxguest_utils.c min(src_parm->u.pointer.size, u 586 drivers/virt/vboxguest/vboxguest_utils.c dst_parm->u.pointer.size)); u 673 drivers/virt/vboxguest/vboxguest_utils.c parm64[i].u.value32 = parm32[i].u.value32; u 678 drivers/virt/vboxguest/vboxguest_utils.c parm64[i].u.value64 = parm32[i].u.value64; u 685 drivers/virt/vboxguest/vboxguest_utils.c parm64[i].u.pointer.size = parm32[i].u.pointer.size; u 686 drivers/virt/vboxguest/vboxguest_utils.c parm64[i].u.pointer.u.linear_addr = u 687 drivers/virt/vboxguest/vboxguest_utils.c parm32[i].u.pointer.u.linear_addr; u 706 drivers/virt/vboxguest/vboxguest_utils.c parm32[i].u.value32 = parm64[i].u.value32; u 710 drivers/virt/vboxguest/vboxguest_utils.c parm32[i].u.value64 = parm64[i].u.value64; u 716 drivers/virt/vboxguest/vboxguest_utils.c parm32[i].u.pointer.size = parm64[i].u.pointer.size; u 143 drivers/virtio/virtio_input.c u.bitmap), u 160 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.min, &mi); u 161 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.max, &ma); u 162 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.res, &re); u 163 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu); u 164 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.flat, &fl); u 232 drivers/virtio/virtio_input.c u.string), u 236 drivers/virtio/virtio_input.c u.string), u 247 drivers/virtio/virtio_input.c u.ids.bustype, &vi->idev->id.bustype); u 249 drivers/virtio/virtio_input.c u.ids.vendor, &vi->idev->id.vendor); u 251 drivers/virtio/virtio_input.c u.ids.product, &vi->idev->id.product); u 253 drivers/virtio/virtio_input.c u.ids.version, &vi->idev->id.version); u 47 drivers/xen/acpi.c .u.enter_acpi_sleep = { u 26 drivers/xen/dbgp.c dbgp.u.pci.seg = pci_domain_nr(pdev->bus); u 27 drivers/xen/dbgp.c dbgp.u.pci.bus = pdev->bus->number; u 28 drivers/xen/dbgp.c dbgp.u.pci.devfn = pdev->devfn; u 38 drivers/xen/efi.c .u.efi_runtime_call.function = XEN_EFI_##name, \ u 39 drivers/xen/efi.c .u.efi_runtime_call.misc = 0} u 41 drivers/xen/efi.c #define efi_data(op) (op.u.efi_runtime_call) u 51 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); u 52 drivers/xen/efi.c memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); u 56 drivers/xen/efi.c tc->resolution = efi_data(op).u.get_time.resolution; u 57 drivers/xen/efi.c tc->accuracy = efi_data(op).u.get_time.accuracy; u 69 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_time)); u 70 drivers/xen/efi.c memcpy(&efi_data(op).u.set_time, tm, sizeof(*tm)); u 88 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_wakeup_time)); u 89 drivers/xen/efi.c memcpy(tm, &efi_data(op).u.get_wakeup_time, sizeof(*tm)); u 105 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_wakeup_time)); u 109 drivers/xen/efi.c memcpy(&efi_data(op).u.set_wakeup_time, tm, sizeof(*tm)); u 125 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.get_variable.name, name); u 127 drivers/xen/efi.c sizeof(efi_data(op).u.get_variable.vendor_guid)); u 128 drivers/xen/efi.c memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor)); u 129 drivers/xen/efi.c efi_data(op).u.get_variable.size = *data_size; u 130 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.get_variable.data, data); u 135 drivers/xen/efi.c *data_size = efi_data(op).u.get_variable.size; u 148 drivers/xen/efi.c efi_data(op).u.get_next_variable_name.size = *name_size; u 149 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.get_next_variable_name.name, name); u 151 drivers/xen/efi.c sizeof(efi_data(op).u.get_next_variable_name.vendor_guid)); u 152 drivers/xen/efi.c memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor, u 158 drivers/xen/efi.c *name_size = efi_data(op).u.get_next_variable_name.size; u 159 drivers/xen/efi.c memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid, u 171 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.set_variable.name, name); u 174 drivers/xen/efi.c sizeof(efi_data(op).u.set_variable.vendor_guid)); u 175 drivers/xen/efi.c memcpy(&efi_data(op).u.set_variable.vendor_guid, vendor, sizeof(*vendor)); u 176 drivers/xen/efi.c efi_data(op).u.set_variable.size = data_size; u 177 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.set_variable.data, data); u 194 drivers/xen/efi.c efi_data(op).u.query_variable_info.attr = attr; u 199 drivers/xen/efi.c *storage_space = efi_data(op).u.query_variable_info.max_store_size; u 200 drivers/xen/efi.c *remaining_space = efi_data(op).u.query_variable_info.remain_store_size; u 201 drivers/xen/efi.c *max_variable_size = efi_data(op).u.query_variable_info.max_size; u 226 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.update_capsule.capsule_header_array, u 228 drivers/xen/efi.c efi_data(op).u.update_capsule.capsule_count = count; u 229 drivers/xen/efi.c efi_data(op).u.update_capsule.sg_list = sg_list; u 245 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.query_capsule_capabilities.capsule_header_array, u 247 drivers/xen/efi.c efi_data(op).u.query_capsule_capabilities.capsule_count = count; u 252 drivers/xen/efi.c *max_size = efi_data(op).u.query_capsule_capabilities.max_capsule_size; u 253 drivers/xen/efi.c *reset_type = efi_data(op).u.query_capsule_capabilities.reset_type; u 201 drivers/xen/events/events_base.c info->u.ipi = ipi; u 215 drivers/xen/events/events_base.c info->u.virq = virq; u 231 drivers/xen/events/events_base.c info->u.pirq.pirq = pirq; u 232 drivers/xen/events/events_base.c info->u.pirq.gsi = gsi; u 233 drivers/xen/events/events_base.c info->u.pirq.domid = domid; u 234 drivers/xen/events/events_base.c info->u.pirq.flags = flags; u 274 drivers/xen/events/events_base.c return info->u.ipi; u 284 drivers/xen/events/events_base.c return info->u.virq; u 294 drivers/xen/events/events_base.c return info->u.pirq.pirq; u 330 drivers/xen/events/events_base.c return info->u.pirq.flags & PIRQ_NEEDS_EOI; u 468 drivers/xen/events/events_base.c info->u.pirq.flags &= ~PIRQ_NEEDS_EOI; u 470 drivers/xen/events/events_base.c info->u.pirq.flags |= PIRQ_NEEDS_EOI; u 521 drivers/xen/events/events_base.c bind_pirq.flags = info->u.pirq.flags & PIRQ_SHAREABLE ? u 594 drivers/xen/events/events_base.c if (info->u.pirq.gsi == gsi) u 777 drivers/xen/events/events_base.c if (xen_initial_domain() && !(info->u.pirq.flags & PIRQ_MSI_GROUP)) { u 778 drivers/xen/events/events_base.c unmap_irq.pirq = info->u.pirq.pirq; u 779 drivers/xen/events/events_base.c unmap_irq.domid = info->u.pirq.domid; u 785 drivers/xen/events/events_base.c if ((rc == -ESRCH && info->u.pirq.domid != DOMID_SELF)) u 787 drivers/xen/events/events_base.c info->u.pirq.domid, info->u.pirq.pirq); u 813 drivers/xen/events/events_base.c if (info->u.pirq.pirq == pirq) u 941 drivers/xen/events/events_base.c if (status.u.virq == virq && status.vcpu == xen_vcpu_nr(cpu)) { u 1422 drivers/xen/events/events_base.c pirq = info->u.pirq.pirq; u 1423 drivers/xen/events/events_base.c gsi = info->u.pirq.gsi; u 1561 drivers/xen/events/events_base.c irq_status.irq = info->u.pirq.pirq; u 49 drivers/xen/events/events_internal.h } u; u 95 drivers/xen/evtchn.c static unsigned int evtchn_ring_offset(struct per_user_data *u, u 98 drivers/xen/evtchn.c return idx & (u->ring_size - 1); u 101 drivers/xen/evtchn.c static evtchn_port_t *evtchn_ring_entry(struct per_user_data *u, u 104 drivers/xen/evtchn.c return u->ring + evtchn_ring_offset(u, idx); u 107 drivers/xen/evtchn.c static int add_evtchn(struct per_user_data *u, struct user_evtchn *evtchn) u 109 drivers/xen/evtchn.c struct rb_node **new = &(u->evtchns.rb_node), *parent = NULL; u 111 drivers/xen/evtchn.c u->nr_evtchns++; u 129 drivers/xen/evtchn.c rb_insert_color(&evtchn->node, &u->evtchns); u 134 drivers/xen/evtchn.c static void del_evtchn(struct per_user_data *u, struct user_evtchn *evtchn) u 136 drivers/xen/evtchn.c u->nr_evtchns--; u 137 drivers/xen/evtchn.c rb_erase(&evtchn->node, &u->evtchns); u 141 drivers/xen/evtchn.c static struct user_evtchn *find_evtchn(struct per_user_data *u, unsigned port) u 143 drivers/xen/evtchn.c struct rb_node *node = u->evtchns.rb_node; u 163 drivers/xen/evtchn.c struct per_user_data *u = evtchn->user; u 167 drivers/xen/evtchn.c evtchn->port, u); u 172 drivers/xen/evtchn.c spin_lock(&u->ring_prod_lock); u 174 drivers/xen/evtchn.c if ((u->ring_prod - u->ring_cons) < u->ring_size) { u 175 drivers/xen/evtchn.c *evtchn_ring_entry(u, u->ring_prod) = evtchn->port; u 177 drivers/xen/evtchn.c if (u->ring_cons == u->ring_prod++) { u 178 drivers/xen/evtchn.c wake_up_interruptible(&u->evtchn_wait); u 179 drivers/xen/evtchn.c kill_fasync(&u->evtchn_async_queue, u 183 drivers/xen/evtchn.c u->ring_overflow = 1; u 185 drivers/xen/evtchn.c spin_unlock(&u->ring_prod_lock); u 195 drivers/xen/evtchn.c struct per_user_data *u = file->private_data; u 207 drivers/xen/evtchn.c mutex_lock(&u->ring_cons_mutex); u 210 drivers/xen/evtchn.c if (u->ring_overflow) u 213 drivers/xen/evtchn.c c = u->ring_cons; u 214 drivers/xen/evtchn.c p = u->ring_prod; u 218 drivers/xen/evtchn.c mutex_unlock(&u->ring_cons_mutex); u 223 drivers/xen/evtchn.c rc = wait_event_interruptible(u->evtchn_wait, u 224 drivers/xen/evtchn.c u->ring_cons != u->ring_prod); u 230 drivers/xen/evtchn.c if (((c ^ p) & u->ring_size) != 0) { u 231 drivers/xen/evtchn.c bytes1 = (u->ring_size - evtchn_ring_offset(u, c)) * u 233 drivers/xen/evtchn.c bytes2 = evtchn_ring_offset(u, p) * sizeof(evtchn_port_t); u 249 drivers/xen/evtchn.c if (copy_to_user(buf, evtchn_ring_entry(u, c), bytes1) || u 251 drivers/xen/evtchn.c copy_to_user(&buf[bytes1], &u->ring[0], bytes2))) u 254 drivers/xen/evtchn.c u->ring_cons += (bytes1 + bytes2) / sizeof(evtchn_port_t); u 258 drivers/xen/evtchn.c mutex_unlock(&u->ring_cons_mutex); u 267 drivers/xen/evtchn.c struct per_user_data *u = file->private_data; u 286 drivers/xen/evtchn.c mutex_lock(&u->bind_mutex); u 292 drivers/xen/evtchn.c evtchn = find_evtchn(u, port); u 299 drivers/xen/evtchn.c mutex_unlock(&u->bind_mutex); u 308 drivers/xen/evtchn.c static int evtchn_resize_ring(struct per_user_data *u) u 317 drivers/xen/evtchn.c if (u->nr_evtchns <= u->ring_size) u 320 drivers/xen/evtchn.c if (u->ring_size == 0) u 323 drivers/xen/evtchn.c new_size = 2 * u->ring_size; u 329 drivers/xen/evtchn.c old_ring = u->ring; u 335 drivers/xen/evtchn.c mutex_lock(&u->ring_cons_mutex); u 336 drivers/xen/evtchn.c spin_lock_irq(&u->ring_prod_lock); u 349 drivers/xen/evtchn.c memcpy(new_ring, old_ring, u->ring_size * sizeof(*u->ring)); u 350 drivers/xen/evtchn.c memcpy(new_ring + u->ring_size, old_ring, u 351 drivers/xen/evtchn.c u->ring_size * sizeof(*u->ring)); u 353 drivers/xen/evtchn.c u->ring = new_ring; u 354 drivers/xen/evtchn.c u->ring_size = new_size; u 356 drivers/xen/evtchn.c spin_unlock_irq(&u->ring_prod_lock); u 357 drivers/xen/evtchn.c mutex_unlock(&u->ring_cons_mutex); u 364 drivers/xen/evtchn.c static int evtchn_bind_to_user(struct per_user_data *u, int port) u 383 drivers/xen/evtchn.c evtchn->user = u; u 387 drivers/xen/evtchn.c rc = add_evtchn(u, evtchn); u 391 drivers/xen/evtchn.c rc = evtchn_resize_ring(u); u 396 drivers/xen/evtchn.c u->name, evtchn); u 408 drivers/xen/evtchn.c del_evtchn(u, evtchn); u 412 drivers/xen/evtchn.c static void evtchn_unbind_from_user(struct per_user_data *u, u 421 drivers/xen/evtchn.c del_evtchn(u, evtchn); u 458 drivers/xen/evtchn.c struct per_user_data *u = file->private_data; u 462 drivers/xen/evtchn.c mutex_lock(&u->bind_mutex); u 470 drivers/xen/evtchn.c if (u->restrict_domid != UNRESTRICTED_DOMID) u 484 drivers/xen/evtchn.c rc = evtchn_bind_to_user(u, bind_virq.port); u 499 drivers/xen/evtchn.c if (u->restrict_domid != UNRESTRICTED_DOMID && u 500 drivers/xen/evtchn.c u->restrict_domid != bind.remote_domain) u 510 drivers/xen/evtchn.c rc = evtchn_bind_to_user(u, bind_interdomain.local_port); u 523 drivers/xen/evtchn.c if (u->restrict_domid != UNRESTRICTED_DOMID) u 537 drivers/xen/evtchn.c rc = evtchn_bind_to_user(u, alloc_unbound.port); u 556 drivers/xen/evtchn.c evtchn = find_evtchn(u, unbind.port); u 561 drivers/xen/evtchn.c evtchn_unbind_from_user(u, evtchn); u 575 drivers/xen/evtchn.c evtchn = find_evtchn(u, notify.port); u 585 drivers/xen/evtchn.c mutex_lock(&u->ring_cons_mutex); u 586 drivers/xen/evtchn.c spin_lock_irq(&u->ring_prod_lock); u 587 drivers/xen/evtchn.c u->ring_cons = u->ring_prod = u->ring_overflow = 0; u 588 drivers/xen/evtchn.c spin_unlock_irq(&u->ring_prod_lock); u 589 drivers/xen/evtchn.c mutex_unlock(&u->ring_cons_mutex); u 598 drivers/xen/evtchn.c if (u->restrict_domid != UNRESTRICTED_DOMID) u 609 drivers/xen/evtchn.c u->restrict_domid = ierd.domid; u 619 drivers/xen/evtchn.c mutex_unlock(&u->bind_mutex); u 627 drivers/xen/evtchn.c struct per_user_data *u = file->private_data; u 629 drivers/xen/evtchn.c poll_wait(file, &u->evtchn_wait, wait); u 630 drivers/xen/evtchn.c if (u->ring_cons != u->ring_prod) u 632 drivers/xen/evtchn.c if (u->ring_overflow) u 639 drivers/xen/evtchn.c struct per_user_data *u = filp->private_data; u 640 drivers/xen/evtchn.c return fasync_helper(fd, filp, on, &u->evtchn_async_queue); u 645 drivers/xen/evtchn.c struct per_user_data *u; u 647 drivers/xen/evtchn.c u = kzalloc(sizeof(*u), GFP_KERNEL); u 648 drivers/xen/evtchn.c if (u == NULL) u 651 drivers/xen/evtchn.c u->name = kasprintf(GFP_KERNEL, "evtchn:%s", current->comm); u 652 drivers/xen/evtchn.c if (u->name == NULL) { u 653 drivers/xen/evtchn.c kfree(u); u 657 drivers/xen/evtchn.c init_waitqueue_head(&u->evtchn_wait); u 659 drivers/xen/evtchn.c mutex_init(&u->bind_mutex); u 660 drivers/xen/evtchn.c mutex_init(&u->ring_cons_mutex); u 661 drivers/xen/evtchn.c spin_lock_init(&u->ring_prod_lock); u 663 drivers/xen/evtchn.c u->restrict_domid = UNRESTRICTED_DOMID; u 665 drivers/xen/evtchn.c filp->private_data = u; u 672 drivers/xen/evtchn.c struct per_user_data *u = filp->private_data; u 675 drivers/xen/evtchn.c while ((node = u->evtchns.rb_node)) { u 680 drivers/xen/evtchn.c evtchn_unbind_from_user(u, evtchn); u 683 drivers/xen/evtchn.c evtchn_free_ring(u->ring); u 684 drivers/xen/evtchn.c kfree(u->name); u 685 drivers/xen/evtchn.c kfree(u); u 55 drivers/xen/gntdev-dmabuf.c } u; u 113 drivers/xen/gntdev-dmabuf.c kref_put(&gntdev_dmabuf->u.exp.refcount, dmabuf_exp_release); u 159 drivers/xen/gntdev-dmabuf.c kref_get(&gntdev_dmabuf->u.exp.refcount); u 316 drivers/xen/gntdev-dmabuf.c container_of(kref, struct gntdev_dmabuf, u.exp.refcount); u 338 drivers/xen/gntdev-dmabuf.c dmabuf_exp_remove_map(gntdev_dmabuf->u.exp.priv, u 339 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.exp.map); u 341 drivers/xen/gntdev-dmabuf.c kref_put(&gntdev_dmabuf->u.exp.refcount, dmabuf_exp_release); u 396 drivers/xen/gntdev-dmabuf.c kref_init(&gntdev_dmabuf->u.exp.refcount); u 401 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.exp.priv = args->priv; u 402 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.exp.map = args->map; u 568 drivers/xen/gntdev-dmabuf.c kfree(gntdev_dmabuf->u.imp.refs); u 581 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.imp.refs = kcalloc(count, u 582 drivers/xen/gntdev-dmabuf.c sizeof(gntdev_dmabuf->u.imp.refs[0]), u 584 drivers/xen/gntdev-dmabuf.c if (!gntdev_dmabuf->u.imp.refs) u 596 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.imp.refs[i] = GRANT_INVALID_REF; u 636 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.imp.attach = attach; u 652 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.imp.sgt = sgt; u 672 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.imp.refs, u 686 drivers/xen/gntdev-dmabuf.c dmabuf_imp_end_foreign_access(gntdev_dmabuf->u.imp.refs, count); u 732 drivers/xen/gntdev-dmabuf.c dmabuf_imp_end_foreign_access(gntdev_dmabuf->u.imp.refs, u 735 drivers/xen/gntdev-dmabuf.c attach = gntdev_dmabuf->u.imp.attach; u 737 drivers/xen/gntdev-dmabuf.c if (gntdev_dmabuf->u.imp.sgt) u 738 drivers/xen/gntdev-dmabuf.c dma_buf_unmap_attachment(attach, gntdev_dmabuf->u.imp.sgt, u 759 drivers/xen/gntdev-dmabuf.c struct ioctl_gntdev_dmabuf_exp_from_refs __user *u) u 771 drivers/xen/gntdev-dmabuf.c if (copy_from_user(&op, u, sizeof(op)) != 0) u 781 drivers/xen/gntdev-dmabuf.c if (copy_from_user(refs, u->refs, sizeof(*refs) * op.count) != 0) { u 791 drivers/xen/gntdev-dmabuf.c if (copy_to_user(u, &op, sizeof(op)) != 0) u 800 drivers/xen/gntdev-dmabuf.c struct ioctl_gntdev_dmabuf_exp_wait_released __user *u) u 804 drivers/xen/gntdev-dmabuf.c if (copy_from_user(&op, u, sizeof(op)) != 0) u 812 drivers/xen/gntdev-dmabuf.c struct ioctl_gntdev_dmabuf_imp_to_refs __user *u) u 818 drivers/xen/gntdev-dmabuf.c if (copy_from_user(&op, u, sizeof(op)) != 0) u 830 drivers/xen/gntdev-dmabuf.c if (copy_to_user(u->refs, gntdev_dmabuf->u.imp.refs, u 831 drivers/xen/gntdev-dmabuf.c sizeof(*u->refs) * op.count) != 0) { u 843 drivers/xen/gntdev-dmabuf.c struct ioctl_gntdev_dmabuf_imp_release __user *u) u 847 drivers/xen/gntdev-dmabuf.c if (copy_from_user(&op, u, sizeof(op)) != 0) u 22 drivers/xen/gntdev-dmabuf.h struct ioctl_gntdev_dmabuf_exp_from_refs __user *u); u 25 drivers/xen/gntdev-dmabuf.h struct ioctl_gntdev_dmabuf_exp_wait_released __user *u); u 28 drivers/xen/gntdev-dmabuf.h struct ioctl_gntdev_dmabuf_imp_to_refs __user *u); u 31 drivers/xen/gntdev-dmabuf.h struct ioctl_gntdev_dmabuf_imp_release __user *u); u 662 drivers/xen/gntdev.c struct ioctl_gntdev_map_grant_ref __user *u) u 668 drivers/xen/gntdev.c if (copy_from_user(&op, u, sizeof(op)) != 0) u 685 drivers/xen/gntdev.c if (copy_from_user(map->grants, &u->refs, u 696 drivers/xen/gntdev.c if (copy_to_user(u, &op, sizeof(op)) != 0) u 703 drivers/xen/gntdev.c struct ioctl_gntdev_unmap_grant_ref __user *u) u 709 drivers/xen/gntdev.c if (copy_from_user(&op, u, sizeof(op)) != 0) u 728 drivers/xen/gntdev.c struct ioctl_gntdev_get_offset_for_vaddr __user *u) u 735 drivers/xen/gntdev.c if (copy_from_user(&op, u, sizeof(op)) != 0) u 755 drivers/xen/gntdev.c if (rv == 0 && copy_to_user(u, &op, sizeof(op)) != 0) u 760 drivers/xen/gntdev.c static long gntdev_ioctl_notify(struct gntdev_priv *priv, void __user *u) u 768 drivers/xen/gntdev.c if (copy_from_user(&op, u, sizeof(op))) u 943 drivers/xen/gntdev.c op->source.u.ref = seg->source.foreign.ref; u 956 drivers/xen/gntdev.c op->source.u.gmfn = gfn; u 962 drivers/xen/gntdev.c op->dest.u.ref = seg->dest.foreign.ref; u 975 drivers/xen/gntdev.c op->dest.u.gmfn = gfn; u 990 drivers/xen/gntdev.c static long gntdev_ioctl_grant_copy(struct gntdev_priv *priv, void __user *u) u 997 drivers/xen/gntdev.c if (copy_from_user(©, u, sizeof(copy))) u 291 drivers/xen/mcelog.c set_xen_guest_handle(mc_op.u.mc_fetch.data, &g_mi); u 293 drivers/xen/mcelog.c mc_op.u.mc_fetch.flags = flags; u 301 drivers/xen/mcelog.c if (mc_op.u.mc_fetch.flags & XEN_MC_NODATA || u 302 drivers/xen/mcelog.c mc_op.u.mc_fetch.flags & XEN_MC_FETCHFAILED) u 309 drivers/xen/mcelog.c mc_op.u.mc_fetch.flags = flags | XEN_MC_ACK; u 360 drivers/xen/mcelog.c set_xen_guest_handle(mc_op.u.mc_physcpuinfo.info, g_physinfo); u 368 drivers/xen/mcelog.c ncpus = mc_op.u.mc_physcpuinfo.ncpus; u 373 drivers/xen/mcelog.c set_xen_guest_handle(mc_op.u.mc_physcpuinfo.info, g_physinfo); u 78 drivers/xen/pcpu.c .u.cpu_ol.cpuid = cpu_id, u 89 drivers/xen/pcpu.c .u.cpu_ol.cpuid = cpu_id, u 277 drivers/xen/pcpu.c .u.pcpu_info.xen_cpuid = cpu, u 284 drivers/xen/pcpu.c info = &op.u.pcpu_info; u 366 drivers/xen/pcpu.c op.u.pcpu_info.xen_cpuid = cpu_id; u 372 drivers/xen/pcpu.c if (acpi_id == op.u.pcpu_info.acpi_id) u 374 drivers/xen/pcpu.c if (op.u.pcpu_info.max_present > max_id) u 375 drivers/xen/pcpu.c max_id = op.u.pcpu_info.max_present; u 255 drivers/xen/pvcalls-back.c if (req->u.socket.domain != AF_INET || u 256 drivers/xen/pvcalls-back.c req->u.socket.type != SOCK_STREAM || u 257 drivers/xen/pvcalls-back.c (req->u.socket.protocol != IPPROTO_IP && u 258 drivers/xen/pvcalls-back.c req->u.socket.protocol != AF_INET)) u 268 drivers/xen/pvcalls-back.c rsp->u.socket.id = req->u.socket.id; u 384 drivers/xen/pvcalls-back.c struct sockaddr *sa = (struct sockaddr *)&req->u.connect.addr; u 388 drivers/xen/pvcalls-back.c if (req->u.connect.len < sizeof(sa->sa_family) || u 389 drivers/xen/pvcalls-back.c req->u.connect.len > sizeof(req->u.connect.addr) || u 396 drivers/xen/pvcalls-back.c ret = inet_stream_connect(sock, sa, req->u.connect.len, 0); u 403 drivers/xen/pvcalls-back.c req->u.connect.id, u 404 drivers/xen/pvcalls-back.c req->u.connect.ref, u 405 drivers/xen/pvcalls-back.c req->u.connect.evtchn, u 416 drivers/xen/pvcalls-back.c rsp->u.connect.id = req->u.connect.id; u 478 drivers/xen/pvcalls-back.c if (map->id == req->u.release.id) { u 486 drivers/xen/pvcalls-back.c req->u.release.id); u 497 drivers/xen/pvcalls-back.c rsp->u.release.id = req->u.release.id; u 545 drivers/xen/pvcalls-back.c req->u.accept.id_new, u 546 drivers/xen/pvcalls-back.c req->u.accept.ref, u 547 drivers/xen/pvcalls-back.c req->u.accept.evtchn, u 565 drivers/xen/pvcalls-back.c rsp->u.accept.id = req->u.accept.id; u 591 drivers/xen/pvcalls-back.c rsp->u.poll.id = mappass->reqcopy.u.poll.id; u 635 drivers/xen/pvcalls-back.c ret = inet_bind(map->sock, (struct sockaddr *)&req->u.bind.addr, u 636 drivers/xen/pvcalls-back.c req->u.bind.len); u 641 drivers/xen/pvcalls-back.c map->id = req->u.bind.id; u 667 drivers/xen/pvcalls-back.c rsp->u.bind.id = req->u.bind.id; u 683 drivers/xen/pvcalls-back.c map = radix_tree_lookup(&fedata->socketpass_mappings, req->u.listen.id); u 688 drivers/xen/pvcalls-back.c ret = inet_listen(map->sock, req->u.listen.backlog); u 694 drivers/xen/pvcalls-back.c rsp->u.listen.id = req->u.listen.id; u 712 drivers/xen/pvcalls-back.c req->u.accept.id); u 739 drivers/xen/pvcalls-back.c rsp->u.accept.id = req->u.accept.id; u 760 drivers/xen/pvcalls-back.c req->u.poll.id); u 795 drivers/xen/pvcalls-back.c rsp->u.poll.id = req->u.poll.id; u 190 drivers/xen/pvcalls-front.c rsp->u.poll.id; u 312 drivers/xen/pvcalls-front.c req->u.socket.id = (uintptr_t) map; u 313 drivers/xen/pvcalls-front.c req->u.socket.domain = AF_INET; u 314 drivers/xen/pvcalls-front.c req->u.socket.type = SOCK_STREAM; u 315 drivers/xen/pvcalls-front.c req->u.socket.protocol = IPPROTO_IP; u 453 drivers/xen/pvcalls-front.c req->u.connect.id = (uintptr_t)map; u 454 drivers/xen/pvcalls-front.c req->u.connect.len = addr_len; u 455 drivers/xen/pvcalls-front.c req->u.connect.flags = flags; u 456 drivers/xen/pvcalls-front.c req->u.connect.ref = map->active.ref; u 457 drivers/xen/pvcalls-front.c req->u.connect.evtchn = evtchn; u 458 drivers/xen/pvcalls-front.c memcpy(req->u.connect.addr, addr, sizeof(*addr)); u 686 drivers/xen/pvcalls-front.c req->u.bind.id = (uintptr_t)map; u 687 drivers/xen/pvcalls-front.c memcpy(req->u.bind.addr, addr, sizeof(*addr)); u 688 drivers/xen/pvcalls-front.c req->u.bind.len = addr_len; u 740 drivers/xen/pvcalls-front.c req->u.listen.id = (uintptr_t) map; u 741 drivers/xen/pvcalls-front.c req->u.listen.backlog = backlog; u 847 drivers/xen/pvcalls-front.c req->u.accept.id = (uintptr_t) map; u 848 drivers/xen/pvcalls-front.c req->u.accept.ref = map2->active.ref; u 849 drivers/xen/pvcalls-front.c req->u.accept.id_new = (uintptr_t) map2; u 850 drivers/xen/pvcalls-front.c req->u.accept.evtchn = evtchn; u 943 drivers/xen/pvcalls-front.c req->u.poll.id = (uintptr_t) map; u 1029 drivers/xen/pvcalls-front.c req->u.release.id = (uintptr_t)map; u 195 drivers/xen/xen-acpi-cpuhotplug.c op.u.cpu_add.apic_id = apic_id; u 196 drivers/xen/xen-acpi-cpuhotplug.c op.u.cpu_add.acpi_id = pr->acpi_id; u 197 drivers/xen/xen-acpi-cpuhotplug.c op.u.cpu_add.pxm = pxm; u 44 drivers/xen/xen-acpi-memhotplug.c op.u.mem_add.spfn = info->start_addr >> PAGE_SHIFT; u 45 drivers/xen/xen-acpi-memhotplug.c op.u.mem_add.epfn = (info->start_addr + info->length) >> PAGE_SHIFT; u 46 drivers/xen/xen-acpi-memhotplug.c op.u.mem_add.pxm = pxm; u 29 drivers/xen/xen-acpi-pad.c op.u.core_parking.type = XEN_CORE_PARKING_SET; u 30 drivers/xen/xen-acpi-pad.c op.u.core_parking.idle_nums = idle_nums; u 40 drivers/xen/xen-acpi-pad.c op.u.core_parking.type = XEN_CORE_PARKING_GET; u 43 drivers/xen/xen-acpi-pad.c ?: op.u.core_parking.idle_nums; u 55 drivers/xen/xen-acpi-processor.c .u.set_pminfo.id = _pr->acpi_id, u 56 drivers/xen/xen-acpi-processor.c .u.set_pminfo.type = XEN_PM_CX, u 102 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.count = ok; u 103 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.bm_control = _pr->flags.bm_control; u 104 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.bm_check = _pr->flags.bm_check; u 105 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.has_cst = _pr->flags.has_cst; u 106 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.power_setup_done = u 109 drivers/xen/xen-acpi-processor.c set_xen_guest_handle(op.u.set_pminfo.power.states, dst_cx_states); u 209 drivers/xen/xen-acpi-processor.c .u.set_pminfo.id = _pr->acpi_id, u 210 drivers/xen/xen-acpi-processor.c .u.set_pminfo.type = XEN_PM_PX, u 215 drivers/xen/xen-acpi-processor.c dst_perf = &op.u.set_pminfo.perf; u 295 drivers/xen/xen-acpi-processor.c info = &op.u.pcpu_info; u 303 drivers/xen/xen-acpi-processor.c last_cpu = op.u.pcpu_info.max_present; u 51 drivers/xen/xen-pciback/conf_space.c if (field->u.b.read) u 52 drivers/xen/xen-pciback/conf_space.c ret = field->u.b.read(dev, offset, (u8 *) value, u 56 drivers/xen/xen-pciback/conf_space.c if (field->u.w.read) u 57 drivers/xen/xen-pciback/conf_space.c ret = field->u.w.read(dev, offset, (u16 *) value, u 61 drivers/xen/xen-pciback/conf_space.c if (field->u.dw.read) u 62 drivers/xen/xen-pciback/conf_space.c ret = field->u.dw.read(dev, offset, value, entry->data); u 77 drivers/xen/xen-pciback/conf_space.c if (field->u.b.write) u 78 drivers/xen/xen-pciback/conf_space.c ret = field->u.b.write(dev, offset, (u8) value, u 82 drivers/xen/xen-pciback/conf_space.c if (field->u.w.write) u 83 drivers/xen/xen-pciback/conf_space.c ret = field->u.w.write(dev, offset, (u16) value, u 87 drivers/xen/xen-pciback/conf_space.c if (field->u.dw.write) u 88 drivers/xen/xen-pciback/conf_space.c ret = field->u.dw.write(dev, offset, value, u 57 drivers/xen/xen-pciback/conf_space.h } u; u 28 drivers/xen/xen-pciback/conf_space_capability.c .u.w.read = xen_pcibk_read_config_word, u 29 drivers/xen/xen-pciback/conf_space_capability.c .u.w.write = NULL, u 82 drivers/xen/xen-pciback/conf_space_capability.c .u.w.read = xen_pcibk_read_config_word, u 83 drivers/xen/xen-pciback/conf_space_capability.c .u.w.write = vpd_address_write, u 88 drivers/xen/xen-pciback/conf_space_capability.c .u.dw.read = xen_pcibk_read_config_dword, u 89 drivers/xen/xen-pciback/conf_space_capability.c .u.dw.write = NULL, u 170 drivers/xen/xen-pciback/conf_space_capability.c .u.w.read = pm_caps_read, u 176 drivers/xen/xen-pciback/conf_space_capability.c .u.w.read = xen_pcibk_read_config_word, u 177 drivers/xen/xen-pciback/conf_space_capability.c .u.w.write = pm_ctrl_write, u 182 drivers/xen/xen-pciback/conf_space_capability.c .u.b.read = xen_pcibk_read_config_byte, u 187 drivers/xen/xen-pciback/conf_space_capability.c .u.b.read = xen_pcibk_read_config_byte, u 312 drivers/xen/xen-pciback/conf_space_header.c .u.w.read = xen_pcibk_read_vendor, u 317 drivers/xen/xen-pciback/conf_space_header.c .u.w.read = xen_pcibk_read_device, u 324 drivers/xen/xen-pciback/conf_space_header.c .u.w.read = command_read, u 325 drivers/xen/xen-pciback/conf_space_header.c .u.w.write = command_write, u 330 drivers/xen/xen-pciback/conf_space_header.c .u.b.read = interrupt_read, u 335 drivers/xen/xen-pciback/conf_space_header.c .u.b.read = xen_pcibk_read_config_byte, u 341 drivers/xen/xen-pciback/conf_space_header.c .u.b.read = xen_pcibk_read_config_byte, u 342 drivers/xen/xen-pciback/conf_space_header.c .u.b.write = xen_pcibk_write_config_byte, u 347 drivers/xen/xen-pciback/conf_space_header.c .u.b.read = xen_pcibk_read_config_byte, u 352 drivers/xen/xen-pciback/conf_space_header.c .u.b.read = xen_pcibk_read_config_byte, u 353 drivers/xen/xen-pciback/conf_space_header.c .u.b.write = bist_write, u 365 drivers/xen/xen-pciback/conf_space_header.c .u.dw.read = bar_read, \ u 366 drivers/xen/xen-pciback/conf_space_header.c .u.dw.write = bar_write, \ u 376 drivers/xen/xen-pciback/conf_space_header.c .u.dw.read = bar_read, \ u 377 drivers/xen/xen-pciback/conf_space_header.c .u.dw.write = rom_write, \ u 71 drivers/xen/xen-pciback/conf_space_quirks.c field->u.b.read = xen_pcibk_read_config_byte; u 72 drivers/xen/xen-pciback/conf_space_quirks.c field->u.b.write = xen_pcibk_write_config_byte; u 75 drivers/xen/xen-pciback/conf_space_quirks.c field->u.w.read = xen_pcibk_read_config_word; u 76 drivers/xen/xen-pciback/conf_space_quirks.c field->u.w.write = xen_pcibk_write_config_word; u 79 drivers/xen/xen-pciback/conf_space_quirks.c field->u.dw.read = xen_pcibk_read_config_dword; u 80 drivers/xen/xen-pciback/conf_space_quirks.c field->u.dw.write = xen_pcibk_write_config_dword; u 112 drivers/xen/xenbus/xenbus_dev_frontend.c } u; u 129 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u = filp->private_data; u 134 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_lock(&u->reply_mutex); u 136 drivers/xen/xenbus/xenbus_dev_frontend.c while (list_empty(&u->read_buffers)) { u 137 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_unlock(&u->reply_mutex); u 141 drivers/xen/xenbus/xenbus_dev_frontend.c ret = wait_event_interruptible(u->read_waitq, u 142 drivers/xen/xenbus/xenbus_dev_frontend.c !list_empty(&u->read_buffers)); u 145 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_lock(&u->reply_mutex); u 148 drivers/xen/xenbus/xenbus_dev_frontend.c rb = list_entry(u->read_buffers.next, struct read_buffer, list); u 168 drivers/xen/xenbus/xenbus_dev_frontend.c if (list_empty(&u->read_buffers)) u 170 drivers/xen/xenbus/xenbus_dev_frontend.c rb = list_entry(u->read_buffers.next, u 178 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_unlock(&u->reply_mutex); u 308 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u; u 313 drivers/xen/xenbus/xenbus_dev_frontend.c u = container_of(wq, struct xenbus_file_priv, wq); u 320 drivers/xen/xenbus/xenbus_dev_frontend.c list_for_each_entry_safe(trans, tmp, &u->transactions, list) { u 326 drivers/xen/xenbus/xenbus_dev_frontend.c list_for_each_entry_safe(watch, tmp_watch, &u->watches, list) { u 332 drivers/xen/xenbus/xenbus_dev_frontend.c list_for_each_entry_safe(rb, tmp_rb, &u->read_buffers, list) { u 336 drivers/xen/xenbus/xenbus_dev_frontend.c kfree(u); u 341 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u; u 347 drivers/xen/xenbus/xenbus_dev_frontend.c u = container_of(kref, struct xenbus_file_priv, kref); u 348 drivers/xen/xenbus/xenbus_dev_frontend.c schedule_work(&u->wq); u 352 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u, uint32_t tx_id) u 356 drivers/xen/xenbus/xenbus_dev_frontend.c list_for_each_entry(trans, &u->transactions, list) u 365 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u = req->par; u 372 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_lock(&u->msgbuffer_mutex); u 375 drivers/xen/xenbus/xenbus_dev_frontend.c trans = xenbus_get_transaction(u, 0); u 387 drivers/xen/xenbus/xenbus_dev_frontend.c trans = xenbus_get_transaction(u, req->msg.tx_id); u 394 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_unlock(&u->msgbuffer_mutex); u 396 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_lock(&u->reply_mutex); u 401 drivers/xen/xenbus/xenbus_dev_frontend.c list_splice_tail(&staging_q, &u->read_buffers); u 402 drivers/xen/xenbus/xenbus_dev_frontend.c wake_up(&u->read_waitq); u 406 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_unlock(&u->reply_mutex); u 411 drivers/xen/xenbus/xenbus_dev_frontend.c kref_put(&u->kref, xenbus_file_free); u 416 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_unlock(&u->msgbuffer_mutex); u 419 drivers/xen/xenbus/xenbus_dev_frontend.c static int xenbus_command_reply(struct xenbus_file_priv *u, u 428 drivers/xen/xenbus/xenbus_dev_frontend.c msg.hdr = u->u.msg; u 435 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_lock(&u->reply_mutex); u 436 drivers/xen/xenbus/xenbus_dev_frontend.c rc = queue_reply(&u->read_buffers, &msg, sizeof(msg.hdr) + msg.hdr.len); u 437 drivers/xen/xenbus/xenbus_dev_frontend.c wake_up(&u->read_waitq); u 438 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_unlock(&u->reply_mutex); u 441 drivers/xen/xenbus/xenbus_dev_frontend.c kref_put(&u->kref, xenbus_file_free); u 447 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u) u 454 drivers/xen/xenbus/xenbus_dev_frontend.c } *msg = (void *)u->u.buffer; u 463 drivers/xen/xenbus/xenbus_dev_frontend.c list_add(&trans->list, &u->transactions); u 465 drivers/xen/xenbus/xenbus_dev_frontend.c !xenbus_get_transaction(u, msg->hdr.tx_id)) u 466 drivers/xen/xenbus/xenbus_dev_frontend.c return xenbus_command_reply(u, XS_ERROR, "ENOENT"); u 470 drivers/xen/xenbus/xenbus_dev_frontend.c return xenbus_command_reply(u, XS_ERROR, "EINVAL"); u 472 drivers/xen/xenbus/xenbus_dev_frontend.c trans = xenbus_get_transaction(u, msg->hdr.tx_id); u 477 drivers/xen/xenbus/xenbus_dev_frontend.c return xenbus_command_reply(u, XS_ERROR, u 480 drivers/xen/xenbus/xenbus_dev_frontend.c return xenbus_command_reply(u, u 486 drivers/xen/xenbus/xenbus_dev_frontend.c rc = xenbus_dev_request_and_reply(&msg->hdr, u); u 496 drivers/xen/xenbus/xenbus_dev_frontend.c static int xenbus_write_watch(unsigned msg_type, struct xenbus_file_priv *u) u 502 drivers/xen/xenbus/xenbus_dev_frontend.c path = u->u.buffer + sizeof(u->u.msg); u 503 drivers/xen/xenbus/xenbus_dev_frontend.c token = memchr(path, 0, u->u.msg.len); u 505 drivers/xen/xenbus/xenbus_dev_frontend.c rc = xenbus_command_reply(u, XS_ERROR, "EINVAL"); u 509 drivers/xen/xenbus/xenbus_dev_frontend.c if (memchr(token, 0, u->u.msg.len - (token - path)) == NULL) { u 510 drivers/xen/xenbus/xenbus_dev_frontend.c rc = xenbus_command_reply(u, XS_ERROR, "EINVAL"); u 522 drivers/xen/xenbus/xenbus_dev_frontend.c watch->dev_data = u; u 530 drivers/xen/xenbus/xenbus_dev_frontend.c list_add(&watch->list, &u->watches); u 532 drivers/xen/xenbus/xenbus_dev_frontend.c list_for_each_entry(watch, &u->watches, list) { u 544 drivers/xen/xenbus/xenbus_dev_frontend.c rc = xenbus_command_reply(u, msg_type, "OK"); u 554 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u = filp->private_data; u 574 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_lock(&u->msgbuffer_mutex); u 581 drivers/xen/xenbus/xenbus_dev_frontend.c if (len > sizeof(u->u.buffer) - u->len) { u 583 drivers/xen/xenbus/xenbus_dev_frontend.c u->len = 0; u 588 drivers/xen/xenbus/xenbus_dev_frontend.c ret = copy_from_user(u->u.buffer + u->len, ubuf, len); u 599 drivers/xen/xenbus/xenbus_dev_frontend.c u->len += len; u 602 drivers/xen/xenbus/xenbus_dev_frontend.c if (u->len < sizeof(u->u.msg)) u 607 drivers/xen/xenbus/xenbus_dev_frontend.c if ((sizeof(u->u.msg) + u->u.msg.len) > sizeof(u->u.buffer)) { u 609 drivers/xen/xenbus/xenbus_dev_frontend.c u->len = 0; u 613 drivers/xen/xenbus/xenbus_dev_frontend.c if (u->len < (sizeof(u->u.msg) + u->u.msg.len)) u 620 drivers/xen/xenbus/xenbus_dev_frontend.c kref_get(&u->kref); u 622 drivers/xen/xenbus/xenbus_dev_frontend.c msg_type = u->u.msg.type; u 628 drivers/xen/xenbus/xenbus_dev_frontend.c ret = xenbus_write_watch(msg_type, u); u 633 drivers/xen/xenbus/xenbus_dev_frontend.c ret = xenbus_write_transaction(msg_type, u); u 638 drivers/xen/xenbus/xenbus_dev_frontend.c kref_put(&u->kref, xenbus_file_free); u 642 drivers/xen/xenbus/xenbus_dev_frontend.c u->len = 0; u 645 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_unlock(&u->msgbuffer_mutex); u 651 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u; u 658 drivers/xen/xenbus/xenbus_dev_frontend.c u = kzalloc(sizeof(*u), GFP_KERNEL); u 659 drivers/xen/xenbus/xenbus_dev_frontend.c if (u == NULL) u 662 drivers/xen/xenbus/xenbus_dev_frontend.c kref_init(&u->kref); u 664 drivers/xen/xenbus/xenbus_dev_frontend.c INIT_LIST_HEAD(&u->transactions); u 665 drivers/xen/xenbus/xenbus_dev_frontend.c INIT_LIST_HEAD(&u->watches); u 666 drivers/xen/xenbus/xenbus_dev_frontend.c INIT_LIST_HEAD(&u->read_buffers); u 667 drivers/xen/xenbus/xenbus_dev_frontend.c init_waitqueue_head(&u->read_waitq); u 668 drivers/xen/xenbus/xenbus_dev_frontend.c INIT_WORK(&u->wq, xenbus_worker); u 670 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_init(&u->reply_mutex); u 671 drivers/xen/xenbus/xenbus_dev_frontend.c mutex_init(&u->msgbuffer_mutex); u 673 drivers/xen/xenbus/xenbus_dev_frontend.c filp->private_data = u; u 680 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u = filp->private_data; u 682 drivers/xen/xenbus/xenbus_dev_frontend.c kref_put(&u->kref, xenbus_file_free); u 689 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_file_priv *u = file->private_data; u 691 drivers/xen/xenbus/xenbus_dev_frontend.c poll_wait(file, &u->read_waitq, wait); u 692 drivers/xen/xenbus/xenbus_dev_frontend.c if (!list_empty(&u->read_buffers)) u 26 drivers/xen/xenfs/xensyms.c struct xenpf_symdata *symdata = &xs->op.u.symdata; u 69 drivers/xen/xenfs/xensyms.c xs->op.u.symdata.symnum = *pos; u 81 drivers/xen/xenfs/xensyms.c xs->op.u.symdata.symnum = ++(*pos); u 92 drivers/xen/xenfs/xensyms.c struct xenpf_symdata *symdata = &xs->op.u.symdata; u 131 drivers/xen/xenfs/xensyms.c set_xen_guest_handle(xs->op.u.symdata.name, xs->name); u 133 drivers/xen/xenfs/xensyms.c xs->op.u.symdata.namelen = xs->namelen; u 384 fs/afs/dir.c nlen = strnlen(dire->u.name, u 391 fs/afs/dir.c nlen, dire->u.name); u 423 fs/afs/dir.c if (!dir_emit(ctx, dire->u.name, nlen, u 424 fs/afs/dir.c ntohl(dire->u.vnode), u 427 fs/afs/dir.c ntohl(dire->u.unique) : DT_UNKNOWN)) { u 134 fs/afs/dir_edit.c if (de->u.valid != 1) u 138 fs/afs/dir_edit.c len = strlen(de->u.name); u 140 fs/afs/dir_edit.c memcmp(de->u.name, name->name, name->len) == 0) u 314 fs/afs/dir_edit.c de->u.valid = 1; u 315 fs/afs/dir_edit.c de->u.unused[0] = 0; u 316 fs/afs/dir_edit.c de->u.hash_next = 0; // TODO: Really need to maintain this u 317 fs/afs/dir_edit.c de->u.vnode = htonl(new_fid->vnode); u 318 fs/afs/dir_edit.c de->u.unique = htonl(new_fid->unique); u 319 fs/afs/dir_edit.c memcpy(de->u.name, name->name, name->len + 1); u 320 fs/afs/dir_edit.c de->u.name[name->len] = 0; u 449 fs/afs/dir_edit.c ntohl(de->u.vnode), ntohl(de->u.unique), u 204 fs/afs/rxrpc.c int u = atomic_inc_return(&call->usage); u 206 fs/afs/rxrpc.c trace_afs_call(call, why, u, u 701 fs/afs/rxrpc.c int u; u 706 fs/afs/rxrpc.c u = atomic_fetch_add_unless(&call->usage, 1, 0); u 707 fs/afs/rxrpc.c if (u != 0) { u 708 fs/afs/rxrpc.c trace_afs_call(call, afs_call_trace_wake, u + 1, u 331 fs/afs/server.c unsigned int u = atomic_inc_return(&server->usage); u 333 fs/afs/server.c trace_afs_server(server, u, reason); u 42 fs/afs/vl_list.c unsigned int u = atomic_dec_return(&vlserver->usage); u 45 fs/afs/vl_list.c if (u == 0) u 66 fs/afs/vl_list.c unsigned int u = atomic_dec_return(&vllist->usage); u 69 fs/afs/vl_list.c if (u == 0) { u 271 fs/afs/vlclient.c const struct afs_uuid *u = (const struct afs_uuid *)uuid; u 297 fs/afs/vlclient.c r->uuid.time_low = u->time_low; u 298 fs/afs/vlclient.c r->uuid.time_mid = htonl(ntohs(u->time_mid)); u 299 fs/afs/vlclient.c r->uuid.time_hi_and_version = htonl(ntohs(u->time_hi_and_version)); u 300 fs/afs/vlclient.c r->uuid.clock_seq_hi_and_reserved = htonl(u->clock_seq_hi_and_reserved); u 301 fs/afs/vlclient.c r->uuid.clock_seq_low = htonl(u->clock_seq_low); u 303 fs/afs/vlclient.c r->uuid.node[i] = htonl(u->node[i]); u 61 fs/afs/xdr_fs.h } u; u 684 fs/autofs/dev-ioctl.c unsigned long u) u 688 fs/autofs/dev-ioctl.c err = _autofs_dev_ioctl(command, (struct autofs_dev_ioctl __user *) u); u 694 fs/autofs/dev-ioctl.c unsigned long u) u 696 fs/autofs/dev-ioctl.c return autofs_dev_ioctl(file, command, (unsigned long) compat_ptr(u)); u 2848 fs/btrfs/ctree.c int u = level + 1; u 2850 fs/btrfs/ctree.c if (u < BTRFS_MAX_LEVEL && p->locks[u]) { u 2851 fs/btrfs/ctree.c btrfs_tree_unlock_rw(p->nodes[u], p->locks[u]); u 2852 fs/btrfs/ctree.c p->locks[u] = 0; u 1326 fs/btrfs/ctree.h u##bits btrfs_get_token_##bits(const struct extent_buffer *eb, \ u 1330 fs/btrfs/ctree.h unsigned long off, u##bits val, \ u 1332 fs/btrfs/ctree.h u##bits btrfs_get_##bits(const struct extent_buffer *eb, \ u 1335 fs/btrfs/ctree.h unsigned long off, u##bits val); u 1343 fs/btrfs/ctree.h static inline u##bits btrfs_##name(const struct extent_buffer *eb, \ u 1346 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ u 1350 fs/btrfs/ctree.h u##bits val) \ u 1352 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ u 1355 fs/btrfs/ctree.h static inline u##bits btrfs_token_##name(const struct extent_buffer *eb,\ u 1359 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ u 1363 fs/btrfs/ctree.h type *s, u##bits val, \ u 1366 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ u 1371 fs/btrfs/ctree.h static inline u##bits btrfs_##name(const struct extent_buffer *eb) \ u 1374 fs/btrfs/ctree.h u##bits res = le##bits##_to_cpu(p->member); \ u 1378 fs/btrfs/ctree.h u##bits val) \ u 1385 fs/btrfs/ctree.h static inline u##bits btrfs_##name(const type *s) \ u 1389 fs/btrfs/ctree.h static inline void btrfs_set_##name(type *s, u##bits val) \ u 596 fs/btrfs/send.c u##bits attr, u##bits value) \ u 41 fs/btrfs/struct-funcs.c u##bits btrfs_get_token_##bits(const struct extent_buffer *eb, \ u 52 fs/btrfs/struct-funcs.c int size = sizeof(u##bits); \ u 53 fs/btrfs/struct-funcs.c u##bits res; \ u 79 fs/btrfs/struct-funcs.c u##bits btrfs_get_##bits(const struct extent_buffer *eb, \ u 89 fs/btrfs/struct-funcs.c int size = sizeof(u##bits); \ u 90 fs/btrfs/struct-funcs.c u##bits res; \ u 106 fs/btrfs/struct-funcs.c u##bits val, \ u 116 fs/btrfs/struct-funcs.c int size = sizeof(u##bits); \ u 143 fs/btrfs/struct-funcs.c unsigned long off, u##bits val) \ u 152 fs/btrfs/struct-funcs.c int size = sizeof(u##bits); \ u 121 fs/btrfs/ulist.c struct ulist_node *u = NULL; u 124 fs/btrfs/ulist.c u = rb_entry(n, struct ulist_node, rb_node); u 125 fs/btrfs/ulist.c if (u->val < val) u 127 fs/btrfs/ulist.c else if (u->val > val) u 130 fs/btrfs/ulist.c return u; u 187 fs/cachefiles/interface.c int u; u 195 fs/cachefiles/interface.c u = atomic_inc_return(&object->usage); u 197 fs/cachefiles/interface.c (enum cachefiles_obj_ref_trace)why, u); u 327 fs/cachefiles/interface.c int u; u 343 fs/cachefiles/interface.c u = atomic_dec_return(&object->usage); u 345 fs/cachefiles/interface.c (enum cachefiles_obj_ref_trace)why, u); u 346 fs/cachefiles/interface.c ASSERTCMP(u, !=, -1); u 347 fs/cachefiles/interface.c if (u == 0) { u 470 fs/cifs/cifs_unicode.c unicode_t u; u 519 fs/cifs/cifs_unicode.c charlen = utf8_to_utf32(source + i, 6, &u); u 564 fs/cifs/cifspdu.h } __attribute__((packed)) u; u 489 fs/cifs/cifssmb.c char *guid = pSMBr->u.extended_response.GUID; u 513 fs/cifs/cifssmb.c pSMBr->u.extended_response.SecurityBlob, count, server); u 752 fs/cifs/cifssmb.c memcpy(ses->server->cryptkey, pSMBr->u.EncryptionKey, u 175 fs/crypto/keyring.c master_key_spec_len(mk_spec), (u8 *)&mk_spec->u); u 248 fs/crypto/keyring.c mk->mk_spec.u.identifier); u 268 fs/crypto/keyring.c format_mk_user_description(description, mk->mk_spec.u.identifier); u 285 fs/crypto/keyring.c format_mk_user_description(description, mk->mk_spec.u.identifier); u 542 fs/crypto/keyring.c NULL, 0, arg.key_spec.u.identifier, u 547 fs/crypto/keyring.c if (copy_to_user(uarg->key_spec.u.identifier, u 548 fs/crypto/keyring.c arg.key_spec.u.identifier, u 590 fs/crypto/keyring.c memcpy(mk_spec.u.identifier, identifier, FSCRYPT_KEY_IDENTIFIER_SIZE); u 691 fs/crypto/keyring.c master_key_spec_len(&mk->mk_spec), (u8 *)&mk->mk_spec.u, u 305 fs/crypto/keysetup.c memcpy(mk_spec.u.descriptor, u 311 fs/crypto/keysetup.c memcpy(mk_spec.u.identifier, u 354 fs/crypto/keysetup.c master_key_spec_len(&mk_spec), (u8 *)&mk_spec.u, u 258 fs/dcache.c } u; u 291 fs/dcache.c atomic_inc(&external_name(dentry)->u.count); u 306 fs/dcache.c if (unlikely(atomic_dec_and_test(&p->u.count))) u 307 fs/dcache.c kfree_rcu(p, u.head); u 341 fs/dcache.c if (likely(atomic_dec_and_test(&p->u.count))) { u 1711 fs/dcache.c atomic_set(&p->u.count, 1); u 2779 fs/dcache.c atomic_inc(&external_name(target)->u.count); u 2787 fs/dcache.c if (old_name && likely(atomic_dec_and_test(&old_name->u.count))) u 2788 fs/dcache.c kfree_rcu(old_name, u.head); u 985 fs/direct-io.c unsigned u; u 1077 fs/direct-io.c u = (to - from) >> blkbits; u 1078 fs/direct-io.c if (this_chunk_blocks > u) u 1079 fs/direct-io.c this_chunk_blocks = u; u 1080 fs/direct-io.c u = sdio->final_block_in_request - sdio->block_in_file; u 1081 fs/direct-io.c if (this_chunk_blocks > u) u 1082 fs/direct-io.c this_chunk_blocks = u; u 381 fs/dlm/plock.c static ssize_t dev_read(struct file *file, char __user *u, size_t count, u 411 fs/dlm/plock.c if (copy_to_user(u, &info, sizeof(info))) u 418 fs/dlm/plock.c static ssize_t dev_write(struct file *file, const char __user *u, size_t count, u 428 fs/dlm/plock.c if (copy_from_user(&info, u, sizeof(info))) u 710 fs/erofs/zdata.c spin_lock_irqsave(&io->u.wait.lock, flags); u 712 fs/erofs/zdata.c wake_up_locked(&io->u.wait); u 713 fs/erofs/zdata.c spin_unlock_irqrestore(&io->u.wait.lock, flags); u 718 fs/erofs/zdata.c queue_work(z_erofs_workqueue, &io->u.work); u 981 fs/erofs/zdata.c container_of(work, struct z_erofs_unzip_io_sb, io.u.work); u 1125 fs/erofs/zdata.c init_waitqueue_head(&io->u.wait); u 1136 fs/erofs/zdata.c INIT_WORK(&io->u.work, z_erofs_vle_unzip_wq); u 1325 fs/erofs/zdata.c wait_event(io[JQ_SUBMIT].u.wait, u 94 fs/erofs/zdata.h } u; u 127 fs/erofs/zdata.h union z_erofs_onlinepage_converter u; u 130 fs/erofs/zdata.h u.v = &page_private(page); u 132 fs/erofs/zdata.h return atomic_read(u.o) >> Z_EROFS_ONLINEPAGE_INDEX_SHIFT; u 141 fs/erofs/zdata.h } u = { .o = ATOMIC_INIT(1) }; u 143 fs/erofs/zdata.h set_page_private(page, u.v); u 172 fs/erofs/zdata.h union z_erofs_onlinepage_converter u; u 176 fs/erofs/zdata.h u.v = &page_private(page); u 178 fs/erofs/zdata.h v = atomic_dec_return(u.o); u 185 fs/erofs/zdata.h erofs_dbg("%s, page %p value %x", __func__, page, atomic_read(u.o)); u 261 fs/ext4/ioctl.c static int uuid_is_zero(__u8 u[16]) u 266 fs/ext4/ioctl.c if (u[i]) u 3575 fs/ext4/mballoc.c pa = container_of(head, struct ext4_prealloc_space, u.pa_rcu); u 3639 fs/ext4/mballoc.c call_rcu(&(pa)->u.pa_rcu, ext4_mb_pa_callback); u 3960 fs/ext4/mballoc.c list_add(&pa->u.pa_tmp_list, &list); u 3978 fs/ext4/mballoc.c list_for_each_entry_safe(pa, tmp, &list, u.pa_tmp_list) { u 3990 fs/ext4/mballoc.c list_del(&pa->u.pa_tmp_list); u 3991 fs/ext4/mballoc.c call_rcu(&(pa)->u.pa_rcu, ext4_mb_pa_callback); u 4055 fs/ext4/mballoc.c list_add(&pa->u.pa_tmp_list, &list); u 4080 fs/ext4/mballoc.c list_for_each_entry_safe(pa, tmp, &list, u.pa_tmp_list) { u 4109 fs/ext4/mballoc.c list_del(&pa->u.pa_tmp_list); u 4110 fs/ext4/mballoc.c call_rcu(&(pa)->u.pa_rcu, ext4_mb_pa_callback); u 4327 fs/ext4/mballoc.c list_add(&pa->u.pa_tmp_list, &discard_list); u 4342 fs/ext4/mballoc.c list_for_each_entry_safe(pa, tmp, &discard_list, u.pa_tmp_list) { u 4359 fs/ext4/mballoc.c list_del(&pa->u.pa_tmp_list); u 4360 fs/ext4/mballoc.c call_rcu(&(pa)->u.pa_rcu, ext4_mb_pa_callback); u 105 fs/ext4/mballoc.h } u; u 52 fs/ext4/sysfs.c } u; u 152 fs/ext4/sysfs.c .u = { \ u 168 fs/ext4/sysfs.c .u = { \ u 272 fs/ext4/sysfs.c return a->u.explicit_ptr; u 274 fs/ext4/sysfs.c return (void *) (((char *) sbi) + a->u.offset); u 276 fs/ext4/sysfs.c return (void *) (((char *) sbi->s_es) + a->u.offset); u 2157 fs/f2fs/file.c static bool uuid_is_nonzero(__u8 u[16]) u 2162 fs/f2fs/file.c if (u[i]) u 250 fs/f2fs/gc.c unsigned char u; u 260 fs/f2fs/gc.c u = (vblocks * 100) >> sbi->log_blocks_per_seg; u 271 fs/f2fs/gc.c return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); u 347 fs/fat/fat.h } u; u 357 fs/fat/fat.h fatent->u.ent32_p = NULL; u 365 fs/fat/fat.h fatent->u.ent32_p = NULL; u 371 fs/fat/fat.h fatent->u.ent32_p = NULL; u 47 fs/fat/fatent.c fatent->u.ent12_p[0] = bhs[0]->b_data + offset; u 48 fs/fat/fatent.c fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); u 51 fs/fat/fatent.c fatent->u.ent12_p[0] = bhs[0]->b_data + offset; u 52 fs/fat/fatent.c fatent->u.ent12_p[1] = bhs[1]->b_data; u 59 fs/fat/fatent.c fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); u 65 fs/fat/fatent.c fatent->u.ent32_p = (__le32 *)(fatent->bhs[0]->b_data + offset); u 120 fs/fat/fatent.c u8 **ent12_p = fatent->u.ent12_p; u 138 fs/fat/fatent.c int next = le16_to_cpu(*fatent->u.ent16_p); u 139 fs/fat/fatent.c WARN_ON((unsigned long)fatent->u.ent16_p & (2 - 1)); u 147 fs/fat/fatent.c int next = le32_to_cpu(*fatent->u.ent32_p) & 0x0fffffff; u 148 fs/fat/fatent.c WARN_ON((unsigned long)fatent->u.ent32_p & (4 - 1)); u 156 fs/fat/fatent.c u8 **ent12_p = fatent->u.ent12_p; u 181 fs/fat/fatent.c *fatent->u.ent16_p = cpu_to_le16(new); u 188 fs/fat/fatent.c new |= le32_to_cpu(*fatent->u.ent32_p) & ~0x0fffffff; u 189 fs/fat/fatent.c *fatent->u.ent32_p = cpu_to_le32(new); u 195 fs/fat/fatent.c u8 **ent12_p = fatent->u.ent12_p; u 230 fs/fat/fatent.c if (fatent->u.ent16_p < (__le16 *)(bh->b_data + (bh->b_size - 2))) { u 231 fs/fat/fatent.c fatent->u.ent16_p++; u 234 fs/fat/fatent.c fatent->u.ent16_p = NULL; u 242 fs/fat/fatent.c if (fatent->u.ent32_p < (__le32 *)(bh->b_data + (bh->b_size - 4))) { u 243 fs/fat/fatent.c fatent->u.ent32_p++; u 246 fs/fat/fatent.c fatent->u.ent32_p = NULL; u 26 fs/hpfs/anode.c if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { u 27 fs/hpfs/anode.c a = le32_to_cpu(btree->u.internal[i].down); u 38 fs/hpfs/anode.c if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && u 39 fs/hpfs/anode.c le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { u 40 fs/hpfs/anode.c a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_secno); u 47 fs/hpfs/anode.c hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); u 48 fs/hpfs/anode.c hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); u 49 fs/hpfs/anode.c hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); u 87 fs/hpfs/anode.c a = le32_to_cpu(btree->u.internal[n].down); u 88 fs/hpfs/anode.c btree->u.internal[n].file_secno = cpu_to_le32(-1); u 98 fs/hpfs/anode.c if (le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].length) != fsecno) { u 100 fs/hpfs/anode.c le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].length), fsecno, u 105 fs/hpfs/anode.c if (hpfs_alloc_if_possible(s, se = le32_to_cpu(btree->u.external[n].disk_secno) + le32_to_cpu(btree->u.external[n].length))) { u 106 fs/hpfs/anode.c le32_add_cpu(&btree->u.external[n].length, 1); u 123 fs/hpfs/anode.c fs = n < 0 ? 0 : le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].length); u 137 fs/hpfs/anode.c memcpy(&anode->u, &btree->u, btree->n_used_nodes * 12); u 141 fs/hpfs/anode.c btree->first_free = cpu_to_le16((char *)&(btree->u.internal[1]) - (char *)btree); u 142 fs/hpfs/anode.c btree->u.internal[0].file_secno = cpu_to_le32(-1); u 143 fs/hpfs/anode.c btree->u.internal[0].down = cpu_to_le32(na); u 158 fs/hpfs/anode.c btree->u.external[n].disk_secno = cpu_to_le32(se); u 159 fs/hpfs/anode.c btree->u.external[n].file_secno = cpu_to_le32(fs); u 160 fs/hpfs/anode.c btree->u.external[n].length = cpu_to_le32(1); u 179 fs/hpfs/anode.c btree->u.internal[n].file_secno = cpu_to_le32(-1); u 180 fs/hpfs/anode.c btree->u.internal[n].down = cpu_to_le32(na); u 181 fs/hpfs/anode.c btree->u.internal[n-1].file_secno = cpu_to_le32(fs); u 198 fs/hpfs/anode.c btree->u.internal[btree->n_used_nodes - 1].file_secno = cpu_to_le32(/*fs*/-1); u 209 fs/hpfs/anode.c anode->btree.u.internal[0].down = cpu_to_le32(a); u 210 fs/hpfs/anode.c anode->btree.u.internal[0].file_secno = cpu_to_le32(-1); u 247 fs/hpfs/anode.c if ((unode = hpfs_map_anode(s, le32_to_cpu(ranode->u.internal[n].down), &bh1))) { u 257 fs/hpfs/anode.c btree->first_free = cpu_to_le16((char *)&btree->u.internal[2] - (char *)btree); u 258 fs/hpfs/anode.c btree->u.internal[0].file_secno = cpu_to_le32(fs); u 259 fs/hpfs/anode.c btree->u.internal[0].down = cpu_to_le32(ra); u 260 fs/hpfs/anode.c btree->u.internal[1].file_secno = cpu_to_le32(-1); u 261 fs/hpfs/anode.c btree->u.internal[1].down = cpu_to_le32(na); u 288 fs/hpfs/anode.c ano = le32_to_cpu(btree1->u.internal[pos].down); u 299 fs/hpfs/anode.c hpfs_free_sectors(s, le32_to_cpu(btree1->u.external[i].disk_secno), le32_to_cpu(btree1->u.external[i].length)); u 313 fs/hpfs/anode.c if (le32_to_cpu(btree1->u.internal[i].down) == oano) { u 430 fs/hpfs/anode.c if (le32_to_cpu(btree->u.internal[i].file_secno) >= secs) goto f; u 436 fs/hpfs/anode.c hpfs_ea_remove(s, le32_to_cpu(btree->u.internal[j].down), 1, 0); u 441 fs/hpfs/anode.c if (btree->u.internal[i].file_secno == cpu_to_le32(secs)) { u 445 fs/hpfs/anode.c node = le32_to_cpu(btree->u.internal[i].down); u 455 fs/hpfs/anode.c if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff; u 459 fs/hpfs/anode.c if (secs <= le32_to_cpu(btree->u.external[i].file_secno)) { u 463 fs/hpfs/anode.c else if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > secs) { u 464 fs/hpfs/anode.c hpfs_free_sectors(s, le32_to_cpu(btree->u.external[i].disk_secno) + secs - u 465 fs/hpfs/anode.c le32_to_cpu(btree->u.external[i].file_secno), le32_to_cpu(btree->u.external[i].length) u 466 fs/hpfs/anode.c - secs + le32_to_cpu(btree->u.external[i].file_secno)); /* I hope gcc optimizes this :-) */ u 467 fs/hpfs/anode.c btree->u.external[i].length = cpu_to_le32(secs - le32_to_cpu(btree->u.external[i].file_secno)); u 470 fs/hpfs/anode.c hpfs_free_sectors(s, le32_to_cpu(btree->u.external[j].disk_secno), le32_to_cpu(btree->u.external[j].length)); u 489 fs/hpfs/anode.c else hpfs_remove_dtree(s, le32_to_cpu(fnode->u.external[0].disk_secno)); u 102 fs/hpfs/dir.c if (hpfs_inode->i_dno != le32_to_cpu(fno->u.external[0].disk_secno)) { u 104 fs/hpfs/dir.c hpfs_error(inode->i_sb, "corrupted inode: i_dno == %08x, fnode -> dnode == %08x", hpfs_inode->i_dno, le32_to_cpu(fno->u.external[0].disk_secno)); u 362 fs/hpfs/dnode.c fnode->u.external[0].disk_secno = cpu_to_le32(rdno); u 565 fs/hpfs/dnode.c fnode->u.external[0].disk_secno = cpu_to_le32(down); u 1035 fs/hpfs/dnode.c dno = le32_to_cpu(upf->u.external[0].disk_secno); u 415 fs/hpfs/hpfs.h } u; u 459 fs/hpfs/hpfs.h } u; u 501 fs/hpfs/hpfs.h } u; u 122 fs/hpfs/inode.c hpfs_inode->i_dno = le32_to_cpu(fnode->u.external[0].disk_secno); u 332 fs/hpfs/map.c dno = le32_to_cpu(fnode->u.external[0].disk_secno); u 89 fs/hpfs/namei.c fnode->u.external[0].disk_secno = cpu_to_le32(dno); u 90 fs/hpfs/namei.c fnode->u.external[0].file_secno = cpu_to_le32(-1); u 45 fs/isofs/rock.c if (rr->u.SP.magic[0] != 0xbe) u 47 fs/isofs/rock.c if (rr->u.SP.magic[1] != 0xef) u 49 fs/isofs/rock.c ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; u 89 fs/isofs/rock.c const int min_de_size = offsetof(struct rock_ridge, u); u 184 fs/isofs/rock.c len += offsetof(struct rock_ridge, u); u 241 fs/isofs/rock.c if ((rr->u.RR.flags[0] & RR_NM) == 0) u 249 fs/isofs/rock.c rs.cont_extent = isonum_733(rr->u.CE.extent); u 250 fs/isofs/rock.c rs.cont_offset = isonum_733(rr->u.CE.offset); u 251 fs/isofs/rock.c rs.cont_size = isonum_733(rr->u.CE.size); u 265 fs/isofs/rock.c if (rr->u.NM.flags & 6) u 268 fs/isofs/rock.c if (rr->u.NM.flags & ~1) { u 270 fs/isofs/rock.c rr->u.NM.flags); u 278 fs/isofs/rock.c p = memchr(rr->u.NM.name, '\0', len); u 280 fs/isofs/rock.c len = p - rr->u.NM.name; u 281 fs/isofs/rock.c memcpy(retname + retnamlen, rr->u.NM.name, len); u 358 fs/isofs/rock.c if ((rr->u.RR.flags[0] & u 368 fs/isofs/rock.c rs.cont_extent = isonum_733(rr->u.CE.extent); u 369 fs/isofs/rock.c rs.cont_offset = isonum_733(rr->u.CE.offset); u 370 fs/isofs/rock.c rs.cont_size = isonum_733(rr->u.CE.size); u 374 fs/isofs/rock.c if (rr->u.ER.len_id + offsetof(struct rock_ridge, u.ER.data) > rr->len) u 380 fs/isofs/rock.c for (p = 0; p < rr->u.ER.len_id; p++) u 381 fs/isofs/rock.c printk(KERN_CONT "%c", rr->u.ER.data[p]); u 386 fs/isofs/rock.c inode->i_mode = isonum_733(rr->u.PX.mode); u 387 fs/isofs/rock.c set_nlink(inode, isonum_733(rr->u.PX.n_links)); u 388 fs/isofs/rock.c i_uid_write(inode, isonum_733(rr->u.PX.uid)); u 389 fs/isofs/rock.c i_gid_write(inode, isonum_733(rr->u.PX.gid)); u 394 fs/isofs/rock.c high = isonum_733(rr->u.PN.dev_high); u 395 fs/isofs/rock.c low = isonum_733(rr->u.PN.dev_low); u 423 fs/isofs/rock.c if (rr->u.TF.flags & TF_CREATE) { u 425 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, u 429 fs/isofs/rock.c if (rr->u.TF.flags & TF_MODIFY) { u 431 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, u 435 fs/isofs/rock.c if (rr->u.TF.flags & TF_ACCESS) { u 437 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, u 441 fs/isofs/rock.c if (rr->u.TF.flags & TF_ATTRIBUTES) { u 443 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, u 454 fs/isofs/rock.c slp = &rr->u.SL.link; u 483 fs/isofs/rock.c if (((rr->u.SL. u 515 fs/isofs/rock.c reloc_block = isonum_733(rr->u.CL.location); u 547 fs/isofs/rock.c algo = isonum_721(rr->u.ZF.algorithm); u 550 fs/isofs/rock.c isonum_711(&rr->u.ZF.parms[1]); u 569 fs/isofs/rock.c isonum_711(&rr->u.ZF.parms[0]); u 571 fs/isofs/rock.c isonum_711(&rr->u.ZF.parms[1]); u 573 fs/isofs/rock.c isonum_733(rr->u.ZF. u 580 fs/isofs/rock.c rr->u.ZF.algorithm[0], u 581 fs/isofs/rock.c rr->u.ZF.algorithm[1]); u 610 fs/isofs/rock.c slp = &rr->u.SL.link; u 650 fs/isofs/rock.c if ((!rootflag) && (rr->u.SL.flags & 1) && u 752 fs/isofs/rock.c if ((rr->u.RR.flags[0] & RR_SL) == 0) u 767 fs/isofs/rock.c rs.cont_extent = isonum_733(rr->u.CE.extent); u 768 fs/isofs/rock.c rs.cont_offset = isonum_733(rr->u.CE.offset); u 769 fs/isofs/rock.c rs.cont_size = isonum_733(rr->u.CE.size); u 113 fs/isofs/rock.h } u; u 790 fs/jffs2/debug.c printk(JFFS2_DBG "magic:\t%#04x\n", je16_to_cpu(node.u.magic)); u 791 fs/jffs2/debug.c printk(JFFS2_DBG "nodetype:\t%#04x\n", je16_to_cpu(node.u.nodetype)); u 792 fs/jffs2/debug.c printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen)); u 793 fs/jffs2/debug.c printk(JFFS2_DBG "hdr_crc:\t%#08x\n", je32_to_cpu(node.u.hdr_crc)); u 795 fs/jffs2/debug.c crc = crc32(0, &node.u, sizeof(node.u) - 4); u 796 fs/jffs2/debug.c if (crc != je32_to_cpu(node.u.hdr_crc)) { u 801 fs/jffs2/debug.c if (je16_to_cpu(node.u.magic) != JFFS2_MAGIC_BITMASK && u 802 fs/jffs2/debug.c je16_to_cpu(node.u.magic) != JFFS2_OLD_MAGIC_BITMASK) u 805 fs/jffs2/debug.c je16_to_cpu(node.u.magic), JFFS2_MAGIC_BITMASK); u 809 fs/jffs2/debug.c switch(je16_to_cpu(node.u.nodetype)) { u 635 fs/jffs2/gc.c if (je32_to_cpu(node->u.hdr_crc) != crc) { u 637 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc); u 641 fs/jffs2/gc.c switch(je16_to_cpu(node->u.nodetype)) { u 691 fs/jffs2/gc.c ref_offset(raw), je16_to_cpu(node->u.nodetype)); u 1044 fs/jffs2/readinode.c if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { u 1046 fs/jffs2/readinode.c ref_offset(ref), je16_to_cpu(node->u.magic), u 1047 fs/jffs2/readinode.c je16_to_cpu(node->u.nodetype), u 1048 fs/jffs2/readinode.c je32_to_cpu(node->u.totlen), u 1049 fs/jffs2/readinode.c je32_to_cpu(node->u.hdr_crc)); u 1054 fs/jffs2/readinode.c if (je16_to_cpu(node->u.magic) != JFFS2_MAGIC_BITMASK) { u 1057 fs/jffs2/readinode.c je16_to_cpu(node->u.magic), ref_offset(ref)); u 1062 fs/jffs2/readinode.c switch (je16_to_cpu(node->u.nodetype)) { u 1102 fs/jffs2/readinode.c err = read_unknown(c, ref, &node->u); u 68 fs/jffs2/summary.c s->sum_list_tail->u.next = (union jffs2_sum_mem *) item; u 71 fs/jffs2/summary.c switch (je16_to_cpu(item->u.nodetype)) { u 99 fs/jffs2/summary.c je16_to_cpu(item->u.nodetype)); u 202 fs/jffs2/summary.c s->sum_list_head = s->sum_list_head->u.next; u 263 fs/jffs2/summary.c switch (je16_to_cpu(node->u.nodetype)) { u 344 fs/jffs2/summary.c c->summary->sum_padded += je32_to_cpu(node->u.totlen); u 721 fs/jffs2/summary.c switch (je16_to_cpu(temp->u.nodetype)) { u 781 fs/jffs2/summary.c if ((je16_to_cpu(temp->u.nodetype) & JFFS2_COMPAT_MASK) u 784 fs/jffs2/summary.c je16_to_cpu(temp->u.nodetype)); u 792 fs/jffs2/summary.c c->summary->sum_list_head = temp->u.next; u 84 fs/jffs2/summary.h struct jffs2_sum_unknown_flash u; u 142 fs/jffs2/summary.h struct jffs2_sum_unknown_mem u; u 191 fs/jffs2/wbuf.c node, je16_to_cpu(node->u.magic), je16_to_cpu(node->u.nodetype)); u 193 fs/jffs2/wbuf.c BUG_ON(je16_to_cpu(node->u.magic) != 0x1985 && u 194 fs/jffs2/wbuf.c je16_to_cpu(node->u.magic) != 0); u 196 fs/jffs2/wbuf.c switch (je16_to_cpu(node->u.nodetype)) { u 223 fs/jffs2/wbuf.c je16_to_cpu(node->u.nodetype)); u 83 fs/jfs/jfs_dinode.h #define di_dirtable u._dir._table u 84 fs/jfs/jfs_dinode.h #define di_dtroot u._dir._dtroot u 96 fs/jfs/jfs_dinode.h #define di_gengen u._file._u1._imap._gengen u 118 fs/jfs/jfs_dinode.h #define di_xtroot u._file._u2._xtroot u 119 fs/jfs/jfs_dinode.h #define di_dxd u._file._u2._special._dxd u 121 fs/jfs/jfs_dinode.h #define di_inlinedata u._file._u2._special._u u 122 fs/jfs/jfs_dinode.h #define di_rdev u._file._u2._special._u._rdev u 123 fs/jfs/jfs_dinode.h #define di_fastsymlink u._file._u2._special._u._fastsymlink u 124 fs/jfs/jfs_dinode.h #define di_inlineea u._file._u2._special._inlineea u 125 fs/jfs/jfs_dinode.h } u; u 86 fs/jfs/jfs_incore.h } u; u 93 fs/jfs/jfs_incore.h #define i_xtroot u.file._xtroot u 94 fs/jfs/jfs_incore.h #define i_imap u.file._imap u 95 fs/jfs/jfs_incore.h #define i_dirtable u.dir._table u 96 fs/jfs/jfs_incore.h #define i_dtroot u.dir._dtroot u 97 fs/jfs/jfs_incore.h #define i_inline u.link._inline u 98 fs/jfs/jfs_incore.h #define i_inline_ea u.link._inline_ea u 1267 fs/jfs/jfs_txnmgr.c ihold(tblk->u.ip); u 1285 fs/jfs/jfs_txnmgr.c if (tblk->u.ip->i_state & I_SYNC) u 1290 fs/jfs/jfs_txnmgr.c ((tblk->u.ip->i_nlink == 0) && u 1291 fs/jfs/jfs_txnmgr.c !test_cflag(COMMIT_Nolink, tblk->u.ip))); u 2393 fs/jfs/jfs_txnmgr.c pxdlock.pxd = tblk->u.ixpxd; u 2397 fs/jfs/jfs_txnmgr.c ip = tblk->u.ip; u 55 fs/jfs/jfs_txnmgr.h } u; u 122 fs/jfs/namei.c tblk->u.ixpxd = JFS_IP(ip)->ixpxd; u 254 fs/jfs/namei.c tblk->u.ixpxd = JFS_IP(ip)->ixpxd; u 372 fs/jfs/namei.c tblk->u.ip = ip; u 537 fs/jfs/namei.c tblk->u.ip = ip; u 928 fs/jfs/namei.c tblk->u.ixpxd = JFS_IP(ip)->ixpxd; u 1189 fs/jfs/namei.c tblk->u.ip = new_ip; u 1200 fs/jfs/namei.c tblk->u.ip = new_ip; u 1399 fs/jfs/namei.c tblk->u.ixpxd = JFS_IP(ip)->ixpxd; u 259 fs/minix/bitmap.c memset(&minix_i(inode)->u, 0, sizeof(minix_i(inode)->u)); u 482 fs/minix/inode.c minix_inode->u.i1_data[i] = raw_inode->i_zone[i]; u 517 fs/minix/inode.c minix_inode->u.i2_data[i] = raw_inode->i_zone[i]; u 565 fs/minix/inode.c raw_inode->i_zone[i] = minix_inode->u.i1_data[i]; u 594 fs/minix/inode.c raw_inode->i_zone[i] = minix_inode->u.i2_data[i]; u 22 fs/minix/itree_v1.c return (block_t *)minix_i(inode)->u.i1_data; u 21 fs/minix/itree_v2.c return (block_t *)minix_i(inode)->u.i2_data; u 21 fs/minix/minix.h } u; u 237 fs/nfs/blocklayout/blocklayout.c task = container_of(work, struct rpc_task, u.tk_work); u 248 fs/nfs/blocklayout/blocklayout.c INIT_WORK(&hdr->task.u.tk_work, bl_read_cleanup); u 249 fs/nfs/blocklayout/blocklayout.c schedule_work(&hdr->task.u.tk_work); u 366 fs/nfs/blocklayout/blocklayout.c struct rpc_task *task = container_of(work, struct rpc_task, u.tk_work); u 393 fs/nfs/blocklayout/blocklayout.c INIT_WORK(&hdr->task.u.tk_work, bl_write_cleanup); u 394 fs/nfs/blocklayout/blocklayout.c schedule_work(&hdr->task.u.tk_work); u 1310 fs/nfs/nfs4proc.c p->o_arg.u.attrs = &p->attrs; u 1313 fs/nfs/nfs4proc.c memcpy(p->o_arg.u.verifier.data, c->verf, u 1314 fs/nfs/nfs4proc.c sizeof(p->o_arg.u.verifier.data)); u 2146 fs/nfs/nfs4proc.c opendata->o_arg.u.delegation_type = delegation_type; u 2249 fs/nfs/nfs4proc.c nfs4_stateid_copy(&opendata->o_arg.u.delegation, stateid); u 4791 fs/nfs/nfs4proc.c data->arg.u.symlink.pages = &page; u 4792 fs/nfs/nfs4proc.c data->arg.u.symlink.len = len; u 4937 fs/nfs/nfs4proc.c data->arg.u.device.specdata1 = MAJOR(rdev); u 4938 fs/nfs/nfs4proc.c data->arg.u.device.specdata2 = MINOR(rdev); u 4942 fs/nfs/nfs4proc.c data->arg.u.device.specdata1 = MAJOR(rdev); u 4943 fs/nfs/nfs4proc.c data->arg.u.device.specdata2 = MINOR(rdev); u 7978 fs/nfs/nfs4proc.c .enforce.u.words = { u 7985 fs/nfs/nfs4proc.c .allow.u.words = { u 8024 fs/nfs/nfs4proc.c if (test_bit(i, sp->enforce.u.longs)) u 8026 fs/nfs/nfs4proc.c if (test_bit(i, sp->allow.u.longs)) u 8032 fs/nfs/nfs4proc.c if (sp->enforce.u.words[i] & ~supported_enforce[i]) { u 8048 fs/nfs/nfs4proc.c if (test_bit(OP_BIND_CONN_TO_SESSION, sp->enforce.u.longs) && u 8049 fs/nfs/nfs4proc.c test_bit(OP_CREATE_SESSION, sp->enforce.u.longs) && u 8050 fs/nfs/nfs4proc.c test_bit(OP_DESTROY_SESSION, sp->enforce.u.longs) && u 8051 fs/nfs/nfs4proc.c test_bit(OP_DESTROY_CLIENTID, sp->enforce.u.longs)) { u 8061 fs/nfs/nfs4proc.c if (test_bit(OP_CLOSE, sp->allow.u.longs) && u 8062 fs/nfs/nfs4proc.c test_bit(OP_OPEN_DOWNGRADE, sp->allow.u.longs) && u 8063 fs/nfs/nfs4proc.c test_bit(OP_DELEGRETURN, sp->allow.u.longs) && u 8064 fs/nfs/nfs4proc.c test_bit(OP_LOCKU, sp->allow.u.longs)) { u 8069 fs/nfs/nfs4proc.c if (test_bit(OP_LAYOUTRETURN, sp->allow.u.longs)) { u 8074 fs/nfs/nfs4proc.c if (test_bit(OP_SECINFO, sp->allow.u.longs) && u 8075 fs/nfs/nfs4proc.c test_bit(OP_SECINFO_NO_NAME, sp->allow.u.longs)) { u 8080 fs/nfs/nfs4proc.c if (test_bit(OP_TEST_STATEID, sp->allow.u.longs) && u 8081 fs/nfs/nfs4proc.c test_bit(OP_FREE_STATEID, sp->allow.u.longs)) { u 8086 fs/nfs/nfs4proc.c if (test_bit(OP_WRITE, sp->allow.u.longs)) { u 8091 fs/nfs/nfs4proc.c if (test_bit(OP_COMMIT, sp->allow.u.longs)) { u 1224 fs/nfs/nfs4xdr.c *p = cpu_to_be32(create->u.symlink.len); u 1225 fs/nfs/nfs4xdr.c xdr_write_pages(xdr, create->u.symlink.pages, 0, u 1226 fs/nfs/nfs4xdr.c create->u.symlink.len); u 1232 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(create->u.device.specdata1); u 1233 fs/nfs/nfs4xdr.c *p = cpu_to_be32(create->u.device.specdata2); u 1427 fs/nfs/nfs4xdr.c encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, u 1432 fs/nfs/nfs4xdr.c encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, u 1437 fs/nfs/nfs4xdr.c encode_nfs4_verifier(xdr, &arg->u.verifier); u 1441 fs/nfs/nfs4xdr.c encode_nfs4_verifier(xdr, &arg->u.verifier); u 1442 fs/nfs/nfs4xdr.c encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, u 1537 fs/nfs/nfs4xdr.c encode_claim_previous(xdr, arg->u.delegation_type); u 1540 fs/nfs/nfs4xdr.c encode_claim_delegate_cur(xdr, arg->name, &arg->u.delegation); u 1546 fs/nfs/nfs4xdr.c encode_claim_delegate_cur_fh(xdr, &arg->u.delegation); u 1778 fs/nfs/nfs4xdr.c encode_uint32(xdr, op_map->u.words[i]); u 5515 fs/nfs/nfs4xdr.c op_map->u.words[i] = be32_to_cpup(p++); u 28 fs/nfsd/flexfilelayout.c uid_t u; u 53 fs/nfsd/flexfilelayout.c u = from_kuid(&init_user_ns, inode->i_uid) + 1; u 54 fs/nfsd/flexfilelayout.c fl->uid = make_kuid(&init_user_ns, u); u 351 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 353 fs/nfsd/nfs4proc.c struct nfsd4_open *open = &u->open; u 480 fs/nfsd/nfs4proc.c struct nfsd4_open *open = &op->u.open; u 487 fs/nfsd/nfs4proc.c return nfsd4_open(rqstp, cstate, &op->u); u 495 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 497 fs/nfsd/nfs4proc.c u->getfh = &cstate->current_fh; u 503 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 505 fs/nfsd/nfs4proc.c struct nfsd4_putfh *putfh = &u->putfh; u 516 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 527 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 542 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 557 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 559 fs/nfsd/nfs4proc.c struct nfsd4_access *access = &u->access; u 580 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 582 fs/nfsd/nfs4proc.c struct nfsd4_commit *commit = &u->commit; u 591 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 593 fs/nfsd/nfs4proc.c struct nfsd4_create *create = &u->create; u 684 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 686 fs/nfsd/nfs4proc.c struct nfsd4_getattr *getattr = &u->getattr; u 706 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 708 fs/nfsd/nfs4proc.c struct nfsd4_link *link = &u->link; u 737 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 744 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 747 fs/nfsd/nfs4proc.c u->lookup.lo_name, u->lookup.lo_len, u 753 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 755 fs/nfsd/nfs4proc.c struct nfsd4_read *read = &u->read; u 793 fs/nfsd/nfs4proc.c nfsd4_read_release(union nfsd4_op_u *u) u 795 fs/nfsd/nfs4proc.c if (u->read.rd_nf) u 796 fs/nfsd/nfs4proc.c nfsd_file_put(u->read.rd_nf); u 797 fs/nfsd/nfs4proc.c trace_nfsd_read_done(u->read.rd_rqstp, u->read.rd_fhp, u 798 fs/nfsd/nfs4proc.c u->read.rd_offset, u->read.rd_length); u 803 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 805 fs/nfsd/nfs4proc.c struct nfsd4_readdir *readdir = &u->readdir; u 829 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 831 fs/nfsd/nfs4proc.c u->readlink.rl_rqstp = rqstp; u 832 fs/nfsd/nfs4proc.c u->readlink.rl_fhp = &cstate->current_fh; u 838 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 840 fs/nfsd/nfs4proc.c struct nfsd4_remove *remove = &u->remove; u 856 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 858 fs/nfsd/nfs4proc.c struct nfsd4_rename *rename = &u->rename; u 875 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 877 fs/nfsd/nfs4proc.c struct nfsd4_secinfo *secinfo = &u->secinfo; u 905 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 909 fs/nfsd/nfs4proc.c switch (u->secinfo_no_name.sin_style) { u 921 fs/nfsd/nfs4proc.c u->secinfo_no_name.sin_exp = exp_get(cstate->current_fh.fh_export); u 927 fs/nfsd/nfs4proc.c nfsd4_secinfo_release(union nfsd4_op_u *u) u 929 fs/nfsd/nfs4proc.c if (u->secinfo.si_exp) u 930 fs/nfsd/nfs4proc.c exp_put(u->secinfo.si_exp); u 934 fs/nfsd/nfs4proc.c nfsd4_secinfo_no_name_release(union nfsd4_op_u *u) u 936 fs/nfsd/nfs4proc.c if (u->secinfo_no_name.sin_exp) u 937 fs/nfsd/nfs4proc.c exp_put(u->secinfo_no_name.sin_exp); u 942 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 944 fs/nfsd/nfs4proc.c struct nfsd4_setattr *setattr = &u->setattr; u 986 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 988 fs/nfsd/nfs4proc.c struct nfsd4_write *write = &u->write; u 1068 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1070 fs/nfsd/nfs4proc.c struct nfsd4_clone *clone = &u->clone; u 1256 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1258 fs/nfsd/nfs4proc.c struct nfsd4_copy *copy = &u->copy; u 1326 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1328 fs/nfsd/nfs4proc.c struct nfsd4_offload_status *os = &u->offload_status; u 1367 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1369 fs/nfsd/nfs4proc.c struct nfsd4_offload_status *os = &u->offload_status; u 1386 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1388 fs/nfsd/nfs4proc.c return nfsd4_fallocate(rqstp, cstate, &u->allocate, 0); u 1393 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1395 fs/nfsd/nfs4proc.c return nfsd4_fallocate(rqstp, cstate, &u->deallocate, u 1401 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1403 fs/nfsd/nfs4proc.c struct nfsd4_seek *seek = &u->seek; u 1508 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1512 fs/nfsd/nfs4proc.c status = _nfsd4_verify(rqstp, cstate, &u->verify); u 1518 fs/nfsd/nfs4proc.c union nfsd4_op_u *u) u 1522 fs/nfsd/nfs4proc.c status = _nfsd4_verify(rqstp, cstate, &u->nverify); u 1547 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) u 1549 fs/nfsd/nfs4proc.c struct nfsd4_getdeviceinfo *gdp = &u->getdeviceinfo; u 1592 fs/nfsd/nfs4proc.c nfsd4_getdeviceinfo_release(union nfsd4_op_u *u) u 1594 fs/nfsd/nfs4proc.c kfree(u->getdeviceinfo.gd_device); u 1599 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) u 1601 fs/nfsd/nfs4proc.c struct nfsd4_layoutget *lgp = &u->layoutget; u 1678 fs/nfsd/nfs4proc.c nfsd4_layoutget_release(union nfsd4_op_u *u) u 1680 fs/nfsd/nfs4proc.c kfree(u->layoutget.lg_content); u 1685 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) u 1687 fs/nfsd/nfs4proc.c struct nfsd4_layoutcommit *lcp = &u->layoutcommit; u 1749 fs/nfsd/nfs4proc.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) u 1751 fs/nfsd/nfs4proc.c struct nfsd4_layoutreturn *lrp = &u->layoutreturn; u 2012 fs/nfsd/nfs4proc.c op->opdesc->op_get_currentstateid(cstate, &op->u); u 2013 fs/nfsd/nfs4proc.c op->status = op->opdesc->op_func(rqstp, cstate, &op->u); u 2023 fs/nfsd/nfs4proc.c op->opdesc->op_set_currentstateid(cstate, &op->u); u 2112 fs/nfsd/nfs4proc.c u32 *bmap = op->u.getattr.ga_bmval; u 2177 fs/nfsd/nfs4proc.c rlen = min(op->u.read.rd_length, maxcount); u 2187 fs/nfsd/nfs4proc.c rlen = min(op->u.readdir.rd_maxcount, maxcount); u 2219 fs/nfsd/nfs4proc.c return (op_encode_hdr_size + 1 + op->u.test_stateid.ts_num_ids) u 2301 fs/nfsd/nfs4proc.c rlen = min(op->u.getdeviceinfo.gd_maxcount, maxcount); u 2749 fs/nfsd/nfs4proc.c if (test_bit(this->opnum, allow->u.longs) && u 1660 fs/nfsd/nfs4state.c static void nfsd4_conn_lost(struct svc_xpt_user *u) u 1662 fs/nfsd/nfs4state.c struct nfsd4_conn *c = container_of(u, struct nfsd4_conn, cn_xpt_user); u 2958 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 2960 fs/nfsd/nfs4state.c struct nfsd4_exchange_id *exid = &u->exchange_id; u 3090 fs/nfsd/nfs4state.c new->cl_spo_must_allow.u.words[0] = exid->spo_must_allow[0]; u 3091 fs/nfsd/nfs4state.c new->cl_spo_must_allow.u.words[1] = exid->spo_must_allow[1]; u 3256 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) u 3258 fs/nfsd/nfs4state.c struct nfsd4_create_session *cr_ses = &u->create_session; u 3384 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 3386 fs/nfsd/nfs4state.c struct nfsd4_backchannel_ctl *bc = &u->backchannel_ctl; u 3406 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 3408 fs/nfsd/nfs4state.c struct nfsd4_bind_conn_to_session *bcts = &u->bind_conn_to_session; u 3449 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 3451 fs/nfsd/nfs4state.c struct nfs4_sessionid *sessionid = &u->destroy_session.sessionid; u 3579 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 3581 fs/nfsd/nfs4state.c struct nfsd4_sequence *seq = &u->sequence; u 3720 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 3722 fs/nfsd/nfs4state.c struct nfsd4_destroy_clientid *dc = &u->destroy_clientid; u 3763 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) u 3765 fs/nfsd/nfs4state.c struct nfsd4_reclaim_complete *rc = &u->reclaim_complete; u 3803 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 3805 fs/nfsd/nfs4state.c struct nfsd4_setclientid *setclid = &u->setclientid; u 3863 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 3866 fs/nfsd/nfs4state.c &u->setclientid_confirm; u 5129 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 5131 fs/nfsd/nfs4state.c clientid_t *clid = &u->renew; u 5671 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 5673 fs/nfsd/nfs4state.c struct nfsd4_test_stateid *test_stateid = &u->test_stateid; u 5715 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 5717 fs/nfsd/nfs4state.c struct nfsd4_free_stateid *free_stateid = &u->free_stateid; u 5843 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 5845 fs/nfsd/nfs4state.c struct nfsd4_open_confirm *oc = &u->open_confirm; u 5912 fs/nfsd/nfs4state.c struct nfsd4_compound_state *cstate, union nfsd4_op_u *u) u 5914 fs/nfsd/nfs4state.c struct nfsd4_open_downgrade *od = &u->open_downgrade; u 5981 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 5983 fs/nfsd/nfs4state.c struct nfsd4_close *close = &u->close; u 6030 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 6032 fs/nfsd/nfs4state.c struct nfsd4_delegreturn *dr = &u->delegreturn; u 6411 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 6413 fs/nfsd/nfs4state.c struct nfsd4_lock *lock = &u->lock; u 6647 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 6649 fs/nfsd/nfs4state.c struct nfsd4_lockt *lockt = &u->lockt; u 6721 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 6723 fs/nfsd/nfs4state.c struct nfsd4_locku *locku = &u->locku; u 6829 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 6831 fs/nfsd/nfs4state.c struct nfsd4_release_lockowner *rlockowner = &u->release_lockowner; u 7815 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7817 fs/nfsd/nfs4state.c put_stateid(cstate, &u->open_downgrade.od_stateid); u 7822 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7824 fs/nfsd/nfs4state.c put_stateid(cstate, &u->open.op_stateid); u 7829 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7831 fs/nfsd/nfs4state.c put_stateid(cstate, &u->close.cl_stateid); u 7836 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7838 fs/nfsd/nfs4state.c put_stateid(cstate, &u->lock.lk_resp_stateid); u 7847 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7849 fs/nfsd/nfs4state.c get_stateid(cstate, &u->open_downgrade.od_stateid); u 7854 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7856 fs/nfsd/nfs4state.c get_stateid(cstate, &u->delegreturn.dr_stateid); u 7861 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7863 fs/nfsd/nfs4state.c get_stateid(cstate, &u->free_stateid.fr_stateid); u 7868 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7870 fs/nfsd/nfs4state.c get_stateid(cstate, &u->setattr.sa_stateid); u 7875 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7877 fs/nfsd/nfs4state.c get_stateid(cstate, &u->close.cl_stateid); u 7882 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7884 fs/nfsd/nfs4state.c get_stateid(cstate, &u->locku.lu_stateid); u 7889 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7891 fs/nfsd/nfs4state.c get_stateid(cstate, &u->read.rd_stateid); u 7896 fs/nfsd/nfs4state.c union nfsd4_op_u *u) u 7898 fs/nfsd/nfs4state.c get_stateid(cstate, &u->write.wr_stateid); u 1956 fs/nfsd/nfs4xdr.c op->status = nfsd4_dec_ops[op->opnum](argp, &op->u); u 4456 fs/nfsd/nfs4xdr.c op->status = encoder(resp, op->status, &op->u); u 4458 fs/nfsd/nfs4xdr.c opdesc->op_release(&op->u); u 821 fs/nfsd/vfs.c struct svc_rqst *rqstp = sd->u.data; u 887 fs/nfsd/vfs.c .u.data = rqstp, u 119 fs/nfsd/xdr4.h } u; u 127 fs/nfsd/xdr4.h #define cr_datalen u.link.datalen u 128 fs/nfsd/xdr4.h #define cr_data u.link.data u 129 fs/nfsd/xdr4.h #define cr_first u.link.first u 130 fs/nfsd/xdr4.h #define cr_specdata1 u.dev.specdata1 u 131 fs/nfsd/xdr4.h #define cr_specdata2 u.dev.specdata2 u 183 fs/nfsd/xdr4.h } u; u 193 fs/nfsd/xdr4.h #define lk_resp_stateid u.ok.stateid u 194 fs/nfsd/xdr4.h #define lk_denied u.denied u 631 fs/nfsd/xdr4.h } u; u 743 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 745 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 747 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 749 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 751 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 753 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 755 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 758 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 760 fs/nfsd/xdr4.h union nfsd4_op_u *u); u 762 fs/nfsd/xdr4.h union nfsd4_op_u *u); u 771 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 773 fs/nfsd/xdr4.h union nfsd4_op_u *u); u 775 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 777 fs/nfsd/xdr4.h union nfsd4_op_u *u); u 779 fs/nfsd/xdr4.h union nfsd4_op_u *u); u 781 fs/nfsd/xdr4.h union nfsd4_op_u *u); u 784 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 787 fs/nfsd/xdr4.h struct nfsd4_compound_state *, union nfsd4_op_u *u); u 789 fs/nfsd/xdr4.h union nfsd4_op_u *u); u 86 fs/nls/nls_base.c int utf32_to_utf8(unicode_t u, u8 *s, int maxout) u 95 fs/nls/nls_base.c l = u; u 137 fs/nls/nls_base.c unicode_t u; u 142 fs/nls/nls_base.c size = utf8_to_utf32(s, inlen, &u); u 148 fs/nls/nls_base.c if (u >= PLANE_SIZE) { u 151 fs/nls/nls_base.c u -= PLANE_SIZE; u 153 fs/nls/nls_base.c ((u >> 10) & SURROGATE_BITS), u 157 fs/nls/nls_base.c (u & SURROGATE_BITS), u 161 fs/nls/nls_base.c put_utf16(op++, u, endian); u 191 fs/nls/nls_base.c unsigned long u, v; u 195 fs/nls/nls_base.c u = get_utf16(*pwcs, endian); u 196 fs/nls/nls_base.c if (!u) u 200 fs/nls/nls_base.c if (u > 0x7f) { u 201 fs/nls/nls_base.c if ((u & SURROGATE_MASK) == SURROGATE_PAIR) { u 202 fs/nls/nls_base.c if (u & SURROGATE_LOW) { u 214 fs/nls/nls_base.c u = PLANE_SIZE + ((u & SURROGATE_BITS) << 10) u 219 fs/nls/nls_base.c size = utf32_to_utf8(u, op, maxout); u 227 fs/nls/nls_base.c *op++ = (u8) u; u 32 fs/nls/nls_utf8.c unicode_t u; u 34 fs/nls/nls_utf8.c n = utf8_to_utf32(rawstring, boundlen, &u); u 35 fs/nls/nls_utf8.c if (n < 0 || u > MAX_WCHAR_T) { u 39 fs/nls/nls_utf8.c *uni = (wchar_t) u; u 588 fs/ntfs/file.c unsigned blocksize, u; u 611 fs/ntfs/file.c u = 0; u 613 fs/ntfs/file.c page = pages[u]; u 624 fs/ntfs/file.c } while (++u < nr_pages); u 639 fs/ntfs/file.c u = 0; u 641 fs/ntfs/file.c page = pages[u]; u 1176 fs/ntfs/file.c if (likely(!err && ++u < nr_pages)) u 1215 fs/ntfs/file.c u = 0; u 1217 fs/ntfs/file.c bh = head = page_buffers(pages[u]); u 1222 fs/ntfs/file.c } while (++u < nr_pages); u 1330 fs/ntfs/file.c nr_pages = u; u 1331 fs/ntfs/file.c u = 0; u 1334 fs/ntfs/file.c page = pages[u]; u 1337 fs/ntfs/file.c if (u == nr_pages && u 1355 fs/ntfs/file.c } while (++u <= nr_pages); u 1396 fs/ntfs/file.c unsigned blocksize, u; u 1403 fs/ntfs/file.c u = 0; u 1409 fs/ntfs/file.c page = pages[u]; u 1431 fs/ntfs/file.c } while (++u < nr_pages); u 1781 fs/ntfs/file.c unsigned ofs, do_pages, u; u 1864 fs/ntfs/file.c u = (pos >> PAGE_SHIFT) - pages[0]->index; u 1865 fs/ntfs/file.c copied = ntfs_copy_from_user_iter(pages + u, do_pages - u, ofs, u 1867 fs/ntfs/file.c ntfs_flush_dcache_pages(pages + u, do_pages - u); u 580 fs/ntfs/super.c le32 *u; u 583 fs/ntfs/super.c for (i = 0, u = (le32*)b; u < (le32*)(&b->checksum); ++u) u 584 fs/ntfs/super.c i += le32_to_cpup(u); u 196 fs/ntfs/unistr.c u16 u; u 199 fs/ntfs/unistr.c if ((u = le16_to_cpu(name[i])) < upcase_len) u 200 fs/ntfs/unistr.c name[i] = upcase[u]; u 236 fs/ocfs2/dlm/dlmcommon.h } u; u 2063 fs/ocfs2/dlm/dlmmaster.c item->u.am.lockres = res; /* already have a ref */ u 2065 fs/ocfs2/dlm/dlmmaster.c item->u.am.ignore_higher = ignore_higher; u 2066 fs/ocfs2/dlm/dlmmaster.c item->u.am.request_from = request_from; u 2067 fs/ocfs2/dlm/dlmmaster.c item->u.am.flags = flags; u 2093 fs/ocfs2/dlm/dlmmaster.c res = item->u.am.lockres; u 2094 fs/ocfs2/dlm/dlmmaster.c ignore_higher = item->u.am.ignore_higher; u 2095 fs/ocfs2/dlm/dlmmaster.c request_from = item->u.am.request_from; u 2096 fs/ocfs2/dlm/dlmmaster.c flags = item->u.am.flags; u 2327 fs/ocfs2/dlm/dlmmaster.c item->u.dl.deref_res = res; u 2328 fs/ocfs2/dlm/dlmmaster.c item->u.dl.deref_node = node; u 2449 fs/ocfs2/dlm/dlmmaster.c res = item->u.dl.deref_res; u 2450 fs/ocfs2/dlm/dlmmaster.c node = item->u.dl.deref_node; u 861 fs/ocfs2/dlm/dlmrecovery.c item->u.ral.reco_master = lr->node_idx; u 862 fs/ocfs2/dlm/dlmrecovery.c item->u.ral.dead_node = lr->dead_node; u 883 fs/ocfs2/dlm/dlmrecovery.c dead_node = item->u.ral.dead_node; u 884 fs/ocfs2/dlm/dlmrecovery.c reco_master = item->u.ral.reco_master; u 1518 fs/ocfs2/dlm/dlmrecovery.c item->u.ml.lockres = res; /* already have a ref */ u 1519 fs/ocfs2/dlm/dlmrecovery.c item->u.ml.real_master = real_master; u 1520 fs/ocfs2/dlm/dlmrecovery.c item->u.ml.extra_ref = extra_refs; u 1554 fs/ocfs2/dlm/dlmrecovery.c res = item->u.ml.lockres; u 1555 fs/ocfs2/dlm/dlmrecovery.c real_master = item->u.ml.real_master; u 1556 fs/ocfs2/dlm/dlmrecovery.c extra_ref = item->u.ml.extra_ref; u 40 fs/openpromfs/inode.c union op_inode_data u; u 155 fs/openpromfs/inode.c m->private = oi->u.prop; u 195 fs/openpromfs/inode.c dp = oi->u.node; u 241 fs/openpromfs/inode.c ent_oi->u = ent_data; u 258 fs/openpromfs/inode.c inode->i_size = ent_oi->u.prop->length; u 269 fs/openpromfs/inode.c struct device_node *dp = oi->u.node; u 399 fs/openpromfs/inode.c oi->u.node = of_find_node_by_path("/"); u 80 fs/orangefs/downcall.h } u; u 266 fs/orangefs/orangefs-kernel.h unsigned char u[8]; u 270 fs/orangefs/orangefs-kernel.h ihandle.u[0] = khandle->u[0] ^ khandle->u[4]; u 271 fs/orangefs/orangefs-kernel.h ihandle.u[1] = khandle->u[1] ^ khandle->u[5]; u 272 fs/orangefs/orangefs-kernel.h ihandle.u[2] = khandle->u[2] ^ khandle->u[6]; u 273 fs/orangefs/orangefs-kernel.h ihandle.u[3] = khandle->u[3] ^ khandle->u[7]; u 274 fs/orangefs/orangefs-kernel.h ihandle.u[4] = khandle->u[12] ^ khandle->u[8]; u 275 fs/orangefs/orangefs-kernel.h ihandle.u[5] = khandle->u[13] ^ khandle->u[9]; u 276 fs/orangefs/orangefs-kernel.h ihandle.u[6] = khandle->u[14] ^ khandle->u[10]; u 277 fs/orangefs/orangefs-kernel.h ihandle.u[7] = khandle->u[15] ^ khandle->u[11]; u 501 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u. u 503 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u. u 507 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u.value64); u 642 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value32[0] = val1; u 643 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value32[1] = val2; u 807 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value64 = val; u 19 fs/orangefs/protocol.h unsigned char u[16]; u 41 fs/orangefs/protocol.h if (kh1->u[i] > kh2->u[i]) u 43 fs/orangefs/protocol.h if (kh1->u[i] < kh2->u[i]) u 54 fs/orangefs/protocol.h memcpy(p, kh->u, 16); u 63 fs/orangefs/protocol.h memcpy(kh->u, p, 16); u 195 fs/orangefs/upcall.h } u; u 93 fs/proc/page.c u64 u; u 103 fs/proc/page.c u = 0; u 112 fs/proc/page.c u |= 1 << KPF_MMAP; u 114 fs/proc/page.c u |= 1 << KPF_ANON; u 116 fs/proc/page.c u |= 1 << KPF_KSM; u 123 fs/proc/page.c u |= 1 << KPF_COMPOUND_HEAD; u 125 fs/proc/page.c u |= 1 << KPF_COMPOUND_TAIL; u 127 fs/proc/page.c u |= 1 << KPF_HUGE; u 138 fs/proc/page.c u |= 1 << KPF_THP; u 140 fs/proc/page.c u |= 1 << KPF_ZERO_PAGE; u 141 fs/proc/page.c u |= 1 << KPF_THP; u 144 fs/proc/page.c u |= 1 << KPF_ZERO_PAGE; u 153 fs/proc/page.c u |= 1 << KPF_BUDDY; u 155 fs/proc/page.c u |= 1 << KPF_BUDDY; u 158 fs/proc/page.c u |= 1 << KPF_OFFLINE; u 160 fs/proc/page.c u |= 1 << KPF_PGTABLE; u 163 fs/proc/page.c u |= 1 << KPF_IDLE; u 165 fs/proc/page.c u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); u 167 fs/proc/page.c u |= kpf_copy_bit(k, KPF_SLAB, PG_slab); u 169 fs/proc/page.c u |= 1 << KPF_SLAB; u 171 fs/proc/page.c u |= kpf_copy_bit(k, KPF_ERROR, PG_error); u 172 fs/proc/page.c u |= kpf_copy_bit(k, KPF_DIRTY, PG_dirty); u 173 fs/proc/page.c u |= kpf_copy_bit(k, KPF_UPTODATE, PG_uptodate); u 174 fs/proc/page.c u |= kpf_copy_bit(k, KPF_WRITEBACK, PG_writeback); u 176 fs/proc/page.c u |= kpf_copy_bit(k, KPF_LRU, PG_lru); u 177 fs/proc/page.c u |= kpf_copy_bit(k, KPF_REFERENCED, PG_referenced); u 178 fs/proc/page.c u |= kpf_copy_bit(k, KPF_ACTIVE, PG_active); u 179 fs/proc/page.c u |= kpf_copy_bit(k, KPF_RECLAIM, PG_reclaim); u 182 fs/proc/page.c u |= 1 << KPF_SWAPCACHE; u 183 fs/proc/page.c u |= kpf_copy_bit(k, KPF_SWAPBACKED, PG_swapbacked); u 185 fs/proc/page.c u |= kpf_copy_bit(k, KPF_UNEVICTABLE, PG_unevictable); u 186 fs/proc/page.c u |= kpf_copy_bit(k, KPF_MLOCKED, PG_mlocked); u 189 fs/proc/page.c u |= kpf_copy_bit(k, KPF_HWPOISON, PG_hwpoison); u 193 fs/proc/page.c u |= kpf_copy_bit(k, KPF_UNCACHED, PG_uncached); u 196 fs/proc/page.c u |= kpf_copy_bit(k, KPF_RESERVED, PG_reserved); u 197 fs/proc/page.c u |= kpf_copy_bit(k, KPF_MAPPEDTODISK, PG_mappedtodisk); u 198 fs/proc/page.c u |= kpf_copy_bit(k, KPF_PRIVATE, PG_private); u 199 fs/proc/page.c u |= kpf_copy_bit(k, KPF_PRIVATE_2, PG_private_2); u 200 fs/proc/page.c u |= kpf_copy_bit(k, KPF_OWNER_PRIVATE, PG_owner_priv_1); u 201 fs/proc/page.c u |= kpf_copy_bit(k, KPF_ARCH, PG_arch_1); u 203 fs/proc/page.c return u; u 366 fs/reiserfs/item_ops.c if (le32_to_cpu(key->u.k_offset_v1.k_offset) == DOT_OFFSET) u 1297 fs/reiserfs/reiserfs.h } __attribute__ ((__packed__)) u; u 1383 fs/reiserfs/reiserfs.h } __attribute__ ((__packed__)) u; u 1398 fs/reiserfs/reiserfs.h #define ih_free_space(ih) le16_to_cpu((ih)->u.ih_free_space_reserved) u 1400 fs/reiserfs/reiserfs.h #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count) u 1404 fs/reiserfs/reiserfs.h #define put_ih_free_space(ih, val) do { (ih)->u.ih_free_space_reserved = cpu_to_le16(val); } while(0) u 1406 fs/reiserfs/reiserfs.h #define put_ih_entry_count(ih, val) do { (ih)->u.ih_entry_count = cpu_to_le16(val); } while (0) u 1478 fs/reiserfs/reiserfs.h le32_to_cpu(key->u.k_offset_v1.k_offset) : u 1479 fs/reiserfs/reiserfs.h offset_v2_k_offset(&(key->u.k_offset_v2)); u 1490 fs/reiserfs/reiserfs.h loff_t val = le32_to_cpu(key->u.k_offset_v1.k_uniqueness); u 1493 fs/reiserfs/reiserfs.h return offset_v2_k_type(&(key->u.k_offset_v2)); u 1505 fs/reiserfs/reiserfs.h key->u.k_offset_v1.k_offset = cpu_to_le32(offset); u 1507 fs/reiserfs/reiserfs.h set_offset_v2_k_offset(&key->u.k_offset_v2, offset); u 1532 fs/reiserfs/reiserfs.h key->u.k_offset_v1.k_uniqueness = cpu_to_le32(type); u 1534 fs/reiserfs/reiserfs.h set_offset_v2_k_type(&key->u.k_offset_v2, type); u 1729 fs/reiserfs/reiserfs.h } __attribute__ ((__packed__)) u; u 1759 fs/reiserfs/reiserfs.h #define sd_v1_rdev(sdp) (le32_to_cpu((sdp)->u.sd_rdev)) u 1760 fs/reiserfs/reiserfs.h #define set_sd_v1_rdev(sdp,v) ((sdp)->u.sd_rdev = cpu_to_le32(v)) u 1761 fs/reiserfs/reiserfs.h #define sd_v1_blocks(sdp) (le32_to_cpu((sdp)->u.sd_blocks)) u 1762 fs/reiserfs/reiserfs.h #define set_sd_v1_blocks(sdp,v) ((sdp)->u.sd_blocks = cpu_to_le32(v)) u 1816 fs/reiserfs/reiserfs.h } __attribute__ ((__packed__)) u; u 1843 fs/reiserfs/reiserfs.h #define sd_v2_rdev(sdp) (le32_to_cpu((sdp)->u.sd_rdev)) u 1844 fs/reiserfs/reiserfs.h #define set_sd_v2_rdev(sdp,v) ((sdp)->u.sd_rdev = cpu_to_le32(v)) u 1845 fs/reiserfs/reiserfs.h #define sd_v2_generation(sdp) (le32_to_cpu((sdp)->u.sd_generation)) u 1846 fs/reiserfs/reiserfs.h #define set_sd_v2_generation(sdp,v) ((sdp)->u.sd_generation = cpu_to_le32(v)) u 2986 fs/reiserfs/reiserfs.h type = offset_v2_k_type(&(key->u.k_offset_v2)); u 437 fs/splice.c struct file *file = sd->u.file; u 655 fs/splice.c .u.file = out, u 687 fs/splice.c .u.file = out, u 794 fs/splice.c ret = __kernel_write(sd->u.file, data + buf->offset, sd->len, &tmp); u 1019 fs/splice.c struct file *file = sd->u.file; u 1049 fs/splice.c .u.file = out, u 1256 fs/splice.c int n = copy_page_to_iter(buf->page, buf->offset, sd->len, sd->u.data); u 1271 fs/splice.c .u.data = iter u 386 fs/statfs.c COMPAT_SYSCALL_DEFINE2(ustat, unsigned, dev, struct compat_ustat __user *, u) u 397 fs/statfs.c if (copy_to_user(u, &tmp, sizeof(struct compat_ustat))) u 2663 fs/ubifs/debug.c static int provide_user_output(int val, char __user *u, size_t count, u 2675 fs/ubifs/debug.c return simple_read_from_buffer(u, count, ppos, buf, 2); u 2678 fs/ubifs/debug.c static ssize_t dfs_file_read(struct file *file, char __user *u, size_t count, u 2703 fs/ubifs/debug.c return provide_user_output(val, u, count, ppos); u 2715 fs/ubifs/debug.c static int interpret_user_input(const char __user *u, size_t count) u 2721 fs/ubifs/debug.c if (copy_from_user(buf, u, buf_size)) u 2732 fs/ubifs/debug.c static ssize_t dfs_file_write(struct file *file, const char __user *u, u 2767 fs/ubifs/debug.c val = interpret_user_input(u, count); u 2885 fs/ubifs/debug.c static ssize_t dfs_global_file_read(struct file *file, char __user *u, u 2906 fs/ubifs/debug.c return provide_user_output(val, u, count, ppos); u 2909 fs/ubifs/debug.c static ssize_t dfs_global_file_write(struct file *file, const char __user *u, u 2915 fs/ubifs/debug.c val = interpret_user_input(u, count); u 1364 fs/unicode/mkutf8data.c static struct unicode_data *corrections_lookup(struct unicode_data *u) u 1369 fs/unicode/mkutf8data.c if (u->code == corrections[i].code) u 1371 fs/unicode/mkutf8data.c return u; u 1557 fs/unicode/mkutf8data.c char *u; u 1566 fs/unicode/mkutf8data.c u = utf; u 1570 fs/unicode/mkutf8data.c u += utf8encode(u, um[i]); u 1571 fs/unicode/mkutf8data.c *u = '\0'; u 1574 fs/unicode/mkutf8data.c u = utf; u 1578 fs/unicode/mkutf8data.c u += utf8encode(u, um[i]); u 1579 fs/unicode/mkutf8data.c *u = '\0'; u 1754 fs/xfs/xfs_ioctl.c struct getbmapx __user *u, u 1757 fs/xfs/xfs_ioctl.c if (put_user(p->bmv_offset, &u->bmv_offset) || u 1758 fs/xfs/xfs_ioctl.c put_user(p->bmv_block, &u->bmv_block) || u 1759 fs/xfs/xfs_ioctl.c put_user(p->bmv_length, &u->bmv_length) || u 1760 fs/xfs/xfs_ioctl.c put_user(0, &u->bmv_count) || u 1761 fs/xfs/xfs_ioctl.c put_user(0, &u->bmv_entries)) u 1765 fs/xfs/xfs_ioctl.c if (put_user(0, &u->bmv_iflags) || u 1766 fs/xfs/xfs_ioctl.c put_user(p->bmv_oflags, &u->bmv_oflags) || u 1767 fs/xfs/xfs_ioctl.c put_user(0, &u->bmv_unused1) || u 1768 fs/xfs/xfs_ioctl.c put_user(0, &u->bmv_unused2)) u 138 fs/xfs/xfs_quota.h #define xfs_qm_vop_create_dqattach(tp, ip, u, g, p) u 141 fs/xfs/xfs_quota.h #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) u 775 include/asm-generic/atomic-instrumented.h atomic_fetch_add_unless(atomic_t *v, int a, int u) u 778 include/asm-generic/atomic-instrumented.h return arch_atomic_fetch_add_unless(v, a, u); u 785 include/asm-generic/atomic-instrumented.h atomic_add_unless(atomic_t *v, int a, int u) u 788 include/asm-generic/atomic-instrumented.h return arch_atomic_add_unless(v, a, u); u 1585 include/asm-generic/atomic-instrumented.h atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) u 1588 include/asm-generic/atomic-instrumented.h return arch_atomic64_fetch_add_unless(v, a, u); u 1595 include/asm-generic/atomic-instrumented.h atomic64_add_unless(atomic64_t *v, s64 a, s64 u) u 1598 include/asm-generic/atomic-instrumented.h return arch_atomic64_add_unless(v, a, u); u 482 include/asm-generic/atomic-long.h atomic_long_fetch_add_unless(atomic_long_t *v, long a, long u) u 484 include/asm-generic/atomic-long.h return atomic64_fetch_add_unless(v, a, u); u 488 include/asm-generic/atomic-long.h atomic_long_add_unless(atomic_long_t *v, long a, long u) u 490 include/asm-generic/atomic-long.h return atomic64_add_unless(v, a, u); u 976 include/asm-generic/atomic-long.h atomic_long_fetch_add_unless(atomic_long_t *v, long a, long u) u 978 include/asm-generic/atomic-long.h return atomic_fetch_add_unless(v, a, u); u 982 include/asm-generic/atomic-long.h atomic_long_add_unless(atomic_long_t *v, long a, long u) u 984 include/asm-generic/atomic-long.h return atomic_add_unless(v, a, u); u 53 include/asm-generic/atomic64.h extern s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u); u 46 include/asm-generic/local.h #define local_add_unless(l, _a, u) atomic_long_add_unless((&(l)->a), (_a), (u)) u 47 include/asm-generic/local64.h #define local64_add_unless(l, _a, u) local_add_unless((&(l)->a), (_a), (u)) u 85 include/asm-generic/local64.h #define local64_add_unless(l, _a, u) atomic64_add_unless((&(l)->a), (_a), (u)) u 66 include/asm-generic/termios-base.h #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios)) u 70 include/asm-generic/termios-base.h #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios)) u 73 include/asm-generic/termios-base.h #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) u 74 include/asm-generic/termios-base.h #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) u 72 include/asm-generic/termios.h struct termios2 __user *u) u 74 include/asm-generic/termios.h return copy_from_user(k, u, sizeof(struct termios2)); u 77 include/asm-generic/termios.h static inline int kernel_termios_to_user_termios(struct termios2 __user *u, u 80 include/asm-generic/termios.h return copy_to_user(u, k, sizeof(struct termios2)); u 84 include/asm-generic/termios.h struct termios __user *u) u 86 include/asm-generic/termios.h return copy_from_user(k, u, sizeof(struct termios)); u 89 include/asm-generic/termios.h static inline int kernel_termios_to_user_termios_1(struct termios __user *u, u 92 include/asm-generic/termios.h return copy_to_user(u, k, sizeof(struct termios)); u 96 include/asm-generic/termios.h struct termios __user *u) u 98 include/asm-generic/termios.h return copy_from_user(k, u, sizeof(struct termios)); u 101 include/asm-generic/termios.h static inline int kernel_termios_to_user_termios(struct termios __user *u, u 104 include/asm-generic/termios.h return copy_to_user(u, k, sizeof(struct termios)); u 148 include/asm-generic/uaccess.h #define __put_user_fn(sz, u, k) __put_user_fn(sz, u, k) u 209 include/asm-generic/uaccess.h #define __get_user_fn(sz, u, k) __get_user_fn(sz, u, k) u 355 include/drm/drm_dp_mst_helper.h } u; u 377 include/drm/drm_dp_mst_helper.h } u; u 1084 include/linux/atomic-fallback.h atomic_fetch_add_unless(atomic_t *v, int a, int u) u 1089 include/linux/atomic-fallback.h if (unlikely(c == u)) u 1109 include/linux/atomic-fallback.h atomic_add_unless(atomic_t *v, int a, int u) u 1111 include/linux/atomic-fallback.h return atomic_fetch_add_unless(v, a, u) != u; u 2194 include/linux/atomic-fallback.h atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) u 2199 include/linux/atomic-fallback.h if (unlikely(c == u)) u 2219 include/linux/atomic-fallback.h atomic64_add_unless(atomic64_t *v, s64 a, s64 u) u 2221 include/linux/atomic-fallback.h return atomic64_fetch_add_unless(v, a, u) != u; u 135 include/linux/bitfield.h ____MAKE_OP(le##size,u##size,cpu_to_le##size,le##size##_to_cpu) \ u 136 include/linux/bitfield.h ____MAKE_OP(be##size,u##size,cpu_to_be##size,be##size##_to_cpu) \ u 137 include/linux/bitfield.h ____MAKE_OP(u##size,u##size,,) u 53 include/linux/cb710.h unsigned port, u##t value) \ u 58 include/linux/cb710.h static inline u##t cb710_read_port_##t(struct cb710_slot *slot, \ u 65 include/linux/cb710.h unsigned port, u##t set, u##t clear) \ u 584 include/linux/ccp.h } u; u 659 include/linux/ccp.h } u; u 67 include/linux/ceph/mon_client.h } u; u 26 include/linux/cleancache.h } u; u 131 include/linux/cyclades.h } u; u 409 include/linux/etherdevice.h u64 u = 0; u 413 include/linux/etherdevice.h u = u << 8 | addr[i]; u 415 include/linux/etherdevice.h return u; u 423 include/linux/etherdevice.h static inline void u64_to_ether_addr(u64 u, u8 *addr) u 428 include/linux/etherdevice.h addr[i] = u & 0xff; u 429 include/linux/etherdevice.h u = u >> 8; u 440 include/linux/etherdevice.h u64 u = ether_addr_to_u64(addr); u 442 include/linux/etherdevice.h u--; u 443 include/linux/etherdevice.h u64_to_ether_addr(u, addr); u 452 include/linux/etherdevice.h u64 u = ether_addr_to_u64(addr); u 454 include/linux/etherdevice.h u++; u 455 include/linux/etherdevice.h u64_to_ether_addr(u, addr); u 246 include/linux/hyperv.h } u; u 685 include/linux/hyperv.h } u; u 1060 include/linux/ieee80211.h } u; u 1062 include/linux/ieee80211.h } u; u 1070 include/linux/ieee80211.h #define IEEE80211_MIN_ACTION_SIZE offsetof(struct ieee80211_mgmt, u.action.u) u 1197 include/linux/ieee80211.h } u; u 3225 include/linux/ieee80211.h return mgmt->u.action.category == WLAN_CATEGORY_PUBLIC; u 3241 include/linux/ieee80211.h return mgmt->u.action.category == WLAN_CATEGORY_MESH_ACTION || u 3242 include/linux/ieee80211.h mgmt->u.action.category == WLAN_CATEGORY_MULTIHOP_ACTION; u 3340 include/linux/ieee80211.h sizeof(mgmt->u.action.u.tpc_report)) u 3354 include/linux/ieee80211.h if (mgmt->u.action.category != WLAN_CATEGORY_SPECTRUM_MGMT && u 3355 include/linux/ieee80211.h mgmt->u.action.category != WLAN_CATEGORY_RADIO_MEASUREMENT) u 3359 include/linux/ieee80211.h if (mgmt->u.action.u.tpc_report.action_code != u 3363 include/linux/ieee80211.h if (mgmt->u.action.u.tpc_report.tpc_elem_id != WLAN_EID_TPC_REPORT || u 3364 include/linux/ieee80211.h mgmt->u.action.u.tpc_report.tpc_elem_length != u 22 include/linux/if_bridge.h } u; u 375 include/linux/jiffies.h extern unsigned long __usecs_to_jiffies(const unsigned int u); u 377 include/linux/jiffies.h static inline unsigned long _usecs_to_jiffies(const unsigned int u) u 379 include/linux/jiffies.h return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); u 382 include/linux/jiffies.h static inline unsigned long _usecs_to_jiffies(const unsigned int u) u 384 include/linux/jiffies.h return (USEC_TO_HZ_MUL32 * u + USEC_TO_HZ_ADJ32) u 411 include/linux/jiffies.h static __always_inline unsigned long usecs_to_jiffies(const unsigned int u) u 413 include/linux/jiffies.h if (__builtin_constant_p(u)) { u 414 include/linux/jiffies.h if (u > jiffies_to_usecs(MAX_JIFFY_OFFSET)) u 416 include/linux/jiffies.h return _usecs_to_jiffies(u); u 418 include/linux/jiffies.h return __usecs_to_jiffies(u); u 204 include/linux/kobject.h const struct kset_uevent_ops *u, u 96 include/linux/lsm_audit.h } u; u 267 include/linux/math64.h } u, rl, rh; u 269 include/linux/math64.h u.ll = a; u 270 include/linux/math64.h rl.ll = mul_u32_u32(u.l.low, mul); u 271 include/linux/math64.h rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; u 676 include/linux/mlx4/device.h } u; u 729 include/linux/mlx5/driver.h } u; u 63 include/linux/mpi.h int mpi_cmp_ui(MPI u, ulong v); u 64 include/linux/mpi.h int mpi_cmp(MPI u, MPI v); u 298 include/linux/netfilter/x_tables.h struct xt_entry_match __user *u); u 300 include/linux/netfilter/x_tables.h struct xt_entry_target __user *u); u 466 include/linux/netfilter/x_tables.h } u; u 482 include/linux/netfilter/x_tables.h } u; u 674 include/linux/nfs4.h } u; u 465 include/linux/nfs_xdr.h } u; u 1005 include/linux/nfs_xdr.h } u; u 56 include/linux/nls.h extern int utf32_to_utf8(unicode_t u, u8 *s, int maxlen); u 1216 include/linux/of.h #define of_property_for_each_u32(np, propname, prop, p, u) \ u 1218 include/linux/of.h p = of_prop_next_u32(prop, NULL, &u); \ u 1220 include/linux/of.h p = of_prop_next_u32(prop, p, &u)) u 33 include/linux/page_ref.h extern void __page_ref_mod_unless(struct page *page, int v, int u); u 53 include/linux/page_ref.h static inline void __page_ref_mod_unless(struct page *page, int v, int u) u 155 include/linux/page_ref.h static inline int page_ref_add_unless(struct page *page, int nr, int u) u 157 include/linux/page_ref.h int ret = atomic_add_unless(&page->_refcount, nr, u); u 62 include/linux/parport.h } u; u 130 include/linux/qed/qed_chain.h } u; u 195 include/linux/qed/qed_chain.h return p_chain->u.chain16.prod_idx; u 200 include/linux/qed/qed_chain.h return p_chain->u.chain16.cons_idx; u 205 include/linux/qed/qed_chain.h return p_chain->u.chain32.cons_idx; u 213 include/linux/qed/qed_chain.h (u32)p_chain->u.chain16.prod_idx) - u 214 include/linux/qed/qed_chain.h (u32)p_chain->u.chain16.cons_idx); u 216 include/linux/qed/qed_chain.h used -= p_chain->u.chain16.prod_idx / p_chain->elem_per_page - u 217 include/linux/qed/qed_chain.h p_chain->u.chain16.cons_idx / p_chain->elem_per_page; u 227 include/linux/qed/qed_chain.h (u64)p_chain->u.chain32.prod_idx) - u 228 include/linux/qed/qed_chain.h (u64)p_chain->u.chain32.cons_idx); u 230 include/linux/qed/qed_chain.h used -= p_chain->u.chain32.prod_idx / p_chain->elem_per_page - u 231 include/linux/qed/qed_chain.h p_chain->u.chain32.cons_idx / p_chain->elem_per_page; u 301 include/linux/qed/qed_chain.h (((p)->u.chain16.idx & (p)->elem_per_page_mask) == (p)->usable_per_page) u 304 include/linux/qed/qed_chain.h (((p)->u.chain32.idx & (p)->elem_per_page_mask) == (p)->usable_per_page) u 306 include/linux/qed/qed_chain.h ((((p)->u.chain16.idx + 1) & (p)->elem_per_page_mask) == \ u 310 include/linux/qed/qed_chain.h ((((p)->u.chain32.idx + 1) & (p)->elem_per_page_mask) == \ u 317 include/linux/qed/qed_chain.h (p)->u.chain16.idx += (p)->elem_unusable; \ u 320 include/linux/qed/qed_chain.h (p)->u.chain32.idx += (p)->elem_unusable; \ u 335 include/linux/qed/qed_chain.h p_chain->u.chain16.cons_idx++; u 337 include/linux/qed/qed_chain.h p_chain->u.chain32.cons_idx++; u 357 include/linux/qed/qed_chain.h if ((p_chain->u.chain16.prod_idx & u 359 include/linux/qed/qed_chain.h p_prod_idx = &p_chain->u.chain16.prod_idx; u 364 include/linux/qed/qed_chain.h p_chain->u.chain16.prod_idx++; u 366 include/linux/qed/qed_chain.h if ((p_chain->u.chain32.prod_idx & u 368 include/linux/qed/qed_chain.h p_prod_idx = &p_chain->u.chain32.prod_idx; u 373 include/linux/qed/qed_chain.h p_chain->u.chain32.prod_idx++; u 410 include/linux/qed/qed_chain.h p_chain->u.chain16.prod_idx++; u 412 include/linux/qed/qed_chain.h p_chain->u.chain32.prod_idx++; u 430 include/linux/qed/qed_chain.h if ((p_chain->u.chain16.cons_idx & u 432 include/linux/qed/qed_chain.h p_cons_idx = &p_chain->u.chain16.cons_idx; u 437 include/linux/qed/qed_chain.h p_chain->u.chain16.cons_idx++; u 439 include/linux/qed/qed_chain.h if ((p_chain->u.chain32.cons_idx & u 441 include/linux/qed/qed_chain.h p_cons_idx = &p_chain->u.chain32.cons_idx; u 446 include/linux/qed/qed_chain.h p_chain->u.chain32.cons_idx++; u 466 include/linux/qed/qed_chain.h p_chain->u.chain16.prod_idx = 0; u 467 include/linux/qed/qed_chain.h p_chain->u.chain16.cons_idx = 0; u 469 include/linux/qed/qed_chain.h p_chain->u.chain32.prod_idx = 0; u 470 include/linux/qed/qed_chain.h p_chain->u.chain32.cons_idx = 0; u 675 include/linux/qed/qed_chain.h cur_prod = is_chain_u16(p_chain) ? p_chain->u.chain16.prod_idx : u 676 include/linux/qed/qed_chain.h p_chain->u.chain32.prod_idx; u 704 include/linux/qed/qed_chain.h p_chain->u.chain16.prod_idx = (u16) prod_idx; u 706 include/linux/qed/qed_chain.h p_chain->u.chain32.prod_idx = prod_idx; u 125 include/linux/qed/qed_ll2_if.h } u; u 54 include/linux/sched/user.h static inline struct user_struct *get_uid(struct user_struct *u) u 56 include/linux/sched/user.h refcount_inc(&u->__count); u 57 include/linux/sched/user.h return u; u 3714 include/linux/skbuff.h #define __it(x, op) (x -= sizeof(u##op)) u 3715 include/linux/skbuff.h #define __it_diff(a, b, op) (*(u##op *)__it(a, op)) ^ (*(u##op *)__it(b, op)) u 135 include/linux/soc/ti/knav_dma.h } u; u 40 include/linux/splice.h } u; u 62 include/linux/sunrpc/sched.h } u; u 94 include/linux/sunrpc/svc_xprt.h static inline void unregister_xpt_user(struct svc_xprt *xpt, struct svc_xpt_user *u) u 97 include/linux/sunrpc/svc_xprt.h list_del_init(&u->list); u 101 include/linux/sunrpc/svc_xprt.h static inline int register_xpt_user(struct svc_xprt *xpt, struct svc_xpt_user *u) u 113 include/linux/sunrpc/svc_xprt.h list_add(&u->list, &xpt->xpt_users); u 76 include/linux/tee_drv.h } u; u 204 include/linux/usb/usbnet.h struct usb_cdc_union_desc *u; u 68 include/linux/uuid.h extern void guid_gen(guid_t *u); u 69 include/linux/uuid.h extern void uuid_gen(uuid_t *u); u 76 include/linux/uuid.h int guid_parse(const char *uuid, guid_t *u); u 77 include/linux/uuid.h int uuid_parse(const char *uuid, uuid_t *u); u 80 include/linux/uuid.h #define uuid_le_gen(u) guid_gen(u) u 81 include/linux/uuid.h #define uuid_le_to_bin(guid, u) guid_parse(guid, u) u 35 include/media/i2c/ov772x.h #define OV772X_AUTO_EDGECTRL(u, l) \ u 37 include/media/i2c/ov772x.h .upper = (u & OV772X_EDGE_UPPER_MASK), \ u 88 include/net/caif/cfctrl.h } u; u 25 include/net/dst_metadata.h } u; u 45 include/net/dst_metadata.h return &md_dst->u.tun_info; u 77 include/net/dst_metadata.h return memcmp(&a->u.port_info, &b->u.port_info, u 78 include/net/dst_metadata.h sizeof(a->u.port_info)); u 80 include/net/dst_metadata.h return memcmp(&a->u.tun_info, &b->u.tun_info, u 81 include/net/dst_metadata.h sizeof(a->u.tun_info) + u 82 include/net/dst_metadata.h a->u.tun_info.options_len); u 103 include/net/dst_metadata.h tun_dst->u.tun_info.options_len = 0; u 104 include/net/dst_metadata.h tun_dst->u.tun_info.mode = 0; u 117 include/net/dst_metadata.h md_size = md_dst->u.tun_info.options_len; u 122 include/net/dst_metadata.h memcpy(&new_md->u.tun_info, &md_dst->u.tun_info, u 138 include/net/dst_metadata.h return &dst->u.tun_info; u 155 include/net/dst_metadata.h ip_tunnel_key_init(&tun_dst->u.tun_info.key, u 188 include/net/dst_metadata.h info = &tun_dst->u.tun_info; u 195 include/net/dst_metadata.h info->key.u.ipv6.src = *saddr; u 196 include/net/dst_metadata.h info->key.u.ipv6.dst = *daddr; u 8 include/net/firewire.h u8 u[FWNET_ALEN]; u 179 include/net/flow.h } u; u 180 include/net/flow.h #define flowi_oif u.__fl_common.flowic_oif u 181 include/net/flow.h #define flowi_iif u.__fl_common.flowic_iif u 182 include/net/flow.h #define flowi_mark u.__fl_common.flowic_mark u 183 include/net/flow.h #define flowi_tos u.__fl_common.flowic_tos u 184 include/net/flow.h #define flowi_scope u.__fl_common.flowic_scope u 185 include/net/flow.h #define flowi_proto u.__fl_common.flowic_proto u 186 include/net/flow.h #define flowi_flags u.__fl_common.flowic_flags u 187 include/net/flow.h #define flowi_secid u.__fl_common.flowic_secid u 188 include/net/flow.h #define flowi_tun_key u.__fl_common.flowic_tun_key u 189 include/net/flow.h #define flowi_uid u.__fl_common.flowic_uid u 194 include/net/flow.h return container_of(fl4, struct flowi, u.ip4); u 199 include/net/flow.h return container_of(fl6, struct flowi, u.ip6); u 204 include/net/flow.h return container_of(fldn, struct flowi, u.dn); u 34 include/net/ip_tunnels.h #define IP_TUNNEL_KEY_IPV4_PAD offsetofend(struct ip_tunnel_key, u.ipv4.dst) u 36 include/net/ip_tunnels.h (FIELD_SIZEOF(struct ip_tunnel_key, u) - \ u 37 include/net/ip_tunnels.h FIELD_SIZEOF(struct ip_tunnel_key, u.ipv4)) u 50 include/net/ip_tunnels.h } u; u 177 include/net/ip_tunnels.h key->u.ipv4.src = saddr; u 178 include/net/ip_tunnels.h key->u.ipv4.dst = daddr; u 460 include/net/mac80211.h } u; u 31 include/net/netfilter/nf_conntrack_tuple.h union nf_conntrack_man_proto u; u 65 include/net/netfilter/nf_conntrack_tuple.h } u; u 78 include/net/netfilter/nf_conntrack_tuple.h union nf_conntrack_man_proto u; u 87 include/net/netfilter/nf_conntrack_tuple.h &t->src.u3.ip, ntohs(t->src.u.all), u 88 include/net/netfilter/nf_conntrack_tuple.h &t->dst.u3.ip, ntohs(t->dst.u.all)); u 97 include/net/netfilter/nf_conntrack_tuple.h t->src.u3.all, ntohs(t->src.u.all), u 98 include/net/netfilter/nf_conntrack_tuple.h t->dst.u3.all, ntohs(t->dst.u.all)); u 128 include/net/netfilter/nf_conntrack_tuple.h t1->src.u.all == t2->src.u.all && u 136 include/net/netfilter/nf_conntrack_tuple.h t1->dst.u.all == t2->dst.u.all && u 152 include/net/netfilter/nf_conntrack_tuple.h m1->src.u.all == m2->src.u.all); u 168 include/net/netfilter/nf_conntrack_tuple.h if ((t1->src.u.all ^ t2->src.u.all) & mask->src.u.all) u 36 include/net/netfilter/nf_log.h } u; u 58 include/net/switchdev.h } u; u 57 include/net/tc_act/tc_tunnel_key.h return ¶ms->tcft_enc_metadata->u.tun_info; u 931 include/net/xfrm.h } u; u 978 include/net/xfrm.h if (likely(xdst->u.dst.xfrm)) u 979 include/net/xfrm.h xfrm_state_put(xdst->u.dst.xfrm); u 1238 include/net/xfrm.h return (xfrm_address_t *)&fl->u.ip4.daddr; u 1240 include/net/xfrm.h return (xfrm_address_t *)&fl->u.ip6.daddr; u 1250 include/net/xfrm.h return (xfrm_address_t *)&fl->u.ip4.saddr; u 1252 include/net/xfrm.h return (xfrm_address_t *)&fl->u.ip6.saddr; u 1264 include/net/xfrm.h memcpy(&saddr->a4, &fl->u.ip4.saddr, sizeof(saddr->a4)); u 1265 include/net/xfrm.h memcpy(&daddr->a4, &fl->u.ip4.daddr, sizeof(daddr->a4)); u 1268 include/net/xfrm.h saddr->in6 = fl->u.ip6.saddr; u 1269 include/net/xfrm.h daddr->in6 = fl->u.ip6.daddr; u 1317 include/net/xfrm.h (const xfrm_address_t *)&fl->u.ip4.daddr, u 1318 include/net/xfrm.h (const xfrm_address_t *)&fl->u.ip4.saddr); u 1321 include/net/xfrm.h (const xfrm_address_t *)&fl->u.ip6.daddr, u 1322 include/net/xfrm.h (const xfrm_address_t *)&fl->u.ip6.saddr); u 136 include/rdma/ib_hdrs.h union ib_ehdrs u; u 147 include/rdma/ib_hdrs.h } u; u 258 include/rdma/ib_hdrs.h return be32_to_cpu(ohdr->u.ud.deth[0]); u 263 include/rdma/ib_hdrs.h return ((be32_to_cpu(ohdr->u.ud.deth[1])) & IB_QPN_MASK); u 105 include/rdma/uverbs_ioctl.h } u; u 475 include/rdma/uverbs_ioctl.h .u.ptr.min_len = _min_len, .u.ptr.len = _len u 485 include/rdma/uverbs_ioctl.h .u.ptr.min_len = sizeof(_type), .u.ptr.len = sizeof(_type) u 538 include/rdma/uverbs_ioctl.h .u.obj.obj_type = _idr_type, \ u 539 include/rdma/uverbs_ioctl.h .u.obj.access = _access, \ u 548 include/rdma/uverbs_ioctl.h .u.obj.obj_type = _fd_type, \ u 549 include/rdma/uverbs_ioctl.h .u.obj.access = _access, \ u 572 include/rdma/uverbs_ioctl.h .u.enum_def.num_elems = ARRAY_SIZE(_enum_arr), \ u 238 include/scsi/iscsi_if.h } u; u 252 include/uapi/drm/radeon_drm.h unsigned int u; u 424 include/uapi/linux/batadv_packet.h struct batadv_unicast_packet u; u 163 include/uapi/linux/caif/caif_socket.h } u; u 859 include/uapi/linux/dvb/frontend.h } u; u 996 include/uapi/linux/dvb/frontend.h } u; u 134 include/uapi/linux/dvb/video.h } u; u 49 include/uapi/linux/erspan.h } u; u 108 include/uapi/linux/fscrypt.h } u; u 247 include/uapi/linux/if_bridge.h } u; u 61 include/uapi/linux/if_vlan.h } u; u 463 include/uapi/linux/input.h } u; u 209 include/uapi/linux/jffs2.h struct jffs2_unknown_node u; u 204 include/uapi/linux/kvm.h } u; u 651 include/uapi/linux/kvm.h } u; u 1051 include/uapi/linux/kvm.h } u; u 44 include/uapi/linux/net_dropmon.h } u; u 29 include/uapi/linux/netfilter/x_tables.h } u; u 52 include/uapi/linux/netfilter/x_tables.h } u; u 59 include/uapi/linux/netfilter/x_tables.h .target.u.user = { \ u 137 include/uapi/linux/netfilter/x_tables.h __i += __m->u.match_size) { \ u 185 include/uapi/linux/netfilter/x_tables.h (pos)->u.match_size)) u 53 include/uapi/linux/netfilter/xt_hashlimit.h } u; u 26 include/uapi/linux/netfilter/xt_set.h } u; u 33 include/uapi/linux/netfilter/xt_statistic.h } u; u 29 include/uapi/linux/netfilter/xt_string.h } u; u 129 include/uapi/linux/netfilter_bridge/ebtables.h } u; u 142 include/uapi/linux/netfilter_bridge/ebtables.h } u; u 155 include/uapi/linux/netfilter_bridge/ebtables.h } u; u 147 include/uapi/linux/rio_mport_cdev.h } u; u 490 include/uapi/linux/rtnetlink.h } u; u 197 include/uapi/linux/uhid.h } u; u 283 include/uapi/linux/usb/ch11.h } u; u 241 include/uapi/linux/usb/functionfs.h } __attribute__((packed)) u; u 60 include/uapi/linux/usb/gadgetfs.h } u; u 188 include/uapi/linux/vbox_vmmdev_types.h } u; u 228 include/uapi/linux/vbox_vmmdev_types.h } u; u 236 include/uapi/linux/vbox_vmmdev_types.h } u; u 251 include/uapi/linux/vbox_vmmdev_types.h } u; u 259 include/uapi/linux/vbox_vmmdev_types.h } __packed u; u 93 include/uapi/linux/vboxguest.h } u; u 119 include/uapi/linux/vboxguest.h } u; u 134 include/uapi/linux/vboxguest.h } u; u 198 include/uapi/linux/vboxguest.h } u; u 219 include/uapi/linux/vboxguest.h } u; u 251 include/uapi/linux/vboxguest.h } u; u 277 include/uapi/linux/vboxguest.h } u; u 301 include/uapi/linux/vboxguest.h } u; u 323 include/uapi/linux/vboxguest.h } u; u 2327 include/uapi/linux/videodev2.h } u; u 199 include/uapi/linux/virtio_crypto.h } u; u 214 include/uapi/linux/virtio_crypto.h } u; u 253 include/uapi/linux/virtio_crypto.h } u; u 380 include/uapi/linux/virtio_crypto.h } u; u 403 include/uapi/linux/virtio_crypto.h } u; u 67 include/uapi/linux/virtio_input.h } u; u 940 include/uapi/linux/wireless.h union iwreq_data u; u 1077 include/uapi/linux/wireless.h union iwreq_data u; /* IOCTL fixed payload */ u 57 include/uapi/mtd/inftl-user.h union inftl_uci u; u 63 include/uapi/mtd/nftl-user.h union nftl_uci u; u 527 include/uapi/sound/asequencer.h } u; u 151 include/xen/interface/event_channel.h } u; u 240 include/xen/interface/event_channel.h } u; u 379 include/xen/interface/grant_table.h } u; u 252 include/xen/interface/io/blkif.h } u; u 494 include/xen/interface/io/kbdif.h } u; u 883 include/xen/interface/io/netif.h } u; u 82 include/xen/interface/io/pvcalls.h } u; u 115 include/xen/interface/io/pvcalls.h } u; u 207 include/xen/interface/physdev.h } u; u 297 include/xen/interface/physdev.h } u; u 210 include/xen/interface/platform.h } u; u 279 include/xen/interface/platform.h } u; u 527 include/xen/interface/platform.h } u; u 331 include/xen/interface/xen-mca.h } u; u 741 include/xen/interface/xen.h } u; u 770 include/xen/interface/xen.h } u; u 236 ipc/mqueue.c struct user_struct *u = current_user(); u 316 ipc/mqueue.c if (u->mq_bytes + mq_bytes < u->mq_bytes || u 317 ipc/mqueue.c u->mq_bytes + mq_bytes > rlimit(RLIMIT_MSGQUEUE)) { u 323 ipc/mqueue.c u->mq_bytes += mq_bytes; u 327 ipc/mqueue.c info->user = get_uid(u); u 514 ipc/sem.c int nsems = params->u.nsems; u 575 ipc/sem.c if (params->u.nsems > sma->sem_nsems) u 598 ipc/sem.c sem_params.u.nsems = nsems; u 604 ipc/shm.c size_t size = params->u.size; u 720 ipc/shm.c if (shp->shm_segsz < params->u.size) u 740 ipc/shm.c shm_params.u.size = size; u 93 ipc/util.h } u; /* holds the getnew() specific param */ u 393 kernel/acct.c unsigned u; u 401 kernel/acct.c u = (u32)(value >> 40) & 0x7fffffu; u 402 kernel/acct.c return u | (exp << 23); u 1516 kernel/bpf/core.c COND_JMP(u, JEQ, ==) u 1517 kernel/bpf/core.c COND_JMP(u, JNE, !=) u 1518 kernel/bpf/core.c COND_JMP(u, JGT, >) u 1519 kernel/bpf/core.c COND_JMP(u, JLT, <) u 1520 kernel/bpf/core.c COND_JMP(u, JGE, >=) u 1521 kernel/bpf/core.c COND_JMP(u, JLE, <=) u 1522 kernel/bpf/core.c COND_JMP(u, JSET, &) u 227 kernel/bpf/helpers.c } u = { .lock = __ARCH_SPIN_LOCK_UNLOCKED }; u 229 kernel/bpf/helpers.c compiletime_assert(u.val == 0, "__ARCH_SPIN_LOCK_UNLOCKED not 0"); u 641 kernel/events/uprobes.c struct uprobe u = { .inode = inode, .offset = offset }; u 648 kernel/events/uprobes.c match = match_uprobe(&u, uprobe); u 679 kernel/events/uprobes.c struct uprobe *u; u 684 kernel/events/uprobes.c u = rb_entry(parent, struct uprobe, rb_node); u 685 kernel/events/uprobes.c match = match_uprobe(uprobe, u); u 687 kernel/events/uprobes.c return get_uprobe(u); u 696 kernel/events/uprobes.c u = NULL; u 702 kernel/events/uprobes.c return u; u 715 kernel/events/uprobes.c struct uprobe *u; u 718 kernel/events/uprobes.c u = __insert_uprobe(uprobe); u 721 kernel/events/uprobes.c return u; u 1277 kernel/events/uprobes.c struct uprobe *u = rb_entry(n, struct uprobe, rb_node); u 1279 kernel/events/uprobes.c if (inode < u->inode) { u 1281 kernel/events/uprobes.c } else if (inode > u->inode) { u 1284 kernel/events/uprobes.c if (max < u->offset) u 1286 kernel/events/uprobes.c else if (min > u->offset) u 1306 kernel/events/uprobes.c struct uprobe *u; u 1316 kernel/events/uprobes.c u = rb_entry(t, struct uprobe, rb_node); u 1317 kernel/events/uprobes.c if (u->inode != inode || u->offset < min) u 1319 kernel/events/uprobes.c list_add(&u->pending_list, head); u 1320 kernel/events/uprobes.c get_uprobe(u); u 1323 kernel/events/uprobes.c u = rb_entry(t, struct uprobe, rb_node); u 1324 kernel/events/uprobes.c if (u->inode != inode || u->offset > max) u 1326 kernel/events/uprobes.c list_add(&u->pending_list, head); u 1327 kernel/events/uprobes.c get_uprobe(u); u 1371 kernel/events/uprobes.c struct uprobe *uprobe, *u; u 1396 kernel/events/uprobes.c list_for_each_entry_safe(uprobe, u, &tmp_list, pending_list) { u 862 kernel/printk/printk.c unsigned int u; u 864 kernel/printk/printk.c u = simple_strtoul(line + 1, &endp, 10); u 866 kernel/printk/printk.c level = LOG_LEVEL(u); u 867 kernel/printk/printk.c if (LOG_FACILITY(u) != 0) u 868 kernel/printk/printk.c facility = LOG_FACILITY(u); u 1317 kernel/sys.c struct new_utsname *u; u 1320 kernel/sys.c u = utsname(); u 1321 kernel/sys.c memcpy(u->nodename, tmp, len); u 1322 kernel/sys.c memset(u->nodename + len, 0, sizeof(u->nodename) - len); u 1335 kernel/sys.c struct new_utsname *u; u 1341 kernel/sys.c u = utsname(); u 1342 kernel/sys.c i = 1 + strlen(u->nodename); u 1345 kernel/sys.c memcpy(tmp, u->nodename, i); u 1370 kernel/sys.c struct new_utsname *u; u 1373 kernel/sys.c u = utsname(); u 1374 kernel/sys.c memcpy(u->domainname, tmp, len); u 1375 kernel/sys.c memset(u->domainname + len, 0, sizeof(u->domainname) - len); u 605 kernel/time/time.c unsigned long __usecs_to_jiffies(const unsigned int u) u 607 kernel/time/time.c if (u > jiffies_to_usecs(MAX_JIFFY_OFFSET)) u 609 kernel/time/time.c return _usecs_to_jiffies(u); u 634 kernel/trace/trace_events_filter.c u##size *addr = (u##size *)(event + pred->offset); \ u 635 kernel/trace/trace_events_filter.c u##size val = (u##size)pred->val; \ u 176 kernel/trace/trace_probe.h #define __ADDR_FETCH_TYPE(t) u##t u 175 kernel/ucount.c static inline bool atomic_inc_below(atomic_t *v, int u) u 180 kernel/ucount.c if (unlikely(c >= u)) u 9 lib/ashldi3.c long long notrace __ashldi3(long long u, word_type b) u 15 lib/ashldi3.c return u; u 17 lib/ashldi3.c uu.ll = u; u 9 lib/ashrdi3.c long long notrace __ashrdi3(long long u, word_type b) u 15 lib/ashrdi3.c return u; u 17 lib/ashrdi3.c uu.ll = u; u 177 lib/atomic64.c s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) u 185 lib/atomic64.c if (val != u) u 574 lib/bch.c unsigned int u, v, r; u 583 lib/bch.c u = a_pow(bch, l0+l2+2*(GF_N(bch)-l1)); u 591 lib/bch.c v = u; u 598 lib/bch.c if ((gf_sqr(bch, r)^r) == u) { u 354 lib/inflate.c struct huft *u[BMAX]; /* table stack */ u 359 lib/inflate.c struct huft **u; u 371 lib/inflate.c u = stk->u; u 448 lib/inflate.c u[0] = (struct huft *)NULL; /* just to keep compilers happy */ u 492 lib/inflate.c huft_free(u[0]); u 500 lib/inflate.c u[h] = ++q; /* table starts after link */ u 511 lib/inflate.c u[h-1][j] = r; /* connect to last table */ u 9 lib/lshrdi3.c long long notrace __lshrdi3(long long u, word_type b) u 15 lib/lshrdi3.c return u; u 17 lib/lshrdi3.c uu.ll = u; u 232 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 238 lib/mpi/longlong.h : "%0" ((USItype)(u)), \ u 241 lib/mpi/longlong.h #define smul_ppmm(w1, w0, u, v) \ u 247 lib/mpi/longlong.h : "%0" ((SItype)(u)), \ u 250 lib/mpi/longlong.h #define __umulsidi3(u, v) \ u 254 lib/mpi/longlong.h : "%0" ((USItype)(u)), \ u 320 lib/mpi/longlong.h #define umul_ppmm(wh, wl, u, v) \ u 327 lib/mpi/longlong.h : "*f" ((USItype)(u)), \ u 415 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 419 lib/mpi/longlong.h : "%0" ((USItype)(u)), \ u 470 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 476 lib/mpi/longlong.h : "%dI" ((USItype)(u)), \ u 479 lib/mpi/longlong.h #define __umulsidi3(u, v) \ u 483 lib/mpi/longlong.h : "%dI" ((USItype)(u)), \ u 534 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 538 lib/mpi/longlong.h : "%0" ((USItype)(u)), \ u 613 lib/mpi/longlong.h #define umul_ppmm(wh, wl, u, v) \ u 618 lib/mpi/longlong.h __asm__ ("mulu.d %0,%1,%2" : "=r" (__x.__ll) : "r" (u), "r" (v)); \ u 642 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 644 lib/mpi/longlong.h UDItype __ll = (UDItype)(u) * (v); \ u 661 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 665 lib/mpi/longlong.h : "d" ((UDItype)(u)), \ u 669 lib/mpi/longlong.h : "d" ((UDItype)(u)), \ u 673 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 676 lib/mpi/longlong.h __ll_UTItype __ll = (__ll_UTItype)(u) * (v); \ u 689 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 695 lib/mpi/longlong.h : "%0" ((USItype)(u)), \ u 698 lib/mpi/longlong.h #define __umulsidi3(u, v) \ u 702 lib/mpi/longlong.h : "%0" ((USItype)(u)), \ u 858 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 865 lib/mpi/longlong.h : "g" ((USItype) (u)), \ u 933 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 940 lib/mpi/longlong.h : "r" ((USItype)(u)), \ u 975 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 979 lib/mpi/longlong.h : "r" ((USItype)(u)), \ u 1000 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 1004 lib/mpi/longlong.h : "r" ((USItype)(u)), \ u 1058 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 1101 lib/mpi/longlong.h : "%rI" ((USItype)(u)), \ u 1241 lib/mpi/longlong.h #define __umulsidi3(u, v) \ u 1243 lib/mpi/longlong.h umul_ppmm(__hi, __lo, u, v); \ u 1270 lib/mpi/longlong.h #define umul_ppmm(w1, w0, u, v) \ u 1274 lib/mpi/longlong.h UWtype __u = (u), __v = (v); \ u 1297 lib/mpi/longlong.h #define smul_ppmm(w1, w0, u, v) \ u 1300 lib/mpi/longlong.h UWtype __m0 = (u), __m1 = (v); \ u 23 lib/mpi/mpi-cmp.c int mpi_cmp_ui(MPI u, unsigned long v) u 27 lib/mpi/mpi-cmp.c mpi_normalize(u); u 28 lib/mpi/mpi-cmp.c if (!u->nlimbs && !limb) u 30 lib/mpi/mpi-cmp.c if (u->sign) u 32 lib/mpi/mpi-cmp.c if (u->nlimbs > 1) u 35 lib/mpi/mpi-cmp.c if (u->d[0] == limb) u 37 lib/mpi/mpi-cmp.c else if (u->d[0] > limb) u 44 lib/mpi/mpi-cmp.c int mpi_cmp(MPI u, MPI v) u 49 lib/mpi/mpi-cmp.c mpi_normalize(u); u 51 lib/mpi/mpi-cmp.c usize = u->nlimbs; u 53 lib/mpi/mpi-cmp.c if (!u->sign && v->sign) u 55 lib/mpi/mpi-cmp.c if (u->sign && !v->sign) u 57 lib/mpi/mpi-cmp.c if (usize != vsize && !u->sign && !v->sign) u 59 lib/mpi/mpi-cmp.c if (usize != vsize && u->sign && v->sign) u 63 lib/mpi/mpi-cmp.c cmp = mpihelp_cmp(u->d, v->d, usize); u 64 lib/mpi/mpi-cmp.c if (u->sign) u 16 lib/muldi3.c #define umul_ppmm(w1, w0, u, v) \ u 21 lib/muldi3.c __ul = __ll_lowpart(u); \ u 22 lib/muldi3.c __uh = __ll_highpart(u); \ u 42 lib/muldi3.c #define __umulsidi3(u, v) ({ \ u 44 lib/muldi3.c umul_ppmm(__w.s.high, __w.s.low, u, v); \ u 49 lib/muldi3.c long long notrace __muldi3(long long u, long long v) u 51 lib/muldi3.c const DWunion uu = {.ll = u}; u 23 lib/reed_solomon/decode_rs.c uint16_t u, q, tmp, num1, num2, den, discr_r, syn_error; u 114 lib/reed_solomon/decode_rs.c u = rs_modnn(rs, prim * (nn - 1 - (eras_pos[i] + pad))); u 119 lib/reed_solomon/decode_rs.c alpha_to[rs_modnn(rs, u + tmp)]; u 14 lib/test_bitfield.c u##tp _res; \ u 16 lib/test_bitfield.c _res = u##tp##_encode_bits(v, field); \ u 22 lib/test_bitfield.c if (u##tp##_get_bits(_res, field) != v) \ u 72 lib/test_bpf.c } u; u 101 lib/test_bpf.c self->u.ptr.insns = insn; u 102 lib/test_bpf.c self->u.ptr.len = len; u 120 lib/test_bpf.c self->u.ptr.insns = insn; u 121 lib/test_bpf.c self->u.ptr.len = len; u 147 lib/test_bpf.c self->u.ptr.insns = insn; u 148 lib/test_bpf.c self->u.ptr.len = len; u 166 lib/test_bpf.c self->u.ptr.insns = insn; u 167 lib/test_bpf.c self->u.ptr.len = len; u 189 lib/test_bpf.c self->u.ptr.insns = insn; u 190 lib/test_bpf.c self->u.ptr.len = len; u 211 lib/test_bpf.c self->u.ptr.insns = insn; u 212 lib/test_bpf.c self->u.ptr.len = len; u 237 lib/test_bpf.c self->u.ptr.insns = insn; u 238 lib/test_bpf.c self->u.ptr.len = len; u 260 lib/test_bpf.c self->u.ptr.insns = insn; u 261 lib/test_bpf.c self->u.ptr.len = len; u 286 lib/test_bpf.c self->u.ptr.insns = insn; u 287 lib/test_bpf.c self->u.ptr.len = len; u 311 lib/test_bpf.c self->u.ptr.insns = insn; u 312 lib/test_bpf.c self->u.ptr.len = len; u 340 lib/test_bpf.c self->u.ptr.insns = insn; u 341 lib/test_bpf.c self->u.ptr.len = len; u 369 lib/test_bpf.c self->u.ptr.insns = insn; u 370 lib/test_bpf.c self->u.ptr.len = len; u 392 lib/test_bpf.c self->u.ptr.insns = insn; u 393 lib/test_bpf.c self->u.ptr.len = len; u 422 lib/test_bpf.c self->u.ptr.insns = insn; u 423 lib/test_bpf.c self->u.ptr.len = len; u 447 lib/test_bpf.c self->u.ptr.insns = insn; u 448 lib/test_bpf.c self->u.ptr.len = len; u 467 lib/test_bpf.c .u.insns = { u 486 lib/test_bpf.c .u.insns = { u 498 lib/test_bpf.c .u.insns = { u 513 lib/test_bpf.c .u.insns = { u 537 lib/test_bpf.c .u.insns = { u 553 lib/test_bpf.c .u.insns = { u 565 lib/test_bpf.c .u.insns = { u 576 lib/test_bpf.c .u.insns = { u 586 lib/test_bpf.c .u.insns = { u 599 lib/test_bpf.c .u.insns = { u 613 lib/test_bpf.c .u.insns = { u 626 lib/test_bpf.c .u.insns = { u 640 lib/test_bpf.c .u.insns = { u 661 lib/test_bpf.c .u.insns = { u 672 lib/test_bpf.c .u.insns = { u 683 lib/test_bpf.c .u.insns = { u 694 lib/test_bpf.c .u.insns = { u 713 lib/test_bpf.c .u.insns = { u 727 lib/test_bpf.c .u.insns = { u 741 lib/test_bpf.c .u.insns = { u 752 lib/test_bpf.c .u.insns = { u 763 lib/test_bpf.c .u.insns = { u 778 lib/test_bpf.c .u.insns = { u 796 lib/test_bpf.c .u.insns = { u 834 lib/test_bpf.c .u.insns = { u 861 lib/test_bpf.c .u.insns = { u 874 lib/test_bpf.c .u.insns = { u 896 lib/test_bpf.c .u.insns = { u 909 lib/test_bpf.c .u.insns = { u 922 lib/test_bpf.c .u.insns = { u 935 lib/test_bpf.c .u.insns = { u 948 lib/test_bpf.c .u.insns = { u 967 lib/test_bpf.c .u.insns = { u 999 lib/test_bpf.c .u.insns = { u 1044 lib/test_bpf.c .u.insns = { u 1097 lib/test_bpf.c .u.insns = { u 1108 lib/test_bpf.c .u.insns_int = { u 1124 lib/test_bpf.c .u.insns_int = { u 1140 lib/test_bpf.c .u.insns_int = { u 1157 lib/test_bpf.c .u.insns_int = { u 1178 lib/test_bpf.c .u.insns_int = { u 1336 lib/test_bpf.c .u.insns_int = { u 1482 lib/test_bpf.c .u.insns_int = { u 1615 lib/test_bpf.c .u.insns_int = { u 1681 lib/test_bpf.c .u.insns_int = { u 1743 lib/test_bpf.c .u.insns_int = { u 1783 lib/test_bpf.c .u.insns_int = { u 1823 lib/test_bpf.c .u.insns_int = { u 1863 lib/test_bpf.c .u.insns_int = { u 1883 lib/test_bpf.c .u.insns_int = { u 1921 lib/test_bpf.c .u.insns = { u 1932 lib/test_bpf.c .u.insns = { u 1944 lib/test_bpf.c .u.insns = { u 1957 lib/test_bpf.c .u.insns = { u 1969 lib/test_bpf.c .u.insns = { u 2051 lib/test_bpf.c .u.insns = { u 2062 lib/test_bpf.c .u.insns = { u 2074 lib/test_bpf.c .u.insns = { u 2164 lib/test_bpf.c .u.insns = { u 2237 lib/test_bpf.c .u.insns = { u 2250 lib/test_bpf.c .u.insns = { u 2261 lib/test_bpf.c .u.insns_int = { u 2284 lib/test_bpf.c .u.insns_int = { u 2295 lib/test_bpf.c .u.insns_int = { u 2306 lib/test_bpf.c .u.insns_int = { u 2317 lib/test_bpf.c .u.insns_int = { u 2329 lib/test_bpf.c .u.insns_int = { u 2339 lib/test_bpf.c .u.insns_int = { u 2349 lib/test_bpf.c .u.insns_int = { u 2365 lib/test_bpf.c .u.insns_int = { u 2375 lib/test_bpf.c .u.insns_int = { u 2385 lib/test_bpf.c .u.insns_int = { u 2401 lib/test_bpf.c .u.insns_int = { u 2418 lib/test_bpf.c .u.insns_int = { u 2430 lib/test_bpf.c .u.insns_int = { u 2442 lib/test_bpf.c .u.insns_int = { u 2458 lib/test_bpf.c .u.insns_int = { u 2470 lib/test_bpf.c .u.insns_int = { u 2482 lib/test_bpf.c .u.insns_int = { u 2500 lib/test_bpf.c .u.insns_int = { u 2511 lib/test_bpf.c .u.insns_int = { u 2522 lib/test_bpf.c .u.insns_int = { u 2533 lib/test_bpf.c .u.insns_int = { u 2548 lib/test_bpf.c .u.insns_int = { u 2564 lib/test_bpf.c .u.insns_int = { u 2580 lib/test_bpf.c .u.insns_int = { u 2596 lib/test_bpf.c .u.insns_int = { u 2612 lib/test_bpf.c .u.insns_int = { u 2628 lib/test_bpf.c .u.insns_int = { u 2639 lib/test_bpf.c .u.insns_int = { u 2650 lib/test_bpf.c .u.insns_int = { u 2661 lib/test_bpf.c .u.insns_int = { u 2677 lib/test_bpf.c .u.insns_int = { u 2688 lib/test_bpf.c .u.insns_int = { u 2704 lib/test_bpf.c .u.insns_int = { u 2720 lib/test_bpf.c .u.insns_int = { u 2736 lib/test_bpf.c .u.insns_int = { u 2752 lib/test_bpf.c .u.insns_int = { u 2768 lib/test_bpf.c .u.insns_int = { u 2785 lib/test_bpf.c .u.insns_int = { u 2797 lib/test_bpf.c .u.insns_int = { u 2809 lib/test_bpf.c .u.insns_int = { u 2821 lib/test_bpf.c .u.insns_int = { u 2834 lib/test_bpf.c .u.insns_int = { u 2845 lib/test_bpf.c .u.insns_int = { u 2856 lib/test_bpf.c .u.insns_int = { u 2867 lib/test_bpf.c .u.insns_int = { u 2878 lib/test_bpf.c .u.insns_int = { u 2889 lib/test_bpf.c .u.insns_int = { u 2900 lib/test_bpf.c .u.insns_int = { u 2912 lib/test_bpf.c .u.insns_int = { u 2924 lib/test_bpf.c .u.insns_int = { u 2936 lib/test_bpf.c .u.insns_int = { u 2948 lib/test_bpf.c .u.insns_int = { u 2960 lib/test_bpf.c .u.insns_int = { u 2973 lib/test_bpf.c .u.insns_int = { u 2984 lib/test_bpf.c .u.insns_int = { u 2995 lib/test_bpf.c .u.insns_int = { u 3006 lib/test_bpf.c .u.insns_int = { u 3022 lib/test_bpf.c .u.insns_int = { u 3033 lib/test_bpf.c .u.insns_int = { u 3044 lib/test_bpf.c .u.insns_int = { u 3055 lib/test_bpf.c .u.insns_int = { u 3066 lib/test_bpf.c .u.insns_int = { u 3083 lib/test_bpf.c .u.insns_int = { u 3095 lib/test_bpf.c .u.insns_int = { u 3107 lib/test_bpf.c .u.insns_int = { u 3119 lib/test_bpf.c .u.insns_int = { u 3131 lib/test_bpf.c .u.insns_int = { u 3149 lib/test_bpf.c .u.insns_int = { u 3160 lib/test_bpf.c .u.insns_int = { u 3171 lib/test_bpf.c .u.insns_int = { u 3182 lib/test_bpf.c .u.insns_int = { u 3198 lib/test_bpf.c .u.insns_int = { u 3209 lib/test_bpf.c .u.insns_int = { u 3220 lib/test_bpf.c .u.insns_int = { u 3231 lib/test_bpf.c .u.insns_int = { u 3248 lib/test_bpf.c .u.insns_int = { u 3260 lib/test_bpf.c .u.insns_int = { u 3272 lib/test_bpf.c .u.insns_int = { u 3284 lib/test_bpf.c .u.insns_int = { u 3297 lib/test_bpf.c .u.insns_int = { u 3308 lib/test_bpf.c .u.insns_int = { u 3319 lib/test_bpf.c .u.insns_int = { u 3330 lib/test_bpf.c .u.insns_int = { u 3341 lib/test_bpf.c .u.insns_int = { u 3352 lib/test_bpf.c .u.insns_int = { u 3364 lib/test_bpf.c .u.insns_int = { u 3376 lib/test_bpf.c .u.insns_int = { u 3388 lib/test_bpf.c .u.insns_int = { u 3400 lib/test_bpf.c .u.insns_int = { u 3413 lib/test_bpf.c .u.insns_int = { u 3424 lib/test_bpf.c .u.insns_int = { u 3435 lib/test_bpf.c .u.insns_int = { u 3446 lib/test_bpf.c .u.insns_int = { u 3457 lib/test_bpf.c .u.insns_int = { u 3473 lib/test_bpf.c .u.insns_int = { u 3489 lib/test_bpf.c .u.insns_int = { u 3506 lib/test_bpf.c .u.insns_int = { u 3518 lib/test_bpf.c .u.insns_int = { u 3530 lib/test_bpf.c .u.insns_int = { u 3542 lib/test_bpf.c .u.insns_int = { u 3555 lib/test_bpf.c .u.insns_int = { u 3566 lib/test_bpf.c .u.insns_int = { u 3577 lib/test_bpf.c .u.insns_int = { u 3588 lib/test_bpf.c .u.insns_int = { u 3599 lib/test_bpf.c .u.insns_int = { u 3615 lib/test_bpf.c .u.insns_int = { u 3631 lib/test_bpf.c .u.insns_int = { u 3648 lib/test_bpf.c .u.insns_int = { u 3660 lib/test_bpf.c .u.insns_int = { u 3672 lib/test_bpf.c .u.insns_int = { u 3684 lib/test_bpf.c .u.insns_int = { u 3697 lib/test_bpf.c .u.insns_int = { u 3708 lib/test_bpf.c .u.insns_int = { u 3719 lib/test_bpf.c .u.insns_int = { u 3730 lib/test_bpf.c .u.insns_int = { u 3741 lib/test_bpf.c .u.insns_int = { u 3757 lib/test_bpf.c .u.insns_int = { u 3773 lib/test_bpf.c .u.insns_int = { u 3790 lib/test_bpf.c .u.insns_int = { u 3802 lib/test_bpf.c .u.insns_int = { u 3814 lib/test_bpf.c .u.insns_int = { u 3826 lib/test_bpf.c .u.insns_int = { u 3839 lib/test_bpf.c .u.insns_int = { u 3850 lib/test_bpf.c .u.insns_int = { u 3861 lib/test_bpf.c .u.insns_int = { u 3872 lib/test_bpf.c .u.insns_int = { u 3884 lib/test_bpf.c .u.insns_int = { u 3896 lib/test_bpf.c .u.insns_int = { u 3908 lib/test_bpf.c .u.insns_int = { u 3920 lib/test_bpf.c .u.insns_int = { u 3933 lib/test_bpf.c .u.insns_int = { u 3944 lib/test_bpf.c .u.insns_int = { u 3955 lib/test_bpf.c .u.insns_int = { u 3966 lib/test_bpf.c .u.insns_int = { u 3978 lib/test_bpf.c .u.insns_int = { u 3991 lib/test_bpf.c .u.insns_int = { u 4003 lib/test_bpf.c .u.insns_int = { u 4014 lib/test_bpf.c .u.insns_int = { u 4025 lib/test_bpf.c .u.insns_int = { u 4036 lib/test_bpf.c .u.insns_int = { u 4048 lib/test_bpf.c .u.insns_int = { u 4059 lib/test_bpf.c .u.insns_int = { u 4073 lib/test_bpf.c .u.insns_int = { u 4085 lib/test_bpf.c .u.insns_int = { u 4096 lib/test_bpf.c .u.insns_int = { u 4110 lib/test_bpf.c .u.insns_int = { u 4122 lib/test_bpf.c .u.insns_int = { u 4135 lib/test_bpf.c .u.insns_int = { u 4148 lib/test_bpf.c .u.insns_int = { u 4162 lib/test_bpf.c .u.insns_int = { u 4175 lib/test_bpf.c .u.insns_int = { u 4188 lib/test_bpf.c .u.insns_int = { u 4202 lib/test_bpf.c .u.insns_int = { u 4215 lib/test_bpf.c .u.insns_int = { u 4228 lib/test_bpf.c .u.insns_int = { u 4242 lib/test_bpf.c .u.insns_int = { u 4255 lib/test_bpf.c .u.insns_int = { u 4273 lib/test_bpf.c .u.insns_int = { u 4286 lib/test_bpf.c .u.insns_int = { u 4301 lib/test_bpf.c .u.insns_int = { u 4315 lib/test_bpf.c .u.insns_int = { u 4331 lib/test_bpf.c .u.insns_int = { u 4352 lib/test_bpf.c .u.insns_int = { u 4366 lib/test_bpf.c .u.insns_int = { u 4382 lib/test_bpf.c .u.insns_int = { u 4404 lib/test_bpf.c .u.insns_int = { u 4416 lib/test_bpf.c .u.insns_int = { u 4430 lib/test_bpf.c .u.insns_int = { u 4444 lib/test_bpf.c .u.insns_int = { u 4459 lib/test_bpf.c .u.insns_int = { u 4473 lib/test_bpf.c .u.insns_int = { u 4488 lib/test_bpf.c .u.insns_int = { u 4502 lib/test_bpf.c .u.insns_int = { u 4516 lib/test_bpf.c .u.insns_int = { u 4536 lib/test_bpf.c .u.insns_int = { u 4555 lib/test_bpf.c .u.insns_int = { u 4569 lib/test_bpf.c .u.insns_int = { u 4583 lib/test_bpf.c .u.insns_int = { u 4603 lib/test_bpf.c .u.insns_int = { u 4622 lib/test_bpf.c .u.insns_int = { u 4636 lib/test_bpf.c .u.insns_int = { u 4651 lib/test_bpf.c .u.insns_int = { u 4665 lib/test_bpf.c .u.insns_int = { u 4680 lib/test_bpf.c .u.insns_int = { u 4695 lib/test_bpf.c .u.insns_int = { u 4710 lib/test_bpf.c .u.insns_int = { u 4725 lib/test_bpf.c .u.insns_int = { u 4740 lib/test_bpf.c .u.insns_int = { u 4755 lib/test_bpf.c .u.insns_int = { u 4770 lib/test_bpf.c .u.insns_int = { u 4785 lib/test_bpf.c .u.insns_int = { u 4800 lib/test_bpf.c .u.insns_int = { u 4814 lib/test_bpf.c .u.insns_int = { u 4829 lib/test_bpf.c .u.insns_int = { u 4844 lib/test_bpf.c .u.insns_int = { u 4860 lib/test_bpf.c .u.insns_int = { u 4875 lib/test_bpf.c .u.insns_int = { u 4891 lib/test_bpf.c .u.insns_int = { u 4906 lib/test_bpf.c .u.insns_int = { u 4922 lib/test_bpf.c .u.insns_int = { u 4937 lib/test_bpf.c .u.insns_int = { u 4953 lib/test_bpf.c .u.insns_int = { u 4968 lib/test_bpf.c .u.insns_int = { u 4984 lib/test_bpf.c .u.insns_int = { u 4999 lib/test_bpf.c .u.insns_int = { u 5015 lib/test_bpf.c .u.insns_int = { u 5030 lib/test_bpf.c .u.insns_int = { u 5046 lib/test_bpf.c .u.insns_int = { u 5061 lib/test_bpf.c .u.insns_int = { u 5077 lib/test_bpf.c .u.insns_int = { u 5092 lib/test_bpf.c .u.insns_int = { u 5106 lib/test_bpf.c .u.insns_int = { u 5121 lib/test_bpf.c .u.insns_int = { u 5136 lib/test_bpf.c .u.insns_int = { u 5150 lib/test_bpf.c .u.insns_int = { u 5166 lib/test_bpf.c .u.insns_int = { u 5182 lib/test_bpf.c .u.insns_int = { u 5198 lib/test_bpf.c .u.insns_int = { u 5213 lib/test_bpf.c .u.insns_int = { u 5381 lib/test_bpf.c .u.insns = { u 5397 lib/test_bpf.c .u.insns = { u 5413 lib/test_bpf.c .u.insns = { u 5429 lib/test_bpf.c .u.insns = { u 5441 lib/test_bpf.c .u.insns = { u 5453 lib/test_bpf.c .u.insns = { u 5468 lib/test_bpf.c .u.insns = { u 5483 lib/test_bpf.c .u.insns = { u 5498 lib/test_bpf.c .u.insns = { u 5509 lib/test_bpf.c .u.insns = { u 5527 lib/test_bpf.c .u.insns = { u 5537 lib/test_bpf.c .u.insns = { u 5548 lib/test_bpf.c .u.insns = { u 5559 lib/test_bpf.c .u.insns = { u 5570 lib/test_bpf.c .u.insns = { u 5581 lib/test_bpf.c .u.insns = { u 5592 lib/test_bpf.c .u.insns = { u 5606 lib/test_bpf.c .u.insns = { u 5622 lib/test_bpf.c .u.insns = { u 5638 lib/test_bpf.c .u.insns = { u 5654 lib/test_bpf.c .u.insns = { u 5665 lib/test_bpf.c .u.insns = { u 5676 lib/test_bpf.c .u.insns = { u 5687 lib/test_bpf.c .u.insns = { u 5705 lib/test_bpf.c .u.insns = { u 5723 lib/test_bpf.c .u.insns = { u 5741 lib/test_bpf.c .u.insns = { u 5759 lib/test_bpf.c .u.insns = { u 5777 lib/test_bpf.c .u.insns = { u 5788 lib/test_bpf.c .u.insns = { u 5799 lib/test_bpf.c .u.insns = { u 5810 lib/test_bpf.c .u.insns = { u 5827 lib/test_bpf.c .u.insns = { u 5837 lib/test_bpf.c .u.insns = { u 5847 lib/test_bpf.c .u.insns = { u 5856 lib/test_bpf.c .u.insns = { u 5866 lib/test_bpf.c .u.insns = { u 5876 lib/test_bpf.c .u.insns = { u 5889 lib/test_bpf.c .u.insns = { u 5906 lib/test_bpf.c .u.insns = { u 5923 lib/test_bpf.c .u.insns = { u 5933 lib/test_bpf.c .u.insns = { u 5943 lib/test_bpf.c .u.insns = { u 5952 lib/test_bpf.c .u.insns = { u 5962 lib/test_bpf.c .u.insns = { u 5972 lib/test_bpf.c .u.insns = { u 5989 lib/test_bpf.c .u.insns = { u 6006 lib/test_bpf.c .u.insns = { u 6023 lib/test_bpf.c .u.insns = { u 6040 lib/test_bpf.c .u.insns = { u 6050 lib/test_bpf.c .u.insns = { u 6060 lib/test_bpf.c .u.insns = { u 6069 lib/test_bpf.c .u.insns = { u 6079 lib/test_bpf.c .u.insns = { u 6089 lib/test_bpf.c .u.insns = { u 6100 lib/test_bpf.c .u.insns = { u 6114 lib/test_bpf.c .u.insns = { u 6126 lib/test_bpf.c .u.insns = { u 6138 lib/test_bpf.c .u.insns = { u 6150 lib/test_bpf.c .u.insns = { u 6162 lib/test_bpf.c .u.insns = { u 6178 lib/test_bpf.c .u.insns = { u 6194 lib/test_bpf.c .u.insns = { u 6208 lib/test_bpf.c .u.insns = { u 6224 lib/test_bpf.c .u.insns = { u 6238 lib/test_bpf.c .u.insns = { u 6254 lib/test_bpf.c .u.insns = { u 6268 lib/test_bpf.c .u.insns = { u 6284 lib/test_bpf.c .u.insns = { u 6298 lib/test_bpf.c .u.insns = { u 6314 lib/test_bpf.c .u.insns = { u 6328 lib/test_bpf.c .u.insns = { u 6344 lib/test_bpf.c .u.insns = { u 6363 lib/test_bpf.c .u.insns_int = { u 6379 lib/test_bpf.c .u.insns_int = { u 6395 lib/test_bpf.c .u.insns_int = { u 6412 lib/test_bpf.c .u.insns_int = { u 6425 lib/test_bpf.c .u.insns_int = { u 6438 lib/test_bpf.c .u.insns_int = { u 6451 lib/test_bpf.c .u.insns = { u 6560 lib/test_bpf.c return tests[which].u.ptr.len; u 6562 lib/test_bpf.c fp = tests[which].u.insns; u 6573 lib/test_bpf.c return tests[which].u.ptr.insns; u 6575 lib/test_bpf.c return tests[which].u.insns; u 6794 lib/test_bpf.c kfree(tests[i].u.ptr.insns); u 113 lib/uuid.c int guid_parse(const char *uuid, guid_t *u) u 115 lib/uuid.c return __uuid_parse(uuid, u->b, guid_index); u 119 lib/uuid.c int uuid_parse(const char *uuid, uuid_t *u) u 121 lib/uuid.c return __uuid_parse(uuid, u->b, uuid_index); u 3141 lib/vsprintf.c unsigned long long u; u 3350 lib/vsprintf.c val.u = qualifier != 'L' ? u 3361 lib/vsprintf.c val.u = div_u64(val.u, base); u 3371 lib/vsprintf.c *va_arg(args, unsigned char *) = val.u; u 3377 lib/vsprintf.c *va_arg(args, unsigned short *) = val.u; u 3383 lib/vsprintf.c *va_arg(args, unsigned long *) = val.u; u 3389 lib/vsprintf.c *va_arg(args, unsigned long long *) = val.u; u 3392 lib/vsprintf.c *va_arg(args, size_t *) = val.u; u 3398 lib/vsprintf.c *va_arg(args, unsigned int *) = val.u; u 399 lib/zstd/compress.c U32 u; u 400 lib/zstd/compress.c for (u = 0; u < size; u++) { u 401 lib/zstd/compress.c if (table[u] < reducerValue) u 402 lib/zstd/compress.c table[u] = 0; u 404 lib/zstd/compress.c table[u] -= reducerValue; u 572 lib/zstd/compress.c U32 u; u 573 lib/zstd/compress.c for (u = 0; u < nbSeq; u++) { u 574 lib/zstd/compress.c U32 const llv = sequences[u].litLength; u 575 lib/zstd/compress.c U32 const mlv = sequences[u].matchLength; u 576 lib/zstd/compress.c llCodeTable[u] = (llv > 63) ? (BYTE)ZSTD_highbit32(llv) + LL_deltaCode : LL_Code[llv]; u 577 lib/zstd/compress.c ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); u 578 lib/zstd/compress.c mlCodeTable[u] = (mlv > 127) ? (BYTE)ZSTD_highbit32(mlv) + ML_deltaCode : ML_Code[mlv]; u 953 lib/zstd/compress.c static U32 ZSTD_hash3(U32 u, U32 h) { return ((u << (32 - 24)) * prime3bytes) >> (32 - h); } u 957 lib/zstd/compress.c static U32 ZSTD_hash4(U32 u, U32 h) { return (u * prime4bytes) >> (32 - h); } u 961 lib/zstd/compress.c static size_t ZSTD_hash5(U64 u, U32 h) { return (size_t)(((u << (64 - 40)) * prime5bytes) >> (64 - h)); } u 965 lib/zstd/compress.c static size_t ZSTD_hash6(U64 u, U32 h) { return (size_t)(((u << (64 - 48)) * prime6bytes) >> (64 - h)); } u 969 lib/zstd/compress.c static size_t ZSTD_hash7(U64 u, U32 h) { return (size_t)(((u << (64 - 56)) * prime7bytes) >> (64 - h)); } u 973 lib/zstd/compress.c static size_t ZSTD_hash8(U64 u, U32 h) { return (size_t)(((u)*prime8bytes) >> (64 - h)); } u 2706 lib/zstd/compress.c U32 u; u 2707 lib/zstd/compress.c for (u = 0; u < 3; u++) { u 2708 lib/zstd/compress.c if (cctx->rep[u] == 0) u 2710 lib/zstd/compress.c if (cctx->rep[u] > dictContentSize) u 126 lib/zstd/fse_compress.c U32 u; u 128 lib/zstd/fse_compress.c for (u = 1; u <= maxSymbolValue + 1; u++) { u 129 lib/zstd/fse_compress.c if (normalizedCounter[u - 1] == -1) { /* Low proba symbol */ u 130 lib/zstd/fse_compress.c cumul[u] = cumul[u - 1] + 1; u 131 lib/zstd/fse_compress.c tableSymbol[highThreshold--] = (FSE_FUNCTION_TYPE)(u - 1); u 133 lib/zstd/fse_compress.c cumul[u] = cumul[u - 1] + normalizedCounter[u - 1]; u 159 lib/zstd/fse_compress.c U32 u; u 160 lib/zstd/fse_compress.c for (u = 0; u < tableSize; u++) { u 161 lib/zstd/fse_compress.c FSE_FUNCTION_TYPE s = tableSymbol[u]; /* note : static analyzer may not understand tableSymbol is properly initialized */ u 162 lib/zstd/fse_compress.c tableU16[cumul[s]++] = (U16)(tableSize + u); /* TableU16 : sorted by symbol order; gives next state value */ u 155 lib/zstd/fse_decompress.c U32 u; u 156 lib/zstd/fse_decompress.c for (u = 0; u < tableSize; u++) { u 157 lib/zstd/fse_decompress.c FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol); u 159 lib/zstd/fse_decompress.c tableDecode[u].nbBits = (BYTE)(tableLog - BIT_highbit32((U32)nextState)); u 160 lib/zstd/fse_decompress.c tableDecode[u].newState = (U16)((nextState << tableDecode[u].nbBits) - tableSize); u 145 lib/zstd/huf_decompress.c U32 u; u 149 lib/zstd/huf_decompress.c for (u = rankVal[w]; u < rankVal[w] + length; u++) u 150 lib/zstd/huf_decompress.c dt[u] = D; u 473 lib/zstd/huf_decompress.c U32 u; u 474 lib/zstd/huf_decompress.c for (u = start; u < end; u++) u 475 lib/zstd/huf_decompress.c DTable[u] = DElt; u 40 lib/zstd/zstd_opt.h unsigned u; u 50 lib/zstd/zstd_opt.h for (u = 0; u <= MaxLit; u++) u 51 lib/zstd/zstd_opt.h ssPtr->litFreq[u] = 0; u 52 lib/zstd/zstd_opt.h for (u = 0; u < srcSize; u++) u 53 lib/zstd/zstd_opt.h ssPtr->litFreq[src[u]]++; u 61 lib/zstd/zstd_opt.h for (u = 0; u <= MaxLit; u++) { u 62 lib/zstd/zstd_opt.h ssPtr->litFreq[u] = 1 + (ssPtr->litFreq[u] >> ZSTD_FREQ_DIV); u 63 lib/zstd/zstd_opt.h ssPtr->litSum += ssPtr->litFreq[u]; u 65 lib/zstd/zstd_opt.h for (u = 0; u <= MaxLL; u++) u 66 lib/zstd/zstd_opt.h ssPtr->litLengthFreq[u] = 1; u 67 lib/zstd/zstd_opt.h for (u = 0; u <= MaxML; u++) u 68 lib/zstd/zstd_opt.h ssPtr->matchLengthFreq[u] = 1; u 69 lib/zstd/zstd_opt.h for (u = 0; u <= MaxOff; u++) u 70 lib/zstd/zstd_opt.h ssPtr->offCodeFreq[u] = 1; u 78 lib/zstd/zstd_opt.h for (u = 0; u <= MaxLit; u++) { u 79 lib/zstd/zstd_opt.h ssPtr->litFreq[u] = 1 + (ssPtr->litFreq[u] >> (ZSTD_FREQ_DIV + 1)); u 80 lib/zstd/zstd_opt.h ssPtr->litSum += ssPtr->litFreq[u]; u 82 lib/zstd/zstd_opt.h for (u = 0; u <= MaxLL; u++) { u 83 lib/zstd/zstd_opt.h ssPtr->litLengthFreq[u] = 1 + (ssPtr->litLengthFreq[u] >> (ZSTD_FREQ_DIV + 1)); u 84 lib/zstd/zstd_opt.h ssPtr->litLengthSum += ssPtr->litLengthFreq[u]; u 86 lib/zstd/zstd_opt.h for (u = 0; u <= MaxML; u++) { u 87 lib/zstd/zstd_opt.h ssPtr->matchLengthFreq[u] = 1 + (ssPtr->matchLengthFreq[u] >> ZSTD_FREQ_DIV); u 88 lib/zstd/zstd_opt.h ssPtr->matchLengthSum += ssPtr->matchLengthFreq[u]; u 89 lib/zstd/zstd_opt.h ssPtr->matchSum += ssPtr->matchLengthFreq[u] * (u + 3); u 92 lib/zstd/zstd_opt.h for (u = 0; u <= MaxOff; u++) { u 93 lib/zstd/zstd_opt.h ssPtr->offCodeFreq[u] = 1 + (ssPtr->offCodeFreq[u] >> ZSTD_FREQ_DIV); u 94 lib/zstd/zstd_opt.h ssPtr->offCodeSum += ssPtr->offCodeFreq[u]; u 103 lib/zstd/zstd_opt.h U32 price, u; u 116 lib/zstd/zstd_opt.h for (u = 0; u < additional; u++) u 117 lib/zstd/zstd_opt.h price -= ZSTD_highbit32(ssPtr->litFreq[literals2[u]] + 1); u 122 lib/zstd/zstd_opt.h for (u = 0; u < litLength; u++) u 123 lib/zstd/zstd_opt.h price -= ZSTD_highbit32(ssPtr->litFreq[literals[u]] + 1); u 167 lib/zstd/zstd_opt.h U32 u; u 171 lib/zstd/zstd_opt.h for (u = 0; u < litLength; u++) u 172 lib/zstd/zstd_opt.h seqStorePtr->litFreq[literals[u]] += ZSTD_LITFREQ_ADD; u 441 lib/zstd/zstd_opt.h U32 u, mlen, best_mlen, best_off, litLength; u 489 lib/zstd/zstd_opt.h for (u = 0; u < match_num; u++) { u 490 lib/zstd/zstd_opt.h mlen = (u > 0) ? matches[u - 1].len + 1 : best_mlen; u 491 lib/zstd/zstd_opt.h best_mlen = matches[u].len; u 493 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); u 495 lib/zstd/zstd_opt.h SET_PRICE(mlen, mlen, matches[u].off, litlen, price); /* note : macro modifies last_pos */ u 601 lib/zstd/zstd_opt.h for (u = 0; u < match_num; u++) { u 602 lib/zstd/zstd_opt.h mlen = (u > 0) ? matches[u - 1].len + 1 : best_mlen; u 603 lib/zstd/zstd_opt.h best_mlen = matches[u].len; u 610 lib/zstd/zstd_opt.h matches[u].off - 1, mlen - MINMATCH, ultra); u 612 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); u 615 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, matches[u].off - 1, mlen - MINMATCH, ultra); u 619 lib/zstd/zstd_opt.h SET_PRICE(cur + mlen, mlen, matches[u].off, litlen, price); u 646 lib/zstd/zstd_opt.h for (u = 0; u <= last_pos;) { u 647 lib/zstd/zstd_opt.h u += opt[u].mlen; u 739 lib/zstd/zstd_opt.h U32 u, mlen, best_mlen, best_off, litLength; u 805 lib/zstd/zstd_opt.h for (u = 0; u < match_num; u++) { u 806 lib/zstd/zstd_opt.h mlen = (u > 0) ? matches[u - 1].len + 1 : best_mlen; u 807 lib/zstd/zstd_opt.h best_mlen = matches[u].len; u 810 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); u 812 lib/zstd/zstd_opt.h SET_PRICE(mlen, mlen, matches[u].off, litlen, price); u 915 lib/zstd/zstd_opt.h for (u = 0; u < match_num; u++) { u 916 lib/zstd/zstd_opt.h mlen = (u > 0) ? matches[u - 1].len + 1 : best_mlen; u 917 lib/zstd/zstd_opt.h best_mlen = matches[u].len; u 924 lib/zstd/zstd_opt.h matches[u].off - 1, mlen - MINMATCH, ultra); u 926 lib/zstd/zstd_opt.h price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); u 929 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, matches[u].off - 1, mlen - MINMATCH, ultra); u 933 lib/zstd/zstd_opt.h SET_PRICE(cur + mlen, mlen, matches[u].off, litlen, price); u 960 lib/zstd/zstd_opt.h for (u = 0; u <= last_pos;) { u 961 lib/zstd/zstd_opt.h u += opt[u].mlen; u 151 mm/cleancache.c key->u.ino = inode->i_ino; u 155 mm/cleancache.c len = (*fhfn)(inode, &key->u.fh[0], &maxlen, NULL); u 180 mm/cleancache.c struct cleancache_filekey key = { .u.key = { 0 } }; u 218 mm/cleancache.c struct cleancache_filekey key = { .u.key = { 0 } }; u 248 mm/cleancache.c struct cleancache_filekey key = { .u.key = { 0 } }; u 276 mm/cleancache.c struct cleancache_filekey key = { .u.key = { 0 } }; u 36 mm/debug_page_ref.c void __page_ref_mod_unless(struct page *page, int v, int u) u 38 mm/debug_page_ref.c trace_page_ref_mod_unless(page, v, u); u 552 net/8021q/vlan.c args.u.device2[sizeof(args.u.device2) - 1] = 0; u 580 net/8021q/vlan.c args.u.skb_priority, u 590 net/8021q/vlan.c args.u.skb_priority, u 599 net/8021q/vlan.c args.vlan_qos ? args.u.flag : 0, u 600 net/8021q/vlan.c args.u.flag); u 607 net/8021q/vlan.c if (args.u.name_type < VLAN_NAME_TYPE_HIGHEST) { u 611 net/8021q/vlan.c vn->name_type = args.u.name_type; u 622 net/8021q/vlan.c err = register_vlan_device(dev, args.u.VID); u 635 net/8021q/vlan.c vlan_dev_get_realdev_name(dev, args.u.device2); u 643 net/8021q/vlan.c args.u.VID = vlan_dev_vlan_id(dev); u 444 net/batman-adv/distributed-arp-table.c switch (unicast_4addr_packet->u.packet_type) { u 469 net/batman-adv/distributed-arp-table.c unicast_4addr_packet->u.packet_type); u 482 net/batman-adv/distributed-arp-table.c unicast_4addr_packet->u.packet_type); u 223 net/batman-adv/multicast.c ipv6_addr_is_ll_all_routers(&br_ip_entry->addr.u.ip6)) u 564 net/batman-adv/multicast.c ip_eth_mc_map(src->u.ip4, dst); u 567 net/batman-adv/multicast.c ipv6_eth_mc_map(&src->u.ip6, dst); u 611 net/batman-adv/multicast.c ipv4_is_local_multicast(br_ip_entry->addr.u.ip4)) u 615 net/batman-adv/multicast.c !ipv4_is_local_multicast(br_ip_entry->addr.u.ip4)) u 625 net/batman-adv/multicast.c ipv6_addr_is_ll_all_nodes(&br_ip_entry->addr.u.ip6)) u 629 net/batman-adv/multicast.c IPV6_ADDR_MC_SCOPE(&br_ip_entry->addr.u.ip6) > u 305 net/batman-adv/send.c uc_4addr_packet->u.packet_type = BATADV_UNICAST_4ADDR; u 213 net/bluetooth/smp.c static int smp_f4(struct crypto_shash *tfm_cmac, const u8 u[32], u 219 net/bluetooth/smp.c SMP_DBG("u %32phN", u); u 225 net/bluetooth/smp.c memcpy(m + 33, u, 32); u 317 net/bluetooth/smp.c static int smp_g2(struct crypto_shash *tfm_cmac, const u8 u[32], const u8 v[32], u 323 net/bluetooth/smp.c SMP_DBG("u %32phN", u); u 329 net/bluetooth/smp.c memcpy(m + 48, u, 32); u 3632 net/bluetooth/smp.c const u8 u[32] = { u 3652 net/bluetooth/smp.c err = smp_f4(tfm_cmac, u, v, x, z, res); u 3734 net/bluetooth/smp.c const u8 u[32] = { u 3754 net/bluetooth/smp.c err = smp_g2(tfm_cmac, u, v, x, y, &val); u 73 net/bridge/br_mdb.c ip->u.ip4 = entry->addr.u.ip4; u 76 net/bridge/br_mdb.c ip->u.ip6 = entry->addr.u.ip6; u 104 net/bridge/br_mdb.c e.addr.u.ip4 = mp->addr.u.ip4; u 107 net/bridge/br_mdb.c e.addr.u.ip6 = mp->addr.u.ip6; u 355 net/bridge/br_mdb.c ip_eth_mc_map(entry->addr.u.ip4, mdb.addr); u 358 net/bridge/br_mdb.c ipv6_eth_mc_map(&entry->addr.u.ip6, mdb.addr); u 400 net/bridge/br_mdb.c ip_eth_mc_map(entry->addr.u.ip4, mdb.addr); u 403 net/bridge/br_mdb.c ipv6_eth_mc_map(&entry->addr.u.ip6, mdb.addr); u 451 net/bridge/br_mdb.c entry.addr.u.ip4 = group->u.ip4; u 453 net/bridge/br_mdb.c entry.addr.u.ip6 = group->u.ip6; u 533 net/bridge/br_mdb.c if (!ipv4_is_multicast(entry->addr.u.ip4)) u 535 net/bridge/br_mdb.c if (ipv4_is_local_multicast(entry->addr.u.ip4)) u 539 net/bridge/br_mdb.c if (ipv6_addr_is_ll_all_nodes(&entry->addr.u.ip6)) u 88 net/bridge/br_multicast.c br_dst.u.ip4 = dst; u 103 net/bridge/br_multicast.c br_dst.u.ip6 = *dst; u 128 net/bridge/br_multicast.c ip.u.ip4 = ip_hdr(skb)->daddr; u 132 net/bridge/br_multicast.c ip.u.ip6 = ipv6_hdr(skb)->daddr; u 429 net/bridge/br_multicast.c return br_ip4_multicast_alloc_query(br, addr->u.ip4, igmp_type); u 432 net/bridge/br_multicast.c return br_ip6_multicast_alloc_query(br, &addr->u.ip6, u 598 net/bridge/br_multicast.c br_group.u.ip4 = group; u 618 net/bridge/br_multicast.c br_group.u.ip6 = *group; u 650 net/bridge/br_multicast.c .u.mrouter = is_mc_router, u 705 net/bridge/br_multicast.c br->ip4_querier.addr.u.ip4 = ip_hdr(skb)->saddr; u 708 net/bridge/br_multicast.c br->ip6_querier.addr.u.ip6 = ipv6_hdr(skb)->saddr; u 751 net/bridge/br_multicast.c memset(&br_group.u, 0, sizeof(br_group.u)); u 818 net/bridge/br_multicast.c .u.mc_disabled = !value, u 1068 net/bridge/br_multicast.c if (!br->ip4_querier.addr.u.ip4) u 1071 net/bridge/br_multicast.c if (ntohl(saddr) <= ntohl(br->ip4_querier.addr.u.ip4)) u 1077 net/bridge/br_multicast.c br->ip4_querier.addr.u.ip4 = saddr; u 1094 net/bridge/br_multicast.c if (ipv6_addr_cmp(saddr, &br->ip6_querier.addr.u.ip6) <= 0) u 1100 net/bridge/br_multicast.c br->ip6_querier.addr.u.ip6 = *saddr; u 1115 net/bridge/br_multicast.c return br_ip4_multicast_select_querier(br, port, saddr->u.ip4); u 1118 net/bridge/br_multicast.c return br_ip6_multicast_select_querier(br, port, &saddr->u.ip6); u 1143 net/bridge/br_multicast.c .u.mrouter = is_mc_router, u 1259 net/bridge/br_multicast.c saddr.u.ip4 = iph->saddr; u 1341 net/bridge/br_multicast.c saddr.u.ip6 = ipv6_hdr(skb)->saddr; u 1501 net/bridge/br_multicast.c br_group.u.ip4 = group; u 1525 net/bridge/br_multicast.c br_group.u.ip6 = *group; u 35 net/bridge/br_stp.c .u.stp_state = state, u 568 net/bridge/br_stp.c .u.ageing_time = jiffies_to_clock_t(t), u 68 net/bridge/br_switchdev.c .u.brport_flags = mask, u 93 net/bridge/br_switchdev.c attr.u.brport_flags = flags; u 768 net/bridge/br_vlan.c .u.vlan_filtering = val, u 1088 net/bridge/br_vlan.c .u.vlan_filtering = br_opt_get(p->br, BROPT_VLAN_ENABLED), u 71 net/bridge/br_vlan_tunnel.c metadata->u.tun_info.mode |= IP_TUNNEL_INFO_TX | IP_TUNNEL_INFO_BRIDGE; u 87 net/bridge/netfilter/ebt_log.c '0' + loginfo->u.log.level, prefix, u 93 net/bridge/netfilter/ebt_log.c bitmask = loginfo->u.log.logflags; u 186 net/bridge/netfilter/ebt_log.c li.u.log.level = info->loglevel; u 187 net/bridge/netfilter/ebt_log.c li.u.log.logflags = info->bitmask; u 31 net/bridge/netfilter/ebt_nflog.c li.u.ulog.copy_len = info->len; u 32 net/bridge/netfilter/ebt_nflog.c li.u.ulog.group = info->group; u 33 net/bridge/netfilter/ebt_nflog.c li.u.ulog.qthreshold = info->threshold; u 34 net/bridge/netfilter/ebt_nflog.c li.u.ulog.flags = 0; u 83 net/bridge/netfilter/ebtables.c par->target = w->u.watcher; u 85 net/bridge/netfilter/ebtables.c w->u.watcher->target(skb, par); u 94 net/bridge/netfilter/ebtables.c par->match = m->u.match; u 96 net/bridge/netfilter/ebtables.c return !m->u.match->match(skb, par); u 233 net/bridge/netfilter/ebtables.c if (!t->u.target->target) u 236 net/bridge/netfilter/ebtables.c acpar.target = t->u.target; u 238 net/bridge/netfilter/ebtables.c verdict = t->u.target->target(skb, &acpar); u 366 net/bridge/netfilter/ebtables.c match = xt_find_match(NFPROTO_BRIDGE, m->u.name, m->u.revision); u 370 net/bridge/netfilter/ebtables.c request_module("ebt_%s", m->u.name); u 371 net/bridge/netfilter/ebtables.c match = xt_find_match(NFPROTO_BRIDGE, m->u.name, m->u.revision); u 375 net/bridge/netfilter/ebtables.c m->u.match = match; u 403 net/bridge/netfilter/ebtables.c watcher = xt_request_find_target(NFPROTO_BRIDGE, w->u.name, 0); u 412 net/bridge/netfilter/ebtables.c w->u.watcher = watcher; u 589 net/bridge/netfilter/ebtables.c par.match = m->u.match; u 607 net/bridge/netfilter/ebtables.c par.target = w->u.watcher; u 632 net/bridge/netfilter/ebtables.c par.target = t->u.target; u 710 net/bridge/netfilter/ebtables.c target = xt_request_find_target(NFPROTO_BRIDGE, t->u.name, 0); u 723 net/bridge/netfilter/ebtables.c t->u.target = target; u 724 net/bridge/netfilter/ebtables.c if (t->u.target == &ebt_standard_target) { u 735 net/bridge/netfilter/ebtables.c module_put(t->u.target->me); u 786 net/bridge/netfilter/ebtables.c if (strcmp(t->u.name, EBT_STANDARD_TARGET)) u 1333 net/bridge/netfilter/ebtables.c m->u.match->name, m->data, sizeof(*m), u 1334 net/bridge/netfilter/ebtables.c m->u.match->usersize, m->match_size, u 1335 net/bridge/netfilter/ebtables.c m->u.match->revision); u 1342 net/bridge/netfilter/ebtables.c w->u.watcher->name, w->data, sizeof(*w), u 1343 net/bridge/netfilter/ebtables.c w->u.watcher->usersize, w->watcher_size, u 1344 net/bridge/netfilter/ebtables.c w->u.watcher->revision); u 1374 net/bridge/netfilter/ebtables.c ret = ebt_obj_to_user(hlp, t->u.target->name, t->data, sizeof(*t), u 1375 net/bridge/netfilter/ebtables.c t->u.target->usersize, t->target_size, u 1376 net/bridge/netfilter/ebtables.c t->u.target->revision); u 1562 net/bridge/netfilter/ebtables.c } u; u 1592 net/bridge/netfilter/ebtables.c const struct xt_match *match = m->u.match; u 1600 net/bridge/netfilter/ebtables.c if (copy_to_user(cm->u.name, match->name, strlen(match->name) + 1) || u 1601 net/bridge/netfilter/ebtables.c put_user(match->revision, &cm->u.revision) || u 1624 net/bridge/netfilter/ebtables.c const struct xt_target *target = t->u.target; u 1632 net/bridge/netfilter/ebtables.c if (copy_to_user(cm->u.name, target->name, strlen(target->name) + 1) || u 1633 net/bridge/netfilter/ebtables.c put_user(target->revision, &cm->u.revision) || u 1718 net/bridge/netfilter/ebtables.c *off += ebt_compat_match_offset(m->u.match, m->match_size); u 1725 net/bridge/netfilter/ebtables.c *off += xt_compat_target_offset(w->u.watcher); u 1750 net/bridge/netfilter/ebtables.c off += xt_compat_target_offset(t->u.target); u 1916 net/bridge/netfilter/ebtables.c if (strscpy(name, mwt->u.name, sizeof(name)) < 0) u 1925 net/bridge/netfilter/ebtables.c mwt->u.revision); u 1945 net/bridge/netfilter/ebtables.c mwt->u.revision); u 254 net/caif/cfcnfg.c l->endpoint = (s->sockaddr.u.at.type >> 2) & 0x3; u 255 net/caif/cfcnfg.c l->chtype = s->sockaddr.u.at.type & 0x3; u 260 net/caif/cfcnfg.c l->u.datagram.connid = s->sockaddr.u.dgm.connection_id; u 266 net/caif/cfcnfg.c l->u.datagram.connid = s->sockaddr.u.dgm.connection_id; u 270 net/caif/cfcnfg.c l->u.datagram.connid = s->sockaddr.u.rfm.connection_id; u 271 net/caif/cfcnfg.c strlcpy(l->u.rfm.volume, s->sockaddr.u.rfm.volume, u 272 net/caif/cfcnfg.c sizeof(l->u.rfm.volume)); u 278 net/caif/cfcnfg.c strlcpy(l->u.utility.name, s->sockaddr.u.util.service, u 279 net/caif/cfcnfg.c sizeof(l->u.utility.name)); u 280 net/caif/cfcnfg.c caif_assert(sizeof(l->u.utility.name) > 10); u 281 net/caif/cfcnfg.c l->u.utility.paramlen = s->param.size; u 282 net/caif/cfcnfg.c if (l->u.utility.paramlen > sizeof(l->u.utility.params)) u 283 net/caif/cfcnfg.c l->u.utility.paramlen = sizeof(l->u.utility.params); u 285 net/caif/cfcnfg.c memcpy(l->u.utility.params, s->param.data, u 286 net/caif/cfcnfg.c l->u.utility.paramlen); u 291 net/caif/cfcnfg.c l->endpoint = s->sockaddr.u.dbg.service; u 292 net/caif/cfcnfg.c l->chtype = s->sockaddr.u.dbg.type; u 90 net/caif/cfctrl.c return p1->u.datagram.connid == p2->u.datagram.connid; u 93 net/caif/cfctrl.c p1->u.rfm.connid == p2->u.rfm.connid && u 94 net/caif/cfctrl.c strcmp(p1->u.rfm.volume, p2->u.rfm.volume) == 0; u 97 net/caif/cfctrl.c p1->u.utility.fifosize_kb == p2->u.utility.fifosize_kb u 98 net/caif/cfctrl.c && p1->u.utility.fifosize_bufs == u 99 net/caif/cfctrl.c p2->u.utility.fifosize_bufs u 100 net/caif/cfctrl.c && strcmp(p1->u.utility.name, p2->u.utility.name) == 0 u 101 net/caif/cfctrl.c && p1->u.utility.paramlen == p2->u.utility.paramlen u 102 net/caif/cfctrl.c && memcmp(p1->u.utility.params, p2->u.utility.params, u 103 net/caif/cfctrl.c p1->u.utility.paramlen) == 0; u 106 net/caif/cfctrl.c return p1->u.video.connid == p2->u.video.connid; u 237 net/caif/cfctrl.c cfpkt_addbdy(pkt, (u8) param->u.video.connid); u 242 net/caif/cfctrl.c tmp32 = cpu_to_le32(param->u.datagram.connid); u 249 net/caif/cfctrl.c tmp32 = cpu_to_le32(param->u.rfm.connid); u 252 net/caif/cfctrl.c cfpkt_add_body(pkt, param->u.rfm.volume, u 253 net/caif/cfctrl.c strlen(param->u.rfm.volume) + 1); u 256 net/caif/cfctrl.c tmp16 = cpu_to_le16(param->u.utility.fifosize_kb); u 258 net/caif/cfctrl.c tmp16 = cpu_to_le16(param->u.utility.fifosize_bufs); u 261 net/caif/cfctrl.c strlcpy(utility_name, param->u.utility.name, u 264 net/caif/cfctrl.c tmp8 = param->u.utility.paramlen; u 266 net/caif/cfctrl.c cfpkt_add_body(pkt, param->u.utility.params, u 267 net/caif/cfctrl.c param->u.utility.paramlen); u 412 net/caif/cfctrl.c linkparam.u.video.connid = tmp; u 420 net/caif/cfctrl.c linkparam.u.datagram.connid = u 432 net/caif/cfctrl.c linkparam.u.rfm.connid = u 434 net/caif/cfctrl.c cp = (u8 *) linkparam.u.rfm.volume; u 453 net/caif/cfctrl.c linkparam.u.utility.fifosize_kb = u 456 net/caif/cfctrl.c linkparam.u.utility.fifosize_bufs = u 459 net/caif/cfctrl.c cp = (u8 *) linkparam.u.utility.name; u 460 net/caif/cfctrl.c caif_assert(sizeof(linkparam.u.utility.name) u 470 net/caif/cfctrl.c linkparam.u.utility.paramlen = len; u 472 net/caif/cfctrl.c cp = linkparam.u.utility.params; u 415 net/caif/chnl_net.c priv->conn_req.sockaddr.u.dgm.connection_id = UNDEF_CONNID; u 428 net/caif/chnl_net.c priv->conn_req.sockaddr.u.dgm.connection_id) || u 430 net/caif/chnl_net.c priv->conn_req.sockaddr.u.dgm.connection_id)) u 449 net/caif/chnl_net.c conn_req->sockaddr.u.dgm.connection_id = u 452 net/caif/chnl_net.c conn_req->sockaddr.u.dgm.connection_id = u 479 net/caif/chnl_net.c if (caifdev->conn_req.sockaddr.u.dgm.connection_id == UNDEF_CONNID) { u 480 net/caif/chnl_net.c caifdev->conn_req.sockaddr.u.dgm.connection_id = dev->ifindex; u 507 net/ceph/auth_x.c u64 *u; u 526 net/ceph/auth_x.c for (u = (u64 *)enc_buf; u + 1 <= (u64 *)(enc_buf + ret); u++) u 527 net/ceph/auth_x.c auth->key ^= *(__le64 *)u; u 332 net/ceph/crush/mapper.c unsigned int u; u 340 net/ceph/crush/mapper.c u = crush_hash32_3(bucket->h.hash, x, ids[i], r); u 341 net/ceph/crush/mapper.c u &= 0xffff; u 353 net/ceph/crush/mapper.c ln = crush_ln(u) - 0x1000000000000ll; u 685 net/ceph/mon_client.c *req->u.st = reply->st; /* struct */ u 720 net/ceph/mon_client.c req->u.st = buf; u 767 net/ceph/mon_client.c req->u.newest = ceph_decode_64(&p); u 840 net/ceph/mon_client.c *newest = req->u.newest; u 2608 net/ceph/osd_client.c WARN_ON(greq->result || !greq->u.newest); u 2618 net/ceph/osd_client.c req, req->r_tid, req->r_map_dne_bound, greq->u.newest); u 2620 net/ceph/osd_client.c req->r_map_dne_bound = greq->u.newest; u 3202 net/ceph/osd_client.c WARN_ON(greq->result || !greq->u.newest); u 3213 net/ceph/osd_client.c greq->u.newest); u 3215 net/ceph/osd_client.c lreq->map_dne_bound = greq->u.newest; u 294 net/core/dst.c dst_cache_destroy(&md_dst->u.tun_info.dst_cache); u 327 net/core/dst.c dst_cache_destroy(&one_md_dst->u.tun_info.dst_cache); u 3868 net/core/filter.c memcpy(to->remote_ipv6, &info->key.u.ipv6.src, u 3872 net/core/filter.c to->remote_ipv4 = be32_to_cpu(info->key.u.ipv4.src); u 3966 net/core/filter.c info = &md->u.tun_info; u 3984 net/core/filter.c memcpy(&info->key.u.ipv6.dst, from->remote_ipv6, u 3989 net/core/filter.c info->key.u.ipv4.dst = cpu_to_be32(from->remote_ipv4); u 4011 net/core/filter.c if (unlikely(info != &md->u.tun_info || (size & (sizeof(u32) - 1)))) u 161 net/core/flow_dissector.c __be16 *u, _u; u 163 net/core/flow_dissector.c u = __skb_header_pointer(skb, poff, sizeof(_u), data, hlen, &_u); u 164 net/core/flow_dissector.c if (u) u 165 net/core/flow_dissector.c return *u; u 337 net/core/flow_dissector.c ipv4->src = key->u.ipv4.src; u 338 net/core/flow_dissector.c ipv4->dst = key->u.ipv4.dst; u 352 net/core/flow_dissector.c ipv6->src = key->u.ipv6.src; u 353 net/core/flow_dissector.c ipv6->dst = key->u.ipv6.dst; u 2514 net/core/pktgen.c skb->_skb_refdst = (unsigned long)&pkt_dev->xdst.u.dst | SKB_DST_NOREF; u 3659 net/core/pktgen.c pkt_dev->xdst.u.dst.dev = pkt_dev->odev; u 3660 net/core/pktgen.c dst_init_metrics(&pkt_dev->xdst.u.dst, pktgen_dst_metrics, false); u 3661 net/core/pktgen.c pkt_dev->xdst.child = &pkt_dev->xdst.u.dst; u 3662 net/core/pktgen.c pkt_dev->xdst.u.dst.ops = &pkt_dev->dstops; u 70 net/dccp/ipv4.c fl4 = &inet->cork.fl.u.ip4; u 1354 net/decnet/af_decnet.c } u; u 1360 net/decnet/af_decnet.c if (optlen > sizeof(u)) u 1363 net/decnet/af_decnet.c if (copy_from_user(&u, optval, optlen)) u 1376 net/decnet/af_decnet.c if (le16_to_cpu(u.opt.opt_optl) > 16) u 1379 net/decnet/af_decnet.c memcpy(&scp->conndata_out, &u.opt, optlen); u 1390 net/decnet/af_decnet.c if (le16_to_cpu(u.opt.opt_optl) > 16) u 1393 net/decnet/af_decnet.c memcpy(&scp->discdata_out, &u.opt, optlen); u 1405 net/decnet/af_decnet.c if ((u.acc.acc_accl > DN_MAXACCL) || u 1406 net/decnet/af_decnet.c (u.acc.acc_passl > DN_MAXACCL) || u 1407 net/decnet/af_decnet.c (u.acc.acc_userl > DN_MAXACCL)) u 1410 net/decnet/af_decnet.c memcpy(&scp->accessdata, &u.acc, optlen); u 1422 net/decnet/af_decnet.c if ((u.mode != ACC_IMMED) && (u.mode != ACC_DEFER)) u 1425 net/decnet/af_decnet.c scp->accept_mode = (unsigned char)u.mode; u 1447 net/decnet/af_decnet.c if (u.win > NSP_MAX_WINDOW) u 1448 net/decnet/af_decnet.c u.win = NSP_MAX_WINDOW; u 1449 net/decnet/af_decnet.c if (u.win == 0) u 1451 net/decnet/af_decnet.c scp->max_window = u.win; u 1452 net/decnet/af_decnet.c if (scp->snd_window > u.win) u 1453 net/decnet/af_decnet.c scp->snd_window = u.win; u 1461 net/decnet/af_decnet.c scp->nonagle = (u.val == 0) ? 0 : TCP_NAGLE_OFF; u 1470 net/decnet/af_decnet.c scp->nonagle = (u.val == 0) ? 0 : TCP_NAGLE_CORK; u 1477 net/decnet/af_decnet.c if ((u.services & ~NSP_FC_MASK) != 0x01) u 1479 net/decnet/af_decnet.c if ((u.services & NSP_FC_MASK) == NSP_FC_MASK) u 1481 net/decnet/af_decnet.c scp->services_loc = u.services; u 1487 net/decnet/af_decnet.c if (u.info & 0xfc) u 1489 net/decnet/af_decnet.c scp->info_loc = u.info; u 71 net/decnet/dn_rules.c struct flowidn *fld = &flp->u.dn; u 111 net/decnet/dn_rules.c struct flowidn *fld = &fl->u.dn; u 284 net/dsa/slave.c ret = dsa_port_set_state(dp, attr->u.stp_state, trans); u 287 net/dsa/slave.c ret = dsa_port_vlan_filtering(dp, attr->u.vlan_filtering, u 291 net/dsa/slave.c ret = dsa_port_ageing_time(dp, attr->u.ageing_time, trans); u 294 net/dsa/slave.c ret = dsa_port_pre_bridge_flags(dp, attr->u.brport_flags, u 298 net/dsa/slave.c ret = dsa_port_bridge_flags(dp, attr->u.brport_flags, trans); u 301 net/dsa/slave.c ret = dsa_port_mrouter(dp->cpu_dp, attr->u.mrouter, trans); u 1204 net/ipv4/af_inet.c fl4 = &inet->cork.fl.u.ip4; u 1256 net/ipv4/af_inet.c fl4 = &inet->cork.fl.u.ip4; u 47 net/ipv4/datagram.c fl4 = &inet->cork.fl.u.ip4; u 132 net/ipv4/fib_rules.c err = fib_table_lookup(tbl, &flp->u.ip4, u 174 net/ipv4/fib_rules.c struct flowi4 *fl4 = &fl->u.ip4; u 614 net/ipv4/inet_connection_sock.c fl4 = &newinet->cork.fl.u.ip4; u 1090 net/ipv4/inet_connection_sock.c fl4 = &fl->u.ip4; u 309 net/ipv4/ip_gre.c md = ip_tunnel_info_opts(&tun_dst->u.tun_info); u 311 net/ipv4/ip_gre.c md2 = &md->u.md2; u 315 net/ipv4/ip_gre.c info = &tun_dst->u.tun_info; u 543 net/ipv4/ip_gre.c ntohl(md->u.index), truncate, true); u 548 net/ipv4/ip_gre.c md->u.md2.dir, u 549 net/ipv4/ip_gre.c get_hwid(&md->u.md2), u 579 net/ipv4/ip_gre.c ip_tunnel_init_flow(&fl4, IPPROTO_GRE, key->u.ipv4.dst, key->u.ipv4.src, u 587 net/ipv4/ip_gre.c info->key.u.ipv4.src = fl4.saddr; u 469 net/ipv4/ip_output.c fl4 = &fl->u.ip4; u 571 net/ipv4/ip_tunnel.c ip_tunnel_init_flow(&fl4, proto, key->u.ipv4.dst, key->u.ipv4.src, u 599 net/ipv4/ip_tunnel.c key->u.ipv4.dst, true)) { u 672 net/ipv4/ip_tunnel.c tun_info->key.u.ipv4.dst) { u 673 net/ipv4/ip_tunnel.c dst = tun_info->key.u.ipv4.dst; u 128 net/ipv4/ip_tunnel_core.c md->u.tun_info.mode & IP_TUNNEL_INFO_TX) u 136 net/ipv4/ip_tunnel_core.c dst = &res->u.tun_info; u 137 net/ipv4/ip_tunnel_core.c src = &md->u.tun_info; u 140 net/ipv4/ip_tunnel_core.c memcpy(&dst->key.u.ipv6.dst, &src->key.u.ipv6.src, u 143 net/ipv4/ip_tunnel_core.c dst->key.u.ipv4.dst = src->key.u.ipv4.src; u 257 net/ipv4/ip_tunnel_core.c tun_info->key.u.ipv4.dst = nla_get_in_addr(tb[LWTUNNEL_IP_DST]); u 260 net/ipv4/ip_tunnel_core.c tun_info->key.u.ipv4.src = nla_get_in_addr(tb[LWTUNNEL_IP_SRC]); u 295 net/ipv4/ip_tunnel_core.c nla_put_in_addr(skb, LWTUNNEL_IP_DST, tun_info->key.u.ipv4.dst) || u 296 net/ipv4/ip_tunnel_core.c nla_put_in_addr(skb, LWTUNNEL_IP_SRC, tun_info->key.u.ipv4.src) || u 366 net/ipv4/ip_tunnel_core.c tun_info->key.u.ipv6.dst = nla_get_in6_addr(tb[LWTUNNEL_IP6_DST]); u 369 net/ipv4/ip_tunnel_core.c tun_info->key.u.ipv6.src = nla_get_in6_addr(tb[LWTUNNEL_IP6_SRC]); u 395 net/ipv4/ip_tunnel_core.c nla_put_in6_addr(skb, LWTUNNEL_IP6_DST, &tun_info->key.u.ipv6.dst) || u 396 net/ipv4/ip_tunnel_core.c nla_put_in6_addr(skb, LWTUNNEL_IP6_SRC, &tun_info->key.u.ipv6.src) || u 215 net/ipv4/ip_vti.c fl->u.ip4.flowi4_oif = dev->ifindex; u 216 net/ipv4/ip_vti.c fl->u.ip4.flowi4_flags |= FLOWI_FLAG_ANYSRC; u 217 net/ipv4/ip_vti.c rt = __ip_route_output_key(dev_net(dev), &fl->u.ip4); u 228 net/ipv4/ip_vti.c fl->u.ip6.flowi6_oif = dev->ifindex; u 229 net/ipv4/ip_vti.c fl->u.ip6.flowi6_flags |= FLOWI_FLAG_ANYSRC; u 230 net/ipv4/ip_vti.c dst = ip6_route_output(dev_net(dev), NULL, &fl->u.ip6); u 86 net/ipv4/netfilter.c struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); u 235 net/ipv4/netfilter/arp_tables.c if (!t->u.kernel.target->target) { u 267 net/ipv4/netfilter/arp_tables.c acpar.target = t->u.kernel.target; u 269 net/ipv4/netfilter/arp_tables.c verdict = t->u.kernel.target->target(skb, &acpar); u 333 net/ipv4/netfilter/arp_tables.c (strcmp(t->target.u.user.name, u 364 net/ipv4/netfilter/arp_tables.c if (strcmp(t->target.u.user.name, u 394 net/ipv4/netfilter/arp_tables.c .target = t->u.kernel.target, u 400 net/ipv4/netfilter/arp_tables.c return xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); u 416 net/ipv4/netfilter/arp_tables.c target = xt_request_find_target(NFPROTO_ARP, t->u.user.name, u 417 net/ipv4/netfilter/arp_tables.c t->u.user.revision); u 422 net/ipv4/netfilter/arp_tables.c t->u.kernel.target = target; u 429 net/ipv4/netfilter/arp_tables.c module_put(t->u.kernel.target->me); u 444 net/ipv4/netfilter/arp_tables.c if (strcmp(t->u.user.name, XT_STANDARD_TARGET) != 0) u 506 net/ipv4/netfilter/arp_tables.c par.target = t->u.kernel.target; u 555 net/ipv4/netfilter/arp_tables.c if (strcmp(arpt_get_target(iter)->u.user.name, u 747 net/ipv4/netfilter/arp_tables.c off += xt_compat_target_offset(t->u.kernel.target); u 1068 net/ipv4/netfilter/arp_tables.c module_put(t->u.kernel.target->me); u 1104 net/ipv4/netfilter/arp_tables.c target = xt_request_find_target(NFPROTO_ARP, t->u.user.name, u 1105 net/ipv4/netfilter/arp_tables.c t->u.user.revision); u 1110 net/ipv4/netfilter/arp_tables.c t->u.kernel.target = target; u 1121 net/ipv4/netfilter/arp_tables.c module_put(t->u.kernel.target->me); u 148 net/ipv4/netfilter/ip_tables.c .u = { u 164 net/ipv4/netfilter/ip_tables.c if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { u 172 net/ipv4/netfilter/ip_tables.c strcmp(t->target.u.kernel.target->name, u 292 net/ipv4/netfilter/ip_tables.c acpar.match = ematch->u.kernel.match; u 302 net/ipv4/netfilter/ip_tables.c WARN_ON(!t->u.kernel.target); u 311 net/ipv4/netfilter/ip_tables.c if (!t->u.kernel.target->target) { u 343 net/ipv4/netfilter/ip_tables.c acpar.target = t->u.kernel.target; u 346 net/ipv4/netfilter/ip_tables.c verdict = t->u.kernel.target->target(skb, &acpar); u 398 net/ipv4/netfilter/ip_tables.c (strcmp(t->target.u.user.name, u 428 net/ipv4/netfilter/ip_tables.c if (strcmp(t->target.u.user.name, u 456 net/ipv4/netfilter/ip_tables.c par.match = m->u.kernel.match; u 469 net/ipv4/netfilter/ip_tables.c par->match = m->u.kernel.match; u 472 net/ipv4/netfilter/ip_tables.c return xt_check_match(par, m->u.match_size - sizeof(*m), u 482 net/ipv4/netfilter/ip_tables.c match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, u 483 net/ipv4/netfilter/ip_tables.c m->u.user.revision); u 486 net/ipv4/netfilter/ip_tables.c m->u.kernel.match = match; u 494 net/ipv4/netfilter/ip_tables.c module_put(m->u.kernel.match->me); u 505 net/ipv4/netfilter/ip_tables.c .target = t->u.kernel.target, u 511 net/ipv4/netfilter/ip_tables.c return xt_check_target(&par, t->u.target_size - sizeof(*t), u 545 net/ipv4/netfilter/ip_tables.c target = xt_request_find_target(NFPROTO_IPV4, t->u.user.name, u 546 net/ipv4/netfilter/ip_tables.c t->u.user.revision); u 551 net/ipv4/netfilter/ip_tables.c t->u.kernel.target = target; u 559 net/ipv4/netfilter/ip_tables.c module_put(t->u.kernel.target->me); u 580 net/ipv4/netfilter/ip_tables.c if (strcmp(t->u.user.name, XT_STANDARD_TARGET) != 0) u 649 net/ipv4/netfilter/ip_tables.c par.target = t->u.kernel.target; u 695 net/ipv4/netfilter/ip_tables.c if (strcmp(ipt_get_target(iter)->u.user.name, u 850 net/ipv4/netfilter/ip_tables.c i += m->u.match_size) { u 902 net/ipv4/netfilter/ip_tables.c off += xt_compat_match_offset(ematch->u.kernel.match); u 904 net/ipv4/netfilter/ip_tables.c off += xt_compat_target_offset(t->u.kernel.target); u 1263 net/ipv4/netfilter/ip_tables.c match = xt_request_find_match(NFPROTO_IPV4, m->u.user.name, u 1264 net/ipv4/netfilter/ip_tables.c m->u.user.revision); u 1268 net/ipv4/netfilter/ip_tables.c m->u.kernel.match = match; u 1280 net/ipv4/netfilter/ip_tables.c module_put(ematch->u.kernel.match->me); u 1282 net/ipv4/netfilter/ip_tables.c module_put(t->u.kernel.target->me); u 1327 net/ipv4/netfilter/ip_tables.c target = xt_request_find_target(NFPROTO_IPV4, t->u.user.name, u 1328 net/ipv4/netfilter/ip_tables.c t->u.user.revision); u 1333 net/ipv4/netfilter/ip_tables.c t->u.kernel.target = target; u 1344 net/ipv4/netfilter/ip_tables.c module_put(t->u.kernel.target->me); u 1349 net/ipv4/netfilter/ip_tables.c module_put(ematch->u.kernel.match->me); u 27 net/ipv4/netfilter/nf_log_arp.c .u = { u 26 net/ipv4/netfilter/nf_log_ipv4.c .u = { u 44 net/ipv4/netfilter/nf_log_ipv4.c logflags = info->u.log.logflags; u 280 net/ipv4/netfilter/nf_log_ipv4.c logflags = info->u.log.logflags; u 158 net/ipv4/netfilter/nf_nat_h323.c port == ct->tuplehash[dir].tuple.src.u.udp.port) { u 162 net/ipv4/netfilter/nf_nat_h323.c ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); u 166 net/ipv4/netfilter/nf_nat_h323.c dst.u.udp.port); u 188 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; u 191 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; u 202 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; u 203 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->tuple.dst.u.udp.port = u 219 net/ipv4/netfilter/nf_nat_h323.c for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port); u 223 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->tuple.dst.u.udp.port = htons(nated_port); u 226 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->tuple.dst.u.udp.port = u 267 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtp_exp->tuple.src.u.udp.port), u 269 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtp_exp->tuple.dst.u.udp.port)); u 272 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtcp_exp->tuple.src.u.udp.port), u 274 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtcp_exp->tuple.dst.u.udp.port)); u 290 net/ipv4/netfilter/nf_nat_h323.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; u 298 net/ipv4/netfilter/nf_nat_h323.c exp->tuple.dst.u.tcp.port = htons(nated_port); u 323 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.src.u.tcp.port), u 325 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.dst.u.tcp.port)); u 342 net/ipv4/netfilter/nf_nat_h323.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; u 354 net/ipv4/netfilter/nf_nat_h323.c exp->tuple.dst.u.tcp.port = htons(nated_port); u 383 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.src.u.tcp.port), u 385 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.dst.u.tcp.port)); u 434 net/ipv4/netfilter/nf_nat_h323.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; u 446 net/ipv4/netfilter/nf_nat_h323.c exp->tuple.dst.u.tcp.port = htons(nated_port); u 488 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.src.u.tcp.port), u 490 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.dst.u.tcp.port)); u 531 net/ipv4/netfilter/nf_nat_h323.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; u 539 net/ipv4/netfilter/nf_nat_h323.c exp->tuple.dst.u.tcp.port = htons(nated_port); u 565 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.src.u.tcp.port), u 567 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.dst.u.tcp.port)); u 68 net/ipv4/netfilter/nf_nat_pptp.c t.src.u.gre.key = ct_pptp_info->pac_call_id; u 70 net/ipv4/netfilter/nf_nat_pptp.c t.dst.u.gre.key = ct_pptp_info->pns_call_id; u 77 net/ipv4/netfilter/nf_nat_pptp.c t.src.u.gre.key = nat_pptp_info->pns_call_id; u 79 net/ipv4/netfilter/nf_nat_pptp.c t.dst.u.gre.key = nat_pptp_info->pac_call_id; u 156 net/ipv4/netfilter/nf_nat_pptp.c new_callid = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.tcp.port; u 218 net/ipv4/netfilter/nf_nat_pptp.c expect_orig->tuple.src.u.gre.key = nat_pptp_info->pns_call_id; u 219 net/ipv4/netfilter/nf_nat_pptp.c expect_orig->tuple.dst.u.gre.key = ct_pptp_info->pac_call_id; u 224 net/ipv4/netfilter/nf_nat_pptp.c expect_reply->tuple.src.u.gre.key = nat_pptp_info->pac_call_id; u 225 net/ipv4/netfilter/nf_nat_pptp.c expect_reply->tuple.dst.u.gre.key = ct_pptp_info->pns_call_id; u 211 net/ipv4/netfilter/nf_nat_snmp_basic_main.c .tuple.src.u.udp.port = cpu_to_be16(SNMP_TRAP_PORT), u 149 net/ipv4/netfilter/nf_socket_ipv4.c ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.tcp.port : u 150 net/ipv4/netfilter/nf_socket_ipv4.c ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; u 403 net/ipv4/syncookies.c inet_sk(ret)->cork.fl.u.ip4 = fl4; u 229 net/ipv4/tcp_ipv4.c fl4 = &inet->cork.fl.u.ip4; u 1364 net/ipv4/tcp_ipv4.c return inet_csk_route_req(sk, &fl->u.ip4, req); u 911 net/ipv4/udp.c struct flowi4 *fl4 = &inet->cork.fl.u.ip4; u 998 net/ipv4/udp.c fl4 = &inet->cork.fl.u.ip4; u 1195 net/ipv4/udp.c fl4 = &inet->cork.fl.u.ip4; u 1276 net/ipv4/udp.c ret = ip_append_page(sk, &inet->cork.fl.u.ip4, u 217 net/ipv4/udp_tunnel.c info = &tun_dst->u.tun_info; u 75 net/ipv4/xfrm4_policy.c const struct flowi4 *fl4 = &fl->u.ip4; u 77 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_iif = fl4->flowi4_iif; u 79 net/ipv4/xfrm4_policy.c xdst->u.dst.dev = dev; u 84 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_is_input = rt->rt_is_input; u 85 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | u 87 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_type = rt->rt_type; u 88 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; u 89 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_gw_family = rt->rt_gw_family; u 91 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_gw4 = rt->rt_gw4; u 93 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_gw6 = rt->rt_gw6; u 94 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_pmtu = rt->rt_pmtu; u 95 net/ipv4/xfrm4_policy.c xdst->u.rt.rt_mtu_locked = rt->rt_mtu_locked; u 96 net/ipv4/xfrm4_policy.c INIT_LIST_HEAD(&xdst->u.rt.rt_uncached); u 97 net/ipv4/xfrm4_policy.c rt_add_uncached_list(&xdst->u.rt); u 126 net/ipv4/xfrm4_policy.c if (xdst->u.rt.rt_uncached_list) u 127 net/ipv4/xfrm4_policy.c rt_del_uncached_list(&xdst->u.rt); u 157 net/ipv6/fib6_rules.c struct flowi6 *flp6 = &flp->u.ip6; u 195 net/ipv6/fib6_rules.c struct flowi6 *flp6 = &flp->u.ip6; u 298 net/ipv6/fib6_rules.c struct flowi6 *fl6 = &fl->u.ip6; u 575 net/ipv6/ip6_gre.c info = &tun_dst->u.tun_info; u 578 net/ipv6/ip6_gre.c md2 = &md->u.md2; u 643 net/ipv6/ip6_gre.c memcpy(fl6, &t->fl.u.ip6, sizeof(*fl6)); u 685 net/ipv6/ip6_gre.c memcpy(fl6, &t->fl.u.ip6, sizeof(*fl6)); u 741 net/ipv6/ip6_gre.c fl6->daddr = key->u.ipv6.dst; u 864 net/ipv6/ip6_gre.c memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); u 976 net/ipv6/ip6_gre.c fl6.daddr = key->u.ipv6.dst; u 991 net/ipv6/ip6_gre.c ntohl(md->u.index), truncate, u 996 net/ipv6/ip6_gre.c md->u.md2.dir, u 997 net/ipv6/ip6_gre.c get_hwid(&md->u.md2), u 1017 net/ipv6/ip6_gre.c memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); u 1073 net/ipv6/ip6_gre.c struct flowi6 *fl6 = &t->fl.u.ip6; u 1188 net/ipv6/ip6_gre.c const struct ip6_tnl_parm2 *u) u 1190 net/ipv6/ip6_gre.c p->laddr = u->laddr; u 1191 net/ipv6/ip6_gre.c p->raddr = u->raddr; u 1192 net/ipv6/ip6_gre.c p->flags = u->flags; u 1193 net/ipv6/ip6_gre.c p->hop_limit = u->hop_limit; u 1194 net/ipv6/ip6_gre.c p->encap_limit = u->encap_limit; u 1195 net/ipv6/ip6_gre.c p->flowinfo = u->flowinfo; u 1196 net/ipv6/ip6_gre.c p->link = u->link; u 1197 net/ipv6/ip6_gre.c p->i_key = u->i_key; u 1198 net/ipv6/ip6_gre.c p->o_key = u->o_key; u 1199 net/ipv6/ip6_gre.c p->i_flags = gre_flags_to_tnl_flags(u->i_flags); u 1200 net/ipv6/ip6_gre.c p->o_flags = gre_flags_to_tnl_flags(u->o_flags); u 1201 net/ipv6/ip6_gre.c memcpy(p->name, u->name, sizeof(u->name)); u 1204 net/ipv6/ip6_gre.c static void ip6gre_tnl_parm_to_user(struct ip6_tnl_parm2 *u, u 1207 net/ipv6/ip6_gre.c u->proto = IPPROTO_GRE; u 1208 net/ipv6/ip6_gre.c u->laddr = p->laddr; u 1209 net/ipv6/ip6_gre.c u->raddr = p->raddr; u 1210 net/ipv6/ip6_gre.c u->flags = p->flags; u 1211 net/ipv6/ip6_gre.c u->hop_limit = p->hop_limit; u 1212 net/ipv6/ip6_gre.c u->encap_limit = p->encap_limit; u 1213 net/ipv6/ip6_gre.c u->flowinfo = p->flowinfo; u 1214 net/ipv6/ip6_gre.c u->link = p->link; u 1215 net/ipv6/ip6_gre.c u->i_key = p->i_key; u 1216 net/ipv6/ip6_gre.c u->o_key = p->o_key; u 1217 net/ipv6/ip6_gre.c u->i_flags = gre_tnl_flags_to_gre_flags(p->i_flags); u 1218 net/ipv6/ip6_gre.c u->o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); u 1219 net/ipv6/ip6_gre.c memcpy(u->name, p->name, sizeof(u->name)); u 1343 net/ipv6/ip6_gre.c t->fl.u.ip6.flowlabel, u 1344 net/ipv6/ip6_gre.c true, &t->fl.u.ip6)); u 1282 net/ipv6/ip6_output.c cork->fl.u.ip6 = *fl6; u 1683 net/ipv6/ip6_output.c fl6 = &inet->cork.fl.u.ip6; u 1726 net/ipv6/ip6_output.c struct flowi6 *fl6 = &cork->fl.u.ip6; u 1259 net/ipv6/ip6_tunnel.c fl6.saddr = key->u.ipv6.src; u 1260 net/ipv6/ip6_tunnel.c fl6.daddr = key->u.ipv6.dst; u 1267 net/ipv6/ip6_tunnel.c memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); u 1331 net/ipv6/ip6_tunnel.c fl6.saddr = key->u.ipv6.src; u 1332 net/ipv6/ip6_tunnel.c fl6.daddr = key->u.ipv6.dst; u 1353 net/ipv6/ip6_tunnel.c memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); u 1424 net/ipv6/ip6_tunnel.c struct flowi6 *fl6 = &t->fl.u.ip6; u 1528 net/ipv6/ip6_tunnel.c ip6_tnl_parm_from_user(struct __ip6_tnl_parm *p, const struct ip6_tnl_parm *u) u 1530 net/ipv6/ip6_tunnel.c p->laddr = u->laddr; u 1531 net/ipv6/ip6_tunnel.c p->raddr = u->raddr; u 1532 net/ipv6/ip6_tunnel.c p->flags = u->flags; u 1533 net/ipv6/ip6_tunnel.c p->hop_limit = u->hop_limit; u 1534 net/ipv6/ip6_tunnel.c p->encap_limit = u->encap_limit; u 1535 net/ipv6/ip6_tunnel.c p->flowinfo = u->flowinfo; u 1536 net/ipv6/ip6_tunnel.c p->link = u->link; u 1537 net/ipv6/ip6_tunnel.c p->proto = u->proto; u 1538 net/ipv6/ip6_tunnel.c memcpy(p->name, u->name, sizeof(u->name)); u 1542 net/ipv6/ip6_tunnel.c ip6_tnl_parm_to_user(struct ip6_tnl_parm *u, const struct __ip6_tnl_parm *p) u 1544 net/ipv6/ip6_tunnel.c u->laddr = p->laddr; u 1545 net/ipv6/ip6_tunnel.c u->raddr = p->raddr; u 1546 net/ipv6/ip6_tunnel.c u->flags = p->flags; u 1547 net/ipv6/ip6_tunnel.c u->hop_limit = p->hop_limit; u 1548 net/ipv6/ip6_tunnel.c u->encap_limit = p->encap_limit; u 1549 net/ipv6/ip6_tunnel.c u->flowinfo = p->flowinfo; u 1550 net/ipv6/ip6_tunnel.c u->link = p->link; u 1551 net/ipv6/ip6_tunnel.c u->proto = p->proto; u 1552 net/ipv6/ip6_tunnel.c memcpy(u->name, p->name, sizeof(u->name)); u 457 net/ipv6/ip6_vti.c fl->u.ip4.flowi4_oif = dev->ifindex; u 458 net/ipv6/ip6_vti.c fl->u.ip4.flowi4_flags |= FLOWI_FLAG_ANYSRC; u 459 net/ipv6/ip6_vti.c rt = __ip_route_output_key(dev_net(dev), &fl->u.ip4); u 467 net/ipv6/ip6_vti.c fl->u.ip6.flowi6_oif = dev->ifindex; u 468 net/ipv6/ip6_vti.c fl->u.ip6.flowi6_flags |= FLOWI_FLAG_ANYSRC; u 469 net/ipv6/ip6_vti.c dst = ip6_route_output(dev_net(dev), NULL, &fl->u.ip6); u 733 net/ipv6/ip6_vti.c vti6_parm_from_user(struct __ip6_tnl_parm *p, const struct ip6_tnl_parm2 *u) u 735 net/ipv6/ip6_vti.c p->laddr = u->laddr; u 736 net/ipv6/ip6_vti.c p->raddr = u->raddr; u 737 net/ipv6/ip6_vti.c p->link = u->link; u 738 net/ipv6/ip6_vti.c p->i_key = u->i_key; u 739 net/ipv6/ip6_vti.c p->o_key = u->o_key; u 740 net/ipv6/ip6_vti.c p->proto = u->proto; u 742 net/ipv6/ip6_vti.c memcpy(p->name, u->name, sizeof(u->name)); u 746 net/ipv6/ip6_vti.c vti6_parm_to_user(struct ip6_tnl_parm2 *u, const struct __ip6_tnl_parm *p) u 748 net/ipv6/ip6_vti.c u->laddr = p->laddr; u 749 net/ipv6/ip6_vti.c u->raddr = p->raddr; u 750 net/ipv6/ip6_vti.c u->link = p->link; u 751 net/ipv6/ip6_vti.c u->i_key = p->i_key; u 752 net/ipv6/ip6_vti.c u->o_key = p->o_key; u 753 net/ipv6/ip6_vti.c if (u->i_key) u 754 net/ipv6/ip6_vti.c u->i_flags |= GRE_KEY; u 755 net/ipv6/ip6_vti.c if (u->o_key) u 756 net/ipv6/ip6_vti.c u->o_flags |= GRE_KEY; u 757 net/ipv6/ip6_vti.c u->proto = p->proto; u 759 net/ipv6/ip6_vti.c memcpy(u->name, p->name, sizeof(u->name)); u 201 net/ipv6/mip6.c const struct flowi6 *fl6 = &fl->u.ip6; u 105 net/ipv6/netfilter.c result = ip6_route_output(net, sk, &fl->u.ip6); u 173 net/ipv6/netfilter/ip6_tables.c .u = { u 189 net/ipv6/netfilter/ip6_tables.c if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { u 197 net/ipv6/netfilter/ip6_tables.c strcmp(t->target.u.kernel.target->name, u 315 net/ipv6/netfilter/ip6_tables.c acpar.match = ematch->u.kernel.match; u 325 net/ipv6/netfilter/ip6_tables.c WARN_ON(!t->u.kernel.target); u 334 net/ipv6/netfilter/ip6_tables.c if (!t->u.kernel.target->target) { u 364 net/ipv6/netfilter/ip6_tables.c acpar.target = t->u.kernel.target; u 367 net/ipv6/netfilter/ip6_tables.c verdict = t->u.kernel.target->target(skb, &acpar); u 416 net/ipv6/netfilter/ip6_tables.c (strcmp(t->target.u.user.name, u 446 net/ipv6/netfilter/ip6_tables.c if (strcmp(t->target.u.user.name, u 474 net/ipv6/netfilter/ip6_tables.c par.match = m->u.kernel.match; u 486 net/ipv6/netfilter/ip6_tables.c par->match = m->u.kernel.match; u 489 net/ipv6/netfilter/ip6_tables.c return xt_check_match(par, m->u.match_size - sizeof(*m), u 499 net/ipv6/netfilter/ip6_tables.c match = xt_request_find_match(NFPROTO_IPV6, m->u.user.name, u 500 net/ipv6/netfilter/ip6_tables.c m->u.user.revision); u 504 net/ipv6/netfilter/ip6_tables.c m->u.kernel.match = match; u 512 net/ipv6/netfilter/ip6_tables.c module_put(m->u.kernel.match->me); u 523 net/ipv6/netfilter/ip6_tables.c .target = t->u.kernel.target, u 529 net/ipv6/netfilter/ip6_tables.c return xt_check_target(&par, t->u.target_size - sizeof(*t), u 564 net/ipv6/netfilter/ip6_tables.c target = xt_request_find_target(NFPROTO_IPV6, t->u.user.name, u 565 net/ipv6/netfilter/ip6_tables.c t->u.user.revision); u 570 net/ipv6/netfilter/ip6_tables.c t->u.kernel.target = target; u 577 net/ipv6/netfilter/ip6_tables.c module_put(t->u.kernel.target->me); u 598 net/ipv6/netfilter/ip6_tables.c if (strcmp(t->u.user.name, XT_STANDARD_TARGET) != 0) u 666 net/ipv6/netfilter/ip6_tables.c par.target = t->u.kernel.target; u 712 net/ipv6/netfilter/ip6_tables.c if (strcmp(ip6t_get_target(iter)->u.user.name, u 866 net/ipv6/netfilter/ip6_tables.c i += m->u.match_size) { u 918 net/ipv6/netfilter/ip6_tables.c off += xt_compat_match_offset(ematch->u.kernel.match); u 920 net/ipv6/netfilter/ip6_tables.c off += xt_compat_target_offset(t->u.kernel.target); u 1279 net/ipv6/netfilter/ip6_tables.c match = xt_request_find_match(NFPROTO_IPV6, m->u.user.name, u 1280 net/ipv6/netfilter/ip6_tables.c m->u.user.revision); u 1284 net/ipv6/netfilter/ip6_tables.c m->u.kernel.match = match; u 1296 net/ipv6/netfilter/ip6_tables.c module_put(ematch->u.kernel.match->me); u 1298 net/ipv6/netfilter/ip6_tables.c module_put(t->u.kernel.target->me); u 1343 net/ipv6/netfilter/ip6_tables.c target = xt_request_find_target(NFPROTO_IPV6, t->u.user.name, u 1344 net/ipv6/netfilter/ip6_tables.c t->u.user.revision); u 1349 net/ipv6/netfilter/ip6_tables.c t->u.kernel.target = target; u 1360 net/ipv6/netfilter/ip6_tables.c module_put(t->u.kernel.target->me); u 1365 net/ipv6/netfilter/ip6_tables.c module_put(ematch->u.kernel.match->me); u 27 net/ipv6/netfilter/nf_log_ipv6.c .u = { u 50 net/ipv6/netfilter/nf_log_ipv6.c logflags = info->u.log.logflags; u 293 net/ipv6/netfilter/nf_log_ipv6.c logflags = info->u.log.logflags; u 70 net/ipv6/ping.c DECLARE_SOCKADDR(struct sockaddr_in6 *, u, msg->msg_name); u 71 net/ipv6/ping.c if (msg->msg_namelen < sizeof(*u)) u 73 net/ipv6/ping.c if (u->sin6_family != AF_INET6) { u 76 net/ipv6/ping.c daddr = &(u->sin6_addr); u 78 net/ipv6/ping.c oif = u->sin6_scope_id; u 493 net/ipv6/tcp_ipv6.c struct flowi6 *fl6 = &fl->u.ip6; u 775 net/ipv6/tcp_ipv6.c return inet6_csk_route_req(sk, &fl->u.ip6, req, IPPROTO_TCP); u 1200 net/ipv6/udp.c fl6 = inet_sk(sk)->cork.fl.u.ip6; u 76 net/ipv6/xfrm6_policy.c xdst->u.dst.dev = dev; u 79 net/ipv6/xfrm6_policy.c xdst->u.rt6.rt6i_idev = in6_dev_get(dev); u 80 net/ipv6/xfrm6_policy.c if (!xdst->u.rt6.rt6i_idev) { u 87 net/ipv6/xfrm6_policy.c xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | u 90 net/ipv6/xfrm6_policy.c xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway; u 91 net/ipv6/xfrm6_policy.c xdst->u.rt6.rt6i_dst = rt->rt6i_dst; u 92 net/ipv6/xfrm6_policy.c xdst->u.rt6.rt6i_src = rt->rt6i_src; u 93 net/ipv6/xfrm6_policy.c INIT_LIST_HEAD(&xdst->u.rt6.rt6i_uncached); u 94 net/ipv6/xfrm6_policy.c rt6_uncached_list_add(&xdst->u.rt6); u 123 net/ipv6/xfrm6_policy.c if (likely(xdst->u.rt6.rt6i_idev)) u 124 net/ipv6/xfrm6_policy.c in6_dev_put(xdst->u.rt6.rt6i_idev); u 126 net/ipv6/xfrm6_policy.c if (xdst->u.rt6.rt6i_uncached_list) u 127 net/ipv6/xfrm6_policy.c rt6_uncached_list_del(&xdst->u.rt6); u 140 net/ipv6/xfrm6_policy.c if (xdst->u.rt6.rt6i_idev->dev == dev) { u 145 net/ipv6/xfrm6_policy.c in6_dev_put(xdst->u.rt6.rt6i_idev); u 146 net/ipv6/xfrm6_policy.c xdst->u.rt6.rt6i_idev = loopback_idev; u 148 net/ipv6/xfrm6_policy.c xdst = (struct xfrm_dst *)xfrm_dst_child(&xdst->u.dst); u 149 net/ipv6/xfrm6_policy.c } while (xdst->u.dst.xfrm); u 59 net/key/af_key.c } u; u 1821 net/key/af_key.c return xfrm_state_walk(net, &pfk->dump.u.state, dump_sa, (void *) pfk); u 1828 net/key/af_key.c xfrm_state_walk_done(&pfk->dump.u.state, net); u 1871 net/key/af_key.c xfrm_state_walk_init(&pfk->dump.u.state, proto, filter); u 2717 net/key/af_key.c return xfrm_policy_walk(net, &pfk->dump.u.policy, dump_sp, (void *) pfk); u 2724 net/key/af_key.c xfrm_policy_walk_done(&pfk->dump.u.policy, net); u 2741 net/key/af_key.c xfrm_policy_walk_init(&pfk->dump.u.policy, XFRM_POLICY_TYPE_MAIN); u 468 net/l2tp/l2tp_ip.c fl4 = &inet->cork.fl.u.ip4; u 241 net/mac80211/agg-rx.c memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); u 243 net/mac80211/agg-rx.c memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); u 248 net/mac80211/agg-rx.c skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_resp)); u 249 net/mac80211/agg-rx.c mgmt->u.action.category = WLAN_CATEGORY_BACK; u 250 net/mac80211/agg-rx.c mgmt->u.action.u.addba_resp.action_code = WLAN_ACTION_ADDBA_RESP; u 251 net/mac80211/agg-rx.c mgmt->u.action.u.addba_resp.dialog_token = dialog_token; u 258 net/mac80211/agg-rx.c mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab); u 259 net/mac80211/agg-rx.c mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); u 260 net/mac80211/agg-rx.c mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); u 484 net/mac80211/agg-rx.c dialog_token = mgmt->u.action.u.addba_req.dialog_token; u 485 net/mac80211/agg-rx.c timeout = le16_to_cpu(mgmt->u.action.u.addba_req.timeout); u 487 net/mac80211/agg-rx.c le16_to_cpu(mgmt->u.action.u.addba_req.start_seq_num) >> 4; u 489 net/mac80211/agg-rx.c capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab); u 495 net/mac80211/agg-rx.c u.action.u.addba_req.variable); u 497 net/mac80211/agg-rx.c ieee802_11_parse_elems(mgmt->u.action.u.addba_req.variable, u 85 net/mac80211/agg-tx.c memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); u 87 net/mac80211/agg-tx.c memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); u 92 net/mac80211/agg-tx.c skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_req)); u 94 net/mac80211/agg-tx.c mgmt->u.action.category = WLAN_CATEGORY_BACK; u 95 net/mac80211/agg-tx.c mgmt->u.action.u.addba_req.action_code = WLAN_ACTION_ADDBA_REQ; u 97 net/mac80211/agg-tx.c mgmt->u.action.u.addba_req.dialog_token = dialog_token; u 103 net/mac80211/agg-tx.c mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab); u 105 net/mac80211/agg-tx.c mgmt->u.action.u.addba_req.timeout = cpu_to_le16(timeout); u 106 net/mac80211/agg-tx.c mgmt->u.action.u.addba_req.start_seq_num = u 922 net/mac80211/agg-tx.c capab = le16_to_cpu(mgmt->u.action.u.addba_resp.capab); u 938 net/mac80211/agg-tx.c if (mgmt->u.action.u.addba_resp.dialog_token != tid_tx->dialog_token) { u 968 net/mac80211/agg-tx.c if (le16_to_cpu(mgmt->u.action.u.addba_resp.status) u 985 net/mac80211/agg-tx.c le16_to_cpu(mgmt->u.action.u.addba_resp.timeout); u 53 net/mac80211/cfg.c ether_addr_copy(sdata->u.mntr.mu_follow_addr, u 79 net/mac80211/cfg.c if ((params->flags & mask) != (sdata->u.mntr.flags & mask)) u 98 net/mac80211/cfg.c sdata->u.mntr.flags = params->flags; u 108 net/mac80211/cfg.c sdata->u.mntr.flags = params->flags; u 163 net/mac80211/cfg.c RCU_INIT_POINTER(sdata->u.vlan.sta, NULL); u 166 net/mac80211/cfg.c sdata->u.mgd.use_4addr = params->use_4addr; u 220 net/mac80211/cfg.c sdata->u.nan.conf = *conf; u 249 net/mac80211/cfg.c new_conf = sdata->u.nan.conf; u 259 net/mac80211/cfg.c sdata->u.nan.conf = new_conf; u 277 net/mac80211/cfg.c spin_lock_bh(&sdata->u.nan.func_lock); u 279 net/mac80211/cfg.c ret = idr_alloc(&sdata->u.nan.function_inst_ids, u 282 net/mac80211/cfg.c spin_unlock_bh(&sdata->u.nan.func_lock); u 293 net/mac80211/cfg.c spin_lock_bh(&sdata->u.nan.func_lock); u 294 net/mac80211/cfg.c idr_remove(&sdata->u.nan.function_inst_ids, u 296 net/mac80211/cfg.c spin_unlock_bh(&sdata->u.nan.func_lock); u 309 net/mac80211/cfg.c lockdep_assert_held(&sdata->u.nan.func_lock); u 311 net/mac80211/cfg.c idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, id) { u 330 net/mac80211/cfg.c spin_lock_bh(&sdata->u.nan.func_lock); u 336 net/mac80211/cfg.c spin_unlock_bh(&sdata->u.nan.func_lock); u 458 net/mac80211/cfg.c if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) u 472 net/mac80211/cfg.c if (sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE) u 808 net/mac80211/cfg.c old = sdata_dereference(sdata->u.ap.probe_resp, sdata); u 822 net/mac80211/cfg.c rcu_assign_pointer(sdata->u.ap.probe_resp, new); u 880 net/mac80211/cfg.c old = sdata_dereference(sdata->u.ap.beacon, sdata); u 962 net/mac80211/cfg.c rcu_assign_pointer(sdata->u.ap.beacon, new); u 988 net/mac80211/cfg.c old = sdata_dereference(sdata->u.ap.beacon, sdata); u 1005 net/mac80211/cfg.c sdata->u.ap.req_smps = sdata->smps_mode; u 1038 net/mac80211/cfg.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) { u 1082 net/mac80211/cfg.c old = sdata_dereference(sdata->u.ap.beacon, sdata); u 1086 net/mac80211/cfg.c RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); u 1095 net/mac80211/cfg.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) u 1117 net/mac80211/cfg.c old = sdata_dereference(sdata->u.ap.beacon, sdata); u 1139 net/mac80211/cfg.c old_beacon = sdata_dereference(sdata->u.ap.beacon, sdata); u 1142 net/mac80211/cfg.c old_probe_resp = sdata_dereference(sdata->u.ap.probe_resp, sdata); u 1155 net/mac80211/cfg.c kfree(sdata->u.ap.next_beacon); u 1156 net/mac80211/cfg.c sdata->u.ap.next_beacon = NULL; u 1159 net/mac80211/cfg.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) u 1164 net/mac80211/cfg.c RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); u 1165 net/mac80211/cfg.c RCU_INIT_POINTER(sdata->u.ap.probe_resp, NULL); u 1169 net/mac80211/cfg.c sdata->u.ap.driver_smps_mode = IEEE80211_SMPS_OFF; u 1193 net/mac80211/cfg.c local->total_ps_buffered -= skb_queue_len(&sdata->u.ap.ps.bc_buf); u 1194 net/mac80211/cfg.c ieee80211_purge_tx_queue(&local->hw, &sdata->u.ap.ps.bc_buf); u 1282 net/mac80211/cfg.c sdata->u.mesh.mshcfg.power_mode); u 1406 net/mac80211/cfg.c !sdata->u.mgd.tdls_chan_switch_prohibited && u 1412 net/mac80211/cfg.c !sdata->u.mgd.tdls_wider_bw_prohibited && u 1553 net/mac80211/cfg.c !sdata->u.mgd.associated) u 1624 net/mac80211/cfg.c if (sdata->u.mesh.user_mpm) u 1662 net/mac80211/cfg.c if (vlansdata->u.vlan.sta) { u 1667 net/mac80211/cfg.c rcu_assign_pointer(vlansdata->u.vlan.sta, sta); u 1672 net/mac80211/cfg.c sta->sdata->u.vlan.sta) u 1673 net/mac80211/cfg.c RCU_INIT_POINTER(sta->sdata->u.vlan.sta, NULL); u 1802 net/mac80211/cfg.c pinfo->generation = mpath->sdata->u.mesh.mesh_paths_generation; u 1884 net/mac80211/cfg.c pinfo->generation = mpath->sdata->u.mesh.mpp_paths_generation; u 1936 net/mac80211/cfg.c memcpy(conf, &(sdata->u.mesh.mshcfg), sizeof(struct mesh_config)); u 1951 net/mac80211/cfg.c struct ieee80211_sub_if_data, u.mesh); u 2002 net/mac80211/cfg.c ifmsh = &sdata->u.mesh; u 2005 net/mac80211/cfg.c conf = &(sdata->u.mesh.mshcfg); u 2112 net/mac80211/cfg.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 2157 net/mac80211/cfg.c if (!sdata_dereference(sdata->u.ap.beacon, sdata)) u 2321 net/mac80211/cfg.c if (sdata->u.ap.beacon && u 2591 net/mac80211/cfg.c memcpy(&sdata->u.wds.remote_addr, addr, ETH_ALEN); u 2651 net/mac80211/cfg.c old_req = sdata->u.ap.req_smps; u 2652 net/mac80211/cfg.c sdata->u.ap.req_smps = smps_mode; u 2661 net/mac80211/cfg.c smps_mode, atomic_read(&sdata->u.ap.num_mcast_sta)); u 2669 net/mac80211/cfg.c if (sta->sdata->bss != &sdata->u.ap) u 2721 net/mac80211/cfg.c old_req = sdata->u.mgd.req_smps; u 2722 net/mac80211/cfg.c sdata->u.mgd.req_smps = smps_mode; u 2733 net/mac80211/cfg.c if (!sdata->u.mgd.associated || u 2737 net/mac80211/cfg.c ap = sdata->u.mgd.associated->bssid; u 2751 net/mac80211/cfg.c if (tdls_peer_found || !sdata->u.mgd.powersave) u 2761 net/mac80211/cfg.c sdata->u.mgd.req_smps = old_req; u 2780 net/mac80211/cfg.c if (enabled == sdata->u.mgd.powersave && u 2784 net/mac80211/cfg.c sdata->u.mgd.powersave = enabled; u 2789 net/mac80211/cfg.c __ieee80211_request_smps_mgd(sdata, sdata->u.mgd.req_smps); u 2822 net/mac80211/cfg.c sdata->u.mgd.last_cqm_event_signal = 0; u 2825 net/mac80211/cfg.c if (sdata->u.mgd.associated && u 2847 net/mac80211/cfg.c sdata->u.mgd.last_cqm_event_signal = 0; u 2850 net/mac80211/cfg.c if (sdata->u.mgd.associated && u 3066 net/mac80211/cfg.c err = ieee80211_assign_beacon(sdata, sdata->u.ap.next_beacon, u 3068 net/mac80211/cfg.c kfree(sdata->u.ap.next_beacon); u 3069 net/mac80211/cfg.c sdata->u.ap.next_beacon = NULL; u 3197 net/mac80211/cfg.c sdata->u.ap.next_beacon = u 3199 net/mac80211/cfg.c if (!sdata->u.ap.next_beacon) u 3235 net/mac80211/cfg.c kfree(sdata->u.ap.next_beacon); u 3245 net/mac80211/cfg.c if (params->chandef.width != sdata->u.ibss.chandef.width) u 3251 net/mac80211/cfg.c cfg80211_get_chandef_type(&sdata->u.ibss.chandef)) u 3263 net/mac80211/cfg.c if (sdata->u.ibss.chandef.chan->band != u 3280 net/mac80211/cfg.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 3710 net/mac80211/cfg.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 3735 net/mac80211/cfg.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 3787 net/mac80211/cfg.c spin_lock_bh(&sdata->u.nan.func_lock); u 3789 net/mac80211/cfg.c func = idr_find(&sdata->u.nan.function_inst_ids, inst_id); u 3791 net/mac80211/cfg.c spin_unlock_bh(&sdata->u.nan.func_lock); u 3796 net/mac80211/cfg.c idr_remove(&sdata->u.nan.function_inst_ids, inst_id); u 3798 net/mac80211/cfg.c spin_unlock_bh(&sdata->u.nan.func_lock); u 3817 net/mac80211/cfg.c spin_lock_bh(&sdata->u.nan.func_lock); u 3819 net/mac80211/cfg.c func = idr_find(&sdata->u.nan.function_inst_ids, match->inst_id); u 3821 net/mac80211/cfg.c spin_unlock_bh(&sdata->u.nan.func_lock); u 3826 net/mac80211/cfg.c spin_unlock_bh(&sdata->u.nan.func_lock); u 3838 net/mac80211/cfg.c sdata->u.ap.multicast_to_unicast = enabled; u 726 net/mac80211/chan.c if (!sdata->u.mgd.associated) u 817 net/mac80211/chan.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) u 977 net/mac80211/chan.c &sdata->u.mgd.chswitch_work); u 1004 net/mac80211/chan.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) u 1771 net/mac80211/chan.c ap = container_of(sdata->bss, struct ieee80211_sub_if_data, u.ap); u 174 net/mac80211/debugfs_key.c key->u.tkip.rx[i].iv32, u 175 net/mac80211/debugfs_key.c key->u.tkip.rx[i].iv16); u 181 net/mac80211/debugfs_key.c rpn = key->u.ccmp.rx_pn[i]; u 191 net/mac80211/debugfs_key.c rpn = key->u.aes_cmac.rx_pn; u 200 net/mac80211/debugfs_key.c rpn = key->u.aes_gmac.rx_pn; u 210 net/mac80211/debugfs_key.c rpn = key->u.gcmp.rx_pn[i]; u 235 net/mac80211/debugfs_key.c len = scnprintf(buf, sizeof(buf), "%u\n", key->u.ccmp.replays); u 240 net/mac80211/debugfs_key.c key->u.aes_cmac.replays); u 245 net/mac80211/debugfs_key.c key->u.aes_gmac.replays); u 249 net/mac80211/debugfs_key.c len = scnprintf(buf, sizeof(buf), "%u\n", key->u.gcmp.replays); u 269 net/mac80211/debugfs_key.c key->u.aes_cmac.icverrors); u 274 net/mac80211/debugfs_key.c key->u.aes_gmac.icverrors); u 293 net/mac80211/debugfs_key.c len = scnprintf(buf, sizeof(buf), "%u\n", key->u.tkip.mic_failures); u 237 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC); u 238 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(aid, u.mgd.aid, DEC); u 239 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(beacon_timeout, u.mgd.beacon_timeout, JIFFIES_TO_MS); u 283 net/mac80211/debugfs_netdev.c smps_modes[sdata->u.mgd.req_smps], u 287 net/mac80211/debugfs_netdev.c smps_modes[sdata->u.ap.req_smps], u 345 net/mac80211/debugfs_netdev.c if (!sdata->u.mgd.associated) { u 350 net/mac80211/debugfs_netdev.c memcpy(hdr->addr1, sdata->u.mgd.associated->bssid, ETH_ALEN); u 391 net/mac80211/debugfs_netdev.c const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 399 net/mac80211/debugfs_netdev.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 419 net/mac80211/debugfs_netdev.c const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 427 net/mac80211/debugfs_netdev.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 447 net/mac80211/debugfs_netdev.c const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 459 net/mac80211/debugfs_netdev.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 473 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(num_mcast_sta, u.ap.num_mcast_sta, ATOMIC); u 474 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(num_sta_ps, u.ap.ps.num_sta_ps, ATOMIC); u 475 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(dtim_count, u.ap.ps.dtim_count, DEC); u 476 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(num_mcast_sta_vlan, u.vlan.num_mcast_sta, ATOMIC); u 482 net/mac80211/debugfs_netdev.c skb_queue_len(&sdata->u.ap.ps.bc_buf)); u 523 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(multicast_to_unicast, u.ap.multicast_to_unicast, HEX); u 585 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(peer, u.wds.remote_addr, MAC); u 588 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(estab_plinks, u.mesh.estab_plinks, ATOMIC); u 591 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(fwded_mcast, u.mesh.mshstats.fwded_mcast, DEC); u 592 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(fwded_unicast, u.mesh.mshstats.fwded_unicast, DEC); u 593 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(fwded_frames, u.mesh.mshstats.fwded_frames, DEC); u 594 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(dropped_frames_ttl, u.mesh.mshstats.dropped_frames_ttl, DEC); u 596 net/mac80211/debugfs_netdev.c u.mesh.mshstats.dropped_frames_congestion, DEC); u 598 net/mac80211/debugfs_netdev.c u.mesh.mshstats.dropped_frames_no_route, DEC); u 602 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshMaxRetries, DEC); u 604 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshRetryTimeout, DEC); u 606 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshConfirmTimeout, DEC); u 608 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHoldingTimeout, DEC); u 609 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(dot11MeshTTL, u.mesh.mshcfg.dot11MeshTTL, DEC); u 610 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(element_ttl, u.mesh.mshcfg.element_ttl, DEC); u 611 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(auto_open_plinks, u.mesh.mshcfg.auto_open_plinks, DEC); u 613 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshMaxPeerLinks, DEC); u 615 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPactivePathTimeout, DEC); u 617 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPpreqMinInterval, DEC); u 619 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPperrMinInterval, DEC); u 621 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPnetDiameterTraversalTime, DEC); u 623 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries, DEC); u 625 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.path_refresh_time, DEC); u 627 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.min_discovery_timeout, DEC); u 629 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPRootMode, DEC); u 631 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshGateAnnouncementProtocol, DEC); u 633 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPRannInterval, DEC); u 634 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(dot11MeshForwarding, u.mesh.mshcfg.dot11MeshForwarding, DEC); u 635 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(rssi_threshold, u.mesh.mshcfg.rssi_threshold, DEC); u 636 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(ht_opmode, u.mesh.mshcfg.ht_opmode, DEC); u 638 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPactivePathToRootTimeout, DEC); u 640 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMProotInterval, DEC); u 642 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval, DEC); u 643 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(power_mode, u.mesh.mshcfg.power_mode, DEC); u 645 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshAwakeWindowDuration, DEC); u 647 net/mac80211/debugfs_netdev.c u.mesh.mshcfg.dot11MeshConnectedToMeshGate, DEC); u 62 net/mac80211/driver-ops.c !(sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE)))) u 27 net/mac80211/driver-ops.h u.ap); u 104 net/mac80211/ethtool.c sta = sta_info_get_bss(sdata, sdata->u.mgd.bssid); u 227 net/mac80211/fils_aead.c capab = (u8 *)&mgmt->u.reassoc_req.capab_info; u 228 net/mac80211/fils_aead.c ies = mgmt->u.reassoc_req.variable; u 230 net/mac80211/fils_aead.c capab = (u8 *)&mgmt->u.assoc_req.capab_info; u 231 net/mac80211/fils_aead.c ies = mgmt->u.assoc_req.variable; u 281 net/mac80211/fils_aead.c capab = (u8 *)&mgmt->u.assoc_resp.capab_info; u 282 net/mac80211/fils_aead.c ies = mgmt->u.assoc_resp.variable; u 56 net/mac80211/ht.c ht_capa = &sdata->u.mgd.ht_capa; u 57 net/mac80211/ht.c ht_capa_mask = &sdata->u.mgd.ht_capa_mask; u 60 net/mac80211/ht.c ht_capa = &sdata->u.ibss.ht_capa; u 61 net/mac80211/ht.c ht_capa_mask = &sdata->u.ibss.ht_capa_mask; u 430 net/mac80211/ht.c memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); u 432 net/mac80211/ht.c memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); u 437 net/mac80211/ht.c skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); u 439 net/mac80211/ht.c mgmt->u.action.category = WLAN_CATEGORY_BACK; u 440 net/mac80211/ht.c mgmt->u.action.u.delba.action_code = WLAN_ACTION_DELBA; u 444 net/mac80211/ht.c mgmt->u.action.u.delba.params = cpu_to_le16(params); u 445 net/mac80211/ht.c mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code); u 457 net/mac80211/ht.c params = le16_to_cpu(mgmt->u.action.u.delba.params); u 464 net/mac80211/ht.c le16_to_cpu(mgmt->u.action.u.delba.reason_code)); u 508 net/mac80211/ht.c action_frame->u.action.category = WLAN_CATEGORY_HT; u 509 net/mac80211/ht.c action_frame->u.action.u.ht_smps.action = WLAN_HT_ACTION_SMPS; u 516 net/mac80211/ht.c action_frame->u.action.u.ht_smps.smps_control = u 520 net/mac80211/ht.c action_frame->u.action.u.ht_smps.smps_control = u 524 net/mac80211/ht.c action_frame->u.action.u.ht_smps.smps_control = u 540 net/mac80211/ht.c u.mgd.request_smps_work); u 543 net/mac80211/ht.c __ieee80211_request_smps_mgd(sdata, sdata->u.mgd.driver_smps_mode); u 551 net/mac80211/ht.c u.ap.request_smps_work); u 554 net/mac80211/ht.c if (sdata_dereference(sdata->u.ap.beacon, sdata)) u 556 net/mac80211/ht.c sdata->u.ap.driver_smps_mode); u 570 net/mac80211/ht.c if (sdata->u.mgd.driver_smps_mode == smps_mode) u 572 net/mac80211/ht.c sdata->u.mgd.driver_smps_mode = smps_mode; u 574 net/mac80211/ht.c &sdata->u.mgd.request_smps_work); u 579 net/mac80211/ht.c if (sdata->u.ap.driver_smps_mode == smps_mode) u 581 net/mac80211/ht.c sdata->u.ap.driver_smps_mode = smps_mode; u 583 net/mac80211/ht.c &sdata->u.ap.request_smps_work); u 45 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 82 net/mac80211/ibss.c mgmt->u.beacon.beacon_int = cpu_to_le16(beacon_int); u 83 net/mac80211/ibss.c mgmt->u.beacon.timestamp = cpu_to_le64(tsf); u 84 net/mac80211/ibss.c mgmt->u.beacon.capab_info = cpu_to_le16(capability); u 86 net/mac80211/ibss.c pos = (u8 *)mgmt + offsetof(struct ieee80211_mgmt, u.beacon.variable); u 225 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 418 net/mac80211/ibss.c switch (sdata->u.ibss.chandef.width) { u 422 net/mac80211/ibss.c chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); u 429 net/mac80211/ibss.c chandef.width = sdata->u.ibss.chandef.width; u 434 net/mac80211/ibss.c chandef = sdata->u.ibss.chandef; u 445 net/mac80211/ibss.c rate_flags = ieee80211_chandef_rate_flags(&sdata->u.ibss.chandef); u 486 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 539 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 574 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 593 net/mac80211/ibss.c if (!sta->sdata->u.ibss.control_port) u 609 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 633 net/mac80211/ibss.c if (!ether_addr_equal(bssid, sdata->u.ibss.bssid)) { u 688 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 733 net/mac80211/ibss.c RCU_INIT_POINTER(sdata->u.ibss.presp, NULL); u 750 net/mac80211/ibss.c u.ibss.csa_connection_drop_work); u 766 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 787 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 926 net/mac80211/ibss.c if (mgmt->u.action.u.measurement.action_code != u 931 net/mac80211/ibss.c sizeof(mgmt->u.action.u.chan_switch); u 943 net/mac80211/ibss.c u16 reason = le16_to_cpu(mgmt->u.deauth.reason_code); u 964 net/mac80211/ibss.c auth_alg = le16_to_cpu(mgmt->u.auth.auth_alg); u 965 net/mac80211/ibss.c auth_transaction = le16_to_cpu(mgmt->u.auth.auth_transaction); u 981 net/mac80211/ibss.c mgmt->sa, sdata->u.ibss.bssid, NULL, 0, 0, 0); u 1001 net/mac80211/ibss.c if (!ether_addr_equal(mgmt->bssid, sdata->u.ibss.bssid)) u 1048 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20_NOHT && u 1049 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_5 && u 1050 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_10) { u 1065 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20 && u 1066 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_40) { u 1085 net/mac80211/ibss.c if (!cfg80211_chandef_compatible(&sdata->u.ibss.chandef, u 1132 net/mac80211/ibss.c beacon_timestamp = le64_to_cpu(mgmt->u.beacon.timestamp); u 1141 net/mac80211/ibss.c if (sdata->u.ibss.fixed_channel && u 1142 net/mac80211/ibss.c sdata->u.ibss.chandef.chan != cbss->channel) u 1146 net/mac80211/ibss.c if (elems->ssid_len != sdata->u.ibss.ssid_len || u 1147 net/mac80211/ibss.c memcmp(elems->ssid, sdata->u.ibss.ssid, u 1148 net/mac80211/ibss.c sdata->u.ibss.ssid_len)) u 1157 net/mac80211/ibss.c if (ether_addr_equal(cbss->bssid, sdata->u.ibss.bssid)) u 1161 net/mac80211/ibss.c if (sdata->u.ibss.fixed_bssid) u 1204 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1225 net/mac80211/ibss.c if (!ether_addr_equal(bssid, sdata->u.ibss.bssid)) u 1255 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1296 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1326 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1434 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1529 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1559 net/mac80211/ibss.c pos = mgmt->u.probe_req.variable; u 1600 net/mac80211/ibss.c BUILD_BUG_ON(offsetof(typeof(mgmt->u.probe_resp), variable) != u 1601 net/mac80211/ibss.c offsetof(typeof(mgmt->u.beacon), variable)); u 1607 net/mac80211/ibss.c baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; u 1611 net/mac80211/ibss.c ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen, u 1632 net/mac80211/ibss.c if (!sdata->u.ibss.ssid_len) u 1651 net/mac80211/ibss.c switch (mgmt->u.action.category) { u 1655 net/mac80211/ibss.c u.action.u.chan_switch.variable); u 1661 net/mac80211/ibss.c mgmt->u.action.u.chan_switch.variable, u 1679 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1724 net/mac80211/ibss.c from_timer(sdata, t, u.ibss.timer); u 1731 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1751 net/mac80211/ibss.c sdata->u.ibss.last_scan_completed = jiffies; u 1791 net/mac80211/ibss.c memcpy(sdata->u.ibss.bssid, params->bssid, ETH_ALEN); u 1792 net/mac80211/ibss.c sdata->u.ibss.fixed_bssid = true; u 1794 net/mac80211/ibss.c sdata->u.ibss.fixed_bssid = false; u 1796 net/mac80211/ibss.c sdata->u.ibss.privacy = params->privacy; u 1797 net/mac80211/ibss.c sdata->u.ibss.control_port = params->control_port; u 1798 net/mac80211/ibss.c sdata->u.ibss.userspace_handles_dfs = params->userspace_handles_dfs; u 1799 net/mac80211/ibss.c sdata->u.ibss.basic_rates = params->basic_rates; u 1800 net/mac80211/ibss.c sdata->u.ibss.last_scan_completed = jiffies; u 1807 net/mac80211/ibss.c sdata->u.ibss.basic_rates &= ~BIT(i); u 1814 net/mac80211/ibss.c sdata->u.ibss.chandef = params->chandef; u 1815 net/mac80211/ibss.c sdata->u.ibss.fixed_channel = params->channel_fixed; u 1818 net/mac80211/ibss.c sdata->u.ibss.ie = kmemdup(params->ie, params->ie_len, u 1820 net/mac80211/ibss.c if (sdata->u.ibss.ie) u 1821 net/mac80211/ibss.c sdata->u.ibss.ie_len = params->ie_len; u 1824 net/mac80211/ibss.c sdata->u.ibss.state = IEEE80211_IBSS_MLME_SEARCH; u 1825 net/mac80211/ibss.c sdata->u.ibss.ibss_join_req = jiffies; u 1827 net/mac80211/ibss.c memcpy(sdata->u.ibss.ssid, params->ssid, params->ssid_len); u 1828 net/mac80211/ibss.c sdata->u.ibss.ssid_len = params->ssid_len; u 1830 net/mac80211/ibss.c memcpy(&sdata->u.ibss.ht_capa, ¶ms->ht_capa, u 1831 net/mac80211/ibss.c sizeof(sdata->u.ibss.ht_capa)); u 1832 net/mac80211/ibss.c memcpy(&sdata->u.ibss.ht_capa_mask, ¶ms->ht_capa_mask, u 1833 net/mac80211/ibss.c sizeof(sdata->u.ibss.ht_capa_mask)); u 1863 net/mac80211/ibss.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 1870 net/mac80211/ibss.c kfree(sdata->u.ibss.ie); u 1880 net/mac80211/ibss.c del_timer_sync(&sdata->u.ibss.timer); u 976 net/mac80211/ieee80211_i.h } u; u 1584 net/mac80211/ieee80211_i.h return atomic_read(&sdata->u.ap.num_mcast_sta); u 1585 net/mac80211/ieee80211_i.h if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN && !sdata->u.vlan.sta) u 1586 net/mac80211/ieee80211_i.h return atomic_read(&sdata->u.vlan.num_mcast_sta); u 183 net/mac80211/iface.c !(iter->u.mntr.flags & MONITOR_FLAG_ACTIVE)) u 212 net/mac80211/iface.c !(sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE)) u 304 net/mac80211/iface.c sdata->bss = &nsdata->u.ap; u 355 net/mac80211/iface.c u32 flags = sdata->u.mntr.flags; u 501 net/mac80211/iface.c if (!is_valid_ether_addr(sdata->u.wds.remote_addr)) u 511 net/mac80211/iface.c list_add(&sdata->u.vlan.list, &sdata->bss->vlans); u 515 net/mac80211/iface.c struct ieee80211_sub_if_data, u.ap); u 535 net/mac80211/iface.c sdata->bss = &sdata->u.ap; u 593 net/mac80211/iface.c if (sdata->u.mntr.flags & MONITOR_FLAG_COOK_FRAMES) { u 598 net/mac80211/iface.c if (sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE) { u 682 net/mac80211/iface.c sta = sta_info_alloc(sdata, sdata->u.wds.remote_addr, u 706 net/mac80211/iface.c if (sdata->u.mntr.flags & MONITOR_FLAG_COOK_FRAMES) u 708 net/mac80211/iface.c list_add_tail_rcu(&sdata->u.mntr.list, &local->mon_list); u 769 net/mac80211/iface.c list_del(&sdata->u.vlan.list); u 828 net/mac80211/iface.c cancel_work_sync(&sdata->u.ap.request_smps_work); u 831 net/mac80211/iface.c if (sdata->u.mntr.flags & MONITOR_FLAG_COOK_FRAMES) u 833 net/mac80211/iface.c list_del_rcu(&sdata->u.mntr.list); u 887 net/mac80211/iface.c sdata->u.mgd.csa_waiting_bcn = false; u 916 net/mac80211/iface.c list_for_each_entry_safe(vlan, tmpsdata, &sdata->u.ap.vlans, u 917 net/mac80211/iface.c u.vlan.list) u 919 net/mac80211/iface.c WARN_ON(!list_empty(&sdata->u.ap.vlans)); u 941 net/mac80211/iface.c list_del(&sdata->u.vlan.list); u 949 net/mac80211/iface.c if (sdata->u.mntr.flags & MONITOR_FLAG_COOK_FRAMES) { u 964 net/mac80211/iface.c spin_lock_bh(&sdata->u.nan.func_lock); u 966 net/mac80211/iface.c idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, i) { u 967 net/mac80211/iface.c idr_remove(&sdata->u.nan.function_inst_ids, i); u 970 net/mac80211/iface.c idr_destroy(&sdata->u.nan.function_inst_ids); u 972 net/mac80211/iface.c spin_unlock_bh(&sdata->u.nan.func_lock); u 1044 net/mac80211/iface.c if (!(sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE)) u 1250 net/mac80211/iface.c mgmt->u.action.category == WLAN_CATEGORY_BACK) { u 1256 net/mac80211/iface.c switch (mgmt->u.action.u.addba_req.action_code) { u 1276 net/mac80211/iface.c mgmt->u.action.category == WLAN_CATEGORY_VHT) { u 1277 net/mac80211/iface.c switch (mgmt->u.action.u.vht_group_notif.action_code) { u 1285 net/mac80211/iface.c opmode = mgmt->u.action.u.vht_opmode_notif.operating_mode; u 1394 net/mac80211/iface.c memset(&sdata->u, 0, sizeof(sdata->u)); u 1428 net/mac80211/iface.c skb_queue_head_init(&sdata->u.ap.ps.bc_buf); u 1429 net/mac80211/iface.c INIT_LIST_HEAD(&sdata->u.ap.vlans); u 1430 net/mac80211/iface.c INIT_WORK(&sdata->u.ap.request_smps_work, u 1433 net/mac80211/iface.c sdata->u.ap.req_smps = IEEE80211_SMPS_OFF; u 1441 net/mac80211/iface.c sdata->vif.bss_conf.bssid = sdata->u.mgd.bssid; u 1449 net/mac80211/iface.c sdata->vif.bss_conf.bssid = sdata->u.ibss.bssid; u 1459 net/mac80211/iface.c sdata->u.mntr.flags = MONITOR_FLAG_CONTROL | u 1466 net/mac80211/iface.c idr_init(&sdata->u.nan.function_inst_ids); u 1467 net/mac80211/iface.c spin_lock_init(&sdata->u.nan.func_lock); u 1585 net/mac80211/iface.c sdata->u.mgd.use_4addr = false; u 1871 net/mac80211/iface.c sdata->u.mgd.use_4addr = params->use_4addr; u 2011 net/mac80211/iface.c atomic_inc(&sdata->u.ap.num_mcast_sta); u 2013 net/mac80211/iface.c atomic_inc(&sdata->u.vlan.num_mcast_sta); u 2019 net/mac80211/iface.c atomic_dec(&sdata->u.ap.num_mcast_sta); u 2021 net/mac80211/iface.c atomic_dec(&sdata->u.vlan.num_mcast_sta); u 74 net/mac80211/key.c list_for_each_entry_rcu(vlan, &sdata->u.ap.vlans, u.vlan.list) u 535 net/mac80211/key.c key->u.tkip.rx[i].iv32 = u 537 net/mac80211/key.c key->u.tkip.rx[i].iv16 = u 541 net/mac80211/key.c spin_lock_init(&key->u.tkip.txlock); u 549 net/mac80211/key.c key->u.ccmp.rx_pn[i][j] = u 556 net/mac80211/key.c key->u.ccmp.tfm = ieee80211_aes_key_setup_encrypt( u 558 net/mac80211/key.c if (IS_ERR(key->u.ccmp.tfm)) { u 559 net/mac80211/key.c err = PTR_ERR(key->u.ccmp.tfm); u 569 net/mac80211/key.c key->u.ccmp.rx_pn[i][j] = u 574 net/mac80211/key.c key->u.ccmp.tfm = ieee80211_aes_key_setup_encrypt( u 576 net/mac80211/key.c if (IS_ERR(key->u.ccmp.tfm)) { u 577 net/mac80211/key.c err = PTR_ERR(key->u.ccmp.tfm); u 591 net/mac80211/key.c key->u.aes_cmac.rx_pn[j] = u 597 net/mac80211/key.c key->u.aes_cmac.tfm = u 599 net/mac80211/key.c if (IS_ERR(key->u.aes_cmac.tfm)) { u 600 net/mac80211/key.c err = PTR_ERR(key->u.aes_cmac.tfm); u 611 net/mac80211/key.c key->u.aes_gmac.rx_pn[j] = u 616 net/mac80211/key.c key->u.aes_gmac.tfm = u 618 net/mac80211/key.c if (IS_ERR(key->u.aes_gmac.tfm)) { u 619 net/mac80211/key.c err = PTR_ERR(key->u.aes_gmac.tfm); u 630 net/mac80211/key.c key->u.gcmp.rx_pn[i][j] = u 635 net/mac80211/key.c key->u.gcmp.tfm = ieee80211_aes_gcm_key_setup_encrypt(key_data, u 637 net/mac80211/key.c if (IS_ERR(key->u.gcmp.tfm)) { u 638 net/mac80211/key.c err = PTR_ERR(key->u.gcmp.tfm); u 654 net/mac80211/key.c key->u.gen.rx_pn[i][j] = u 670 net/mac80211/key.c ieee80211_aes_key_free(key->u.ccmp.tfm); u 674 net/mac80211/key.c ieee80211_aes_cmac_key_free(key->u.aes_cmac.tfm); u 678 net/mac80211/key.c ieee80211_aes_gmac_key_free(key->u.aes_gmac.tfm); u 682 net/mac80211/key.c ieee80211_aes_gcm_key_free(key->u.gcmp.tfm); u 863 net/mac80211/key.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) { u 997 net/mac80211/key.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) u 1010 net/mac80211/key.c u.ap); u 1021 net/mac80211/key.c list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) u 1114 net/mac80211/key.c seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; u 1115 net/mac80211/key.c seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; u 1122 net/mac80211/key.c pn = key->u.ccmp.rx_pn[IEEE80211_NUM_TIDS]; u 1124 net/mac80211/key.c pn = key->u.ccmp.rx_pn[tid]; u 1131 net/mac80211/key.c pn = key->u.aes_cmac.rx_pn; u 1138 net/mac80211/key.c pn = key->u.aes_gmac.rx_pn; u 1146 net/mac80211/key.c pn = key->u.gcmp.rx_pn[IEEE80211_NUM_TIDS]; u 1148 net/mac80211/key.c pn = key->u.gcmp.rx_pn[tid]; u 1167 net/mac80211/key.c key->u.tkip.rx[tid].iv32 = seq->tkip.iv32; u 1168 net/mac80211/key.c key->u.tkip.rx[tid].iv16 = seq->tkip.iv16; u 1175 net/mac80211/key.c pn = key->u.ccmp.rx_pn[IEEE80211_NUM_TIDS]; u 1177 net/mac80211/key.c pn = key->u.ccmp.rx_pn[tid]; u 1184 net/mac80211/key.c pn = key->u.aes_cmac.rx_pn; u 1191 net/mac80211/key.c pn = key->u.aes_gmac.rx_pn; u 1199 net/mac80211/key.c pn = key->u.gcmp.rx_pn[IEEE80211_NUM_TIDS]; u 1201 net/mac80211/key.c pn = key->u.gcmp.rx_pn[tid]; u 1257 net/mac80211/key.c if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) u 120 net/mac80211/key.h } u; u 275 net/mac80211/main.c cancel_work_sync(&sdata->u.mgd.csa_connection_drop_work); u 351 net/mac80211/main.c ifmgd = &sdata->u.mgd; u 20 net/mac80211/mesh.c return (mgmt->u.action.u.mesh_action.action_code == u 41 net/mac80211/mesh.c from_timer(sdata, t, u.mesh.housekeeping_timer); u 43 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 62 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 141 net/mac80211/mesh.c if (free_plinks != sdata->u.mesh.accepting_plinks) { u 142 net/mac80211/mesh.c sdata->u.mesh.accepting_plinks = free_plinks; u 167 net/mac80211/mesh.c sdata->u.mesh.rmc = kmalloc(sizeof(struct mesh_rmc), GFP_KERNEL); u 168 net/mac80211/mesh.c if (!sdata->u.mesh.rmc) u 170 net/mac80211/mesh.c sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1; u 172 net/mac80211/mesh.c INIT_HLIST_HEAD(&sdata->u.mesh.rmc->bucket[i]); u 178 net/mac80211/mesh.c struct mesh_rmc *rmc = sdata->u.mesh.rmc; u 183 net/mac80211/mesh.c if (!sdata->u.mesh.rmc) u 194 net/mac80211/mesh.c sdata->u.mesh.rmc = NULL; u 213 net/mac80211/mesh.c struct mesh_rmc *rmc = sdata->u.mesh.rmc; u 251 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 296 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 314 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 337 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 360 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 593 net/mac80211/mesh.c from_timer(sdata, t, u.mesh.mesh_path_timer); u 601 net/mac80211/mesh.c from_timer(sdata, t, u.mesh.mesh_path_root_timer); u 602 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 672 net/mac80211/mesh.c meshhdr->ttl = sdata->u.mesh.mshcfg.dot11MeshTTL; u 675 net/mac80211/mesh.c put_unaligned(cpu_to_le32(sdata->u.mesh.mesh_seqnum), &meshhdr->seqnum); u 676 net/mac80211/mesh.c sdata->u.mesh.mesh_seqnum++; u 694 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 711 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 738 net/mac80211/mesh.c int hdr_len = offsetofend(struct ieee80211_mgmt, u.beacon); u 740 net/mac80211/mesh.c sdata = container_of(ifmsh, struct ieee80211_sub_if_data, u.mesh); u 792 net/mac80211/mesh.c mgmt->u.beacon.beacon_int = u 794 net/mac80211/mesh.c mgmt->u.beacon.capab_info |= cpu_to_le16( u 795 net/mac80211/mesh.c sdata->u.mesh.security ? WLAN_CAPABILITY_PRIVACY : 0); u 911 net/mac80211/mesh.c old_bcn = rcu_dereference_protected(sdata->u.mesh.beacon, u 913 net/mac80211/mesh.c ret = ieee80211_mesh_build_beacon(&sdata->u.mesh); u 926 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 942 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 984 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1010 net/mac80211/mesh.c del_timer_sync(&sdata->u.mesh.housekeeping_timer); u 1011 net/mac80211/mesh.c del_timer_sync(&sdata->u.mesh.mesh_path_root_timer); u 1012 net/mac80211/mesh.c del_timer_sync(&sdata->u.mesh.mesh_path_timer); u 1044 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1156 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1164 net/mac80211/mesh.c pos = mgmt->u.probe_req.variable; u 1217 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1229 net/mac80211/mesh.c baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; u 1233 net/mac80211/mesh.c ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen, u 1238 net/mac80211/mesh.c (elems.rsn && sdata->u.mesh.security == IEEE80211_MESH_SEC_NONE) || u 1239 net/mac80211/mesh.c (!elems.rsn && sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE)) u 1254 net/mac80211/mesh.c sdata->u.mesh.mshcfg.rssi_threshold, rx_status->signal); u 1255 net/mac80211/mesh.c if (!sdata->u.mesh.user_mpm || u 1256 net/mac80211/mesh.c sdata->u.mesh.mshcfg.rssi_threshold == 0 || u 1257 net/mac80211/mesh.c sdata->u.mesh.mshcfg.rssi_threshold < rx_status->signal) u 1273 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1302 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1359 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1366 net/mac80211/mesh.c if (mgmt->u.action.u.measurement.action_code != u 1370 net/mac80211/mesh.c pos = mgmt->u.action.u.chan_switch.variable; u 1372 net/mac80211/mesh.c u.action.u.chan_switch.variable); u 1407 net/mac80211/mesh.c switch (mgmt->u.action.category) { u 1409 net/mac80211/mesh.c switch (mgmt->u.action.u.self_prot.action_code) { u 1437 net/mac80211/mesh.c if (!sdata->u.mesh.mesh_id_len) u 1463 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1485 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1490 net/mac80211/mesh.c if (!sdata->u.mesh.mesh_id_len) u 1516 net/mac80211/mesh.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 324 net/mac80211/mesh.h atomic_inc(&sdata->u.mesh.estab_plinks); u 331 net/mac80211/mesh.h atomic_dec(&sdata->u.mesh.estab_plinks); u 337 net/mac80211/mesh.h return sdata->u.mesh.mshcfg.dot11MeshMaxPeerLinks - u 338 net/mac80211/mesh.h atomic_read(&sdata->u.mesh.estab_plinks); u 354 net/mac80211/mesh.h return sdata->u.mesh.mesh_pp_id == IEEE80211_PATH_PROTOCOL_HWMP; u 80 net/mac80211/mesh_hwmp.c msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPnetDiameterTraversalTime) u 82 net/mac80211/mesh_hwmp.c MSEC_TO_TU(s->u.mesh.mshcfg.dot11MeshHWMPactivePathTimeout) u 84 net/mac80211/mesh_hwmp.c (msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPpreqMinInterval)) u 85 net/mac80211/mesh_hwmp.c #define max_preq_retries(s) (s->u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries) u 87 net/mac80211/mesh_hwmp.c msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout) u 89 net/mac80211/mesh_hwmp.c msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval) u 113 net/mac80211/mesh_hwmp.c u.action.u.mesh_action); u 129 net/mac80211/mesh_hwmp.c mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION; u 130 net/mac80211/mesh_hwmp.c mgmt->u.action.u.mesh_action.action_code = u 240 net/mac80211/mesh_hwmp.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 244 net/mac80211/mesh_hwmp.c u.action.u.mesh_action); u 265 net/mac80211/mesh_hwmp.c mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION; u 266 net/mac80211/mesh_hwmp.c mgmt->u.action.u.mesh_action.action_code = u 563 net/mac80211/mesh_hwmp.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 699 net/mac80211/mesh_hwmp.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 719 net/mac80211/mesh_hwmp.c sdata->u.mesh.mshstats.dropped_frames_ttl++; u 748 net/mac80211/mesh_hwmp.c sdata->u.mesh.mshstats.fwded_unicast++; u 749 net/mac80211/mesh_hwmp.c sdata->u.mesh.mshstats.fwded_frames++; u 754 net/mac80211/mesh_hwmp.c sdata->u.mesh.mshstats.dropped_frames_no_route++; u 761 net/mac80211/mesh_hwmp.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 813 net/mac80211/mesh_hwmp.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 857 net/mac80211/mesh_hwmp.c sdata->u.mesh.mshstats.dropped_frames_no_route++; u 928 net/mac80211/mesh_hwmp.c baselen = (u8 *) mgmt->u.action.u.mesh_action.variable - (u8 *) mgmt; u 929 net/mac80211/mesh_hwmp.c ieee802_11_parse_elems(mgmt->u.action.u.mesh_action.variable, u 974 net/mac80211/mesh_hwmp.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1031 net/mac80211/mesh_hwmp.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 1086 net/mac80211/mesh_hwmp.c sdata->u.mesh.last_sn_update = jiffies; u 1089 net/mac80211/mesh_hwmp.c ttl = sdata->u.mesh.mshcfg.element_ttl; u 1091 net/mac80211/mesh_hwmp.c sdata->u.mesh.mshstats.dropped_frames_ttl++; u 1202 net/mac80211/mesh_hwmp.c msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) && u 1256 net/mac80211/mesh_hwmp.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 239 net/mac80211/mesh_pathtbl.c return mpath_lookup(sdata->u.mesh.mesh_paths, dst, sdata); u 245 net/mac80211/mesh_pathtbl.c return mpath_lookup(sdata->u.mesh.mpp_paths, dst, sdata); u 282 net/mac80211/mesh_pathtbl.c return __mesh_path_lookup_by_idx(sdata->u.mesh.mesh_paths, idx); u 297 net/mac80211/mesh_pathtbl.c return __mesh_path_lookup_by_idx(sdata->u.mesh.mpp_paths, idx); u 310 net/mac80211/mesh_pathtbl.c tbl = mpath->sdata->u.mesh.mesh_paths; u 319 net/mac80211/mesh_pathtbl.c mpath->sdata->u.mesh.num_gates++; u 329 net/mac80211/mesh_pathtbl.c mpath->dst, mpath->sdata->u.mesh.num_gates); u 350 net/mac80211/mesh_pathtbl.c mpath->sdata->u.mesh.num_gates--; u 355 net/mac80211/mesh_pathtbl.c mpath->dst, mpath->sdata->u.mesh.num_gates); u 364 net/mac80211/mesh_pathtbl.c return sdata->u.mesh.num_gates; u 412 net/mac80211/mesh_pathtbl.c if (atomic_add_unless(&sdata->u.mesh.mpaths, 1, MESH_MAX_MPATHS) == 0) u 419 net/mac80211/mesh_pathtbl.c tbl = sdata->u.mesh.mesh_paths; u 437 net/mac80211/mesh_pathtbl.c sdata->u.mesh.mesh_paths_generation++; u 461 net/mac80211/mesh_pathtbl.c tbl = sdata->u.mesh.mpp_paths; u 474 net/mac80211/mesh_pathtbl.c sdata->u.mesh.mpp_paths_generation++; u 490 net/mac80211/mesh_pathtbl.c struct mesh_table *tbl = sdata->u.mesh.mesh_paths; u 504 net/mac80211/mesh_pathtbl.c sdata->u.mesh.mshcfg.element_ttl, u 522 net/mac80211/mesh_pathtbl.c atomic_dec(&sdata->u.mesh.mpaths); u 548 net/mac80211/mesh_pathtbl.c struct mesh_table *tbl = sdata->u.mesh.mesh_paths; u 563 net/mac80211/mesh_pathtbl.c struct mesh_table *tbl = sdata->u.mesh.mpp_paths; u 597 net/mac80211/mesh_pathtbl.c table_flush_by_iface(sdata->u.mesh.mesh_paths); u 598 net/mac80211/mesh_pathtbl.c table_flush_by_iface(sdata->u.mesh.mpp_paths); u 644 net/mac80211/mesh_pathtbl.c err = table_path_del(sdata->u.mesh.mesh_paths, sdata, addr); u 645 net/mac80211/mesh_pathtbl.c sdata->u.mesh.mesh_paths_generation++; u 682 net/mac80211/mesh_pathtbl.c tbl = sdata->u.mesh.mesh_paths; u 719 net/mac80211/mesh_pathtbl.c sdata->u.mesh.mshstats.dropped_frames_no_route++; u 780 net/mac80211/mesh_pathtbl.c sdata->u.mesh.mesh_paths = tbl_path; u 781 net/mac80211/mesh_pathtbl.c sdata->u.mesh.mpp_paths = tbl_mpp; u 809 net/mac80211/mesh_pathtbl.c mesh_path_tbl_expire(sdata, sdata->u.mesh.mesh_paths); u 810 net/mac80211/mesh_pathtbl.c mesh_path_tbl_expire(sdata, sdata->u.mesh.mpp_paths); u 815 net/mac80211/mesh_pathtbl.c mesh_table_free(sdata->u.mesh.mesh_paths); u 816 net/mac80211/mesh_pathtbl.c mesh_table_free(sdata->u.mesh.mpp_paths); u 16 net/mac80211/mesh_plink.c #define PLINK_CNF_AID(mgmt) ((mgmt)->u.action.u.self_prot.variable + 2) u 61 net/mac80211/mesh_plink.c s32 rssi_threshold = sdata->u.mesh.mshcfg.rssi_threshold; u 204 net/mac80211/mesh_plink.c sdata->u.mesh.mshcfg.ht_opmode = ht_opmode; u 222 net/mac80211/mesh_plink.c int hdr_len = offsetofend(struct ieee80211_mgmt, u.action.u.self_prot); u 233 net/mac80211/mesh_plink.c 2 + sdata->u.mesh.mesh_id_len + u 242 net/mac80211/mesh_plink.c sdata->u.mesh.ie_len); u 253 net/mac80211/mesh_plink.c mgmt->u.action.category = WLAN_CATEGORY_SELF_PROTECTED; u 254 net/mac80211/mesh_plink.c mgmt->u.action.u.self_prot.action_code = action; u 390 net/mac80211/mesh_plink.c if (!sdata->u.mesh.user_mpm) { u 397 net/mac80211/mesh_plink.c if (!sdata->u.mesh.user_mpm) u 530 net/mac80211/mesh_plink.c if (sdata->u.mesh.user_mpm || u 531 net/mac80211/mesh_plink.c sdata->u.mesh.security & IEEE80211_MESH_SEC_AUTHED) { u 617 net/mac80211/mesh_plink.c sdata->u.mesh.accepting_plinks && u 618 net/mac80211/mesh_plink.c sdata->u.mesh.mshcfg.auto_open_plinks && u 676 net/mac80211/mesh_plink.c mshcfg = &sdata->u.mesh.mshcfg; u 775 net/mac80211/mesh_plink.c mesh_plink_timer_set(sta, sdata->u.mesh.mshcfg.dot11MeshRetryTimeout); u 806 net/mac80211/mesh_plink.c struct mesh_config *mshcfg = &sdata->u.mesh.mshcfg; u 818 net/mac80211/mesh_plink.c struct mesh_config *mshcfg = &sdata->u.mesh.mshcfg; u 844 net/mac80211/mesh_plink.c struct mesh_config *mshcfg = &sdata->u.mesh.mshcfg; u 1112 net/mac80211/mesh_plink.c sdata->u.mesh.security == IEEE80211_MESH_SEC_NONE) { u 1118 net/mac80211/mesh_plink.c ftype = mgmt->u.action.u.self_prot.action_code; u 1205 net/mac80211/mesh_plink.c if (sdata->u.mesh.user_mpm) u 1215 net/mac80211/mesh_plink.c baseaddr = mgmt->u.action.u.self_prot.variable; u 1216 net/mac80211/mesh_plink.c baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt; u 1217 net/mac80211/mesh_plink.c if (mgmt->u.action.u.self_prot.action_code == u 79 net/mac80211/mesh_ps.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 200 net/mac80211/mesh_ps.c pm = sdata->u.mesh.nonpeer_pm; u 215 net/mac80211/mesh_ps.c sdata->u.mesh.ps_peers_deep_sleep > 0)) u 263 net/mac80211/mesh_ps.c atomic_inc(&sta->sdata->u.mesh.ps.num_sta_ps); u 49 net/mac80211/mesh_sync.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 85 net/mac80211/mesh_sync.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 129 net/mac80211/mesh_sync.c t_t = le64_to_cpu(mgmt->u.beacon.timestamp); u 170 net/mac80211/mesh_sync.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 105 net/mac80211/mlme.c if (!timer_pending(&sdata->u.mgd.timer) || u 106 net/mac80211/mlme.c time_before(timeout, sdata->u.mgd.timer.expires)) u 107 net/mac80211/mlme.c mod_timer(&sdata->u.mgd.timer, timeout); u 118 net/mac80211/mlme.c mod_timer(&sdata->u.mgd.bcn_mon_timer, u 119 net/mac80211/mlme.c round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); u 124 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 153 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 328 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 492 net/mac80211/mlme.c if (sdata->u.mgd.flags & IEEE80211_STA_DISABLE_40MHZ) { u 546 net/mac80211/mlme.c if (sdata->u.mgd.flags & IEEE80211_STA_DISABLE_80P80MHZ) { u 555 net/mac80211/mlme.c if (sdata->u.mgd.flags & IEEE80211_STA_DISABLE_160MHZ) { u 641 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 737 net/mac80211/mlme.c mgmt->u.reassoc_req.capab_info = cpu_to_le16(capab); u 738 net/mac80211/mlme.c mgmt->u.reassoc_req.listen_interval = u 740 net/mac80211/mlme.c memcpy(mgmt->u.reassoc_req.current_ap, assoc_data->prev_bssid, u 746 net/mac80211/mlme.c mgmt->u.assoc_req.capab_info = cpu_to_le16(capab); u 747 net/mac80211/mlme.c mgmt->u.assoc_req.listen_interval = u 1015 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 1054 net/mac80211/mlme.c if (!(sdata->u.mgd.flags & IEEE80211_STA_DISABLE_HE)) u 1067 net/mac80211/mlme.c memcpy(nullfunc->addr1, sdata->u.mgd.bssid, ETH_ALEN); u 1069 net/mac80211/mlme.c memcpy(nullfunc->addr3, sdata->u.mgd.bssid, ETH_ALEN); u 1080 net/mac80211/mlme.c container_of(work, struct ieee80211_sub_if_data, u.mgd.chswitch_work); u 1082 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 1203 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 1234 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 1251 net/mac80211/mlme.c from_timer(sdata, t, u.mgd.chswitch_timer); u 1253 net/mac80211/mlme.c ieee80211_queue_work(&sdata->local->hw, &sdata->u.mgd.chswitch_work); u 1289 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 1535 net/mac80211/mlme.c __le16 capab = mgmt->u.probe_resp.capab_info; u 1569 net/mac80211/mlme.c sdata->u.mgd.bssid); u 1578 net/mac80211/mlme.c pwr_level_cisco, sdata->u.mgd.bssid); u 1633 net/mac80211/mlme.c struct ieee80211_if_managed *mgd = &sdata->u.mgd; u 1691 net/mac80211/mlme.c u8 dtimper = found->u.mgd.dtim_period; u 1752 net/mac80211/mlme.c ifmgd = &sdata->u.mgd; u 1836 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 1921 net/mac80211/mlme.c u.mgd.tx_tspec_wk.work); u 1933 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2079 net/mac80211/mlme.c sdata->u.mgd.flags &= ~IEEE80211_STA_CONNECTION_POLL; u 2146 net/mac80211/mlme.c sdata->u.mgd.beacon_timeout = usecs_to_jiffies(ieee80211_tu_to_usec( u 2149 net/mac80211/mlme.c sdata->u.mgd.associated = cbss; u 2150 net/mac80211/mlme.c memcpy(sdata->u.mgd.bssid, cbss->bssid, ETH_ALEN); u 2154 net/mac80211/mlme.c sdata->u.mgd.flags |= IEEE80211_STA_RESET_SIGNAL_AVE; u 2171 net/mac80211/mlme.c sdata->u.mgd.p2p_noa_index = u 2184 net/mac80211/mlme.c if (sdata->u.mgd.have_beacon) { u 2191 net/mac80211/mlme.c bss_conf->dtim_period = sdata->u.mgd.dtim_period ?: 1; u 2226 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2340 net/mac80211/mlme.c del_timer_sync(&sdata->u.mgd.conn_mon_timer); u 2341 net/mac80211/mlme.c del_timer_sync(&sdata->u.mgd.bcn_mon_timer); u 2342 net/mac80211/mlme.c del_timer_sync(&sdata->u.mgd.timer); u 2343 net/mac80211/mlme.c del_timer_sync(&sdata->u.mgd.chswitch_timer); u 2390 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2424 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2464 net/mac80211/mlme.c sdata->u.mgd.probe_send_count > 0) { u 2468 net/mac80211/mlme.c sdata->u.mgd.nullfunc_failed = true; u 2493 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2553 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2614 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2658 net/mac80211/mlme.c .u.mlme.data = tx ? DEAUTH_TX_EVENT : DEAUTH_RX_EVENT, u 2659 net/mac80211/mlme.c .u.mlme.reason = reason, u 2673 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2713 net/mac80211/mlme.c u.mgd.beacon_connection_loss_work); u 2714 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2732 net/mac80211/mlme.c u.mgd.csa_connection_drop_work); u 2744 net/mac80211/mlme.c sdata->u.mgd.connection_loss = false; u 2745 net/mac80211/mlme.c ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); u 2756 net/mac80211/mlme.c sdata->u.mgd.connection_loss = true; u 2757 net/mac80211/mlme.c ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); u 2765 net/mac80211/mlme.c struct ieee80211_mgd_auth_data *auth_data = sdata->u.mgd.auth_data; u 2775 net/mac80211/mlme.c del_timer_sync(&sdata->u.mgd.timer); u 2778 net/mac80211/mlme.c eth_zero_addr(sdata->u.mgd.bssid); u 2780 net/mac80211/mlme.c sdata->u.mgd.flags = 0; u 2788 net/mac80211/mlme.c sdata->u.mgd.auth_data = NULL; u 2794 net/mac80211/mlme.c struct ieee80211_mgd_assoc_data *assoc_data = sdata->u.mgd.assoc_data; u 2804 net/mac80211/mlme.c del_timer_sync(&sdata->u.mgd.timer); u 2807 net/mac80211/mlme.c eth_zero_addr(sdata->u.mgd.bssid); u 2809 net/mac80211/mlme.c sdata->u.mgd.flags = 0; u 2821 net/mac80211/mlme.c sdata->u.mgd.assoc_data = NULL; u 2828 net/mac80211/mlme.c struct ieee80211_mgd_auth_data *auth_data = sdata->u.mgd.auth_data; u 2833 net/mac80211/mlme.c pos = mgmt->u.auth.variable; u 2853 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2885 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 2890 net/mac80211/mlme.c .u.mlme.data = AUTH_EVENT, u 2906 net/mac80211/mlme.c auth_alg = le16_to_cpu(mgmt->u.auth.auth_alg); u 2907 net/mac80211/mlme.c auth_transaction = le16_to_cpu(mgmt->u.auth.auth_transaction); u 2908 net/mac80211/mlme.c status_code = le16_to_cpu(mgmt->u.auth.status_code); u 2928 net/mac80211/mlme.c event.u.mlme.status = MLME_DENIED; u 2929 net/mac80211/mlme.c event.u.mlme.reason = status_code; u 2956 net/mac80211/mlme.c event.u.mlme.status = MLME_SUCCESS; u 3032 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 3033 net/mac80211/mlme.c u16 reason_code = le16_to_cpu(mgmt->u.deauth.reason_code); u 3080 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 3092 net/mac80211/mlme.c reason_code = le16_to_cpu(mgmt->u.disassoc.reason_code); u 3187 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 3203 net/mac80211/mlme.c aid = le16_to_cpu(mgmt->u.assoc_resp.aid); u 3204 net/mac80211/mlme.c capab_info = le16_to_cpu(mgmt->u.assoc_resp.capab_info); u 3221 net/mac80211/mlme.c pos = mgmt->u.assoc_resp.variable; u 3525 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 3535 net/mac80211/mlme.c .u.mlme.data = ASSOC_EVENT, u 3554 net/mac80211/mlme.c capab_info = le16_to_cpu(mgmt->u.assoc_resp.capab_info); u 3555 net/mac80211/mlme.c status_code = le16_to_cpu(mgmt->u.assoc_resp.status_code); u 3556 net/mac80211/mlme.c aid = le16_to_cpu(mgmt->u.assoc_resp.aid); u 3567 net/mac80211/mlme.c pos = mgmt->u.assoc_resp.variable; u 3593 net/mac80211/mlme.c event.u.mlme.status = MLME_DENIED; u 3594 net/mac80211/mlme.c event.u.mlme.reason = status_code; u 3603 net/mac80211/mlme.c event.u.mlme.status = MLME_SUCCESS; u 3655 net/mac80211/mlme.c ifmgd = &sdata->u.mgd; u 3662 net/mac80211/mlme.c baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; u 3732 net/mac80211/mlme.c event.u.rssi.data = RSSI_EVENT_HIGH; u 3738 net/mac80211/mlme.c event.u.rssi.data = RSSI_EVENT_LOW; u 3807 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 3825 net/mac80211/mlme.c baselen = (u8 *) mgmt->u.beacon.variable - (u8 *) mgmt; u 3845 net/mac80211/mlme.c ieee802_11_parse_elems(mgmt->u.beacon.variable, u 3858 net/mac80211/mlme.c le64_to_cpu(mgmt->u.beacon.timestamp); u 3900 net/mac80211/mlme.c ncrc = crc32_be(0, (void *)&mgmt->u.beacon.beacon_int, 4); u 3901 net/mac80211/mlme.c ncrc = ieee802_11_parse_elems_crc(mgmt->u.beacon.variable, u 3915 net/mac80211/mlme.c } else if (!local->pspolling && sdata->u.mgd.powersave) { u 3935 net/mac80211/mlme.c ret = cfg80211_get_p2p_attr(mgmt->u.beacon.variable, u 3940 net/mac80211/mlme.c if (sdata->u.mgd.p2p_noa_index != noa.index) { u 3942 net/mac80211/mlme.c sdata->u.mgd.p2p_noa_index = noa.index; u 3951 net/mac80211/mlme.c } else if (sdata->u.mgd.p2p_noa_index != -1) { u 3953 net/mac80211/mlme.c sdata->u.mgd.p2p_noa_index = -1; u 3973 net/mac80211/mlme.c le64_to_cpu(mgmt->u.beacon.timestamp); u 4021 net/mac80211/mlme.c le16_to_cpu(mgmt->u.beacon.capab_info), u 4096 net/mac80211/mlme.c if (mgmt->u.action.category == WLAN_CATEGORY_SPECTRUM_MGMT) { u 4099 net/mac80211/mlme.c u.action.u.chan_switch.variable); u 4106 net/mac80211/mlme.c mgmt->u.action.u.chan_switch.variable, u 4116 net/mac80211/mlme.c } else if (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC) { u 4119 net/mac80211/mlme.c u.action.u.ext_chan_switch.variable); u 4129 net/mac80211/mlme.c mgmt->u.action.u.ext_chan_switch.variable, u 4137 net/mac80211/mlme.c &mgmt->u.action.u.ext_chan_switch.data; u 4152 net/mac80211/mlme.c from_timer(sdata, t, u.mgd.timer); u 4172 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 4246 net/mac80211/mlme.c struct ieee80211_mgd_assoc_data *assoc_data = sdata->u.mgd.assoc_data; u 4290 net/mac80211/mlme.c sdata->u.mgd.status_fc = fc; u 4291 net/mac80211/mlme.c sdata->u.mgd.status_acked = acked; u 4292 net/mac80211/mlme.c sdata->u.mgd.status_received = true; u 4300 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 4351 net/mac80211/mlme.c .u.mlme.data = AUTH_EVENT, u 4352 net/mac80211/mlme.c .u.mlme.status = MLME_TIMEOUT, u 4372 net/mac80211/mlme.c .u.mlme.data = ASSOC_EVENT, u 4373 net/mac80211/mlme.c .u.mlme.status = MLME_TIMEOUT, u 4447 net/mac80211/mlme.c from_timer(sdata, t, u.mgd.bcn_mon_timer); u 4448 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 4453 net/mac80211/mlme.c sdata->u.mgd.connection_loss = false; u 4455 net/mac80211/mlme.c &sdata->u.mgd.beacon_connection_loss_work); u 4461 net/mac80211/mlme.c from_timer(sdata, t, u.mgd.conn_mon_timer); u 4462 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 4475 net/mac80211/mlme.c u.mgd.monitor_work); u 4488 net/mac80211/mlme.c &sdata->u.mgd.monitor_work); u 4495 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 4555 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 4582 net/mac80211/mlme.c ifmgd = &sdata->u.mgd; u 4633 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 4740 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 4910 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 5068 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 5218 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 5539 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 5603 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 5633 net/mac80211/mlme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 42 net/mac80211/ocb.c struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; u 111 net/mac80211/ocb.c struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; u 123 net/mac80211/ocb.c struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; u 153 net/mac80211/ocb.c from_timer(sdata, t, u.ocb.housekeeping_timer); u 155 net/mac80211/ocb.c struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; u 164 net/mac80211/ocb.c struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; u 176 net/mac80211/ocb.c struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; u 207 net/mac80211/ocb.c struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; u 236 net/mac80211/ocb.c del_timer_sync(&sdata->u.ocb.housekeeping_timer); u 28 net/mac80211/offchannel.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 146 net/mac80211/offchannel.c sdata->u.mgd.associated) u 172 net/mac80211/offchannel.c sdata->u.mgd.associated) u 810 net/mac80211/offchannel.c !sdata->u.mesh.mesh_id_len) u 822 net/mac80211/offchannel.c mgmt->u.action.category == WLAN_CATEGORY_PUBLIC || u 823 net/mac80211/offchannel.c mgmt->u.action.category == WLAN_CATEGORY_SELF_PROTECTED || u 824 net/mac80211/offchannel.c mgmt->u.action.category == WLAN_CATEGORY_SPECTRUM_MGMT) u 835 net/mac80211/offchannel.c if (!sdata->u.mgd.associated || u 838 net/mac80211/offchannel.c memcmp(sdata->u.mgd.associated->bssid, u 906 net/mac80211/offchannel.c beacon = rcu_dereference(sdata->u.ap.beacon); u 908 net/mac80211/offchannel.c beacon = rcu_dereference(sdata->u.ibss.presp); u 910 net/mac80211/offchannel.c beacon = rcu_dereference(sdata->u.mesh.beacon); u 101 net/mac80211/pm.c if (sdata->u.mgd.associated && u 102 net/mac80211/pm.c sdata->u.mgd.powersave && u 156 net/mac80211/pm.c sta = sdata->u.wds.sta; u 259 net/mac80211/rx.c if (!is_valid_ether_addr(sdata->u.mntr.mu_follow_addr)) u 273 net/mac80211/rx.c if (!ether_addr_equal(action.hdr.addr1, sdata->u.mntr.mu_follow_addr)) u 835 net/mac80211/rx.c list_for_each_entry_rcu(sdata, &local->mon_list, u.mntr.list) { u 836 net/mac80211/rx.c bool last_monitor = list_is_last(&sdata->u.mntr.list, u 1084 net/mac80211/rx.c category = mgmt->u.action.category; u 1762 net/mac80211/rx.c if (ether_addr_equal(bssid, rx->sdata->u.ibss.bssid) && u 1852 net/mac80211/rx.c !rx->sdata->u.vlan.sta))) { u 2213 net/mac80211/rx.c rx->key->u.ccmp.rx_pn[queue], u 2216 net/mac80211/rx.c u.ccmp.rx_pn) != u 2218 net/mac80211/rx.c u.gcmp.rx_pn)); u 2219 net/mac80211/rx.c BUILD_BUG_ON(sizeof(rx->key->u.ccmp.rx_pn[queue]) != u 2220 net/mac80211/rx.c sizeof(rx->key->u.gcmp.rx_pn[queue])); u 2260 net/mac80211/rx.c rpn = rx->key->u.ccmp.rx_pn[queue]; u 2384 net/mac80211/rx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN && !sdata->u.vlan.sta) u 2388 net/mac80211/rx.c !!sdata->u.mgd.use_4addr != !!ieee80211_has_a4(hdr->frame_control)) { u 2390 net/mac80211/rx.c if (!sdata->u.mgd.use_4addr) u 2397 net/mac80211/rx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN && sdata->u.vlan.sta) u 2494 net/mac80211/rx.c (sdata->vif.type != NL80211_IFTYPE_AP_VLAN || !sdata->u.vlan.sta)) { u 2645 net/mac80211/rx.c if (!rx->sdata->u.vlan.sta) u 2649 net/mac80211/rx.c if (!rx->sdata->u.mgd.use_4addr) u 2673 net/mac80211/rx.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 2851 net/mac80211/rx.c offsetof(struct ieee80211_tdls_data, u)) && u 2868 net/mac80211/rx.c u.ap); u 2929 net/mac80211/rx.c event.u.ba.tid = tid; u 2930 net/mac80211/rx.c event.u.ba.ssn = start_seq_num; u 2931 net/mac80211/rx.c event.u.ba.sta = &rx->sta->sta; u 2971 net/mac80211/rx.c if (!ether_addr_equal(mgmt->sa, sdata->u.mgd.bssid) || u 2972 net/mac80211/rx.c !ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) { u 2977 net/mac80211/rx.c if (len < 24 + 1 + sizeof(resp->u.action.u.sa_query)) { u 2990 net/mac80211/rx.c memcpy(resp->bssid, sdata->u.mgd.bssid, ETH_ALEN); u 2993 net/mac80211/rx.c skb_put(skb, 1 + sizeof(resp->u.action.u.sa_query)); u 2994 net/mac80211/rx.c resp->u.action.category = WLAN_CATEGORY_SA_QUERY; u 2995 net/mac80211/rx.c resp->u.action.u.sa_query.action = WLAN_ACTION_SA_QUERY_RESPONSE; u 2996 net/mac80211/rx.c memcpy(resp->u.action.u.sa_query.trans_id, u 2997 net/mac80211/rx.c mgmt->u.action.u.sa_query.trans_id, u 3057 net/mac80211/rx.c if (!rx->sta && mgmt->u.action.category != WLAN_CATEGORY_PUBLIC && u 3058 net/mac80211/rx.c mgmt->u.action.category != WLAN_CATEGORY_SELF_PROTECTED && u 3059 net/mac80211/rx.c mgmt->u.action.category != WLAN_CATEGORY_SPECTRUM_MGMT) u 3062 net/mac80211/rx.c switch (mgmt->u.action.category) { u 3079 net/mac80211/rx.c switch (mgmt->u.action.u.ht_smps.action) { u 3086 net/mac80211/rx.c switch (mgmt->u.action.u.ht_smps.smps_control) { u 3120 net/mac80211/rx.c u8 chanwidth = mgmt->u.action.u.ht_notify_cw.chanwidth; u 3167 net/mac80211/rx.c if (!ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) u 3169 net/mac80211/rx.c if (mgmt->u.action.u.ext_chan_switch.action_code != u 3173 net/mac80211/rx.c u.action.u.ext_chan_switch.variable)) u 3188 net/mac80211/rx.c switch (mgmt->u.action.u.vht_opmode_notif.action_code) { u 3216 net/mac80211/rx.c switch (mgmt->u.action.u.addba_req.action_code) { u 3219 net/mac80211/rx.c sizeof(mgmt->u.action.u.addba_req))) u 3224 net/mac80211/rx.c sizeof(mgmt->u.action.u.addba_resp))) u 3229 net/mac80211/rx.c sizeof(mgmt->u.action.u.delba))) u 3242 net/mac80211/rx.c switch (mgmt->u.action.u.measurement.action_code) { u 3248 net/mac80211/rx.c sizeof(mgmt->u.action.u.measurement))) u 3259 net/mac80211/rx.c sizeof(mgmt->u.action.u.chan_switch))) u 3268 net/mac80211/rx.c bssid = sdata->u.mgd.bssid; u 3270 net/mac80211/rx.c bssid = sdata->u.ibss.bssid; u 3285 net/mac80211/rx.c sizeof(mgmt->u.action.u.sa_query))) u 3288 net/mac80211/rx.c switch (mgmt->u.action.u.sa_query.action) { u 3298 net/mac80211/rx.c sizeof(mgmt->u.action.u.self_prot.action_code))) u 3301 net/mac80211/rx.c switch (mgmt->u.action.u.self_prot.action_code) { u 3307 net/mac80211/rx.c if (sdata->u.mesh.user_mpm) u 3320 net/mac80211/rx.c sizeof(mgmt->u.action.u.mesh_action.action_code))) u 3415 net/mac80211/rx.c if (mgmt->u.action.category & 0x80) u 3423 net/mac80211/rx.c nmgmt->u.action.category |= 0x80; u 3553 net/mac80211/rx.c !(sdata->u.mntr.flags & MONITOR_FLAG_COOK_FRAMES)) u 3735 net/mac80211/rx.c .u.ba.tid = tid, u 3736 net/mac80211/rx.c .u.ba.sta = &sta->sta, u 3836 net/mac80211/rx.c if (!bssid && !sdata->u.mgd.use_4addr) u 3847 net/mac80211/rx.c ether_addr_equal(sdata->u.ibss.bssid, hdr->addr2)) u 3851 net/mac80211/rx.c if (!ieee80211_bssid_match(bssid, sdata->u.ibss.bssid)) u 3947 net/mac80211/rx.c return ether_addr_equal(sdata->u.wds.remote_addr, hdr->addr2); u 3998 net/mac80211/rx.c fastrx.sta_notify = sdata->u.mgd.probe_send_count > 0; u 4005 net/mac80211/rx.c if (sdata->u.mgd.use_4addr && !sta->sta.tdls) { u 4012 net/mac80211/rx.c if (!sdata->u.mgd.powersave) u 4036 net/mac80211/rx.c !sdata->u.vlan.sta); u 4039 net/mac80211/rx.c sdata->u.vlan.sta) { u 189 net/mac80211/scan.c elements = mgmt->u.probe_resp.variable; u 191 net/mac80211/scan.c u.probe_resp.variable); u 193 net/mac80211/scan.c baselen = offsetof(struct ieee80211_mgmt, u.beacon.variable); u 194 net/mac80211/scan.c elements = mgmt->u.beacon.variable; u 556 net/mac80211/scan.c sdata->u.mgd.flags & IEEE80211_STA_CONNECTION_POLL) u 839 net/mac80211/scan.c if (sdata->u.mgd.associated) { u 208 net/mac80211/spectmgmt.c skb_put(skb, 1 + sizeof(msr_report->u.action.u.measurement)); u 209 net/mac80211/spectmgmt.c msr_report->u.action.category = WLAN_CATEGORY_SPECTRUM_MGMT; u 210 net/mac80211/spectmgmt.c msr_report->u.action.u.measurement.action_code = u 212 net/mac80211/spectmgmt.c msr_report->u.action.u.measurement.dialog_token = dialog_token; u 214 net/mac80211/spectmgmt.c msr_report->u.action.u.measurement.element_id = WLAN_EID_MEASURE_REPORT; u 215 net/mac80211/spectmgmt.c msr_report->u.action.u.measurement.length = u 218 net/mac80211/spectmgmt.c memset(&msr_report->u.action.u.measurement.msr_elem, 0, u 220 net/mac80211/spectmgmt.c msr_report->u.action.u.measurement.msr_elem.token = request_ie->token; u 221 net/mac80211/spectmgmt.c msr_report->u.action.u.measurement.msr_elem.mode |= u 223 net/mac80211/spectmgmt.c msr_report->u.action.u.measurement.msr_elem.type = request_ie->type; u 240 net/mac80211/spectmgmt.c &mgmt->u.action.u.measurement.msr_elem, u 242 net/mac80211/spectmgmt.c mgmt->u.action.u.measurement.dialog_token); u 99 net/mac80211/sta_info.c ps = &sdata->u.mesh.ps; u 336 net/mac80211/sta_info.c !sdata->u.mesh.user_mpm) u 778 net/mac80211/sta_info.c ps = &sta->sdata->u.mesh.ps; u 1015 net/mac80211/sta_info.c rcu_access_pointer(sdata->u.vlan.sta) == sta) u 1016 net/mac80211/sta_info.c RCU_INIT_POINTER(sdata->u.vlan.sta, NULL); u 1217 net/mac80211/sta_info.c atomic_dec(&sdata->u.mesh.ps.num_sta_ps); u 1282 net/mac80211/sta_info.c u.ap); u 1287 net/mac80211/sta_info.c ps = &sdata->u.mesh.ps; u 1384 net/mac80211/sta_info.c !(sdata->u.mgd.flags & IEEE80211_STA_DISABLE_HE)) u 2196 net/mac80211/sta_info.c sinfo->rx_beacon = sdata->u.mgd.count_beacon_signal; u 2208 net/mac80211/sta_info.c sinfo->beacon_loss_count = sdata->u.mgd.beacon_loss_count; u 210 net/mac80211/status.c mgmt->u.action.category == WLAN_CATEGORY_HT && u 211 net/mac80211/status.c mgmt->u.action.u.ht_smps.action == WLAN_HT_ACTION_SMPS && u 215 net/mac80211/status.c switch (mgmt->u.action.u.ht_smps.smps_control) { u 578 net/mac80211/status.c spin_lock(&sdata->u.mgd.teardown_lock); u 579 net/mac80211/status.c teardown_skb = sdata->u.mgd.teardown_skb; u 580 net/mac80211/status.c orig_teardown_skb = sdata->u.mgd.orig_teardown_skb; u 582 net/mac80211/status.c sdata->u.mgd.teardown_skb = NULL; u 583 net/mac80211/status.c sdata->u.mgd.orig_teardown_skb = NULL; u 586 net/mac80211/status.c spin_unlock(&sdata->u.mgd.teardown_lock); u 838 net/mac80211/status.c if ((sdata->u.mntr.flags & MONITOR_FLAG_COOK_FRAMES) && u 1038 net/mac80211/status.c local->ps_sdata->u.mgd.flags |= u 30 net/mac80211/tdls.c u.mgd.tdls_peer_del_work.work); u 34 net/mac80211/tdls.c if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { u 35 net/mac80211/tdls.c tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); u 36 net/mac80211/tdls.c sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); u 37 net/mac80211/tdls.c eth_zero_addr(sdata->u.mgd.tdls_peer); u 46 net/mac80211/tdls.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 221 net/mac80211/tdls.c memcpy(lnkid->bssid, sdata->u.mgd.bssid, ETH_ALEN); u 229 net/mac80211/tdls.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 549 net/mac80211/tdls.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 658 net/mac80211/tdls.c tf->u.chan_switch_req.target_channel = u 660 net/mac80211/tdls.c tf->u.chan_switch_req.oper_class = oper_class; u 752 net/mac80211/tdls.c tf = skb_put(skb, offsetof(struct ieee80211_tdls_data, u)); u 767 net/mac80211/tdls.c skb_put(skb, sizeof(tf->u.setup_req)); u 768 net/mac80211/tdls.c tf->u.setup_req.dialog_token = dialog_token; u 769 net/mac80211/tdls.c tf->u.setup_req.capability = u 777 net/mac80211/tdls.c skb_put(skb, sizeof(tf->u.setup_resp)); u 778 net/mac80211/tdls.c tf->u.setup_resp.status_code = cpu_to_le16(status_code); u 779 net/mac80211/tdls.c tf->u.setup_resp.dialog_token = dialog_token; u 780 net/mac80211/tdls.c tf->u.setup_resp.capability = u 788 net/mac80211/tdls.c skb_put(skb, sizeof(tf->u.setup_cfm)); u 789 net/mac80211/tdls.c tf->u.setup_cfm.status_code = cpu_to_le16(status_code); u 790 net/mac80211/tdls.c tf->u.setup_cfm.dialog_token = dialog_token; u 796 net/mac80211/tdls.c skb_put(skb, sizeof(tf->u.teardown)); u 797 net/mac80211/tdls.c tf->u.teardown.reason_code = cpu_to_le16(status_code); u 803 net/mac80211/tdls.c skb_put(skb, sizeof(tf->u.discover_req)); u 804 net/mac80211/tdls.c tf->u.discover_req.dialog_token = dialog_token; u 810 net/mac80211/tdls.c skb_put(skb, sizeof(tf->u.chan_switch_req)); u 816 net/mac80211/tdls.c skb_put(skb, sizeof(tf->u.chan_switch_resp)); u 817 net/mac80211/tdls.c tf->u.chan_switch_resp.status_code = cpu_to_le16(status_code); u 837 net/mac80211/tdls.c memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); u 844 net/mac80211/tdls.c skb_put(skb, 1 + sizeof(mgmt->u.action.u.tdls_discover_resp)); u 845 net/mac80211/tdls.c mgmt->u.action.category = WLAN_CATEGORY_PUBLIC; u 846 net/mac80211/tdls.c mgmt->u.action.u.tdls_discover_resp.action_code = u 848 net/mac80211/tdls.c mgmt->u.action.u.tdls_discover_resp.dialog_token = u 850 net/mac80211/tdls.c mgmt->u.action.u.tdls_discover_resp.capability = u 1037 net/mac80211/tdls.c spin_lock_bh(&sdata->u.mgd.teardown_lock); u 1038 net/mac80211/tdls.c if (try_resend && !sdata->u.mgd.teardown_skb) { u 1050 net/mac80211/tdls.c sdata->u.mgd.teardown_skb = skb_copy(skb, GFP_ATOMIC); u 1051 net/mac80211/tdls.c sdata->u.mgd.orig_teardown_skb = skb; u 1053 net/mac80211/tdls.c spin_unlock_bh(&sdata->u.mgd.teardown_lock); u 1076 net/mac80211/tdls.c enum ieee80211_smps_mode smps_mode = sdata->u.mgd.driver_smps_mode; u 1090 net/mac80211/tdls.c if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer) && u 1091 net/mac80211/tdls.c !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) { u 1114 net/mac80211/tdls.c memcpy(sdata->u.mgd.tdls_peer, peer, ETH_ALEN); u 1125 net/mac80211/tdls.c eth_zero_addr(sdata->u.mgd.tdls_peer); u 1131 net/mac80211/tdls.c &sdata->u.mgd.tdls_peer_del_work, u 1201 net/mac80211/tdls.c !sdata->u.mgd.associated) u 1314 net/mac80211/tdls.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 1396 net/mac80211/tdls.c WARN_ON_ONCE(is_zero_ether_addr(sdata->u.mgd.tdls_peer) || u 1397 net/mac80211/tdls.c !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)); u 1428 net/mac80211/tdls.c if (ret == 0 && ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) { u 1429 net/mac80211/tdls.c cancel_delayed_work(&sdata->u.mgd.tdls_peer_del_work); u 1430 net/mac80211/tdls.c eth_zero_addr(sdata->u.mgd.tdls_peer); u 1435 net/mac80211/tdls.c &sdata->u.mgd.request_smps_work); u 1484 net/mac80211/tdls.c ie_start = tf->u.chan_switch_req.variable; u 1689 net/mac80211/tdls.c int baselen = offsetof(typeof(*tf), u.chan_switch_resp.variable); u 1712 net/mac80211/tdls.c params.status = le16_to_cpu(tf->u.chan_switch_resp.status_code); u 1718 net/mac80211/tdls.c ieee802_11_parse_elems(tf->u.chan_switch_resp.variable, u 1782 net/mac80211/tdls.c int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable); u 1795 net/mac80211/tdls.c target_channel = tf->u.chan_switch_req.target_channel; u 1796 net/mac80211/tdls.c oper_class = tf->u.chan_switch_req.oper_class; u 1831 net/mac80211/tdls.c ieee802_11_parse_elems(tf->u.chan_switch_req.variable, u 155 net/mac80211/tkip.c struct tkip_ctx *ctx = &key->u.tkip.tx; u 158 net/mac80211/tkip.c lockdep_assert_held(&key->u.tkip.txlock); u 176 net/mac80211/tkip.c struct tkip_ctx *ctx = &key->u.tkip.tx; u 178 net/mac80211/tkip.c spin_lock_bh(&key->u.tkip.txlock); u 181 net/mac80211/tkip.c spin_unlock_bh(&key->u.tkip.txlock); u 202 net/mac80211/tkip.c struct tkip_ctx *ctx = &key->u.tkip.tx; u 208 net/mac80211/tkip.c spin_lock(&key->u.tkip.txlock); u 211 net/mac80211/tkip.c spin_unlock(&key->u.tkip.txlock); u 250 net/mac80211/tkip.c struct tkip_ctx_rx *rx_ctx = &key->u.tkip.rx[queue]; u 301 net/mac80211/tkip.c struct ieee80211_sub_if_data, u.ap); u 246 net/mac80211/tx.c ifmgd = &tx->sdata->u.mgd; u 364 net/mac80211/tx.c ps = &sdata->u.ap.ps; u 366 net/mac80211/tx.c ps = &sdata->u.mesh.ps; u 423 net/mac80211/tx.c ps = &tx->sdata->u.mesh.ps; u 1189 net/mac80211/tx.c tx->sta = rcu_dereference(sdata->u.vlan.sta); u 1436 net/mac80211/tx.c ap = container_of(sdata->bss, struct ieee80211_sub_if_data, u.ap); u 1609 net/mac80211/tx.c struct ieee80211_sub_if_data, u.ap); u 1729 net/mac80211/tx.c if (sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE) { u 1746 net/mac80211/tx.c struct ieee80211_sub_if_data, u.ap); u 2381 net/mac80211/tx.c sta = rcu_dereference(sdata->u.vlan.sta); u 2399 net/mac80211/tx.c sta = sta_info_get(sdata, sdata->u.wds.remote_addr); u 2430 net/mac80211/tx.c sta = sta_info_get(sdata, sdata->u.mgd.bssid); u 2511 net/mac80211/tx.c u.ap); u 2539 net/mac80211/tx.c memcpy(hdr.addr1, sdata->u.wds.remote_addr, ETH_ALEN); u 2639 net/mac80211/tx.c memcpy(hdr.addr3, sdata->u.mgd.bssid, ETH_ALEN); u 2641 net/mac80211/tx.c } else if (sdata->u.mgd.use_4addr && u 2646 net/mac80211/tx.c memcpy(hdr.addr1, sdata->u.mgd.bssid, ETH_ALEN); u 2654 net/mac80211/tx.c memcpy(hdr.addr1, sdata->u.mgd.bssid, ETH_ALEN); u 2683 net/mac80211/tx.c memcpy(hdr.addr3, sdata->u.ibss.bssid, ETH_ALEN); u 2939 net/mac80211/tx.c memcpy(hdr->addr3, sdata->u.ibss.bssid, ETH_ALEN); u 2947 net/mac80211/tx.c memcpy(hdr->addr3, sdata->u.mgd.bssid, ETH_ALEN); u 2952 net/mac80211/tx.c if (sdata->u.mgd.use_4addr) { u 2957 net/mac80211/tx.c memcpy(hdr->addr1, sdata->u.mgd.bssid, ETH_ALEN); u 2966 net/mac80211/tx.c memcpy(hdr->addr1, sdata->u.mgd.bssid, ETH_ALEN); u 3202 net/mac80211/tx.c bssid = sdata->u.mgd.bssid; u 3544 net/mac80211/tx.c struct ieee80211_sub_if_data, u.ap); u 3669 net/mac80211/tx.c if (tx.sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE) { u 3687 net/mac80211/tx.c struct ieee80211_sub_if_data, u.ap); u 3960 net/mac80211/tx.c if (sdata->u.vlan.sta) u 4326 net/mac80211/tx.c resp = rcu_dereference(sdata->u.ap.probe_resp); u 4363 net/mac80211/tx.c beacon = rcu_dereference(sdata->u.ap.beacon); u 4365 net/mac80211/tx.c beacon = rcu_dereference(sdata->u.ibss.presp); u 4367 net/mac80211/tx.c beacon = rcu_dereference(sdata->u.mesh.beacon); u 4388 net/mac80211/tx.c beacon = rcu_dereference(sdata->u.ap.beacon); u 4390 net/mac80211/tx.c beacon = rcu_dereference(sdata->u.ibss.presp); u 4392 net/mac80211/tx.c beacon = rcu_dereference(sdata->u.mesh.beacon); u 4418 net/mac80211/tx.c struct ieee80211_if_ap *ap = &sdata->u.ap; u 4426 net/mac80211/tx.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 4435 net/mac80211/tx.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 4491 net/mac80211/tx.c struct ieee80211_if_ap *ap = &sdata->u.ap; u 4533 net/mac80211/tx.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 4558 net/mac80211/tx.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 4707 net/mac80211/tx.c ap = &sdata->u.ap; u 4740 net/mac80211/tx.c ifmgd = &sdata->u.mgd; u 4779 net/mac80211/tx.c ifmgd = &sdata->u.mgd; u 4914 net/mac80211/tx.c rcu_dereference(sdata->u.ap.beacon); u 4919 net/mac80211/tx.c ps = &sdata->u.ap.ps; u 4921 net/mac80211/tx.c ps = &sdata->u.mesh.ps; u 726 net/mac80211/util.c if (!(sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE)) u 1577 net/mac80211/util.c mgmt->u.auth.auth_alg = cpu_to_le16(auth_alg); u 1578 net/mac80211/util.c mgmt->u.auth.auth_transaction = cpu_to_le16(transaction); u 1579 net/mac80211/util.c mgmt->u.auth.status_code = cpu_to_le16(status); u 1611 net/mac80211/util.c mgmt->u.deauth.reason_code = cpu_to_le16(reason); u 1625 net/mac80211/util.c !(sdata->u.mgd.flags & IEEE80211_STA_MFP_ENABLED)) u 2099 net/mac80211/util.c &sdata->u.nan.conf); u 2113 net/mac80211/util.c spin_lock_bh(&sdata->u.nan.func_lock); u 2115 net/mac80211/util.c idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, id) u 2118 net/mac80211/util.c spin_unlock_bh(&sdata->u.nan.func_lock); u 2330 net/mac80211/util.c if (sdata->u.mgd.have_beacon) u 2359 net/mac80211/util.c if (rcu_access_pointer(sdata->u.ap.beacon)) u 2405 net/mac80211/util.c if (!sdata->u.mgd.associated) u 2640 net/mac80211/util.c sdata->u.mgd.rssi_min_thold = rssi_min_thold*16; u 2641 net/mac80211/util.c sdata->u.mgd.rssi_max_thold = rssi_max_thold*16; u 3196 net/mac80211/util.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 3476 net/mac80211/util.c u.action.u.chan_switch); u 3501 net/mac80211/util.c struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; u 3504 net/mac80211/util.c mgmt->u.action.category = WLAN_CATEGORY_SPECTRUM_MGMT; u 3505 net/mac80211/util.c mgmt->u.action.u.chan_switch.action_code = WLAN_ACTION_SPCT_CHL_SWITCH; u 3528 net/mac80211/util.c struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; u 3533 net/mac80211/util.c *pos++ = sdata->u.mesh.mshcfg.dot11MeshTTL; /* Mesh TTL */ u 3790 net/mac80211/util.c ps = &sdata->u.mesh.ps; u 23 net/mac80211/vht.c if (sdata->u.mgd.vht_capa_mask.vht_cap_info & le_flag && u 24 net/mac80211/vht.c !(sdata->u.mgd.vht_capa.vht_cap_info & le_flag)) u 58 net/mac80211/vht.c if (sdata->u.mgd.vht_capa_mask.vht_cap_info & u 62 net/mac80211/vht.c n = le32_to_cpu(sdata->u.mgd.vht_capa.vht_cap_info) & u 78 net/mac80211/vht.c le16_to_cpu(sdata->u.mgd.vht_capa_mask.supp_mcs.rx_mcs_map); u 79 net/mac80211/vht.c rxmcs_n = le16_to_cpu(sdata->u.mgd.vht_capa.supp_mcs.rx_mcs_map); u 84 net/mac80211/vht.c le16_to_cpu(sdata->u.mgd.vht_capa_mask.supp_mcs.tx_mcs_map); u 85 net/mac80211/vht.c txmcs_n = le16_to_cpu(sdata->u.mgd.vht_capa.supp_mcs.tx_mcs_map); u 562 net/mac80211/vht.c if (!memcmp(mgmt->u.action.u.vht_group_notif.position, u 564 net/mac80211/vht.c !memcmp(mgmt->u.action.u.vht_group_notif.membership, u 569 net/mac80211/vht.c mgmt->u.action.u.vht_group_notif.membership, u 572 net/mac80211/vht.c mgmt->u.action.u.vht_group_notif.position, u 86 net/mac80211/wme.c struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; u 198 net/mac80211/wme.c sta = rcu_dereference(sdata->u.vlan.sta); u 206 net/mac80211/wme.c ra = sdata->u.wds.remote_addr; u 214 net/mac80211/wme.c ra = sdata->u.mgd.bssid; u 170 net/mac80211/wpa.c rx->key->u.tkip.rx[rx->security_idx].iv32 = rx->tkip_iv32; u 171 net/mac80211/wpa.c rx->key->u.tkip.rx[rx->security_idx].iv16 = rx->tkip_iv16; u 176 net/mac80211/wpa.c rx->key->u.tkip.mic_failures++; u 471 net/mac80211/wpa.c return ieee80211_aes_ccm_encrypt(key->u.ccmp.tfm, b_0, aad, pos, len, u 533 net/mac80211/wpa.c res = memcmp(pn, key->u.ccmp.rx_pn[queue], u 537 net/mac80211/wpa.c key->u.ccmp.replays++; u 548 net/mac80211/wpa.c key->u.ccmp.tfm, b_0, aad, u 555 net/mac80211/wpa.c memcpy(key->u.ccmp.rx_pn[queue], pn, IEEE80211_CCMP_PN_LEN); u 703 net/mac80211/wpa.c return ieee80211_aes_gcm_encrypt(key->u.gcmp.tfm, j_0, aad, pos, len, u 760 net/mac80211/wpa.c res = memcmp(pn, key->u.gcmp.rx_pn[queue], u 764 net/mac80211/wpa.c key->u.gcmp.replays++; u 775 net/mac80211/wpa.c key->u.gcmp.tfm, j_0, aad, u 783 net/mac80211/wpa.c memcpy(key->u.gcmp.rx_pn[queue], pn, IEEE80211_GCMP_PN_LEN); u 875 net/mac80211/wpa.c rx_pn = key->u.gen.rx_pn[qos_tid]; u 974 net/mac80211/wpa.c ieee80211_aes_cmac(key->u.aes_cmac.tfm, aad, u 1017 net/mac80211/wpa.c ieee80211_aes_cmac_256(key->u.aes_cmac.tfm, aad, u 1049 net/mac80211/wpa.c if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { u 1050 net/mac80211/wpa.c key->u.aes_cmac.replays++; u 1057 net/mac80211/wpa.c ieee80211_aes_cmac(key->u.aes_cmac.tfm, aad, u 1060 net/mac80211/wpa.c key->u.aes_cmac.icverrors++; u 1065 net/mac80211/wpa.c memcpy(key->u.aes_cmac.rx_pn, ipn, 6); u 1099 net/mac80211/wpa.c if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { u 1100 net/mac80211/wpa.c key->u.aes_cmac.replays++; u 1107 net/mac80211/wpa.c ieee80211_aes_cmac_256(key->u.aes_cmac.tfm, aad, u 1110 net/mac80211/wpa.c key->u.aes_cmac.icverrors++; u 1115 net/mac80211/wpa.c memcpy(key->u.aes_cmac.rx_pn, ipn, 6); u 1165 net/mac80211/wpa.c if (ieee80211_aes_gmac(key->u.aes_gmac.tfm, aad, nonce, u 1198 net/mac80211/wpa.c if (memcmp(ipn, key->u.aes_gmac.rx_pn, 6) <= 0) { u 1199 net/mac80211/wpa.c key->u.aes_gmac.replays++; u 1213 net/mac80211/wpa.c if (ieee80211_aes_gmac(key->u.aes_gmac.tfm, aad, nonce, u 1217 net/mac80211/wpa.c key->u.aes_gmac.icverrors++; u 1224 net/mac80211/wpa.c memcpy(key->u.aes_gmac.rx_pn, ipn, 6); u 713 net/ncsi/ncsi-manage.c } u; u 718 net/ncsi/ncsi-manage.c memset(&u, 0, sizeof(u)); u 719 net/ncsi/ncsi-manage.c u.data_u32[0] = ntohl(NCSI_OEM_MFR_MLX_ID); u 720 net/ncsi/ncsi-manage.c u.data_u8[5] = NCSI_OEM_MLX_CMD_GMA; u 721 net/ncsi/ncsi-manage.c u.data_u8[6] = NCSI_OEM_MLX_CMD_GMA_PARAM; u 723 net/ncsi/ncsi-manage.c nca->data = u.data_u8; u 1268 net/netfilter/ipvs/ip_vs_ctl.c ip_vs_add_service(struct netns_ipvs *ipvs, struct ip_vs_service_user_kern *u, u 1281 net/netfilter/ipvs/ip_vs_ctl.c if (strcmp(u->sched_name, "none")) { u 1282 net/netfilter/ipvs/ip_vs_ctl.c sched = ip_vs_scheduler_get(u->sched_name); u 1285 net/netfilter/ipvs/ip_vs_ctl.c u->sched_name); u 1291 net/netfilter/ipvs/ip_vs_ctl.c if (u->pe_name && *u->pe_name) { u 1292 net/netfilter/ipvs/ip_vs_ctl.c pe = ip_vs_pe_getbyname(u->pe_name); u 1295 net/netfilter/ipvs/ip_vs_ctl.c "not found\n", u->pe_name); u 1302 net/netfilter/ipvs/ip_vs_ctl.c if (u->af == AF_INET6) { u 1303 net/netfilter/ipvs/ip_vs_ctl.c __u32 plen = (__force __u32) u->netmask; u 1338 net/netfilter/ipvs/ip_vs_ctl.c svc->af = u->af; u 1339 net/netfilter/ipvs/ip_vs_ctl.c svc->protocol = u->protocol; u 1340 net/netfilter/ipvs/ip_vs_ctl.c ip_vs_addr_copy(svc->af, &svc->addr, &u->addr); u 1341 net/netfilter/ipvs/ip_vs_ctl.c svc->port = u->port; u 1342 net/netfilter/ipvs/ip_vs_ctl.c svc->fwmark = u->fwmark; u 1343 net/netfilter/ipvs/ip_vs_ctl.c svc->flags = u->flags; u 1344 net/netfilter/ipvs/ip_vs_ctl.c svc->timeout = u->timeout * HZ; u 1345 net/netfilter/ipvs/ip_vs_ctl.c svc->netmask = u->netmask; u 1406 net/netfilter/ipvs/ip_vs_ctl.c ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u) u 1416 net/netfilter/ipvs/ip_vs_ctl.c if (strcmp(u->sched_name, "none")) { u 1417 net/netfilter/ipvs/ip_vs_ctl.c sched = ip_vs_scheduler_get(u->sched_name); u 1420 net/netfilter/ipvs/ip_vs_ctl.c u->sched_name); u 1426 net/netfilter/ipvs/ip_vs_ctl.c if (u->pe_name && *u->pe_name) { u 1427 net/netfilter/ipvs/ip_vs_ctl.c pe = ip_vs_pe_getbyname(u->pe_name); u 1430 net/netfilter/ipvs/ip_vs_ctl.c "not found\n", u->pe_name); u 1438 net/netfilter/ipvs/ip_vs_ctl.c if (u->af == AF_INET6) { u 1439 net/netfilter/ipvs/ip_vs_ctl.c __u32 plen = (__force __u32) u->netmask; u 1469 net/netfilter/ipvs/ip_vs_ctl.c svc->flags = u->flags | IP_VS_SVC_F_HASHED; u 1470 net/netfilter/ipvs/ip_vs_ctl.c svc->timeout = u->timeout * HZ; u 1471 net/netfilter/ipvs/ip_vs_ctl.c svc->netmask = u->netmask; u 2249 net/netfilter/ipvs/ip_vs_ctl.c struct ip_vs_cpu_stats *u = per_cpu_ptr(cpustats, i); u 2254 net/netfilter/ipvs/ip_vs_ctl.c start = u64_stats_fetch_begin_irq(&u->syncp); u 2255 net/netfilter/ipvs/ip_vs_ctl.c conns = u->cnt.conns; u 2256 net/netfilter/ipvs/ip_vs_ctl.c inpkts = u->cnt.inpkts; u 2257 net/netfilter/ipvs/ip_vs_ctl.c outpkts = u->cnt.outpkts; u 2258 net/netfilter/ipvs/ip_vs_ctl.c inbytes = u->cnt.inbytes; u 2259 net/netfilter/ipvs/ip_vs_ctl.c outbytes = u->cnt.outbytes; u 2260 net/netfilter/ipvs/ip_vs_ctl.c } while (u64_stats_fetch_retry_irq(&u->syncp, start)); u 2294 net/netfilter/ipvs/ip_vs_ctl.c static int ip_vs_set_timeout(struct netns_ipvs *ipvs, struct ip_vs_timeout_user *u) u 2301 net/netfilter/ipvs/ip_vs_ctl.c u->tcp_timeout, u 2302 net/netfilter/ipvs/ip_vs_ctl.c u->tcp_fin_timeout, u 2303 net/netfilter/ipvs/ip_vs_ctl.c u->udp_timeout); u 2306 net/netfilter/ipvs/ip_vs_ctl.c if (u->tcp_timeout < 0 || u->tcp_timeout > (INT_MAX / HZ) || u 2307 net/netfilter/ipvs/ip_vs_ctl.c u->tcp_fin_timeout < 0 || u->tcp_fin_timeout > (INT_MAX / HZ)) { u 2313 net/netfilter/ipvs/ip_vs_ctl.c if (u->udp_timeout < 0 || u->udp_timeout > (INT_MAX / HZ)) u 2318 net/netfilter/ipvs/ip_vs_ctl.c if (u->tcp_timeout) { u 2321 net/netfilter/ipvs/ip_vs_ctl.c = u->tcp_timeout * HZ; u 2324 net/netfilter/ipvs/ip_vs_ctl.c if (u->tcp_fin_timeout) { u 2327 net/netfilter/ipvs/ip_vs_ctl.c = u->tcp_fin_timeout * HZ; u 2332 net/netfilter/ipvs/ip_vs_ctl.c if (u->udp_timeout) { u 2335 net/netfilter/ipvs/ip_vs_ctl.c = u->udp_timeout * HZ; u 2685 net/netfilter/ipvs/ip_vs_ctl.c __ip_vs_get_timeouts(struct netns_ipvs *ipvs, struct ip_vs_timeout_user *u) u 2691 net/netfilter/ipvs/ip_vs_ctl.c memset(u, 0, sizeof (*u)); u 2695 net/netfilter/ipvs/ip_vs_ctl.c u->tcp_timeout = pd->timeout_table[IP_VS_TCP_S_ESTABLISHED] / HZ; u 2696 net/netfilter/ipvs/ip_vs_ctl.c u->tcp_fin_timeout = pd->timeout_table[IP_VS_TCP_S_FIN_WAIT] / HZ; u 2700 net/netfilter/ipvs/ip_vs_ctl.c u->udp_timeout = u 56 net/netfilter/ipvs/ip_vs_nfct.c ntohs((T)->src.u.all), \ u 58 net/netfilter/ipvs/ip_vs_nfct.c ntohs((T)->dst.u.all), \ u 112 net/netfilter/ipvs/ip_vs_nfct.c new_tuple.src.u.tcp.port = cp->dport; u 117 net/netfilter/ipvs/ip_vs_nfct.c new_tuple.dst.u.tcp.port = cp->vport; u 159 net/netfilter/ipvs/ip_vs_nfct.c &orig->src.u3, orig->src.u.tcp.port, u 160 net/netfilter/ipvs/ip_vs_nfct.c &orig->dst.u3, orig->dst.u.tcp.port, &p); u 172 net/netfilter/ipvs/ip_vs_nfct.c new_reply.dst.u.tcp.port = cp->vport; u 188 net/netfilter/ipvs/ip_vs_nfct.c new_reply.src.u.tcp.port = cp->dport; u 254 net/netfilter/ipvs/ip_vs_nfct.c tuple.src.u.all = cp->cport; u 257 net/netfilter/ipvs/ip_vs_nfct.c tuple.dst.u.all = cp->vport; u 184 net/netfilter/nf_conntrack_amanda.c .tuple.src.u.udp.port = cpu_to_be16(10080), u 194 net/netfilter/nf_conntrack_amanda.c .tuple.src.u.udp.port = cpu_to_be16(10080), u 61 net/netfilter/nf_conntrack_broadcast.c exp->tuple.src.u.udp.port = help->helper->tuple.src.u.udp.port; u 64 net/netfilter/nf_conntrack_broadcast.c exp->mask.src.u.udp.port = htons(0xFFFF); u 199 net/netfilter/nf_conntrack_core.c (((__force __u16)tuple->dst.u.all << 16) | u 234 net/netfilter/nf_conntrack_core.c tuple->src.u.udp.port = inet_hdr->sport; u 235 net/netfilter/nf_conntrack_core.c tuple->dst.u.udp.port = inet_hdr->dport; u 443 net/netfilter/nf_conntrack_core.c inverse->src.u.all = orig->dst.u.all; u 444 net/netfilter/nf_conntrack_core.c inverse->dst.u.all = orig->src.u.all; u 1823 net/netfilter/nf_conntrack_core.c if (nla_put_be16(skb, CTA_PROTO_SRC_PORT, tuple->src.u.tcp.port) || u 1824 net/netfilter/nf_conntrack_core.c nla_put_be16(skb, CTA_PROTO_DST_PORT, tuple->dst.u.tcp.port)) u 1845 net/netfilter/nf_conntrack_core.c t->src.u.tcp.port = nla_get_be16(tb[CTA_PROTO_SRC_PORT]); u 1846 net/netfilter/nf_conntrack_core.c t->dst.u.tcp.port = nla_get_be16(tb[CTA_PROTO_DST_PORT]); u 1908 net/netfilter/nf_conntrack_core.c tuple.src.u.all = u 1909 net/netfilter/nf_conntrack_core.c ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.all; u 1916 net/netfilter/nf_conntrack_core.c tuple.dst.u.all = u 1917 net/netfilter/nf_conntrack_core.c ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u.all; u 89 net/netfilter/nf_conntrack_expect.c (__force __u16)tuple->dst.u.all) ^ seed); u 239 net/netfilter/nf_conntrack_expect.c intersect_mask.src.u.all = a->mask.src.u.all & b->mask.src.u.all; u 332 net/netfilter/nf_conntrack_expect.c exp->tuple.src.u.all = *src; u 333 net/netfilter/nf_conntrack_expect.c exp->mask.src.u.all = htons(0xFFFF); u 335 net/netfilter/nf_conntrack_expect.c exp->tuple.src.u.all = 0; u 336 net/netfilter/nf_conntrack_expect.c exp->mask.src.u.all = 0; u 345 net/netfilter/nf_conntrack_expect.c exp->tuple.dst.u.all = *dst; u 167 net/netfilter/nf_conntrack_ftp.c cmd->u.tcp.port = htons((array[4] << 8) | array[5]); u 269 net/netfilter/nf_conntrack_ftp.c return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); u 286 net/netfilter/nf_conntrack_ftp.c return get_port(data, 3, dlen, delim, &cmd->u.tcp.port); u 518 net/netfilter/nf_conntrack_ftp.c IPPROTO_TCP, NULL, &cmd.u.tcp.port); u 871 net/netfilter/nf_conntrack_h323_main.c ntohs(ct->tuplehash[!dir].tuple.src.u.tcp.port)); u 875 net/netfilter/nf_conntrack_h323_main.c ct->tuplehash[!dir].tuple.src.u.tcp.port); u 888 net/netfilter/nf_conntrack_h323_main.c ntohs(ct->tuplehash[!dir].tuple.dst.u.tcp.port)); u 892 net/netfilter/nf_conntrack_h323_main.c ct->tuplehash[!dir].tuple.dst.u.tcp.port); u 1192 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.tcp.port = cpu_to_be16(Q931_PORT), u 1201 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.tcp.port = cpu_to_be16(Q931_PORT), u 1234 net/netfilter/nf_conntrack_h323_main.c tuple.src.u.tcp.port = 0; u 1236 net/netfilter/nf_conntrack_h323_main.c tuple.dst.u.tcp.port = port; u 1337 net/netfilter/nf_conntrack_h323_main.c port == ct->tuplehash[dir].tuple.src.u.udp.port) u 1760 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.udp.port = cpu_to_be16(RAS_PORT), u 1769 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.udp.port = cpu_to_be16(RAS_PORT), u 51 net/netfilter/nf_conntrack_helper.c (__force __u16)tuple->src.u.all) % nf_ct_helper_hsize; u 58 net/netfilter/nf_conntrack_helper.c struct nf_conntrack_tuple_mask mask = { .src.u.all = htons(0xFFFF) }; u 398 net/netfilter/nf_conntrack_helper.c struct nf_conntrack_tuple_mask mask = { .src.u.all = htons(0xFFFF) }; u 492 net/netfilter/nf_conntrack_helper.c helper->tuple.src.u.all = htons(spec_port); u 49 net/netfilter/nf_conntrack_netbios_ns.c .tuple.src.u.udp.port = cpu_to_be16(NMBD_PORT), u 2680 net/netfilter/nf_conntrack_netlink.c m.src.u.all = mask->src.u.all; u 2765 net/netfilter/nf_conntrack_netlink.c nat_tuple.src.u = exp->saved_proto; u 3236 net/netfilter/nf_conntrack_netlink.c exp->saved_proto = nat_tuple.src.u; u 3293 net/netfilter/nf_conntrack_netlink.c exp->mask.src.u.all = mask->src.u.all; u 194 net/netfilter/nf_conntrack_pptp.c t.src.u.gre.key = ct_pptp_info->pns_call_id; u 195 net/netfilter/nf_conntrack_pptp.c t.dst.u.gre.key = ct_pptp_info->pac_call_id; u 202 net/netfilter/nf_conntrack_pptp.c t.src.u.gre.key = ct_pptp_info->pac_call_id; u 203 net/netfilter/nf_conntrack_pptp.c t.dst.u.gre.key = ct_pptp_info->pns_call_id; u 615 net/netfilter/nf_conntrack_pptp.c .tuple.src.u.tcp.port = cpu_to_be16(PPTP_CONTROL_PORT), u 249 net/netfilter/nf_conntrack_proto.c tuple.src.u.tcp.port = inet->inet_sport; u 251 net/netfilter/nf_conntrack_proto.c tuple.dst.u.tcp.port = inet->inet_dport; u 276 net/netfilter/nf_conntrack_proto.c .tuple.dst.u.tcp.port; u 290 net/netfilter/nf_conntrack_proto.c &tuple.src.u3.ip, ntohs(tuple.src.u.tcp.port), u 291 net/netfilter/nf_conntrack_proto.c &tuple.dst.u3.ip, ntohs(tuple.dst.u.tcp.port)); u 318 net/netfilter/nf_conntrack_proto.c tuple.src.u.tcp.port = inet->inet_sport; u 320 net/netfilter/nf_conntrack_proto.c tuple.dst.u.tcp.port = inet->inet_dport; u 336 net/netfilter/nf_conntrack_proto.c &tuple.src.u3.ip6, ntohs(tuple.src.u.tcp.port), u 337 net/netfilter/nf_conntrack_proto.c &tuple.dst.u3.ip6, ntohs(tuple.dst.u.tcp.port)); u 344 net/netfilter/nf_conntrack_proto.c sin6.sin6_port = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u.tcp.port; u 78 net/netfilter/nf_conntrack_proto_gre.c km->tuple.dst.u.all == t->dst.u.all; u 90 net/netfilter/nf_conntrack_proto_gre.c key = km->tuple.src.u.gre.key; u 177 net/netfilter/nf_conntrack_proto_gre.c tuple->src.u.all = 0; u 178 net/netfilter/nf_conntrack_proto_gre.c tuple->dst.u.all = 0; u 192 net/netfilter/nf_conntrack_proto_gre.c tuple->dst.u.gre.key = pgrehdr->call_id; u 194 net/netfilter/nf_conntrack_proto_gre.c tuple->src.u.gre.key = srckey; u 35 net/netfilter/nf_conntrack_proto_icmp.c tuple->dst.u.icmp.type = hp->type; u 36 net/netfilter/nf_conntrack_proto_icmp.c tuple->src.u.icmp.id = hp->un.echo.id; u 37 net/netfilter/nf_conntrack_proto_icmp.c tuple->dst.u.icmp.code = hp->code; u 57 net/netfilter/nf_conntrack_proto_icmp.c if (orig->dst.u.icmp.type >= sizeof(invmap) || u 58 net/netfilter/nf_conntrack_proto_icmp.c !invmap[orig->dst.u.icmp.type]) u 61 net/netfilter/nf_conntrack_proto_icmp.c tuple->src.u.icmp.id = orig->src.u.icmp.id; u 62 net/netfilter/nf_conntrack_proto_icmp.c tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; u 63 net/netfilter/nf_conntrack_proto_icmp.c tuple->dst.u.icmp.code = orig->dst.u.icmp.code; u 87 net/netfilter/nf_conntrack_proto_icmp.c if (ct->tuplehash[0].tuple.dst.u.icmp.type >= sizeof(valid_new) || u 88 net/netfilter/nf_conntrack_proto_icmp.c !valid_new[ct->tuplehash[0].tuple.dst.u.icmp.type]) { u 91 net/netfilter/nf_conntrack_proto_icmp.c ct->tuplehash[0].tuple.dst.u.icmp.type); u 261 net/netfilter/nf_conntrack_proto_icmp.c if (nla_put_be16(skb, CTA_PROTO_ICMP_ID, t->src.u.icmp.id) || u 262 net/netfilter/nf_conntrack_proto_icmp.c nla_put_u8(skb, CTA_PROTO_ICMP_TYPE, t->dst.u.icmp.type) || u 263 net/netfilter/nf_conntrack_proto_icmp.c nla_put_u8(skb, CTA_PROTO_ICMP_CODE, t->dst.u.icmp.code)) u 285 net/netfilter/nf_conntrack_proto_icmp.c tuple->dst.u.icmp.type = nla_get_u8(tb[CTA_PROTO_ICMP_TYPE]); u 286 net/netfilter/nf_conntrack_proto_icmp.c tuple->dst.u.icmp.code = nla_get_u8(tb[CTA_PROTO_ICMP_CODE]); u 287 net/netfilter/nf_conntrack_proto_icmp.c tuple->src.u.icmp.id = nla_get_be16(tb[CTA_PROTO_ICMP_ID]); u 289 net/netfilter/nf_conntrack_proto_icmp.c if (tuple->dst.u.icmp.type >= sizeof(invmap) || u 290 net/netfilter/nf_conntrack_proto_icmp.c !invmap[tuple->dst.u.icmp.type]) u 40 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->dst.u.icmp.type = hp->icmp6_type; u 41 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->src.u.icmp.id = hp->icmp6_identifier; u 42 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->dst.u.icmp.code = hp->icmp6_code; u 69 net/netfilter/nf_conntrack_proto_icmpv6.c int type = orig->dst.u.icmp.type - 128; u 73 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->src.u.icmp.id = orig->src.u.icmp.id; u 74 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->dst.u.icmp.type = invmap[type] - 1; u 75 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->dst.u.icmp.code = orig->dst.u.icmp.code; u 100 net/netfilter/nf_conntrack_proto_icmpv6.c int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128; u 179 net/netfilter/nf_conntrack_proto_icmpv6.c if (nla_put_be16(skb, CTA_PROTO_ICMPV6_ID, t->src.u.icmp.id) || u 180 net/netfilter/nf_conntrack_proto_icmpv6.c nla_put_u8(skb, CTA_PROTO_ICMPV6_TYPE, t->dst.u.icmp.type) || u 181 net/netfilter/nf_conntrack_proto_icmpv6.c nla_put_u8(skb, CTA_PROTO_ICMPV6_CODE, t->dst.u.icmp.code)) u 203 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->dst.u.icmp.type = nla_get_u8(tb[CTA_PROTO_ICMPV6_TYPE]); u 204 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->dst.u.icmp.code = nla_get_u8(tb[CTA_PROTO_ICMPV6_CODE]); u 205 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->src.u.icmp.id = nla_get_be16(tb[CTA_PROTO_ICMPV6_ID]); u 207 net/netfilter/nf_conntrack_proto_icmpv6.c if (tuple->dst.u.icmp.type < 128 || u 208 net/netfilter/nf_conntrack_proto_icmpv6.c tuple->dst.u.icmp.type - 128 >= sizeof(invmap) || u 209 net/netfilter/nf_conntrack_proto_icmpv6.c !invmap[tuple->dst.u.icmp.type - 128]) u 816 net/netfilter/nf_conntrack_sip.c exp->tuple.dst.u.udp.port != port) u 880 net/netfilter/nf_conntrack_sip.c fl.u.ip4.daddr = daddr->ip; u 885 net/netfilter/nf_conntrack_sip.c fl.u.ip6.daddr = daddr->in6; u 921 net/netfilter/nf_conntrack_sip.c tuple.dst.u.udp.port = port; u 933 net/netfilter/nf_conntrack_sip.c exp->saved_proto.udp.port != exp->tuple.dst.u.udp.port) && u 937 net/netfilter/nf_conntrack_sip.c tuple.dst.u.udp.port = exp->saved_proto.udp.port; u 944 net/netfilter/nf_conntrack_sip.c base_port = ntohs(tuple.dst.u.udp.port) & ~1; u 1469 net/netfilter/nf_conntrack_sip.c port != ct->tuplehash[dir].tuple.src.u.udp.port && u 56 net/netfilter/nf_conntrack_snmp.c .tuple.src.u.udp.port = cpu_to_be16(SNMP_PORT), u 54 net/netfilter/nf_conntrack_standalone.c tuple->dst.u.icmp.type, u 55 net/netfilter/nf_conntrack_standalone.c tuple->dst.u.icmp.code, u 56 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->src.u.icmp.id)); u 60 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->src.u.tcp.port), u 61 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->dst.u.tcp.port)); u 66 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->src.u.udp.port), u 67 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->dst.u.udp.port)); u 72 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->src.u.dccp.port), u 73 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->dst.u.dccp.port)); u 77 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->src.u.sctp.port), u 78 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->dst.u.sctp.port)); u 82 net/netfilter/nf_conntrack_standalone.c tuple->dst.u.icmp.type, u 83 net/netfilter/nf_conntrack_standalone.c tuple->dst.u.icmp.code, u 84 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->src.u.icmp.id)); u 88 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->src.u.gre.key), u 89 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->dst.u.gre.key)); u 73 net/netfilter/nf_conntrack_tftp.c IPPROTO_UDP, NULL, &tuple->dst.u.udp.port); u 53 net/netfilter/nf_flow_table_core.c ft->src_port = ctt->src.u.tcp.port; u 54 net/netfilter/nf_flow_table_core.c ft->dst_port = ctt->dst.u.tcp.port; u 160 net/netfilter/nf_log_common.c '0' + loginfo->u.log.level, prefix, u 39 net/netfilter/nf_nat_amanda.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; u 50 net/netfilter/nf_nat_amanda.c exp->tuple.dst.u.tcp.port = htons(port); u 62 net/netfilter/nf_nat_core.c struct flowi4 *fl4 = &fl->u.ip4; u 71 net/netfilter/nf_nat_core.c fl4->fl4_dport = t->dst.u.all; u 83 net/netfilter/nf_nat_core.c fl4->fl4_sport = t->src.u.all; u 95 net/netfilter/nf_nat_core.c struct flowi6 *fl6 = &fl->u.ip6; u 104 net/netfilter/nf_nat_core.c fl6->fl6_dport = t->dst.u.all; u 116 net/netfilter/nf_nat_core.c fl6->fl6_sport = t->src.u.all; u 242 net/netfilter/nf_nat_core.c return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) && u 243 net/netfilter/nf_nat_core.c ntohs(tuple->src.u.icmp.id) <= ntohs(max->icmp.id); u 251 net/netfilter/nf_nat_core.c port = tuple->src.u.all; u 253 net/netfilter/nf_nat_core.c port = tuple->dst.u.all; u 291 net/netfilter/nf_nat_core.c t->src.u.all == tuple->src.u.all); u 414 net/netfilter/nf_nat_core.c keyptr = &tuple->src.u.icmp.id; u 432 net/netfilter/nf_nat_core.c keyptr = &tuple->src.u.gre.key; u 434 net/netfilter/nf_nat_core.c keyptr = &tuple->dst.u.gre.key; u 451 net/netfilter/nf_nat_core.c keyptr = &tuple->src.u.all; u 453 net/netfilter/nf_nat_core.c keyptr = &tuple->dst.u.all; u 82 net/netfilter/nf_nat_ftp.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; u 93 net/netfilter/nf_nat_ftp.c exp->tuple.dst.u.tcp.port = htons(port); u 47 net/netfilter/nf_nat_irc.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; u 55 net/netfilter/nf_nat_irc.c exp->tuple.dst.u.tcp.port = htons(port); u 48 net/netfilter/nf_nat_proto.c newport = tuple->src.u.udp.port; u 52 net/netfilter/nf_nat_proto.c newport = tuple->dst.u.udp.port; u 122 net/netfilter/nf_nat_proto.c hdr->source = tuple->src.u.sctp.port; u 125 net/netfilter/nf_nat_proto.c hdr->dest = tuple->dst.u.sctp.port; u 163 net/netfilter/nf_nat_proto.c newport = tuple->src.u.tcp.port; u 167 net/netfilter/nf_nat_proto.c newport = tuple->dst.u.tcp.port; u 202 net/netfilter/nf_nat_proto.c newport = tuple->src.u.dccp.port; u 205 net/netfilter/nf_nat_proto.c newport = tuple->dst.u.dccp.port; u 248 net/netfilter/nf_nat_proto.c hdr->un.echo.id, tuple->src.u.icmp.id, false); u 249 net/netfilter/nf_nat_proto.c hdr->un.echo.id = tuple->src.u.icmp.id; u 270 net/netfilter/nf_nat_proto.c tuple->src.u.icmp.id, false); u 271 net/netfilter/nf_nat_proto.c hdr->icmp6_identifier = tuple->src.u.icmp.id; u 306 net/netfilter/nf_nat_proto.c pr_debug("call_id -> 0x%04x\n", ntohs(tuple->dst.u.gre.key)); u 307 net/netfilter/nf_nat_proto.c pgreh->call_id = tuple->dst.u.gre.key; u 688 net/netfilter/nf_nat_proto.c ct->tuplehash[dir].tuple.src.u.all != u 689 net/netfilter/nf_nat_proto.c ct->tuplehash[!dir].tuple.dst.u.all)) { u 725 net/netfilter/nf_nat_proto.c ct->tuplehash[dir].tuple.dst.u.all != u 726 net/netfilter/nf_nat_proto.c ct->tuplehash[!dir].tuple.src.u.all) { u 925 net/netfilter/nf_nat_proto.c ct->tuplehash[dir].tuple.src.u.all != u 926 net/netfilter/nf_nat_proto.c ct->tuplehash[!dir].tuple.dst.u.all)) { u 963 net/netfilter/nf_nat_proto.c ct->tuplehash[dir].tuple.dst.u.all != u 964 net/netfilter/nf_nat_proto.c ct->tuplehash[!dir].tuple.src.u.all) { u 108 net/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.src.u.udp.port == port) { u 110 net/netfilter/nf_nat_sip.c newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; u 112 net/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.dst.u.udp.port == port) { u 115 net/netfilter/nf_nat_sip.c ct->tuplehash[!dir].tuple.src.u.udp.port; u 190 net/netfilter/nf_nat_sip.c port != ct->tuplehash[dir].tuple.src.u.udp.port) u 195 net/netfilter/nf_nat_sip.c port != ct->tuplehash[dir].tuple.dst.u.udp.port) u 247 net/netfilter/nf_nat_sip.c htons(n) == ct->tuplehash[dir].tuple.dst.u.udp.port && u 248 net/netfilter/nf_nat_sip.c htons(n) != ct->tuplehash[!dir].tuple.src.u.udp.port) { u 249 net/netfilter/nf_nat_sip.c __be16 p = ct->tuplehash[!dir].tuple.src.u.udp.port; u 344 net/netfilter/nf_nat_sip.c ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.all == pair_exp->saved_proto.all) { u 346 net/netfilter/nf_nat_sip.c range.min_proto.all = range.max_proto.all = pair_exp->tuple.dst.u.all; u 401 net/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.src.u.udp.port; u 402 net/netfilter/nf_nat_sip.c if (exp->tuple.dst.u.udp.port == srcport) u 403 net/netfilter/nf_nat_sip.c port = ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port); u 405 net/netfilter/nf_nat_sip.c port = ntohs(exp->tuple.dst.u.udp.port); u 409 net/netfilter/nf_nat_sip.c exp->saved_proto.udp.port = exp->tuple.dst.u.udp.port; u 416 net/netfilter/nf_nat_sip.c exp->tuple.dst.u.udp.port = htons(port); u 432 net/netfilter/nf_nat_sip.c exp->tuple.dst.u.udp.port != exp->saved_proto.udp.port) { u 594 net/netfilter/nf_nat_sip.c rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; u 600 net/netfilter/nf_nat_sip.c rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; u 605 net/netfilter/nf_nat_sip.c for (port = ntohs(rtp_exp->tuple.dst.u.udp.port); u 609 net/netfilter/nf_nat_sip.c rtp_exp->tuple.dst.u.udp.port = htons(port); u 618 net/netfilter/nf_nat_sip.c rtcp_exp->tuple.dst.u.udp.port = htons(port + 1); u 639 net/netfilter/nf_nat_sip.c if (rtp_exp->tuple.dst.u.udp.port != rtp_exp->saved_proto.udp.port && u 30 net/netfilter/nf_nat_tftp.c = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; u 663 net/netfilter/nfnetlink_log.c .u = { u 699 net/netfilter/nfnetlink_log.c inst = instance_lookup_get(log, li->u.ulog.group); u 750 net/netfilter/nfnetlink_log.c if (li->u.ulog.qthreshold) u 751 net/netfilter/nfnetlink_log.c if (qthreshold > li->u.ulog.qthreshold) u 752 net/netfilter/nfnetlink_log.c qthreshold = li->u.ulog.qthreshold; u 763 net/netfilter/nfnetlink_log.c if ((li->u.ulog.flags & NF_LOG_F_COPY_LEN) && u 764 net/netfilter/nfnetlink_log.c (li->u.ulog.copy_len < data_len)) u 765 net/netfilter/nfnetlink_log.c data_len = li->u.ulog.copy_len; u 199 net/netfilter/nft_ct.c nft_reg_store16(dest, (__force u16)tuple->src.u.all); u 202 net/netfilter/nft_ct.c nft_reg_store16(dest, (__force u16)tuple->dst.u.all); u 473 net/netfilter/nft_ct.c len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u.all); u 34 net/netfilter/nft_flow_offload.c fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; u 35 net/netfilter/nft_flow_offload.c fl.u.ip4.flowi4_oif = nft_in(pkt)->ifindex; u 38 net/netfilter/nft_flow_offload.c fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; u 39 net/netfilter/nft_flow_offload.c fl.u.ip6.flowi6_oif = nft_in(pkt)->ifindex; u 111 net/netfilter/nft_log.c priv->loginfo.u.log.level == NFT_LOGLEVEL_AUDIT) { u 163 net/netfilter/nft_log.c li->u.log.level = u 166 net/netfilter/nft_log.c li->u.log.level = NFT_LOGLEVEL_WARNING; u 168 net/netfilter/nft_log.c if (li->u.log.level > NFT_LOGLEVEL_AUDIT) { u 174 net/netfilter/nft_log.c li->u.log.logflags = u 176 net/netfilter/nft_log.c if (li->u.log.logflags & ~NF_LOG_MASK) { u 183 net/netfilter/nft_log.c li->u.ulog.group = ntohs(nla_get_be16(tb[NFTA_LOG_GROUP])); u 185 net/netfilter/nft_log.c li->u.ulog.flags |= NF_LOG_F_COPY_LEN; u 186 net/netfilter/nft_log.c li->u.ulog.copy_len = u 190 net/netfilter/nft_log.c li->u.ulog.qthreshold = u 196 net/netfilter/nft_log.c if (li->u.log.level == NFT_LOGLEVEL_AUDIT) u 220 net/netfilter/nft_log.c if (li->u.log.level == NFT_LOGLEVEL_AUDIT) u 236 net/netfilter/nft_log.c if (nla_put_be32(skb, NFTA_LOG_LEVEL, htonl(li->u.log.level))) u 239 net/netfilter/nft_log.c if (li->u.log.logflags) { u 241 net/netfilter/nft_log.c htonl(li->u.log.logflags))) u 246 net/netfilter/nft_log.c if (nla_put_be16(skb, NFTA_LOG_GROUP, htons(li->u.ulog.group))) u 249 net/netfilter/nft_log.c if (li->u.ulog.flags & NF_LOG_F_COPY_LEN) { u 251 net/netfilter/nft_log.c htonl(li->u.ulog.copy_len))) u 254 net/netfilter/nft_log.c if (li->u.ulog.qthreshold) { u 256 net/netfilter/nft_log.c htons(li->u.ulog.qthreshold))) u 32 net/netfilter/nft_rt.c fl.u.ip4.daddr = ip_hdr(skb)->saddr; u 36 net/netfilter/nft_rt.c fl.u.ip6.daddr = ipv6_hdr(skb)->saddr; u 147 net/netfilter/nft_tunnel.c } u; u 178 net/netfilter/nft_tunnel.c info->key.u.ipv4.src = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_SRC]); u 180 net/netfilter/nft_tunnel.c info->key.u.ipv4.dst = nla_get_be32(tb[NFTA_TUNNEL_KEY_IP_DST]); u 207 net/netfilter/nft_tunnel.c memcpy(&info->key.u.ipv6.src, u 212 net/netfilter/nft_tunnel.c memcpy(&info->key.u.ipv6.dst, u 242 net/netfilter/nft_tunnel.c opts->u.vxlan.gbp = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_VXLAN_GBP])); u 279 net/netfilter/nft_tunnel.c opts->u.erspan.u.index = u 290 net/netfilter/nft_tunnel.c set_hwid(&opts->u.erspan.u.md2, hwid); u 291 net/netfilter/nft_tunnel.c opts->u.erspan.u.md2.dir = dir; u 296 net/netfilter/nft_tunnel.c opts->u.erspan.version = version; u 415 net/netfilter/nft_tunnel.c memcpy(&md->u.tun_info, &info, sizeof(info)); u 417 net/netfilter/nft_tunnel.c err = dst_cache_init(&md->u.tun_info.dst_cache, GFP_KERNEL); u 423 net/netfilter/nft_tunnel.c ip_tunnel_info_opts_set(&md->u.tun_info, &priv->opts.u, priv->opts.len, u 451 net/netfilter/nft_tunnel.c if (nla_put_in6_addr(skb, NFTA_TUNNEL_KEY_IP6_SRC, &info->key.u.ipv6.src) < 0 || u 452 net/netfilter/nft_tunnel.c nla_put_in6_addr(skb, NFTA_TUNNEL_KEY_IP6_DST, &info->key.u.ipv6.dst) < 0 || u 462 net/netfilter/nft_tunnel.c if (nla_put_in_addr(skb, NFTA_TUNNEL_KEY_IP_SRC, info->key.u.ipv4.src) < 0 || u 463 net/netfilter/nft_tunnel.c nla_put_in_addr(skb, NFTA_TUNNEL_KEY_IP_DST, info->key.u.ipv4.dst) < 0) u 484 net/netfilter/nft_tunnel.c htonl(opts->u.vxlan.gbp))) u 487 net/netfilter/nft_tunnel.c switch (opts->u.erspan.version) { u 490 net/netfilter/nft_tunnel.c opts->u.erspan.u.index)) u 495 net/netfilter/nft_tunnel.c get_hwid(&opts->u.erspan.u.md2)) || u 497 net/netfilter/nft_tunnel.c opts->u.erspan.u.md2.dir)) u 539 net/netfilter/nft_tunnel.c struct ip_tunnel_info *info = &priv->md->u.tun_info; u 288 net/netfilter/x_tables.c xt_obj_to_user(&U->u.TYPE##_size, C_SIZE ? : K->u.TYPE##_size, \ u 289 net/netfilter/x_tables.c U->u.user.name, K->u.kernel.TYPE->name, \ u 290 net/netfilter/x_tables.c &U->u.user.revision, K->u.kernel.TYPE->revision) u 308 net/netfilter/x_tables.c K->u.kernel.TYPE->usersize, \ u 309 net/netfilter/x_tables.c K->u.kernel.TYPE->TYPE##size, \ u 310 net/netfilter/x_tables.c XT_ALIGN(K->u.kernel.TYPE->TYPE##size)) u 313 net/netfilter/x_tables.c struct xt_entry_match __user *u) u 315 net/netfilter/x_tables.c return XT_OBJ_TO_USER(u, m, match, 0) || u 316 net/netfilter/x_tables.c XT_DATA_TO_USER(u, m, match); u 321 net/netfilter/x_tables.c struct xt_entry_target __user *u) u 323 net/netfilter/x_tables.c return XT_OBJ_TO_USER(u, t, target, 0) || u 324 net/netfilter/x_tables.c XT_DATA_TO_USER(u, t, target); u 540 net/netfilter/x_tables.c if (pos->u.match_size < sizeof(struct xt_entry_match)) u 543 net/netfilter/x_tables.c if (pos->u.match_size > length) u 546 net/netfilter/x_tables.c length -= pos->u.match_size; u 547 net/netfilter/x_tables.c pos = ((void *)((char *)(pos) + (pos)->u.match_size)); u 732 net/netfilter/x_tables.c const struct xt_match *match = m->u.kernel.match; u 735 net/netfilter/x_tables.c u_int16_t msize = cm->u.user.match_size; u 736 net/netfilter/x_tables.c char name[sizeof(m->u.user.name)]; u 749 net/netfilter/x_tables.c m->u.user.match_size = msize; u 752 net/netfilter/x_tables.c strncpy(m->u.user.name, name, sizeof(m->u.user.name)); u 761 net/netfilter/x_tables.c K->u.kernel.TYPE->usersize, \ u 768 net/netfilter/x_tables.c const struct xt_match *match = m->u.kernel.match; u 771 net/netfilter/x_tables.c u_int16_t msize = m->u.user.match_size - off; u 816 net/netfilter/x_tables.c if (t->u.target_size < sizeof(*t)) u 819 net/netfilter/x_tables.c if (target_offset + t->u.target_size > next_offset) u 822 net/netfilter/x_tables.c if (strcmp(t->u.user.name, XT_STANDARD_TARGET) == 0) { u 830 net/netfilter/x_tables.c } else if (strcmp(t->u.user.name, XT_ERROR_TARGET) == 0) { u 833 net/netfilter/x_tables.c if (!error_tg_ok(t->u.target_size, sizeof(*et), u 910 net/netfilter/x_tables.c if (t->u.target_size < sizeof(*t)) u 913 net/netfilter/x_tables.c if (target_offset + t->u.target_size > next_offset) u 916 net/netfilter/x_tables.c if (strcmp(t->u.user.name, XT_STANDARD_TARGET) == 0) { u 924 net/netfilter/x_tables.c } else if (strcmp(t->u.user.name, XT_ERROR_TARGET) == 0) { u 927 net/netfilter/x_tables.c if (!error_tg_ok(t->u.target_size, sizeof(*et), u 1115 net/netfilter/x_tables.c const struct xt_target *target = t->u.kernel.target; u 1118 net/netfilter/x_tables.c u_int16_t tsize = ct->u.user.target_size; u 1119 net/netfilter/x_tables.c char name[sizeof(t->u.user.name)]; u 1132 net/netfilter/x_tables.c t->u.user.target_size = tsize; u 1135 net/netfilter/x_tables.c strncpy(t->u.user.name, name, sizeof(t->u.user.name)); u 1145 net/netfilter/x_tables.c const struct xt_target *target = t->u.kernel.target; u 1148 net/netfilter/x_tables.c u_int16_t tsize = t->u.user.target_size - off; u 102 net/netfilter/xt_HMARK.c t->uports.b16.src = otuple->src.u.all; u 103 net/netfilter/xt_HMARK.c t->uports.b16.dst = rtuple->src.u.all; u 36 net/netfilter/xt_LOG.c li.u.log.level = loginfo->level; u 37 net/netfilter/xt_LOG.c li.u.log.logflags = loginfo->logflags; u 28 net/netfilter/xt_NFLOG.c li.u.ulog.copy_len = info->len; u 29 net/netfilter/xt_NFLOG.c li.u.ulog.group = info->group; u 30 net/netfilter/xt_NFLOG.c li.u.ulog.qthreshold = info->threshold; u 31 net/netfilter/xt_NFLOG.c li.u.ulog.flags = 0; u 34 net/netfilter/xt_NFLOG.c li.u.ulog.flags |= NF_LOG_F_COPY_LEN; u 52 net/netfilter/xt_TCPMSS.c struct flowi4 *fl4 = &fl.u.ip4; u 56 net/netfilter/xt_TCPMSS.c struct flowi6 *fl6 = &fl.u.ip6; u 255 net/netfilter/xt_TCPMSS.c if (strcmp(m->u.kernel.match->name, "tcp") == 0 && u 89 net/netfilter/xt_conntrack.c (tuple->src.u.all == info->origsrc_port) ^ u 94 net/netfilter/xt_conntrack.c (tuple->dst.u.all == info->origdst_port) ^ u 101 net/netfilter/xt_conntrack.c (tuple->src.u.all == info->replsrc_port) ^ u 106 net/netfilter/xt_conntrack.c (tuple->dst.u.all == info->repldst_port) ^ u 134 net/netfilter/xt_conntrack.c ntohs(tuple->src.u.all), u 140 net/netfilter/xt_conntrack.c ntohs(tuple->dst.u.all), u 148 net/netfilter/xt_conntrack.c ntohs(tuple->src.u.all), u 154 net/netfilter/xt_conntrack.c ntohs(tuple->dst.u.all), u 58 net/netfilter/xt_set.c ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, u 59 net/netfilter/xt_set.c info->match_set.u.compat.flags, 0, UINT_MAX, u 63 net/netfilter/xt_set.c info->match_set.u.compat.flags & IPSET_INV_MATCH); u 72 net/netfilter/xt_set.c info->u.compat.dim = IPSET_DIM_ZERO; u 73 net/netfilter/xt_set.c if (info->u.flags[0] & IPSET_MATCH_INV) u 74 net/netfilter/xt_set.c info->u.compat.flags |= IPSET_INV_MATCH; u 75 net/netfilter/xt_set.c for (i = 0; i < IPSET_DIM_MAX - 1 && info->u.flags[i]; i++) { u 76 net/netfilter/xt_set.c info->u.compat.dim++; u 77 net/netfilter/xt_set.c if (info->u.flags[i] & IPSET_SRC) u 78 net/netfilter/xt_set.c info->u.compat.flags |= (1 << info->u.compat.dim); u 95 net/netfilter/xt_set.c if (info->match_set.u.flags[IPSET_DIM_MAX - 1] != 0) { u 216 net/netfilter/xt_set.c ADT_OPT(add_opt, xt_family(par), info->add_set.u.compat.dim, u 217 net/netfilter/xt_set.c info->add_set.u.compat.flags, 0, UINT_MAX, u 219 net/netfilter/xt_set.c ADT_OPT(del_opt, xt_family(par), info->del_set.u.compat.dim, u 220 net/netfilter/xt_set.c info->del_set.u.compat.flags, 0, UINT_MAX, u 256 net/netfilter/xt_set.c if (info->add_set.u.flags[IPSET_DIM_MAX - 1] != 0 || u 257 net/netfilter/xt_set.c info->del_set.u.flags[IPSET_DIM_MAX - 1] != 0) { u 37 net/netfilter/xt_statistic.c if ((prandom_u32() & 0x7FFFFFFF) < info->u.random.probability) u 43 net/netfilter/xt_statistic.c nval = (oval == info->u.nth.every) ? 0 : oval + 1; u 64 net/netfilter/xt_statistic.c atomic_set(&info->master->count, info->u.nth.count); u 29 net/netfilter/xt_string.c invert = conf->u.v1.flags & XT_STRING_FLAG_INVERT; u 51 net/netfilter/xt_string.c if (conf->u.v1.flags & u 54 net/netfilter/xt_string.c if (conf->u.v1.flags & XT_STRING_FLAG_IGNORECASE) u 181 net/openvswitch/conntrack.c key->ct.orig_tp.src = htons(orig->dst.u.icmp.type); u 182 net/openvswitch/conntrack.c key->ct.orig_tp.dst = htons(orig->dst.u.icmp.code); u 184 net/openvswitch/conntrack.c key->ct.orig_tp.src = orig->src.u.all; u 185 net/openvswitch/conntrack.c key->ct.orig_tp.dst = orig->dst.u.all; u 688 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.src, u 693 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.dst, u 698 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.src, u 703 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.dst, u 811 net/openvswitch/flow_netlink.c if (match->key->tun_key.u.ipv4.src || u 812 net/openvswitch/flow_netlink.c match->key->tun_key.u.ipv4.dst || u 821 net/openvswitch/flow_netlink.c } else if (!match->key->tun_key.u.ipv4.dst) { u 826 net/openvswitch/flow_netlink.c if (ipv6 && ipv6_addr_any(&match->key->tun_key.u.ipv6.dst)) { u 873 net/openvswitch/flow_netlink.c if (output->u.ipv4.src && u 875 net/openvswitch/flow_netlink.c output->u.ipv4.src)) u 877 net/openvswitch/flow_netlink.c if (output->u.ipv4.dst && u 879 net/openvswitch/flow_netlink.c output->u.ipv4.dst)) u 883 net/openvswitch/flow_netlink.c if (!ipv6_addr_any(&output->u.ipv6.src) && u 885 net/openvswitch/flow_netlink.c &output->u.ipv6.src)) u 887 net/openvswitch/flow_netlink.c if (!ipv6_addr_any(&output->u.ipv6.dst) && u 889 net/openvswitch/flow_netlink.c &output->u.ipv6.dst)) u 2601 net/openvswitch/flow_netlink.c err = dst_cache_init(&tun_dst->u.tun_info.dst_cache, GFP_KERNEL); u 2617 net/openvswitch/flow_netlink.c tun_info = &tun_dst->u.tun_info; u 2621 net/openvswitch/flow_netlink.c else if (key.tun_proto == AF_INET && key.tun_key.u.ipv4.dst == 0) u 3376 net/openvswitch/flow_netlink.c struct ip_tunnel_info *tun_info = &ovs_tun->tun_dst->u.tun_info; u 69 net/rds/ib_fmr.c fmr = &ibmr->u.fmr; u 103 net/rds/ib_fmr.c struct rds_ib_fmr *fmr = &ibmr->u.fmr; u 212 net/rds/ib_fmr.c fmr = &ibmr->u.fmr; u 233 net/rds/ib_fmr.c fmr = &ibmr->u.fmr; u 243 net/rds/ib_fmr.c fmr = &ibmr->u.fmr; u 40 net/rds/ib_frmr.c if (cmpxchg(&ibmr->u.frmr.fr_state, u 77 net/rds/ib_frmr.c frmr = &ibmr->u.frmr; u 125 net/rds/ib_frmr.c struct rds_ib_frmr *frmr = &ibmr->u.frmr; u 193 net/rds/ib_frmr.c struct rds_ib_frmr *frmr = &ibmr->u.frmr; u 269 net/rds/ib_frmr.c struct rds_ib_frmr *frmr = &ibmr->u.frmr; u 325 net/rds/ib_frmr.c struct rds_ib_frmr *frmr = &ibmr->u.frmr; u 380 net/rds/ib_frmr.c frmr = &ibmr->u.frmr; u 421 net/rds/ib_frmr.c frmr = &ibmr->u.frmr; u 440 net/rds/ib_frmr.c struct rds_ib_frmr *frmr = &ibmr->u.frmr; u 87 net/rds/ib_mr.h } u; u 1306 net/rose/rose_route.c struct rose_route *u, *rose_route = rose_route_list; u 1323 net/rose/rose_route.c u = rose_route; u 1326 net/rose/rose_route.c rose_remove_route(u); u 159 net/rxrpc/peer_object.c struct flowi4 *fl4 = &fl.u.ip4; u 161 net/rxrpc/peer_object.c struct flowi6 *fl6 = &fl.u.ip6; u 41 net/sched/act_ipt.c target = xt_request_find_target(AF_INET, t->u.user.name, u 42 net/sched/act_ipt.c t->u.user.revision); u 46 net/sched/act_ipt.c t->u.kernel.target = target; u 56 net/sched/act_ipt.c ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); u 58 net/sched/act_ipt.c module_put(t->u.kernel.target->me); u 67 net/sched/act_ipt.c .target = t->u.kernel.target, u 137 net/sched/act_ipt.c if (nla_len(tb[TCA_IPT_TARG]) != td->u.target_size) { u 172 net/sched/act_ipt.c t = kmemdup(td, td->u.target_size, GFP_KERNEL); u 249 net/sched/act_ipt.c par.target = ipt->tcfi_t->u.kernel.target; u 290 net/sched/act_ipt.c t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); u 296 net/sched/act_ipt.c strcpy(t->u.user.name, ipt->tcfi_t->u.kernel.target->name); u 298 net/sched/act_ipt.c if (nla_put(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t) || u 332 net/sched/act_tunnel_key.c ret = dst_cache_init(&metadata->u.tun_info.dst_cache, GFP_KERNEL); u 339 net/sched/act_tunnel_key.c &metadata->u.tun_info, u 345 net/sched/act_tunnel_key.c metadata->u.tun_info.mode |= IP_TUNNEL_INFO_TX; u 490 net/sched/act_tunnel_key.c __be32 saddr = info->key.u.ipv4.src; u 491 net/sched/act_tunnel_key.c __be32 daddr = info->key.u.ipv4.dst; u 499 net/sched/act_tunnel_key.c const struct in6_addr *saddr6 = &info->key.u.ipv6.src; u 500 net/sched/act_tunnel_key.c const struct in6_addr *daddr6 = &info->key.u.ipv6.dst; u 536 net/sched/act_tunnel_key.c ¶ms->tcft_enc_metadata->u.tun_info; u 543 net/sched/act_tunnel_key.c ¶ms->tcft_enc_metadata->u.tun_info) || u 180 net/sched/cls_flow.c return ntohs(CTTUPLE(skb, src.u.all)); u 188 net/sched/cls_flow.c return ntohs(CTTUPLE(skb, dst.u.all)); u 471 net/sched/ematch.c u32 u = em->data; u 472 net/sched/ematch.c nla_put_nohdr(skb, sizeof(u), &u); u 605 net/sched/sch_cake.c keys->ports.src = rev ? tuple.dst.u.all : tuple.src.u.all; u 606 net/sched/sch_cake.c keys->ports.dst = rev ? tuple.src.u.all : tuple.dst.u.all; u 198 net/sctp/ipv6.c struct flowi6 *fl6 = &transport->fl.u.ip6; u 232 net/sctp/ipv6.c struct flowi6 *fl6 = &_fl.u.ip6; u 375 net/sctp/ipv6.c &fl->u.ip6.saddr); u 398 net/sctp/ipv6.c struct flowi6 *fl6 = &fl->u.ip6; u 413 net/sctp/protocol.c struct flowi4 *fl4 = &_fl.u.ip4; u 531 net/sctp/protocol.c &fl->u.ip4.daddr, &fl->u.ip4.saddr); u 550 net/sctp/protocol.c saddr->v4.sin_addr.s_addr = fl->u.ip4.saddr; u 980 net/sctp/protocol.c skb->len, &transport->fl.u.ip4.saddr, u 981 net/sctp/protocol.c &transport->fl.u.ip4.daddr); u 86 net/sunrpc/sched.c if (list_empty(&task->u.tk_wait.timer_list)) u 90 net/sunrpc/sched.c list_del(&task->u.tk_wait.timer_list); u 120 net/sunrpc/sched.c list_add(&task->u.tk_wait.timer_list, &queue->timer_list.list); u 144 net/sunrpc/sched.c list_for_each_entry(t, q, u.tk_wait.list) { u 146 net/sunrpc/sched.c list_add_tail(&task->u.tk_wait.links, u 147 net/sunrpc/sched.c &t->u.tk_wait.links); u 149 net/sunrpc/sched.c task->u.tk_wait.list.next = q; u 150 net/sunrpc/sched.c task->u.tk_wait.list.prev = NULL; u 154 net/sunrpc/sched.c INIT_LIST_HEAD(&task->u.tk_wait.links); u 155 net/sunrpc/sched.c list_add_tail(&task->u.tk_wait.list, q); u 167 net/sunrpc/sched.c if (task->u.tk_wait.list.prev == NULL) { u 168 net/sunrpc/sched.c list_del(&task->u.tk_wait.links); u 171 net/sunrpc/sched.c if (!list_empty(&task->u.tk_wait.links)) { u 172 net/sunrpc/sched.c t = list_first_entry(&task->u.tk_wait.links, u 174 net/sunrpc/sched.c u.tk_wait.links); u 176 net/sunrpc/sched.c q = t->u.tk_wait.list.next; u 177 net/sunrpc/sched.c list_add_tail(&t->u.tk_wait.list, q); u 178 net/sunrpc/sched.c list_del(&task->u.tk_wait.links); u 180 net/sunrpc/sched.c list_del(&task->u.tk_wait.list); u 211 net/sunrpc/sched.c INIT_LIST_HEAD(&task->u.tk_wait.timer_list); u 215 net/sunrpc/sched.c list_add(&task->u.tk_wait.list, &queue->tasks[0]); u 217 net/sunrpc/sched.c list_add_tail(&task->u.tk_wait.list, &queue->tasks[0]); u 246 net/sunrpc/sched.c list_del(&task->u.tk_wait.list); u 373 net/sunrpc/sched.c INIT_WORK(&task->u.tk_work, rpc_async_schedule); u 374 net/sunrpc/sched.c queue_work(wq, &task->u.tk_work); u 614 net/sunrpc/sched.c task = list_first_entry(q, struct rpc_task, u.tk_wait.list); u 627 net/sunrpc/sched.c task = list_first_entry(q, struct rpc_task, u.tk_wait.list); u 646 net/sunrpc/sched.c return list_first_entry(&queue->tasks[0], struct rpc_task, u.tk_wait.list); u 712 net/sunrpc/sched.c u.tk_wait.list); u 741 net/sunrpc/sched.c u.tk_wait.list); u 763 net/sunrpc/sched.c list_for_each_entry_safe(task, n, &queue->timer_list.list, u.tk_wait.timer_list) { u 988 net/sunrpc/sched.c __rpc_execute(container_of(work, struct rpc_task, u.tk_work)); u 1154 net/sunrpc/sched.c rpc_free_task(container_of(work, struct rpc_task, u.tk_work)); u 1172 net/sunrpc/sched.c INIT_WORK(&task->u.tk_work, rpc_async_release); u 1173 net/sunrpc/sched.c queue_work(q, &task->u.tk_work); u 1003 net/sunrpc/svc_xprt.c struct svc_xpt_user *u; u 1007 net/sunrpc/svc_xprt.c u = list_first_entry(&xprt->xpt_users, struct svc_xpt_user, list); u 1008 net/sunrpc/svc_xprt.c list_del_init(&u->list); u 1009 net/sunrpc/svc_xprt.c u->callback(u); u 280 net/unix/af_unix.c struct unix_sock *u = unix_sk(s); u 285 net/unix/af_unix.c if (u->addr->len == len && u 286 net/unix/af_unix.c !memcmp(u->addr->name, sunname, len)) u 357 net/unix/af_unix.c struct unix_sock *u; u 360 net/unix/af_unix.c u = container_of(q, struct unix_sock, peer_wake); u 362 net/unix/af_unix.c __remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait, u 364 net/unix/af_unix.c u->peer_wake.private = NULL; u 367 net/unix/af_unix.c u_sleep = sk_sleep(&u->sk); u 376 net/unix/af_unix.c struct unix_sock *u, *u_other; u 379 net/unix/af_unix.c u = unix_sk(sk); u 384 net/unix/af_unix.c if (!u->peer_wake.private) { u 385 net/unix/af_unix.c u->peer_wake.private = other; u 386 net/unix/af_unix.c __add_wait_queue(&u_other->peer_wait, &u->peer_wake); u 398 net/unix/af_unix.c struct unix_sock *u, *u_other; u 400 net/unix/af_unix.c u = unix_sk(sk); u 404 net/unix/af_unix.c if (u->peer_wake.private == other) { u 405 net/unix/af_unix.c __remove_wait_queue(&u_other->peer_wait, &u->peer_wake); u 406 net/unix/af_unix.c u->peer_wake.private = NULL; u 490 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 502 net/unix/af_unix.c if (u->addr) u 503 net/unix/af_unix.c unix_release_addr(u->addr); u 517 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 529 net/unix/af_unix.c path = u->path; u 530 net/unix/af_unix.c u->path.dentry = NULL; u 531 net/unix/af_unix.c u->path.mnt = NULL; u 536 net/unix/af_unix.c wake_up_interruptible_all(&u->peer_wait); u 611 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 618 net/unix/af_unix.c if (!u->addr) u 624 net/unix/af_unix.c wake_up_interruptible_all(&u->peer_wait); u 670 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 672 net/unix/af_unix.c if (mutex_lock_interruptible(&u->iolock)) u 676 net/unix/af_unix.c mutex_unlock(&u->iolock); u 767 net/unix/af_unix.c struct unix_sock *u; u 783 net/unix/af_unix.c u = unix_sk(sk); u 784 net/unix/af_unix.c u->path.dentry = NULL; u 785 net/unix/af_unix.c u->path.mnt = NULL; u 786 net/unix/af_unix.c spin_lock_init(&u->lock); u 787 net/unix/af_unix.c atomic_long_set(&u->inflight, 0); u 788 net/unix/af_unix.c INIT_LIST_HEAD(&u->link); u 789 net/unix/af_unix.c mutex_init(&u->iolock); /* single task reading lock */ u 790 net/unix/af_unix.c mutex_init(&u->bindlock); /* single task binding lock */ u 791 net/unix/af_unix.c init_waitqueue_head(&u->peer_wait); u 792 net/unix/af_unix.c init_waitqueue_func_entry(&u->peer_wake, unix_dgram_peer_wake_relay); u 854 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 860 net/unix/af_unix.c err = mutex_lock_interruptible(&u->bindlock); u 865 net/unix/af_unix.c if (u->addr) u 902 net/unix/af_unix.c smp_store_release(&u->addr, addr); u 907 net/unix/af_unix.c out: mutex_unlock(&u->bindlock); u 915 net/unix/af_unix.c struct sock *u; u 932 net/unix/af_unix.c u = unix_find_socket_byinode(inode); u 933 net/unix/af_unix.c if (!u) u 936 net/unix/af_unix.c if (u->sk_type == type) u 942 net/unix/af_unix.c if (u->sk_type != type) { u 943 net/unix/af_unix.c sock_put(u); u 948 net/unix/af_unix.c u = unix_find_socket_byname(net, sunname, len, type, hash); u 949 net/unix/af_unix.c if (u) { u 951 net/unix/af_unix.c dentry = unix_sk(u)->path.dentry; u 953 net/unix/af_unix.c touch_atime(&unix_sk(u)->path); u 957 net/unix/af_unix.c return u; u 999 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 1034 net/unix/af_unix.c err = mutex_lock_interruptible(&u->bindlock); u 1039 net/unix/af_unix.c if (u->addr) u 1056 net/unix/af_unix.c u->path = path; u 1072 net/unix/af_unix.c smp_store_release(&u->addr, addr); u 1078 net/unix/af_unix.c mutex_unlock(&u->bindlock); u 1193 net/unix/af_unix.c struct unix_sock *u = unix_sk(other); u 1197 net/unix/af_unix.c prepare_to_wait_exclusive(&u->peer_wait, &wait, TASK_INTERRUPTIBLE); u 1208 net/unix/af_unix.c finish_wait(&u->peer_wait, &wait); u 1218 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk), *newu, *otheru; u 1232 net/unix/af_unix.c if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr && u 1569 net/unix/af_unix.c const struct unix_skb_parms *u = &UNIXCB(skb); u 1571 net/unix/af_unix.c return u->pid == scm->pid && u 1572 net/unix/af_unix.c uid_eq(u->uid, scm->creds.uid) && u 1573 net/unix/af_unix.c gid_eq(u->gid, scm->creds.gid) && u 1586 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 1620 net/unix/af_unix.c if (test_bit(SOCK_PASSCRED, &sock->flags) && !u->addr u 2047 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 2060 net/unix/af_unix.c mutex_lock(&u->iolock); u 2068 net/unix/af_unix.c mutex_unlock(&u->iolock); u 2085 net/unix/af_unix.c if (wq_has_sleeper(&u->peer_wait)) u 2086 net/unix/af_unix.c wake_up_interruptible_sync_poll(&u->peer_wait, u 2140 net/unix/af_unix.c mutex_unlock(&u->iolock); u 2210 net/unix/af_unix.c struct unix_sock *u = unix_sk(sk); u 2240 net/unix/af_unix.c mutex_lock(&u->iolock); u 2278 net/unix/af_unix.c mutex_unlock(&u->iolock); u 2289 net/unix/af_unix.c mutex_lock(&u->iolock); u 2392 net/unix/af_unix.c mutex_unlock(&u->iolock); u 2783 net/unix/af_unix.c struct unix_sock *u = unix_sk(s); u 2797 net/unix/af_unix.c if (u->addr) { // under unix_table_lock here u 2802 net/unix/af_unix.c len = u->addr->len - sizeof(short); u 2810 net/unix/af_unix.c seq_putc(seq, u->addr->name->sun_path[i] ?: u 111 net/unix/garbage.c struct unix_sock *u = unix_sk(sk); u 117 net/unix/garbage.c if (test_bit(UNIX_GC_CANDIDATE, &u->gc_flags)) { u 120 net/unix/garbage.c func(u); u 141 net/unix/garbage.c struct unix_sock *u; u 149 net/unix/garbage.c u = unix_sk(skb->sk); u 154 net/unix/garbage.c BUG_ON(!list_empty(&u->link)); u 155 net/unix/garbage.c list_add_tail(&u->link, &embryos); u 160 net/unix/garbage.c u = list_entry(embryos.next, struct unix_sock, link); u 161 net/unix/garbage.c scan_inflight(&u->sk, func, hitlist); u 162 net/unix/garbage.c list_del_init(&u->link); u 177 net/unix/garbage.c static void inc_inflight_move_tail(struct unix_sock *u) u 179 net/unix/garbage.c atomic_long_inc(&u->inflight); u 184 net/unix/garbage.c if (test_bit(UNIX_GC_MAYBE_CYCLE, &u->gc_flags)) u 185 net/unix/garbage.c list_move_tail(&u->link, &gc_candidates); u 204 net/unix/garbage.c struct unix_sock *u; u 232 net/unix/garbage.c list_for_each_entry_safe(u, next, &gc_inflight_list, link) { u 236 net/unix/garbage.c total_refs = file_count(u->sk.sk_socket->file); u 237 net/unix/garbage.c inflight_refs = atomic_long_read(&u->inflight); u 242 net/unix/garbage.c list_move_tail(&u->link, &gc_candidates); u 243 net/unix/garbage.c __set_bit(UNIX_GC_CANDIDATE, &u->gc_flags); u 244 net/unix/garbage.c __set_bit(UNIX_GC_MAYBE_CYCLE, &u->gc_flags); u 251 net/unix/garbage.c list_for_each_entry(u, &gc_candidates, link) u 252 net/unix/garbage.c scan_children(&u->sk, dec_inflight, NULL); u 263 net/unix/garbage.c u = list_entry(cursor.next, struct unix_sock, link); u 266 net/unix/garbage.c list_move(&cursor, &u->link); u 268 net/unix/garbage.c if (atomic_long_read(&u->inflight) > 0) { u 269 net/unix/garbage.c list_move_tail(&u->link, ¬_cycle_list); u 270 net/unix/garbage.c __clear_bit(UNIX_GC_MAYBE_CYCLE, &u->gc_flags); u 271 net/unix/garbage.c scan_children(&u->sk, inc_inflight_move_tail, NULL); u 281 net/unix/garbage.c list_for_each_entry(u, &gc_candidates, link) u 282 net/unix/garbage.c scan_children(&u->sk, inc_inflight, &hitlist); u 288 net/unix/garbage.c u = list_entry(not_cycle_list.next, struct unix_sock, link); u 289 net/unix/garbage.c __clear_bit(UNIX_GC_CANDIDATE, &u->gc_flags); u 290 net/unix/garbage.c list_move_tail(&u->link, &gc_inflight_list); u 54 net/unix/scm.c struct unix_sock *u = unix_sk(s); u 56 net/unix/scm.c if (atomic_long_inc_return(&u->inflight) == 1) { u 57 net/unix/scm.c BUG_ON(!list_empty(&u->link)); u 58 net/unix/scm.c list_add_tail(&u->link, &gc_inflight_list); u 60 net/unix/scm.c BUG_ON(list_empty(&u->link)); u 75 net/unix/scm.c struct unix_sock *u = unix_sk(s); u 77 net/unix/scm.c BUG_ON(!atomic_long_read(&u->inflight)); u 78 net/unix/scm.c BUG_ON(list_empty(&u->link)); u 80 net/unix/scm.c if (atomic_long_dec_and_test(&u->inflight)) u 81 net/unix/scm.c list_del_init(&u->link); u 298 net/vmw_vsock/hyperv_transport.c conn_from_host = chan->offermsg.offer.u.pipe.user_def[0]; u 145 net/vmw_vsock/vmci_transport.c pkt->u.size = 0; u 150 net/vmw_vsock/vmci_transport.c pkt->u.size = size; u 155 net/vmw_vsock/vmci_transport.c pkt->u.handle = handle; u 161 net/vmw_vsock/vmci_transport.c pkt->u.size = 0; u 165 net/vmw_vsock/vmci_transport.c pkt->u.mode = mode; u 170 net/vmw_vsock/vmci_transport.c memcpy(&pkt->u.wait, wait, sizeof(pkt->u.wait)); u 175 net/vmw_vsock/vmci_transport.c pkt->u.size = size; u 1002 net/vmw_vsock/vmci_transport.c if (pkt->u.size == 0) { u 1033 net/vmw_vsock/vmci_transport.c if (pkt->u.size >= vmci_trans(vpending)->queue_pair_min_size && u 1034 net/vmw_vsock/vmci_transport.c pkt->u.size <= vmci_trans(vpending)->queue_pair_max_size) { u 1035 net/vmw_vsock/vmci_transport.c qp_size = pkt->u.size; u 1147 net/vmw_vsock/vmci_transport.c if (vmci_handle_is_invalid(pkt->u.handle)) { u 1186 net/vmw_vsock/vmci_transport.c handle = pkt->u.handle; u 1287 net/vmw_vsock/vmci_transport.c if (vmci_handle_is_invalid(pkt->u.handle) || u 1288 net/vmw_vsock/vmci_transport.c !vmci_handle_is_equal(pkt->u.handle, u 1308 net/vmw_vsock/vmci_transport.c if (pkt->u.size == 0 u 1400 net/vmw_vsock/vmci_transport.c if (pkt->u.size < vmci_trans(vsk)->queue_pair_min_size || u 1401 net/vmw_vsock/vmci_transport.c pkt->u.size > vmci_trans(vsk)->queue_pair_max_size) { u 1456 net/vmw_vsock/vmci_transport.c pkt->u.size, u 1457 net/vmw_vsock/vmci_transport.c pkt->u.size, u 1477 net/vmw_vsock/vmci_transport.c pkt->u.size; u 1534 net/vmw_vsock/vmci_transport.c if (pkt->u.mode) { u 1537 net/vmw_vsock/vmci_transport.c vsk->peer_shutdown |= pkt->u.mode; u 73 net/vmw_vsock/vmci_transport.h } u; u 117 net/vmw_vsock/vmci_transport_notify.c memcpy(&PKT_FIELD(vsk, peer_waiting_read_info), &pkt->u.wait, u 147 net/vmw_vsock/vmci_transport_notify.c memcpy(&PKT_FIELD(vsk, peer_waiting_write_info), &pkt->u.wait, u 34 net/wireless/mlme.c cr.status = (int)le16_to_cpu(mgmt->u.assoc_resp.status_code); u 39 net/wireless/mlme.c cr.resp_ie = mgmt->u.assoc_resp.variable; u 41 net/wireless/mlme.c len - offsetof(struct ieee80211_mgmt, u.assoc_resp.variable); u 80 net/wireless/mlme.c u16 reason_code = le16_to_cpu(mgmt->u.deauth.reason_code); u 99 net/wireless/mlme.c u16 reason_code = le16_to_cpu(mgmt->u.disassoc.reason_code); u 609 net/wireless/mlme.c mgmt->u.action.category != WLAN_CATEGORY_PUBLIC) { u 681 net/wireless/mlme.c mgmt->u.action.category != WLAN_CATEGORY_PUBLIC) u 212 net/wireless/nl80211.c u.beacon.variable); u 218 net/wireless/nl80211.c offsetof(struct ieee80211_mgmt, u.beacon)) u 1690 net/wireless/scan.c const u8 *ie = mgmt->u.probe_resp.variable; u 1692 net/wireless/scan.c u.probe_resp.variable); u 1698 net/wireless/scan.c le64_to_cpu(mgmt->u.probe_resp.timestamp), u 1699 net/wireless/scan.c le16_to_cpu(mgmt->u.probe_resp.beacon_int), u 1711 net/wireless/scan.c u.probe_resp.variable); u 1719 net/wireless/scan.c ie = mgmt->u.probe_resp.variable; u 1770 net/wireless/scan.c new_ies->tsf = le64_to_cpu(mgmt->u.probe_resp.timestamp); u 1803 net/wireless/scan.c u.probe_resp.variable); u 1806 net/wireless/scan.c BUILD_BUG_ON(offsetof(struct ieee80211_mgmt, u.probe_resp.variable) != u 1807 net/wireless/scan.c offsetof(struct ieee80211_mgmt, u.beacon.variable)); u 1821 net/wireless/scan.c if (WARN_ON(len < offsetof(struct ieee80211_mgmt, u.probe_resp.variable))) u 1824 net/wireless/scan.c channel = cfg80211_get_bss_channel(wiphy, mgmt->u.beacon.variable, u 1833 net/wireless/scan.c ies->tsf = le64_to_cpu(mgmt->u.probe_resp.timestamp); u 1835 net/wireless/scan.c memcpy(ies->data, mgmt->u.probe_resp.variable, ielen); u 1847 net/wireless/scan.c tmp.pub.beacon_interval = le16_to_cpu(mgmt->u.probe_resp.beacon_int); u 1848 net/wireless/scan.c tmp.pub.capability = le16_to_cpu(mgmt->u.probe_resp.capab_info); u 1884 net/wireless/scan.c const u8 *ie = mgmt->u.probe_resp.variable; u 1887 net/wireless/scan.c u.probe_resp.variable); u 2275 net/wireless/scan.c iwe.u.data.length = next - pos; u 2287 net/wireless/scan.c iwe.u.data.length = end - pos; u 2313 net/wireless/scan.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; u 2314 net/wireless/scan.c memcpy(iwe.u.ap_addr.sa_data, bss->pub.bssid, ETH_ALEN); u 2322 net/wireless/scan.c iwe.u.freq.m = ieee80211_frequency_to_channel(bss->pub.channel->center_freq); u 2323 net/wireless/scan.c iwe.u.freq.e = 0; u 2331 net/wireless/scan.c iwe.u.freq.m = bss->pub.channel->center_freq; u 2332 net/wireless/scan.c iwe.u.freq.e = 6; u 2341 net/wireless/scan.c iwe.u.qual.updated = IW_QUAL_LEVEL_UPDATED | u 2347 net/wireless/scan.c iwe.u.qual.level = sig; u 2348 net/wireless/scan.c iwe.u.qual.updated |= IW_QUAL_DBM; u 2354 net/wireless/scan.c iwe.u.qual.qual = sig + 110; u 2357 net/wireless/scan.c iwe.u.qual.level = bss->pub.signal; u 2359 net/wireless/scan.c iwe.u.qual.qual = bss->pub.signal; u 2375 net/wireless/scan.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; u 2377 net/wireless/scan.c iwe.u.data.flags = IW_ENCODE_DISABLED; u 2378 net/wireless/scan.c iwe.u.data.length = 0; u 2398 net/wireless/scan.c iwe.u.data.length = ie[1]; u 2399 net/wireless/scan.c iwe.u.data.flags = 1; u 2410 net/wireless/scan.c iwe.u.data.length = ie[1]; u 2411 net/wireless/scan.c iwe.u.data.flags = 1; u 2428 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 2437 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 2446 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 2454 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 2462 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 2470 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 2478 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 2494 net/wireless/scan.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; u 2497 net/wireless/scan.c iwe.u.bitrate.value = u 2520 net/wireless/scan.c iwe.u.mode = IW_MODE_MESH; u 2522 net/wireless/scan.c iwe.u.mode = IW_MODE_MASTER; u 2524 net/wireless/scan.c iwe.u.mode = IW_MODE_ADHOC; u 2535 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 2544 net/wireless/scan.c iwe.u.data.length = strlen(buf); u 334 net/wireless/sme.c u16 status_code = le16_to_cpu(mgmt->u.auth.status_code); u 578 net/wireless/wext-core.c memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); u 1016 net/wireless/wext-core.c ret = handler(dev, info, &(iwr->u), NULL); u 1021 net/wireless/wext-core.c wireless_send_event(dev, cmd, &(iwr->u), NULL); u 1023 net/wireless/wext-core.c ret = ioctl_standard_iw_point(&iwr->u.data, cmd, descr, u 1076 net/wireless/wext-core.c iwp_compat = (struct compat_iw_point *) &iwr->u.data; u 1135 net/wireless/wext-core.c memcpy(stream + lcp_len, &iwe->u, u 1147 net/wireless/wext-core.c int event_len = iwe_stream_point_len(info) + iwe->u.data.length; u 1156 net/wireless/wext-core.c ((char *) &iwe->u) + IW_EV_POINT_OFF, u 1158 net/wireless/wext-core.c if (iwe->u.data.length && extra) u 1159 net/wireless/wext-core.c memcpy(stream + point_len, extra, iwe->u.data.length); u 1179 net/wireless/wext-core.c memcpy(value, &iwe->u, event_len); u 199 net/wireless/wext-priv.c ret = handler(dev, info, &(iwr->u), (char *) &(iwr->u)); u 201 net/wireless/wext-priv.c ret = ioctl_private_iw_point(&iwr->u.data, cmd, descr, u 225 net/wireless/wext-priv.c ret = handler(dev, info, &(iwr->u), (char *) &(iwr->u)); u 230 net/wireless/wext-priv.c iwp_compat = (struct compat_iw_point *) &iwr->u.data; u 354 net/xfrm/xfrm_interface.c fl.u.ip6.flowi6_oif = dev->ifindex; u 355 net/xfrm/xfrm_interface.c fl.u.ip6.flowi6_flags |= FLOWI_FLAG_ANYSRC; u 356 net/xfrm/xfrm_interface.c dst = ip6_route_output(dev_net(dev), NULL, &fl.u.ip6); u 371 net/xfrm/xfrm_interface.c fl.u.ip4.flowi4_oif = dev->ifindex; u 372 net/xfrm/xfrm_interface.c fl.u.ip4.flowi4_flags |= FLOWI_FLAG_ANYSRC; u 373 net/xfrm/xfrm_interface.c rt = __ip_route_output_key(dev_net(dev), &fl.u.ip4); u 196 net/xfrm/xfrm_policy.c const struct flowi4 *fl4 = &fl->u.ip4; u 209 net/xfrm/xfrm_policy.c const struct flowi6 *fl6 = &fl->u.ip6; u 2457 net/xfrm/xfrm_policy.c return IPTOS_RT_MASK & fl->u.ip4.flowi4_tos; u 2486 net/xfrm/xfrm_policy.c struct dst_entry *dst = &xdst->u.dst; u 2503 net/xfrm/xfrm_policy.c path->u.rt6.rt6i_nfheader_len = nfheader_len; u 2511 net/xfrm/xfrm_policy.c xfrm_policy_get_afinfo(xdst->u.dst.ops->family); u 2560 net/xfrm/xfrm_policy.c struct dst_entry *dst1 = &xdst->u.dst; u 2575 net/xfrm/xfrm_policy.c xfrm_dst_set_child(xdst_prev, &xdst->u.dst); u 2643 net/xfrm/xfrm_policy.c xdst_prev = (struct xfrm_dst *) xfrm_dst_child(&xdst_prev->u.dst)) { u 2648 net/xfrm/xfrm_policy.c xdst_prev->u.dst.header_len = header_len; u 2649 net/xfrm/xfrm_policy.c xdst_prev->u.dst.trailer_len = trailer_len; u 2650 net/xfrm/xfrm_policy.c header_len -= xdst_prev->u.dst.xfrm->props.header_len; u 2651 net/xfrm/xfrm_policy.c trailer_len -= xdst_prev->u.dst.xfrm->props.trailer_len; u 2654 net/xfrm/xfrm_policy.c return &xdst0->u.dst; u 2661 net/xfrm/xfrm_policy.c dst_release_immediate(&xdst0->u.dst); u 2889 net/xfrm/xfrm_policy.c dst1 = &xdst->u.dst; u 3093 net/xfrm/xfrm_policy.c dst = &xdst->u.dst; u 3268 net/xfrm/xfrm_policy.c struct flowi4 *fl4 = &fl->u.ip4; u 3374 net/xfrm/xfrm_policy.c struct flowi6 *fl6 = &fl->u.ip6; u 3765 net/xfrm/xfrm_policy.c dst = &xdst->u.dst; u 3788 net/xfrm/xfrm_policy.c struct dst_entry *dst = &first->u.dst; u 3837 net/xfrm/xfrm_policy.c dst = &xdst->u.dst; u 854 net/xfrm/xfrm_state.c const struct flowi4 *fl4 = &fl->u.ip4; u 872 net/xfrm/xfrm_state.c const struct flowi6 *fl6 = &fl->u.ip6; u 182 samples/uhid/uhid-example.c strcpy((char*)ev.u.create.name, "test-uhid-device"); u 183 samples/uhid/uhid-example.c ev.u.create.rd_data = rdesc; u 184 samples/uhid/uhid-example.c ev.u.create.rd_size = sizeof(rdesc); u 185 samples/uhid/uhid-example.c ev.u.create.bus = BUS_USB; u 186 samples/uhid/uhid-example.c ev.u.create.vendor = 0x15d9; u 187 samples/uhid/uhid-example.c ev.u.create.product = 0x0a37; u 188 samples/uhid/uhid-example.c ev.u.create.version = 0; u 189 samples/uhid/uhid-example.c ev.u.create.country = 0; u 211 samples/uhid/uhid-example.c if (ev->u.output.rtype != UHID_OUTPUT_REPORT) u 214 samples/uhid/uhid-example.c if (ev->u.output.size != 2) u 217 samples/uhid/uhid-example.c if (ev->u.output.data[0] != 0x2) u 222 samples/uhid/uhid-example.c ev->u.output.data[1]); u 284 samples/uhid/uhid-example.c ev.u.input.size = 5; u 286 samples/uhid/uhid-example.c ev.u.input.data[0] = 0x1; u 288 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x1; u 290 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x2; u 292 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x4; u 294 samples/uhid/uhid-example.c ev.u.input.data[2] = abs_hor; u 295 samples/uhid/uhid-example.c ev.u.input.data[3] = abs_ver; u 296 samples/uhid/uhid-example.c ev.u.input.data[4] = wheel; u 995 scripts/kconfig/expr.c unsigned long long u; u 1019 scripts/kconfig/expr.c val->u = strtoull(str, &tail, 16); u 1082 scripts/kconfig/expr.c res = (lval.u > rval.u) - (lval.u < rval.u); u 154 security/apparmor/audit.c sa->type == LSM_AUDIT_DATA_TASK && sa->u.tsk ? u 155 security/apparmor/audit.c sa->u.tsk : current); u 49 security/apparmor/capability.c audit_log_untrustedstring(ab, capability_names[sa->u.cap]); u 153 security/apparmor/capability.c sa.u.cap = cap; u 109 security/apparmor/file.c sa.u.tsk = NULL; u 117 security/apparmor/file.c sa.u.tsk = NULL; u 164 security/apparmor/include/audit.h .u.tsk = NULL, \ u 63 security/apparmor/include/net.h NAME.u.net = &(NAME ## _net); \ u 76 security/apparmor/net.c if (address_family_names[sa->u.net->family]) u 77 security/apparmor/net.c audit_log_string(ab, address_family_names[sa->u.net->family]); u 79 security/apparmor/net.c audit_log_format(ab, "\"unknown(%d)\"", sa->u.net->family); u 49 security/lsm_audit.c ad->u.net->v4info.saddr = ih->saddr; u 50 security/lsm_audit.c ad->u.net->v4info.daddr = ih->daddr; u 64 security/lsm_audit.c ad->u.net->sport = th->source; u 65 security/lsm_audit.c ad->u.net->dport = th->dest; u 73 security/lsm_audit.c ad->u.net->sport = uh->source; u 74 security/lsm_audit.c ad->u.net->dport = uh->dest; u 82 security/lsm_audit.c ad->u.net->sport = dh->dccph_sport; u 83 security/lsm_audit.c ad->u.net->dport = dh->dccph_dport; u 90 security/lsm_audit.c ad->u.net->sport = sh->source; u 91 security/lsm_audit.c ad->u.net->dport = sh->dest; u 119 security/lsm_audit.c ad->u.net->v6info.saddr = ip6->saddr; u 120 security/lsm_audit.c ad->u.net->v6info.daddr = ip6->daddr; u 140 security/lsm_audit.c ad->u.net->sport = th->source; u 141 security/lsm_audit.c ad->u.net->dport = th->dest; u 151 security/lsm_audit.c ad->u.net->sport = uh->source; u 152 security/lsm_audit.c ad->u.net->dport = uh->dest; u 162 security/lsm_audit.c ad->u.net->sport = dh->dccph_sport; u 163 security/lsm_audit.c ad->u.net->dport = dh->dccph_dport; u 172 security/lsm_audit.c ad->u.net->sport = sh->source; u 173 security/lsm_audit.c ad->u.net->dport = sh->dest; u 218 security/lsm_audit.c BUILD_BUG_ON(sizeof(a->u) > sizeof(void *)*2); u 227 security/lsm_audit.c audit_log_format(ab, " key=%d ", a->u.ipc_id); u 230 security/lsm_audit.c audit_log_format(ab, " capability=%d ", a->u.cap); u 235 security/lsm_audit.c audit_log_d_path(ab, " path=", &a->u.path); u 237 security/lsm_audit.c inode = d_backing_inode(a->u.path.dentry); u 248 security/lsm_audit.c audit_log_d_path(ab, " path=", &a->u.file->f_path); u 250 security/lsm_audit.c inode = file_inode(a->u.file); u 261 security/lsm_audit.c audit_log_d_path(ab, " path=", &a->u.op->path); u 263 security/lsm_audit.c inode = a->u.op->path.dentry->d_inode; u 270 security/lsm_audit.c audit_log_format(ab, " ioctlcmd=0x%hx", a->u.op->cmd); u 277 security/lsm_audit.c audit_log_untrustedstring(ab, a->u.dentry->d_name.name); u 279 security/lsm_audit.c inode = d_backing_inode(a->u.dentry); u 291 security/lsm_audit.c inode = a->u.inode; u 305 security/lsm_audit.c struct task_struct *tsk = a->u.tsk; u 318 security/lsm_audit.c if (a->u.net->sk) { u 319 security/lsm_audit.c struct sock *sk = a->u.net->sk; u 320 security/lsm_audit.c struct unix_sock *u; u 351 security/lsm_audit.c u = unix_sk(sk); u 352 security/lsm_audit.c addr = smp_load_acquire(&u->addr); u 355 security/lsm_audit.c if (u->path.dentry) { u 356 security/lsm_audit.c audit_log_d_path(ab, " path=", &u->path); u 370 security/lsm_audit.c switch (a->u.net->family) { u 372 security/lsm_audit.c print_ipv4_addr(ab, a->u.net->v4info.saddr, u 373 security/lsm_audit.c a->u.net->sport, u 375 security/lsm_audit.c print_ipv4_addr(ab, a->u.net->v4info.daddr, u 376 security/lsm_audit.c a->u.net->dport, u 380 security/lsm_audit.c print_ipv6_addr(ab, &a->u.net->v6info.saddr, u 381 security/lsm_audit.c a->u.net->sport, u 383 security/lsm_audit.c print_ipv6_addr(ab, &a->u.net->v6info.daddr, u 384 security/lsm_audit.c a->u.net->dport, u 388 security/lsm_audit.c if (a->u.net->netif > 0) { u 392 security/lsm_audit.c dev = dev_get_by_index(&init_net, a->u.net->netif); u 401 security/lsm_audit.c audit_log_format(ab, " key_serial=%u", a->u.key_struct.key); u 402 security/lsm_audit.c if (a->u.key_struct.key_desc) { u 404 security/lsm_audit.c audit_log_untrustedstring(ab, a->u.key_struct.key_desc); u 410 security/lsm_audit.c audit_log_untrustedstring(ab, a->u.kmod_name); u 417 security/lsm_audit.c memcpy(&sbn_pfx.s6_addr, &a->u.ibpkey->subnet_prefix, u 418 security/lsm_audit.c sizeof(a->u.ibpkey->subnet_prefix)); u 420 security/lsm_audit.c a->u.ibpkey->pkey, &sbn_pfx); u 425 security/lsm_audit.c a->u.ibendport->dev_name, u 426 security/lsm_audit.c a->u.ibendport->port); u 1639 security/selinux/hooks.c ad.u.cap = cap; u 1699 security/selinux/hooks.c ad.u.dentry = dentry; u 1715 security/selinux/hooks.c ad.u.path = *path; u 1728 security/selinux/hooks.c ad.u.file = file; u 1755 security/selinux/hooks.c ad.u.file = file; u 1827 security/selinux/hooks.c ad.u.dentry = dentry; u 1872 security/selinux/hooks.c ad.u.dentry = dentry; u 1921 security/selinux/hooks.c ad.u.dentry = old_dentry; u 1940 security/selinux/hooks.c ad.u.dentry = new_dentry; u 2099 security/selinux/hooks.c ad.u.path = file->f_path; u 2383 security/selinux/hooks.c ad.u.file = bprm->file; u 2740 security/selinux/hooks.c ad.u.dentry = sb->s_root; u 2750 security/selinux/hooks.c ad.u.dentry = dentry->d_sb->s_root; u 3013 security/selinux/hooks.c ad.u.dentry = dentry; u 3033 security/selinux/hooks.c ad.u.inode = inode; u 3167 security/selinux/hooks.c ad.u.dentry = dentry; u 3301 security/selinux/hooks.c ad.u.path = *path; u 3578 security/selinux/hooks.c ad.u.op = &ioctl; u 3579 security/selinux/hooks.c ad.u.op->cmd = cmd; u 3580 security/selinux/hooks.c ad.u.op->path = file->f_path; u 3713 security/selinux/hooks.c ad.u.file = file; u 3972 security/selinux/hooks.c ad.u.kmod_name = kmod_name; u 3996 security/selinux/hooks.c ad.u.file = file; u 4190 security/selinux/hooks.c ad->u.net->v4info.saddr = ih->saddr; u 4191 security/selinux/hooks.c ad->u.net->v4info.daddr = ih->daddr; u 4209 security/selinux/hooks.c ad->u.net->sport = th->source; u 4210 security/selinux/hooks.c ad->u.net->dport = th->dest; u 4225 security/selinux/hooks.c ad->u.net->sport = uh->source; u 4226 security/selinux/hooks.c ad->u.net->dport = uh->dest; u 4241 security/selinux/hooks.c ad->u.net->sport = dh->dccph_sport; u 4242 security/selinux/hooks.c ad->u.net->dport = dh->dccph_dport; u 4258 security/selinux/hooks.c ad->u.net->sport = sh->source; u 4259 security/selinux/hooks.c ad->u.net->dport = sh->dest; u 4286 security/selinux/hooks.c ad->u.net->v6info.saddr = ip6->saddr; u 4287 security/selinux/hooks.c ad->u.net->v6info.daddr = ip6->daddr; u 4307 security/selinux/hooks.c ad->u.net->sport = th->source; u 4308 security/selinux/hooks.c ad->u.net->dport = th->dest; u 4319 security/selinux/hooks.c ad->u.net->sport = uh->source; u 4320 security/selinux/hooks.c ad->u.net->dport = uh->dest; u 4331 security/selinux/hooks.c ad->u.net->sport = dh->dccph_sport; u 4332 security/selinux/hooks.c ad->u.net->dport = dh->dccph_dport; u 4344 security/selinux/hooks.c ad->u.net->sport = sh->source; u 4345 security/selinux/hooks.c ad->u.net->dport = sh->dest; u 4365 security/selinux/hooks.c switch (ad->u.net->family) { u 4370 security/selinux/hooks.c addrp = (char *)(src ? &ad->u.net->v4info.saddr : u 4371 security/selinux/hooks.c &ad->u.net->v4info.daddr); u 4379 security/selinux/hooks.c addrp = (char *)(src ? &ad->u.net->v6info.saddr : u 4380 security/selinux/hooks.c &ad->u.net->v6info.daddr); u 4490 security/selinux/hooks.c ad.u.net = &net; u 4491 security/selinux/hooks.c ad.u.net->sk = sk; u 4629 security/selinux/hooks.c ad.u.net = &net; u 4630 security/selinux/hooks.c ad.u.net->sport = htons(snum); u 4631 security/selinux/hooks.c ad.u.net->family = family_sa; u 4680 security/selinux/hooks.c ad.u.net->v4info.saddr = addr4->sin_addr.s_addr; u 4682 security/selinux/hooks.c ad.u.net->v6info.saddr = addr6->sin6_addr; u 4780 security/selinux/hooks.c ad.u.net = &net; u 4781 security/selinux/hooks.c ad.u.net->dport = htons(snum); u 4782 security/selinux/hooks.c ad.u.net->family = address->sa_family; u 4893 security/selinux/hooks.c ad.u.net = &net; u 4894 security/selinux/hooks.c ad.u.net->sk = other; u 4925 security/selinux/hooks.c ad.u.net = &net; u 4926 security/selinux/hooks.c ad.u.net->sk = other->sk; u 4969 security/selinux/hooks.c ad.u.net = &net; u 4970 security/selinux/hooks.c ad.u.net->netif = skb->skb_iif; u 4971 security/selinux/hooks.c ad.u.net->family = family; u 5024 security/selinux/hooks.c ad.u.net = &net; u 5025 security/selinux/hooks.c ad.u.net->netif = skb->skb_iif; u 5026 security/selinux/hooks.c ad.u.net->family = family; u 5235 security/selinux/hooks.c ad.u.net = &net; u 5236 security/selinux/hooks.c ad.u.net->sk = ep->base.sk; u 5608 security/selinux/hooks.c ad.u.net = &net; u 5609 security/selinux/hooks.c ad.u.net->netif = indev->ifindex; u 5610 security/selinux/hooks.c ad.u.net->family = family; u 5730 security/selinux/hooks.c ad.u.net = &net; u 5731 security/selinux/hooks.c ad.u.net->netif = ifindex; u 5732 security/selinux/hooks.c ad.u.net->family = family; u 5854 security/selinux/hooks.c ad.u.net = &net; u 5855 security/selinux/hooks.c ad.u.net->netif = ifindex; u 5856 security/selinux/hooks.c ad.u.net->family = family; u 5937 security/selinux/hooks.c ad.u.ipc_id = ipc_perms->key; u 5960 security/selinux/hooks.c ad.u.ipc_id = msq->key; u 5977 security/selinux/hooks.c ad.u.ipc_id = msq->key; u 6041 security/selinux/hooks.c ad.u.ipc_id = msq->key; u 6075 security/selinux/hooks.c ad.u.ipc_id = msq->key; u 6099 security/selinux/hooks.c ad.u.ipc_id = shp->key; u 6116 security/selinux/hooks.c ad.u.ipc_id = shp->key; u 6184 security/selinux/hooks.c ad.u.ipc_id = sma->key; u 6201 security/selinux/hooks.c ad.u.ipc_id = sma->key; u 6632 security/selinux/hooks.c ad.u.ibpkey = &ibpkey; u 6657 security/selinux/hooks.c ad.u.ibendport = &ibendport; u 86 security/selinux/ss/avtab.c *xperms = *(datum->u.xperms); u 87 security/selinux/ss/avtab.c newnode->datum.u.xperms = xperms; u 89 security/selinux/ss/avtab.c newnode->datum.u.data = datum->u.data; u 292 security/selinux/ss/avtab.c temp->datum.u.xperms); u 463 security/selinux/ss/avtab.c datum.u.data = le32_to_cpu(buf32[items++]); u 532 security/selinux/ss/avtab.c datum.u.xperms = &xperms; u 539 security/selinux/ss/avtab.c datum.u.data = le32_to_cpu(*buf32); u 542 security/selinux/ss/avtab.c !policydb_type_isvalid(pol, datum.u.data)) { u 602 security/selinux/ss/avtab.c __le32 buf32[ARRAY_SIZE(cur->datum.u.xperms->perms.p)]; u 615 security/selinux/ss/avtab.c rc = put_entry(&cur->datum.u.xperms->specified, sizeof(u8), 1, fp); u 618 security/selinux/ss/avtab.c rc = put_entry(&cur->datum.u.xperms->driver, sizeof(u8), 1, fp); u 621 security/selinux/ss/avtab.c for (i = 0; i < ARRAY_SIZE(cur->datum.u.xperms->perms.p); i++) u 622 security/selinux/ss/avtab.c buf32[i] = cpu_to_le32(cur->datum.u.xperms->perms.p[i]); u 624 security/selinux/ss/avtab.c ARRAY_SIZE(cur->datum.u.xperms->perms.p), fp); u 626 security/selinux/ss/avtab.c buf32[0] = cpu_to_le32(cur->datum.u.data); u 74 security/selinux/ss/avtab.h } u; u 644 security/selinux/ss/conditional.c avd->allowed |= node->datum.u.data; u 652 security/selinux/ss/conditional.c avd->auditdeny &= node->datum.u.data; u 655 security/selinux/ss/conditional.c avd->auditallow |= node->datum.u.data; u 364 security/selinux/ss/policydb.c kfree(c->u.name); u 866 security/selinux/ss/policydb.c c->u.name); u 872 security/selinux/ss/policydb.c c->u.name); u 880 security/selinux/ss/policydb.c c->u.name); u 2020 security/selinux/ss/policydb.c rc = str_read(&newc->u.name, GFP_KERNEL, fp, len); u 2036 security/selinux/ss/policydb.c if (!strcmp(newc->u.name, c->u.name) && u 2040 security/selinux/ss/policydb.c genfs->fstype, c->u.name); u 2043 security/selinux/ss/policydb.c len = strlen(newc->u.name); u 2044 security/selinux/ss/policydb.c len2 = strlen(c->u.name); u 2114 security/selinux/ss/policydb.c rc = str_read(&c->u.name, GFP_KERNEL, fp, len); u 2129 security/selinux/ss/policydb.c c->u.port.protocol = le32_to_cpu(buf[0]); u 2130 security/selinux/ss/policydb.c c->u.port.low_port = le32_to_cpu(buf[1]); u 2131 security/selinux/ss/policydb.c c->u.port.high_port = le32_to_cpu(buf[2]); u 2140 security/selinux/ss/policydb.c c->u.node.addr = nodebuf[0]; /* network order */ u 2141 security/selinux/ss/policydb.c c->u.node.mask = nodebuf[1]; /* network order */ u 2160 security/selinux/ss/policydb.c rc = str_read(&c->u.name, GFP_KERNEL, fp, len); u 2175 security/selinux/ss/policydb.c c->u.node6.addr[k] = nodebuf[k]; u 2177 security/selinux/ss/policydb.c c->u.node6.mask[k] = nodebuf[k+4]; u 2191 security/selinux/ss/policydb.c c->u.ibpkey.subnet_prefix = be64_to_cpu(prefixbuf[0]); u 2205 security/selinux/ss/policydb.c c->u.ibpkey.low_pkey = pkey_lo; u 2206 security/selinux/ss/policydb.c c->u.ibpkey.high_pkey = pkey_hi; u 2223 security/selinux/ss/policydb.c rc = str_read(&c->u.ibendport.dev_name, GFP_KERNEL, fp, len); u 2233 security/selinux/ss/policydb.c c->u.ibendport.port = port; u 3105 security/selinux/ss/policydb.c len = strlen(c->u.name); u 3110 security/selinux/ss/policydb.c rc = put_entry(c->u.name, 1, len, fp); u 3121 security/selinux/ss/policydb.c buf[0] = cpu_to_le32(c->u.port.protocol); u 3122 security/selinux/ss/policydb.c buf[1] = cpu_to_le32(c->u.port.low_port); u 3123 security/selinux/ss/policydb.c buf[2] = cpu_to_le32(c->u.port.high_port); u 3132 security/selinux/ss/policydb.c nodebuf[0] = c->u.node.addr; /* network order */ u 3133 security/selinux/ss/policydb.c nodebuf[1] = c->u.node.mask; /* network order */ u 3143 security/selinux/ss/policydb.c len = strlen(c->u.name); u 3148 security/selinux/ss/policydb.c rc = put_entry(c->u.name, 1, len, fp); u 3157 security/selinux/ss/policydb.c nodebuf[j] = c->u.node6.addr[j]; /* network order */ u 3159 security/selinux/ss/policydb.c nodebuf[j + 4] = c->u.node6.mask[j]; /* network order */ u 3169 security/selinux/ss/policydb.c prefixbuf[0] = cpu_to_be64(c->u.ibpkey.subnet_prefix); u 3175 security/selinux/ss/policydb.c buf[0] = cpu_to_le32(c->u.ibpkey.low_pkey); u 3176 security/selinux/ss/policydb.c buf[1] = cpu_to_le32(c->u.ibpkey.high_pkey); u 3186 security/selinux/ss/policydb.c len = strlen(c->u.ibendport.dev_name); u 3188 security/selinux/ss/policydb.c buf[1] = cpu_to_le32(c->u.ibendport.port); u 3192 security/selinux/ss/policydb.c rc = put_entry(c->u.ibendport.dev_name, 1, len, fp); u 3237 security/selinux/ss/policydb.c len = strlen(c->u.name); u 3242 security/selinux/ss/policydb.c rc = put_entry(c->u.name, 1, len, fp); u 195 security/selinux/ss/policydb.h } u; u 594 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { u 597 security/selinux/ss/services.c xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; u 598 security/selinux/ss/services.c } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { u 601 security/selinux/ss/services.c node->datum.u.xperms->driver); u 662 security/selinux/ss/services.c avd->allowed |= node->datum.u.data; u 664 security/selinux/ss/services.c avd->auditallow |= node->datum.u.data; u 666 security/selinux/ss/services.c avd->auditdeny &= node->datum.u.data; u 949 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { u 950 security/selinux/ss/services.c if (xpermd->driver != node->datum.u.xperms->driver) u 952 security/selinux/ss/services.c } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { u 953 security/selinux/ss/services.c if (!security_xperm_test(node->datum.u.xperms->perms.p, u 962 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { u 966 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { u 969 security/selinux/ss/services.c node->datum.u.xperms->perms.p[i]; u 973 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { u 977 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { u 980 security/selinux/ss/services.c node->datum.u.xperms->perms.p[i]; u 984 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { u 988 security/selinux/ss/services.c if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { u 991 security/selinux/ss/services.c node->datum.u.xperms->perms.p[i]; u 1768 security/selinux/ss/services.c newcontext.type = avdatum->u.data; u 2274 security/selinux/ss/services.c if (c->u.port.protocol == protocol && u 2275 security/selinux/ss/services.c c->u.port.low_port <= port && u 2276 security/selinux/ss/services.c c->u.port.high_port >= port) u 2320 security/selinux/ss/services.c if (c->u.ibpkey.low_pkey <= pkey_num && u 2321 security/selinux/ss/services.c c->u.ibpkey.high_pkey >= pkey_num && u 2322 security/selinux/ss/services.c c->u.ibpkey.subnet_prefix == subnet_prefix) u 2366 security/selinux/ss/services.c if (c->u.ibendport.port == port_num && u 2367 security/selinux/ss/services.c !strncmp(c->u.ibendport.dev_name, u 2412 security/selinux/ss/services.c if (strcmp(name, c->u.name) == 0) u 2487 security/selinux/ss/services.c if (c->u.node.addr == (addr & c->u.node.mask)) u 2500 security/selinux/ss/services.c if (match_ipv6_addrmask(addrp, c->u.node6.addr, u 2501 security/selinux/ss/services.c c->u.node6.mask)) u 2699 security/selinux/ss/services.c len = strlen(c->u.name); u 2701 security/selinux/ss/services.c (strncmp(c->u.name, path, len) == 0)) u 2765 security/selinux/ss/services.c if (strcmp(fstype, c->u.name) == 0) u 459 security/smack/smack.h a->a.u.net = net; u 465 security/smack/smack.h a->a.u.tsk = t; u 470 security/smack/smack.h a->a.u.dentry = d; u 475 security/smack/smack.h a->a.u.inode = i; u 480 security/smack/smack.h a->a.u.path = p; u 485 security/smack/smack.h a->a.u.net->sk = sk; u 2463 security/smack/smack_lsm.c ad.a.u.net->family = sap->sin_family; u 2464 security/smack/smack_lsm.c ad.a.u.net->dport = sap->sin_port; u 2465 security/smack/smack_lsm.c ad.a.u.net->v4info.daddr = sap->sin_addr.s_addr; u 2503 security/smack/smack_lsm.c ad.a.u.net->family = PF_INET6; u 2504 security/smack/smack_lsm.c ad.a.u.net->dport = ntohs(address->sin6_port); u 2506 security/smack/smack_lsm.c ad.a.u.net->v6info.saddr = address->sin6_addr; u 2508 security/smack/smack_lsm.c ad.a.u.net->v6info.daddr = address->sin6_addr; u 2938 security/smack/smack_lsm.c ad.a.u.ipc_id = isp->id; u 3027 security/smack/smack_lsm.c ad.a.u.ipc_id = isp->id; u 3122 security/smack/smack_lsm.c ad.a.u.ipc_id = isp->id; u 3228 security/smack/smack_lsm.c ad.a.u.ipc_id = ipp->id; u 3883 security/smack/smack_lsm.c ad.a.u.net->family = family; u 3884 security/smack/smack_lsm.c ad.a.u.net->netif = skb->skb_iif; u 3918 security/smack/smack_lsm.c ad.a.u.net->family = family; u 3919 security/smack/smack_lsm.c ad.a.u.net->netif = skb->skb_iif; u 4129 security/smack/smack_lsm.c ad.a.u.net->family = family; u 4130 security/smack/smack_lsm.c ad.a.u.net->netif = skb->skb_iif; u 4270 security/smack/smack_lsm.c ad.a.u.key_struct.key = keyp->serial; u 4271 security/smack/smack_lsm.c ad.a.u.key_struct.key_desc = keyp->description; u 597 security/tomoyo/network.c struct tomoyo_unix_addr_info *u = &address->unix0; u 603 security/tomoyo/network.c u->addr = ((struct sockaddr_un *) addr)->sun_path; u 604 security/tomoyo/network.c u->addr_len = addr_len; u 16 sound/aoa/core/gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].v = !on }; \ u 39 sound/aoa/core/gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].v = !!on }; u 213 sound/aoa/core/gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].p = &ret }; u 1739 sound/core/seq/seq_clientmgr.c timer->u.alsa.id = tmr->alsa_id; u 1740 sound/core/seq/seq_clientmgr.c timer->u.alsa.resolution = tmr->preferred_resolution; u 1771 sound/core/seq/seq_clientmgr.c tmr->alsa_id = timer->u.alsa.id; u 1772 sound/core/seq/seq_clientmgr.c tmr->preferred_resolution = timer->u.alsa.resolution; u 178 sound/pci/asihpi/asihpi.c hm.u.d.u.buffer.buffer_size = size_in_bytes; u 179 sound/pci/asihpi/asihpi.c hm.u.d.u.buffer.pci_address = pci_address; u 180 sound/pci/asihpi/asihpi.c hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER; u 201 sound/pci/asihpi/asihpi.c hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_REVOKEADAPTER; u 1145 sound/pci/asihpi/hpi.h } u; u 417 sound/pci/asihpi/hpi6000.c ao.pci = *phm->u.s.resource.r.pci; u 429 sound/pci/asihpi/hpi6000.c phr->u.s.data = os_error_code; u 446 sound/pci/asihpi/hpi6000.c phr->u.s.adapter_type = ao.type; u 447 sound/pci/asihpi/hpi6000.c phr->u.s.adapter_index = ao.index; u 550 sound/pci/asihpi/hpi6000.c pao->type = hr0.u.ax.info.adapter_type; u 551 sound/pci/asihpi/hpi6000.c pao->index = hr0.u.ax.info.adapter_index; u 606 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.p1 = u 608 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.p2 = 0; u 609 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.count = 1; /* assert count */ u 610 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.dsp_index = -1; /* "dsp index" */ u 611 sound/pci/asihpi/hpi6000.c strcpy(phr->u.ax.assert.sz_message, "PCI2040 error"); u 612 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.dsp_msg_addr = 0; u 1412 sound/pci/asihpi/hpi6000.c u32 *p_data = (u32 *)phm->u.d.u.data.pb_data; u 1418 sound/pci/asihpi/hpi6000.c while ((data_sent < (phm->u.d.u.data.data_size & ~3L)) u 1485 sound/pci/asihpi/hpi6000.c u32 *p_data = (u32 *)phm->u.d.u.data.pb_data; u 1490 sound/pci/asihpi/hpi6000.c while (data_got < (phm->u.d.u.data.data_size & ~3L)) { u 1746 sound/pci/asihpi/hpi6000.c hm.obj_index = phm->u.d.u.stream.stream_index; u 1747 sound/pci/asihpi/hpi6000.c hm.object = phm->u.d.u.stream.object_type; u 1775 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.dsp_index = 0; /* dsp 0 default */ u 1777 sound/pci/asihpi/hpi6000.c if (!phr->u.ax.assert.count) { u 1781 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.dsp_index = 1; u 247 sound/pci/asihpi/hpi6205.c } else if (phm->u.c.attribute == HPI_METER_PEAK) { u 471 sound/pci/asihpi/hpi6205.c ao.pci = *phm->u.s.resource.r.pci; u 481 sound/pci/asihpi/hpi6205.c phr->u.s.data = os_error_code; u 485 sound/pci/asihpi/hpi6205.c phr->u.s.adapter_type = ao.type; u 486 sound/pci/asihpi/hpi6205.c phr->u.s.adapter_index = ao.index; u 648 sound/pci/asihpi/hpi6205.c pao->type = hr.u.ax.info.adapter_type; u 649 sound/pci/asihpi/hpi6205.c pao->index = hr.u.ax.info.adapter_index; u 653 sound/pci/asihpi/hpi6205.c hr.u.ax.info.adapter_type, hr.u.ax.info.adapter_index, u 654 sound/pci/asihpi/hpi6205.c hr.u.ax.info.serial_number); u 733 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; u 744 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size = u 745 sound/pci/asihpi/hpi6205.c roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); u 748 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.data_available = u 750 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.buffer_size = u 751 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; u 754 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size) { u 765 sound/pci/asihpi/hpi6205.c [phm->obj_index], phm->u.d.u.buffer.buffer_size, u 776 sound/pci/asihpi/hpi6205.c &phm->u.d.u.buffer.pci_address); u 781 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.auxiliary_data_available = u 782 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.pci_address; u 800 sound/pci/asihpi/hpi6205.c if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. u 804 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size); u 809 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; u 816 sound/pci/asihpi/hpi6205.c status->size_in_bytes = phm->u.d.u.buffer.buffer_size; u 851 sound/pci/asihpi/hpi6205.c phr->u.d.u.hostbuffer_info.p_buffer = p_bbm_data; u 852 sound/pci/asihpi/hpi6205.c phr->u.d.u.hostbuffer_info.p_status = status; u 864 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; u 910 sound/pci/asihpi/hpi6205.c if (space_available < phm->u.d.u.data.data_size) { u 917 sound/pci/asihpi/hpi6205.c if (phm->u.d.u.data.pb_data u 922 sound/pci/asihpi/hpi6205.c u8 *p_app_data = (u8 *)phm->u.d.u.data.pb_data; u 934 sound/pci/asihpi/hpi6205.c min(phm->u.d.u.data.data_size, u 943 sound/pci/asihpi/hpi6205.c phm->u.d.u.data.data_size - l_first_write); u 963 sound/pci/asihpi/hpi6205.c status->host_index += phm->u.d.u.data.data_size; u 982 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.state = (u16)status->stream_state; u 983 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.samples_transferred = u 985 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.buffer_size = status->size_in_bytes; u 986 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.data_available = u 988 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.auxiliary_data_available = u 1019 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; u 1028 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size = u 1029 sound/pci/asihpi/hpi6205.c roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); u 1030 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.data_available = u 1032 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.buffer_size = u 1033 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; u 1036 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size) { u 1047 sound/pci/asihpi/hpi6205.c obj_index], phm->u.d.u.buffer.buffer_size, u 1058 sound/pci/asihpi/hpi6205.c &phm->u.d.u.buffer.pci_address); u 1061 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.auxiliary_data_available = u 1062 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.pci_address; u 1076 sound/pci/asihpi/hpi6205.c if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. u 1080 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size); u 1086 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; u 1093 sound/pci/asihpi/hpi6205.c status->size_in_bytes = phm->u.d.u.buffer.buffer_size; u 1128 sound/pci/asihpi/hpi6205.c phr->u.d.u.hostbuffer_info.p_buffer = p_bbm_data; u 1129 sound/pci/asihpi/hpi6205.c phr->u.d.u.hostbuffer_info.p_status = status; u 1141 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; u 1185 sound/pci/asihpi/hpi6205.c u8 *p_app_data = (u8 *)phm->u.d.u.data.pb_data; u 1195 sound/pci/asihpi/hpi6205.c if (data_available < phm->u.d.u.data.data_size) { u 1212 sound/pci/asihpi/hpi6205.c min(phm->u.d.u.data.data_size, u 1222 sound/pci/asihpi/hpi6205.c phm->u.d.u.data.data_size - l_first_read); u 1224 sound/pci/asihpi/hpi6205.c status->host_index += phm->u.d.u.data.data_size; u 1242 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.state = (u16)status->stream_state; u 1243 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.samples_transferred = u 1245 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.buffer_size = status->size_in_bytes; u 1246 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.data_available = u 1248 sound/pci/asihpi/hpi6205.c phr->u.d.u.stream_info.auxiliary_data_available = u 2011 sound/pci/asihpi/hpi6205.c memcpy((void *)&interface->u.b_data[0], u 2034 sound/pci/asihpi/hpi6205.c (void *)&interface->u.b_data[0], this_copy); u 2093 sound/pci/asihpi/hpi6205.c if (phm->size > sizeof(interface->u.message_buffer)) { u 2095 sound/pci/asihpi/hpi6205.c phr->specific_error = sizeof(interface->u.message_buffer); u 2099 sound/pci/asihpi/hpi6205.c sizeof(interface->u.message_buffer)); u 2111 sound/pci/asihpi/hpi6205.c memcpy(&interface->u.message_buffer, phm, phm->size); u 2131 sound/pci/asihpi/hpi6205.c if (interface->u.response_buffer.response.size <= phr->size) u 2132 sound/pci/asihpi/hpi6205.c memcpy(phr, &interface->u.response_buffer, u 2133 sound/pci/asihpi/hpi6205.c interface->u.response_buffer.response.size); u 2137 sound/pci/asihpi/hpi6205.c interface->u.response_buffer.response.size, u 2139 sound/pci/asihpi/hpi6205.c memcpy(phr, &interface->u.response_buffer, u 2143 sound/pci/asihpi/hpi6205.c interface->u.response_buffer.response.size; u 2202 sound/pci/asihpi/hpi6205.c err = hpi6205_transfer_data(pao, phm->u.d.u.data.pb_data, u 2203 sound/pci/asihpi/hpi6205.c phm->u.d.u.data.data_size, H620_HIF_SEND_DATA); u 2208 sound/pci/asihpi/hpi6205.c err = hpi6205_transfer_data(pao, phm->u.d.u.data.pb_data, u 2209 sound/pci/asihpi/hpi6205.c phm->u.d.u.data.data_size, H620_HIF_GET_DATA); u 83 sound/pci/asihpi/hpi6205.h union buffer_6205 u; u 726 sound/pci/asihpi/hpi_internal.h } u; u 768 sound/pci/asihpi/hpi_internal.h } u; u 848 sound/pci/asihpi/hpi_internal.h } u; u 931 sound/pci/asihpi/hpi_internal.h } u; u 984 sound/pci/asihpi/hpi_internal.h } u; u 1023 sound/pci/asihpi/hpi_internal.h } u; u 1084 sound/pci/asihpi/hpi_internal.h } u; u 1191 sound/pci/asihpi/hpi_internal.h } u; u 1210 sound/pci/asihpi/hpi_internal.h } u; u 1353 sound/pci/asihpi/hpi_internal.h } u; u 165 sound/pci/asihpi/hpicmn.c phr->u.s.adapter_index = adapters.adapter[index].index; u 166 sound/pci/asihpi/hpicmn.c phr->u.s.adapter_type = adapters.adapter[index].type; u 168 sound/pci/asihpi/hpicmn.c phr->u.s.adapter_index = 0; u 169 sound/pci/asihpi/hpicmn.c phr->u.s.adapter_type = 0; u 320 sound/pci/asihpi/hpicmn.c switch (pC->u.i.control_type) { u 323 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_METER_PEAK) { u 324 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[0] = pC->u.meter.an_log_peak[0]; u 325 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[1] = pC->u.meter.an_log_peak[1]; u 326 sound/pci/asihpi/hpicmn.c } else if (phm->u.c.attribute == HPI_METER_RMS) { u 327 sound/pci/asihpi/hpicmn.c if (pC->u.meter.an_logRMS[0] == u 331 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[0] = HPI_METER_MINIMUM; u 332 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[1] = HPI_METER_MINIMUM; u 334 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[0] = u 335 sound/pci/asihpi/hpicmn.c pC->u.meter.an_logRMS[0]; u 336 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[1] = u 337 sound/pci/asihpi/hpicmn.c pC->u.meter.an_logRMS[1]; u 343 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_VOLUME_GAIN) { u 344 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[0] = pC->u.vol.an_log[0]; u 345 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[1] = pC->u.vol.an_log[1]; u 346 sound/pci/asihpi/hpicmn.c } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { u 347 sound/pci/asihpi/hpicmn.c if (pC->u.vol.flags & HPI_VOLUME_FLAG_HAS_MUTE) { u 348 sound/pci/asihpi/hpicmn.c if (pC->u.vol.flags & HPI_VOLUME_FLAG_MUTED) u 349 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = u 352 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = 0; u 356 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = 0; u 363 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { u 364 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.mux.source_node_type; u 365 sound/pci/asihpi/hpicmn.c phr->u.c.param2 = pC->u.mux.source_node_index; u 371 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) u 372 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.mode.mode; u 377 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_LEVEL_GAIN) { u 378 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[0] = pC->u.level.an_log[0]; u 379 sound/pci/asihpi/hpicmn.c phr->u.c.an_log_value[1] = pC->u.level.an_log[1]; u 384 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_TUNER_FREQ) u 385 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.tuner.freq_ink_hz; u 386 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_TUNER_BAND) u 387 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.tuner.band; u 388 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_TUNER_LEVEL_AVG) u 389 sound/pci/asihpi/hpicmn.c if (pC->u.tuner.s_level_avg == u 391 sound/pci/asihpi/hpicmn.c phr->u.cu.tuner.s_level = 0; u 395 sound/pci/asihpi/hpicmn.c phr->u.cu.tuner.s_level = u 396 sound/pci/asihpi/hpicmn.c pC->u.tuner.s_level_avg; u 401 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_AESEBURX_ERRORSTATUS) u 402 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.aes3rx.error_status; u 403 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_AESEBURX_FORMAT) u 404 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.aes3rx.format; u 409 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_AESEBUTX_FORMAT) u 410 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.aes3tx.format; u 415 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_TONEDETECTOR_STATE) u 416 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.tone.state; u 421 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_SILENCEDETECTOR_STATE) { u 422 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.silence.state; u 427 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_MICROPHONE_PHANTOM_POWER) u 428 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.microphone.phantom_state; u 433 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE) u 434 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.clk.source; u 435 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE_INDEX) { u 436 sound/pci/asihpi/hpicmn.c if (pC->u.clk.source_index == u 438 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = 0; u 442 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.clk.source_index; u 443 sound/pci/asihpi/hpicmn.c } else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SAMPLERATE) u 444 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.clk.sample_rate; u 453 sound/pci/asihpi/hpicmn.c HPI_CTL_ATTR_INDEX(phm->u.c. u 460 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_PAD_PROGRAM_ID) u 461 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = p_pad->pI; u 462 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_PAD_PROGRAM_TYPE) u 463 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = p_pad->pTY; u 466 sound/pci/asihpi/hpicmn.c HPI_CTL_ATTR_INDEX(phm->u.c. u 468 sound/pci/asihpi/hpicmn.c unsigned int offset = phm->u.c.param1; u 495 sound/pci/asihpi/hpicmn.c if (tocopy > sizeof(phr->u.cu.chars8.sz_data)) u 496 sound/pci/asihpi/hpicmn.c tocopy = sizeof(phr->u.cu.chars8. u 499 sound/pci/asihpi/hpicmn.c memcpy(phr->u.cu.chars8.sz_data, u 502 sound/pci/asihpi/hpicmn.c phr->u.cu.chars8.remaining_chars = u 514 sound/pci/asihpi/hpicmn.c pC->u.i.control_index, pC->u.i.control_type, u 515 sound/pci/asihpi/hpicmn.c phm->u.c.attribute); u 556 sound/pci/asihpi/hpicmn.c switch (pC->u.i.control_type) { u 558 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_VOLUME_GAIN) { u 559 sound/pci/asihpi/hpicmn.c pC->u.vol.an_log[0] = phr->u.c.an_log_value[0]; u 560 sound/pci/asihpi/hpicmn.c pC->u.vol.an_log[1] = phr->u.c.an_log_value[1]; u 561 sound/pci/asihpi/hpicmn.c } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { u 562 sound/pci/asihpi/hpicmn.c if (phm->u.c.param1) u 563 sound/pci/asihpi/hpicmn.c pC->u.vol.flags |= HPI_VOLUME_FLAG_MUTED; u 565 sound/pci/asihpi/hpicmn.c pC->u.vol.flags &= ~HPI_VOLUME_FLAG_MUTED; u 570 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { u 571 sound/pci/asihpi/hpicmn.c pC->u.mux.source_node_type = (u16)phm->u.c.param1; u 572 sound/pci/asihpi/hpicmn.c pC->u.mux.source_node_index = (u16)phm->u.c.param2; u 577 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) u 578 sound/pci/asihpi/hpicmn.c pC->u.mode.mode = (u16)phm->u.c.param1; u 581 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_LEVEL_GAIN) { u 582 sound/pci/asihpi/hpicmn.c pC->u.vol.an_log[0] = phr->u.c.an_log_value[0]; u 583 sound/pci/asihpi/hpicmn.c pC->u.vol.an_log[1] = phr->u.c.an_log_value[1]; u 587 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_MICROPHONE_PHANTOM_POWER) u 588 sound/pci/asihpi/hpicmn.c pC->u.microphone.phantom_state = (u16)phm->u.c.param1; u 591 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_AESEBUTX_FORMAT) u 592 sound/pci/asihpi/hpicmn.c pC->u.aes3tx.format = phm->u.c.param1; u 595 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_AESEBURX_FORMAT) u 596 sound/pci/asihpi/hpicmn.c pC->u.aes3rx.format = phm->u.c.param1; u 599 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE) u 600 sound/pci/asihpi/hpicmn.c pC->u.clk.source = (u16)phm->u.c.param1; u 601 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE_INDEX) u 602 sound/pci/asihpi/hpicmn.c pC->u.clk.source_index = (u16)phm->u.c.param1; u 603 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SAMPLERATE) u 604 sound/pci/asihpi/hpicmn.c pC->u.clk.sample_rate = phm->u.c.param1; u 686 sound/pci/asihpi/hpicmn.c phr->u.s.num_adapters = adapters.gw_num_adapters; u 42 sound/pci/asihpi/hpidebug.c phm->u.c.attribute); u 86 sound/pci/asihpi/hpifunc.c pSR->u.legacy_stream_info.auxiliary_data_available = u 87 sound/pci/asihpi/hpifunc.c pSR->u.stream_info.auxiliary_data_available; u 88 sound/pci/asihpi/hpifunc.c pSR->u.legacy_stream_info.state = pSR->u.stream_info.state; u 105 sound/pci/asihpi/hpifunc.c *pversion_ex = hr.u.s.data; u 116 sound/pci/asihpi/hpifunc.c *pn_num_adapters = (int)hr.u.s.num_adapters; u 129 sound/pci/asihpi/hpifunc.c *padapter_index = (int)hr.u.s.adapter_index; u 130 sound/pci/asihpi/hpifunc.c *pw_adapter_type = hr.u.s.adapter_type; u 177 sound/pci/asihpi/hpifunc.c hm.u.ax.mode.adapter_mode = adapter_mode; u 178 sound/pci/asihpi/hpifunc.c hm.u.ax.mode.query_or_set = query_or_set; u 192 sound/pci/asihpi/hpifunc.c *padapter_mode = hr.u.ax.mode.adapter_mode; u 208 sound/pci/asihpi/hpifunc.c *pw_adapter_type = hr.u.ax.info.adapter_type; u 209 sound/pci/asihpi/hpifunc.c *pw_num_outstreams = hr.u.ax.info.num_outstreams; u 210 sound/pci/asihpi/hpifunc.c *pw_num_instreams = hr.u.ax.info.num_instreams; u 211 sound/pci/asihpi/hpifunc.c *pw_version = hr.u.ax.info.version; u 212 sound/pci/asihpi/hpifunc.c *pserial_number = hr.u.ax.info.serial_number; u 226 sound/pci/asihpi/hpifunc.c hm.u.ax.module_info.index = module_index; u 230 sound/pci/asihpi/hpifunc.c *pw_module_type = hr.u.ax.info.adapter_type; u 231 sound/pci/asihpi/hpifunc.c *pw_num_outputs = hr.u.ax.info.num_outstreams; u 232 sound/pci/asihpi/hpifunc.c *pw_num_inputs = hr.u.ax.info.num_instreams; u 233 sound/pci/asihpi/hpifunc.c *pw_version = hr.u.ax.info.version; u 234 sound/pci/asihpi/hpifunc.c *pserial_number = hr.u.ax.info.serial_number; u 248 sound/pci/asihpi/hpifunc.c hm.u.ax.property_set.property = property; u 249 sound/pci/asihpi/hpifunc.c hm.u.ax.property_set.parameter1 = parameter1; u 250 sound/pci/asihpi/hpifunc.c hm.u.ax.property_set.parameter2 = parameter2; u 265 sound/pci/asihpi/hpifunc.c hm.u.ax.property_set.property = property; u 270 sound/pci/asihpi/hpifunc.c *pw_parameter1 = hr.u.ax.property_get.parameter1; u 272 sound/pci/asihpi/hpifunc.c *pw_parameter2 = hr.u.ax.property_get.parameter2; u 485 sound/pci/asihpi/hpifunc.c *pw_state = hr.u.d.u.stream_info.state; u 487 sound/pci/asihpi/hpifunc.c *pbuffer_size = hr.u.d.u.stream_info.buffer_size; u 489 sound/pci/asihpi/hpifunc.c *pdata_to_play = hr.u.d.u.stream_info.data_available; u 491 sound/pci/asihpi/hpifunc.c *psamples_played = hr.u.d.u.stream_info.samples_transferred; u 494 sound/pci/asihpi/hpifunc.c hr.u.d.u.stream_info.auxiliary_data_available; u 507 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.pb_data = (u8 *)pb_data; u 508 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.data_size = bytes_to_write; u 510 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); u 597 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); u 614 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); u 630 sound/pci/asihpi/hpifunc.c hm.u.d.u.velocity = velocity; u 648 sound/pci/asihpi/hpifunc.c hm.u.d.u.pio.punch_in_sample = punch_in_sample; u 649 sound/pci/asihpi/hpifunc.c hm.u.d.u.pio.punch_out_sample = punch_out_sample; u 665 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.channels = mode; u 683 sound/pci/asihpi/hpifunc.c hr.u.d.u.stream_info.data_available / u 701 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.pb_data = (u8 *)p_anc_frame_buffer; u 702 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.data_size = u 705 sound/pci/asihpi/hpifunc.c if (hm.u.d.u.data.data_size <= anc_frame_buffer_size_in_bytes) u 722 sound/pci/asihpi/hpifunc.c hm.u.d.u.time_scale = time_scale; u 738 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.data_size = size_in_bytes; u 757 sound/pci/asihpi/hpifunc.c *pp_buffer = hr.u.d.u.hostbuffer_info.p_buffer; u 759 sound/pci/asihpi/hpifunc.c *pp_status = hr.u.d.u.hostbuffer_info.p_status; u 791 sound/pci/asihpi/hpifunc.c &hm.u.d.u.stream.stream_index)) u 798 sound/pci/asihpi/hpifunc.c hm.u.d.u.stream.object_type = c_obj_type; u 823 sound/pci/asihpi/hpifunc.c *poutstream_map = hr.u.d.u.group_info.outstream_group_map; u 825 sound/pci/asihpi/hpifunc.c *pinstream_map = hr.u.d.u.group_info.instream_group_map; u 899 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); u 915 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); u 931 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.data_size = bytes_to_read; u 932 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.pb_data = pb_data; u 1013 sound/pci/asihpi/hpifunc.c *pw_state = hr.u.d.u.stream_info.state; u 1015 sound/pci/asihpi/hpifunc.c *pbuffer_size = hr.u.d.u.stream_info.buffer_size; u 1017 sound/pci/asihpi/hpifunc.c *pdata_recorded = hr.u.d.u.stream_info.data_available; u 1019 sound/pci/asihpi/hpifunc.c *psamples_recorded = hr.u.d.u.stream_info.samples_transferred; u 1022 sound/pci/asihpi/hpifunc.c hr.u.d.u.stream_info.auxiliary_data_available; u 1035 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.attributes = bytes_per_frame; u 1036 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.format = (mode << 8) | (alignment & 0xff); u 1037 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.channels = idle_bit; u 1053 sound/pci/asihpi/hpifunc.c (hr.u.d.u.stream_info.buffer_size - u 1054 sound/pci/asihpi/hpifunc.c hr.u.d.u.stream_info.data_available) / u 1071 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.pb_data = (u8 *)p_anc_frame_buffer; u 1072 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.data_size = u 1075 sound/pci/asihpi/hpifunc.c if (hm.u.d.u.data.data_size <= anc_frame_buffer_size_in_bytes) u 1092 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.data_size = size_in_bytes; u 1111 sound/pci/asihpi/hpifunc.c *pp_buffer = hr.u.d.u.hostbuffer_info.p_buffer; u 1113 sound/pci/asihpi/hpifunc.c *pp_status = hr.u.d.u.hostbuffer_info.p_status; u 1147 sound/pci/asihpi/hpifunc.c &hm.u.d.u.stream.stream_index)) u 1155 sound/pci/asihpi/hpifunc.c hm.u.d.u.stream.object_type = c_obj_type; u 1181 sound/pci/asihpi/hpifunc.c *poutstream_map = hr.u.d.u.group_info.outstream_group_map; u 1183 sound/pci/asihpi/hpifunc.c *pinstream_map = hr.u.d.u.group_info.instream_group_map; u 1242 sound/pci/asihpi/hpifunc.c hm.u.m.node_type1 = src_node_type; u 1243 sound/pci/asihpi/hpifunc.c hm.u.m.node_index1 = src_node_type_index; u 1244 sound/pci/asihpi/hpifunc.c hm.u.m.node_type2 = dst_node_type; u 1245 sound/pci/asihpi/hpifunc.c hm.u.m.node_index2 = dst_node_type_index; u 1246 sound/pci/asihpi/hpifunc.c hm.u.m.control_type = control_type; u 1253 sound/pci/asihpi/hpifunc.c hm.adapter_index, hr.u.m.control_index); u 1269 sound/pci/asihpi/hpifunc.c hm.u.m.control_index = control_index; u 1274 sound/pci/asihpi/hpifunc.c hr.u.m.src_node_type + HPI_SOURCENODE_NONE; u 1275 sound/pci/asihpi/hpifunc.c *pw_src_node_index = hr.u.m.src_node_index; u 1276 sound/pci/asihpi/hpifunc.c *pw_dst_node_type = hr.u.m.dst_node_type + HPI_DESTNODE_NONE; u 1277 sound/pci/asihpi/hpifunc.c *pw_dst_node_index = hr.u.m.dst_node_index; u 1280 sound/pci/asihpi/hpifunc.c *pw_control_type = hr.u.m.control_index; u 1301 sound/pci/asihpi/hpifunc.c hm.u.mx.store.command = command; u 1302 sound/pci/asihpi/hpifunc.c hm.u.mx.store.index = index; u 1318 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = attrib; u 1319 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = param1; u 1320 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = param2; u 1335 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = attrib; u 1336 sound/pci/asihpi/hpifunc.c hm.u.c.an_log_value[0] = sv0; u 1337 sound/pci/asihpi/hpifunc.c hm.u.c.an_log_value[1] = sv1; u 1353 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = attrib; u 1354 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = param1; u 1355 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = param2; u 1358 sound/pci/asihpi/hpifunc.c *pparam1 = hr.u.c.param1; u 1360 sound/pci/asihpi/hpifunc.c *pparam2 = hr.u.c.param2; u 1379 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = attrib; u 1382 sound/pci/asihpi/hpifunc.c *sv0 = hr.u.c.an_log_value[0]; u 1384 sound/pci/asihpi/hpifunc.c *sv1 = hr.u.c.an_log_value[1]; u 1400 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = attrib; u 1401 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = index; u 1402 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = param; u 1405 sound/pci/asihpi/hpifunc.c *psetting = hr.u.c.param1; u 1430 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = attribute; u 1431 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = sub_string_index; u 1432 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = 0; u 1436 sound/pci/asihpi/hpifunc.c && (hr.u.cu.chars8.remaining_chars + 8) > u 1445 sound/pci/asihpi/hpifunc.c c = hr.u.cu.chars8.sz_data[j]; u 1457 sound/pci/asihpi/hpifunc.c if ((hr.u.cu.chars8.remaining_chars == 0) u 1512 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_AESEBURX_USERDATA; u 1513 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = index; u 1518 sound/pci/asihpi/hpifunc.c *pw_data = (u16)hr.u.c.param2; u 1531 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_AESEBURX_CHANNELSTATUS; u 1532 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = index; u 1537 sound/pci/asihpi/hpifunc.c *pw_data = (u16)hr.u.c.param2; u 1628 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_BITSTREAM_ACTIVITY; u 1631 sound/pci/asihpi/hpifunc.c *pw_clk_activity = (u16)hr.u.c.param1; u 1633 sound/pci/asihpi/hpifunc.c *pw_data_activity = (u16)hr.u.c.param2; u 1738 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_COBRANET_GET_STATUS; u 1743 sound/pci/asihpi/hpifunc.c *pstatus = hr.u.cu.cobranet.status.status; u 1746 sound/pci/asihpi/hpifunc.c hr.u.cu.cobranet.status.readable_size; u 1749 sound/pci/asihpi/hpifunc.c hr.u.cu.cobranet.status.writeable_size; u 1924 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_COMPANDER_THRESHOLD; u 1925 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = index; u 1926 sound/pci/asihpi/hpifunc.c hm.u.c.an_log_value[0] = threshold0_01dB; u 1943 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_COMPANDER_THRESHOLD; u 1944 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = index; u 1947 sound/pci/asihpi/hpifunc.c *threshold0_01dB = hr.u.c.an_log_value[0]; u 1974 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_LEVEL_RANGE; u 1978 sound/pci/asihpi/hpifunc.c hr.u.c.an_log_value[0] = 0; u 1979 sound/pci/asihpi/hpifunc.c hr.u.c.an_log_value[1] = 0; u 1980 sound/pci/asihpi/hpifunc.c hr.u.c.param1 = 0; u 1983 sound/pci/asihpi/hpifunc.c *min_gain_01dB = hr.u.c.an_log_value[0]; u 1985 sound/pci/asihpi/hpifunc.c *max_gain_01dB = hr.u.c.an_log_value[1]; u 1987 sound/pci/asihpi/hpifunc.c *step_gain_01dB = (short)hr.u.c.param1; u 2024 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_METER_PEAK; u 2029 sound/pci/asihpi/hpifunc.c memcpy(an_peakdB, hr.u.c.an_log_value, u 2049 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_METER_RMS; u 2054 sound/pci/asihpi/hpifunc.c memcpy(an_rmsdB, hr.u.c.an_log_value, u 2157 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_MULTIPLEXER_QUERYSOURCE; u 2158 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = index; u 2163 sound/pci/asihpi/hpifunc.c *source_node_type = (u16)hr.u.c.param1; u 2165 sound/pci/asihpi/hpifunc.c *source_node_index = (u16)hr.u.c.param2; u 2201 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_EQUALIZER_FILTER; u 2202 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = index; u 2207 sound/pci/asihpi/hpifunc.c *pfrequency_hz = hr.u.c.param1; u 2209 sound/pci/asihpi/hpifunc.c *pn_type = (u16)(hr.u.c.param2 >> 16); u 2211 sound/pci/asihpi/hpifunc.c *pnQ100 = hr.u.c.an_log_value[1]; u 2213 sound/pci/asihpi/hpifunc.c *pn_gain0_01dB = hr.u.c.an_log_value[0]; u 2229 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = frequency_hz; u 2230 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = (index & 0xFFFFL) + ((u32)type << 16); u 2231 sound/pci/asihpi/hpifunc.c hm.u.c.an_log_value[0] = gain0_01dB; u 2232 sound/pci/asihpi/hpifunc.c hm.u.c.an_log_value[1] = q100; u 2233 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_EQUALIZER_FILTER; u 2250 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_EQUALIZER_COEFFICIENTS; u 2251 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = index; u 2255 sound/pci/asihpi/hpifunc.c coeffs[0] = (short)hr.u.c.an_log_value[0]; u 2256 sound/pci/asihpi/hpifunc.c coeffs[1] = (short)hr.u.c.an_log_value[1]; u 2257 sound/pci/asihpi/hpifunc.c coeffs[2] = (short)hr.u.c.param1; u 2258 sound/pci/asihpi/hpifunc.c coeffs[3] = (short)(hr.u.c.param1 >> 16); u 2259 sound/pci/asihpi/hpifunc.c coeffs[4] = (short)hr.u.c.param2; u 2564 sound/pci/asihpi/hpifunc.c hm.u.cu.attribute = HPI_TUNER_LEVEL_AVG; u 2567 sound/pci/asihpi/hpifunc.c *pw_level = hr.u.cu.tuner.s_level; u 2580 sound/pci/asihpi/hpifunc.c hm.u.cu.attribute = HPI_TUNER_LEVEL_RAW; u 2583 sound/pci/asihpi/hpifunc.c *pw_level = hr.u.cu.tuner.s_level; u 2693 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_TUNER_RDS; u 2696 sound/pci/asihpi/hpifunc.c *(u32 *)&p_data[0] = hr.u.cu.tuner.rds.data[0]; u 2697 sound/pci/asihpi/hpifunc.c *(u32 *)&p_data[4] = hr.u.cu.tuner.rds.data[1]; u 2698 sound/pci/asihpi/hpifunc.c *(u32 *)&p_data[8] = hr.u.cu.tuner.rds.bLER; u 2779 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_VOLUME_RANGE; u 2783 sound/pci/asihpi/hpifunc.c hr.u.c.an_log_value[0] = 0; u 2784 sound/pci/asihpi/hpifunc.c hr.u.c.an_log_value[1] = 0; u 2785 sound/pci/asihpi/hpifunc.c hr.u.c.param1 = 0; u 2788 sound/pci/asihpi/hpifunc.c *min_gain_01dB = hr.u.c.an_log_value[0]; u 2790 sound/pci/asihpi/hpifunc.c *max_gain_01dB = hr.u.c.an_log_value[1]; u 2792 sound/pci/asihpi/hpifunc.c *step_gain_01dB = (short)hr.u.c.param1; u 2808 sound/pci/asihpi/hpifunc.c memcpy(hm.u.c.an_log_value, an_stop_gain0_01dB, u 2811 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_VOLUME_AUTOFADE; u 2812 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = duration_ms; u 2813 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = profile; u 2831 sound/pci/asihpi/hpifunc.c u32 u; u 2832 sound/pci/asihpi/hpifunc.c e = hpi_control_query(h_volume, HPI_VOLUME_AUTOFADE, i, 0, &u); u 2833 sound/pci/asihpi/hpifunc.c *profile = (u16)u; u 2845 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_VOX_THRESHOLD; u 2847 sound/pci/asihpi/hpifunc.c hm.u.c.an_log_value[0] = an_gain0_01dB; u 2862 sound/pci/asihpi/hpifunc.c hm.u.c.attribute = HPI_VOX_THRESHOLD; u 2866 sound/pci/asihpi/hpifunc.c *an_gain0_01dB = hr.u.c.an_log_value[0]; u 163 sound/pci/asihpi/hpimsgx.c phr->u.s.version = HPI_VER >> 8; /* return major.minor */ u 164 sound/pci/asihpi/hpimsgx.c phr->u.s.data = HPI_VER; /* return major.minor.release */ u 602 sound/pci/asihpi/hpimsgx.c aDAPTER_INFO[adapter].num_outstreams = hr.u.ax.info.num_outstreams; u 603 sound/pci/asihpi/hpimsgx.c aDAPTER_INFO[adapter].num_instreams = hr.u.ax.info.num_instreams; u 604 sound/pci/asihpi/hpimsgx.c aDAPTER_INFO[adapter].type = hr.u.ax.info.adapter_type; u 707 sound/pci/asihpi/hpimsgx.c hpi_lookup_entry_point_function(phm->u.s.resource.r.pci); u 719 sound/pci/asihpi/hpimsgx.c hpi_entry_points[hr.u.s.adapter_index] = entry_point_func; u 724 sound/pci/asihpi/hpimsgx.c adapter_prepare(hr.u.s.adapter_index); u 209 sound/pci/asihpi/hpioctl.c ptr = (u16 __user *)hm->m0.u.d.u.data.pb_data; u 210 sound/pci/asihpi/hpioctl.c size = hm->m0.u.d.u.data.data_size; u 241 sound/pci/asihpi/hpioctl.c hm->m0.u.d.u.data.pb_data = pa->p_buffer; u 391 sound/pci/asihpi/hpioctl.c hm.u.s.resource.bus_type = HPI_BUS_PCI; u 392 sound/pci/asihpi/hpioctl.c hm.u.s.resource.r.pci = &pci; u 399 sound/pci/asihpi/hpioctl.c adapter_index = hr.u.s.adapter_index; u 430 sound/pci/asihpi/hpioctl.c && hr.u.ax.mode.adapter_mode == HPI_ADAPTER_MODE_LOW_LATENCY) u 441 sound/pci/asihpi/hpioctl.c hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_SUPPORTS_IRQ; u 443 sound/pci/asihpi/hpioctl.c if (hr.error || !hr.u.ax.property_get.parameter1) { u 470 sound/pci/asihpi/hpioctl.c hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_IRQ_RATE; u 471 sound/pci/asihpi/hpioctl.c hm.u.ax.property_set.parameter1 = 0; u 472 sound/pci/asihpi/hpioctl.c hm.u.ax.property_set.parameter2 = 0; u 533 sound/pci/asihpi/hpioctl.c hm.u.ax.property_set.property = HPI_ADAPTER_PROPERTY_IRQ_RATE; u 534 sound/pci/asihpi/hpioctl.c hm.u.ax.property_set.parameter1 = 0; u 535 sound/pci/asihpi/hpioctl.c hm.u.ax.property_set.parameter2 = 0; u 401 sound/pci/ens1370.c } u; u 944 sound/pci/ens1370.c if (!(ensoniq->u.es1370.pclkdiv_lock & ES_MODE_CAPTURE)) { u 947 sound/pci/ens1370.c ensoniq->u.es1370.pclkdiv_lock |= ES_MODE_PLAY2; u 982 sound/pci/ens1370.c if (!(ensoniq->u.es1370.pclkdiv_lock & ES_MODE_PLAY2)) { u 985 sound/pci/ens1370.c ensoniq->u.es1370.pclkdiv_lock |= ES_MODE_CAPTURE; u 1194 sound/pci/ens1370.c ensoniq->u.es1370.pclkdiv_lock &= ~ES_MODE_PLAY2; u 1208 sound/pci/ens1370.c ensoniq->u.es1370.pclkdiv_lock &= ~ES_MODE_CAPTURE; u 1575 sound/pci/ens1370.c ensoniq->u.es1371.ac97 = NULL; u 1633 sound/pci/ens1370.c if ((err = snd_ac97_mixer(pbus, &ac97, &ensoniq->u.es1371.ac97)) < 0) u 1644 sound/pci/ens1370.c if (ensoniq->u.es1371.ac97->ext_id & AC97_EI_SPDIF) u 1657 sound/pci/ens1370.c if (ensoniq->u.es1371.ac97->ext_id & AC97_EI_SDAC) { u 1731 sound/pci/ens1370.c ensoniq->u.es1370.ak4531 = NULL; u 1753 sound/pci/ens1370.c if ((err = snd_ak4531_mixer(card, &ak4531, &ensoniq->u.es1370.ak4531)) < 0) u 2025 sound/pci/ens1370.c snd_ac97_suspend(ensoniq->u.es1371.ac97); u 2034 sound/pci/ens1370.c snd_ak4531_suspend(ensoniq->u.es1370.ak4531); u 2047 sound/pci/ens1370.c snd_ac97_resume(ensoniq->u.es1371.ac97); u 2049 sound/pci/ens1370.c snd_ak4531_resume(ensoniq->u.es1370.ak4531); u 612 sound/pci/es1938.c int u, is8, mono; u 621 sound/pci/es1938.c u = snd_pcm_format_unsigned(runtime->format); u 638 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_SETFORMAT2, u ? 0x51 : 0x71); u 640 sound/pci/es1938.c (u ? 0x00 : 0x20) | u 660 sound/pci/es1938.c int u, is8, mono; u 669 sound/pci/es1938.c u = snd_pcm_format_unsigned(runtime->format); u 684 sound/pci/es1938.c snd_es1938_mixer_write(chip, ESSSB_IREG_AUDIO2CONTROL2, 0x40 | (u ? 0 : 4) | u 697 sound/pci/es1938.c int u, is8, mono; u 706 sound/pci/es1938.c u = snd_pcm_format_unsigned(runtime->format); u 723 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_SETFORMAT, u ? 0x80 : 0x00); u 724 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_SETFORMAT, u ? 0x51 : 0x71); u 727 sound/pci/es1938.c (is8 ? 0x00 : 0x04) | (u ? 0x00 : 0x20)); u 1724 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *u) u 1731 sound/pci/korg1212/korg1212.c u->value.integer.value[0] = korg1212->volumePhase[i]; u 1734 sound/pci/korg1212/korg1212.c u->value.integer.value[1] = korg1212->volumePhase[i+1]; u 1742 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *u) u 1752 sound/pci/korg1212/korg1212.c korg1212->volumePhase[i] = !!u->value.integer.value[0]; u 1756 sound/pci/korg1212/korg1212.c if ((u->value.integer.value[0] != 0) != (val < 0)) { u 1763 sound/pci/korg1212/korg1212.c korg1212->volumePhase[i+1] = !!u->value.integer.value[1]; u 1767 sound/pci/korg1212/korg1212.c if ((u->value.integer.value[1] != 0) != (val < 0)) { u 1790 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *u) u 1798 sound/pci/korg1212/korg1212.c u->value.integer.value[0] = abs(korg1212->sharedBufferPtr->volumeData[i]); u 1801 sound/pci/korg1212/korg1212.c u->value.integer.value[1] = abs(korg1212->sharedBufferPtr->volumeData[i+1]); u 1809 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *u) u 1820 sound/pci/korg1212/korg1212.c if (u->value.integer.value[0] >= k1212MinVolume && u 1821 sound/pci/korg1212/korg1212.c u->value.integer.value[0] >= k1212MaxVolume && u 1822 sound/pci/korg1212/korg1212.c u->value.integer.value[0] != u 1825 sound/pci/korg1212/korg1212.c val *= u->value.integer.value[0]; u 1831 sound/pci/korg1212/korg1212.c if (u->value.integer.value[1] >= k1212MinVolume && u 1832 sound/pci/korg1212/korg1212.c u->value.integer.value[1] >= k1212MaxVolume && u 1833 sound/pci/korg1212/korg1212.c u->value.integer.value[1] != u 1836 sound/pci/korg1212/korg1212.c val *= u->value.integer.value[1]; u 1856 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *u) u 1864 sound/pci/korg1212/korg1212.c u->value.enumerated.item[0] = korg1212->sharedBufferPtr->routeData[i]; u 1867 sound/pci/korg1212/korg1212.c u->value.enumerated.item[1] = korg1212->sharedBufferPtr->routeData[i+1]; u 1875 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *u) u 1884 sound/pci/korg1212/korg1212.c if (u->value.enumerated.item[0] < kAudioChannels && u 1885 sound/pci/korg1212/korg1212.c u->value.enumerated.item[0] != u 1887 sound/pci/korg1212/korg1212.c korg1212->sharedBufferPtr->routeData[i] = u->value.enumerated.item[0]; u 1892 sound/pci/korg1212/korg1212.c if (u->value.enumerated.item[1] < kAudioChannels && u 1893 sound/pci/korg1212/korg1212.c u->value.enumerated.item[1] != u 1895 sound/pci/korg1212/korg1212.c korg1212->sharedBufferPtr->routeData[i+1] = u->value.enumerated.item[1]; u 1916 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *u) u 1922 sound/pci/korg1212/korg1212.c u->value.integer.value[0] = korg1212->leftADCInSens; u 1923 sound/pci/korg1212/korg1212.c u->value.integer.value[1] = korg1212->rightADCInSens; u 1931 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *u) u 1938 sound/pci/korg1212/korg1212.c if (u->value.integer.value[0] >= k1212MinADCSens && u 1939 sound/pci/korg1212/korg1212.c u->value.integer.value[0] <= k1212MaxADCSens && u 1940 sound/pci/korg1212/korg1212.c u->value.integer.value[0] != korg1212->leftADCInSens) { u 1941 sound/pci/korg1212/korg1212.c korg1212->leftADCInSens = u->value.integer.value[0]; u 1944 sound/pci/korg1212/korg1212.c if (u->value.integer.value[1] >= k1212MinADCSens && u 1945 sound/pci/korg1212/korg1212.c u->value.integer.value[1] <= k1212MaxADCSens && u 1946 sound/pci/korg1212/korg1212.c u->value.integer.value[1] != korg1212->rightADCInSens) { u 1947 sound/pci/korg1212/korg1212.c korg1212->rightADCInSens = u->value.integer.value[1]; u 2218 sound/pci/rme96.c snd_rme96_dac_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) u 2223 sound/pci/rme96.c u->value.integer.value[0] = rme96->vol[0]; u 2224 sound/pci/rme96.c u->value.integer.value[1] = rme96->vol[1]; u 2231 sound/pci/rme96.c snd_rme96_dac_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) u 2242 sound/pci/rme96.c vol = u->value.integer.value[0]; u 2247 sound/pci/rme96.c vol = u->value.integer.value[1]; u 29 sound/soc/dwc/dwc-pcm.c const u##sample_bits (*p)[2] = (void *)runtime->dma_area; \ u 49 sound/soc/dwc/dwc-pcm.c u##sample_bits (*p)[2] = (void *)runtime->dma_area; \ u 716 sound/soc/intel/skylake/skl-topology.c struct skl_mod_inst_map *inst = kpb_params->u.map; u 823 sound/soc/intel/skylake/skl-topology.c size = struct_size(params, u.map, uuid_params->num_modules); u 833 sound/soc/intel/skylake/skl-topology.c &uuid_params->u.map_uuid[i].mod_uuid); u 839 sound/soc/intel/skylake/skl-topology.c params->u.map[i].mod_id = module_id; u 840 sound/soc/intel/skylake/skl-topology.c params->u.map[i].inst_id = u 841 sound/soc/intel/skylake/skl-topology.c uuid_params->u.map_uuid[i].inst_id; u 221 sound/soc/intel/skylake/skl-topology.h } u; u 134 sound/soc/xtensa/xtfpga-i2s.c const u##sample_bits (*p)[channels] = \ u 74 sound/usb/endpoint.c static void release_urb_ctx(struct snd_urb_ctx *u) u 76 sound/usb/endpoint.c if (u->buffer_size) u 77 sound/usb/endpoint.c usb_free_coherent(u->ep->chip->dev, u->buffer_size, u 78 sound/usb/endpoint.c u->urb->transfer_buffer, u 79 sound/usb/endpoint.c u->urb->transfer_dma); u 80 sound/usb/endpoint.c usb_free_urb(u->urb); u 81 sound/usb/endpoint.c u->urb = NULL; u 564 sound/usb/endpoint.c struct urb *u = ep->urb[i].urb; u 565 sound/usb/endpoint.c usb_unlink_urb(u); u 762 sound/usb/endpoint.c struct snd_urb_ctx *u = &ep->urb[i]; u 763 sound/usb/endpoint.c u->index = i; u 764 sound/usb/endpoint.c u->ep = ep; u 765 sound/usb/endpoint.c u->packets = urb_packs; u 766 sound/usb/endpoint.c u->buffer_size = maxsize * u->packets; u 769 sound/usb/endpoint.c u->packets++; /* for transfer delimiter */ u 770 sound/usb/endpoint.c u->urb = usb_alloc_urb(u->packets, GFP_KERNEL); u 771 sound/usb/endpoint.c if (!u->urb) u 774 sound/usb/endpoint.c u->urb->transfer_buffer = u 775 sound/usb/endpoint.c usb_alloc_coherent(ep->chip->dev, u->buffer_size, u 776 sound/usb/endpoint.c GFP_KERNEL, &u->urb->transfer_dma); u 777 sound/usb/endpoint.c if (!u->urb->transfer_buffer) u 779 sound/usb/endpoint.c u->urb->pipe = ep->pipe; u 780 sound/usb/endpoint.c u->urb->transfer_flags = URB_NO_TRANSFER_DMA_MAP; u 781 sound/usb/endpoint.c u->urb->interval = 1 << ep->datainterval; u 782 sound/usb/endpoint.c u->urb->context = u; u 783 sound/usb/endpoint.c u->urb->complete = snd_complete_urb; u 784 sound/usb/endpoint.c INIT_LIST_HEAD(&u->ready_list); u 807 sound/usb/endpoint.c struct snd_urb_ctx *u = &ep->urb[i]; u 808 sound/usb/endpoint.c u->index = i; u 809 sound/usb/endpoint.c u->ep = ep; u 810 sound/usb/endpoint.c u->packets = 1; u 811 sound/usb/endpoint.c u->urb = usb_alloc_urb(1, GFP_KERNEL); u 812 sound/usb/endpoint.c if (!u->urb) u 814 sound/usb/endpoint.c u->urb->transfer_buffer = ep->syncbuf + i * 4; u 815 sound/usb/endpoint.c u->urb->transfer_dma = ep->sync_dma + i * 4; u 816 sound/usb/endpoint.c u->urb->transfer_buffer_length = 4; u 817 sound/usb/endpoint.c u->urb->pipe = ep->pipe; u 818 sound/usb/endpoint.c u->urb->transfer_flags = URB_NO_TRANSFER_DMA_MAP; u 819 sound/usb/endpoint.c u->urb->number_of_packets = 1; u 820 sound/usb/endpoint.c u->urb->interval = 1 << ep->syncinterval; u 821 sound/usb/endpoint.c u->urb->context = u; u 822 sound/usb/endpoint.c u->urb->complete = snd_complete_urb; u 1095 sound/usb/misc/ua101.c unsigned int b, u = 0; u 1103 sound/usb/misc/ua101.c if (u >= stream->queue_length) u 1121 sound/usb/misc/ua101.c stream->urbs[u++] = urb; u 1127 sound/usb/misc/ua101.c if (u == stream->queue_length) u 50 sound/usb/usx2y/usb_stream.c int u, p; u 55 sound/usb/usx2y/usb_stream.c for (u = 0; u < USB_STREAM_NURBS; u 56 sound/usb/usx2y/usb_stream.c ++u, transfer += transfer_length) { u 57 sound/usb/usx2y/usb_stream.c struct urb *urb = urbs[u]; u 90 sound/usb/usx2y/usb_stream.c int u; u 92 sound/usb/usx2y/usb_stream.c for (u = 0; u < USB_STREAM_NURBS; ++u) { u 93 sound/usb/usx2y/usb_stream.c sk->inurb[u] = usb_alloc_urb(sk->n_o_ps, GFP_KERNEL); u 94 sound/usb/usx2y/usb_stream.c if (!sk->inurb[u]) u 97 sound/usb/usx2y/usb_stream.c sk->outurb[u] = usb_alloc_urb(sk->n_o_ps, GFP_KERNEL); u 98 sound/usb/usx2y/usb_stream.c if (!sk->outurb[u]) u 132 sound/usb/usx2y/usb_stream.c unsigned u; u 134 sound/usb/usx2y/usb_stream.c for (u = 0; u < USB_STREAM_NURBS; ++u) { u 135 sound/usb/usx2y/usb_stream.c usb_free_urb(sk->inurb[u]); u 136 sound/usb/usx2y/usb_stream.c sk->inurb[u] = NULL; u 137 sound/usb/usx2y/usb_stream.c usb_free_urb(sk->outurb[u]); u 138 sound/usb/usx2y/usb_stream.c sk->outurb[u] = NULL; u 266 sound/usb/usx2y/usb_stream.c int u; u 268 sound/usb/usx2y/usb_stream.c for (u = 0; u < USB_STREAM_NURBS; u++) { u 269 sound/usb/usx2y/usb_stream.c struct urb *urb = urbs[u]; u 654 sound/usb/usx2y/usb_stream.c int u, err; u 671 sound/usb/usx2y/usb_stream.c for (u = 0; u < 2; u++) { u 672 sound/usb/usx2y/usb_stream.c struct urb *inurb = sk->inurb[u]; u 673 sound/usb/usx2y/usb_stream.c struct urb *outurb = sk->outurb[u]; u 680 sound/usb/usx2y/usb_stream.c if (u == 0) { u 692 sound/usb/usx2y/usb_stream.c " returned %i\n", u, err); u 698 sound/usb/usx2y/usb_stream.c " returned %i\n", u, err); u 705 sound/usb/usx2y/usb_stream.c u, inurb->start_frame, outurb->start_frame); u 747 sound/usb/usx2y/usb_stream.c int u; u 750 sound/usb/usx2y/usb_stream.c for (u = 0; u < USB_STREAM_NURBS; ++u) { u 751 sound/usb/usx2y/usb_stream.c usb_kill_urb(sk->inurb[u]); u 752 sound/usb/usx2y/usb_stream.c usb_kill_urb(sk->outurb[u]); u 249 sound/usb/usx2y/usbusx2yaudio.c int s, u; u 263 sound/usb/usx2y/usbusx2yaudio.c for (u = 0; u < NRURBS; u++) { u 264 sound/usb/usx2y/usbusx2yaudio.c struct urb *urb = subs->urb[u]; u 267 sound/usb/usx2y/usbusx2yaudio.c u, urb->status, urb->start_frame); u 322 sound/usb/usx2y/usbusx2yaudio.c int s, u; u 326 sound/usb/usx2y/usbusx2yaudio.c for (u = 0; u < NRURBS; u++) { u 327 sound/usb/usx2y/usbusx2yaudio.c struct urb * urb = subs->urb[u]; u 393 sound/usb/usx2y/usx2yhwdeppcm.c int p, u, err, u 419 sound/usb/usx2y/usx2yhwdeppcm.c for (u = 0; u < NRURBS; u++) { u 423 sound/usb/usx2y/usx2yhwdeppcm.c struct urb *urb = subs->urb[u]; u 426 sound/usb/usx2y/usx2yhwdeppcm.c if (0 == u) u 430 sound/usb/usx2y/usx2yhwdeppcm.c urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); u 435 sound/usb/usx2y/usx2yhwdeppcm.c snd_printk (KERN_ERR "cannot usb_submit_urb() for urb %d, err = %d\n", u, err); u 440 sound/usb/usx2y/usx2yhwdeppcm.c if (u == 0) u 31 sound/xen/xen_snd_front.c req = RING_GET_REQUEST(&evtchnl->u.req.ring, u 32 sound/xen/xen_snd_front.c evtchnl->u.req.ring.req_prod_pvt); u 44 sound/xen/xen_snd_front.c reinit_completion(&evtchnl->u.req.completion); u 51 sound/xen/xen_snd_front.c if (wait_for_completion_timeout(&evtchnl->u.req.completion, u 55 sound/xen/xen_snd_front.c return evtchnl->u.req.resp_status; u 65 sound/xen/xen_snd_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 78 sound/xen/xen_snd_front.c *hw_param_resp = evtchnl->u.req.resp.hw_param; u 80 sound/xen/xen_snd_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 93 sound/xen/xen_snd_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 111 sound/xen/xen_snd_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 120 sound/xen/xen_snd_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 131 sound/xen/xen_snd_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 141 sound/xen/xen_snd_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 154 sound/xen/xen_snd_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 164 sound/xen/xen_snd_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 177 sound/xen/xen_snd_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 187 sound/xen/xen_snd_front.c mutex_lock(&evtchnl->u.req.req_io_lock); u 199 sound/xen/xen_snd_front.c mutex_unlock(&evtchnl->u.req.req_io_lock); u 382 sound/xen/xen_snd_front_alsa.c stream->evt_pair->evt.u.evt.substream = substream; u 578 sound/xen/xen_snd_front_alsa.c struct snd_pcm_substream *substream = evtchnl->u.evt.substream; u 34 sound/xen/xen_snd_front_evtchnl.c rp = channel->u.req.ring.sring->rsp_prod; u 43 sound/xen/xen_snd_front_evtchnl.c for (i = channel->u.req.ring.rsp_cons; i != rp; i++) { u 44 sound/xen/xen_snd_front_evtchnl.c resp = RING_GET_RESPONSE(&channel->u.req.ring, i); u 57 sound/xen/xen_snd_front_evtchnl.c channel->u.req.resp_status = resp->status; u 58 sound/xen/xen_snd_front_evtchnl.c complete(&channel->u.req.completion); u 61 sound/xen/xen_snd_front_evtchnl.c channel->u.req.resp_status = resp->status; u 62 sound/xen/xen_snd_front_evtchnl.c channel->u.req.resp.hw_param = u 64 sound/xen/xen_snd_front_evtchnl.c complete(&channel->u.req.completion); u 75 sound/xen/xen_snd_front_evtchnl.c channel->u.req.ring.rsp_cons = i; u 76 sound/xen/xen_snd_front_evtchnl.c if (i != channel->u.req.ring.req_prod_pvt) { u 79 sound/xen/xen_snd_front_evtchnl.c RING_FINAL_CHECK_FOR_RESPONSES(&channel->u.req.ring, u 84 sound/xen/xen_snd_front_evtchnl.c channel->u.req.ring.sring->rsp_event = i + 1; u 94 sound/xen/xen_snd_front_evtchnl.c struct xensnd_event_page *page = channel->u.evt.page; u 141 sound/xen/xen_snd_front_evtchnl.c channel->u.req.ring.req_prod_pvt++; u 142 sound/xen/xen_snd_front_evtchnl.c RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&channel->u.req.ring, notify); u 153 sound/xen/xen_snd_front_evtchnl.c page = (unsigned long)channel->u.req.ring.sring; u 155 sound/xen/xen_snd_front_evtchnl.c page = (unsigned long)channel->u.evt.page; u 163 sound/xen/xen_snd_front_evtchnl.c channel->u.req.resp_status = -EIO; u 164 sound/xen/xen_snd_front_evtchnl.c complete_all(&channel->u.req.completion); u 235 sound/xen/xen_snd_front_evtchnl.c init_completion(&channel->u.req.completion); u 236 sound/xen/xen_snd_front_evtchnl.c mutex_init(&channel->u.req.req_io_lock); u 238 sound/xen/xen_snd_front_evtchnl.c FRONT_RING_INIT(&channel->u.req.ring, sring, XEN_PAGE_SIZE); u 242 sound/xen/xen_snd_front_evtchnl.c channel->u.req.ring.sring = NULL; u 253 sound/xen/xen_snd_front_evtchnl.c channel->u.evt.page = (struct xensnd_event_page *)page; u 73 sound/xen/xen_snd_front_evtchnl.h } u; u 276 tools/arch/powerpc/include/uapi/asm/kvm.h } u; u 49 tools/include/uapi/linux/erspan.h } u; u 108 tools/include/uapi/linux/fscrypt.h } u; u 204 tools/include/uapi/linux/kvm.h } u; u 651 tools/include/uapi/linux/kvm.h } u; u 1051 tools/include/uapi/linux/kvm.h } u; u 182 tools/perf/builtin-trace.c u##bits value; \ u 195 tools/perf/builtin-trace.c u##bits value; \ u 1850 tools/perf/util/evsel.c union u64_swap u; u 1861 tools/perf/util/evsel.c u.val64 = *array; u 1864 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); u 1865 tools/perf/util/evsel.c u.val32[0] = bswap_32(u.val32[0]); u 1868 tools/perf/util/evsel.c sample->cpu = u.val32[0]; u 1888 tools/perf/util/evsel.c u.val64 = *array; u 1891 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); u 1892 tools/perf/util/evsel.c u.val32[0] = bswap_32(u.val32[0]); u 1893 tools/perf/util/evsel.c u.val32[1] = bswap_32(u.val32[1]); u 1896 tools/perf/util/evsel.c sample->pid = u.val32[0]; u 1897 tools/perf/util/evsel.c sample->tid = u.val32[1]; u 1947 tools/perf/util/evsel.c union u64_swap u; u 1980 tools/perf/util/evsel.c u.val64 = *array; u 1983 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); u 1984 tools/perf/util/evsel.c u.val32[0] = bswap_32(u.val32[0]); u 1985 tools/perf/util/evsel.c u.val32[1] = bswap_32(u.val32[1]); u 1988 tools/perf/util/evsel.c data->pid = u.val32[0]; u 1989 tools/perf/util/evsel.c data->tid = u.val32[1]; u 2015 tools/perf/util/evsel.c u.val64 = *array; u 2018 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); u 2019 tools/perf/util/evsel.c u.val32[0] = bswap_32(u.val32[0]); u 2022 tools/perf/util/evsel.c data->cpu = u.val32[0]; u 2088 tools/perf/util/evsel.c u.val64 = *array; u 2097 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); u 2098 tools/perf/util/evsel.c u.val32[0] = bswap_32(u.val32[0]); u 2099 tools/perf/util/evsel.c u.val32[1] = bswap_32(u.val32[1]); u 2101 tools/perf/util/evsel.c data->raw_size = u.val32[0]; u 60 tools/perf/util/intel-pt-decoder/intel-pt-log.h static inline void intel_pt_log_at(const char *msg, uint64_t u) u 62 tools/perf/util/intel-pt-decoder/intel-pt-log.h intel_pt_log("%s at " x64_fmt "\n", msg, u); u 65 tools/perf/util/intel-pt-decoder/intel-pt-log.h static inline void intel_pt_log_to(const char *msg, uint64_t u) u 67 tools/perf/util/intel-pt-decoder/intel-pt-log.h intel_pt_log("%s to " x64_fmt "\n", msg, u); u 1659 tools/perf/util/intel-pt.c } u = { u 1669 tools/perf/util/intel-pt.c return u.result; u 1243 tools/perf/util/synthetic-events.c union u64_swap u; u 1258 tools/perf/util/synthetic-events.c u.val32[0] = sample->pid; u 1259 tools/perf/util/synthetic-events.c u.val32[1] = sample->tid; u 1260 tools/perf/util/synthetic-events.c *array = u.val64; u 1285 tools/perf/util/synthetic-events.c u.val32[0] = sample->cpu; u 1286 tools/perf/util/synthetic-events.c u.val32[1] = 0; u 1287 tools/perf/util/synthetic-events.c *array = u.val64; u 1332 tools/perf/util/synthetic-events.c u.val32[0] = sample->raw_size; u 1333 tools/perf/util/synthetic-events.c *array = u.val64; u 396 tools/perf/util/unwind-libunwind-local.c di.u.rti.segbase = map->start + segbase - map->pgoff; u 397 tools/perf/util/unwind-libunwind-local.c di.u.rti.table_data = map->start + table_data - map->pgoff; u 398 tools/perf/util/unwind-libunwind-local.c di.u.rti.table_len = fde_count * sizeof(struct table_entry) u 154 tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c union union_empty u; u 152 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.index = bpf_htonl(123); u 158 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.md2.dir = direction; u 159 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.md2.hwid = hwid & 0xf; u 160 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.md2.hwid_upper = (hwid >> 4) & 0x3; u 199 tools/testing/selftests/bpf/progs/test_tunnel_kern.c index = bpf_ntohl(md.u.index); u 205 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.md2.dir, u 206 tools/testing/selftests/bpf/progs/test_tunnel_kern.c (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, u 207 tools/testing/selftests/bpf/progs/test_tunnel_kern.c bpf_ntohl(md.u.md2.timestamp)); u 236 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.index = bpf_htonl(123); u 243 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.md2.dir = direction; u 244 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.md2.hwid = hwid & 0xf; u 245 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.md2.hwid_upper = (hwid >> 4) & 0x3; u 285 tools/testing/selftests/bpf/progs/test_tunnel_kern.c index = bpf_ntohl(md.u.index); u 291 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.md2.dir, u 292 tools/testing/selftests/bpf/progs/test_tunnel_kern.c (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, u 293 tools/testing/selftests/bpf/progs/test_tunnel_kern.c bpf_ntohl(md.u.md2.timestamp)); u 704 tools/testing/selftests/bpf/test_align.c unsigned int u = atoi(argv[argc - 1]); u 706 tools/testing/selftests/bpf/test_align.c if (l < to && u < to) { u 708 tools/testing/selftests/bpf/test_align.c to = u + 1; u 1149 tools/testing/selftests/bpf/test_verifier.c unsigned int u = atoi(argv[arg + 1]); u 1151 tools/testing/selftests/bpf/test_verifier.c if (l < to && u < to) { u 1153 tools/testing/selftests/bpf/test_verifier.c to = u + 1; u 57 tools/testing/selftests/proc/fd-001-lookup.c unsigned int u; u 87 tools/testing/selftests/proc/fd-001-lookup.c for (u = INT_MAX - 1024; u <= (unsigned int)INT_MAX + 1024; u++) { u 88 tools/testing/selftests/proc/fd-001-lookup.c snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); u 91 tools/testing/selftests/proc/fd-001-lookup.c for (u = UINT_MAX - 1024; u != 0; u++) { u 92 tools/testing/selftests/proc/fd-001-lookup.c snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); u 134 tools/testing/selftests/proc/fd-003-kthread.c unsigned int u; u 145 tools/testing/selftests/proc/fd-003-kthread.c for (u = INT_MAX - 1024; u < (unsigned int)INT_MAX + 1024; u++) { u 146 tools/testing/selftests/proc/fd-003-kthread.c snprintf(buf, sizeof(buf), "%u", u); u 149 tools/testing/selftests/proc/fd-003-kthread.c for (u = UINT_MAX - 1024; u != 0; u++) { u 150 tools/testing/selftests/proc/fd-003-kthread.c snprintf(buf, sizeof(buf), "%u", u); u 36 tools/testing/selftests/sigaltstack/sas.c void my_usr1(int sig, siginfo_t *si, void *u) u 79 tools/testing/selftests/sigaltstack/sas.c void my_usr2(int sig, siginfo_t *si, void *u) u 189 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c if (event.u.setup.bRequestType & USB_DIR_IN) u 336 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c iobuf[i].iocb[j]->u.c.flags |= IOCB_FLAG_RESFD; u 337 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c iobuf[i].iocb[j]->u.c.resfd = evfd; u 184 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c if (event.u.setup.bRequestType & USB_DIR_IN) u 328 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c iocb_in->u.c.flags |= IOCB_FLAG_RESFD; u 329 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c iocb_in->u.c.resfd = evfd; u 342 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c iocb_out->u.c.flags |= IOCB_FLAG_RESFD; u 343 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c iocb_out->u.c.resfd = evfd; u 616 tools/usb/ffs-test.c handle_setup(&event->u.setup); u 133 tools/usb/testusb.c } u; u 136 tools/usb/testusb.c if (fread(u.buf, 1, 1, fd) != 1) u 138 tools/usb/testusb.c if (fread(u.buf + 1, (unsigned char)u.buf[0] - 1, 1, fd) != 1) u 141 tools/usb/testusb.c if (u.intf.bLength == sizeof u.intf u 142 tools/usb/testusb.c && u.intf.bDescriptorType == USB_DT_INTERFACE u 143 tools/usb/testusb.c && u.intf.bNumEndpoints == 2 u 144 tools/usb/testusb.c && u.intf.bInterfaceClass == USB_CLASS_VENDOR_SPEC u 145 tools/usb/testusb.c && u.intf.bInterfaceSubClass == 0 u 146 tools/usb/testusb.c && u.intf.bInterfaceProtocol == 0) u 147 tools/usb/testusb.c return (unsigned char)u.intf.bInterfaceNumber; u 300 tools/usb/usbip/libsrc/names.c unsigned int u; u 346 tools/usb/usbip/libsrc/names.c u = strtoul(cp, &cp, 16); u 353 tools/usb/usbip/libsrc/names.c if (new_class(cp, u)) u 355 tools/usb/usbip/libsrc/names.c linectr, u, cp); u 356 tools/usb/usbip/libsrc/names.c dbg("line %5u class %02x %s", linectr, u, cp); u 358 tools/usb/usbip/libsrc/names.c lastclass = u; u 372 tools/usb/usbip/libsrc/names.c u = strtoul(cp, &cp, 16); u 379 tools/usb/usbip/libsrc/names.c if (new_vendor(cp, u)) u 381 tools/usb/usbip/libsrc/names.c linectr, u, cp); u 382 tools/usb/usbip/libsrc/names.c dbg("line %5u vendor %04x %s", linectr, u, cp); u 383 tools/usb/usbip/libsrc/names.c lastvendor = u; u 389 tools/usb/usbip/libsrc/names.c u = strtoul(buf+1, &cp, 16); u 398 tools/usb/usbip/libsrc/names.c if (new_product(cp, lastvendor, u)) u 400 tools/usb/usbip/libsrc/names.c linectr, lastvendor, u, cp); u 402 tools/usb/usbip/libsrc/names.c lastvendor, u, cp); u 406 tools/usb/usbip/libsrc/names.c if (new_subclass(cp, lastclass, u)) u 408 tools/usb/usbip/libsrc/names.c linectr, lastclass, u, cp); u 410 tools/usb/usbip/libsrc/names.c lastclass, u, cp); u 411 tools/usb/usbip/libsrc/names.c lastsubclass = u; u 428 tools/usb/usbip/libsrc/names.c u = strtoul(buf+2, &cp, 16); u 438 tools/usb/usbip/libsrc/names.c u)) u 441 tools/usb/usbip/libsrc/names.c u, cp); u 443 tools/usb/usbip/libsrc/names.c linectr, lastclass, lastsubclass, u, cp); u 47 virt/kvm/arm/vgic/vgic-irqfd.c e->irqchip.irqchip = ue->u.irqchip.irqchip; u 48 virt/kvm/arm/vgic/vgic-irqfd.c e->irqchip.pin = ue->u.irqchip.pin; u 55 virt/kvm/arm/vgic/vgic-irqfd.c e->msi.address_lo = ue->u.msi.address_lo; u 56 virt/kvm/arm/vgic/vgic-irqfd.c e->msi.address_hi = ue->u.msi.address_hi; u 57 virt/kvm/arm/vgic/vgic-irqfd.c e->msi.data = ue->u.msi.data; u 59 virt/kvm/arm/vgic/vgic-irqfd.c e->msi.devid = ue->u.msi.devid; u 135 virt/kvm/arm/vgic/vgic-irqfd.c entries[i].u.irqchip.irqchip = 0; u 136 virt/kvm/arm/vgic/vgic-irqfd.c entries[i].u.irqchip.pin = i; u 144 virt/kvm/irqchip.c ue->u.irqchip.irqchip == ei->irqchip.irqchip)