param 117 arch/arc/kernel/traps.c unsigned int param = regs->ecr_param; param 119 arch/arc/kernel/traps.c switch (param) { param 273 arch/arm/common/bL_switcher.c struct sched_param param = { .sched_priority = 1 }; param 278 arch/arm/common/bL_switcher.c sched_setscheduler_nocheck(current, SCHED_FIFO, ¶m); param 146 arch/arm/mach-exynos/suspend.c if (fwspec->param[0] != 0) param 149 arch/arm/mach-exynos/suspend.c *hwirq = fwspec->param[1]; param 150 arch/arm/mach-exynos/suspend.c *type = fwspec->param[2]; param 168 arch/arm/mach-exynos/suspend.c if (fwspec->param[0] != 0) param 171 arch/arm/mach-exynos/suspend.c hwirq = fwspec->param[1]; param 183 arch/arm/mach-imx/gpc.c if (fwspec->param[0] != 0) param 186 arch/arm/mach-imx/gpc.c *hwirq = fwspec->param[1]; param 187 arch/arm/mach-imx/gpc.c *type = fwspec->param[2]; param 205 arch/arm/mach-imx/gpc.c if (fwspec->param[0] != 0) param 208 arch/arm/mach-imx/gpc.c hwirq = fwspec->param[1]; param 37 arch/arm/mach-omap2/omap-secure.c u32 param[5]; param 39 arch/arm/mach-omap2/omap-secure.c param[0] = nargs; param 40 arch/arm/mach-omap2/omap-secure.c param[1] = arg1; param 41 arch/arm/mach-omap2/omap-secure.c param[2] = arg2; param 42 arch/arm/mach-omap2/omap-secure.c param[3] = arg3; param 43 arch/arm/mach-omap2/omap-secure.c param[4] = arg4; param 50 arch/arm/mach-omap2/omap-secure.c outer_clean_range(__pa(param), __pa(param + 5)); param 51 arch/arm/mach-omap2/omap-secure.c ret = omap_smc2(idx, flag, __pa(param)); param 76 arch/arm/mach-omap2/omap-secure.c u32 param[5]; param 81 arch/arm/mach-omap2/omap-secure.c param[0] = 4; /* Number of arguments */ param 82 arch/arm/mach-omap2/omap-secure.c param[1] = __pa(addr); /* Physical address for saving */ param 83 arch/arm/mach-omap2/omap-secure.c param[2] = 0; param 84 arch/arm/mach-omap2/omap-secure.c param[3] = 1; param 85 arch/arm/mach-omap2/omap-secure.c param[4] = 1; param 87 arch/arm/mach-omap2/omap-secure.c ret = save_secure_ram_context(__pa(param)); param 110 arch/arm/mach-omap2/omap-secure.c u32 param[5]; param 112 arch/arm/mach-omap2/omap-secure.c param[0] = nargs+1; /* RX-51 needs number of arguments + 1 */ param 113 arch/arm/mach-omap2/omap-secure.c param[1] = arg1; param 114 arch/arm/mach-omap2/omap-secure.c param[2] = arg2; param 115 arch/arm/mach-omap2/omap-secure.c param[3] = arg3; param 116 arch/arm/mach-omap2/omap-secure.c param[4] = arg4; param 125 arch/arm/mach-omap2/omap-secure.c outer_clean_range(__pa(param), __pa(param + 5)); param 126 arch/arm/mach-omap2/omap-secure.c ret = omap_smc3(idx, process, flag, __pa(param)); param 497 arch/arm/mach-omap2/omap-wakeupgen.c if (fwspec->param[0] != 0) param 500 arch/arm/mach-omap2/omap-wakeupgen.c *hwirq = fwspec->param[1]; param 501 arch/arm/mach-omap2/omap-wakeupgen.c *type = fwspec->param[2]; param 519 arch/arm/mach-omap2/omap-wakeupgen.c if (fwspec->param[0] != 0) param 522 arch/arm/mach-omap2/omap-wakeupgen.c hwirq = fwspec->param[1]; param 216 arch/m68k/include/asm/sun3xflop.h static void __init floppy_set_flags(int *ints,int param, int param2); param 24 arch/mips/include/asm/mach-loongson32/nand.h bool ls1x_dma_filter_fn(struct dma_chan *chan, void *param); param 115 arch/mips/kernel/machine_kexec.c static void kexec_shutdown_secondary(void *param) param 91 arch/mips/txx9/generic/spi_eeprom.c struct read_param param = { param 99 arch/mips/txx9/generic/spi_eeprom.c read_param = ¶m; param 72 arch/powerpc/boot/cpm-serial.c static struct cpm_param *param; param 138 arch/powerpc/boot/cpm-serial.c out_8(¶m->rfcr, 0x10); param 139 arch/powerpc/boot/cpm-serial.c out_8(¶m->tfcr, 0x10); param 140 arch/powerpc/boot/cpm-serial.c out_be16(¶m->mrblr, 1); param 141 arch/powerpc/boot/cpm-serial.c out_be16(¶m->maxidl, 0); param 142 arch/powerpc/boot/cpm-serial.c out_be16(¶m->brkec, 0); param 143 arch/powerpc/boot/cpm-serial.c out_be16(¶m->brkln, 0); param 144 arch/powerpc/boot/cpm-serial.c out_be16(¶m->brkcr, 0); param 157 arch/powerpc/boot/cpm-serial.c out_be16(¶m->rbase, cbd_offset); param 158 arch/powerpc/boot/cpm-serial.c out_be16(¶m->tbase, cbd_offset + sizeof(struct cpm_bd)); param 241 arch/powerpc/boot/cpm-serial.c param = vreg[1]; param 276 arch/powerpc/boot/cpm-serial.c u16 *smc_base = (u16 *)param; param 284 arch/powerpc/boot/cpm-serial.c param = muram_addr - muram_offset + pram_offset; param 147 arch/powerpc/include/asm/pmac_feature.h long param, long value) param 151 arch/powerpc/include/asm/pmac_feature.h return ppc_md.feature_call(selector, node, param, value); param 32 arch/powerpc/kvm/e500_emulate.c static int dbell2prio(ulong param) param 34 arch/powerpc/kvm/e500_emulate.c int msg = param & PPC_DBELL_TYPE_MASK; param 53 arch/powerpc/kvm/e500_emulate.c ulong param = vcpu->arch.regs.gpr[rb]; param 54 arch/powerpc/kvm/e500_emulate.c int prio = dbell2prio(param); param 65 arch/powerpc/kvm/e500_emulate.c ulong param = vcpu->arch.regs.gpr[rb]; param 67 arch/powerpc/kvm/e500_emulate.c int pir = param & PPC_DBELL_PIR_MASK; param 76 arch/powerpc/kvm/e500_emulate.c if ((param & PPC_DBELL_MSG_BRDCAST) || (cpir == pir)) { param 239 arch/powerpc/mm/nohash/tlb.c static void do_flush_tlb_mm_ipi(void *param) param 241 arch/powerpc/mm/nohash/tlb.c struct tlb_flush_param *p = param; param 246 arch/powerpc/mm/nohash/tlb.c static void do_flush_tlb_page_ipi(void *param) param 248 arch/powerpc/mm/nohash/tlb.c struct tlb_flush_param *p = param; param 63 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c static irqreturn_t mpc512x_lpbfifo_irq(int irq, void *param) param 65 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c struct device *dev = (struct device *)param; param 115 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c static void mpc512x_lpbfifo_callback(void *param) param 619 arch/powerpc/platforms/cell/spufs/inode.c static int spufs_parse_param(struct fs_context *fc, struct fs_parameter *param) param 628 arch/powerpc/platforms/cell/spufs/inode.c opt = fs_parse(fc, &spufs_fs_parameters, param, &result); param 115 arch/powerpc/platforms/powermac/feature.c typedef long (*feature_call)(struct device_node *node, long param, long value); param 158 arch/powerpc/platforms/powermac/feature.c static long ohare_htw_scc_enable(struct device_node *node, long param, param 185 arch/powerpc/platforms/powermac/feature.c if ((param & 0xfff) == PMAC_SCC_IRDA) param 222 arch/powerpc/platforms/powermac/feature.c if (param & PMAC_SCC_FLAG_XMON) param 244 arch/powerpc/platforms/powermac/feature.c if ((param & 0xfff) == PMAC_SCC_IRDA) param 251 arch/powerpc/platforms/powermac/feature.c static long ohare_floppy_enable(struct device_node *node, long param, param 258 arch/powerpc/platforms/powermac/feature.c static long ohare_mesh_enable(struct device_node *node, long param, long value) param 264 arch/powerpc/platforms/powermac/feature.c static long ohare_ide_enable(struct device_node *node, long param, long value) param 266 arch/powerpc/platforms/powermac/feature.c switch(param) { param 284 arch/powerpc/platforms/powermac/feature.c static long ohare_ide_reset(struct device_node *node, long param, long value) param 286 arch/powerpc/platforms/powermac/feature.c switch(param) { param 298 arch/powerpc/platforms/powermac/feature.c static long ohare_sleep_state(struct device_node *node, long param, long value) param 313 arch/powerpc/platforms/powermac/feature.c static long heathrow_modem_enable(struct device_node *node, long param, param 357 arch/powerpc/platforms/powermac/feature.c static long heathrow_floppy_enable(struct device_node *node, long param, param 366 arch/powerpc/platforms/powermac/feature.c static long heathrow_mesh_enable(struct device_node *node, long param, param 395 arch/powerpc/platforms/powermac/feature.c static long heathrow_ide_enable(struct device_node *node, long param, param 398 arch/powerpc/platforms/powermac/feature.c switch(param) { param 410 arch/powerpc/platforms/powermac/feature.c static long heathrow_ide_reset(struct device_node *node, long param, param 413 arch/powerpc/platforms/powermac/feature.c switch(param) { param 425 arch/powerpc/platforms/powermac/feature.c static long heathrow_bmac_enable(struct device_node *node, long param, param 454 arch/powerpc/platforms/powermac/feature.c static long heathrow_sound_enable(struct device_node *node, long param, param 581 arch/powerpc/platforms/powermac/feature.c static long heathrow_sleep_state(struct device_node *node, long param, param 598 arch/powerpc/platforms/powermac/feature.c static long core99_scc_enable(struct device_node *node, long param, long value) param 629 arch/powerpc/platforms/powermac/feature.c if ((param & 0xfff) == PMAC_SCC_I2S1) param 637 arch/powerpc/platforms/powermac/feature.c if ((param & 0xfff) == PMAC_SCC_IRDA) { param 667 arch/powerpc/platforms/powermac/feature.c if (param & PMAC_SCC_FLAG_XMON) param 679 arch/powerpc/platforms/powermac/feature.c if ((param & 0xfff) == PMAC_SCC_IRDA) { param 699 arch/powerpc/platforms/powermac/feature.c core99_modem_enable(struct device_node *node, long param, long value) param 751 arch/powerpc/platforms/powermac/feature.c pangea_modem_enable(struct device_node *node, long param, long value) param 841 arch/powerpc/platforms/powermac/feature.c core99_ide_enable(struct device_node *node, long param, long value) param 846 arch/powerpc/platforms/powermac/feature.c switch(param) { param 864 arch/powerpc/platforms/powermac/feature.c core99_ide_reset(struct device_node *node, long param, long value) param 866 arch/powerpc/platforms/powermac/feature.c switch(param) { param 882 arch/powerpc/platforms/powermac/feature.c core99_gmac_enable(struct device_node *node, long param, long value) param 899 arch/powerpc/platforms/powermac/feature.c core99_gmac_phy_reset(struct device_node *node, long param, long value) param 924 arch/powerpc/platforms/powermac/feature.c core99_sound_chip_enable(struct device_node *node, long param, long value) param 954 arch/powerpc/platforms/powermac/feature.c core99_airport_enable(struct device_node *node, long param, long value) param 1041 arch/powerpc/platforms/powermac/feature.c core99_reset_cpu(struct device_node *node, long param, long value) param 1061 arch/powerpc/platforms/powermac/feature.c if (param == *num) { param 1067 arch/powerpc/platforms/powermac/feature.c reset_io = dflt_reset_lines[param]; param 1082 arch/powerpc/platforms/powermac/feature.c core99_usb_enable(struct device_node *node, long param, long value) param 1235 arch/powerpc/platforms/powermac/feature.c core99_firewire_enable(struct device_node *node, long param, long value) param 1262 arch/powerpc/platforms/powermac/feature.c core99_firewire_cable_power(struct device_node *node, long param, long value) param 1293 arch/powerpc/platforms/powermac/feature.c intrepid_aack_delay_enable(struct device_node *node, long param, long value) param 1301 arch/powerpc/platforms/powermac/feature.c if (param) param 1314 arch/powerpc/platforms/powermac/feature.c core99_read_gpio(struct device_node *node, long param, long value) param 1318 arch/powerpc/platforms/powermac/feature.c return MACIO_IN8(param); param 1323 arch/powerpc/platforms/powermac/feature.c core99_write_gpio(struct device_node *node, long param, long value) param 1327 arch/powerpc/platforms/powermac/feature.c MACIO_OUT8(param, (u8)(value & 0xff)); param 1332 arch/powerpc/platforms/powermac/feature.c static long g5_gmac_enable(struct device_node *node, long param, long value) param 1357 arch/powerpc/platforms/powermac/feature.c static long g5_fw_enable(struct device_node *node, long param, long value) param 1382 arch/powerpc/platforms/powermac/feature.c static long g5_mpic_enable(struct device_node *node, long param, long value) param 1402 arch/powerpc/platforms/powermac/feature.c static long g5_eth_phy_reset(struct device_node *node, long param, long value) param 1432 arch/powerpc/platforms/powermac/feature.c static long g5_i2s_enable(struct device_node *node, long param, long value) param 1491 arch/powerpc/platforms/powermac/feature.c static long g5_reset_cpu(struct device_node *node, long param, long value) param 1507 arch/powerpc/platforms/powermac/feature.c if (param == *num) { param 1822 arch/powerpc/platforms/powermac/feature.c core99_sleep_state(struct device_node *node, long param, long value) param 1827 arch/powerpc/platforms/powermac/feature.c if (param == 1) { param 1855 arch/powerpc/platforms/powermac/feature.c generic_dev_can_wake(struct device_node *node, long param, long value) param 1866 arch/powerpc/platforms/powermac/feature.c static long generic_get_mb_info(struct device_node *node, long param, long value) param 1868 arch/powerpc/platforms/powermac/feature.c switch(param) { param 2370 arch/powerpc/platforms/powermac/feature.c long param, value; param 2392 arch/powerpc/platforms/powermac/feature.c param = va_arg(args, long); param 2396 arch/powerpc/platforms/powermac/feature.c return func(node, param, value); param 266 arch/powerpc/platforms/powernv/opal-prd.c unsigned long param) param 276 arch/powerpc/platforms/powernv/opal-prd.c rc = copy_to_user((void __user *)param, &info, sizeof(info)); param 282 arch/powerpc/platforms/powernv/opal-prd.c rc = copy_from_user(&scom, (void __user *)param, sizeof(scom)); param 292 arch/powerpc/platforms/powernv/opal-prd.c rc = copy_to_user((void __user *)param, &scom, sizeof(scom)); param 298 arch/powerpc/platforms/powernv/opal-prd.c rc = copy_from_user(&scom, (void __user *)param, sizeof(scom)); param 306 arch/powerpc/platforms/powernv/opal-prd.c rc = copy_to_user((void __user *)param, &scom, sizeof(scom)); param 1023 arch/powerpc/platforms/pseries/lpar.c static unsigned long call_block_remove(unsigned long idx, unsigned long *param, param 1039 arch/powerpc/platforms/pseries/lpar.c param[idx] = HBR_END; param 1042 arch/powerpc/platforms/pseries/lpar.c param[0], /* AVA */ param 1043 arch/powerpc/platforms/pseries/lpar.c param[1], param[2], param[3], param[4], /* TS0-7 */ param 1044 arch/powerpc/platforms/pseries/lpar.c param[5], param[6], param[7], param[8]); param 1055 arch/powerpc/platforms/pseries/lpar.c param[++new_idx] = param[i+1]; param 1085 arch/powerpc/platforms/pseries/lpar.c unsigned long param[PLPAR_HCALL9_BUFSIZE]; param 1103 arch/powerpc/platforms/pseries/lpar.c (void)call_block_remove(pix, param, true); param 1105 arch/powerpc/platforms/pseries/lpar.c param[0] = hpte_encode_avpn(vpn[i], psize, ssize); param 1109 arch/powerpc/platforms/pseries/lpar.c param[pix++] = HBR_REQUEST | HBLKR_AVPN | slot[i]; param 1111 arch/powerpc/platforms/pseries/lpar.c pix = call_block_remove(pix, param, false); param 1125 arch/powerpc/platforms/pseries/lpar.c (void)call_block_remove(pix, param, true); param 1131 arch/powerpc/platforms/pseries/lpar.c unsigned long param[PLPAR_HCALL9_BUFSIZE]; param 1140 arch/powerpc/platforms/pseries/lpar.c param[pix] = HBR_REQUEST | HBR_AVPN | slot[i]; param 1141 arch/powerpc/platforms/pseries/lpar.c param[pix+1] = hpte_encode_avpn(vpn[i], psize, ssize); param 1144 arch/powerpc/platforms/pseries/lpar.c rc = plpar_hcall9(H_BULK_REMOVE, param, param 1145 arch/powerpc/platforms/pseries/lpar.c param[0], param[1], param[2], param 1146 arch/powerpc/platforms/pseries/lpar.c param[3], param[4], param[5], param 1147 arch/powerpc/platforms/pseries/lpar.c param[6], param[7]); param 1154 arch/powerpc/platforms/pseries/lpar.c param[pix] = HBR_END; param 1155 arch/powerpc/platforms/pseries/lpar.c rc = plpar_hcall9(H_BULK_REMOVE, param, param[0], param[1], param 1156 arch/powerpc/platforms/pseries/lpar.c param[2], param[3], param[4], param[5], param 1157 arch/powerpc/platforms/pseries/lpar.c param[6], param[7]); param 1285 arch/powerpc/platforms/pseries/lpar.c unsigned long *param) param 1311 arch/powerpc/platforms/pseries/lpar.c (void)call_block_remove(pix, param, param 1314 arch/powerpc/platforms/pseries/lpar.c param[0] = hpte_encode_avpn(vpn, psize, param 1320 arch/powerpc/platforms/pseries/lpar.c param[pix++] = HBR_REQUEST | HBLKR_AVPN | slot; param 1323 arch/powerpc/platforms/pseries/lpar.c pix = call_block_remove(pix, param, false); param 1339 arch/powerpc/platforms/pseries/lpar.c (void)call_block_remove(pix, param, true); param 1487 arch/powerpc/platforms/pseries/lpar.c unsigned long param[PLPAR_HCALL9_BUFSIZE]; param 1496 arch/powerpc/platforms/pseries/lpar.c do_block_remove(number, batch, param); param 1515 arch/powerpc/platforms/pseries/lpar.c param[pix] = HBR_REQUEST | HBR_AVPN | slot; param 1516 arch/powerpc/platforms/pseries/lpar.c param[pix+1] = hpte_encode_avpn(vpn, psize, param 1520 arch/powerpc/platforms/pseries/lpar.c rc = plpar_hcall9(H_BULK_REMOVE, param, param 1521 arch/powerpc/platforms/pseries/lpar.c param[0], param[1], param[2], param 1522 arch/powerpc/platforms/pseries/lpar.c param[3], param[4], param[5], param 1523 arch/powerpc/platforms/pseries/lpar.c param[6], param[7]); param 1531 arch/powerpc/platforms/pseries/lpar.c param[pix] = HBR_END; param 1532 arch/powerpc/platforms/pseries/lpar.c rc = plpar_hcall9(H_BULK_REMOVE, param, param[0], param[1], param 1533 arch/powerpc/platforms/pseries/lpar.c param[2], param[3], param[4], param[5], param 1534 arch/powerpc/platforms/pseries/lpar.c param[6], param[7]); param 214 arch/s390/boot/ipl_parm.c char *param, *val; param 222 arch/s390/boot/ipl_parm.c args = next_arg(args, ¶m, &val); param 224 arch/s390/boot/ipl_parm.c if (!strcmp(param, "mem") && val) { param 229 arch/s390/boot/ipl_parm.c if (!strcmp(param, "vmalloc") && val) param 232 arch/s390/boot/ipl_parm.c if (!strcmp(param, "noexec")) { param 238 arch/s390/boot/ipl_parm.c if (!strcmp(param, "facilities") && val) param 241 arch/s390/boot/ipl_parm.c if (!strcmp(param, "nokaslr")) param 382 arch/s390/crypto/aes_s390.c } param; param 385 arch/s390/crypto/aes_s390.c memcpy(param.iv, walk->iv, AES_BLOCK_SIZE); param 386 arch/s390/crypto/aes_s390.c memcpy(param.key, sctx->key, sctx->key_len); param 390 arch/s390/crypto/aes_s390.c cpacf_kmc(sctx->fc | modifier, ¶m, param 394 arch/s390/crypto/aes_s390.c memcpy(walk->iv, param.iv, AES_BLOCK_SIZE); param 1012 arch/s390/crypto/aes_s390.c } param; param 1027 arch/s390/crypto/aes_s390.c memset(¶m, 0, sizeof(param)); param 1028 arch/s390/crypto/aes_s390.c param.cv = 1; param 1029 arch/s390/crypto/aes_s390.c param.taadl = aadlen * 8; param 1030 arch/s390/crypto/aes_s390.c param.tpcl = pclen * 8; param 1031 arch/s390/crypto/aes_s390.c memcpy(param.j0, req->iv, ivsize); param 1032 arch/s390/crypto/aes_s390.c *(u32 *)(param.j0 + ivsize) = 1; param 1033 arch/s390/crypto/aes_s390.c memcpy(param.k, ctx->key, ctx->key_len); param 1064 arch/s390/crypto/aes_s390.c cpacf_kma(ctx->fc | flags, ¶m, param 1080 arch/s390/crypto/aes_s390.c if (crypto_memneq(tag, param.t, taglen)) param 1083 arch/s390/crypto/aes_s390.c scatterwalk_map_and_copy(param.t, req->dst, len, taglen, 1); param 1085 arch/s390/crypto/aes_s390.c memzero_explicit(¶m, sizeof(param)); param 109 arch/s390/crypto/des_s390.c } param; param 112 arch/s390/crypto/des_s390.c memcpy(param.iv, walk->iv, DES_BLOCK_SIZE); param 113 arch/s390/crypto/des_s390.c memcpy(param.key, ctx->key, DES3_KEY_SIZE); param 117 arch/s390/crypto/des_s390.c cpacf_kmc(fc, ¶m, walk->dst.virt.addr, param 121 arch/s390/crypto/des_s390.c memcpy(walk->iv, param.iv, DES_BLOCK_SIZE); param 288 arch/s390/crypto/paes_s390.c } param; param 291 arch/s390/crypto/paes_s390.c memcpy(param.iv, walk->iv, AES_BLOCK_SIZE); param 292 arch/s390/crypto/paes_s390.c memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); param 296 arch/s390/crypto/paes_s390.c k = cpacf_kmc(ctx->fc | modifier, ¶m, param 303 arch/s390/crypto/paes_s390.c memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); param 306 arch/s390/crypto/paes_s390.c memcpy(walk->iv, param.iv, AES_BLOCK_SIZE); param 223 arch/s390/hypfs/inode.c static int hypfs_parse_param(struct fs_context *fc, struct fs_parameter *param) param 231 arch/s390/hypfs/inode.c opt = fs_parse(fc, &hypfs_fs_parameters, param, &result); param 249 arch/s390/include/asm/cpacf.h static inline int cpacf_km(unsigned long func, void *param, param 253 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 279 arch/s390/include/asm/cpacf.h static inline int cpacf_kmc(unsigned long func, void *param, param 283 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 306 arch/s390/include/asm/cpacf.h static inline void cpacf_kimd(unsigned long func, void *param, param 310 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 329 arch/s390/include/asm/cpacf.h static inline void cpacf_klmd(unsigned long func, void *param, param 333 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 355 arch/s390/include/asm/cpacf.h static inline int cpacf_kmac(unsigned long func, void *param, param 359 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 385 arch/s390/include/asm/cpacf.h static inline int cpacf_kmctr(unsigned long func, void *param, u8 *dest, param 389 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 416 arch/s390/include/asm/cpacf.h static inline void cpacf_prno(unsigned long func, void *param, param 421 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 467 arch/s390/include/asm/cpacf.h static inline void cpacf_pcc(unsigned long func, void *param) param 470 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 488 arch/s390/include/asm/cpacf.h static inline void cpacf_pckmo(long func, void *param) param 491 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 511 arch/s390/include/asm/cpacf.h static inline void cpacf_kma(unsigned long func, void *param, u8 *dest, param 516 arch/s390/include/asm/cpacf.h register unsigned long r1 asm("1") = (unsigned long) param; param 297 arch/sh/drivers/dma/dma-api.c int dma_extend(unsigned int chan, unsigned long op, void *param) param 303 arch/sh/drivers/dma/dma-api.c return info->ops->extend(channel, op, param); param 60 arch/sh/include/asm/dma.h int (*extend)(struct dma_channel *chan, unsigned long op, void *param); param 134 arch/sh/include/asm/dma.h extern int dma_extend(unsigned int chan, unsigned long op, void *param); param 217 arch/um/drivers/vector_transports.c struct arglist *def, char *param, unsigned int *result) param 219 arch/um/drivers/vector_transports.c char *arg = uml_vector_fetch_arg(def, param); param 229 arch/um/drivers/vector_transports.c struct arglist *def, char *param, unsigned long *result) param 231 arch/um/drivers/vector_transports.c char *arg = uml_vector_fetch_arg(def, param); param 216 arch/x86/boot/compressed/kaslr.c static void parse_gb_huge_pages(char *param, char *val) param 221 arch/x86/boot/compressed/kaslr.c if (!strcmp(param, "hugepagesz")) { param 234 arch/x86/boot/compressed/kaslr.c if (!strcmp(param, "hugepages") && gbpage_sz) { param 247 arch/x86/boot/compressed/kaslr.c char *param, *val; param 266 arch/x86/boot/compressed/kaslr.c args = next_arg(args, ¶m, &val); param 268 arch/x86/boot/compressed/kaslr.c if (!val && strcmp(param, "--") == 0) { param 273 arch/x86/boot/compressed/kaslr.c if (!strcmp(param, "memmap")) { param 275 arch/x86/boot/compressed/kaslr.c } else if (strstr(param, "hugepages")) { param 276 arch/x86/boot/compressed/kaslr.c parse_gb_huge_pages(param, val); param 277 arch/x86/boot/compressed/kaslr.c } else if (!strcmp(param, "mem")) { param 2065 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdt_parse_param(struct fs_context *fc, struct fs_parameter *param) param 2071 arch/x86/kernel/cpu/resctrl/rdtgroup.c opt = fs_parse(fc, &rdt_fs_parameters, param, &result); param 225 arch/x86/kernel/devicetree.c type_index = fwspec->param[1]; param 232 arch/x86/kernel/devicetree.c tmp.ioapic_pin = fwspec->param[0]; param 830 arch/x86/kvm/cpuid.c bool (*qualifier)(const struct kvm_cpuid_param *param); param 833 arch/x86/kvm/cpuid.c static bool is_centaur_cpu(const struct kvm_cpuid_param *param) param 872 arch/x86/kvm/cpuid.c static const struct kvm_cpuid_param param[] = { param 894 arch/x86/kvm/cpuid.c for (i = 0; i < ARRAY_SIZE(param); i++) { param 895 arch/x86/kvm/cpuid.c const struct kvm_cpuid_param *ent = ¶m[i]; param 1559 arch/x86/kvm/hyperv.c static u16 kvm_hvcall_signal_event(struct kvm_vcpu *vcpu, bool fast, u64 param) param 1565 arch/x86/kvm/hyperv.c gpa_t gpa = param; param 1567 arch/x86/kvm/hyperv.c if ((gpa & (__alignof__(param) - 1)) || param 1568 arch/x86/kvm/hyperv.c offset_in_page(gpa) + sizeof(param) > PAGE_SIZE) param 1571 arch/x86/kvm/hyperv.c ret = kvm_vcpu_read_guest(vcpu, gpa, ¶m, sizeof(param)); param 1581 arch/x86/kvm/hyperv.c if (param & 0xffff00000000ULL) param 1584 arch/x86/kvm/hyperv.c if (param & ~KVM_HYPERV_CONN_ID_MASK) param 1589 arch/x86/kvm/hyperv.c eventfd = idr_find(&vcpu->kvm->arch.hyperv.conn_to_evt, param); param 1600 arch/x86/kvm/hyperv.c u64 param, ingpa, outgpa, ret = HV_STATUS_SUCCESS; param 1615 arch/x86/kvm/hyperv.c param = kvm_rcx_read(vcpu); param 1621 arch/x86/kvm/hyperv.c param = ((u64)kvm_rdx_read(vcpu) << 32) | param 1629 arch/x86/kvm/hyperv.c code = param & 0xffff; param 1630 arch/x86/kvm/hyperv.c fast = !!(param & HV_HYPERCALL_FAST_BIT); param 1631 arch/x86/kvm/hyperv.c rep_cnt = (param >> HV_HYPERCALL_REP_COMP_OFFSET) & 0xfff; param 1632 arch/x86/kvm/hyperv.c rep_idx = (param >> HV_HYPERCALL_REP_START_OFFSET) & 0xfff; param 1662 arch/x86/kvm/hyperv.c vcpu->run->hyperv.u.hcall.input = param; param 229 block/cmdline-parser.c void *param) param 249 block/cmdline-parser.c if (add_part(slot, subpart, param)) param 26 block/partitions/cmdline.c static int add_part(int slot, struct cmdline_subpart *subpart, void *param) param 31 block/partitions/cmdline.c struct parsed_partitions *state = (struct parsed_partitions *)param; param 59 crypto/algboss.c struct cryptomgr_param *param = data; param 64 crypto/algboss.c tmpl = crypto_lookup_template(param->template); param 70 crypto/algboss.c err = tmpl->create(tmpl, param->tb); param 74 crypto/algboss.c inst = tmpl->alloc(param->tb); param 84 crypto/algboss.c complete_all(¶m->larval->completion); param 85 crypto/algboss.c crypto_alg_put(¶m->larval->alg); param 86 crypto/algboss.c kfree(param); param 93 crypto/algboss.c struct cryptomgr_param *param; param 102 crypto/algboss.c param = kzalloc(sizeof(*param), GFP_KERNEL); param 103 crypto/algboss.c if (!param) param 113 crypto/algboss.c memcpy(param->template, name, len); param 145 crypto/algboss.c param->attrs[i].alg.attr.rta_len = param 146 crypto/algboss.c sizeof(param->attrs[i].alg); param 147 crypto/algboss.c param->attrs[i].alg.attr.rta_type = CRYPTOA_ALG; param 148 crypto/algboss.c memcpy(param->attrs[i].alg.data.name, name, len); param 150 crypto/algboss.c param->attrs[i].nu32.attr.rta_len = param 151 crypto/algboss.c sizeof(param->attrs[i].nu32); param 152 crypto/algboss.c param->attrs[i].nu32.attr.rta_type = CRYPTOA_U32; param 153 crypto/algboss.c param->attrs[i].nu32.data.num = param 157 crypto/algboss.c param->tb[i + 1] = ¶m->attrs[i].attr; param 173 crypto/algboss.c param->tb[i + 1] = NULL; param 175 crypto/algboss.c param->type.attr.rta_len = sizeof(param->type); param 176 crypto/algboss.c param->type.attr.rta_type = CRYPTOA_TYPE; param 177 crypto/algboss.c param->type.data.type = larval->alg.cra_flags & ~CRYPTO_ALG_TESTED; param 178 crypto/algboss.c param->type.data.mask = larval->mask & ~CRYPTO_ALG_TESTED; param 179 crypto/algboss.c param->tb[0] = ¶m->type.attr; param 181 crypto/algboss.c param->otype = larval->alg.cra_flags; param 182 crypto/algboss.c param->omask = larval->mask; param 185 crypto/algboss.c param->larval = larval; param 187 crypto/algboss.c thread = kthread_run(cryptomgr_probe, param, "cryptomgr_probe"); param 198 crypto/algboss.c kfree(param); param 207 crypto/algboss.c struct crypto_test_param *param = data; param 208 crypto/algboss.c u32 type = param->type; param 218 crypto/algboss.c err = alg_test(param->driver, param->alg, type, CRYPTO_ALG_TESTED); param 221 crypto/algboss.c crypto_alg_tested(param->driver, err); param 223 crypto/algboss.c kfree(param); param 230 crypto/algboss.c struct crypto_test_param *param; param 236 crypto/algboss.c param = kzalloc(sizeof(*param), GFP_KERNEL); param 237 crypto/algboss.c if (!param) param 240 crypto/algboss.c memcpy(param->driver, alg->cra_driver_name, sizeof(param->driver)); param 241 crypto/algboss.c memcpy(param->alg, alg->cra_name, sizeof(param->alg)); param 248 crypto/algboss.c param->type = type; param 250 crypto/algboss.c thread = kthread_run(cryptomgr_test, param, "cryptomgr_test"); param 257 crypto/algboss.c kfree(param); param 27 crypto/async_tx/raid6test.c static void callback(void *param) param 29 crypto/async_tx/raid6test.c struct completion *cmp = param; param 50 crypto/authenc.c struct crypto_authenc_key_param *param; param 63 crypto/authenc.c if (RTA_PAYLOAD(rta) != sizeof(*param)) param 65 crypto/authenc.c BUILD_BUG_ON(sizeof(*param) % RTA_ALIGNTO); param 67 crypto/authenc.c param = RTA_DATA(rta); param 68 crypto/authenc.c keys->enckeylen = be32_to_cpu(param->enckeylen); param 428 crypto/crypto_engine.c struct sched_param param = { .sched_priority = MAX_RT_PRIO / 2 }; param 460 crypto/crypto_engine.c sched_setscheduler(engine->kworker->task, SCHED_FIFO, ¶m); param 146 drivers/accessibility/braille/braille_console.c struct keyboard_notifier_param *param = _param; param 147 drivers/accessibility/braille/braille_console.c struct vc_data *vc = param->vc; param 150 drivers/accessibility/braille/braille_console.c if (!param->down) param 156 drivers/accessibility/braille/braille_console.c if (param->value == BRAILLE_KEY) { param 165 drivers/accessibility/braille/braille_console.c switch (param->value) { param 227 drivers/accessibility/braille/braille_console.c unsigned char type = KTYP(param->value) - 0xf0; param 229 drivers/accessibility/braille/braille_console.c unsigned char val = KVAL(param->value); param 265 drivers/accessibility/braille/braille_console.c struct vt_notifier_param *param = _param; param 266 drivers/accessibility/braille/braille_console.c struct vc_data *vc = param->vc; param 274 drivers/accessibility/braille/braille_console.c unsigned char c = param->c; param 139 drivers/acpi/acpi_pad.c struct sched_param param = {.sched_priority = 1}; param 144 drivers/acpi/acpi_pad.c sched_setscheduler(current, SCHED_RR, ¶m); param 394 drivers/acpi/acpi_pad.c struct acpi_buffer param = { param 407 drivers/acpi/acpi_pad.c acpi_evaluate_ost(handle, ACPI_PROCESSOR_AGGREGATOR_NOTIFY, 0, ¶m); param 62 drivers/acpi/irq.c fwspec.param[0] = gsi; param 63 drivers/acpi/irq.c fwspec.param[1] = acpi_dev_get_irq_type(trigger, polarity); param 155 drivers/acpi/irq.c ctx->fwspec->param[0] = hwirq; param 156 drivers/acpi/irq.c ctx->fwspec->param[1] = acpi_dev_get_irq_type(triggering, polarity); param 107 drivers/ata/libata-core.c struct ata_force_param param; param 329 drivers/ata/libata-core.c if (fe->param.cbl == ATA_CBL_NONE) param 332 drivers/ata/libata-core.c ap->cbl = fe->param.cbl; param 333 drivers/ata/libata-core.c ata_port_notice(ap, "FORCE: cable set to %s\n", fe->param.name); param 373 drivers/ata/libata-core.c if (!did_spd && fe->param.spd_limit) { param 374 drivers/ata/libata-core.c link->hw_sata_spd_limit = (1 << fe->param.spd_limit) - 1; param 376 drivers/ata/libata-core.c fe->param.name); param 381 drivers/ata/libata-core.c if (fe->param.lflags) { param 382 drivers/ata/libata-core.c link->flags |= fe->param.lflags; param 385 drivers/ata/libata-core.c fe->param.lflags, link->flags); param 422 drivers/ata/libata-core.c if (!fe->param.xfer_mask) param 425 drivers/ata/libata-core.c ata_unpack_xfermask(fe->param.xfer_mask, param 439 drivers/ata/libata-core.c fe->param.name); param 475 drivers/ata/libata-core.c if (!(~dev->horkage & fe->param.horkage_on) && param 476 drivers/ata/libata-core.c !(dev->horkage & fe->param.horkage_off)) param 479 drivers/ata/libata-core.c dev->horkage |= fe->param.horkage_on; param 480 drivers/ata/libata-core.c dev->horkage &= ~fe->param.horkage_off; param 483 drivers/ata/libata-core.c fe->param.name); param 7024 drivers/ata/libata-core.c force_ent->param = *match_fp; param 203 drivers/ata/sata_dwc_460ex.c static bool sata_dwc_dma_filter(struct dma_chan *chan, void *param) param 1536 drivers/block/amiflop.c unsigned int cmd, unsigned long param) param 1541 drivers/block/amiflop.c void __user *argp = (void __user *)param; param 1563 drivers/block/amiflop.c if (param < p->type->tracks * p->type->heads) param 1566 drivers/block/amiflop.c if (fd_seek(drive,param) != 0){ param 1611 drivers/block/amiflop.c unsigned int cmd, unsigned long param) param 1616 drivers/block/amiflop.c ret = fd_locked_ioctl(bdev, mode, cmd, param); param 443 drivers/block/ataflop.c cmd, unsigned long param); param 1560 drivers/block/ataflop.c unsigned int cmd, unsigned long param) param 1571 drivers/block/ataflop.c void __user *argp = (void __user *)param; param 6022 drivers/block/drbd/drbd_receiver.c struct sched_param param = { .sched_priority = 2 }; param 6024 drivers/block/drbd/drbd_receiver.c rv = sched_setscheduler(current, SCHED_RR, ¶m); param 2985 drivers/block/floppy.c static inline int fd_copyout(void __user *param, const void *address, param 2988 drivers/block/floppy.c return copy_to_user(param, address, size) ? -EFAULT : 0; param 2991 drivers/block/floppy.c static inline int fd_copyin(void __user *param, void *address, param 2994 drivers/block/floppy.c return copy_from_user(address, param, size) ? -EFAULT : 0; param 3067 drivers/block/floppy.c static int raw_cmd_copyout(int cmd, void __user *param, param 3076 drivers/block/floppy.c ret = copy_to_user(param, &cmd, sizeof(cmd)); param 3079 drivers/block/floppy.c param += sizeof(struct floppy_raw_cmd); param 3115 drivers/block/floppy.c static int raw_cmd_copyin(int cmd, void __user *param, param 3129 drivers/block/floppy.c ret = copy_from_user(ptr, param, sizeof(*ptr)); param 3135 drivers/block/floppy.c param += sizeof(struct floppy_raw_cmd); param 3175 drivers/block/floppy.c static int raw_cmd_ioctl(int cmd, void __user *param) param 3201 drivers/block/floppy.c ret = raw_cmd_copyin(cmd, param, &my_raw_cmd); param 3217 drivers/block/floppy.c ret2 = raw_cmd_copyout(cmd, param, my_raw_cmd); param 3407 drivers/block/floppy.c unsigned long param) param 3451 drivers/block/floppy.c ret = fd_copyin((void __user *)param, &inparam, size); param 3519 drivers/block/floppy.c UDP->max_errors.reporting = (unsigned short)(param & 0x0f); param 3551 drivers/block/floppy.c return user_reset_fdc(drive, (int)param, true); param 3567 drivers/block/floppy.c i = raw_cmd_ioctl(cmd, (void __user *)param); param 3583 drivers/block/floppy.c return fd_copyout((void __user *)param, outparam, size); param 3589 drivers/block/floppy.c unsigned int cmd, unsigned long param) param 3594 drivers/block/floppy.c ret = fd_locked_ioctl(bdev, mode, cmd, param); param 3881 drivers/block/floppy.c unsigned long param) param 3895 drivers/block/floppy.c return fd_ioctl(bdev, mode, cmd, param); param 3903 drivers/block/floppy.c (unsigned long)compat_ptr(param)); param 3906 drivers/block/floppy.c return compat_set_geometry(bdev, mode, cmd, compat_ptr(param)); param 3908 drivers/block/floppy.c return compat_get_prm(drive, compat_ptr(param)); param 3910 drivers/block/floppy.c return compat_setdrvprm(drive, compat_ptr(param)); param 3912 drivers/block/floppy.c return compat_getdrvprm(drive, compat_ptr(param)); param 3914 drivers/block/floppy.c return compat_getdrvstat(drive, true, compat_ptr(param)); param 3916 drivers/block/floppy.c return compat_getdrvstat(drive, false, compat_ptr(param)); param 3918 drivers/block/floppy.c return compat_getfdcstat(drive, compat_ptr(param)); param 3920 drivers/block/floppy.c return compat_werrorget(drive, compat_ptr(param)); param 4335 drivers/block/floppy.c static void __init floppy_set_flags(int *ints, int param, int param2) param 4340 drivers/block/floppy.c if (param) param 4345 drivers/block/floppy.c DPRINT("%s flag 0x%x\n", param2 ? "Setting" : "Clearing", param); param 4348 drivers/block/floppy.c static void __init daring(int *ints, int param, int param2) param 4353 drivers/block/floppy.c if (param) { param 4364 drivers/block/floppy.c DPRINT("Assuming %s floppy hardware\n", param ? "standard" : "broken"); param 4390 drivers/block/floppy.c void (*fn) (int *ints, int param, int param2); param 4428 drivers/block/floppy.c int param; param 4436 drivers/block/floppy.c param = ints[1]; param 4438 drivers/block/floppy.c param = config_params[i].def_param; param 4440 drivers/block/floppy.c config_params[i].fn(ints, param, param 4444 drivers/block/floppy.c DPRINT("%s=%d\n", str, param); param 4445 drivers/block/floppy.c *config_params[i].var = param; param 687 drivers/block/swim.c unsigned int cmd, unsigned long param) param 705 drivers/block/swim.c if (copy_to_user((void __user *) param, (void *) &floppy_type, param 250 drivers/block/swim3.c unsigned int cmd, unsigned long param); param 869 drivers/block/swim3.c unsigned int cmd, unsigned long param) param 888 drivers/block/swim3.c if (copy_to_user((void __user *) param, &floppy_type, param 897 drivers/block/swim3.c unsigned int cmd, unsigned long param) param 902 drivers/block/swim3.c ret = floppy_locked_ioctl(bdev, mode, cmd, param); param 64 drivers/bluetooth/btintel.c static const u8 param[] = { 0x01, 0x00 }; param 67 drivers/bluetooth/btintel.c skb = __hci_cmd_sync(hdev, 0xfc11, 2, param, HCI_CMD_TIMEOUT); param 81 drivers/bluetooth/btintel.c u8 param[] = { 0x00, 0x00 }; param 90 drivers/bluetooth/btintel.c param[1] |= patched ? 0x02 : 0x01; param 92 drivers/bluetooth/btintel.c skb = __hci_cmd_sync(hdev, 0xfc11, 2, param, HCI_CMD_TIMEOUT); param 125 drivers/bluetooth/btintel.c u8 param[3]; param 129 drivers/bluetooth/btintel.c param[0] = 0x03; param 130 drivers/bluetooth/btintel.c param[1] = 0x03; param 131 drivers/bluetooth/btintel.c param[2] = 0x03; param 133 drivers/bluetooth/btintel.c param[0] = 0x00; param 134 drivers/bluetooth/btintel.c param[1] = 0x00; param 135 drivers/bluetooth/btintel.c param[2] = 0x00; param 138 drivers/bluetooth/btintel.c skb = __hci_cmd_sync(hdev, 0xfc43, 3, param, HCI_INIT_TIMEOUT); param 230 drivers/bluetooth/btintel.c const void *param) param 237 drivers/bluetooth/btintel.c memcpy(cmd_param + 1, param, fragment_len); param 247 drivers/bluetooth/btintel.c param += fragment_len; param 77 drivers/bluetooth/btintel.h const void *param); param 132 drivers/bluetooth/btintel.h u32 plen, const void *param) param 176 drivers/bluetooth/btmrvl_main.c const void *param, u8 len) param 197 drivers/bluetooth/btmrvl_main.c skb_put_data(skb, param, len); param 265 drivers/bluetooth/btmrvl_main.c u8 param[2]; param 267 drivers/bluetooth/btmrvl_main.c param[0] = (priv->btmrvl_dev.gpio_gap & 0xff00) >> 8; param 268 drivers/bluetooth/btmrvl_main.c param[1] = (u8) (priv->btmrvl_dev.gpio_gap & 0x00ff); param 271 drivers/bluetooth/btmrvl_main.c param[0], param[1]); param 273 drivers/bluetooth/btmrvl_main.c ret = btmrvl_send_sync_cmd(priv, BT_CMD_HOST_SLEEP_CONFIG, param, 2); param 284 drivers/bluetooth/btmrvl_main.c u8 param; param 287 drivers/bluetooth/btmrvl_main.c param = BT_PS_ENABLE; param 289 drivers/bluetooth/btmrvl_main.c param = BT_PS_DISABLE; param 291 drivers/bluetooth/btmrvl_main.c ret = btmrvl_send_sync_cmd(priv, BT_CMD_AUTO_SLEEP_MODE, ¶m, 1); param 662 drivers/bluetooth/btmtksdio.c u8 param = 0; param 667 drivers/bluetooth/btmtksdio.c wmt_params.dlen = sizeof(param); param 668 drivers/bluetooth/btmtksdio.c wmt_params.data = ¶m; param 765 drivers/bluetooth/btmtksdio.c u8 param = 0x1; param 813 drivers/bluetooth/btmtksdio.c wmt_params.dlen = sizeof(param); param 814 drivers/bluetooth/btmtksdio.c wmt_params.data = ¶m; param 870 drivers/bluetooth/btmtksdio.c u8 param = 0x0; param 881 drivers/bluetooth/btmtksdio.c wmt_params.dlen = sizeof(param); param 882 drivers/bluetooth/btmtksdio.c wmt_params.data = ¶m; param 644 drivers/bluetooth/btmtkuart.c u8 param = 0; param 649 drivers/bluetooth/btmtkuart.c wmt_params.dlen = sizeof(param); param 650 drivers/bluetooth/btmtkuart.c wmt_params.data = ¶m; param 667 drivers/bluetooth/btmtkuart.c u8 param; param 697 drivers/bluetooth/btmtkuart.c param = 0xff; param 698 drivers/bluetooth/btmtkuart.c err = serdev_device_write(bdev->serdev, ¶m, sizeof(param), param 700 drivers/bluetooth/btmtkuart.c if (err < 0 || err < sizeof(param)) param 736 drivers/bluetooth/btmtkuart.c u8 param = 0x1; param 806 drivers/bluetooth/btmtkuart.c wmt_params.dlen = sizeof(param); param 807 drivers/bluetooth/btmtkuart.c wmt_params.data = ¶m; param 845 drivers/bluetooth/btmtkuart.c u8 param = 0x0; param 851 drivers/bluetooth/btmtkuart.c wmt_params.dlen = sizeof(param); param 852 drivers/bluetooth/btmtkuart.c wmt_params.data = ¶m; param 2869 drivers/bluetooth/btusb.c u8 param = 0; param 2874 drivers/bluetooth/btusb.c wmt_params.dlen = sizeof(param); param 2875 drivers/bluetooth/btusb.c wmt_params.data = ¶m; param 2928 drivers/bluetooth/btusb.c u8 param; param 2992 drivers/bluetooth/btusb.c param = 1; param 2995 drivers/bluetooth/btusb.c wmt_params.dlen = sizeof(param); param 2996 drivers/bluetooth/btusb.c wmt_params.data = ¶m; param 3034 drivers/bluetooth/btusb.c u8 param = 0; param 3040 drivers/bluetooth/btusb.c wmt_params.dlen = sizeof(param); param 3041 drivers/bluetooth/btusb.c wmt_params.data = ¶m; param 145 drivers/bluetooth/hci_bcm.c struct bcm_update_uart_baud_rate param; param 170 drivers/bluetooth/hci_bcm.c param.zero = cpu_to_le16(0); param 171 drivers/bluetooth/hci_bcm.c param.baud_rate = cpu_to_le32(speed); param 176 drivers/bluetooth/hci_bcm.c skb = __hci_cmd_sync(hdev, 0xfc18, sizeof(param), ¶m, param 80 drivers/char/hw_random/optee-rng.c struct tee_param param[4]; param 83 drivers/char/hw_random/optee-rng.c memset(¶m, 0, sizeof(param)); param 91 drivers/char/hw_random/optee-rng.c param[0].attr = TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INOUT; param 92 drivers/char/hw_random/optee-rng.c param[0].u.memref.shm = pvt_data->entropy_shm_pool; param 93 drivers/char/hw_random/optee-rng.c param[0].u.memref.size = req_size; param 94 drivers/char/hw_random/optee-rng.c param[0].u.memref.shm_offs = 0; param 96 drivers/char/hw_random/optee-rng.c ret = tee_client_invoke_func(pvt_data->ctx, &inv_arg, param); param 109 drivers/char/hw_random/optee-rng.c rng_size = param[0].u.memref.size; param 180 drivers/char/hw_random/optee-rng.c struct tee_param param[4]; param 183 drivers/char/hw_random/optee-rng.c memset(¶m, 0, sizeof(param)); param 191 drivers/char/hw_random/optee-rng.c param[0].attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_OUTPUT; param 193 drivers/char/hw_random/optee-rng.c ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); param 200 drivers/char/hw_random/optee-rng.c pvt_data.data_rate = param[0].u.value.a; param 201 drivers/char/hw_random/optee-rng.c pvt_data.optee_rng.quality = param[0].u.value.b; param 316 drivers/char/ipmi/bt-bmc.c unsigned long param) param 439 drivers/clk/clk-xgene.c struct xgene_dev_parameters param; param 453 drivers/clk/clk-xgene.c if (pclk->param.csr_reg) { param 456 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + param 457 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); param 458 drivers/clk/clk-xgene.c data |= pclk->param.reg_clk_mask; param 459 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.csr_reg + param 460 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); param 463 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset, pclk->param.reg_clk_mask, param 467 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + param 468 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset); param 469 drivers/clk/clk-xgene.c data &= ~pclk->param.reg_csr_mask; param 470 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.csr_reg + param 471 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset); param 474 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset, pclk->param.reg_csr_mask, param 493 drivers/clk/clk-xgene.c if (pclk->param.csr_reg) { param 496 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + param 497 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset); param 498 drivers/clk/clk-xgene.c data |= pclk->param.reg_csr_mask; param 499 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.csr_reg + param 500 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset); param 503 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + param 504 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); param 505 drivers/clk/clk-xgene.c data &= ~pclk->param.reg_clk_mask; param 506 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.csr_reg + param 507 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); param 519 drivers/clk/clk-xgene.c if (pclk->param.csr_reg) { param 521 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + param 522 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); param 524 drivers/clk/clk-xgene.c data & pclk->param.reg_clk_mask ? "enabled" : param 528 drivers/clk/clk-xgene.c if (!pclk->param.csr_reg) param 530 drivers/clk/clk-xgene.c return data & pclk->param.reg_clk_mask ? 1 : 0; param 539 drivers/clk/clk-xgene.c if (pclk->param.divider_reg) { param 540 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.divider_reg + param 541 drivers/clk/clk-xgene.c pclk->param.reg_divider_offset); param 542 drivers/clk/clk-xgene.c data >>= pclk->param.reg_divider_shift; param 543 drivers/clk/clk-xgene.c data &= (1 << pclk->param.reg_divider_width) - 1; param 569 drivers/clk/clk-xgene.c if (pclk->param.divider_reg) { param 574 drivers/clk/clk-xgene.c divider &= (1 << pclk->param.reg_divider_width) - 1; param 575 drivers/clk/clk-xgene.c divider <<= pclk->param.reg_divider_shift; param 578 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.divider_reg + param 579 drivers/clk/clk-xgene.c pclk->param.reg_divider_offset); param 580 drivers/clk/clk-xgene.c data &= ~(((1 << pclk->param.reg_divider_width) - 1) param 581 drivers/clk/clk-xgene.c << pclk->param.reg_divider_shift); param 583 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.divider_reg + param 584 drivers/clk/clk-xgene.c pclk->param.reg_divider_offset); param 604 drivers/clk/clk-xgene.c if (pclk->param.divider_reg) { param 647 drivers/clk/clk-xgene.c apmclk->param = *parameters; param 1735 drivers/clk/tegra/clk-dfll.c static bool read_dt_param(struct tegra_dfll *td, const char *param, u32 *dest) param 1737 drivers/clk/tegra/clk-dfll.c int err = of_property_read_u32(td->dev->of_node, param, dest); param 1741 drivers/clk/tegra/clk-dfll.c param, err); param 31 drivers/crypto/cavium/nitrox/nitrox_aead.c u16 param; param 154 drivers/crypto/cavium/nitrox/nitrox_aead.c creq->gph.param3 = cpu_to_be16(param3.param); param 1492 drivers/crypto/chelsio/chcr_algo.c struct hash_wr_param *param) param 1508 drivers/crypto/chelsio/chcr_algo.c transhdr_len = HASH_TRANSHDR_SIZE(param->kctx_len); param 1509 drivers/crypto/chelsio/chcr_algo.c req_ctx->hctx_wr.imm = (transhdr_len + param->bfr_len + param 1510 drivers/crypto/chelsio/chcr_algo.c param->sg_len) <= SGE_MAX_WR_LEN; param 1511 drivers/crypto/chelsio/chcr_algo.c nents = sg_nents_xlen(req_ctx->hctx_wr.srcsg, param->sg_len, param 1513 drivers/crypto/chelsio/chcr_algo.c nents += param->bfr_len ? 1 : 0; param 1514 drivers/crypto/chelsio/chcr_algo.c transhdr_len += req_ctx->hctx_wr.imm ? roundup(param->bfr_len + param 1515 drivers/crypto/chelsio/chcr_algo.c param->sg_len, 16) : (sgl_len(nents) * 8); param 1525 drivers/crypto/chelsio/chcr_algo.c chcr_req->sec_cpl.pldlen = htonl(param->bfr_len + param->sg_len); param 1532 drivers/crypto/chelsio/chcr_algo.c FILL_SEC_CPL_SCMD0_SEQNO(0, 0, 0, param->alg_prm.auth_mode, param 1533 drivers/crypto/chelsio/chcr_algo.c param->opad_needed, 0); param 1536 drivers/crypto/chelsio/chcr_algo.c FILL_SEC_CPL_IVGEN_HDRLEN(param->last, param->more, 0, 1, 0, 0); param 1539 drivers/crypto/chelsio/chcr_algo.c param->alg_prm.result_size); param 1541 drivers/crypto/chelsio/chcr_algo.c if (param->opad_needed) param 1543 drivers/crypto/chelsio/chcr_algo.c ((param->alg_prm.result_size <= 32) ? 32 : param 1545 drivers/crypto/chelsio/chcr_algo.c hmacctx->opad, param->alg_prm.result_size); param 1548 drivers/crypto/chelsio/chcr_algo.c param->alg_prm.mk_size, 0, param 1549 drivers/crypto/chelsio/chcr_algo.c param->opad_needed, param 1550 drivers/crypto/chelsio/chcr_algo.c ((param->kctx_len + param 1552 drivers/crypto/chelsio/chcr_algo.c chcr_req->sec_cpl.scmd1 = cpu_to_be64((u64)param->scmd1); param 1553 drivers/crypto/chelsio/chcr_algo.c ulptx = (struct ulptx_sgl *)((u8 *)(chcr_req + 1) + param->kctx_len + param 1555 drivers/crypto/chelsio/chcr_algo.c if (param->bfr_len != 0) { param 1558 drivers/crypto/chelsio/chcr_algo.c param->bfr_len, DMA_TO_DEVICE); param 1564 drivers/crypto/chelsio/chcr_algo.c req_ctx->hctx_wr.dma_len = param->bfr_len; param 1568 drivers/crypto/chelsio/chcr_algo.c chcr_add_hash_src_ent(req, ulptx, param); param 1570 drivers/crypto/chelsio/chcr_algo.c temp = param->kctx_len + DUMMY_BYTES + (req_ctx->hctx_wr.imm ? param 1571 drivers/crypto/chelsio/chcr_algo.c (param->sg_len + param->bfr_len) : 0); param 1574 drivers/crypto/chelsio/chcr_algo.c param->hash_size, transhdr_len, param 2623 drivers/crypto/chelsio/chcr_algo.c struct hash_wr_param *param) param 2631 drivers/crypto/chelsio/chcr_algo.c if (param->bfr_len) { param 2632 drivers/crypto/chelsio/chcr_algo.c memcpy(buf, reqctx->reqbfr, param->bfr_len); param 2633 drivers/crypto/chelsio/chcr_algo.c buf += param->bfr_len; param 2638 drivers/crypto/chelsio/chcr_algo.c param->sg_len, 0); param 2641 drivers/crypto/chelsio/chcr_algo.c if (param->bfr_len) param 2642 drivers/crypto/chelsio/chcr_algo.c ulptx_walk_add_page(&ulp_walk, param->bfr_len, param 2645 drivers/crypto/chelsio/chcr_algo.c param->sg_len, reqctx->hctx_wr.src_ofst); param 3416 drivers/crypto/chelsio/chcr_algo.c struct algo_param param; param 3435 drivers/crypto/chelsio/chcr_algo.c if (get_alg_config(¶m, max_authsize)) { param 3484 drivers/crypto/chelsio/chcr_algo.c o_ptr = actx->h_iopad + param.result_size + align; param 3517 drivers/crypto/chelsio/chcr_algo.c chcr_change_order(actx->h_iopad, param.result_size); param 3518 drivers/crypto/chelsio/chcr_algo.c chcr_change_order(o_ptr, param.result_size); param 3521 drivers/crypto/chelsio/chcr_algo.c (param.result_size + align) * 2; param 3522 drivers/crypto/chelsio/chcr_algo.c aeadctx->key_ctx_hdr = FILL_KEY_CTX_HDR(ck_size, param.mk_size, param 3524 drivers/crypto/chelsio/chcr_algo.c actx->auth_mode = param.auth_mode; param 335 drivers/crypto/chelsio/chcr_crypto.h struct hash_wr_param *param); param 574 drivers/crypto/omap-sham.c static void omap_sham_dma_callback(void *param) param 576 drivers/crypto/omap-sham.c struct omap_sham_dev *dd = param; param 192 drivers/crypto/stm32/stm32-hash.c static void stm32_hash_dma_callback(void *param); param 467 drivers/crypto/stm32/stm32-hash.c static void stm32_hash_dma_callback(void *param) param 469 drivers/crypto/stm32/stm32-hash.c struct stm32_hash_dev *hdev = param; param 191 drivers/crypto/ux500/cryp/cryp_core.c static irqreturn_t cryp_interrupt_handler(int irq, void *param) param 197 drivers/crypto/ux500/cryp/cryp_core.c if (param == NULL) { param 198 drivers/crypto/ux500/cryp/cryp_core.c BUG_ON(!param); param 203 drivers/crypto/ux500/cryp/cryp_core.c device_data = (struct cryp_device_data *)param; param 35 drivers/dma-buf/selftest.c #define selftest(n, func) selftest_0(n, func, param(n)) param 199 drivers/dma/coh901318.c const struct coh901318_params param; param 279 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 283 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 297 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 311 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 330 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 334 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 348 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 362 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 382 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 386 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 400 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 414 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 433 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 437 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 451 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 465 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 499 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 503 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 517 drivers/dma/coh901318.c .param.ctrl_lli = 0, param 518 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 537 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 541 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 555 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 569 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 588 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 592 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 606 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 620 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 639 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 643 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 657 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 671 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 690 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 694 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 708 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 722 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 751 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 755 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 763 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 771 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 800 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 804 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 812 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 820 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 833 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 837 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 845 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 853 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 876 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 880 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 894 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 908 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 927 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 931 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 945 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 959 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 978 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 982 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 996 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 1010 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 1029 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 1033 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 1047 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 1061 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 1095 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 1099 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 1107 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 1115 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 1128 drivers/dma/coh901318.c .param.config = COH901318_CX_CFG_CH_DISABLE | param 1132 drivers/dma/coh901318.c .param.ctrl_lli_chained = 0 | param 1140 drivers/dma/coh901318.c .param.ctrl_lli = 0 | param 1148 drivers/dma/coh901318.c .param.ctrl_lli_last = 0 | param 1163 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1164 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1165 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1166 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1173 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1174 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1175 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1176 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1183 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1184 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1185 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1186 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1193 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1194 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1195 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1196 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1203 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1204 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1205 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1206 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1213 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1214 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1215 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1216 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1223 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1224 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1225 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1226 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1233 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1234 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1235 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1236 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1243 drivers/dma/coh901318.c .param.config = flags_memcpy_config, param 1244 drivers/dma/coh901318.c .param.ctrl_lli_chained = flags_memcpy_lli_chained, param 1245 drivers/dma/coh901318.c .param.ctrl_lli = flags_memcpy_lli, param 1246 drivers/dma/coh901318.c .param.ctrl_lli_last = flags_memcpy_lli_last, param 1411 drivers/dma/coh901318.c return &chan_config[cohc->id].param; param 1801 drivers/dma/coh901318.c struct coh901318_params *param) param 1807 drivers/dma/coh901318.c if (param) param 1808 drivers/dma/coh901318.c p = param; param 776 drivers/dma/dma-jz4780.c static bool jz4780_dma_filter_fn(struct dma_chan *chan, void *param) param 780 drivers/dma/dma-jz4780.c struct jz4780_dma_filter_data *data = param; param 725 drivers/dma/dmaengine.c chan = find_candidate(d, &mask, d->filter.fn, map->param); param 1034 drivers/dma/dmatest.c static bool filter(struct dma_chan *chan, void *param) param 1036 drivers/dma/dmatest.c struct dmatest_params *params = param; param 9 drivers/dma/dw/acpi.c static bool dw_dma_acpi_filter(struct dma_chan *chan, void *param) param 11 drivers/dma/dw/acpi.c struct acpi_dma_spec *dma_spec = param; param 772 drivers/dma/dw/core.c bool dw_dma_filter(struct dma_chan *chan, void *param) param 775 drivers/dma/dw/core.c struct dw_dma_slave *dws = param; param 24 drivers/dma/dw/internal.h extern bool dw_dma_filter(struct dma_chan *chan, void *param); param 1024 drivers/dma/imx-dma.c static bool imxdma_filter_fn(struct dma_chan *chan, void *param) param 1026 drivers/dma/imx-dma.c struct imxdma_filter_data *fdata = param; param 1392 drivers/dma/imx-sdma.c int i = 0, param; param 1421 drivers/dma/imx-sdma.c param = BD_DONE | BD_EXTD | BD_CONT; param 1424 drivers/dma/imx-sdma.c param |= BD_INTR; param 1425 drivers/dma/imx-sdma.c param |= BD_LAST; param 1426 drivers/dma/imx-sdma.c param &= ~BD_CONT; param 1431 drivers/dma/imx-sdma.c param & BD_WRAP ? "wrap" : "", param 1432 drivers/dma/imx-sdma.c param & BD_INTR ? " intr" : ""); param 1434 drivers/dma/imx-sdma.c bd->mode.status = param; param 1463 drivers/dma/imx-sdma.c int param; param 1499 drivers/dma/imx-sdma.c param = BD_DONE | BD_EXTD | BD_CONT; param 1502 drivers/dma/imx-sdma.c param |= BD_INTR; param 1503 drivers/dma/imx-sdma.c param |= BD_LAST; param 1504 drivers/dma/imx-sdma.c param &= ~BD_CONT; param 1509 drivers/dma/imx-sdma.c param & BD_WRAP ? "wrap" : "", param 1510 drivers/dma/imx-sdma.c param & BD_INTR ? " intr" : ""); param 1512 drivers/dma/imx-sdma.c bd->mode.status = param; param 1556 drivers/dma/imx-sdma.c int param; param 1569 drivers/dma/imx-sdma.c param = BD_DONE | BD_EXTD | BD_CONT | BD_INTR; param 1571 drivers/dma/imx-sdma.c param |= BD_WRAP; param 1575 drivers/dma/imx-sdma.c param & BD_WRAP ? "wrap" : "", param 1576 drivers/dma/imx-sdma.c param & BD_INTR ? " intr" : ""); param 1578 drivers/dma/imx-sdma.c bd->mode.status = param; param 297 drivers/dma/mcf-edma.c bool mcf_edma_filter_fn(struct dma_chan *chan, void *param) param 302 drivers/dma/mcf-edma.c return (mcf_chan->slave_id == (uintptr_t)param); param 1149 drivers/dma/mmp_pdma.c bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param) param 1156 drivers/dma/mmp_pdma.c c->drcmr = *(unsigned int *)param; param 593 drivers/dma/mmp_tdma.c struct mmp_tdma_filter_param *param = fn_param; param 595 drivers/dma/mmp_tdma.c if (chan->chan_id != param->chan_id) param 606 drivers/dma/mmp_tdma.c struct mmp_tdma_filter_param param; param 611 drivers/dma/mmp_tdma.c param.chan_id = dma_spec->args[0]; param 613 drivers/dma/mmp_tdma.c if (param.chan_id >= TDMA_CHANNEL_NUM) param 616 drivers/dma/mmp_tdma.c return __dma_request_channel(&mask, mmp_tdma_filter_fn, ¶m, param 727 drivers/dma/mxs-dma.c struct mxs_dma_filter_param *param = fn_param; param 732 drivers/dma/mxs-dma.c if (chan->chan_id != param->chan_id) param 735 drivers/dma/mxs-dma.c chan_irq = platform_get_irq(mxs_dma->pdev, param->chan_id); param 749 drivers/dma/mxs-dma.c struct mxs_dma_filter_param param; param 754 drivers/dma/mxs-dma.c param.chan_id = dma_spec->args[0]; param 756 drivers/dma/mxs-dma.c if (param.chan_id >= mxs_dma->nr_channels) param 759 drivers/dma/mxs-dma.c return __dma_request_channel(&mask, mxs_dma_filter_fn, ¶m, param 178 drivers/dma/pxa_dma.c static bool pxad_filter_fn(struct dma_chan *chan, void *param); param 1454 drivers/dma/pxa_dma.c static bool pxad_filter_fn(struct dma_chan *chan, void *param) param 1457 drivers/dma/pxa_dma.c struct pxad_param *p = param; param 1413 drivers/dma/s3c24xx-dma.c bool s3c24xx_dma_filter(struct dma_chan *chan, void *param) param 1422 drivers/dma/s3c24xx-dma.c return s3cchan->id == (uintptr_t)param; param 827 drivers/dma/sa11x0-dma.c static bool sa11x0_dma_filter_fn(struct dma_chan *chan, void *param) param 830 drivers/dma/sa11x0-dma.c const char *p = param; param 216 drivers/dma/sprd-dma.c static bool sprd_dma_filter_fn(struct dma_chan *chan, void *param); param 1069 drivers/dma/sprd-dma.c static bool sprd_dma_filter_fn(struct dma_chan *chan, void *param) param 1072 drivers/dma/sprd-dma.c u32 slave_id = *(u32 *)param; param 946 drivers/dma/ti/cppi41.c static bool cpp41_dma_filter_fn(struct dma_chan *chan, void *param) param 951 drivers/dma/ti/cppi41.c u32 *num = param; param 175 drivers/dma/ti/edma.c struct edmacc_param param; param 465 drivers/dma/ti/edma.c const struct edmacc_param *param) param 470 drivers/dma/ti/edma.c memcpy_toio(ecc->base + PARM_OFFSET(slot), param, PARM_SIZE); param 474 drivers/dma/ti/edma.c struct edmacc_param *param) param 479 drivers/dma/ti/edma.c memcpy_fromio(param, ecc->base + PARM_OFFSET(slot), PARM_SIZE); param 789 drivers/dma/ti/edma.c edma_write_slot(ecc, echan->slot[i], &edesc->pset[j].param); param 804 drivers/dma/ti/edma.c edesc->pset[j].param.opt, param 805 drivers/dma/ti/edma.c edesc->pset[j].param.src, param 806 drivers/dma/ti/edma.c edesc->pset[j].param.dst, param 807 drivers/dma/ti/edma.c edesc->pset[j].param.a_b_cnt, param 808 drivers/dma/ti/edma.c edesc->pset[j].param.ccnt, param 809 drivers/dma/ti/edma.c edesc->pset[j].param.src_dst_bidx, param 810 drivers/dma/ti/edma.c edesc->pset[j].param.src_dst_cidx, param 811 drivers/dma/ti/edma.c edesc->pset[j].param.link_bcntrld); param 947 drivers/dma/ti/edma.c struct edmacc_param *param = &epset->param; param 1030 drivers/dma/ti/edma.c param->opt = EDMA_TCC(EDMA_CHAN_SLOT(echan->ch_num)); param 1033 drivers/dma/ti/edma.c param->opt |= SYNCDIM; param 1035 drivers/dma/ti/edma.c param->src = src_addr; param 1036 drivers/dma/ti/edma.c param->dst = dst_addr; param 1038 drivers/dma/ti/edma.c param->src_dst_bidx = (dst_bidx << 16) | src_bidx; param 1039 drivers/dma/ti/edma.c param->src_dst_cidx = (dst_cidx << 16) | src_cidx; param 1041 drivers/dma/ti/edma.c param->a_b_cnt = bcnt << 16 | acnt; param 1042 drivers/dma/ti/edma.c param->ccnt = ccnt; param 1049 drivers/dma/ti/edma.c param->link_bcntrld = 0xffffffff; param 1134 drivers/dma/ti/edma.c edesc->pset[i].param.opt |= TCINTEN; param 1142 drivers/dma/ti/edma.c edesc->pset[i].param.opt |= (TCINTEN | TCCMODE); param 1223 drivers/dma/ti/edma.c edesc->pset[0].param.opt |= ITCCHEN; param 1227 drivers/dma/ti/edma.c edesc->pset[0].param.opt |= TCINTEN; param 1230 drivers/dma/ti/edma.c edesc->pset[0].param.opt |= TCCHEN; param 1253 drivers/dma/ti/edma.c edesc->pset[1].param.opt |= ITCCHEN; param 1256 drivers/dma/ti/edma.c edesc->pset[1].param.opt |= TCINTEN; param 1392 drivers/dma/ti/edma.c edesc->pset[i].param.opt, param 1393 drivers/dma/ti/edma.c edesc->pset[i].param.src, param 1394 drivers/dma/ti/edma.c edesc->pset[i].param.dst, param 1395 drivers/dma/ti/edma.c edesc->pset[i].param.a_b_cnt, param 1396 drivers/dma/ti/edma.c edesc->pset[i].param.ccnt, param 1397 drivers/dma/ti/edma.c edesc->pset[i].param.src_dst_bidx, param 1398 drivers/dma/ti/edma.c edesc->pset[i].param.src_dst_cidx, param 1399 drivers/dma/ti/edma.c edesc->pset[i].param.link_bcntrld); param 1407 drivers/dma/ti/edma.c edesc->pset[i].param.opt |= TCINTEN; param 1411 drivers/dma/ti/edma.c edesc->pset[i].param.opt |= ITCINTEN; param 2246 drivers/dma/ti/edma.c static bool edma_filter_fn(struct dma_chan *chan, void *param); param 2590 drivers/dma/ti/edma.c static bool edma_filter_fn(struct dma_chan *chan, void *param) param 2596 drivers/dma/ti/edma.c unsigned ch_req = *(unsigned *)param; param 206 drivers/dma/ti/omap-dma.c static bool omap_dma_filter_fn(struct dma_chan *chan, void *param); param 1659 drivers/dma/ti/omap-dma.c static bool omap_dma_filter_fn(struct dma_chan *chan, void *param) param 1664 drivers/dma/ti/omap-dma.c unsigned req = *(unsigned *)param; param 801 drivers/edac/i7core_edac.c #define DECLARE_ADDR_MATCH(param, limit) \ param 802 drivers/edac/i7core_edac.c static ssize_t i7core_inject_store_##param( \ param 826 drivers/edac/i7core_edac.c pvt->inject.param = value; \ param 831 drivers/edac/i7core_edac.c static ssize_t i7core_inject_show_##param( \ param 841 drivers/edac/i7core_edac.c if (pvt->inject.param < 0) \ param 844 drivers/edac/i7core_edac.c return sprintf(data, "%d\n", pvt->inject.param);\ param 847 drivers/edac/i7core_edac.c #define ATTR_ADDR_MATCH(param) \ param 848 drivers/edac/i7core_edac.c static DEVICE_ATTR(param, S_IRUGO | S_IWUSR, \ param 849 drivers/edac/i7core_edac.c i7core_inject_show_##param, \ param 850 drivers/edac/i7core_edac.c i7core_inject_store_##param) param 1037 drivers/edac/i7core_edac.c #define DECLARE_COUNTER(param) \ param 1038 drivers/edac/i7core_edac.c static ssize_t i7core_show_counter_##param( \ param 1050 drivers/edac/i7core_edac.c pvt->udimm_ce_count[param]); \ param 1053 drivers/edac/i7core_edac.c #define ATTR_COUNTER(param) \ param 1054 drivers/edac/i7core_edac.c static DEVICE_ATTR(udimm##param, S_IRUGO | S_IWUSR, \ param 1055 drivers/edac/i7core_edac.c i7core_show_counter_##param, \ param 285 drivers/extcon/extcon-axp288.c unsigned long event, void *param) param 313 drivers/firmware/google/gsmi.c struct gsmi_nvram_var_param param = { param 329 drivers/firmware/google/gsmi.c memcpy(¶m.guid, vendor, sizeof(param.guid)); param 340 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.param_buf->start, ¶m, sizeof(param)); param 351 drivers/firmware/google/gsmi.c memcpy(¶m, gsmi_dev.param_buf->start, sizeof(param)); param 356 drivers/firmware/google/gsmi.c *data_size = min_t(unsigned long, *data_size, param.data_len); param 376 drivers/firmware/google/gsmi.c struct gsmi_get_next_var_param param = { param 395 drivers/firmware/google/gsmi.c memcpy(¶m.guid, vendor, sizeof(param.guid)); param 402 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.param_buf->start, ¶m, sizeof(param)); param 413 drivers/firmware/google/gsmi.c memcpy(¶m, gsmi_dev.param_buf->start, sizeof(param)); param 420 drivers/firmware/google/gsmi.c memcpy(vendor, ¶m.guid, sizeof(param.guid)); param 435 drivers/firmware/google/gsmi.c struct gsmi_nvram_var_param param = { param 454 drivers/firmware/google/gsmi.c memcpy(¶m.guid, vendor, sizeof(param.guid)); param 466 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.param_buf->start, ¶m, sizeof(param)); param 491 drivers/firmware/google/gsmi.c struct gsmi_set_eventlog_param param = { param 500 drivers/firmware/google/gsmi.c param.type = *(u32 *)buf; param 506 drivers/firmware/google/gsmi.c param.data_len = count - sizeof(u32); param 512 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.data_buf->start, buf, param.data_len); param 516 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.param_buf->start, ¶m, sizeof(param)); param 543 drivers/firmware/google/gsmi.c } param; param 557 drivers/firmware/google/gsmi.c param.percentage = val; param 558 drivers/firmware/google/gsmi.c param.data_type = 0; param 564 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.param_buf->start, ¶m, sizeof(param)); param 618 drivers/firmware/google/gsmi.c struct gsmi_set_eventlog_param param = { param 639 drivers/firmware/google/gsmi.c param.data_ptr = gsmi_dev.data_buf->address; param 641 drivers/firmware/google/gsmi.c memcpy(gsmi_dev.param_buf->start, ¶m, sizeof(param)); param 962 drivers/gpio/gpio-aspeed.c unsigned long param = pinconf_to_config_param(config); param 965 drivers/gpio/gpio-aspeed.c if (param == PIN_CONFIG_INPUT_DEBOUNCE) param 967 drivers/gpio/gpio-aspeed.c else if (param == PIN_CONFIG_BIAS_DISABLE || param 968 drivers/gpio/gpio-aspeed.c param == PIN_CONFIG_BIAS_PULL_DOWN || param 969 drivers/gpio/gpio-aspeed.c param == PIN_CONFIG_DRIVE_STRENGTH) param 971 drivers/gpio/gpio-aspeed.c else if (param == PIN_CONFIG_DRIVE_OPEN_DRAIN || param 972 drivers/gpio/gpio-aspeed.c param == PIN_CONFIG_DRIVE_OPEN_SOURCE) param 975 drivers/gpio/gpio-aspeed.c else if (param == PIN_CONFIG_PERSIST_STATE) param 226 drivers/gpio/gpio-eic-sprd.c unsigned long param = pinconf_to_config_param(config); param 229 drivers/gpio/gpio-eic-sprd.c if (param == PIN_CONFIG_INPUT_DEBOUNCE) param 356 drivers/gpio/gpio-f7188x.c enum pin_config_param param = pinconf_to_config_param(config); param 361 drivers/gpio/gpio-f7188x.c if (param != PIN_CONFIG_DRIVE_OPEN_DRAIN && param 362 drivers/gpio/gpio-f7188x.c param != PIN_CONFIG_DRIVE_PUSH_PULL) param 371 drivers/gpio/gpio-f7188x.c if (param == PIN_CONFIG_DRIVE_OPEN_DRAIN) param 161 drivers/gpio/gpio-ftgpio010.c enum pin_config_param param = pinconf_to_config_param(config); param 168 drivers/gpio/gpio-ftgpio010.c if (param != PIN_CONFIG_INPUT_DEBOUNCE) param 175 drivers/gpio/gpio-lpc18xx.c hwirq = fwspec->param[0]; param 185 drivers/gpio/gpio-lpc18xx.c parent_fwspec.param[0] = hwirq + 32; param 190 drivers/gpio/gpio-lpc18xx.c parent_fwspec.param[0], ret); param 89 drivers/gpio/gpio-menz127.c enum pin_config_param param) param 97 drivers/gpio/gpio-menz127.c if (param == PIN_CONFIG_DRIVE_OPEN_DRAIN) param 112 drivers/gpio/gpio-menz127.c enum pin_config_param param = pinconf_to_config_param(config); param 114 drivers/gpio/gpio-menz127.c switch (param) { param 117 drivers/gpio/gpio-menz127.c return men_z127_set_single_ended(gc, offset, param); param 141 drivers/gpio/gpio-pmic-eic-sprd.c unsigned long param = pinconf_to_config_param(config); param 144 drivers/gpio/gpio-pmic-eic-sprd.c if (param == PIN_CONFIG_INPUT_DEBOUNCE) param 238 drivers/gpio/gpio-sch311x.c enum pin_config_param param = pinconf_to_config_param(config); param 241 drivers/gpio/gpio-sch311x.c switch (param) { param 421 drivers/gpio/gpio-thunderx.c if (fwspec->param[0] >= txgpio->chip.ngpio) param 423 drivers/gpio/gpio-thunderx.c *hwirq = fwspec->param[0]; param 424 drivers/gpio/gpio-thunderx.c *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; param 143 drivers/gpio/gpio-tps65218.c enum pin_config_param param = pinconf_to_config_param(config); param 149 drivers/gpio/gpio-tps65218.c if (param == PIN_CONFIG_DRIVE_OPEN_DRAIN) param 154 drivers/gpio/gpio-tps65218.c if (param == PIN_CONFIG_DRIVE_OPEN_DRAIN) param 159 drivers/gpio/gpio-tps65218.c if (param == PIN_CONFIG_DRIVE_PUSH_PULL) param 174 drivers/gpio/gpio-uniphier.c fwspec.param[0] = offset - UNIPHIER_GPIO_IRQ_OFFSET; param 179 drivers/gpio/gpio-uniphier.c fwspec.param[1] = IRQ_TYPE_LEVEL_HIGH; param 256 drivers/gpio/gpio-uniphier.c *out_hwirq = fwspec->param[0]; param 257 drivers/gpio/gpio-uniphier.c *out_type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; param 286 drivers/gpio/gpio-uniphier.c parent_fwspec.param[0] = ret; param 287 drivers/gpio/gpio-uniphier.c parent_fwspec.param[1] = (type == IRQ_TYPE_EDGE_BOTH) ? param 176 drivers/gpio/gpio-vx855.c enum pin_config_param param = pinconf_to_config_param(config); param 184 drivers/gpio/gpio-vx855.c if (param != PIN_CONFIG_DRIVE_PUSH_PULL) param 190 drivers/gpio/gpio-vx855.c if (param != PIN_CONFIG_DRIVE_OPEN_DRAIN) param 124 drivers/gpio/gpio-xgene-sb.c fwspec.param[0] = GPIO_TO_HWIRQ(priv, gpio); param 125 drivers/gpio/gpio-xgene-sb.c fwspec.param[1] = IRQ_TYPE_NONE; param 169 drivers/gpio/gpio-xgene-sb.c (fwspec->param[0] >= priv->nirq)) param 171 drivers/gpio/gpio-xgene-sb.c *hwirq = fwspec->param[0]; param 172 drivers/gpio/gpio-xgene-sb.c *type = fwspec->param[1]; param 186 drivers/gpio/gpio-xgene-sb.c hwirq = fwspec->param[0]; param 194 drivers/gpio/gpio-xgene-sb.c parent_fwspec.param[0] = 0;/* SPI */ param 196 drivers/gpio/gpio-xgene-sb.c parent_fwspec.param[1] = hwirq + priv->parent_irq_base - 32; param 197 drivers/gpio/gpio-xgene-sb.c parent_fwspec.param[2] = fwspec->param[1]; param 200 drivers/gpio/gpio-xgene-sb.c parent_fwspec.param[0] = hwirq + priv->parent_irq_base; param 201 drivers/gpio/gpio-xgene-sb.c parent_fwspec.param[1] = fwspec->param[1]; param 1819 drivers/gpio/gpiolib.c fwspec.param[0] = girq->child_offset_to_irq(gc, i); param 1821 drivers/gpio/gpiolib.c fwspec.param[1] = IRQ_TYPE_EDGE_RISING; param 2003 drivers/gpio/gpiolib.c fwspec->param[0] = parent_hwirq; param 2004 drivers/gpio/gpiolib.c fwspec->param[1] = parent_type; param 2014 drivers/gpio/gpiolib.c fwspec->param[0] = 0; param 2015 drivers/gpio/gpiolib.c fwspec->param[1] = parent_hwirq; param 2016 drivers/gpio/gpiolib.c fwspec->param[2] = 0; param 2017 drivers/gpio/gpiolib.c fwspec->param[3] = parent_type; param 2158 drivers/gpio/gpiolib.c spec.param[0] = chip->irq.child_offset_to_irq(chip, offset); param 2159 drivers/gpio/gpiolib.c spec.param[1] = IRQ_TYPE_NONE; param 296 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c static int amdgpu_amdkfd_validate(void *param, struct amdgpu_bo *bo) param 298 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct amdgpu_vm_parser *p = param; param 314 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct amdgpu_vm_parser param; param 317 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c param.domain = AMDGPU_GEM_DOMAIN_VRAM; param 318 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c param.wait = false; param 321 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ¶m); param 327 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ret = amdgpu_amdkfd_validate(¶m, pd); param 513 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c static int amdgpu_cs_validate(void *param, struct amdgpu_bo *bo) param 515 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_cs_parser *p = param; param 647 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c void *param) param 657 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c r = validate(param, bo); param 358 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h void *param); param 1459 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static void handle_hpd_irq(void *param) param 1461 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_dm_connector *aconnector = (struct amdgpu_dm_connector *)param; param 1582 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static void handle_hpd_rx_irq(void *param) param 1584 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_dm_connector *aconnector = (struct amdgpu_dm_connector *)param; param 158 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c long param[2]; param 188 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c r = kstrtol(sub_str, 16, ¶m[param_index]); param 198 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c switch (param[0]) { param 208 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c switch (param[1]) { param 230 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c prefer_link_settings.lane_count = param[0]; param 231 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c prefer_link_settings.link_rate = param[1]; param 333 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c long param[3]; param 364 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c r = kstrtol(sub_str, 16, ¶m[param_index]); param 374 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c if ((param[0] > VOLTAGE_SWING_MAX_LEVEL) || param 375 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c (param[1] > PRE_EMPHASIS_MAX_LEVEL) || param 376 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c (param[2] > POST_CURSOR2_MAX_LEVEL)) { param 408 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c (enum dc_voltage_swing) (param[0]); param 410 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c (enum dc_pre_emphasis) (param[1]); param 412 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c (enum dc_post_cursor2) (param[2]); param 494 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c long param[11] = {0x0}; param 569 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c r = kstrtol(sub_str, 16, ¶m[param_index]); param 577 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c test_pattern = param[0]; param 613 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c if ((uint8_t) param[i + 1] != 0x0) param 620 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c custom_pattern[i] = (uint8_t) param[i + 1]; param 202 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.phyid = cmd->phy_id_to_atom(cntl->transmitter); param 203 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.action = (uint8_t)cntl->action; param 206 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.mode_laneset.dplaneset = (uint8_t)cntl->lane_settings; param 208 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.mode_laneset.digmode = param 211 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.lanenum = (uint8_t)cntl->lanes_number; param 212 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.hpdsel = cmd->hpd_sel_to_atom(cntl->hpd_sel); param 213 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.digfe_sel = cmd->dig_encoder_sel_to_atom(cntl->engine_id); param 214 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.connobj_id = (uint8_t)cntl->connector_obj_id.id; param 215 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.symclk_10khz = cntl->pixel_clock/10; param 222 drivers/gpu/drm/amd/display/dc/bios/command_table2.c __func__, ps.param.symclk_10khz); param 600 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.disp_pipe_id = atom_crtc_id; param 604 drivers/gpu/drm/amd/display/dc/bios/command_table2.c ps.param.enable = param 607 drivers/gpu/drm/amd/display/dc/bios/command_table2.c if (EXEC_BIOS_CMD_TABLE(enabledisppowergating, ps.param)) param 657 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.param.dceclksrc = atom_pll_id; param 658 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.param.dceclktype = atom_clock_type; param 662 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.param.dceclkflag |= param 666 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.param.dceclkflag |= param 670 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.param.dceclkflag |= param 674 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.param.dceclkflag |= param 681 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.param.dceclk_10khz = cpu_to_le32( param 691 drivers/gpu/drm/amd/display/dc/bios/command_table2.c params.param.dceclk_10khz) * 10; param 71 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c int rv1_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int msg_id, unsigned int param) param 77 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c REG_WRITE(MP1_SMN_C2PMSG_83, param); param 56 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c int rn_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int msg_id, unsigned int param) param 62 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c REG_WRITE(MP1_SMN_C2PMSG_83, param); param 347 drivers/gpu/drm/amd/display/dc/core/dc.c struct crc_params param; param 360 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowa_x_start = 0; param 361 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowa_y_start = 0; param 362 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowa_x_end = pipe->stream->timing.h_addressable; param 363 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowa_y_end = pipe->stream->timing.v_addressable; param 364 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowb_x_start = 0; param 365 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowb_y_start = 0; param 366 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowb_x_end = pipe->stream->timing.h_addressable; param 367 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowb_y_end = pipe->stream->timing.v_addressable; param 370 drivers/gpu/drm/amd/display/dc/core/dc.c param.selection = UNION_WINDOW_A_B; param 371 drivers/gpu/drm/amd/display/dc/core/dc.c param.continuous_mode = continuous; param 372 drivers/gpu/drm/amd/display/dc/core/dc.c param.enable = enable; param 378 drivers/gpu/drm/amd/display/dc/core/dc.c return tg->funcs->configure_crc(tg, ¶m); param 46 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c const struct dc_cursor_mi_param *param) param 1158 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c const struct encoder_set_dp_phy_pattern_param *param) param 1162 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c switch (param->dp_phy_pattern) { param 1186 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110, param->custom_pattern); param 1199 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110, param->dp_panel_mode); param 246 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h const struct encoder_set_dp_phy_pattern_param *param); param 970 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c const struct encoder_unblank_param *param) param 974 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c if (param->link_settings.link_rate != LINK_RATE_UNKNOWN) { param 984 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c m_vid_l *= param->timing.pix_clk_100hz / 10; param 986 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c param->link_settings.link_rate param 2688 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c struct dc_cursor_mi_param param = { param 2706 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c ipp->funcs->ipp_cursor_set_position(ipp, &pos_cpy, ¶m); param 2708 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c mi->funcs->set_cursor_position(mi, &pos_cpy, ¶m); param 451 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c const struct dc_cursor_mi_param *param, param 456 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; param 457 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c int src_y_offset = pos->y - pos->y_hotspot - param->viewport.y; param 461 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (param->rotation == ROTATION_ANGLE_90 || param->rotation == ROTATION_ANGLE_270) { param 463 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (param->rotation == ROTATION_ANGLE_90) { param 464 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; param 465 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c src_y_offset = pos->y - pos->x_hotspot - param->viewport.y; param 467 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c } else if (param->rotation == ROTATION_ANGLE_180) { param 468 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c src_x_offset = pos->x - param->viewport.x; param 469 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c src_y_offset = pos->y - param->viewport.y; param 473 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (src_x_offset >= (int)param->viewport.width) param 479 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (src_y_offset >= (int)param->viewport.height) param 1376 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h const struct dc_cursor_mi_param *param, param 1126 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c const struct dc_cursor_mi_param *param) param 1129 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; param 1130 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c int src_y_offset = pos->y - pos->y_hotspot - param->viewport.y; param 1146 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (param->rotation == ROTATION_ANGLE_90 || param->rotation == ROTATION_ANGLE_270) { param 1147 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c src_x_offset = pos->y - pos->y_hotspot - param->viewport.x; param 1152 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (param->mirror) { param 1153 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c x_hotspot = param->viewport.width - x_hotspot; param 1154 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; param 1158 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c dst_x_offset *= param->ref_clk_khz; param 1159 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c dst_x_offset /= param->pixel_clk_khz; param 1161 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c ASSERT(param->h_scale_ratio.value); param 1163 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (param->h_scale_ratio.value) param 1166 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c param->h_scale_ratio)); param 1168 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (src_x_offset >= (int)param->viewport.width) param 1174 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (src_y_offset >= (int)param->viewport.height) param 719 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h const struct dc_cursor_mi_param *param); param 2959 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c struct dc_cursor_mi_param param = { param 2983 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (param.rotation == ROTATION_ANGLE_90) { param 2990 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c else if (param.rotation == ROTATION_ANGLE_270) { param 3001 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c else if (param.rotation == ROTATION_ANGLE_180) { param 3016 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c hubp->funcs->set_cursor_position(hubp, &pos_cpy, ¶m); param 3017 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c dpp->funcs->set_cursor_position(dpp, &pos_cpy, ¶m, hubp->curs_attr.width, hubp->curs_attr.height); param 1124 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c const struct encoder_set_dp_phy_pattern_param *param) param 1128 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c switch (param->dp_phy_pattern) { param 1152 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10, param->custom_pattern); param 1165 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10, param->dp_panel_mode); param 486 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h const struct encoder_set_dp_phy_pattern_param *param); param 930 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c const struct encoder_unblank_param *param) param 934 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c if (param->link_settings.link_rate != LINK_RATE_UNKNOWN) { param 941 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c if (param->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { param 949 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c m_vid_l *= param->timing.pix_clk_100hz / 10; param 951 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c param->link_settings.link_rate param 563 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h const struct encoder_unblank_param *param); param 941 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c const struct dc_cursor_mi_param *param) param 944 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; param 945 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c int src_y_offset = pos->y - pos->y_hotspot - param->viewport.y; param 964 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c if (param->rotation == ROTATION_ANGLE_90 || param->rotation == ROTATION_ANGLE_270) { param 966 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c if (param->rotation == ROTATION_ANGLE_90) { param 967 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; param 968 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c src_y_offset = pos->y - pos->x_hotspot - param->viewport.y; param 970 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c } else if (param->rotation == ROTATION_ANGLE_180) { param 971 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c src_x_offset = pos->x - param->viewport.x; param 972 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c src_y_offset = pos->y - param->viewport.y; param 975 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c if (param->mirror) { param 976 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c x_hotspot = param->viewport.width - x_hotspot; param 977 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; param 981 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c dst_x_offset *= param->ref_clk_khz; param 982 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c dst_x_offset /= param->pixel_clk_khz; param 984 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c ASSERT(param->h_scale_ratio.value); param 986 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c if (param->h_scale_ratio.value) param 989 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c param->h_scale_ratio)); param 991 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c if (src_x_offset >= (int)param->viewport.width) param 997 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c if (src_y_offset >= (int)param->viewport.height) param 324 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h const struct dc_cursor_mi_param *param); param 452 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c const struct encoder_unblank_param *param) param 456 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c if (param->link_settings.link_rate != LINK_RATE_UNKNOWN) { param 463 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c if (is_two_pixels_per_containter(¶m->timing) || param->opp_cnt > 1) { param 471 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c m_vid_l *= param->timing.pix_clk_100hz / 10; param 473 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c param->link_settings.link_rate param 105 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.h const struct encoder_unblank_param *param); param 209 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h const struct dc_cursor_mi_param *param, param 130 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h const struct dc_cursor_mi_param *param); param 73 drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h const struct dc_cursor_mi_param *param); param 176 drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h const struct dc_cursor_mi_param *param); param 174 drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h const struct encoder_unblank_param *param); param 70 drivers/gpu/drm/amd/display/dc/virtual/virtual_link_encoder.c const struct encoder_set_dp_phy_pattern_param *param) {} param 74 drivers/gpu/drm/amd/display/dc/virtual/virtual_stream_encoder.c const struct encoder_unblank_param *param) {} param 1003 drivers/gpu/drm/amd/include/atomfirmware.h uint32_t param; param 1008 drivers/gpu/drm/amd/include/atomfirmware.h uint16_t param[3]; param 2342 drivers/gpu/drm/amd/include/atomfirmware.h struct asic_init_parameters_v2_1 param; param 2761 drivers/gpu/drm/amd/include/atomfirmware.h struct set_dce_clock_parameters_v2_1 param; param 2806 drivers/gpu/drm/amd/include/atomfirmware.h struct enable_disp_power_gating_parameters_v2_1 param; param 3014 drivers/gpu/drm/amd/include/atomfirmware.h struct dig_transmitter_control_parameters_v1_6 param; param 163 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c uint32_t param; param 176 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (max & 0xffff)); param 178 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param); param 184 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (min & 0xffff)); param 186 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param); param 199 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c uint32_t param; param 212 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (max & 0xffff)); param 214 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param); param 220 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (min & 0xffff)); param 222 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param); param 278 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c uint32_t param; param 290 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)(((clk_id & 0xffff) << 16) | (level & 0xffff)); param 293 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param); param 297 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_read_smc_arg(smu, ¶m); param 303 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c *value = param & 0x7fffffff; param 1388 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c struct pp_atom_ctrl__avfs_parameters *param) param 1392 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c if (param == NULL) param 1402 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFS_meanNsigma_Acontant0 = le32_to_cpu(profile->ulAVFS_meanNsigma_Acontant0); param 1403 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFS_meanNsigma_Acontant1 = le32_to_cpu(profile->ulAVFS_meanNsigma_Acontant1); param 1404 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFS_meanNsigma_Acontant2 = le32_to_cpu(profile->ulAVFS_meanNsigma_Acontant2); param 1405 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFS_meanNsigma_DC_tol_sigma = le16_to_cpu(profile->usAVFS_meanNsigma_DC_tol_sigma); param 1406 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFS_meanNsigma_Platform_mean = le16_to_cpu(profile->usAVFS_meanNsigma_Platform_mean); param 1407 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFS_meanNsigma_Platform_sigma = le16_to_cpu(profile->usAVFS_meanNsigma_Platform_sigma); param 1408 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSOFF_a0 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSOFF_a0); param 1409 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSOFF_a1 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSOFF_a1); param 1410 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSOFF_a2 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSOFF_a2); param 1411 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSON_a0 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSON_a0); param 1412 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSON_a1 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSON_a1); param 1413 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulGB_VDROOP_TABLE_CKSON_a2 = le32_to_cpu(profile->ulGB_VDROOP_TABLE_CKSON_a2); param 1414 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFSGB_FUSE_TABLE_CKSOFF_m1 = le32_to_cpu(profile->ulAVFSGB_FUSE_TABLE_CKSOFF_m1); param 1415 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFSGB_FUSE_TABLE_CKSOFF_m2 = le16_to_cpu(profile->usAVFSGB_FUSE_TABLE_CKSOFF_m2); param 1416 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFSGB_FUSE_TABLE_CKSOFF_b = le32_to_cpu(profile->ulAVFSGB_FUSE_TABLE_CKSOFF_b); param 1417 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFSGB_FUSE_TABLE_CKSON_m1 = le32_to_cpu(profile->ulAVFSGB_FUSE_TABLE_CKSON_m1); param 1418 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usAVFSGB_FUSE_TABLE_CKSON_m2 = le16_to_cpu(profile->usAVFSGB_FUSE_TABLE_CKSON_m2); param 1419 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ulAVFSGB_FUSE_TABLE_CKSON_b = le32_to_cpu(profile->ulAVFSGB_FUSE_TABLE_CKSON_b); param 1420 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usMaxVoltage_0_25mv = le16_to_cpu(profile->usMaxVoltage_0_25mv); param 1421 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableGB_VDROOP_TABLE_CKSOFF = profile->ucEnableGB_VDROOP_TABLE_CKSOFF; param 1422 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableGB_VDROOP_TABLE_CKSON = profile->ucEnableGB_VDROOP_TABLE_CKSON; param 1423 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableGB_FUSE_TABLE_CKSOFF = profile->ucEnableGB_FUSE_TABLE_CKSOFF; param 1424 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableGB_FUSE_TABLE_CKSON = profile->ucEnableGB_FUSE_TABLE_CKSON; param 1425 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->usPSM_Age_ComFactor = le16_to_cpu(profile->usPSM_Age_ComFactor); param 1426 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c param->ucEnableApplyAVFS_CKS_OFF_Voltage = profile->ucEnableApplyAVFS_CKS_OFF_Voltage; param 322 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h extern int atomctrl_get_avfs_information(struct pp_hwmgr *hwmgr, struct pp_atom_ctrl__avfs_parameters *param); param 277 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c struct pp_atomfwctrl_avfs_parameters *param) param 297 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMaxVddc = le32_to_cpu(profile->maxvddc); param 298 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMinVddc = le32_to_cpu(profile->minvddc); param 299 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMeanNsigmaAcontant0 = param 301 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMeanNsigmaAcontant1 = param 303 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMeanNsigmaAcontant2 = param 305 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->usMeanNsigmaDcTolSigma = param 307 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->usMeanNsigmaPlatformMean = param 309 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->usMeanNsigmaPlatformSigma = param 311 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksoffA0 = param 313 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksoffA1 = param 315 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksoffA2 = param 317 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksonA0 = param 319 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksonA1 = param 321 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksonA2 = param 323 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksoffM1 = param 325 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksoffM2 = param 327 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksoffB = param 329 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksonM1 = param 331 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksonM2 = param 333 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksonB = param 336 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucEnableGbVdroopTableCkson = param 338 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucEnableGbFuseTableCkson = param 340 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->usPsmAgeComfactor = param 343 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDispclk2GfxclkM1 = param 345 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDispclk2GfxclkM2 = param 347 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDispclk2GfxclkB = param 349 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDcefclk2GfxclkM1 = param 351 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDcefclk2GfxclkM2 = param 353 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDcefclk2GfxclkB = param 355 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPixelclk2GfxclkM1 = param 357 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPixelclk2GfxclkM2 = param 359 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPixelclk2GfxclkB = param 361 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPhyclk2GfxclkM1 = param 363 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPhyclk2GfxclkM2 = param 365 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPhyclk2GfxclkB = param 367 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbVdroopTableA0 = 0; param 368 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbVdroopTableA1 = 0; param 369 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbVdroopTableA2 = 0; param 370 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbFuseTableM1 = 0; param 371 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbFuseTableM2 = 0; param 372 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbFuseTableB = 0; param 373 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucAcgEnableGbVdroopTable = 0; param 374 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucAcgEnableGbFuseTable = 0; param 377 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMaxVddc = le32_to_cpu(profile_v4_2->maxvddc); param 378 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMinVddc = le32_to_cpu(profile_v4_2->minvddc); param 379 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMeanNsigmaAcontant0 = param 381 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMeanNsigmaAcontant1 = param 383 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulMeanNsigmaAcontant2 = param 385 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->usMeanNsigmaDcTolSigma = param 387 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->usMeanNsigmaPlatformMean = param 389 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->usMeanNsigmaPlatformSigma = param 391 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksoffA0 = param 393 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksoffA1 = param 395 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksoffA2 = param 397 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksonA0 = param 399 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksonA1 = param 401 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbVdroopTableCksonA2 = param 403 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksoffM1 = param 405 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksoffM2 = param 407 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksoffB = param 409 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksonM1 = param 411 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksonM2 = param 413 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulGbFuseTableCksonB = param 416 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucEnableGbVdroopTableCkson = param 418 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucEnableGbFuseTableCkson = param 420 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->usPsmAgeComfactor = param 423 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDispclk2GfxclkM1 = param 425 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDispclk2GfxclkM2 = param 427 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDispclk2GfxclkB = param 429 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDcefclk2GfxclkM1 = param 431 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDcefclk2GfxclkM2 = param 433 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulDcefclk2GfxclkB = param 435 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPixelclk2GfxclkM1 = param 437 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPixelclk2GfxclkM2 = param 439 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPixelclk2GfxclkB = param 441 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPhyclk2GfxclkM1 = param 443 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPhyclk2GfxclkM2 = param 445 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulPhyclk2GfxclkB = param 447 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbVdroopTableA0 = le32_to_cpu(profile_v4_2->acg_gb_vdroop_table_a0); param 448 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbVdroopTableA1 = le32_to_cpu(profile_v4_2->acg_gb_vdroop_table_a1); param 449 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbVdroopTableA2 = le32_to_cpu(profile_v4_2->acg_gb_vdroop_table_a2); param 450 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbFuseTableM1 = le32_to_cpu(profile_v4_2->acg_avfsgb_fuse_table_m1); param 451 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbFuseTableM2 = le32_to_cpu(profile_v4_2->acg_avfsgb_fuse_table_m2); param 452 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ulAcgGbFuseTableB = le32_to_cpu(profile_v4_2->acg_avfsgb_fuse_table_b); param 453 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucAcgEnableGbVdroopTable = le32_to_cpu(profile_v4_2->enable_acg_gb_vdroop_table); param 454 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucAcgEnableGbFuseTable = le32_to_cpu(profile_v4_2->enable_acg_gb_fuse_table); param 464 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c struct pp_atomfwctrl_gpio_parameters *param) param 479 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucAcDcGpio = info->ac_dc_gpio_bit; param 480 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucAcDcPolarity = info->ac_dc_polarity; param 481 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucVR0HotGpio = info->vr0hot_gpio_bit; param 482 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucVR0HotPolarity = info->vr0hot_polarity; param 483 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucVR1HotGpio = info->vr1hot_gpio_bit; param 484 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucVR1HotPolarity = info->vr1hot_polarity; param 485 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucFwCtfGpio = info->fw_ctf_gpio_bit; param 486 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ucFwCtfPolarity = info->fw_ctf_polarity; param 621 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c struct pp_atomfwctrl_smc_dpm_parameters *param) param 635 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->liquid1_i2c_address = info->liquid1_i2c_address; param 636 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->liquid2_i2c_address = info->liquid2_i2c_address; param 637 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vr_i2c_address = info->vr_i2c_address; param 638 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->plx_i2c_address = info->plx_i2c_address; param 640 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->liquid_i2c_linescl = info->liquid_i2c_linescl; param 641 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->liquid_i2c_linesda = info->liquid_i2c_linesda; param 642 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vr_i2c_linescl = info->vr_i2c_linescl; param 643 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vr_i2c_linesda = info->vr_i2c_linesda; param 645 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->plx_i2c_linescl = info->plx_i2c_linescl; param 646 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->plx_i2c_linesda = info->plx_i2c_linesda; param 647 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vrsensorpresent = info->vrsensorpresent; param 648 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->liquidsensorpresent = info->liquidsensorpresent; param 650 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->maxvoltagestepgfx = info->maxvoltagestepgfx; param 651 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->maxvoltagestepsoc = info->maxvoltagestepsoc; param 653 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vddgfxvrmapping = info->vddgfxvrmapping; param 654 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vddsocvrmapping = info->vddsocvrmapping; param 655 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vddmem0vrmapping = info->vddmem0vrmapping; param 656 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vddmem1vrmapping = info->vddmem1vrmapping; param 658 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->gfxulvphasesheddingmask = info->gfxulvphasesheddingmask; param 659 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->soculvphasesheddingmask = info->soculvphasesheddingmask; param 661 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->gfxmaxcurrent = info->gfxmaxcurrent; param 662 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->gfxoffset = info->gfxoffset; param 663 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->padding_telemetrygfx = info->padding_telemetrygfx; param 665 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->socmaxcurrent = info->socmaxcurrent; param 666 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->socoffset = info->socoffset; param 667 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->padding_telemetrysoc = info->padding_telemetrysoc; param 669 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->mem0maxcurrent = info->mem0maxcurrent; param 670 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->mem0offset = info->mem0offset; param 671 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->padding_telemetrymem0 = info->padding_telemetrymem0; param 673 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->mem1maxcurrent = info->mem1maxcurrent; param 674 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->mem1offset = info->mem1offset; param 675 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->padding_telemetrymem1 = info->padding_telemetrymem1; param 677 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->acdcgpio = info->acdcgpio; param 678 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->acdcpolarity = info->acdcpolarity; param 679 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vr0hotgpio = info->vr0hotgpio; param 680 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vr0hotpolarity = info->vr0hotpolarity; param 682 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vr1hotgpio = info->vr1hotgpio; param 683 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->vr1hotpolarity = info->vr1hotpolarity; param 684 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->padding1 = info->padding1; param 685 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->padding2 = info->padding2; param 687 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ledpin0 = info->ledpin0; param 688 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ledpin1 = info->ledpin1; param 689 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->ledpin2 = info->ledpin2; param 691 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->pllgfxclkspreadenabled = info->pllgfxclkspreadenabled; param 692 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->pllgfxclkspreadpercent = info->pllgfxclkspreadpercent; param 693 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->pllgfxclkspreadfreq = info->pllgfxclkspreadfreq; param 695 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->uclkspreadenabled = info->uclkspreadenabled; param 696 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->uclkspreadpercent = info->uclkspreadpercent; param 697 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->uclkspreadfreq = info->uclkspreadfreq; param 699 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->socclkspreadenabled = info->socclkspreadenabled; param 700 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->socclkspreadpercent = info->socclkspreadpercent; param 701 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->socclkspreadfreq = info->socclkspreadfreq; param 703 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->acggfxclkspreadenabled = info->acggfxclkspreadenabled; param 704 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->acggfxclkspreadpercent = info->acggfxclkspreadpercent; param 705 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->acggfxclkspreadfreq = info->acggfxclkspreadfreq; param 707 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c param->Vr2_I2C_address = info->Vr2_I2C_address; param 231 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h struct pp_atomfwctrl_avfs_parameters *param); param 233 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h struct pp_atomfwctrl_gpio_parameters *param); param 238 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h struct pp_atomfwctrl_smc_dpm_parameters *param); param 493 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*send_smc_msg_with_param)(struct smu_context *smu, uint16_t msg, uint32_t param); param 604 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_send_smc_msg_with_param(smu, msg, param) \ param 605 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->funcs->send_smc_msg_with_param? (smu)->funcs->send_smc_msg_with_param((smu), (msg), (param)) : 0) param 660 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_set_power_profile_mode(smu, param, param_size) \ param 661 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->ppt_funcs->set_power_profile_mode ? (smu)->ppt_funcs->set_power_profile_mode((smu), (param), (param_size)) : 0) param 751 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_get_dpm_ultimate_freq(smu, param, min, max) \ param 752 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->funcs->get_dpm_ultimate_freq ? (smu)->funcs->get_dpm_ultimate_freq((smu), (param), (min), (max)) : 0) param 118 drivers/gpu/drm/amd/powerplay/smu_v11_0.c uint32_t param) param 131 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_get_message_name(smu, msg), index, param, ret); param 135 drivers/gpu/drm/amd/powerplay/smu_v11_0.c WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_82, param); param 142 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_get_message_name(smu, msg), index, param, ret); param 1729 drivers/gpu/drm/amd/powerplay/smu_v11_0.c uint32_t param = 0; param 1737 drivers/gpu/drm/amd/powerplay/smu_v11_0.c param = (clk_id & 0xffff) << 16; param 1740 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = smu_send_smc_msg_with_param(smu, SMU_MSG_GetMaxDpmFreq, param); param 1749 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = smu_send_smc_msg_with_param(smu, SMU_MSG_GetMinDpmFreq, param); param 107 drivers/gpu/drm/amd/powerplay/smu_v12_0.c uint32_t param) param 119 drivers/gpu/drm/amd/powerplay/smu_v12_0.c index, ret, param); param 123 drivers/gpu/drm/amd/powerplay/smu_v12_0.c WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_82, param); param 130 drivers/gpu/drm/amd/powerplay/smu_v12_0.c index, ret, param); param 618 drivers/gpu/drm/ast/ast_post.c static bool finetuneDQI_L(struct ast_private *ast, struct ast2300_dram_param *param) param 807 drivers/gpu/drm/ast/ast_post.c static bool cbr_dll2(struct ast_private *ast, struct ast2300_dram_param *param) param 813 drivers/gpu/drm/ast/ast_post.c if (finetuneDQI_L(ast, param) == false) param 863 drivers/gpu/drm/ast/ast_post.c static void get_ddr3_info(struct ast_private *ast, struct ast2300_dram_param *param) param 876 drivers/gpu/drm/ast/ast_post.c param->reg_MADJ = 0x00034C4C; param 877 drivers/gpu/drm/ast/ast_post.c param->reg_SADJ = 0x00001800; param 878 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000F0; param 879 drivers/gpu/drm/ast/ast_post.c param->reg_PERIOD = param->dram_freq; param 880 drivers/gpu/drm/ast/ast_post.c param->rodt = 0; param 882 drivers/gpu/drm/ast/ast_post.c switch (param->dram_freq) { param 885 drivers/gpu/drm/ast/ast_post.c param->wodt = 0; param 886 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x22202725; param 887 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA007613 | trap_AC2; param 888 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x000000BA; param 889 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x04001400 | trap_MRS; param 890 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000000; param 891 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000023; param 892 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000074; param 893 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x00004DC0; param 894 drivers/gpu/drm/ast/ast_post.c param->madj_max = 96; param 895 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 896 drivers/gpu/drm/ast/ast_post.c switch (param->dram_chipid) { param 900 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA007613 | trap_AC2; param 903 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA00761C | trap_AC2; param 906 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA007636 | trap_AC2; param 913 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 914 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302825; param 915 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC009617 | trap_AC2; param 916 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x000000E2; param 917 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x04001600 | trap_MRS; param 918 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000000; param 919 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000034; param 920 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000FA; param 921 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000089; param 922 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x00005040; param 923 drivers/gpu/drm/ast/ast_post.c param->madj_max = 96; param 924 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 4; param 926 drivers/gpu/drm/ast/ast_post.c switch (param->dram_chipid) { param 930 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC009617 | trap_AC2; param 933 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC009622 | trap_AC2; param 936 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00963F | trap_AC2; param 943 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 944 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302825; param 945 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC009617 | trap_AC2; param 946 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x000000E2; param 947 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x04001600 | trap_MRS; param 948 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000000; param 949 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000023; param 950 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000FA; param 951 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000089; param 952 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000050C0; param 953 drivers/gpu/drm/ast/ast_post.c param->madj_max = 96; param 954 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 4; param 956 drivers/gpu/drm/ast/ast_post.c switch (param->dram_chipid) { param 960 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC009617 | trap_AC2; param 963 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC009622 | trap_AC2; param 966 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00963F | trap_AC2; param 973 drivers/gpu/drm/ast/ast_post.c param->wodt = 0; param 974 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302926; param 975 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCD44961A; param 976 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x000000FC; param 977 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00081830; param 978 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000000; param 979 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000045; param 980 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000097; param 981 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000052C0; param 982 drivers/gpu/drm/ast/ast_post.c param->madj_max = 88; param 983 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 4; param 987 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 988 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302926; param 989 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xDE44A61D; param 990 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x00000117; param 991 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00081A30; param 992 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000000; param 993 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x070000BB; param 994 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x000000A0; param 995 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000054C0; param 996 drivers/gpu/drm/ast/ast_post.c param->madj_max = 79; param 997 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 4; param 1001 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1002 drivers/gpu/drm/ast/ast_post.c param->rodt = 1; param 1003 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302926; param 1004 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xEF44B61E; param 1005 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x00000125; param 1006 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00081A30; param 1007 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000040; param 1008 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000F5; param 1009 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000023; param 1010 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000088; param 1011 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000055C0; param 1012 drivers/gpu/drm/ast/ast_post.c param->madj_max = 76; param 1013 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1017 drivers/gpu/drm/ast/ast_post.c param->reg_MADJ = 0x00136868; param 1018 drivers/gpu/drm/ast/ast_post.c param->reg_SADJ = 0x00004534; param 1019 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1020 drivers/gpu/drm/ast/ast_post.c param->rodt = 1; param 1021 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302A37; param 1022 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xEF56B61E; param 1023 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x0000013F; param 1024 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00101A50; param 1025 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000040; param 1026 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000FA; param 1027 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000023; param 1028 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000078; param 1029 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000057C0; param 1030 drivers/gpu/drm/ast/ast_post.c param->madj_max = 136; param 1031 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1035 drivers/gpu/drm/ast/ast_post.c param->reg_MADJ = 0x00136868; param 1036 drivers/gpu/drm/ast/ast_post.c param->reg_SADJ = 0x00004534; param 1037 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1038 drivers/gpu/drm/ast/ast_post.c param->rodt = 1; param 1039 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x32302A37; param 1040 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xDF56B61F; param 1041 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x0000014D; param 1042 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00101A50; param 1043 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000004; param 1044 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000F5; param 1045 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000023; param 1046 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000078; param 1047 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000058C0; param 1048 drivers/gpu/drm/ast/ast_post.c param->madj_max = 132; param 1049 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1053 drivers/gpu/drm/ast/ast_post.c param->reg_MADJ = 0x00136868; param 1054 drivers/gpu/drm/ast/ast_post.c param->reg_SADJ = 0x00004534; param 1055 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1056 drivers/gpu/drm/ast/ast_post.c param->rodt = 1; param 1057 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x32302A37; param 1058 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xEF56B621; param 1059 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x0000015A; param 1060 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x02101A50; param 1061 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000004; param 1062 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000F5; param 1063 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000034; param 1064 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000078; param 1065 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000059C0; param 1066 drivers/gpu/drm/ast/ast_post.c param->madj_max = 128; param 1067 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1071 drivers/gpu/drm/ast/ast_post.c switch (param->dram_chipid) { param 1073 drivers/gpu/drm/ast/ast_post.c param->dram_config = 0x130; param 1077 drivers/gpu/drm/ast/ast_post.c param->dram_config = 0x131; param 1080 drivers/gpu/drm/ast/ast_post.c param->dram_config = 0x132; param 1083 drivers/gpu/drm/ast/ast_post.c param->dram_config = 0x133; param 1087 drivers/gpu/drm/ast/ast_post.c switch (param->vram_size) { param 1090 drivers/gpu/drm/ast/ast_post.c param->dram_config |= 0x00; param 1093 drivers/gpu/drm/ast/ast_post.c param->dram_config |= 0x04; param 1096 drivers/gpu/drm/ast/ast_post.c param->dram_config |= 0x08; param 1099 drivers/gpu/drm/ast/ast_post.c param->dram_config |= 0x0c; param 1105 drivers/gpu/drm/ast/ast_post.c static void ddr3_init(struct ast_private *ast, struct ast2300_dram_param *param) param 1115 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0064, param->reg_MADJ); param 1116 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0068, param->reg_SADJ); param 1118 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0064, param->reg_MADJ | 0xC0000); param 1121 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0004, param->dram_config); param 1123 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0010, param->reg_AC1); param 1124 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0014, param->reg_AC2); param 1125 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0020, param->reg_DQSIC); param 1128 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0088, param->reg_DQIDLY); param 1139 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0060, param->reg_DRV); param 1140 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E006C, param->reg_IOZ); param 1153 drivers/gpu/drm/ast/ast_post.c if ((data2 & 0xff) > param->madj_max) { param 1188 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E002C, param->reg_MRS | 0x100); param 1189 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0030, param->reg_EMRS); param 1194 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E002C, param->reg_MRS); param 1200 drivers/gpu/drm/ast/ast_post.c if (param->wodt) { param 1203 drivers/gpu/drm/ast/ast_post.c if (param->rodt) { param 1204 drivers/gpu/drm/ast/ast_post.c data = data | 0x3000 | ((param->reg_AC2 & 0x60000) >> 3); param 1209 drivers/gpu/drm/ast/ast_post.c if ((cbr_dll2(ast, param) == false) && (retry++ < 10)) param 1212 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0120, param->reg_FREQ); param 1228 drivers/gpu/drm/ast/ast_post.c static void get_ddr2_info(struct ast_private *ast, struct ast2300_dram_param *param) param 1241 drivers/gpu/drm/ast/ast_post.c param->reg_MADJ = 0x00034C4C; param 1242 drivers/gpu/drm/ast/ast_post.c param->reg_SADJ = 0x00001800; param 1243 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000F0; param 1244 drivers/gpu/drm/ast/ast_post.c param->reg_PERIOD = param->dram_freq; param 1245 drivers/gpu/drm/ast/ast_post.c param->rodt = 0; param 1247 drivers/gpu/drm/ast/ast_post.c switch (param->dram_freq) { param 1250 drivers/gpu/drm/ast/ast_post.c param->wodt = 0; param 1251 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x11101513; param 1252 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0x78117011; param 1253 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x00000092; param 1254 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000842; param 1255 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000000; param 1256 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000F0; param 1257 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000034; param 1258 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x0000005A; param 1259 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x00004AC0; param 1260 drivers/gpu/drm/ast/ast_post.c param->madj_max = 138; param 1261 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1265 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1266 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x22202613; param 1267 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA009016 | trap_AC2; param 1268 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x000000BA; param 1269 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000A02 | trap_MRS; param 1270 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000040; param 1271 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000FA; param 1272 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000034; param 1273 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000074; param 1274 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x00004DC0; param 1275 drivers/gpu/drm/ast/ast_post.c param->madj_max = 96; param 1276 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1277 drivers/gpu/drm/ast/ast_post.c switch (param->dram_chipid) { param 1280 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA009012 | trap_AC2; param 1283 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA009016 | trap_AC2; param 1286 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA009023 | trap_AC2; param 1289 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xAA00903B | trap_AC2; param 1296 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1297 drivers/gpu/drm/ast/ast_post.c param->rodt = 0; param 1298 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302714; param 1299 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B01B | trap_AC2; param 1300 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x000000E2; param 1301 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000C02 | trap_MRS; param 1302 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000040; param 1303 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000FA; param 1304 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000034; param 1305 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000089; param 1306 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x00005040; param 1307 drivers/gpu/drm/ast/ast_post.c param->madj_max = 96; param 1308 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 4; param 1310 drivers/gpu/drm/ast/ast_post.c switch (param->dram_chipid) { param 1312 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B016 | trap_AC2; param 1316 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B01B | trap_AC2; param 1319 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B02B | trap_AC2; param 1322 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B03F | trap_AC2; param 1330 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1331 drivers/gpu/drm/ast/ast_post.c param->rodt = 0; param 1332 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302714; param 1333 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B01B | trap_AC2; param 1334 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x000000E2; param 1335 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000C02 | trap_MRS; param 1336 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000040; param 1337 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000FA; param 1338 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000034; param 1339 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000089; param 1340 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000050C0; param 1341 drivers/gpu/drm/ast/ast_post.c param->madj_max = 96; param 1342 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 4; param 1344 drivers/gpu/drm/ast/ast_post.c switch (param->dram_chipid) { param 1346 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B016 | trap_AC2; param 1350 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B01B | trap_AC2; param 1353 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B02B | trap_AC2; param 1356 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCC00B03F | trap_AC2; param 1363 drivers/gpu/drm/ast/ast_post.c param->wodt = 0; param 1364 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302815; param 1365 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xCD44B01E; param 1366 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x000000FC; param 1367 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000E72; param 1368 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000000; param 1369 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x00000000; param 1370 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000034; param 1371 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x00000097; param 1372 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000052C0; param 1373 drivers/gpu/drm/ast/ast_post.c param->madj_max = 88; param 1374 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1378 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1379 drivers/gpu/drm/ast/ast_post.c param->rodt = 1; param 1380 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302815; param 1381 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xDE44C022; param 1382 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x00000117; param 1383 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000E72; param 1384 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000040; param 1385 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x0000000A; param 1386 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000045; param 1387 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x000000A0; param 1388 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000054C0; param 1389 drivers/gpu/drm/ast/ast_post.c param->madj_max = 79; param 1390 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1394 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1395 drivers/gpu/drm/ast/ast_post.c param->rodt = 1; param 1396 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x33302815; param 1397 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xEF44D024; param 1398 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x00000125; param 1399 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000E72; param 1400 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000004; param 1401 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000F9; param 1402 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000045; param 1403 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x000000A7; param 1404 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000055C0; param 1405 drivers/gpu/drm/ast/ast_post.c param->madj_max = 76; param 1406 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1410 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1411 drivers/gpu/drm/ast/ast_post.c param->rodt = 1; param 1412 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x43402915; param 1413 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xFF44E025; param 1414 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x00000132; param 1415 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000E72; param 1416 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000040; param 1417 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x0000000A; param 1418 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000045; param 1419 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x000000AD; param 1420 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000056C0; param 1421 drivers/gpu/drm/ast/ast_post.c param->madj_max = 76; param 1422 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1426 drivers/gpu/drm/ast/ast_post.c param->wodt = 1; param 1427 drivers/gpu/drm/ast/ast_post.c param->rodt = 1; param 1428 drivers/gpu/drm/ast/ast_post.c param->reg_AC1 = 0x43402915; param 1429 drivers/gpu/drm/ast/ast_post.c param->reg_AC2 = 0xFF44E027; param 1430 drivers/gpu/drm/ast/ast_post.c param->reg_DQSIC = 0x0000013F; param 1431 drivers/gpu/drm/ast/ast_post.c param->reg_MRS = 0x00000E72; param 1432 drivers/gpu/drm/ast/ast_post.c param->reg_EMRS = 0x00000004; param 1433 drivers/gpu/drm/ast/ast_post.c param->reg_DRV = 0x000000F5; param 1434 drivers/gpu/drm/ast/ast_post.c param->reg_IOZ = 0x00000045; param 1435 drivers/gpu/drm/ast/ast_post.c param->reg_DQIDLY = 0x000000B3; param 1436 drivers/gpu/drm/ast/ast_post.c param->reg_FREQ = 0x000057C0; param 1437 drivers/gpu/drm/ast/ast_post.c param->madj_max = 76; param 1438 drivers/gpu/drm/ast/ast_post.c param->dll2_finetune_step = 3; param 1442 drivers/gpu/drm/ast/ast_post.c switch (param->dram_chipid) { param 1444 drivers/gpu/drm/ast/ast_post.c param->dram_config = 0x100; param 1448 drivers/gpu/drm/ast/ast_post.c param->dram_config = 0x121; param 1451 drivers/gpu/drm/ast/ast_post.c param->dram_config = 0x122; param 1454 drivers/gpu/drm/ast/ast_post.c param->dram_config = 0x123; param 1458 drivers/gpu/drm/ast/ast_post.c switch (param->vram_size) { param 1461 drivers/gpu/drm/ast/ast_post.c param->dram_config |= 0x00; param 1464 drivers/gpu/drm/ast/ast_post.c param->dram_config |= 0x04; param 1467 drivers/gpu/drm/ast/ast_post.c param->dram_config |= 0x08; param 1470 drivers/gpu/drm/ast/ast_post.c param->dram_config |= 0x0c; param 1475 drivers/gpu/drm/ast/ast_post.c static void ddr2_init(struct ast_private *ast, struct ast2300_dram_param *param) param 1483 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0064, param->reg_MADJ); param 1484 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0068, param->reg_SADJ); param 1486 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0064, param->reg_MADJ | 0xC0000); param 1489 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0004, param->dram_config); param 1491 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0010, param->reg_AC1); param 1492 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0014, param->reg_AC2); param 1493 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0020, param->reg_DQSIC); param 1496 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0088, param->reg_DQIDLY); param 1507 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0060, param->reg_DRV); param 1508 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E006C, param->reg_IOZ); param 1522 drivers/gpu/drm/ast/ast_post.c if ((data2 & 0xff) > param->madj_max) { param 1557 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E002C, param->reg_MRS | 0x100); param 1558 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0030, param->reg_EMRS); param 1565 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E002C, param->reg_MRS); param 1567 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0030, param->reg_EMRS | 0x380); param 1569 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0030, param->reg_EMRS); param 1574 drivers/gpu/drm/ast/ast_post.c if (param->wodt) { param 1577 drivers/gpu/drm/ast/ast_post.c if (param->rodt) { param 1578 drivers/gpu/drm/ast/ast_post.c data = data | 0x3000 | ((param->reg_AC2 & 0x60000) >> 3); param 1581 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0120, param->reg_FREQ); param 1584 drivers/gpu/drm/ast/ast_post.c if ((cbr_dll2(ast, param) == false) && (retry++ < 10)) param 1604 drivers/gpu/drm/ast/ast_post.c struct ast2300_dram_param param; param 1627 drivers/gpu/drm/ast/ast_post.c param.dram_freq = 396; param 1628 drivers/gpu/drm/ast/ast_post.c param.dram_type = AST_DDR3; param 1631 drivers/gpu/drm/ast/ast_post.c param.dram_type = AST_DDR2; param 1634 drivers/gpu/drm/ast/ast_post.c param.dram_chipid = AST_DRAM_512Mx16; param 1638 drivers/gpu/drm/ast/ast_post.c param.dram_chipid = AST_DRAM_1Gx16; param 1641 drivers/gpu/drm/ast/ast_post.c param.dram_chipid = AST_DRAM_2Gx16; param 1644 drivers/gpu/drm/ast/ast_post.c param.dram_chipid = AST_DRAM_4Gx16; param 1650 drivers/gpu/drm/ast/ast_post.c param.vram_size = AST_VIDMEM_SIZE_8M; param 1654 drivers/gpu/drm/ast/ast_post.c param.vram_size = AST_VIDMEM_SIZE_16M; param 1658 drivers/gpu/drm/ast/ast_post.c param.vram_size = AST_VIDMEM_SIZE_32M; param 1662 drivers/gpu/drm/ast/ast_post.c param.vram_size = AST_VIDMEM_SIZE_64M; param 1666 drivers/gpu/drm/ast/ast_post.c if (param.dram_type == AST_DDR3) { param 1667 drivers/gpu/drm/ast/ast_post.c get_ddr3_info(ast, ¶m); param 1668 drivers/gpu/drm/ast/ast_post.c ddr3_init(ast, ¶m); param 1670 drivers/gpu/drm/ast/ast_post.c get_ddr2_info(ast, ¶m); param 1671 drivers/gpu/drm/ast/ast_post.c ddr2_init(ast, ¶m); param 1815 drivers/gpu/drm/ast/ast_post.c u32 addr, data, param; param 1830 drivers/gpu/drm/ast/ast_post.c param = 0x930023E0; param 1834 drivers/gpu/drm/ast/ast_post.c param = 0x93002400; param 1836 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E2020, param); param 269 drivers/gpu/drm/etnaviv/etnaviv_drv.c return etnaviv_gpu_get_param(gpu, args->param, &args->value); param 43 drivers/gpu/drm/etnaviv/etnaviv_gpu.c int etnaviv_gpu_get_param(struct etnaviv_gpu *gpu, u32 param, u64 *value) param 47 drivers/gpu/drm/etnaviv/etnaviv_gpu.c switch (param) { param 160 drivers/gpu/drm/etnaviv/etnaviv_gpu.c DBG("%s: invalid param: %u", dev_name(gpu->dev), param); param 160 drivers/gpu/drm/etnaviv/etnaviv_gpu.h int etnaviv_gpu_get_param(struct etnaviv_gpu *gpu, u32 param, u64 *value); param 218 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c u8 cmd, u8 param, bool hs) param 235 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c val = FLD_VAL(param, 23, 16) | FLD_VAL(cmd, 15, 8) | param 439 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c u8 param, u8 param_num, bool hs) param 454 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c data[1] = param; param 69 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h u8 param, u8 param_num, bool hs); param 1752 drivers/gpu/drm/i915/gem/i915_gem_context.c switch (args->param) { param 1845 drivers/gpu/drm/i915/gem/i915_gem_context.c if (local.param.ctx_id) param 1848 drivers/gpu/drm/i915/gem/i915_gem_context.c return ctx_setparam(arg->fpriv, arg->ctx, &local.param); param 2225 drivers/gpu/drm/i915/gem/i915_gem_context.c switch (args->param) { param 238 drivers/gpu/drm/i915/gvt/aperture_gm.c struct intel_vgpu_creation_params *param) param 244 drivers/gpu/drm/i915/gvt/aperture_gm.c if (!param->low_gm_sz || !param->high_gm_sz || !param->fence_sz) { param 253 drivers/gpu/drm/i915/gvt/aperture_gm.c request = MB_TO_BYTES(param->low_gm_sz); param 264 drivers/gpu/drm/i915/gvt/aperture_gm.c request = MB_TO_BYTES(param->high_gm_sz); param 275 drivers/gpu/drm/i915/gvt/aperture_gm.c request = param->fence_sz; param 282 drivers/gpu/drm/i915/gvt/aperture_gm.c gvt->gm.vgpu_allocated_low_gm_size += MB_TO_BYTES(param->low_gm_sz); param 283 drivers/gpu/drm/i915/gvt/aperture_gm.c gvt->gm.vgpu_allocated_high_gm_size += MB_TO_BYTES(param->high_gm_sz); param 284 drivers/gpu/drm/i915/gvt/aperture_gm.c gvt->fence.vgpu_allocated_fence_num += param->fence_sz; param 338 drivers/gpu/drm/i915/gvt/aperture_gm.c struct intel_vgpu_creation_params *param) param 342 drivers/gpu/drm/i915/gvt/aperture_gm.c ret = alloc_resource(vgpu, param); param 62 drivers/gpu/drm/i915/gvt/debugfs.c struct mmio_diff_param *param = data; param 67 drivers/gpu/drm/i915/gvt/debugfs.c vreg = vgpu_vreg(param->vgpu, offset); param 77 drivers/gpu/drm/i915/gvt/debugfs.c list_add(&node->node, ¶m->diff_mmio_list); param 78 drivers/gpu/drm/i915/gvt/debugfs.c param->diff++; param 80 drivers/gpu/drm/i915/gvt/debugfs.c param->total++; param 89 drivers/gpu/drm/i915/gvt/debugfs.c struct mmio_diff_param param = { param 96 drivers/gpu/drm/i915/gvt/debugfs.c INIT_LIST_HEAD(¶m.diff_mmio_list); param 103 drivers/gpu/drm/i915/gvt/debugfs.c intel_gvt_for_each_tracked_mmio(gvt, mmio_diff_handler, ¶m); param 110 drivers/gpu/drm/i915/gvt/debugfs.c list_sort(NULL, ¶m.diff_mmio_list, mmio_offset_compare); param 113 drivers/gpu/drm/i915/gvt/debugfs.c list_for_each_entry_safe(node, next, ¶m.diff_mmio_list, node) { param 122 drivers/gpu/drm/i915/gvt/debugfs.c seq_printf(s, "Total: %d, Diff: %d\n", param.total, param.diff); param 437 drivers/gpu/drm/i915/gvt/gvt.h struct intel_vgpu_creation_params *param); param 1103 drivers/gpu/drm/i915/gvt/scheduler.c struct workload_thread_param *param = NULL; param 1115 drivers/gpu/drm/i915/gvt/scheduler.c param = kzalloc(sizeof(*param), GFP_KERNEL); param 1116 drivers/gpu/drm/i915/gvt/scheduler.c if (!param) { param 1121 drivers/gpu/drm/i915/gvt/scheduler.c param->gvt = gvt; param 1122 drivers/gpu/drm/i915/gvt/scheduler.c param->ring_id = i; param 1124 drivers/gpu/drm/i915/gvt/scheduler.c scheduler->thread[i] = kthread_run(workload_thread, param, param 1140 drivers/gpu/drm/i915/gvt/scheduler.c kfree(param); param 1141 drivers/gpu/drm/i915/gvt/scheduler.c param = NULL; param 366 drivers/gpu/drm/i915/gvt/vgpu.c struct intel_vgpu_creation_params *param) param 372 drivers/gpu/drm/i915/gvt/vgpu.c param->handle, param->low_gm_sz, param->high_gm_sz, param 373 drivers/gpu/drm/i915/gvt/vgpu.c param->fence_sz); param 385 drivers/gpu/drm/i915/gvt/vgpu.c vgpu->handle = param->handle; param 387 drivers/gpu/drm/i915/gvt/vgpu.c vgpu->sched_ctl.weight = param->weight; param 393 drivers/gpu/drm/i915/gvt/vgpu.c intel_vgpu_init_cfg_space(vgpu, param->primary); param 399 drivers/gpu/drm/i915/gvt/vgpu.c ret = intel_vgpu_alloc_resource(vgpu, param); param 417 drivers/gpu/drm/i915/gvt/vgpu.c ret = intel_vgpu_init_display(vgpu, param->resolution); param 479 drivers/gpu/drm/i915/gvt/vgpu.c struct intel_vgpu_creation_params param; param 482 drivers/gpu/drm/i915/gvt/vgpu.c param.handle = 0; param 483 drivers/gpu/drm/i915/gvt/vgpu.c param.primary = 1; param 484 drivers/gpu/drm/i915/gvt/vgpu.c param.low_gm_sz = type->low_gm_size; param 485 drivers/gpu/drm/i915/gvt/vgpu.c param.high_gm_sz = type->high_gm_size; param 486 drivers/gpu/drm/i915/gvt/vgpu.c param.fence_sz = type->fence; param 487 drivers/gpu/drm/i915/gvt/vgpu.c param.weight = type->weight; param 488 drivers/gpu/drm/i915/gvt/vgpu.c param.resolution = type->resolution; param 491 drivers/gpu/drm/i915/gvt/vgpu.c param.low_gm_sz = BYTES_TO_MB(param.low_gm_sz); param 492 drivers/gpu/drm/i915/gvt/vgpu.c param.high_gm_sz = BYTES_TO_MB(param.high_gm_sz); param 495 drivers/gpu/drm/i915/gvt/vgpu.c vgpu = __intel_gvt_create_vgpu(gvt, ¶m); param 14 drivers/gpu/drm/i915/i915_getparam.c drm_i915_getparam_t *param = data; param 17 drivers/gpu/drm/i915/i915_getparam.c switch (param->param) { param 160 drivers/gpu/drm/i915/i915_getparam.c DRM_DEBUG("Unknown parameter %d\n", param->param); param 164 drivers/gpu/drm/i915/i915_getparam.c if (put_user(value, param->value)) param 36 drivers/gpu/drm/i915/i915_ioc32.c s32 param; param 56 drivers/gpu/drm/i915/i915_ioc32.c __put_user(req32.param, &request->param) || param 45 drivers/gpu/drm/i915/i915_params.h #define I915_PARAMS_FOR_EACH(param) \ param 46 drivers/gpu/drm/i915/i915_params.h param(char *, vbt_firmware, NULL) \ param 47 drivers/gpu/drm/i915/i915_params.h param(int, modeset, -1) \ param 48 drivers/gpu/drm/i915/i915_params.h param(int, lvds_channel_mode, 0) \ param 49 drivers/gpu/drm/i915/i915_params.h param(int, panel_use_ssc, -1) \ param 50 drivers/gpu/drm/i915/i915_params.h param(int, vbt_sdvo_panel_type, -1) \ param 51 drivers/gpu/drm/i915/i915_params.h param(int, enable_dc, -1) \ param 52 drivers/gpu/drm/i915/i915_params.h param(int, enable_fbc, -1) \ param 53 drivers/gpu/drm/i915/i915_params.h param(int, enable_psr, -1) \ param 54 drivers/gpu/drm/i915/i915_params.h param(int, disable_power_well, -1) \ param 55 drivers/gpu/drm/i915/i915_params.h param(int, enable_ips, 1) \ param 56 drivers/gpu/drm/i915/i915_params.h param(int, invert_brightness, 0) \ param 57 drivers/gpu/drm/i915/i915_params.h param(int, enable_guc, 0) \ param 58 drivers/gpu/drm/i915/i915_params.h param(int, guc_log_level, -1) \ param 59 drivers/gpu/drm/i915/i915_params.h param(char *, guc_firmware_path, NULL) \ param 60 drivers/gpu/drm/i915/i915_params.h param(char *, huc_firmware_path, NULL) \ param 61 drivers/gpu/drm/i915/i915_params.h param(char *, dmc_firmware_path, NULL) \ param 62 drivers/gpu/drm/i915/i915_params.h param(int, mmio_debug, -IS_ENABLED(CONFIG_DRM_I915_DEBUG_MMIO)) \ param 63 drivers/gpu/drm/i915/i915_params.h param(int, edp_vswing, 0) \ param 64 drivers/gpu/drm/i915/i915_params.h param(int, reset, 2) \ param 65 drivers/gpu/drm/i915/i915_params.h param(unsigned int, inject_load_failure, 0) \ param 66 drivers/gpu/drm/i915/i915_params.h param(int, fastboot, -1) \ param 67 drivers/gpu/drm/i915/i915_params.h param(int, enable_dpcd_backlight, 0) \ param 68 drivers/gpu/drm/i915/i915_params.h param(char *, force_probe, CONFIG_DRM_I915_FORCE_PROBE) \ param 70 drivers/gpu/drm/i915/i915_params.h param(bool, alpha_support, IS_ENABLED(CONFIG_DRM_I915_ALPHA_SUPPORT)) \ param 71 drivers/gpu/drm/i915/i915_params.h param(bool, enable_hangcheck, true) \ param 72 drivers/gpu/drm/i915/i915_params.h param(bool, prefault_disable, false) \ param 73 drivers/gpu/drm/i915/i915_params.h param(bool, load_detect_test, false) \ param 74 drivers/gpu/drm/i915/i915_params.h param(bool, force_reset_modeset_test, false) \ param 75 drivers/gpu/drm/i915/i915_params.h param(bool, error_capture, true) \ param 76 drivers/gpu/drm/i915/i915_params.h param(bool, disable_display, false) \ param 77 drivers/gpu/drm/i915/i915_params.h param(bool, verbose_state_checks, true) \ param 78 drivers/gpu/drm/i915/i915_params.h param(bool, nuclear_pageflip, false) \ param 79 drivers/gpu/drm/i915/i915_params.h param(bool, enable_dp_mst, true) \ param 80 drivers/gpu/drm/i915/i915_params.h param(bool, enable_gvt, false) param 2166 drivers/gpu/drm/i915/i915_perf.c struct drm_i915_perf_open_param *param, param 2707 drivers/gpu/drm/i915/i915_perf.c struct drm_i915_perf_open_param *param, param 2769 drivers/gpu/drm/i915/i915_perf.c ret = i915_oa_stream_init(stream, param, props); param 2784 drivers/gpu/drm/i915/i915_perf.c if (param->flags & I915_PERF_FLAG_FD_CLOEXEC) param 2786 drivers/gpu/drm/i915/i915_perf.c if (param->flags & I915_PERF_FLAG_FD_NONBLOCK) param 2795 drivers/gpu/drm/i915/i915_perf.c if (!(param->flags & I915_PERF_FLAG_DISABLED)) param 2991 drivers/gpu/drm/i915/i915_perf.c struct drm_i915_perf_open_param *param = data; param 3004 drivers/gpu/drm/i915/i915_perf.c if (param->flags & ~known_open_flags) { param 3010 drivers/gpu/drm/i915/i915_perf.c u64_to_user_ptr(param->properties_ptr), param 3011 drivers/gpu/drm/i915/i915_perf.c param->num_properties, param 3017 drivers/gpu/drm/i915/i915_perf.c ret = i915_perf_open_ioctl_locked(dev_priv, param, &props, file); param 81 drivers/gpu/drm/i915/selftests/i915_selftest.c #define selftest(n, func) selftest_0(n, func, param(n)) param 31 drivers/gpu/drm/lima/lima_drv.c switch (args->param) { param 1110 drivers/gpu/drm/mediatek/mtk_hdmi.c struct hdmi_audio_param *param) param 1117 drivers/gpu/drm/mediatek/mtk_hdmi.c param->aud_codec, param->aud_input_type, param 1118 drivers/gpu/drm/mediatek/mtk_hdmi.c param->aud_input_chan_type, param->codec_params.sample_rate); param 1119 drivers/gpu/drm/mediatek/mtk_hdmi.c memcpy(&hdmi->aud_param, param, sizeof(*param)); param 85 drivers/gpu/drm/mga/mga_ioc32.c int param; param 98 drivers/gpu/drm/mga/mga_ioc32.c getparam.param = getparam32.param; param 1009 drivers/gpu/drm/mga/mga_state.c drm_mga_getparam_t *param = data; param 1019 drivers/gpu/drm/mga/mga_state.c switch (param->param) { param 1030 drivers/gpu/drm/mga/mga_state.c if (copy_to_user(param->value, &value, sizeof(int))) { param 159 drivers/gpu/drm/msm/adreno/adreno_gpu.c int adreno_get_param(struct msm_gpu *gpu, uint32_t param, uint64_t *value) param 163 drivers/gpu/drm/msm/adreno/adreno_gpu.c switch (param) { param 203 drivers/gpu/drm/msm/adreno/adreno_gpu.c DBG("%s: invalid param: %u", gpu->name, param); param 219 drivers/gpu/drm/msm/adreno/adreno_gpu.h int adreno_get_param(struct msm_gpu *gpu, uint32_t param, uint64_t *value); param 391 drivers/gpu/drm/msm/msm_drv.c struct sched_param param; param 500 drivers/gpu/drm/msm/msm_drv.c param.sched_priority = 16; param 517 drivers/gpu/drm/msm/msm_drv.c SCHED_FIFO, ¶m); param 713 drivers/gpu/drm/msm/msm_drv.c return gpu->funcs->get_param(gpu, args->param, &args->value); param 44 drivers/gpu/drm/msm/msm_gpu.h int (*get_param)(struct msm_gpu *gpu, uint32_t param, uint64_t *value); param 149 drivers/gpu/drm/msm/msm_submitqueue.c if (args->param == MSM_SUBMITQUEUE_PARAM_FAULTS) param 43 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h u8 param; param 185 drivers/gpu/drm/nouveau/nouveau_abi16.c switch (getparam->param) { param 240 drivers/gpu/drm/nouveau/nouveau_abi16.c NV_PRINTK(dbg, cli, "unknown parameter %lld\n", getparam->param); param 97 drivers/gpu/drm/nouveau/nouveau_abi16.h uint64_t param; param 102 drivers/gpu/drm/nouveau/nouveau_abi16.h uint64_t param; param 90 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c .param = !!(info & 0x8000), param 100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c .param = !!(info & 0x80000000), param 110 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c .param = !!(info & 0x80000000), param 95 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c if (!nvkm_boolopt(device->cfgopt, "NvFanPWM", func->param) || param 165 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c static int dsicm_dcs_write_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 param) param 168 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c u8 buf[2] = { dcs_cmd, param }; param 311 drivers/gpu/drm/omapdrm/dss/hdmi.h struct videomode *vm, const struct hdmi_config *param); param 193 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c struct videomode *vm, const struct hdmi_config *param) param 198 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c video_fmt->y_res = param->vm.vactive; param 199 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c video_fmt->x_res = param->vm.hactive; param 201 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c vm->hback_porch = param->vm.hback_porch; param 202 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c vm->hfront_porch = param->vm.hfront_porch; param 203 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c vm->hsync_len = param->vm.hsync_len; param 204 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c vm->vback_porch = param->vm.vback_porch; param 205 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c vm->vfront_porch = param->vm.vfront_porch; param 206 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c vm->vsync_len = param->vm.vsync_len; param 208 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c vm->flags = param->vm.flags; param 210 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c if (param->vm.flags & DISPLAY_FLAGS_INTERLACED) { param 217 drivers/gpu/drm/omapdrm/dss/hdmi_wp.c if (param->vm.flags & DISPLAY_FLAGS_DOUBLECLK) { param 423 drivers/gpu/drm/omapdrm/omap_drv.c DBG("%p: param=%llu", dev, args->param); param 425 drivers/gpu/drm/omapdrm/omap_drv.c switch (args->param) { param 430 drivers/gpu/drm/omapdrm/omap_drv.c DBG("unknown parameter %lld", args->param); param 35 drivers/gpu/drm/panel/panel-raydium-rm67191.c u8 param; param 241 drivers/gpu/drm/panel/panel-raydium-rm67191.c u8 buffer[2] = { entry->cmd, entry->param }; param 29 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_get_param *param = data; param 32 drivers/gpu/drm/panfrost/panfrost_drv.c if (param->pad != 0) param 37 drivers/gpu/drm/panfrost/panfrost_drv.c param->value = pfdev->features.member; \ param 42 drivers/gpu/drm/panfrost/panfrost_drv.c param->value = pfdev->features.member[param->param - \ param 46 drivers/gpu/drm/panfrost/panfrost_drv.c switch (param->param) { param 355 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_qxl_getparam *param = data; param 357 drivers/gpu/drm/qxl/qxl_ioctl.c switch (param->param) { param 359 drivers/gpu/drm/qxl/qxl_ioctl.c param->value = qdev->rom->n_surfaces; param 362 drivers/gpu/drm/qxl/qxl_ioctl.c param->value = QXL_MAX_RES; param 374 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_qxl_clientcap *param = data; param 377 drivers/gpu/drm/qxl/qxl_ioctl.c byte = param->index / 8; param 378 drivers/gpu/drm/qxl/qxl_ioctl.c idx = param->index % 8; param 395 drivers/gpu/drm/qxl/qxl_ioctl.c struct drm_qxl_alloc_surf *param = data; param 403 drivers/gpu/drm/qxl/qxl_ioctl.c actual_stride = param->stride < 0 ? -param->stride : param->stride; param 404 drivers/gpu/drm/qxl/qxl_ioctl.c size = actual_stride * param->height + actual_stride; param 406 drivers/gpu/drm/qxl/qxl_ioctl.c surf.format = param->format; param 407 drivers/gpu/drm/qxl/qxl_ioctl.c surf.width = param->width; param 408 drivers/gpu/drm/qxl/qxl_ioctl.c surf.height = param->height; param 409 drivers/gpu/drm/qxl/qxl_ioctl.c surf.stride = param->stride; param 422 drivers/gpu/drm/qxl/qxl_ioctl.c param->handle = handle; param 146 drivers/gpu/drm/r128/r128_ioc32.c int param; param 159 drivers/gpu/drm/r128/r128_ioc32.c getparam.param = getparam32.param; param 1584 drivers/gpu/drm/r128/r128_state.c drm_r128_getparam_t *param = data; param 1591 drivers/gpu/drm/r128/r128_state.c switch (param->param) { param 1599 drivers/gpu/drm/r128/r128_state.c if (copy_to_user(param->value, &value, sizeof(int))) { param 111 drivers/gpu/drm/radeon/sumo_smc.c u32 param = 0; param 117 drivers/gpu/drm/radeon/sumo_smc.c param |= 1; param 120 drivers/gpu/drm/radeon/sumo_smc.c param |= 2; param 122 drivers/gpu/drm/radeon/sumo_smc.c WREG32_RCU(RCU_ALTVDDNB_NOTIFY, param); param 698 drivers/gpu/drm/scheduler/sched_main.c static int drm_sched_main(void *param) param 701 drivers/gpu/drm/scheduler/sched_main.c struct drm_gpu_scheduler *sched = (struct drm_gpu_scheduler *)param; param 46 drivers/gpu/drm/selftests/drm_selftest.c #define selftest(n, func) selftest_0(n, func, param(n)) param 99 drivers/gpu/drm/v3d/v3d_drv.c if (args->param < ARRAY_SIZE(reg_map) && param 100 drivers/gpu/drm/v3d/v3d_drv.c (reg_map[args->param] || param 101 drivers/gpu/drm/v3d/v3d_drv.c args->param == DRM_V3D_PARAM_V3D_CORE0_IDENT0)) { param 102 drivers/gpu/drm/v3d/v3d_drv.c u32 offset = reg_map[args->param]; param 110 drivers/gpu/drm/v3d/v3d_drv.c if (args->param >= DRM_V3D_PARAM_V3D_CORE0_IDENT0 && param 111 drivers/gpu/drm/v3d/v3d_drv.c args->param <= DRM_V3D_PARAM_V3D_CORE0_IDENT2) { param 122 drivers/gpu/drm/v3d/v3d_drv.c switch (args->param) { param 130 drivers/gpu/drm/v3d/v3d_drv.c DRM_DEBUG("Unknown parameter %d\n", args->param); param 80 drivers/gpu/drm/vc4/vc4_drv.c switch (args->param) { param 111 drivers/gpu/drm/vc4/vc4_drv.c DRM_DEBUG("Unknown parameter %d\n", args->param); param 725 drivers/gpu/drm/vc4/vc4_plane.c uint32_t param = fourcc_mod_broadcom_param(fb->modifier); param 747 drivers/gpu/drm/vc4/vc4_plane.c if (param > SCALER_TILE_HEIGHT_MASK) { param 748 drivers/gpu/drm/vc4/vc4_plane.c DRM_DEBUG_KMS("SAND height too large (%d)\n", param); param 760 drivers/gpu/drm/vc4/vc4_plane.c vc4_state->offsets[i] += param * tile_w * tile; param 769 drivers/gpu/drm/vc4/vc4_plane.c pitch0 = VC4_SET_FIELD(param, SCALER_TILE_HEIGHT); param 254 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_virtgpu_getparam *param = data; param 257 drivers/gpu/drm/virtio/virtgpu_ioctl.c switch (param->param) { param 267 drivers/gpu/drm/virtio/virtgpu_ioctl.c if (copy_to_user(u64_to_user_ptr(param->value), &value, sizeof(int))) param 42 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct drm_vmw_getparam_arg *param = param 46 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c switch (param->param) { param 48 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = vmw_overlay_num_overlays(dev_priv); param 51 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = vmw_overlay_num_free_overlays(dev_priv); param 54 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = vmw_fifo_have_3d(dev_priv) ? 1 : 0; param 57 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->capabilities; param 60 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->capabilities2; param 63 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->fifo.capabilities; param 66 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->prim_bb_mem; param 74 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = SVGA3D_HWVERSION_WS8_B1; param 78 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = param 89 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->max_mob_pages * PAGE_SIZE / 2; param 91 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->memory_size; param 96 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = SVGA3D_DEVCAP_MAX * sizeof(uint32_t); param 98 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = sizeof(struct svga_3d_compat_cap) + param 101 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = (SVGA_FIFO_3D_CAPS_LAST - param 107 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->max_mob_pages * PAGE_SIZE; param 110 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->max_mob_size; param 113 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = param 117 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->has_dx; param 120 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c param->value = dev_priv->has_sm4_1; param 182 drivers/gpu/ipu-v3/ipu-ic.c u32 param; param 191 drivers/gpu/ipu-v3/ipu-ic.c param = ((a[0] & 0x1f) << 27) | ((c[0][0] & 0x1ff) << 18) | param 193 drivers/gpu/ipu-v3/ipu-ic.c writel(param, base++); param 195 drivers/gpu/ipu-v3/ipu-ic.c param = ((a[0] & 0x1fe0) >> 5) | (csc->params.scale << 8) | param 197 drivers/gpu/ipu-v3/ipu-ic.c writel(param, base++); param 199 drivers/gpu/ipu-v3/ipu-ic.c param = ((a[1] & 0x1f) << 27) | ((c[0][1] & 0x1ff) << 18) | param 201 drivers/gpu/ipu-v3/ipu-ic.c writel(param, base++); param 203 drivers/gpu/ipu-v3/ipu-ic.c param = ((a[1] & 0x1fe0) >> 5); param 204 drivers/gpu/ipu-v3/ipu-ic.c writel(param, base++); param 206 drivers/gpu/ipu-v3/ipu-ic.c param = ((a[2] & 0x1f) << 27) | ((c[0][2] & 0x1ff) << 18) | param 208 drivers/gpu/ipu-v3/ipu-ic.c writel(param, base++); param 210 drivers/gpu/ipu-v3/ipu-ic.c param = ((a[2] & 0x1fe0) >> 5); param 211 drivers/gpu/ipu-v3/ipu-ic.c writel(param, base++); param 80 drivers/hid/hid-elan.c unsigned char *dmabuf, unsigned char param) param 87 drivers/hid/hid-elan.c dmabuf[3] = param; param 94 drivers/hid/hid-elan.c hid_err(hdev, "Set report error for parm %d: %d\n", param, ret); param 102 drivers/hid/hid-elan.c hid_err(hdev, "Get report error for parm %d: %d\n", param, ret); param 562 drivers/hid/hid-logitech-hidpp.c static int hidpp10_battery_status_map_level(u8 param) param 566 drivers/hid/hid-logitech-hidpp.c switch (param) { param 586 drivers/hid/hid-logitech-hidpp.c static int hidpp10_battery_status_map_status(u8 param) param 590 drivers/hid/hid-logitech-hidpp.c switch (param) { param 646 drivers/hid/hid-logitech-hidpp.c static int hidpp10_battery_mileage_map_status(u8 param) param 650 drivers/hid/hid-logitech-hidpp.c switch (param >> 6) { param 152 drivers/hwmon/asc7621.c struct asc7621_param *param = to_asc7621_param(sda) param 158 drivers/hwmon/asc7621.c struct asc7621_param *param = to_asc7621_param(sda) param 169 drivers/hwmon/asc7621.c return sprintf(buf, "%u\n", data->reg[param->msb[0]]); param 184 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = reqval; param 185 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], reqval); param 199 drivers/hwmon/asc7621.c (data->reg[param->msb[0]] >> param-> param 200 drivers/hwmon/asc7621.c shift[0]) & param->mask[0]); param 214 drivers/hwmon/asc7621.c reqval = clamp_val(reqval, 0, param->mask[0]); param 216 drivers/hwmon/asc7621.c reqval = (reqval & param->mask[0]) << param->shift[0]; param 219 drivers/hwmon/asc7621.c currval = read_byte(client, param->msb[0]); param 220 drivers/hwmon/asc7621.c reqval |= (currval & ~(param->mask[0] << param->shift[0])); param 221 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = reqval; param 222 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], reqval); param 240 drivers/hwmon/asc7621.c regval = (data->reg[param->msb[0]] << 8) | data->reg[param->lsb[0]]; param 267 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = (reqval >> 8) & 0xff; param 268 drivers/hwmon/asc7621.c data->reg[param->lsb[0]] = reqval & 0xff; param 269 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], data->reg[param->msb[0]]); param 270 drivers/hwmon/asc7621.c write_byte(client, param->lsb[0], data->reg[param->lsb[0]]); param 302 drivers/hwmon/asc7621.c regval = (data->reg[param->msb[0]] << 8) | (data->reg[param->lsb[0]]); param 319 drivers/hwmon/asc7621.c ((data->reg[param->msb[0]] * param 340 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = reqval; param 341 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], reqval); param 352 drivers/hwmon/asc7621.c return sprintf(buf, "%d\n", ((s8) data->reg[param->msb[0]]) * 1000); param 371 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = temp; param 372 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], temp); param 392 drivers/hwmon/asc7621.c msb = data->reg[param->msb[0]]; param 393 drivers/hwmon/asc7621.c lsb = (data->reg[param->lsb[0]] >> 6) & 0x03; param 405 drivers/hwmon/asc7621.c u8 regval = data->reg[param->msb[0]]; param 429 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = temp; param 430 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], temp); param 455 drivers/hwmon/asc7621.c auto_point1 = ((s8) data->reg[param->msb[1]]) * 1000; param 457 drivers/hwmon/asc7621.c ((data->reg[param->msb[0]] >> param->shift[0]) & param->mask[0]); param 478 drivers/hwmon/asc7621.c auto_point1 = data->reg[param->msb[1]] * 1000; param 488 drivers/hwmon/asc7621.c newval = (newval & param->mask[0]) << param->shift[0]; param 489 drivers/hwmon/asc7621.c currval = read_byte(client, param->msb[0]); param 490 drivers/hwmon/asc7621.c newval |= (currval & ~(param->mask[0] << param->shift[0])); param 491 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; param 492 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); param 508 drivers/hwmon/asc7621.c config = (data->reg[param->msb[0]] >> param->shift[0]) & param->mask[0]; param 509 drivers/hwmon/asc7621.c altbit = (data->reg[param->msb[1]] >> param->shift[1]) & param->mask[1]; param 543 drivers/hwmon/asc7621.c config = (config & param->mask[0]) << param->shift[0]; param 544 drivers/hwmon/asc7621.c altbit = (altbit & param->mask[1]) << param->shift[1]; param 547 drivers/hwmon/asc7621.c currval = read_byte(client, param->msb[0]); param 548 drivers/hwmon/asc7621.c newval = config | (currval & ~(param->mask[0] << param->shift[0])); param 549 drivers/hwmon/asc7621.c newval = altbit | (newval & ~(param->mask[1] << param->shift[1])); param 550 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; param 551 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); param 563 drivers/hwmon/asc7621.c config = (data->reg[param->msb[0]] >> param->shift[0]) & param->mask[0]; param 564 drivers/hwmon/asc7621.c altbit = (data->reg[param->msb[1]] >> param->shift[1]) & param->mask[1]; param 565 drivers/hwmon/asc7621.c minoff = (data->reg[param->msb[2]] >> param->shift[2]) & param->mask[2]; param 621 drivers/hwmon/asc7621.c config = (config & param->mask[0]) << param->shift[0]; param 622 drivers/hwmon/asc7621.c altbit = (altbit & param->mask[1]) << param->shift[1]; param 623 drivers/hwmon/asc7621.c currval = read_byte(client, param->msb[0]); param 624 drivers/hwmon/asc7621.c newval = config | (currval & ~(param->mask[0] << param->shift[0])); param 625 drivers/hwmon/asc7621.c newval = altbit | (newval & ~(param->mask[1] << param->shift[1])); param 626 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; param 627 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); param 629 drivers/hwmon/asc7621.c minoff = (minoff & param->mask[2]) << param->shift[2]; param 630 drivers/hwmon/asc7621.c currval = read_byte(client, param->msb[2]); param 632 drivers/hwmon/asc7621.c minoff | (currval & ~(param->mask[2] << param->shift[2])); param 633 drivers/hwmon/asc7621.c data->reg[param->msb[2]] = newval; param 634 drivers/hwmon/asc7621.c write_byte(client, param->msb[2], newval); param 650 drivers/hwmon/asc7621.c (data->reg[param->msb[0]] >> param->shift[0]) & param->mask[0]; param 678 drivers/hwmon/asc7621.c newval = (newval & param->mask[0]) << param->shift[0]; param 681 drivers/hwmon/asc7621.c currval = read_byte(client, param->msb[0]); param 682 drivers/hwmon/asc7621.c newval |= (currval & ~(param->mask[0] << param->shift[0])); param 683 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; param 684 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); param 698 drivers/hwmon/asc7621.c (data->reg[param->msb[0]] >> param->shift[0]) & param->mask[0]; param 727 drivers/hwmon/asc7621.c newval = (newval & param->mask[0]) << param->shift[0]; param 730 drivers/hwmon/asc7621.c currval = read_byte(client, param->msb[0]); param 731 drivers/hwmon/asc7621.c newval |= (currval & ~(param->mask[0] << param->shift[0])); param 732 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; param 733 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); param 747 drivers/hwmon/asc7621.c (data->reg[param->msb[0]] >> param->shift[0]) & param->mask[0]; param 775 drivers/hwmon/asc7621.c newval = (newval & param->mask[0]) << param->shift[0]; param 778 drivers/hwmon/asc7621.c currval = read_byte(client, param->msb[0]); param 779 drivers/hwmon/asc7621.c newval |= (currval & ~(param->mask[0] << param->shift[0])); param 780 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; param 781 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); param 223 drivers/i2c/busses/i2c-designware-platdrv.c u32 param, tx_fifo_depth, rx_fifo_depth; param 229 drivers/i2c/busses/i2c-designware-platdrv.c param = i2c_dw_read_comp_param(dev); param 230 drivers/i2c/busses/i2c-designware-platdrv.c tx_fifo_depth = ((param >> 16) & 0xff) + 1; param 231 drivers/i2c/busses/i2c-designware-platdrv.c rx_fifo_depth = ((param >> 8) & 0xff) + 1; param 164 drivers/i2c/busses/i2c-mxs.c static void mxs_i2c_dma_irq_callback(void *param) param 166 drivers/i2c/busses/i2c-mxs.c struct mxs_i2c_dev *i2c = param; param 315 drivers/ide/au1xxx-ide.c static void auide_ddma_tx_callback(int irq, void *param) param 319 drivers/ide/au1xxx-ide.c static void auide_ddma_rx_callback(int irq, void *param) param 49 drivers/iio/accel/cros_ec_accel_legacy.c sensor_num = st->param.info.sensor_num; param 50 drivers/iio/accel/cros_ec_accel_legacy.c st->param.cmd = MOTIONSENSE_CMD_DUMP; param 51 drivers/iio/accel/cros_ec_accel_legacy.c st->param.dump.max_sensor_count = CROS_EC_SENSOR_LEGACY_NUM; param 55 drivers/iio/accel/cros_ec_accel_legacy.c st->param.info.sensor_num = sensor_num; param 263 drivers/iio/adc/meson_saradc.c const struct meson_sar_adc_param *param; param 270 drivers/iio/adc/meson_saradc.c const struct meson_sar_adc_param *param; param 319 drivers/iio/adc/meson_saradc.c return clamp(tmp, 0, (1 << priv->param->resolution) - 1); param 371 drivers/iio/adc/meson_saradc.c fifo_val &= GENMASK(priv->param->resolution - 1, 0); param 497 drivers/iio/adc/meson_saradc.c if (priv->param->has_bl30_integration) { param 525 drivers/iio/adc/meson_saradc.c if (priv->param->has_bl30_integration) param 615 drivers/iio/adc/meson_saradc.c *val2 = priv->param->resolution; param 619 drivers/iio/adc/meson_saradc.c *val = priv->param->temperature_multiplier; param 620 drivers/iio/adc/meson_saradc.c *val2 = priv->param->temperature_divider; param 641 drivers/iio/adc/meson_saradc.c priv->param->temperature_divider, param 642 drivers/iio/adc/meson_saradc.c priv->param->temperature_multiplier); param 751 drivers/iio/adc/meson_saradc.c trimming_bits = priv->param->temperature_trimming_bits; param 781 drivers/iio/adc/meson_saradc.c if (priv->param->has_bl30_integration) { param 873 drivers/iio/adc/meson_saradc.c if (priv->param->temperature_trimming_bits == 5) { param 902 drivers/iio/adc/meson_saradc.c ret = clk_set_rate(priv->adc_clk, priv->param->clock_rate); param 915 drivers/iio/adc/meson_saradc.c const struct meson_sar_adc_param *param = priv->param; param 918 drivers/iio/adc/meson_saradc.c if (param->bandgap_reg == MESON_SAR_ADC_REG11) param 923 drivers/iio/adc/meson_saradc.c regmap_update_bits(priv->regmap, param->bandgap_reg, enable_mask, param 1035 drivers/iio/adc/meson_saradc.c nominal0 = (1 << priv->param->resolution) / 4; param 1036 drivers/iio/adc/meson_saradc.c nominal1 = (1 << priv->param->resolution) * 3 / 4; param 1113 drivers/iio/adc/meson_saradc.c .param = &meson_sar_adc_meson8_param, param 1118 drivers/iio/adc/meson_saradc.c .param = &meson_sar_adc_meson8b_param, param 1123 drivers/iio/adc/meson_saradc.c .param = &meson_sar_adc_meson8b_param, param 1128 drivers/iio/adc/meson_saradc.c .param = &meson_sar_adc_gxbb_param, param 1133 drivers/iio/adc/meson_saradc.c .param = &meson_sar_adc_gxl_param, param 1138 drivers/iio/adc/meson_saradc.c .param = &meson_sar_adc_gxl_param, param 1143 drivers/iio/adc/meson_saradc.c .param = &meson_sar_adc_gxl_param, param 1148 drivers/iio/adc/meson_saradc.c .param = &meson_sar_adc_gxl_param, param 1209 drivers/iio/adc/meson_saradc.c priv->param = match_data->param; param 1223 drivers/iio/adc/meson_saradc.c priv->param->regmap_config); param 1283 drivers/iio/adc/meson_saradc.c if (priv->param->temperature_trimming_bits) { param 233 drivers/iio/adc/ti_am335x_adc.c static void tiadc_dma_rx_complete(void *param) param 235 drivers/iio/adc/ti_am335x_adc.c struct iio_dev *indio_dev = param; param 56 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c st->param.cmd = MOTIONSENSE_CMD_LID_ANGLE; param 58 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; param 59 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_offset.flags = 0; param 73 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_SCALE; param 74 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_offset.flags = 0; param 98 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; param 99 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_range.data = EC_MOTION_SENSE_NO_VALUE; param 166 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; param 167 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_offset.flags = param 170 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_offset.offset[i] = param 172 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_offset.temp = param 181 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_SCALE; param 182 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_offset.flags = param 185 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_scale.scale[i] = param 187 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_scale.temp = param 197 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; param 198 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_range.data = val; param 201 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_range.roundup = 1; param 127 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c state->param.cmd = MOTIONSENSE_CMD_INFO; param 128 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c state->param.info.sensor_num = sensor_platform->sensor_num; param 171 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c memcpy(state->msg->data, &state->param, sizeof(state->param)); param 200 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.cmd = MOTIONSENSE_CMD_PERFORM_CALIB; param 220 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c return snprintf(buf, PAGE_SIZE, "%d\n", st->param.info.sensor_num); param 269 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c (1 + idx + st->param.info.sensor_num * param 431 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.cmd = MOTIONSENSE_CMD_DATA; param 490 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.cmd = MOTIONSENSE_CMD_EC_RATE; param 491 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.ec_rate.data = param 502 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.cmd = MOTIONSENSE_CMD_SENSOR_ODR; param 503 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.sensor_odr.data = param 551 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.cmd = MOTIONSENSE_CMD_SENSOR_ODR; param 552 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.sensor_odr.data = val; param 555 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.sensor_odr.roundup = 1; param 560 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.cmd = MOTIONSENSE_CMD_EC_RATE; param 561 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.ec_rate.data = val; param 590 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.cmd = MOTIONSENSE_CMD_EC_RATE; param 591 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.ec_rate.data = CROS_EC_MIN_SUSPEND_SAMPLING_FREQUENCY; param 608 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.cmd = MOTIONSENSE_CMD_EC_RATE; param 609 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->param.ec_rate.data = st->curr_sampl_freq; param 82 drivers/iio/light/cros_ec_light_prox.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; param 83 drivers/iio/light/cros_ec_light_prox.c st->core.param.sensor_offset.flags = 0; param 102 drivers/iio/light/cros_ec_light_prox.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; param 103 drivers/iio/light/cros_ec_light_prox.c st->core.param.sensor_range.data = EC_MOTION_SENSE_NO_VALUE; param 139 drivers/iio/light/cros_ec_light_prox.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; param 140 drivers/iio/light/cros_ec_light_prox.c st->core.param.sensor_offset.flags = MOTION_SENSE_SET_OFFSET; param 141 drivers/iio/light/cros_ec_light_prox.c st->core.param.sensor_offset.offset[0] = param 143 drivers/iio/light/cros_ec_light_prox.c st->core.param.sensor_offset.temp = param 148 drivers/iio/light/cros_ec_light_prox.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; param 149 drivers/iio/light/cros_ec_light_prox.c st->core.param.sensor_range.data = (val << 16) | (val2 / 100); param 447 drivers/iio/light/si1133.c static int si1133_param_set(struct si1133_data *data, u8 param, u32 value) param 455 drivers/iio/light/si1133.c (param & SI1133_CMD_PARAM_MASK)); param 458 drivers/iio/light/si1133.c static int si1133_param_query(struct si1133_data *data, u8 param, u32 *result) param 461 drivers/iio/light/si1133.c (param & SI1133_CMD_PARAM_MASK)); param 308 drivers/iio/light/si1145.c static int si1145_param_update(struct si1145_data *data, u8 op, u8 param, param 318 drivers/iio/light/si1145.c return si1145_command(data, op | (param & 0x1F)); param 321 drivers/iio/light/si1145.c static int si1145_param_set(struct si1145_data *data, u8 param, u8 value) param 323 drivers/iio/light/si1145.c return si1145_param_update(data, SI1145_CMD_PARAM_SET, param, value); param 327 drivers/iio/light/si1145.c static int si1145_param_query(struct si1145_data *data, u8 param) param 331 drivers/iio/light/si1145.c ret = si1145_command(data, SI1145_CMD_PARAM_QUERY | (param & 0x1F)); param 59 drivers/iio/pressure/cros_ec_baro.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; param 60 drivers/iio/pressure/cros_ec_baro.c st->core.param.sensor_range.data = EC_MOTION_SENSE_NO_VALUE; param 94 drivers/iio/pressure/cros_ec_baro.c st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; param 95 drivers/iio/pressure/cros_ec_baro.c st->core.param.sensor_range.data = val; param 98 drivers/iio/pressure/cros_ec_baro.c st->core.param.sensor_range.roundup = 1; param 841 drivers/infiniband/core/cm.c struct ib_cm_sidr_rep_param param; param 843 drivers/infiniband/core/cm.c memset(¶m, 0, sizeof param); param 844 drivers/infiniband/core/cm.c param.status = status; param 845 drivers/infiniband/core/cm.c ib_send_cm_sidr_rep(&cm_id_priv->id, ¶m); param 1274 drivers/infiniband/core/cm.c struct ib_cm_req_param *param) param 1276 drivers/infiniband/core/cm.c struct sa_path_rec *pri_path = param->primary_path; param 1277 drivers/infiniband/core/cm.c struct sa_path_rec *alt_path = param->alternate_path; param 1288 drivers/infiniband/core/cm.c req_msg->service_id = param->service_id; param 1290 drivers/infiniband/core/cm.c cm_req_set_local_qpn(req_msg, cpu_to_be32(param->qp_num)); param 1291 drivers/infiniband/core/cm.c cm_req_set_init_depth(req_msg, param->initiator_depth); param 1293 drivers/infiniband/core/cm.c param->remote_cm_response_timeout); param 1294 drivers/infiniband/core/cm.c cm_req_set_qp_type(req_msg, param->qp_type); param 1295 drivers/infiniband/core/cm.c cm_req_set_flow_ctrl(req_msg, param->flow_control); param 1296 drivers/infiniband/core/cm.c cm_req_set_starting_psn(req_msg, cpu_to_be32(param->starting_psn)); param 1298 drivers/infiniband/core/cm.c param->local_cm_response_timeout); param 1299 drivers/infiniband/core/cm.c req_msg->pkey = param->primary_path->pkey; param 1300 drivers/infiniband/core/cm.c cm_req_set_path_mtu(req_msg, param->primary_path->mtu); param 1301 drivers/infiniband/core/cm.c cm_req_set_max_cm_retries(req_msg, param->max_cm_retries); param 1303 drivers/infiniband/core/cm.c if (param->qp_type != IB_QPT_XRC_INI) { param 1304 drivers/infiniband/core/cm.c cm_req_set_resp_res(req_msg, param->responder_resources); param 1305 drivers/infiniband/core/cm.c cm_req_set_retry_count(req_msg, param->retry_count); param 1306 drivers/infiniband/core/cm.c cm_req_set_rnr_retry_count(req_msg, param->rnr_retry_count); param 1307 drivers/infiniband/core/cm.c cm_req_set_srq(req_msg, param->srq); param 1374 drivers/infiniband/core/cm.c if (param->private_data && param->private_data_len) param 1375 drivers/infiniband/core/cm.c memcpy(req_msg->private_data, param->private_data, param 1376 drivers/infiniband/core/cm.c param->private_data_len); param 1379 drivers/infiniband/core/cm.c static int cm_validate_req_param(struct ib_cm_req_param *param) param 1382 drivers/infiniband/core/cm.c if (param->peer_to_peer) param 1385 drivers/infiniband/core/cm.c if (!param->primary_path) param 1388 drivers/infiniband/core/cm.c if (param->qp_type != IB_QPT_RC && param->qp_type != IB_QPT_UC && param 1389 drivers/infiniband/core/cm.c param->qp_type != IB_QPT_XRC_INI) param 1392 drivers/infiniband/core/cm.c if (param->private_data && param 1393 drivers/infiniband/core/cm.c param->private_data_len > IB_CM_REQ_PRIVATE_DATA_SIZE) param 1396 drivers/infiniband/core/cm.c if (param->alternate_path && param 1397 drivers/infiniband/core/cm.c (param->alternate_path->pkey != param->primary_path->pkey || param 1398 drivers/infiniband/core/cm.c param->alternate_path->mtu != param->primary_path->mtu)) param 1405 drivers/infiniband/core/cm.c struct ib_cm_req_param *param) param 1412 drivers/infiniband/core/cm.c ret = cm_validate_req_param(param); param 1433 drivers/infiniband/core/cm.c ret = cm_init_av_by_path(param->primary_path, param 1434 drivers/infiniband/core/cm.c param->ppath_sgid_attr, &cm_id_priv->av, param 1438 drivers/infiniband/core/cm.c if (param->alternate_path) { param 1439 drivers/infiniband/core/cm.c ret = cm_init_av_by_path(param->alternate_path, NULL, param 1444 drivers/infiniband/core/cm.c cm_id->service_id = param->service_id; param 1447 drivers/infiniband/core/cm.c param->primary_path->packet_life_time) * 2 + param 1449 drivers/infiniband/core/cm.c param->remote_cm_response_timeout); param 1450 drivers/infiniband/core/cm.c cm_id_priv->max_cm_retries = param->max_cm_retries; param 1451 drivers/infiniband/core/cm.c cm_id_priv->initiator_depth = param->initiator_depth; param 1452 drivers/infiniband/core/cm.c cm_id_priv->responder_resources = param->responder_resources; param 1453 drivers/infiniband/core/cm.c cm_id_priv->retry_count = param->retry_count; param 1454 drivers/infiniband/core/cm.c cm_id_priv->path_mtu = param->primary_path->mtu; param 1455 drivers/infiniband/core/cm.c cm_id_priv->pkey = param->primary_path->pkey; param 1456 drivers/infiniband/core/cm.c cm_id_priv->qp_type = param->qp_type; param 1463 drivers/infiniband/core/cm.c cm_format_req(req_msg, cm_id_priv, param); param 1682 drivers/infiniband/core/cm.c struct ib_cm_req_event_param *param; param 1685 drivers/infiniband/core/cm.c param = &work->cm_event.param.req_rcvd; param 1686 drivers/infiniband/core/cm.c param->listen_id = listen_id; param 1687 drivers/infiniband/core/cm.c param->bth_pkey = cm_get_bth_pkey(work); param 1688 drivers/infiniband/core/cm.c param->port = cm_id_priv->av.port->port_num; param 1689 drivers/infiniband/core/cm.c param->primary_path = &work->path[0]; param 1690 drivers/infiniband/core/cm.c cm_opa_to_ib_sgid(work, param->primary_path); param 1692 drivers/infiniband/core/cm.c param->alternate_path = &work->path[1]; param 1693 drivers/infiniband/core/cm.c cm_opa_to_ib_sgid(work, param->alternate_path); param 1695 drivers/infiniband/core/cm.c param->alternate_path = NULL; param 1697 drivers/infiniband/core/cm.c param->remote_ca_guid = req_msg->local_ca_guid; param 1698 drivers/infiniband/core/cm.c param->remote_qkey = be32_to_cpu(req_msg->local_qkey); param 1699 drivers/infiniband/core/cm.c param->remote_qpn = be32_to_cpu(cm_req_get_local_qpn(req_msg)); param 1700 drivers/infiniband/core/cm.c param->qp_type = cm_req_get_qp_type(req_msg); param 1701 drivers/infiniband/core/cm.c param->starting_psn = be32_to_cpu(cm_req_get_starting_psn(req_msg)); param 1702 drivers/infiniband/core/cm.c param->responder_resources = cm_req_get_init_depth(req_msg); param 1703 drivers/infiniband/core/cm.c param->initiator_depth = cm_req_get_resp_res(req_msg); param 1704 drivers/infiniband/core/cm.c param->local_cm_response_timeout = param 1706 drivers/infiniband/core/cm.c param->flow_control = cm_req_get_flow_ctrl(req_msg); param 1707 drivers/infiniband/core/cm.c param->remote_cm_response_timeout = param 1709 drivers/infiniband/core/cm.c param->retry_count = cm_req_get_retry_count(req_msg); param 1710 drivers/infiniband/core/cm.c param->rnr_retry_count = cm_req_get_rnr_retry_count(req_msg); param 1711 drivers/infiniband/core/cm.c param->srq = cm_req_get_srq(req_msg); param 1712 drivers/infiniband/core/cm.c param->ppath_sgid_attr = cm_id_priv->av.ah_attr.grh.sgid_attr; param 2062 drivers/infiniband/core/cm.c struct ib_cm_rep_param *param) param 2067 drivers/infiniband/core/cm.c cm_rep_set_starting_psn(rep_msg, cpu_to_be32(param->starting_psn)); param 2068 drivers/infiniband/core/cm.c rep_msg->resp_resources = param->responder_resources; param 2071 drivers/infiniband/core/cm.c cm_rep_set_failover(rep_msg, param->failover_accepted); param 2072 drivers/infiniband/core/cm.c cm_rep_set_rnr_retry_count(rep_msg, param->rnr_retry_count); param 2076 drivers/infiniband/core/cm.c rep_msg->initiator_depth = param->initiator_depth; param 2077 drivers/infiniband/core/cm.c cm_rep_set_flow_ctrl(rep_msg, param->flow_control); param 2078 drivers/infiniband/core/cm.c cm_rep_set_srq(rep_msg, param->srq); param 2079 drivers/infiniband/core/cm.c cm_rep_set_local_qpn(rep_msg, cpu_to_be32(param->qp_num)); param 2082 drivers/infiniband/core/cm.c cm_rep_set_local_eecn(rep_msg, cpu_to_be32(param->qp_num)); param 2085 drivers/infiniband/core/cm.c if (param->private_data && param->private_data_len) param 2086 drivers/infiniband/core/cm.c memcpy(rep_msg->private_data, param->private_data, param 2087 drivers/infiniband/core/cm.c param->private_data_len); param 2091 drivers/infiniband/core/cm.c struct ib_cm_rep_param *param) param 2099 drivers/infiniband/core/cm.c if (param->private_data && param 2100 drivers/infiniband/core/cm.c param->private_data_len > IB_CM_REP_PRIVATE_DATA_SIZE) param 2118 drivers/infiniband/core/cm.c cm_format_rep(rep_msg, cm_id_priv, param); param 2131 drivers/infiniband/core/cm.c cm_id_priv->initiator_depth = param->initiator_depth; param 2132 drivers/infiniband/core/cm.c cm_id_priv->responder_resources = param->responder_resources; param 2134 drivers/infiniband/core/cm.c cm_id_priv->local_qpn = cpu_to_be32(param->qp_num & 0xFFFFFF); param 2210 drivers/infiniband/core/cm.c struct ib_cm_rep_event_param *param; param 2213 drivers/infiniband/core/cm.c param = &work->cm_event.param.rep_rcvd; param 2214 drivers/infiniband/core/cm.c param->remote_ca_guid = rep_msg->local_ca_guid; param 2215 drivers/infiniband/core/cm.c param->remote_qkey = be32_to_cpu(rep_msg->local_qkey); param 2216 drivers/infiniband/core/cm.c param->remote_qpn = be32_to_cpu(cm_rep_get_qpn(rep_msg, qp_type)); param 2217 drivers/infiniband/core/cm.c param->starting_psn = be32_to_cpu(cm_rep_get_starting_psn(rep_msg)); param 2218 drivers/infiniband/core/cm.c param->responder_resources = rep_msg->initiator_depth; param 2219 drivers/infiniband/core/cm.c param->initiator_depth = rep_msg->resp_resources; param 2220 drivers/infiniband/core/cm.c param->target_ack_delay = cm_rep_get_target_ack_delay(rep_msg); param 2221 drivers/infiniband/core/cm.c param->failover_accepted = cm_rep_get_failover(rep_msg); param 2222 drivers/infiniband/core/cm.c param->flow_control = cm_rep_get_flow_ctrl(rep_msg); param 2223 drivers/infiniband/core/cm.c param->rnr_retry_count = cm_rep_get_rnr_retry_count(rep_msg); param 2224 drivers/infiniband/core/cm.c param->srq = cm_rep_get_srq(rep_msg); param 2795 drivers/infiniband/core/cm.c struct ib_cm_rej_event_param *param; param 2798 drivers/infiniband/core/cm.c param = &work->cm_event.param.rej_rcvd; param 2799 drivers/infiniband/core/cm.c param->ari = rej_msg->ari; param 2800 drivers/infiniband/core/cm.c param->ari_length = cm_rej_get_reject_info_len(rej_msg); param 2801 drivers/infiniband/core/cm.c param->reason = __be16_to_cpu(rej_msg->reason); param 3015 drivers/infiniband/core/cm.c work->cm_event.param.mra_rcvd.service_timeout = param 3220 drivers/infiniband/core/cm.c struct ib_cm_lap_event_param *param; param 3238 drivers/infiniband/core/cm.c param = &work->cm_event.param.lap_rcvd; param 3244 drivers/infiniband/core/cm.c param->alternate_path = &work->path[0]; param 3245 drivers/infiniband/core/cm.c cm_format_path_from_lap(cm_id_priv, param->alternate_path, lap_msg); param 3288 drivers/infiniband/core/cm.c ret = cm_init_av_by_path(param->alternate_path, NULL, param 3396 drivers/infiniband/core/cm.c work->cm_event.param.apr_rcvd.ap_status = apr_msg->ap_status; param 3397 drivers/infiniband/core/cm.c work->cm_event.param.apr_rcvd.apr_info = &apr_msg->info; param 3398 drivers/infiniband/core/cm.c work->cm_event.param.apr_rcvd.info_len = apr_msg->info_length; param 3467 drivers/infiniband/core/cm.c struct ib_cm_sidr_req_param *param) param 3472 drivers/infiniband/core/cm.c sidr_req_msg->pkey = param->path->pkey; param 3473 drivers/infiniband/core/cm.c sidr_req_msg->service_id = param->service_id; param 3475 drivers/infiniband/core/cm.c if (param->private_data && param->private_data_len) param 3476 drivers/infiniband/core/cm.c memcpy(sidr_req_msg->private_data, param->private_data, param 3477 drivers/infiniband/core/cm.c param->private_data_len); param 3481 drivers/infiniband/core/cm.c struct ib_cm_sidr_req_param *param) param 3488 drivers/infiniband/core/cm.c if (!param->path || (param->private_data && param 3489 drivers/infiniband/core/cm.c param->private_data_len > IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE)) param 3493 drivers/infiniband/core/cm.c ret = cm_init_av_by_path(param->path, param->sgid_attr, param 3499 drivers/infiniband/core/cm.c cm_id->service_id = param->service_id; param 3501 drivers/infiniband/core/cm.c cm_id_priv->timeout_ms = param->timeout_ms; param 3502 drivers/infiniband/core/cm.c cm_id_priv->max_cm_retries = param->max_cm_retries; param 3508 drivers/infiniband/core/cm.c param); param 3536 drivers/infiniband/core/cm.c struct ib_cm_sidr_req_event_param *param; param 3540 drivers/infiniband/core/cm.c param = &work->cm_event.param.sidr_req_rcvd; param 3541 drivers/infiniband/core/cm.c param->pkey = __be16_to_cpu(sidr_req_msg->pkey); param 3542 drivers/infiniband/core/cm.c param->listen_id = listen_id; param 3543 drivers/infiniband/core/cm.c param->service_id = sidr_req_msg->service_id; param 3544 drivers/infiniband/core/cm.c param->bth_pkey = cm_get_bth_pkey(work); param 3545 drivers/infiniband/core/cm.c param->port = work->port->port_num; param 3546 drivers/infiniband/core/cm.c param->sgid_attr = rx_cm_id->av.ah_attr.grh.sgid_attr; param 3615 drivers/infiniband/core/cm.c struct ib_cm_sidr_rep_param *param) param 3620 drivers/infiniband/core/cm.c sidr_rep_msg->status = param->status; param 3621 drivers/infiniband/core/cm.c cm_sidr_rep_set_qpn(sidr_rep_msg, cpu_to_be32(param->qp_num)); param 3623 drivers/infiniband/core/cm.c sidr_rep_msg->qkey = cpu_to_be32(param->qkey); param 3625 drivers/infiniband/core/cm.c if (param->info && param->info_length) param 3626 drivers/infiniband/core/cm.c memcpy(sidr_rep_msg->info, param->info, param->info_length); param 3628 drivers/infiniband/core/cm.c if (param->private_data && param->private_data_len) param 3629 drivers/infiniband/core/cm.c memcpy(sidr_rep_msg->private_data, param->private_data, param 3630 drivers/infiniband/core/cm.c param->private_data_len); param 3634 drivers/infiniband/core/cm.c struct ib_cm_sidr_rep_param *param) param 3641 drivers/infiniband/core/cm.c if ((param->info && param->info_length > IB_CM_SIDR_REP_INFO_LENGTH) || param 3642 drivers/infiniband/core/cm.c (param->private_data && param 3643 drivers/infiniband/core/cm.c param->private_data_len > IB_CM_SIDR_REP_PRIVATE_DATA_SIZE)) param 3658 drivers/infiniband/core/cm.c param); param 3685 drivers/infiniband/core/cm.c struct ib_cm_sidr_rep_event_param *param; param 3689 drivers/infiniband/core/cm.c param = &work->cm_event.param.sidr_rep_rcvd; param 3690 drivers/infiniband/core/cm.c param->status = sidr_rep_msg->status; param 3691 drivers/infiniband/core/cm.c param->qkey = be32_to_cpu(sidr_rep_msg->qkey); param 3692 drivers/infiniband/core/cm.c param->qpn = be32_to_cpu(cm_sidr_rep_get_qpn(sidr_rep_msg)); param 3693 drivers/infiniband/core/cm.c param->info = &sidr_rep_msg->info; param 3694 drivers/infiniband/core/cm.c param->info_len = sidr_rep_msg->info_length; param 3695 drivers/infiniband/core/cm.c param->sgid_attr = cm_id_priv->av.ah_attr.grh.sgid_attr; param 3769 drivers/infiniband/core/cm.c cm_event.param.send_status = wc_status; param 139 drivers/infiniband/core/cma.c *data_len = ev->param.conn.private_data_len; param 140 drivers/infiniband/core/cma.c p = ev->param.conn.private_data; param 1359 drivers/infiniband/core/cma.c ib_event->param.req_rcvd.primary_path); param 1372 drivers/infiniband/core/cma.c &ib_event->param.req_rcvd; param 1374 drivers/infiniband/core/cma.c &ib_event->param.sidr_req_rcvd; param 1492 drivers/infiniband/core/cma.c sgid_attr = ib_event->param.req_rcvd.ppath_sgid_attr; param 1494 drivers/infiniband/core/cma.c sgid_attr = ib_event->param.sidr_req_rcvd.sgid_attr; param 1910 drivers/infiniband/core/cma.c event->param.conn.private_data = private_data; param 1911 drivers/infiniband/core/cma.c event->param.conn.private_data_len = IB_CM_REP_PRIVATE_DATA_SIZE; param 1912 drivers/infiniband/core/cma.c event->param.conn.responder_resources = rep_data->responder_resources; param 1913 drivers/infiniband/core/cma.c event->param.conn.initiator_depth = rep_data->initiator_depth; param 1914 drivers/infiniband/core/cma.c event->param.conn.flow_control = rep_data->flow_control; param 1915 drivers/infiniband/core/cma.c event->param.conn.rnr_retry_count = rep_data->rnr_retry_count; param 1916 drivers/infiniband/core/cma.c event->param.conn.srq = rep_data->srq; param 1917 drivers/infiniband/core/cma.c event->param.conn.qp_num = rep_data->remote_qpn; param 1951 drivers/infiniband/core/cma.c cma_set_rep_event_data(&event, &ib_event->param.rep_rcvd, param 1975 drivers/infiniband/core/cma.c ib_event->param.rej_rcvd.reason)); param 1977 drivers/infiniband/core/cma.c event.status = ib_event->param.rej_rcvd.reason; param 1979 drivers/infiniband/core/cma.c event.param.conn.private_data = ib_event->private_data; param 1980 drivers/infiniband/core/cma.c event.param.conn.private_data_len = IB_CM_REJ_PRIVATE_DATA_SIZE; param 2012 drivers/infiniband/core/cma.c struct sa_path_rec *path = ib_event->param.req_rcvd.primary_path; param 2014 drivers/infiniband/core/cma.c ib_event->param.req_rcvd.primary_path->service_id; param 2020 drivers/infiniband/core/cma.c listen_id->ps, ib_event->param.req_rcvd.qp_type, param 2032 drivers/infiniband/core/cma.c rt->num_paths = ib_event->param.req_rcvd.alternate_path ? 2 : 1; param 2040 drivers/infiniband/core/cma.c rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path; param 2089 drivers/infiniband/core/cma.c ib_event->param.sidr_req_rcvd.service_id)) param 2114 drivers/infiniband/core/cma.c event->param.conn.private_data = private_data + offset; param 2115 drivers/infiniband/core/cma.c event->param.conn.private_data_len = IB_CM_REQ_PRIVATE_DATA_SIZE - offset; param 2116 drivers/infiniband/core/cma.c event->param.conn.responder_resources = req_data->responder_resources; param 2117 drivers/infiniband/core/cma.c event->param.conn.initiator_depth = req_data->initiator_depth; param 2118 drivers/infiniband/core/cma.c event->param.conn.flow_control = req_data->flow_control; param 2119 drivers/infiniband/core/cma.c event->param.conn.retry_count = req_data->retry_count; param 2120 drivers/infiniband/core/cma.c event->param.conn.rnr_retry_count = req_data->rnr_retry_count; param 2121 drivers/infiniband/core/cma.c event->param.conn.srq = req_data->srq; param 2122 drivers/infiniband/core/cma.c event->param.conn.qp_num = req_data->remote_qpn; param 2129 drivers/infiniband/core/cma.c (ib_event->param.req_rcvd.qp_type == id->qp_type)) || param 2164 drivers/infiniband/core/cma.c event.param.ud.private_data = ib_event->private_data + offset; param 2165 drivers/infiniband/core/cma.c event.param.ud.private_data_len = param 2169 drivers/infiniband/core/cma.c cma_set_req_event_data(&event, &ib_event->param.req_rcvd, param 2289 drivers/infiniband/core/cma.c event.param.conn.initiator_depth = iw_event->ird; param 2290 drivers/infiniband/core/cma.c event.param.conn.responder_resources = iw_event->ord; param 2306 drivers/infiniband/core/cma.c event.param.conn.initiator_depth = iw_event->ird; param 2307 drivers/infiniband/core/cma.c event.param.conn.responder_resources = iw_event->ord; param 2314 drivers/infiniband/core/cma.c event.param.conn.private_data = iw_event->private_data; param 2315 drivers/infiniband/core/cma.c event.param.conn.private_data_len = iw_event->private_data_len; param 2342 drivers/infiniband/core/cma.c event.param.conn.private_data = iw_event->private_data; param 2343 drivers/infiniband/core/cma.c event.param.conn.private_data_len = iw_event->private_data_len; param 2344 drivers/infiniband/core/cma.c event.param.conn.initiator_depth = iw_event->ird; param 2345 drivers/infiniband/core/cma.c event.param.conn.responder_resources = iw_event->ord; param 3677 drivers/infiniband/core/cma.c &ib_event->param.sidr_rep_rcvd; param 3690 drivers/infiniband/core/cma.c event.param.ud.private_data = ib_event->private_data; param 3691 drivers/infiniband/core/cma.c event.param.ud.private_data_len = IB_CM_SIDR_REP_PRIVATE_DATA_SIZE; param 3694 drivers/infiniband/core/cma.c event.status = ib_event->param.sidr_rep_rcvd.status; param 3709 drivers/infiniband/core/cma.c &event.param.ud.ah_attr, param 3711 drivers/infiniband/core/cma.c event.param.ud.qp_num = rep->qpn; param 3712 drivers/infiniband/core/cma.c event.param.ud.qkey = rep->qkey; param 3724 drivers/infiniband/core/cma.c rdma_destroy_ah_attr(&event.param.ud.ah_attr); param 4178 drivers/infiniband/core/cma.c event.param.ud.private_data = mc->context; param 4193 drivers/infiniband/core/cma.c &event.param.ud.ah_attr); param 4197 drivers/infiniband/core/cma.c event.param.ud.qp_num = 0xFFFFFF; param 4198 drivers/infiniband/core/cma.c event.param.ud.qkey = be32_to_cpu(multicast->rec.qkey); param 4206 drivers/infiniband/core/cma.c rdma_destroy_ah_attr(&event.param.ud.ah_attr); param 137 drivers/infiniband/core/counters.c struct auto_mode_param *param = &counter->mode.param; param 143 drivers/infiniband/core/counters.c param->qp_type = qp->qp_type; param 149 drivers/infiniband/core/counters.c struct auto_mode_param *param = &counter->mode.param; param 160 drivers/infiniband/core/counters.c match &= (param->qp_type == qp->qp_type); param 661 drivers/infiniband/core/nldev.c nla_put_u8(msg, RDMA_NLDEV_ATTR_RES_TYPE, m->param.qp_type)) param 291 drivers/infiniband/core/ucma.c event->param.ud.private_data; param 357 drivers/infiniband/core/ucma.c ucma_copy_ud_event(cm_id->device, &uevent->resp.param.ud, param 358 drivers/infiniband/core/ucma.c &event->param.ud); param 360 drivers/infiniband/core/ucma.c ucma_copy_conn_event(&uevent->resp.param.conn, param 361 drivers/infiniband/core/ucma.c &event->param.conn); param 2823 drivers/infiniband/core/verbs.c netdev, params.param); param 518 drivers/infiniband/hw/cxgb3/iwch_cm.c req->param = htonl(V_TX_PORT(ep->l2t->smt_idx) | param 569 drivers/infiniband/hw/cxgb3/iwch_cm.c req->param = htonl(V_TX_PORT(ep->l2t->smt_idx) | param 620 drivers/infiniband/hw/cxgb3/iwch_cm.c req->param = htonl(V_TX_PORT(ep->l2t->smt_idx) | param 302 drivers/infiniband/hw/hfi1/trace_tid.h struct tid_rdma_params *param), param 303 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, remote, param), param 320 drivers/infiniband/hw/hfi1/trace_tid.h __entry->param_qp = param->qp; param 321 drivers/infiniband/hw/hfi1/trace_tid.h __entry->max_len = param->max_len; param 322 drivers/infiniband/hw/hfi1/trace_tid.h __entry->jkey = param->jkey; param 323 drivers/infiniband/hw/hfi1/trace_tid.h __entry->max_read = param->max_read; param 324 drivers/infiniband/hw/hfi1/trace_tid.h __entry->max_write = param->max_write; param 325 drivers/infiniband/hw/hfi1/trace_tid.h __entry->timeout = param->timeout; param 326 drivers/infiniband/hw/hfi1/trace_tid.h __entry->urg = param->urg; param 346 drivers/infiniband/hw/hfi1/trace_tid.h struct tid_rdma_params *param), param 347 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, remote, param) param 142 drivers/infiniband/hw/i40iw/i40iw.h void *param; param 574 drivers/infiniband/hw/i40iw/i40iw_hw.c i40iw_send_syn(cqp_request->param, send_ack); param 637 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_request->param = (void *)cmnode; param 489 drivers/infiniband/hw/i40iw/i40iw_utils.c struct i40iw_sc_qp *qp = (struct i40iw_sc_qp *)cqp_request->param; param 661 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_request->param = (void *)&iwqp->sc_qp; param 1077 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_request->param = hmcfcninfo; param 1109 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_request->param = NULL; param 1142 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_request->param = NULL; param 3240 drivers/infiniband/hw/mlx4/main.c enum mlx4_dev_event event, unsigned long param) param 3261 drivers/infiniband/hw/mlx4/main.c eqe = (struct mlx4_eqe *)param; param 3263 drivers/infiniband/hw/mlx4/main.c p = (int) param; param 332 drivers/infiniband/hw/mlx5/cong.c struct mlx5_ib_dbg_param *param = filp->private_data; param 333 drivers/infiniband/hw/mlx5/cong.c int offset = param->offset; param 349 drivers/infiniband/hw/mlx5/cong.c ret = mlx5_ib_set_cc_params(param->dev, param->port_num, offset, var); param 356 drivers/infiniband/hw/mlx5/cong.c struct mlx5_ib_dbg_param *param = filp->private_data; param 357 drivers/infiniband/hw/mlx5/cong.c int offset = param->offset; param 362 drivers/infiniband/hw/mlx5/cong.c ret = mlx5_ib_get_cc_params(param->dev, param->port_num, offset, &var); param 93 drivers/infiniband/hw/mlx5/main.c void *param; param 4627 drivers/infiniband/hw/mlx5/main.c ibev.element.port_num = (u8)(unsigned long)work->param; param 4631 drivers/infiniband/hw/mlx5/main.c if (handle_port_change(ibdev, work->param, &ibev)) param 4635 drivers/infiniband/hw/mlx5/main.c handle_general_event(ibdev, work->param, &ibev); param 4658 drivers/infiniband/hw/mlx5/main.c unsigned long event, void *param) param 4669 drivers/infiniband/hw/mlx5/main.c work->param = param; param 4678 drivers/infiniband/hw/mlx5/main.c unsigned long event, void *param) param 4689 drivers/infiniband/hw/mlx5/main.c work->param = param; param 1495 drivers/infiniband/hw/mlx5/odp.c struct mlx5_eq_param param = {}; param 1516 drivers/infiniband/hw/mlx5/odp.c param = (struct mlx5_eq_param) { param 1520 drivers/infiniband/hw/mlx5/odp.c param.mask[0] = 1ull << MLX5_EVENT_TYPE_PAGE_FAULT; param 1521 drivers/infiniband/hw/mlx5/odp.c eq->core = mlx5_eq_create_generic(dev->mdev, ¶m); param 1312 drivers/infiniband/hw/mthca/mthca_cmd.c struct mthca_init_hca_param *param) param 1384 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->qpc_base, INIT_HCA_QPC_BASE_OFFSET); param 1385 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_num_qps, INIT_HCA_LOG_QP_OFFSET); param 1386 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->eec_base, INIT_HCA_EEC_BASE_OFFSET); param 1387 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_num_eecs, INIT_HCA_LOG_EEC_OFFSET); param 1388 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->srqc_base, INIT_HCA_SRQC_BASE_OFFSET); param 1389 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_num_srqs, INIT_HCA_LOG_SRQ_OFFSET); param 1390 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->cqc_base, INIT_HCA_CQC_BASE_OFFSET); param 1391 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_num_cqs, INIT_HCA_LOG_CQ_OFFSET); param 1392 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->eqpc_base, INIT_HCA_EQPC_BASE_OFFSET); param 1393 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->eeec_base, INIT_HCA_EEEC_BASE_OFFSET); param 1394 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->eqc_base, INIT_HCA_EQC_BASE_OFFSET); param 1395 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_num_eqs, INIT_HCA_LOG_EQ_OFFSET); param 1396 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->rdb_base, INIT_HCA_RDB_BASE_OFFSET); param 1402 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->mc_base, INIT_HCA_MC_BASE_OFFSET); param 1403 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_mc_entry_sz, INIT_HCA_LOG_MC_ENTRY_SZ_OFFSET); param 1404 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->mc_hash_sz, INIT_HCA_MC_HASH_SZ_OFFSET); param 1405 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_mc_table_sz, INIT_HCA_LOG_MC_TABLE_SZ_OFFSET); param 1409 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->mpt_base, INIT_HCA_MPT_BASE_OFFSET); param 1411 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->mtt_seg_sz, INIT_HCA_MTT_SEG_SZ_OFFSET); param 1412 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_mpt_sz, INIT_HCA_LOG_MPT_SZ_OFFSET); param 1413 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->mtt_base, INIT_HCA_MTT_BASE_OFFSET); param 1421 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->uar_scratch_base, INIT_HCA_UAR_SCATCH_BASE_OFFSET); param 1424 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_uarc_sz, INIT_HCA_UARC_SZ_OFFSET); param 1425 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->log_uar_sz, INIT_HCA_LOG_UAR_SZ_OFFSET); param 1426 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->uarc_base, INIT_HCA_UAR_CTX_BASE_OFFSET); param 1437 drivers/infiniband/hw/mthca/mthca_cmd.c struct mthca_init_ib_param *param, param 1467 drivers/infiniband/hw/mthca/mthca_cmd.c flags |= param->set_guid0 ? INIT_IB_FLAG_G0 : 0; param 1468 drivers/infiniband/hw/mthca/mthca_cmd.c flags |= param->set_node_guid ? INIT_IB_FLAG_NG : 0; param 1469 drivers/infiniband/hw/mthca/mthca_cmd.c flags |= param->set_si_guid ? INIT_IB_FLAG_SIG : 0; param 1470 drivers/infiniband/hw/mthca/mthca_cmd.c flags |= param->vl_cap << INIT_IB_VL_SHIFT; param 1471 drivers/infiniband/hw/mthca/mthca_cmd.c flags |= param->port_width << INIT_IB_PORT_WIDTH_SHIFT; param 1472 drivers/infiniband/hw/mthca/mthca_cmd.c flags |= param->mtu_cap << INIT_IB_MTU_SHIFT; param 1475 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->gid_cap, INIT_IB_MAX_GID_OFFSET); param 1476 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->pkey_cap, INIT_IB_MAX_PKEY_OFFSET); param 1477 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->guid0, INIT_IB_GUID0_OFFSET); param 1478 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->node_guid, INIT_IB_NODE_GUID_OFFSET); param 1479 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->si_guid, INIT_IB_SI_GUID_OFFSET); param 1498 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_SET_IB(struct mthca_dev *dev, struct mthca_set_ib_param *param, param 1520 drivers/infiniband/hw/mthca/mthca_cmd.c flags |= param->set_si_guid ? SET_IB_FLAG_SIG : 0; param 1521 drivers/infiniband/hw/mthca/mthca_cmd.c flags |= param->reset_qkey_viol ? SET_IB_FLAG_RQK : 0; param 1524 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->cap_mask, SET_IB_CAP_MASK_OFFSET); param 1525 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_PUT(inbox, param->si_guid, SET_IB_SI_GUID_OFFSET); param 269 drivers/infiniband/hw/mthca/mthca_cmd.h struct mthca_init_hca_param *param); param 271 drivers/infiniband/hw/mthca/mthca_cmd.h struct mthca_init_ib_param *param, param 275 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_SET_IB(struct mthca_dev *dev, struct mthca_set_ib_param *param, param 313 drivers/infiniband/hw/mthca/mthca_qp.c struct mthca_init_ib_param param; param 315 drivers/infiniband/hw/mthca/mthca_qp.c memset(¶m, 0, sizeof param); param 317 drivers/infiniband/hw/mthca/mthca_qp.c param.port_width = dev->limits.port_width_cap; param 318 drivers/infiniband/hw/mthca/mthca_qp.c param.vl_cap = dev->limits.vl_cap; param 319 drivers/infiniband/hw/mthca/mthca_qp.c param.mtu_cap = dev->limits.mtu_cap; param 320 drivers/infiniband/hw/mthca/mthca_qp.c param.gid_cap = dev->limits.gid_table_len; param 321 drivers/infiniband/hw/mthca/mthca_qp.c param.pkey_cap = dev->limits.pkey_table_len; param 323 drivers/infiniband/hw/mthca/mthca_qp.c err = mthca_INIT_IB(dev, ¶m, port); param 2467 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ocrdma_qp_params *param) param 2481 drivers/infiniband/hw/ocrdma/ocrdma_hw.c memcpy(param, &rsp->params, sizeof(struct ocrdma_qp_params)); param 133 drivers/infiniband/hw/ocrdma/ocrdma_hw.h struct ocrdma_qp_params *param); param 115 drivers/infiniband/sw/siw/siw_cm.h int siw_accept(struct iw_cm_id *id, struct iw_cm_conn_param *param); param 489 drivers/infiniband/ulp/ipoib/ipoib_cm.c ret = ipoib_cm_send_rep(dev, cm_id, p->qp, &event->param.req_rcvd, psn); param 698 drivers/infiniband/ulp/iser/iscsi_iser.c enum iscsi_param param, char *buf, int buflen) param 702 drivers/infiniband/ulp/iser/iscsi_iser.c switch (param) { param 735 drivers/infiniband/ulp/iser/iscsi_iser.c return iscsi_set_param(cls_conn, param, buf, buflen); param 766 drivers/infiniband/ulp/iser/iscsi_iser.c enum iscsi_param param, char *buf) param 770 drivers/infiniband/ulp/iser/iscsi_iser.c switch (param) { param 778 drivers/infiniband/ulp/iser/iscsi_iser.c param, buf); param 910 drivers/infiniband/ulp/iser/iscsi_iser.c static umode_t iser_attr_is_visible(int param_type, int param) param 914 drivers/infiniband/ulp/iser/iscsi_iser.c switch (param) { param 923 drivers/infiniband/ulp/iser/iscsi_iser.c switch (param) { param 854 drivers/infiniband/ulp/iser/iser_verbs.c iser_connected_handler(cma_id, event->param.conn.private_data); param 468 drivers/infiniband/ulp/isert/ib_isert.c struct rdma_conn_param *param) param 473 drivers/infiniband/ulp/isert/ib_isert.c isert_conn->initiator_depth = min_t(u8, param->initiator_depth, param 477 drivers/infiniband/ulp/isert/ib_isert.c if (param->private_data) { param 478 drivers/infiniband/ulp/isert/ib_isert.c u8 flags = *(u8 *)param->private_data; param 530 drivers/infiniband/ulp/isert/ib_isert.c isert_set_nego_params(isert_conn, &event->param.conn); param 2627 drivers/infiniband/ulp/srp/ib_srp.c switch (event->param.rej_rcvd.reason) { param 2629 drivers/infiniband/ulp/srp/ib_srp.c cpi = event->param.rej_rcvd.ari; param 2648 drivers/infiniband/ulp/srp/ib_srp.c memcpy(dgid->raw, event->param.rej_rcvd.ari, 16); param 2698 drivers/infiniband/ulp/srp/ib_srp.c event->param.rej_rcvd.reason); param 2780 drivers/infiniband/ulp/srp/ib_srp.c opcode = *(u8 *) event->param.conn.private_data; param 2784 drivers/infiniband/ulp/srp/ib_srp.c event->param.conn.private_data; param 2853 drivers/infiniband/ulp/srp/ib_srp.c srp_cm_rep_handler(NULL, event->param.conn.private_data, ch); param 2513 drivers/infiniband/ulp/srpt/ib_srpt.c const struct ib_cm_req_event_param *param, param 2519 drivers/infiniband/ulp/srpt/ib_srpt.c ¶m->primary_path->dgid.global.interface_id); param 2521 drivers/infiniband/ulp/srpt/ib_srpt.c return srpt_cm_req_recv(cm_id->context, cm_id, NULL, param->port, param 2522 drivers/infiniband/ulp/srpt/ib_srpt.c param->primary_path->pkey, param 2538 drivers/infiniband/ulp/srpt/ib_srpt.c if (event->param.conn.private_data_len < sizeof(*req_rdma)) param 2542 drivers/infiniband/ulp/srpt/ib_srpt.c req_rdma = event->param.conn.private_data; param 2635 drivers/infiniband/ulp/srpt/ib_srpt.c ret = srpt_ib_cm_req_recv(cm_id, &event->param.req_rcvd, param 2639 drivers/infiniband/ulp/srpt/ib_srpt.c srpt_cm_rej_recv(ch, event->param.rej_rcvd.reason, param 2690 drivers/infiniband/ulp/srpt/ib_srpt.c event->param.conn.private_data, param 2691 drivers/infiniband/ulp/srpt/ib_srpt.c event->param.conn.private_data_len); param 542 drivers/input/keyboard/atkbd.c unsigned char param; param 553 drivers/input/keyboard/atkbd.c param = i | (j << 5); param 554 drivers/input/keyboard/atkbd.c return ps2_command(&atkbd->ps2dev, ¶m, ATKBD_CMD_SETREP); param 560 drivers/input/keyboard/atkbd.c unsigned char param[2]; param 562 drivers/input/keyboard/atkbd.c param[0] = (test_bit(LED_SCROLLL, dev->led) ? 1 : 0) param 565 drivers/input/keyboard/atkbd.c if (ps2_command(&atkbd->ps2dev, param, ATKBD_CMD_SETLEDS)) param 569 drivers/input/keyboard/atkbd.c param[0] = 0; param 570 drivers/input/keyboard/atkbd.c param[1] = (test_bit(LED_COMPOSE, dev->led) ? 0x01 : 0) param 575 drivers/input/keyboard/atkbd.c if (ps2_command(&atkbd->ps2dev, param, ATKBD_CMD_EX_SETLEDS)) param 725 drivers/input/keyboard/atkbd.c unsigned char param[2]; param 746 drivers/input/keyboard/atkbd.c param[0] = param[1] = 0xa5; /* initialize with invalid values */ param 747 drivers/input/keyboard/atkbd.c if (ps2_command(ps2dev, param, ATKBD_CMD_GETID)) { param 754 drivers/input/keyboard/atkbd.c param[0] = 0; param 755 drivers/input/keyboard/atkbd.c if (ps2_command(ps2dev, param, ATKBD_CMD_SETLEDS)) param 761 drivers/input/keyboard/atkbd.c if (!ps2_is_keyboard_id(param[0])) param 764 drivers/input/keyboard/atkbd.c atkbd->id = (param[0] << 8) | param[1]; param 792 drivers/input/keyboard/atkbd.c unsigned char param[2]; param 805 drivers/input/keyboard/atkbd.c param[0] = 3; param 806 drivers/input/keyboard/atkbd.c ps2_command(ps2dev, param, ATKBD_CMD_SSCANSET); param 811 drivers/input/keyboard/atkbd.c param[0] = 0x71; param 812 drivers/input/keyboard/atkbd.c if (!ps2_command(ps2dev, param, ATKBD_CMD_EX_ENABLE)) { param 819 drivers/input/keyboard/atkbd.c ps2_command(ps2dev, param, ATKBD_CMD_SETALL_MB); param 826 drivers/input/keyboard/atkbd.c if (!ps2_command(ps2dev, param, ATKBD_CMD_OK_GETID)) { param 827 drivers/input/keyboard/atkbd.c atkbd->id = param[0] << 8 | param[1]; param 831 drivers/input/keyboard/atkbd.c param[0] = 3; param 832 drivers/input/keyboard/atkbd.c if (ps2_command(ps2dev, param, ATKBD_CMD_SSCANSET)) param 835 drivers/input/keyboard/atkbd.c param[0] = 0; param 836 drivers/input/keyboard/atkbd.c if (ps2_command(ps2dev, param, ATKBD_CMD_GSCANSET)) param 839 drivers/input/keyboard/atkbd.c if (param[0] != 3) { param 840 drivers/input/keyboard/atkbd.c param[0] = 2; param 841 drivers/input/keyboard/atkbd.c if (ps2_command(ps2dev, param, ATKBD_CMD_SSCANSET)) param 845 drivers/input/keyboard/atkbd.c ps2_command(ps2dev, param, ATKBD_CMD_SETALL_MBR); param 853 drivers/input/keyboard/atkbd.c unsigned char param[1]; param 859 drivers/input/keyboard/atkbd.c param[0] = 0; param 860 drivers/input/keyboard/atkbd.c if (ps2_command(ps2dev, param, ATKBD_CMD_SETLEDS)) param 867 drivers/input/keyboard/atkbd.c param[0] = 0; param 868 drivers/input/keyboard/atkbd.c if (ps2_command(ps2dev, param, ATKBD_CMD_SETREP)) param 1691 drivers/input/mouse/alps.c unsigned char *param; param 1697 drivers/input/mouse/alps.c param = (command & 0x0f00) ? param 1700 drivers/input/mouse/alps.c if (ps2_command(ps2dev, param, command)) param 1727 drivers/input/mouse/alps.c unsigned char param[4]; param 1729 drivers/input/mouse/alps.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) param 1737 drivers/input/mouse/alps.c if (addr != ((param[0] << 8) | param[1])) param 1740 drivers/input/mouse/alps.c return param[2]; param 1768 drivers/input/mouse/alps.c int repeated_command, unsigned char *param) param 1772 drivers/input/mouse/alps.c param[0] = 0; param 1773 drivers/input/mouse/alps.c if (init_command && ps2_command(ps2dev, param, init_command)) param 1781 drivers/input/mouse/alps.c param[0] = param[1] = param[2] = 0xff; param 1782 drivers/input/mouse/alps.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) param 1786 drivers/input/mouse/alps.c repeated_command, param); param 1808 drivers/input/mouse/alps.c unsigned char param[4]; param 1810 drivers/input/mouse/alps.c if (alps_rpt_cmd(psmouse, 0, PSMOUSE_CMD_RESET_WRAP, param)) { param 1815 drivers/input/mouse/alps.c if (!alps_check_valid_firmware_id(param)) { param 1946 drivers/input/mouse/alps.c static int alps_get_status(struct psmouse *psmouse, char *param) param 1949 drivers/input/mouse/alps.c if (alps_rpt_cmd(psmouse, 0, PSMOUSE_CMD_DISABLE, param)) param 1969 drivers/input/mouse/alps.c unsigned char param[4]; param 1971 drivers/input/mouse/alps.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO) || param 1977 drivers/input/mouse/alps.c if (alps_get_status(psmouse, param)) param 2053 drivers/input/mouse/alps.c unsigned char param[2] = {0xC8, 0x14}; param 2058 drivers/input/mouse/alps.c ps2_command(&psmouse->ps2dev, ¶m[0], PSMOUSE_CMD_SETRATE) || param 2059 drivers/input/mouse/alps.c ps2_command(&psmouse->ps2dev, ¶m[1], PSMOUSE_CMD_SETRATE)) param 2156 drivers/input/mouse/alps.c unsigned char param[4]; param 2178 drivers/input/mouse/alps.c if (alps_rpt_cmd(psmouse, 0, PSMOUSE_CMD_SETSCALE21, param)) { param 2182 drivers/input/mouse/alps.c psmouse_dbg(psmouse, "trackstick E7 report: %3ph\n", param); param 2222 drivers/input/mouse/alps.c unsigned char param[4]; param 2269 drivers/input/mouse/alps.c param[0] = 0x64; param 2270 drivers/input/mouse/alps.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE) || param 2391 drivers/input/mouse/alps.c unsigned char param[4]; param 2432 drivers/input/mouse/alps.c param[0] = 0xc8; param 2433 drivers/input/mouse/alps.c param[1] = 0x64; param 2434 drivers/input/mouse/alps.c param[2] = 0x50; param 2435 drivers/input/mouse/alps.c if (ps2_command(ps2dev, ¶m[0], PSMOUSE_CMD_SETRATE) || param 2436 drivers/input/mouse/alps.c ps2_command(ps2dev, ¶m[1], PSMOUSE_CMD_SETRATE) || param 2437 drivers/input/mouse/alps.c ps2_command(ps2dev, ¶m[2], PSMOUSE_CMD_SETRATE) || param 2438 drivers/input/mouse/alps.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETID)) param 2442 drivers/input/mouse/alps.c param[0] = 0x64; param 2443 drivers/input/mouse/alps.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE) || param 2605 drivers/input/mouse/alps.c unsigned char param[4] = {0}; param 2611 drivers/input/mouse/alps.c param[0] = 0x0a; param 2615 drivers/input/mouse/alps.c ps2_command(ps2dev, ¶m[0], PSMOUSE_CMD_SETRATE) || param 2616 drivers/input/mouse/alps.c ps2_command(ps2dev, ¶m[0], PSMOUSE_CMD_SETRATE)) param 2619 drivers/input/mouse/alps.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) param 2634 drivers/input/mouse/alps.c num_x_electrode = DOLPHIN_PROFILE_XOFFSET + (param[2] & 0x0F); param 2635 drivers/input/mouse/alps.c num_y_electrode = DOLPHIN_PROFILE_YOFFSET + ((param[2] >> 4) & 0x0F); param 2650 drivers/input/mouse/alps.c unsigned char param[2]; param 2653 drivers/input/mouse/alps.c param[0] = 0x64; param 2654 drivers/input/mouse/alps.c param[1] = 0x28; param 2657 drivers/input/mouse/alps.c ps2_command(ps2dev, ¶m[0], PSMOUSE_CMD_SETRATE) || param 2658 drivers/input/mouse/alps.c ps2_command(ps2dev, ¶m[1], PSMOUSE_CMD_SETRATE)) param 2696 drivers/input/mouse/alps.c char param[2] = {0x64, 0x28}; param 2702 drivers/input/mouse/alps.c ps2_command(ps2dev, ¶m[0], PSMOUSE_CMD_SETRATE) || param 2703 drivers/input/mouse/alps.c ps2_command(ps2dev, ¶m[1], PSMOUSE_CMD_SETRATE)) { param 2867 drivers/input/mouse/alps.c u8 param[2] = { 0 }; param 2870 drivers/input/mouse/alps.c param, MAKE_PS2_CMD(0, 2, TP_READ_ID))) param 2879 drivers/input/mouse/alps.c return param[0] == TP_VARIANT_ALPS && ((param[1] & 0xf0) == 0x20); param 342 drivers/input/mouse/byd.c u8 param[4]; param 388 drivers/input/mouse/byd.c memset(param, 0, sizeof(param)); param 389 drivers/input/mouse/byd.c param[0] = seq[i].arg; param 390 drivers/input/mouse/byd.c if (ps2_command(ps2dev, param, seq[i].command)) param 438 drivers/input/mouse/byd.c u8 param[4] = {0x03, 0x00, 0x00, 0x00}; param 440 drivers/input/mouse/byd.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) param 442 drivers/input/mouse/byd.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) param 444 drivers/input/mouse/byd.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) param 446 drivers/input/mouse/byd.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) param 448 drivers/input/mouse/byd.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) param 451 drivers/input/mouse/byd.c if (param[1] != 0x03 || param[2] != 0x64) param 100 drivers/input/mouse/cypress_ps2.c unsigned char *param) param 114 drivers/input/mouse/cypress_ps2.c memset(param, 0, pktsize); param 124 drivers/input/mouse/cypress_ps2.c memcpy(param, psmouse->packet, pktsize); param 127 drivers/input/mouse/cypress_ps2.c cmd, pktsize, param); param 139 drivers/input/mouse/cypress_ps2.c unsigned char cmd, unsigned char *param) param 151 drivers/input/mouse/cypress_ps2.c if ((~param[0] & DFLT_RESP_BITS_VALID) == DFLT_RESP_BITS_VALID && param 152 drivers/input/mouse/cypress_ps2.c (param[0] & DFLT_RESP_BIT_MODE) == DFLT_RESP_STREAM_MODE) { param 154 drivers/input/mouse/cypress_ps2.c if (cytp_resolution[i] == param[1]) param 158 drivers/input/mouse/cypress_ps2.c if (cytp_rate[i] == param[2]) param 170 drivers/input/mouse/cypress_ps2.c unsigned char *param) param 189 drivers/input/mouse/cypress_ps2.c rc = cypress_ps2_read_cmd_status(psmouse, cmd, param); param 193 drivers/input/mouse/cypress_ps2.c if (cypress_verify_cmd_state(psmouse, cmd, param)) param 203 drivers/input/mouse/cypress_ps2.c unsigned char param[3]; param 205 drivers/input/mouse/cypress_ps2.c if (cypress_send_ext_cmd(psmouse, CYTP_CMD_READ_CYPRESS_ID, param)) param 209 drivers/input/mouse/cypress_ps2.c if (param[0] != 0x33 || param[1] != 0xCC) param 223 drivers/input/mouse/cypress_ps2.c unsigned char param[3]; param 225 drivers/input/mouse/cypress_ps2.c if (cypress_send_ext_cmd(psmouse, CYTP_CMD_READ_CYPRESS_ID, param)) param 229 drivers/input/mouse/cypress_ps2.c if (param[0] != 0x33 || param[1] != 0xCC) param 232 drivers/input/mouse/cypress_ps2.c cytp->fw_version = param[2] & FW_VERSION_MASX; param 233 drivers/input/mouse/cypress_ps2.c cytp->tp_metrics_supported = (param[2] & TP_METRICS_MASK) ? 1 : 0; param 252 drivers/input/mouse/cypress_ps2.c unsigned char param[8]; param 267 drivers/input/mouse/cypress_ps2.c memset(param, 0, sizeof(param)); param 268 drivers/input/mouse/cypress_ps2.c if (cypress_send_ext_cmd(psmouse, CYTP_CMD_READ_TP_METRICS, param) == 0) { param 270 drivers/input/mouse/cypress_ps2.c cytp->tp_max_abs_x = (param[1] << 8) | param[0]; param 271 drivers/input/mouse/cypress_ps2.c cytp->tp_max_abs_y = (param[3] << 8) | param[2]; param 272 drivers/input/mouse/cypress_ps2.c cytp->tp_min_pressure = param[4]; param 273 drivers/input/mouse/cypress_ps2.c cytp->tp_max_pressure = param[5]; param 300 drivers/input/mouse/cypress_ps2.c (param[6] & TP_METRICS_BIT_APA) ? 1 : 0); param 302 drivers/input/mouse/cypress_ps2.c (param[6] & TP_METRICS_BIT_MTG) ? 1 : 0); param 304 drivers/input/mouse/cypress_ps2.c (param[6] & TP_METRICS_BIT_PALM) ? 1 : 0); param 306 drivers/input/mouse/cypress_ps2.c (param[6] & TP_METRICS_BIT_STUBBORN) ? 1 : 0); param 308 drivers/input/mouse/cypress_ps2.c (param[6] & TP_METRICS_BIT_1F_JITTER) >> 2); param 310 drivers/input/mouse/cypress_ps2.c (param[6] & TP_METRICS_BIT_2F_JITTER) >> 4); param 312 drivers/input/mouse/cypress_ps2.c param[7] & TP_METRICS_BIT_1F_SPIKE); param 314 drivers/input/mouse/cypress_ps2.c (param[7] & TP_METRICS_BIT_2F_SPIKE) >> 2); param 316 drivers/input/mouse/cypress_ps2.c (param[7] & TP_METRICS_BIT_ABS_PKT_FORMAT_SET) >> 4); param 340 drivers/input/mouse/cypress_ps2.c unsigned char param[3]; param 342 drivers/input/mouse/cypress_ps2.c if (cypress_send_ext_cmd(psmouse, CYTP_CMD_ABS_WITH_PRESSURE_MODE, param) < 0) param 36 drivers/input/mouse/elantech.c unsigned char *param) param 39 drivers/input/mouse/elantech.c ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { param 51 drivers/input/mouse/elantech.c unsigned char *param) param 57 drivers/input/mouse/elantech.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) { param 69 drivers/input/mouse/elantech.c unsigned char *param, int command) param 77 drivers/input/mouse/elantech.c rc = ps2_command(ps2dev, param, command); param 99 drivers/input/mouse/elantech.c unsigned char param[3]; param 112 drivers/input/mouse/elantech.c ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { param 122 drivers/input/mouse/elantech.c elantech_ps2_command(psmouse, param, PSMOUSE_CMD_GETINFO)) { param 132 drivers/input/mouse/elantech.c elantech_ps2_command(psmouse, param, PSMOUSE_CMD_GETINFO)) { param 141 drivers/input/mouse/elantech.c *val = param[0]; param 143 drivers/input/mouse/elantech.c *val = param[1]; param 1054 drivers/input/mouse/elantech.c unsigned char param[3]; param 1056 drivers/input/mouse/elantech.c if (elantech_send_cmd(psmouse, ETP_RESOLUTION_QUERY, param)) param 1059 drivers/input/mouse/elantech.c *x_res = elantech_convert_res(param[1] & 0x0f); param 1060 drivers/input/mouse/elantech.c *y_res = elantech_convert_res((param[1] & 0xf0) >> 4); param 1061 drivers/input/mouse/elantech.c *bus = param[2]; param 1318 drivers/input/mouse/elantech.c static bool elantech_is_signature_valid(const unsigned char *param) param 1323 drivers/input/mouse/elantech.c if (param[0] == 0) param 1326 drivers/input/mouse/elantech.c if (param[1] == 0) param 1333 drivers/input/mouse/elantech.c if ((param[0] & 0x0f) >= 0x06 && (param[1] & 0xaf) == 0x0f && param 1334 drivers/input/mouse/elantech.c param[2] < 40) param 1338 drivers/input/mouse/elantech.c if (param[2] == rates[i]) param 1350 drivers/input/mouse/elantech.c unsigned char param[3]; param 1358 drivers/input/mouse/elantech.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) { param 1367 drivers/input/mouse/elantech.c if (param[0] != 0x3c || param[1] != 0x03 || param 1368 drivers/input/mouse/elantech.c (param[2] != 0xc8 && param[2] != 0x00)) { param 1371 drivers/input/mouse/elantech.c param[0], param[1], param[2]); param 1380 drivers/input/mouse/elantech.c if (synaptics_send_cmd(psmouse, ETP_FW_VERSION_QUERY, param)) { param 1387 drivers/input/mouse/elantech.c param[0], param[1], param[2]); param 1389 drivers/input/mouse/elantech.c if (!elantech_is_signature_valid(param)) { param 1599 drivers/input/mouse/elantech.c unsigned char param[3]; param 1607 drivers/input/mouse/elantech.c if (synaptics_send_cmd(psmouse, ETP_FW_VERSION_QUERY, param)) { param 1611 drivers/input/mouse/elantech.c info->fw_version = (param[0] << 16) | (param[1] << 8) | param[2]; param 1619 drivers/input/mouse/elantech.c info->hw_version, param[0], param[1], param[2]); param 1693 drivers/input/mouse/elantech.c if (info->send_cmd(psmouse, ETP_FW_ID_QUERY, param)) param 1696 drivers/input/mouse/elantech.c fixed_dpi = param[1] & 0x10; param 1699 drivers/input/mouse/elantech.c if (info->send_cmd(psmouse, ETP_SAMPLE_QUERY, param)) param 1702 drivers/input/mouse/elantech.c info->x_max = (info->capabilities[1] - i) * param[1] / 2; param 1703 drivers/input/mouse/elantech.c info->y_max = (info->capabilities[2] - i) * param[2] / 2; param 1718 drivers/input/mouse/elantech.c if (info->send_cmd(psmouse, ETP_FW_ID_QUERY, param)) param 1721 drivers/input/mouse/elantech.c info->x_max = (0x0f & param[0]) << 8 | param[1]; param 1722 drivers/input/mouse/elantech.c info->y_max = (0xf0 & param[0]) << 4 | param[2]; param 1726 drivers/input/mouse/elantech.c if (info->send_cmd(psmouse, ETP_FW_ID_QUERY, param)) param 1729 drivers/input/mouse/elantech.c info->x_max = (0x0f & param[0]) << 8 | param[1]; param 1730 drivers/input/mouse/elantech.c info->y_max = (0xf0 & param[0]) << 4 | param[2]; param 162 drivers/input/mouse/elantech.h unsigned char *param); param 268 drivers/input/mouse/focaltech.c unsigned char param[3]; param 270 drivers/input/mouse/focaltech.c param[0] = 0; param 271 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, 0x10f8)) param 274 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, 0x10f8)) param 277 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, 0x10f8)) param 280 drivers/input/mouse/focaltech.c param[0] = 1; param 281 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, 0x10f8)) param 284 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETSCALE11)) param 287 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_ENABLE)) param 348 drivers/input/mouse/focaltech.c unsigned char *param) param 350 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETSCALE11)) param 353 drivers/input/mouse/focaltech.c param[0] = 0; param 354 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) param 357 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) param 360 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) param 363 drivers/input/mouse/focaltech.c param[0] = reg; param 364 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) param 367 drivers/input/mouse/focaltech.c if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) param 377 drivers/input/mouse/focaltech.c char param[3]; param 379 drivers/input/mouse/focaltech.c if (focaltech_read_register(ps2dev, 2, param)) param 383 drivers/input/mouse/focaltech.c priv->x_max = (unsigned char)param[1] * 128; param 384 drivers/input/mouse/focaltech.c priv->y_max = (unsigned char)param[2] * 128; param 1016 drivers/input/mouse/hgpk.c unsigned char param[3]; param 1022 drivers/input/mouse/hgpk.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) { param 1026 drivers/input/mouse/hgpk.c psmouse_dbg(psmouse, "ID: %*ph\n", 3, param); param 1029 drivers/input/mouse/hgpk.c if (param[0] != 0x67 || param[1] != 0x00) param 1032 drivers/input/mouse/hgpk.c psmouse_info(psmouse, "OLPC touchpad revision 0x%x\n", param[2]); param 1034 drivers/input/mouse/hgpk.c return param[2]; param 202 drivers/input/mouse/lifebook.c u8 param; param 214 drivers/input/mouse/lifebook.c param = lifebook_use_6byte_proto ? 0x08 : 0x07; param 215 drivers/input/mouse/lifebook.c ps2_command(ps2dev, ¶m, PSMOUSE_CMD_SETRES); param 223 drivers/input/mouse/lifebook.c u8 param = 0x06; param 225 drivers/input/mouse/lifebook.c ps2_command(ps2dev, ¶m, PSMOUSE_CMD_SETRES); param 113 drivers/input/mouse/logips2pp.c static int ps2pp_cmd(struct psmouse *psmouse, u8 *param, u8 command) param 121 drivers/input/mouse/logips2pp.c error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_POLL | 0x0300); param 139 drivers/input/mouse/logips2pp.c u8 param[4]; param 141 drivers/input/mouse/logips2pp.c ps2pp_cmd(psmouse, param, 0x32); param 143 drivers/input/mouse/logips2pp.c param[0] = 0; param 144 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 145 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 146 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 148 drivers/input/mouse/logips2pp.c param[0] = smartscroll; param 149 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 190 drivers/input/mouse/logips2pp.c u8 param = 3; param 195 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, ¶m, PSMOUSE_CMD_SETRES); param 361 drivers/input/mouse/logips2pp.c u8 param[4]; param 366 drivers/input/mouse/logips2pp.c param[0] = 0; param 367 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 371 drivers/input/mouse/logips2pp.c param[1] = 0; param 372 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO); param 374 drivers/input/mouse/logips2pp.c model = ((param[0] >> 4) & 0x07) | ((param[0] << 3) & 0x78); param 375 drivers/input/mouse/logips2pp.c buttons = param[1]; param 389 drivers/input/mouse/logips2pp.c param[0] = 0x11; param[1] = 0x04; param[2] = 0x68; param 390 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, 0x30d1); param 392 drivers/input/mouse/logips2pp.c param[0] = 0x11; param[1] = 0x05; param[2] = 0x0b; param 393 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, 0x30d1); param 395 drivers/input/mouse/logips2pp.c param[0] = 0x11; param[1] = 0x09; param[2] = 0xc3; param 396 drivers/input/mouse/logips2pp.c ps2_command(ps2dev, param, 0x30d1); param 398 drivers/input/mouse/logips2pp.c param[0] = 0; param 399 drivers/input/mouse/logips2pp.c if (!ps2_command(ps2dev, param, 0x13d1) && param 400 drivers/input/mouse/logips2pp.c param[0] == 0x06 && param[1] == 0x00 && param 401 drivers/input/mouse/logips2pp.c param[2] == 0x14) { param 407 drivers/input/mouse/logips2pp.c param[0] = param[1] = param[2] = 0; param 408 drivers/input/mouse/logips2pp.c ps2pp_cmd(psmouse, param, 0x39); /* Magic knock */ param 409 drivers/input/mouse/logips2pp.c ps2pp_cmd(psmouse, param, 0xDB); param 411 drivers/input/mouse/logips2pp.c if ((param[0] & 0x78) == 0x48 && param 412 drivers/input/mouse/logips2pp.c (param[1] & 0xf3) == 0xc2 && param 413 drivers/input/mouse/logips2pp.c (param[2] & 0x03) == ((param[1] >> 2) & 3)) { param 437 drivers/input/mouse/psmouse-base.c u8 param[2]; param 440 drivers/input/mouse/psmouse-base.c error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_RESET_BAT); param 444 drivers/input/mouse/psmouse-base.c if (param[0] != PSMOUSE_RET_BAT && param[1] != PSMOUSE_RET_ID) param 548 drivers/input/mouse/psmouse-base.c u8 param[4]; param 550 drivers/input/mouse/psmouse-base.c param[0] = 3; param 551 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 555 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO); param 557 drivers/input/mouse/psmouse-base.c if (param[0] != 0x00 || param[1] != 0x33 || param[2] != 0x55) param 580 drivers/input/mouse/psmouse-base.c u8 param[2]; param 582 drivers/input/mouse/psmouse-base.c param[0] = 200; param 583 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 584 drivers/input/mouse/psmouse-base.c param[0] = 100; param 585 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 586 drivers/input/mouse/psmouse-base.c param[0] = 80; param 587 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 588 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETID); param 590 drivers/input/mouse/psmouse-base.c if (param[0] != 3) param 613 drivers/input/mouse/psmouse-base.c u8 param[2]; param 617 drivers/input/mouse/psmouse-base.c param[0] = 200; param 618 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 619 drivers/input/mouse/psmouse-base.c param[0] = 200; param 620 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 621 drivers/input/mouse/psmouse-base.c param[0] = 80; param 622 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 623 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETID); param 625 drivers/input/mouse/psmouse-base.c if (param[0] != 4) param 629 drivers/input/mouse/psmouse-base.c param[0] = 200; param 630 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 631 drivers/input/mouse/psmouse-base.c param[0] = 80; param 632 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 633 drivers/input/mouse/psmouse-base.c param[0] = 40; param 634 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 659 drivers/input/mouse/psmouse-base.c u8 param[2]; param 663 drivers/input/mouse/psmouse-base.c param[0] = 10; param 664 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 665 drivers/input/mouse/psmouse-base.c param[0] = 0; param 666 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 668 drivers/input/mouse/psmouse-base.c param[0] = seq[i]; param 669 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 671 drivers/input/mouse/psmouse-base.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETID); param 673 drivers/input/mouse/psmouse-base.c if (param[0] != 2) param 1252 drivers/input/mouse/psmouse-base.c u8 param[2]; param 1261 drivers/input/mouse/psmouse-base.c param[0] = 0xa5; param 1262 drivers/input/mouse/psmouse-base.c error = ps2_command(ps2dev, param, PSMOUSE_CMD_GETID); param 1266 drivers/input/mouse/psmouse-base.c if (param[0] != 0x00 && param[0] != 0x03 && param 1267 drivers/input/mouse/psmouse-base.c param[0] != 0x04 && param[0] != 0xff) param 74 drivers/input/mouse/sentelic.c unsigned char param[3]; param 113 drivers/input/mouse/sentelic.c if (__ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO) < 0) param 116 drivers/input/mouse/sentelic.c *reg_val = param[2]; param 204 drivers/input/mouse/sentelic.c unsigned char param[3]; param 224 drivers/input/mouse/sentelic.c if (__ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) param 227 drivers/input/mouse/sentelic.c *reg_val = param[2]; param 842 drivers/input/mouse/sentelic.c unsigned char param[2]; param 849 drivers/input/mouse/sentelic.c param[0] = 200; param 850 drivers/input/mouse/sentelic.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 851 drivers/input/mouse/sentelic.c param[0] = 200; param 852 drivers/input/mouse/sentelic.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 853 drivers/input/mouse/sentelic.c param[0] = 80; param 854 drivers/input/mouse/sentelic.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); param 856 drivers/input/mouse/sentelic.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETID); param 857 drivers/input/mouse/sentelic.c if (param[0] != 0x04) { param 81 drivers/input/mouse/synaptics.c u8 param[1]; param 88 drivers/input/mouse/synaptics.c param[0] = SYN_PS_SET_MODE2; param 89 drivers/input/mouse/synaptics.c error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_SETRATE); param 99 drivers/input/mouse/synaptics.c u8 param[4] = { 0 }; param 101 drivers/input/mouse/synaptics.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 102 drivers/input/mouse/synaptics.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 103 drivers/input/mouse/synaptics.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 104 drivers/input/mouse/synaptics.c ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); param 105 drivers/input/mouse/synaptics.c ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO); param 107 drivers/input/mouse/synaptics.c if (param[1] != 0x47) param 203 drivers/input/mouse/synaptics.c static int synaptics_send_cmd(struct psmouse *psmouse, u8 cmd, u8 *param) param 211 drivers/input/mouse/synaptics.c error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO); param 561 drivers/input/mouse/synaptics.c static u8 param = 0xc8; param 568 drivers/input/mouse/synaptics.c error = ps2_command(&psmouse->ps2dev, ¶m, PSMOUSE_CMD_SETRATE); param 1421 drivers/input/mouse/synaptics.c u8 param[2]; param 1437 drivers/input/mouse/synaptics.c ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETID); param 59 drivers/input/mouse/touchkit_ps2.c unsigned char param[3]; param 62 drivers/input/mouse/touchkit_ps2.c param[0] = TOUCHKIT_CMD_LENGTH; param 63 drivers/input/mouse/touchkit_ps2.c param[1] = TOUCHKIT_CMD_ACTIVE; param 66 drivers/input/mouse/touchkit_ps2.c if (ps2_command(&psmouse->ps2dev, param, command)) param 69 drivers/input/mouse/touchkit_ps2.c if (param[0] != TOUCHKIT_CMD || param[1] != 0x01 || param 70 drivers/input/mouse/touchkit_ps2.c param[2] != TOUCHKIT_CMD_ACTIVE) param 33 drivers/input/mouse/trackpoint.c u8 param[2] = { TP_POR }; param 36 drivers/input/mouse/trackpoint.c err = ps2_command(ps2dev, param, MAKE_PS2_CMD(1, 2, TP_COMMAND)); param 41 drivers/input/mouse/trackpoint.c if (param[0] != 0xAA || param[1] != 0x00) param 59 drivers/input/mouse/trackpoint.c u8 param[3] = { TP_WRITE_MEM, loc, val }; param 61 drivers/input/mouse/trackpoint.c return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); param 66 drivers/input/mouse/trackpoint.c u8 param[3] = { TP_TOGGLE, loc, mask }; param 72 drivers/input/mouse/trackpoint.c return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); param 270 drivers/input/mouse/trackpoint.c u8 param[2] = { 0 }; param 274 drivers/input/mouse/trackpoint.c param, MAKE_PS2_CMD(0, 2, TP_READ_ID)); param 278 drivers/input/mouse/trackpoint.c switch (param[0]) { param 284 drivers/input/mouse/trackpoint.c *variant_id = param[0]; param 286 drivers/input/mouse/trackpoint.c *firmware_id = param[1]; param 295 drivers/input/serio/i8042.c static int __i8042_command(unsigned char *param, int command) param 315 drivers/input/serio/i8042.c dbg("%02x -> i8042 (parameter)\n", param[i]); param 316 drivers/input/serio/i8042.c i8042_write_data(param[i]); param 332 drivers/input/serio/i8042.c param[i] = i8042_read_data(); param 333 drivers/input/serio/i8042.c dbg("%02x <- i8042 (return)\n", param[i]); param 339 drivers/input/serio/i8042.c int i8042_command(unsigned char *param, int command) param 345 drivers/input/serio/i8042.c retval = __i8042_command(param, command); param 647 drivers/input/serio/i8042.c unsigned char param; param 651 drivers/input/serio/i8042.c i8042_command(¶m, I8042_CMD_MUX_PFX + i); param 652 drivers/input/serio/i8042.c i8042_command(¶m, I8042_CMD_AUX_ENABLE); param 667 drivers/input/serio/i8042.c unsigned char param, val; param 679 drivers/input/serio/i8042.c param = val = 0xf0; param 680 drivers/input/serio/i8042.c if (i8042_command(¶m, I8042_CMD_AUX_LOOP) || param != val) param 682 drivers/input/serio/i8042.c param = val = multiplex ? 0x56 : 0xf6; param 683 drivers/input/serio/i8042.c if (i8042_command(¶m, I8042_CMD_AUX_LOOP) || param != val) param 685 drivers/input/serio/i8042.c param = val = multiplex ? 0xa4 : 0xa5; param 686 drivers/input/serio/i8042.c if (i8042_command(¶m, I8042_CMD_AUX_LOOP) || param == val) param 693 drivers/input/serio/i8042.c if (param == 0xac) param 697 drivers/input/serio/i8042.c *mux_version = param; param 769 drivers/input/serio/i8042.c unsigned char param; param 772 drivers/input/serio/i8042.c if (i8042_command(¶m, param 780 drivers/input/serio/i8042.c if (i8042_command(¶m, I8042_CMD_CTL_RCTR)) param 783 drivers/input/serio/i8042.c if (!(param & I8042_CTR_AUXDIS) == on) param 801 drivers/input/serio/i8042.c unsigned char param; param 815 drivers/input/serio/i8042.c param = 0x5a; param 816 drivers/input/serio/i8042.c retval = i8042_command(¶m, I8042_CMD_AUX_LOOP); param 817 drivers/input/serio/i8042.c if (retval || param != 0x5a) { param 827 drivers/input/serio/i8042.c if (i8042_command(¶m, I8042_CMD_AUX_TEST) || param 828 drivers/input/serio/i8042.c (param && param != 0xfa && param != 0xff)) param 889 drivers/input/serio/i8042.c param = 0xa5; param 890 drivers/input/serio/i8042.c retval = __i8042_command(¶m, I8042_CMD_AUX_LOOP & 0xf0ff); param 938 drivers/input/serio/i8042.c unsigned char param; param 947 drivers/input/serio/i8042.c if (i8042_command(¶m, I8042_CMD_CTL_TEST)) { param 952 drivers/input/serio/i8042.c if (param == I8042_RET_CTL_TEST) param 956 drivers/input/serio/i8042.c param, I8042_RET_CTL_TEST); param 1147 drivers/input/serio/i8042.c unsigned char param = 0x90; param 1150 drivers/input/serio/i8042.c error = i8042_command(¶m, 0x1059); param 226 drivers/input/serio/libps2.c int __ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command) param 240 drivers/input/serio/libps2.c if (send && !param) { param 245 drivers/input/serio/libps2.c memcpy(send_param, param, send); param 251 drivers/input/serio/libps2.c if (receive && param) param 253 drivers/input/serio/libps2.c ps2dev->cmdbuf[(receive - 1) - i] = param[i]; param 273 drivers/input/serio/libps2.c rc = ps2_do_sendbyte(ps2dev, param[i], 200, 2); param 297 drivers/input/serio/libps2.c if (param) param 299 drivers/input/serio/libps2.c param[i] = ps2dev->cmdbuf[(receive - 1) - i]; param 317 drivers/input/serio/libps2.c receive, param ?: send_param); param 327 drivers/input/serio/libps2.c int ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command) param 332 drivers/input/serio/libps2.c rc = __ps2_command(ps2dev, param, command); param 144 drivers/input/touchscreen/melfas_mip4.c u16 param; param 219 drivers/input/touchscreen/melfas_mip4.c v->param = get_unaligned_le16(buf + 6); param 311 drivers/input/touchscreen/melfas_mip4.c ts->fw_version.app, ts->fw_version.param); param 1221 drivers/input/touchscreen/melfas_mip4.c fw_version.app, fw_version.param); param 1225 drivers/input/touchscreen/melfas_mip4.c ts->fw_version.app, ts->fw_version.param); param 1231 drivers/input/touchscreen/melfas_mip4.c fw_version.param == 0xEEEE) { param 1236 drivers/input/touchscreen/melfas_mip4.c fw_version.param != 0xEEEE && fw_version.param != 0xFFFF) { param 1341 drivers/input/touchscreen/melfas_mip4.c ts->fw_version.app, ts->fw_version.param); param 183 drivers/input/touchscreen/wdt87xx_i2c.c struct wdt87xx_sys_param param; param 435 drivers/input/touchscreen/wdt87xx_i2c.c struct wdt87xx_sys_param *param) param 446 drivers/input/touchscreen/wdt87xx_i2c.c param->vendor_id = get_unaligned_le16(buf + DEV_DESC_OFFSET_VID); param 447 drivers/input/touchscreen/wdt87xx_i2c.c param->product_id = get_unaligned_le16(buf + DEV_DESC_OFFSET_PID); param 455 drivers/input/touchscreen/wdt87xx_i2c.c param->xmls_id1 = get_unaligned_le16(buf + CTL_PARAM_OFFSET_XMLS_ID1); param 456 drivers/input/touchscreen/wdt87xx_i2c.c param->xmls_id2 = get_unaligned_le16(buf + CTL_PARAM_OFFSET_XMLS_ID2); param 457 drivers/input/touchscreen/wdt87xx_i2c.c param->phy_ch_x = get_unaligned_le16(buf + CTL_PARAM_OFFSET_PHY_CH_X); param 458 drivers/input/touchscreen/wdt87xx_i2c.c param->phy_ch_y = get_unaligned_le16(buf + CTL_PARAM_OFFSET_PHY_CH_Y); param 459 drivers/input/touchscreen/wdt87xx_i2c.c param->phy_w = get_unaligned_le16(buf + CTL_PARAM_OFFSET_PHY_W) / 10; param 460 drivers/input/touchscreen/wdt87xx_i2c.c param->phy_h = get_unaligned_le16(buf + CTL_PARAM_OFFSET_PHY_H) / 10; param 463 drivers/input/touchscreen/wdt87xx_i2c.c param->scaling_factor = param 466 drivers/input/touchscreen/wdt87xx_i2c.c param->max_x = MAX_UNIT_AXIS; param 467 drivers/input/touchscreen/wdt87xx_i2c.c param->max_y = DIV_ROUND_CLOSEST(MAX_UNIT_AXIS * param->phy_h, param 468 drivers/input/touchscreen/wdt87xx_i2c.c param->phy_w); param 476 drivers/input/touchscreen/wdt87xx_i2c.c param->plat_id = buf[1]; param 491 drivers/input/touchscreen/wdt87xx_i2c.c param->fw_id = get_unaligned_le16(&buf[1]); param 495 drivers/input/touchscreen/wdt87xx_i2c.c param->fw_id, param->plat_id, param 496 drivers/input/touchscreen/wdt87xx_i2c.c param->xmls_id1, param->xmls_id2); param 538 drivers/input/touchscreen/wdt87xx_i2c.c chip_id = (wdt->param.fw_id >> 12) & 0xF; param 848 drivers/input/touchscreen/wdt87xx_i2c.c error = wdt87xx_get_sysparam(client, &wdt->param); param 887 drivers/input/touchscreen/wdt87xx_i2c.c cfg_csum = wdt->param.xmls_id1; param 888 drivers/input/touchscreen/wdt87xx_i2c.c cfg_csum = (cfg_csum << 16) | wdt->param.xmls_id2; param 899 drivers/input/touchscreen/wdt87xx_i2c.c return scnprintf(buf, PAGE_SIZE, "%x\n", wdt->param.fw_id); param 908 drivers/input/touchscreen/wdt87xx_i2c.c return scnprintf(buf, PAGE_SIZE, "%x\n", wdt->param.plat_id); param 953 drivers/input/touchscreen/wdt87xx_i2c.c struct wdt87xx_sys_param *param, param 969 drivers/input/touchscreen/wdt87xx_i2c.c w *= param->scaling_factor; param 976 drivers/input/touchscreen/wdt87xx_i2c.c y = DIV_ROUND_CLOSEST(y * param->phy_h, param->phy_w); param 979 drivers/input/touchscreen/wdt87xx_i2c.c if (x > param->max_x || y > param->max_y) param 1013 drivers/input/touchscreen/wdt87xx_i2c.c &wdt->param, param 1028 drivers/input/touchscreen/wdt87xx_i2c.c unsigned int res = DIV_ROUND_CLOSEST(MAX_UNIT_AXIS, wdt->param.phy_w); param 1040 drivers/input/touchscreen/wdt87xx_i2c.c input->id.vendor = wdt->param.vendor_id; param 1041 drivers/input/touchscreen/wdt87xx_i2c.c input->id.product = wdt->param.product_id; param 1045 drivers/input/touchscreen/wdt87xx_i2c.c wdt->param.max_x, 0, 0); param 1047 drivers/input/touchscreen/wdt87xx_i2c.c wdt->param.max_y, 0, 0); param 1052 drivers/input/touchscreen/wdt87xx_i2c.c 0, wdt->param.max_x, 0, 0); param 1091 drivers/input/touchscreen/wdt87xx_i2c.c error = wdt87xx_get_sysparam(client, &wdt->param); param 154 drivers/iommu/iommu.c struct iommu_param *param = dev->iommu_param; param 156 drivers/iommu/iommu.c if (param) param 157 drivers/iommu/iommu.c return param; param 159 drivers/iommu/iommu.c param = kzalloc(sizeof(*param), GFP_KERNEL); param 160 drivers/iommu/iommu.c if (!param) param 163 drivers/iommu/iommu.c mutex_init(¶m->lock); param 164 drivers/iommu/iommu.c dev->iommu_param = param; param 165 drivers/iommu/iommu.c return param; param 957 drivers/iommu/iommu.c struct iommu_param *param = dev->iommu_param; param 960 drivers/iommu/iommu.c if (!param) param 963 drivers/iommu/iommu.c mutex_lock(¶m->lock); param 965 drivers/iommu/iommu.c if (param->fault_param) { param 971 drivers/iommu/iommu.c param->fault_param = kzalloc(sizeof(*param->fault_param), GFP_KERNEL); param 972 drivers/iommu/iommu.c if (!param->fault_param) { param 977 drivers/iommu/iommu.c param->fault_param->handler = handler; param 978 drivers/iommu/iommu.c param->fault_param->data = data; param 979 drivers/iommu/iommu.c mutex_init(¶m->fault_param->lock); param 980 drivers/iommu/iommu.c INIT_LIST_HEAD(¶m->fault_param->faults); param 983 drivers/iommu/iommu.c mutex_unlock(¶m->lock); param 1000 drivers/iommu/iommu.c struct iommu_param *param = dev->iommu_param; param 1003 drivers/iommu/iommu.c if (!param) param 1006 drivers/iommu/iommu.c mutex_lock(¶m->lock); param 1008 drivers/iommu/iommu.c if (!param->fault_param) param 1012 drivers/iommu/iommu.c if (!list_empty(¶m->fault_param->faults)) { param 1017 drivers/iommu/iommu.c kfree(param->fault_param); param 1018 drivers/iommu/iommu.c param->fault_param = NULL; param 1021 drivers/iommu/iommu.c mutex_unlock(¶m->lock); param 1040 drivers/iommu/iommu.c struct iommu_param *param = dev->iommu_param; param 1045 drivers/iommu/iommu.c if (!param || !evt) param 1049 drivers/iommu/iommu.c mutex_lock(¶m->lock); param 1050 drivers/iommu/iommu.c fparam = param->fault_param; param 1077 drivers/iommu/iommu.c mutex_unlock(¶m->lock); param 1089 drivers/iommu/iommu.c struct iommu_param *param = dev->iommu_param; param 1095 drivers/iommu/iommu.c if (!param || !param->fault_param) param 1103 drivers/iommu/iommu.c mutex_lock(¶m->fault_param->lock); param 1104 drivers/iommu/iommu.c if (list_empty(¶m->fault_param->faults)) { param 1112 drivers/iommu/iommu.c list_for_each_entry(evt, ¶m->fault_param->faults, list) { param 1130 drivers/iommu/iommu.c mutex_unlock(¶m->fault_param->lock); param 131 drivers/irqchip/irq-alpine-msi.c fwspec.param[0] = 0; param 132 drivers/irqchip/irq-alpine-msi.c fwspec.param[1] = sgi; param 133 drivers/irqchip/irq-alpine-msi.c fwspec.param[2] = IRQ_TYPE_EDGE_RISING; param 98 drivers/irqchip/irq-crossbar.c fwspec.param[0] = 0; /* SPI */ param 99 drivers/irqchip/irq-crossbar.c fwspec.param[1] = i; param 100 drivers/irqchip/irq-crossbar.c fwspec.param[2] = IRQ_TYPE_LEVEL_HIGH; param 120 drivers/irqchip/irq-crossbar.c if (fwspec->param[0] != 0) param 123 drivers/irqchip/irq-crossbar.c hwirq = fwspec->param[1]; param 178 drivers/irqchip/irq-crossbar.c if (fwspec->param[0] != 0) param 181 drivers/irqchip/irq-crossbar.c *hwirq = fwspec->param[1]; param 182 drivers/irqchip/irq-crossbar.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 145 drivers/irqchip/irq-gic-v2m.c fwspec.param[0] = 0; param 146 drivers/irqchip/irq-gic-v2m.c fwspec.param[1] = hwirq - 32; param 147 drivers/irqchip/irq-gic-v2m.c fwspec.param[2] = IRQ_TYPE_EDGE_RISING; param 151 drivers/irqchip/irq-gic-v2m.c fwspec.param[0] = hwirq; param 152 drivers/irqchip/irq-gic-v2m.c fwspec.param[1] = IRQ_TYPE_EDGE_RISING; param 2563 drivers/irqchip/irq-gic-v3-its.c fwspec.param[0] = GIC_IRQ_TYPE_LPI; param 2564 drivers/irqchip/irq-gic-v3-its.c fwspec.param[1] = hwirq; param 2565 drivers/irqchip/irq-gic-v3-its.c fwspec.param[2] = IRQ_TYPE_EDGE_RISING; param 2569 drivers/irqchip/irq-gic-v3-its.c fwspec.param[0] = hwirq; param 2570 drivers/irqchip/irq-gic-v3-its.c fwspec.param[1] = IRQ_TYPE_EDGE_RISING; param 63 drivers/irqchip/irq-gic-v3-mbi.c fwspec.param[0] = 0; param 64 drivers/irqchip/irq-gic-v3-mbi.c fwspec.param[1] = hwirq - 32; param 65 drivers/irqchip/irq-gic-v3-mbi.c fwspec.param[2] = IRQ_TYPE_EDGE_RISING; param 1288 drivers/irqchip/irq-gic-v3.c switch (fwspec->param[0]) { param 1290 drivers/irqchip/irq-gic-v3.c *hwirq = fwspec->param[1] + 32; param 1293 drivers/irqchip/irq-gic-v3.c *hwirq = fwspec->param[1] + 16; param 1296 drivers/irqchip/irq-gic-v3.c *hwirq = fwspec->param[1] + ESPI_BASE_INTID; param 1299 drivers/irqchip/irq-gic-v3.c *hwirq = fwspec->param[1] + EPPI_BASE_INTID; param 1302 drivers/irqchip/irq-gic-v3.c *hwirq = fwspec->param[1]; param 1305 drivers/irqchip/irq-gic-v3.c *hwirq = fwspec->param[1]; param 1306 drivers/irqchip/irq-gic-v3.c if (fwspec->param[1] >= 16) param 1315 drivers/irqchip/irq-gic-v3.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 1322 drivers/irqchip/irq-gic-v3.c fwspec->param[0] != GIC_IRQ_TYPE_PARTITION); param 1330 drivers/irqchip/irq-gic-v3.c *hwirq = fwspec->param[0]; param 1331 drivers/irqchip/irq-gic-v3.c *type = fwspec->param[1]; param 1390 drivers/irqchip/irq-gic-v3.c fwspec->param[0] == 1 && fwspec->param[3] != 0 && param 1392 drivers/irqchip/irq-gic-v3.c return d == partition_get_domain(gic_data.ppi_descs[fwspec->param[1]]); param 1415 drivers/irqchip/irq-gic-v3.c np = of_find_node_by_phandle(fwspec->param[3]); param 1419 drivers/irqchip/irq-gic-v3.c ret = partition_translate_id(gic_data.ppi_descs[fwspec->param[1]], param 1425 drivers/irqchip/irq-gic-v3.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 1678 drivers/irqchip/irq-gic-v3.c .param = { param 1009 drivers/irqchip/irq-gic.c *hwirq = fwspec->param[1] + 16; param 1015 drivers/irqchip/irq-gic.c if (!fwspec->param[0]) param 1018 drivers/irqchip/irq-gic.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 1029 drivers/irqchip/irq-gic.c *hwirq = fwspec->param[0]; param 1030 drivers/irqchip/irq-gic.c *type = fwspec->param[1]; param 150 drivers/irqchip/irq-imx-gpcv2.c if (fwspec->param[0] != 0) param 153 drivers/irqchip/irq-imx-gpcv2.c *hwirq = fwspec->param[1]; param 154 drivers/irqchip/irq-imx-gpcv2.c *type = fwspec->param[2]; param 136 drivers/irqchip/irq-ixp4xx.c *hwirq = fwspec->param[0]; param 137 drivers/irqchip/irq-ixp4xx.c *type = fwspec->param[1]; param 144 drivers/irqchip/irq-ixp4xx.c *hwirq = fwspec->param[0]; param 145 drivers/irqchip/irq-ixp4xx.c *type = fwspec->param[1]; param 348 drivers/irqchip/irq-ixp4xx.c fwspec.param[0] = chunk->hwirq; param 349 drivers/irqchip/irq-ixp4xx.c fwspec.param[1] = IRQ_TYPE_LEVEL_HIGH; param 177 drivers/irqchip/irq-mbigen.c if ((fwspec->param[0] > MAXIMUM_IRQ_PIN_NUM) || param 178 drivers/irqchip/irq-mbigen.c (fwspec->param[0] < RESERVED_IRQ_PER_MBIGEN_CHIP)) param 181 drivers/irqchip/irq-mbigen.c *hwirq = fwspec->param[0]; param 184 drivers/irqchip/irq-mbigen.c if ((fwspec->param[1] == IRQ_TYPE_EDGE_RISING) || param 185 drivers/irqchip/irq-mbigen.c (fwspec->param[1] == IRQ_TYPE_LEVEL_HIGH)) param 186 drivers/irqchip/irq-mbigen.c *type = fwspec->param[1]; param 266 drivers/irqchip/irq-meson-gpio.c *hwirq = fwspec->param[0]; param 267 drivers/irqchip/irq-meson-gpio.c *type = fwspec->param[1]; param 283 drivers/irqchip/irq-meson-gpio.c fwspec.param[0] = 0; /* SPI */ param 284 drivers/irqchip/irq-meson-gpio.c fwspec.param[1] = hwirq; param 285 drivers/irqchip/irq-meson-gpio.c fwspec.param[2] = meson_gpio_irq_type_output(type); param 533 drivers/irqchip/irq-mips-gic.c if (fwspec->param[0] == GIC_SHARED) param 534 drivers/irqchip/irq-mips-gic.c hwirq = GIC_SHARED_TO_HWIRQ(fwspec->param[1]); param 536 drivers/irqchip/irq-mips-gic.c hwirq = GIC_LOCAL_TO_HWIRQ(fwspec->param[1]); param 113 drivers/irqchip/irq-mtk-cirq.c if (fwspec->param[0] != 0) param 117 drivers/irqchip/irq-mtk-cirq.c if (fwspec->param[1] < cirq_data->ext_irq_start || param 118 drivers/irqchip/irq-mtk-cirq.c fwspec->param[1] > cirq_data->ext_irq_end) param 121 drivers/irqchip/irq-mtk-cirq.c *hwirq = fwspec->param[1] - cirq_data->ext_irq_start; param 122 drivers/irqchip/irq-mtk-cirq.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 80 drivers/irqchip/irq-mtk-sysirq.c if (fwspec->param[0] != 0) param 83 drivers/irqchip/irq-mtk-sysirq.c *hwirq = fwspec->param[1]; param 84 drivers/irqchip/irq-mtk-sysirq.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 103 drivers/irqchip/irq-mtk-sysirq.c if (fwspec->param[0]) param 106 drivers/irqchip/irq-mtk-sysirq.c hwirq = fwspec->param[1]; param 99 drivers/irqchip/irq-mvebu-gicp.c fwspec.param[0] = GIC_SPI; param 100 drivers/irqchip/irq-mvebu-gicp.c fwspec.param[1] = gicp_idx_to_spi(gicp, hwirq) - 32; param 105 drivers/irqchip/irq-mvebu-gicp.c fwspec.param[2] = IRQ_TYPE_EDGE_RISING; param 166 drivers/irqchip/irq-mvebu-icu.c *hwirq = fwspec->param[1]; param 167 drivers/irqchip/irq-mvebu-icu.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 168 drivers/irqchip/irq-mvebu-icu.c if (fwspec->param[0] != ICU_GRP_NSR) { param 170 drivers/irqchip/irq-mvebu-icu.c fwspec->param[0]); param 174 drivers/irqchip/irq-mvebu-icu.c *hwirq = fwspec->param[0]; param 175 drivers/irqchip/irq-mvebu-icu.c *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; param 219 drivers/irqchip/irq-mvebu-icu.c icu_irqd->icu_group = fwspec->param[0]; param 102 drivers/irqchip/irq-mvebu-odmi.c fwspec.param[0] = GIC_SPI; param 103 drivers/irqchip/irq-mvebu-odmi.c fwspec.param[1] = odmi->spi_base - 32 + odmin; param 104 drivers/irqchip/irq-mvebu-odmi.c fwspec.param[2] = IRQ_TYPE_EDGE_RISING; param 174 drivers/irqchip/irq-mvebu-sei.c irq_domain_set_hwirq_and_chip(domain, virq, fwspec->param[0], param 202 drivers/irqchip/irq-mvebu-sei.c *hwirq = fwspec->param[0]; param 221 drivers/irqchip/irq-mvebu-sei.c fwspec.param[0] = hwirq + sei->caps->ap_range.first; param 273 drivers/irqchip/irq-mvebu-sei.c fwspec.param[0] = hwirq + sei->caps->cp_range.first; param 54 drivers/irqchip/irq-nvic.c *hwirq = fwspec->param[0]; param 107 drivers/irqchip/irq-renesas-rza1.c unsigned int hwirq = fwspec->param[0]; param 120 drivers/irqchip/irq-renesas-rza1.c spec.param[i] = priv->map[hwirq].args[i]; param 129 drivers/irqchip/irq-renesas-rza1.c if (fwspec->param_count != 2 || fwspec->param[0] >= IRQC_NUM_IRQ) param 132 drivers/irqchip/irq-renesas-rza1.c *hwirq = fwspec->param[0]; param 133 drivers/irqchip/irq-renesas-rza1.c *type = fwspec->param[1]; param 130 drivers/irqchip/irq-sni-exiu.c if (fwspec->param[0] != GIC_SPI) param 133 drivers/irqchip/irq-sni-exiu.c *hwirq = fwspec->param[1] - info->spi_base; param 134 drivers/irqchip/irq-sni-exiu.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 138 drivers/irqchip/irq-sni-exiu.c *hwirq = fwspec->param[0]; param 139 drivers/irqchip/irq-sni-exiu.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 156 drivers/irqchip/irq-sni-exiu.c if (fwspec->param[0] != GIC_SPI) param 159 drivers/irqchip/irq-sni-exiu.c hwirq = fwspec->param[1] - info->spi_base; param 161 drivers/irqchip/irq-sni-exiu.c hwirq = fwspec->param[0]; param 162 drivers/irqchip/irq-sni-exiu.c parent_fwspec.param[0] = hwirq + info->spi_base + 32; param 398 drivers/irqchip/irq-stm32-exti.c hwirq = fwspec->param[0]; param 630 drivers/irqchip/irq-stm32-exti.c hwirq = fwspec->param[0]; param 641 drivers/irqchip/irq-stm32-exti.c p_fwspec.param[0] = GIC_SPI; param 642 drivers/irqchip/irq-stm32-exti.c p_fwspec.param[1] = p_irq; param 643 drivers/irqchip/irq-stm32-exti.c p_fwspec.param[2] = IRQ_TYPE_LEVEL_HIGH; param 225 drivers/irqchip/irq-tegra.c if (fwspec->param[0] != 0) param 228 drivers/irqchip/irq-tegra.c *hwirq = fwspec->param[1]; param 229 drivers/irqchip/irq-tegra.c *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; param 248 drivers/irqchip/irq-tegra.c if (fwspec->param[0] != GIC_SPI) param 251 drivers/irqchip/irq-tegra.c hwirq = fwspec->param[1]; param 159 drivers/irqchip/irq-ti-sci-inta.c parent_fwspec.param[0] = inta->pdev->id; param 160 drivers/irqchip/irq-ti-sci-inta.c parent_fwspec.param[1] = vint_desc->vint_id; param 76 drivers/irqchip/irq-ti-sci-intr.c *hwirq = TO_HWIRQ(fwspec->param[0], fwspec->param[1]); param 133 drivers/irqchip/irq-ti-sci-intr.c fwspec.param[0] = 0; /* SPI */ param 134 drivers/irqchip/irq-ti-sci-intr.c fwspec.param[1] = dst_irq - 32; /* SPI offset */ param 135 drivers/irqchip/irq-ti-sci-intr.c fwspec.param[2] = intr->type; param 102 drivers/irqchip/irq-uniphier-aidet.c *out_hwirq = fwspec->param[0]; param 103 drivers/irqchip/irq-uniphier-aidet.c *out_type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; param 150 drivers/irqchip/irq-uniphier-aidet.c parent_fwspec.param[0] = 0; /* SPI */ param 151 drivers/irqchip/irq-uniphier-aidet.c parent_fwspec.param[1] = hwirq; param 152 drivers/irqchip/irq-uniphier-aidet.c parent_fwspec.param[2] = type; param 138 drivers/irqchip/irq-vf610-mscm-ir.c hwirq = fwspec->param[0]; param 148 drivers/irqchip/irq-vf610-mscm-ir.c parent_fwspec.param[0] = fwspec->param[0]; param 151 drivers/irqchip/irq-vf610-mscm-ir.c parent_fwspec.param[0] = GIC_SPI; param 152 drivers/irqchip/irq-vf610-mscm-ir.c parent_fwspec.param[1] = fwspec->param[0]; param 153 drivers/irqchip/irq-vf610-mscm-ir.c parent_fwspec.param[2] = fwspec->param[1]; param 167 drivers/irqchip/irq-vf610-mscm-ir.c *hwirq = fwspec->param[0]; param 168 drivers/irqchip/irq-vf610-mscm-ir.c *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; param 126 drivers/irqchip/qcom-irq-combiner.c (fws->param[0] >= combiner->nirqs) || param 127 drivers/irqchip/qcom-irq-combiner.c (fws->param[1] & IORESOURCE_IRQ_LOWEDGE) || param 128 drivers/irqchip/qcom-irq-combiner.c (fws->param[1] & IORESOURCE_IRQ_HIGHEDGE))) param 131 drivers/irqchip/qcom-irq-combiner.c *hwirq = fws->param[0]; param 132 drivers/irqchip/qcom-irq-combiner.c *type = fws->param[1]; param 183 drivers/irqchip/qcom-pdc.c *hwirq = fwspec->param[0]; param 184 drivers/irqchip/qcom-pdc.c *type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; param 221 drivers/irqchip/qcom-pdc.c parent_fwspec.param[0] = 0; param 222 drivers/irqchip/qcom-pdc.c parent_fwspec.param[1] = parent_hwirq; param 223 drivers/irqchip/qcom-pdc.c parent_fwspec.param[2] = type; param 1149 drivers/isdn/hardware/mISDN/mISDNisar.c u8 ctrl, param[6]; param 1159 drivers/isdn/hardware/mISDN/mISDNisar.c param[0] = 5; /* TOA 5 db */ param 1161 drivers/isdn/hardware/mISDN/mISDNisar.c PMOD_DTMF_TRANS, 1, param); param 1163 drivers/isdn/hardware/mISDN/mISDNisar.c param[0] = 40; /* REL -46 dbm */ param 1165 drivers/isdn/hardware/mISDN/mISDNisar.c PMOD_DTMF, 1, param); param 1172 drivers/isdn/hardware/mISDN/mISDNisar.c param[5] = PV32P6_CTN; param 1174 drivers/isdn/hardware/mISDN/mISDNisar.c param[5] = PV32P6_ATN; param 1176 drivers/isdn/hardware/mISDN/mISDNisar.c param[0] = 6; /* 6 db */ param 1177 drivers/isdn/hardware/mISDN/mISDNisar.c param[1] = PV32P2_V23R | PV32P2_V22A | PV32P2_V22B | param 1179 drivers/isdn/hardware/mISDN/mISDNisar.c param[2] = PV32P3_AMOD | PV32P3_V32B | PV32P3_V23B; param 1180 drivers/isdn/hardware/mISDN/mISDNisar.c param[3] = PV32P4_UT144; param 1181 drivers/isdn/hardware/mISDN/mISDNisar.c param[4] = PV32P5_UT144; param 1182 drivers/isdn/hardware/mISDN/mISDNisar.c send_mbox(ch->is, dps | ISAR_HIS_PUMPCFG, ctrl, 6, param); param 1188 drivers/isdn/hardware/mISDN/mISDNisar.c param[1] = PFAXP2_CTN; param 1190 drivers/isdn/hardware/mISDN/mISDNisar.c param[1] = PFAXP2_ATN; param 1192 drivers/isdn/hardware/mISDN/mISDNisar.c param[0] = 6; /* 6 db */ param 1193 drivers/isdn/hardware/mISDN/mISDNisar.c send_mbox(ch->is, dps | ISAR_HIS_PUMPCFG, ctrl, 2, param); param 1208 drivers/isdn/hardware/mISDN/mISDNisar.c u8 ctrl, param[2] = {0, 0}; param 1218 drivers/isdn/hardware/mISDN/mISDNisar.c 2, param); param 1223 drivers/isdn/hardware/mISDN/mISDNisar.c 1, param); param 1227 drivers/isdn/hardware/mISDN/mISDNisar.c param[0] = S_P1_CHS_8; param 1228 drivers/isdn/hardware/mISDN/mISDNisar.c param[1] = S_P2_BFT_DEF; param 1229 drivers/isdn/hardware/mISDN/mISDNisar.c send_mbox(ch->is, dps | ISAR_HIS_SARTCFG, ctrl, 2, param); param 60 drivers/leds/leds-apu.c struct apu_param param; param 102 drivers/leds/leds-apu.c iowrite8(value ? APU1_LEDON : APU1_LEDOFF, pled->param.addr); param 128 drivers/leds/leds-apu.c pled->param.addr = devm_ioremap(dev, param 130 drivers/leds/leds-apu.c if (!pled->param.addr) { param 85 drivers/leds/leds-mlxcpld.c struct mlxcpld_param param; param 288 drivers/leds/leds-mlxcpld.c mlxcpld_led_store_hw(pled->param.mask, pled->param.offset, param 289 drivers/leds/leds-mlxcpld.c pled->param.base_color); param 293 drivers/leds/leds-mlxcpld.c mlxcpld_led_store_hw(pled->param.mask, pled->param.offset, param 315 drivers/leds/leds-mlxcpld.c mlxcpld_led_store_hw(pled->param.mask, pled->param.offset, param 316 drivers/leds/leds-mlxcpld.c pled->param.base_color + param 319 drivers/leds/leds-mlxcpld.c mlxcpld_led_store_hw(pled->param.mask, pled->param.offset, param 320 drivers/leds/leds-mlxcpld.c pled->param.base_color + param 350 drivers/leds/leds-mlxcpld.c cpld->pled[i].param.offset = mlxcpld_led->profile[i].offset; param 351 drivers/leds/leds-mlxcpld.c cpld->pled[i].param.mask = mlxcpld_led->profile[i].mask; param 352 drivers/leds/leds-mlxcpld.c cpld->pled[i].param.base_color = param 69 drivers/macintosh/windfarm_core.c static inline void wf_notify(int event, void *param) param 71 drivers/macintosh/windfarm_core.c blocking_notifier_call_chain(&wf_client_list, event, param); param 25 drivers/macintosh/windfarm_pid.c void wf_pid_init(struct wf_pid_state *st, struct wf_pid_param *param) param 28 drivers/macintosh/windfarm_pid.c st->param = *param; param 37 drivers/macintosh/windfarm_pid.c int i, hlen = st->param.history_len; param 40 drivers/macintosh/windfarm_pid.c error = new_sample - st->param.itarget; param 59 drivers/macintosh/windfarm_pid.c integ *= st->param.interval; param 64 drivers/macintosh/windfarm_pid.c deriv /= st->param.interval; param 67 drivers/macintosh/windfarm_pid.c target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + param 68 drivers/macintosh/windfarm_pid.c error * (s64)st->param.gp) >> 36); param 69 drivers/macintosh/windfarm_pid.c if (st->param.additive) param 71 drivers/macintosh/windfarm_pid.c target = max(target, st->param.min); param 72 drivers/macintosh/windfarm_pid.c target = min(target, st->param.max); param 80 drivers/macintosh/windfarm_pid.c struct wf_cpu_pid_param *param) param 83 drivers/macintosh/windfarm_pid.c st->param = *param; param 92 drivers/macintosh/windfarm_pid.c int i, hlen = st->param.history_len; param 95 drivers/macintosh/windfarm_pid.c error = st->param.pmaxadj - new_power; param 117 drivers/macintosh/windfarm_pid.c integ *= st->param.interval; param 118 drivers/macintosh/windfarm_pid.c integ *= st->param.gr; param 119 drivers/macintosh/windfarm_pid.c sval = st->param.tmax - (s32)(integ >> 20); param 120 drivers/macintosh/windfarm_pid.c adj = min(st->param.ttarget, sval); param 127 drivers/macintosh/windfarm_pid.c deriv /= st->param.interval; param 128 drivers/macintosh/windfarm_pid.c deriv *= st->param.gd; param 132 drivers/macintosh/windfarm_pid.c prop *= st->param.gp; param 138 drivers/macintosh/windfarm_pid.c target = max(target, st->param.min); param 139 drivers/macintosh/windfarm_pid.c target = min(target, st->param.max); param 41 drivers/macintosh/windfarm_pid.h struct wf_pid_param param; param 44 drivers/macintosh/windfarm_pid.h extern void wf_pid_init(struct wf_pid_state *st, struct wf_pid_param *param); param 79 drivers/macintosh/windfarm_pid.h struct wf_cpu_pid_param param; param 83 drivers/macintosh/windfarm_pid.h struct wf_cpu_pid_param *param); param 368 drivers/macintosh/windfarm_pm112.c backside_tick = backside_pid.param.interval; param 418 drivers/macintosh/windfarm_pm112.c drive_bay_tick = drive_bay_pid.param.interval; param 509 drivers/macintosh/windfarm_pm121.c struct pm121_sys_param *param = NULL; param 517 drivers/macintosh/windfarm_pm121.c param = &(pm121_sys_all_params[loop_id][i]); param 523 drivers/macintosh/windfarm_pm121.c if (param == NULL) { param 530 drivers/macintosh/windfarm_pm121.c control = controls[param->control_id]; param 543 drivers/macintosh/windfarm_pm121.c pid_param.gp = param->gp; param 547 drivers/macintosh/windfarm_pm121.c pid_param.itarget = param->itarget; param 582 drivers/macintosh/windfarm_pm121.c struct pm121_sys_param *param; param 589 drivers/macintosh/windfarm_pm121.c param = &(pm121_sys_all_params[loop_id][pm121_mach_model-2]); param 591 drivers/macintosh/windfarm_pm121.c sensor = *(param->sensor); param 592 drivers/macintosh/windfarm_pm121.c control = controls[param->control_id]; param 617 drivers/macintosh/windfarm_pm121.c param->control_id, param 618 drivers/macintosh/windfarm_pm121.c st->pid.param.min); param 620 drivers/macintosh/windfarm_pm121.c new_setpoint = pm121_connect(param->control_id, new_setpoint); param 752 drivers/macintosh/windfarm_pm121.c if (temp > st->pid.param.tmax) param 760 drivers/macintosh/windfarm_pm121.c st->pid.param.min); param 808 drivers/macintosh/windfarm_pm121.c for (i = 0; i < pm121_cpu_state->pid.param.history_len; i++) param 811 drivers/macintosh/windfarm_pm121.c average_power = total_power / pm121_cpu_state->pid.param.history_len; param 473 drivers/macintosh/windfarm_pm72.c backside_tick = backside_pid.param.interval; param 507 drivers/macintosh/windfarm_pm72.c struct wf_pid_param param; param 520 drivers/macintosh/windfarm_pm72.c param = u3h ? backside_u3h_param : backside_u3_param; param 522 drivers/macintosh/windfarm_pm72.c param.min = max(param.min, fmin); param 523 drivers/macintosh/windfarm_pm72.c param.max = min(param.max, fmax); param 524 drivers/macintosh/windfarm_pm72.c wf_pid_init(&backside_pid, ¶m); param 553 drivers/macintosh/windfarm_pm72.c drives_tick = drives_pid.param.interval; param 586 drivers/macintosh/windfarm_pm72.c struct wf_pid_param param = drives_param; param 588 drivers/macintosh/windfarm_pm72.c param.min = max(param.min, fmin); param 589 drivers/macintosh/windfarm_pm72.c param.max = min(param.max, fmax); param 590 drivers/macintosh/windfarm_pm72.c wf_pid_init(&drives_pid, ¶m); param 266 drivers/macintosh/windfarm_pm81.c struct wf_smu_sys_fans_param *param = NULL; param 273 drivers/macintosh/windfarm_pm81.c param = &wf_smu_sys_all_params[i]; param 278 drivers/macintosh/windfarm_pm81.c if (param == NULL) { param 293 drivers/macintosh/windfarm_pm81.c wf_smu_sys_fans->scale0 = param->scale0; param 294 drivers/macintosh/windfarm_pm81.c wf_smu_sys_fans->offset0 = param->offset0; param 295 drivers/macintosh/windfarm_pm81.c wf_smu_sys_fans->scale1 = param->scale1; param 296 drivers/macintosh/windfarm_pm81.c wf_smu_sys_fans->offset1 = param->offset1; param 299 drivers/macintosh/windfarm_pm81.c pid_param.gd = param->gd; param 300 drivers/macintosh/windfarm_pm81.c pid_param.gp = param->gp; param 301 drivers/macintosh/windfarm_pm81.c pid_param.gr = param->gr; param 304 drivers/macintosh/windfarm_pm81.c pid_param.itarget = param->itarget; param 351 drivers/macintosh/windfarm_pm81.c if (temp > (st->pid.param.itarget + 0x50000)) param 365 drivers/macintosh/windfarm_pm81.c scaled = max(scaled, st->pid.param.min); param 366 drivers/macintosh/windfarm_pm81.c scaled = min(scaled, st->pid.param.max); param 507 drivers/macintosh/windfarm_pm81.c if (temp > st->pid.param.tmax) param 518 drivers/macintosh/windfarm_pm81.c new_setpoint = max(new_setpoint, st->pid.param.min); param 519 drivers/macintosh/windfarm_pm81.c new_setpoint = min(new_setpoint, st->pid.param.max); param 253 drivers/macintosh/windfarm_pm91.c if (temp > st->pid.param.tmax) param 292 drivers/macintosh/windfarm_pm91.c struct wf_pid_param param = { param 312 drivers/macintosh/windfarm_pm91.c param.additive = (fan_hd->type == WF_CONTROL_RPM_FAN); param 313 drivers/macintosh/windfarm_pm91.c param.min = wf_control_get_min(fan_hd); param 314 drivers/macintosh/windfarm_pm91.c param.max = wf_control_get_max(fan_hd); param 315 drivers/macintosh/windfarm_pm91.c wf_pid_init(&wf_smu_drive_fans->pid, ¶m); param 319 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(param.itarget), param.min, param.max); param 337 drivers/macintosh/windfarm_pm91.c st->ticks = st->pid.param.interval; param 350 drivers/macintosh/windfarm_pm91.c if (temp > (st->pid.param.itarget + 0x50000)) param 373 drivers/macintosh/windfarm_pm91.c struct wf_pid_param param = { param 393 drivers/macintosh/windfarm_pm91.c param.additive = (fan_slots->type == WF_CONTROL_RPM_FAN); param 394 drivers/macintosh/windfarm_pm91.c param.min = wf_control_get_min(fan_slots); param 395 drivers/macintosh/windfarm_pm91.c param.max = wf_control_get_max(fan_slots); param 396 drivers/macintosh/windfarm_pm91.c wf_pid_init(&wf_smu_slots_fans->pid, ¶m); param 400 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(param.itarget), param.min, param.max); param 418 drivers/macintosh/windfarm_pm91.c st->ticks = st->pid.param.interval; param 432 drivers/macintosh/windfarm_pm91.c if (power > (st->pid.param.itarget + 0x50000)) param 375 drivers/macintosh/windfarm_rm31.c backside_tick = backside_pid.param.interval; param 424 drivers/macintosh/windfarm_rm31.c struct wf_pid_param param; param 426 drivers/macintosh/windfarm_rm31.c param = backside_param; param 427 drivers/macintosh/windfarm_rm31.c param.min = max(param.min, fmin); param 428 drivers/macintosh/windfarm_rm31.c param.max = min(param.max, fmax); param 429 drivers/macintosh/windfarm_rm31.c wf_pid_init(&backside_pid, ¶m); param 431 drivers/macintosh/windfarm_rm31.c param = dimms_param; param 432 drivers/macintosh/windfarm_rm31.c wf_pid_init(&dimms_pid, ¶m); param 462 drivers/macintosh/windfarm_rm31.c slots_tick = slots_pid.param.interval; param 491 drivers/macintosh/windfarm_rm31.c struct wf_pid_param param = slots_param; param 493 drivers/macintosh/windfarm_rm31.c param.min = max(param.min, fmin); param 494 drivers/macintosh/windfarm_rm31.c param.max = min(param.max, fmax); param 495 drivers/macintosh/windfarm_rm31.c wf_pid_init(&slots_pid, ¶m); param 1845 drivers/md/dm-crypt.c struct crypto_authenc_key_param *param; param 1849 drivers/md/dm-crypt.c param = RTA_DATA(rta); param 1850 drivers/md/dm-crypt.c param->enckeylen = cpu_to_be32(enckeylen); param 1851 drivers/md/dm-crypt.c rta->rta_len = RTA_LENGTH(sizeof(*param)); param 1853 drivers/md/dm-crypt.c p += RTA_SPACE(sizeof(*param)); param 369 drivers/md/dm-ioctl.c static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, param 376 drivers/md/dm-ioctl.c unsigned change_uuid = (param->flags & DM_UUID_FLAG) ? 1 : 0; param 400 drivers/md/dm-ioctl.c param->name, new); param 410 drivers/md/dm-ioctl.c hc = __get_name_cell(param->name); param 413 drivers/md/dm-ioctl.c param->name, change_uuid ? "uuid " : "", new); param 425 drivers/md/dm-ioctl.c param->name, new, hc->uuid); param 445 drivers/md/dm-ioctl.c if (!dm_kobject_uevent(hc->md, KOBJ_CHANGE, param->event_nr)) param 446 drivers/md/dm-ioctl.c param->flags |= DM_UEVENT_GENERATED_FLAG; param 467 drivers/md/dm-ioctl.c typedef int (*ioctl_fn)(struct file *filp, struct dm_ioctl *param, size_t param_size); param 469 drivers/md/dm-ioctl.c static int remove_all(struct file *filp, struct dm_ioctl *param, size_t param_size) param 471 drivers/md/dm-ioctl.c dm_hash_remove_all(true, !!(param->flags & DM_DEFERRED_REMOVE), false); param 472 drivers/md/dm-ioctl.c param->data_size = 0; param 493 drivers/md/dm-ioctl.c static void *get_result_buffer(struct dm_ioctl *param, size_t param_size, param 496 drivers/md/dm-ioctl.c param->data_start = align_ptr(param + 1) - (void *) param; param 498 drivers/md/dm-ioctl.c if (param->data_start < param_size) param 499 drivers/md/dm-ioctl.c *len = param_size - param->data_start; param 503 drivers/md/dm-ioctl.c return ((void *) param) + param->data_start; param 506 drivers/md/dm-ioctl.c static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size) param 531 drivers/md/dm-ioctl.c nl = orig_nl = get_result_buffer(param, param_size, &len); param 533 drivers/md/dm-ioctl.c param->flags |= DM_BUFFER_FULL_FLAG; param 536 drivers/md/dm-ioctl.c param->data_size = param->data_start + needed; param 579 drivers/md/dm-ioctl.c static void list_version_get_info(struct target_type *tt, void *param) param 581 drivers/md/dm-ioctl.c struct vers_iter *info = param; param 604 drivers/md/dm-ioctl.c static int __list_versions(struct dm_ioctl *param, size_t param_size, const char *name) param 629 drivers/md/dm-ioctl.c vers = get_result_buffer(param, param_size, &len); param 631 drivers/md/dm-ioctl.c param->flags |= DM_BUFFER_FULL_FLAG; param 634 drivers/md/dm-ioctl.c param->data_size = param->data_start + needed; param 649 drivers/md/dm-ioctl.c param->flags |= iter_info.flags; param 657 drivers/md/dm-ioctl.c static int list_versions(struct file *filp, struct dm_ioctl *param, size_t param_size) param 659 drivers/md/dm-ioctl.c return __list_versions(param, param_size, NULL); param 662 drivers/md/dm-ioctl.c static int get_target_version(struct file *filp, struct dm_ioctl *param, size_t param_size) param 664 drivers/md/dm-ioctl.c return __list_versions(param, param_size, param->name); param 706 drivers/md/dm-ioctl.c struct dm_ioctl *param, param 709 drivers/md/dm-ioctl.c return (param->flags & DM_QUERY_INACTIVE_TABLE_FLAG) ? param 717 drivers/md/dm-ioctl.c static void __dev_status(struct mapped_device *md, struct dm_ioctl *param) param 723 drivers/md/dm-ioctl.c param->flags &= ~(DM_SUSPEND_FLAG | DM_READONLY_FLAG | param 727 drivers/md/dm-ioctl.c param->flags |= DM_SUSPEND_FLAG; param 730 drivers/md/dm-ioctl.c param->flags |= DM_INTERNAL_SUSPEND_FLAG; param 733 drivers/md/dm-ioctl.c param->flags |= DM_DEFERRED_REMOVE; param 735 drivers/md/dm-ioctl.c param->dev = huge_encode_dev(disk_devt(disk)); param 742 drivers/md/dm-ioctl.c param->open_count = dm_open_count(md); param 744 drivers/md/dm-ioctl.c param->event_nr = dm_get_event_nr(md); param 745 drivers/md/dm-ioctl.c param->target_count = 0; param 749 drivers/md/dm-ioctl.c if (!(param->flags & DM_QUERY_INACTIVE_TABLE_FLAG)) { param 751 drivers/md/dm-ioctl.c param->flags |= DM_READONLY_FLAG; param 752 drivers/md/dm-ioctl.c param->target_count = dm_table_get_num_targets(table); param 755 drivers/md/dm-ioctl.c param->flags |= DM_ACTIVE_PRESENT_FLAG; param 759 drivers/md/dm-ioctl.c if (param->flags & DM_QUERY_INACTIVE_TABLE_FLAG) { param 764 drivers/md/dm-ioctl.c param->flags |= DM_READONLY_FLAG; param 765 drivers/md/dm-ioctl.c param->target_count = dm_table_get_num_targets(table); param 771 drivers/md/dm-ioctl.c static int dev_create(struct file *filp, struct dm_ioctl *param, size_t param_size) param 776 drivers/md/dm-ioctl.c r = check_name(param->name); param 780 drivers/md/dm-ioctl.c if (param->flags & DM_PERSISTENT_DEV_FLAG) param 781 drivers/md/dm-ioctl.c m = MINOR(huge_decode_dev(param->dev)); param 787 drivers/md/dm-ioctl.c r = dm_hash_insert(param->name, *param->uuid ? param->uuid : NULL, md); param 794 drivers/md/dm-ioctl.c param->flags &= ~DM_INACTIVE_PRESENT_FLAG; param 796 drivers/md/dm-ioctl.c __dev_status(md, param); param 806 drivers/md/dm-ioctl.c static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param) param 810 drivers/md/dm-ioctl.c if (*param->uuid) { param 811 drivers/md/dm-ioctl.c if (*param->name || param->dev) param 814 drivers/md/dm-ioctl.c hc = __get_uuid_cell(param->uuid); param 817 drivers/md/dm-ioctl.c } else if (*param->name) { param 818 drivers/md/dm-ioctl.c if (param->dev) param 821 drivers/md/dm-ioctl.c hc = __get_name_cell(param->name); param 824 drivers/md/dm-ioctl.c } else if (param->dev) { param 825 drivers/md/dm-ioctl.c hc = __get_dev_cell(param->dev); param 835 drivers/md/dm-ioctl.c strlcpy(param->name, hc->name, sizeof(param->name)); param 837 drivers/md/dm-ioctl.c strlcpy(param->uuid, hc->uuid, sizeof(param->uuid)); param 839 drivers/md/dm-ioctl.c param->uuid[0] = '\0'; param 842 drivers/md/dm-ioctl.c param->flags |= DM_INACTIVE_PRESENT_FLAG; param 844 drivers/md/dm-ioctl.c param->flags &= ~DM_INACTIVE_PRESENT_FLAG; param 849 drivers/md/dm-ioctl.c static struct mapped_device *find_device(struct dm_ioctl *param) param 855 drivers/md/dm-ioctl.c hc = __find_device_hash_cell(param); param 863 drivers/md/dm-ioctl.c static int dev_remove(struct file *filp, struct dm_ioctl *param, size_t param_size) param 871 drivers/md/dm-ioctl.c hc = __find_device_hash_cell(param); param 884 drivers/md/dm-ioctl.c r = dm_lock_for_deletion(md, !!(param->flags & DM_DEFERRED_REMOVE), false); param 886 drivers/md/dm-ioctl.c if (r == -EBUSY && param->flags & DM_DEFERRED_REMOVE) { param 905 drivers/md/dm-ioctl.c param->flags &= ~DM_DEFERRED_REMOVE; param 907 drivers/md/dm-ioctl.c if (!dm_kobject_uevent(md, KOBJ_REMOVE, param->event_nr)) param 908 drivers/md/dm-ioctl.c param->flags |= DM_UEVENT_GENERATED_FLAG; param 928 drivers/md/dm-ioctl.c static int dev_rename(struct file *filp, struct dm_ioctl *param, size_t param_size) param 931 drivers/md/dm-ioctl.c char *new_data = (char *) param + param->data_start; param 933 drivers/md/dm-ioctl.c unsigned change_uuid = (param->flags & DM_UUID_FLAG) ? 1 : 0; param 935 drivers/md/dm-ioctl.c if (new_data < param->data || param 936 drivers/md/dm-ioctl.c invalid_str(new_data, (void *) param + param_size) || !*new_data || param 948 drivers/md/dm-ioctl.c md = dm_hash_rename(param, new_data); param 952 drivers/md/dm-ioctl.c __dev_status(md, param); param 958 drivers/md/dm-ioctl.c static int dev_set_geometry(struct file *filp, struct dm_ioctl *param, size_t param_size) param 964 drivers/md/dm-ioctl.c char *geostr = (char *) param + param->data_start; param 967 drivers/md/dm-ioctl.c md = find_device(param); param 971 drivers/md/dm-ioctl.c if (geostr < param->data || param 972 drivers/md/dm-ioctl.c invalid_str(geostr, (void *) param + param_size)) { param 998 drivers/md/dm-ioctl.c param->data_size = 0; param 1005 drivers/md/dm-ioctl.c static int do_suspend(struct dm_ioctl *param) param 1011 drivers/md/dm-ioctl.c md = find_device(param); param 1015 drivers/md/dm-ioctl.c if (param->flags & DM_SKIP_LOCKFS_FLAG) param 1017 drivers/md/dm-ioctl.c if (param->flags & DM_NOFLUSH_FLAG) param 1026 drivers/md/dm-ioctl.c __dev_status(md, param); param 1034 drivers/md/dm-ioctl.c static int do_resume(struct dm_ioctl *param) param 1044 drivers/md/dm-ioctl.c hc = __find_device_hash_cell(param); param 1055 drivers/md/dm-ioctl.c param->flags &= ~DM_INACTIVE_PRESENT_FLAG; param 1062 drivers/md/dm-ioctl.c if (param->flags & DM_SKIP_LOCKFS_FLAG) param 1064 drivers/md/dm-ioctl.c if (param->flags & DM_NOFLUSH_FLAG) param 1085 drivers/md/dm-ioctl.c if (!r && !dm_kobject_uevent(md, KOBJ_CHANGE, param->event_nr)) param 1086 drivers/md/dm-ioctl.c param->flags |= DM_UEVENT_GENERATED_FLAG; param 1097 drivers/md/dm-ioctl.c __dev_status(md, param); param 1107 drivers/md/dm-ioctl.c static int dev_suspend(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1109 drivers/md/dm-ioctl.c if (param->flags & DM_SUSPEND_FLAG) param 1110 drivers/md/dm-ioctl.c return do_suspend(param); param 1112 drivers/md/dm-ioctl.c return do_resume(param); param 1119 drivers/md/dm-ioctl.c static int dev_status(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1123 drivers/md/dm-ioctl.c md = find_device(param); param 1127 drivers/md/dm-ioctl.c __dev_status(md, param); param 1137 drivers/md/dm-ioctl.c struct dm_ioctl *param, size_t param_size) param 1146 drivers/md/dm-ioctl.c outptr = outbuf = get_result_buffer(param, param_size, &len); param 1148 drivers/md/dm-ioctl.c if (param->flags & DM_STATUS_TABLE_FLAG) param 1161 drivers/md/dm-ioctl.c param->flags |= DM_BUFFER_FULL_FLAG; param 1176 drivers/md/dm-ioctl.c param->flags |= DM_BUFFER_FULL_FLAG; param 1182 drivers/md/dm-ioctl.c if (param->flags & DM_NOFLUSH_FLAG) param 1190 drivers/md/dm-ioctl.c param->flags |= DM_BUFFER_FULL_FLAG; param 1195 drivers/md/dm-ioctl.c used = param->data_start + (outptr - outbuf); param 1202 drivers/md/dm-ioctl.c param->data_size = used; param 1204 drivers/md/dm-ioctl.c param->target_count = num_targets; param 1210 drivers/md/dm-ioctl.c static int dev_wait(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1217 drivers/md/dm-ioctl.c md = find_device(param); param 1224 drivers/md/dm-ioctl.c if (dm_wait_event(md, param->event_nr)) { param 1234 drivers/md/dm-ioctl.c __dev_status(md, param); param 1236 drivers/md/dm-ioctl.c table = dm_get_live_or_inactive_table(md, param, &srcu_idx); param 1238 drivers/md/dm-ioctl.c retrieve_status(table, param, param_size); param 1251 drivers/md/dm-ioctl.c static int dev_arm_poll(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1260 drivers/md/dm-ioctl.c static inline fmode_t get_mode(struct dm_ioctl *param) param 1264 drivers/md/dm-ioctl.c if (param->flags & DM_READONLY_FLAG) param 1283 drivers/md/dm-ioctl.c struct dm_ioctl *param, size_t param_size) param 1287 drivers/md/dm-ioctl.c struct dm_target_spec *spec = (struct dm_target_spec *) param; param 1288 drivers/md/dm-ioctl.c uint32_t next = param->data_start; param 1289 drivers/md/dm-ioctl.c void *end = (void *) param + param_size; param 1292 drivers/md/dm-ioctl.c if (!param->target_count) { param 1297 drivers/md/dm-ioctl.c for (i = 0; i < param->target_count; i++) { param 1329 drivers/md/dm-ioctl.c static int table_load(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1337 drivers/md/dm-ioctl.c md = find_device(param); param 1341 drivers/md/dm-ioctl.c r = dm_table_create(&t, get_mode(param), param->target_count, md); param 1347 drivers/md/dm-ioctl.c r = populate_table(t, param, param_size); param 1395 drivers/md/dm-ioctl.c param->flags |= DM_INACTIVE_PRESENT_FLAG; param 1396 drivers/md/dm-ioctl.c __dev_status(md, param); param 1417 drivers/md/dm-ioctl.c static int table_clear(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1425 drivers/md/dm-ioctl.c hc = __find_device_hash_cell(param); param 1437 drivers/md/dm-ioctl.c param->flags &= ~DM_INACTIVE_PRESENT_FLAG; param 1439 drivers/md/dm-ioctl.c __dev_status(hc->md, param); param 1455 drivers/md/dm-ioctl.c struct dm_ioctl *param, size_t param_size) param 1463 drivers/md/dm-ioctl.c deps = get_result_buffer(param, param_size, &len); param 1476 drivers/md/dm-ioctl.c param->flags |= DM_BUFFER_FULL_FLAG; param 1488 drivers/md/dm-ioctl.c param->data_size = param->data_start + needed; param 1491 drivers/md/dm-ioctl.c static int table_deps(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1497 drivers/md/dm-ioctl.c md = find_device(param); param 1501 drivers/md/dm-ioctl.c __dev_status(md, param); param 1503 drivers/md/dm-ioctl.c table = dm_get_live_or_inactive_table(md, param, &srcu_idx); param 1505 drivers/md/dm-ioctl.c retrieve_deps(table, param, param_size); param 1517 drivers/md/dm-ioctl.c static int table_status(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1523 drivers/md/dm-ioctl.c md = find_device(param); param 1527 drivers/md/dm-ioctl.c __dev_status(md, param); param 1529 drivers/md/dm-ioctl.c table = dm_get_live_or_inactive_table(md, param, &srcu_idx); param 1531 drivers/md/dm-ioctl.c retrieve_status(table, param, param_size); param 1572 drivers/md/dm-ioctl.c static int target_message(struct file *filp, struct dm_ioctl *param, size_t param_size) param 1579 drivers/md/dm-ioctl.c struct dm_target_msg *tmsg = (void *) param + param->data_start; param 1581 drivers/md/dm-ioctl.c char *result = get_result_buffer(param, param_size, &maxlen); param 1584 drivers/md/dm-ioctl.c md = find_device(param); param 1588 drivers/md/dm-ioctl.c if (tmsg < (struct dm_target_msg *) param->data || param 1589 drivers/md/dm-ioctl.c invalid_str(tmsg->message, (void *) param + param_size)) { param 1636 drivers/md/dm-ioctl.c __dev_status(md, param); param 1639 drivers/md/dm-ioctl.c param->flags |= DM_DATA_OUT_FLAG; param 1641 drivers/md/dm-ioctl.c param->flags |= DM_BUFFER_FULL_FLAG; param 1643 drivers/md/dm-ioctl.c param->data_size = param->data_start + strlen(result) + 1; param 1739 drivers/md/dm-ioctl.c static void free_params(struct dm_ioctl *param, size_t param_size, int param_flags) param 1742 drivers/md/dm-ioctl.c memset(param, 0, param_size); param 1745 drivers/md/dm-ioctl.c kvfree(param); param 1749 drivers/md/dm-ioctl.c int ioctl_flags, struct dm_ioctl **param, int *param_flags) param 1801 drivers/md/dm-ioctl.c *param = dmi; param 1810 drivers/md/dm-ioctl.c static int validate_params(uint cmd, struct dm_ioctl *param) param 1813 drivers/md/dm-ioctl.c param->flags &= ~DM_BUFFER_FULL_FLAG; param 1814 drivers/md/dm-ioctl.c param->flags &= ~DM_UEVENT_GENERATED_FLAG; param 1815 drivers/md/dm-ioctl.c param->flags &= ~DM_SECURE_DATA_FLAG; param 1816 drivers/md/dm-ioctl.c param->flags &= ~DM_DATA_OUT_FLAG; param 1825 drivers/md/dm-ioctl.c if (!*param->name) { param 1829 drivers/md/dm-ioctl.c } else if (*param->uuid && *param->name) { param 1835 drivers/md/dm-ioctl.c param->name[DM_NAME_LEN - 1] = '\0'; param 1836 drivers/md/dm-ioctl.c param->uuid[DM_UUID_LEN - 1] = '\0'; param 1847 drivers/md/dm-ioctl.c struct dm_ioctl *uninitialized_var(param); param 1884 drivers/md/dm-ioctl.c r = copy_params(user, ¶m_kernel, ioctl_flags, ¶m, ¶m_flags); param 1889 drivers/md/dm-ioctl.c input_param_size = param->data_size; param 1890 drivers/md/dm-ioctl.c r = validate_params(cmd, param); param 1894 drivers/md/dm-ioctl.c param->data_size = offsetof(struct dm_ioctl, data); param 1895 drivers/md/dm-ioctl.c r = fn(file, param, input_param_size); param 1897 drivers/md/dm-ioctl.c if (unlikely(param->flags & DM_BUFFER_FULL_FLAG) && param 1907 drivers/md/dm-ioctl.c if (!r && copy_to_user(user, param, param->data_size)) param 1911 drivers/md/dm-ioctl.c free_params(param, input_param_size, param_flags); param 358 drivers/md/dm-raid.c const char *param; param 370 drivers/md/dm-raid.c if (!strcasecmp(mode, _raid456_journal_mode[m].param)) param 383 drivers/md/dm-raid.c return _raid456_journal_mode[m].param; param 69 drivers/md/dm-target.c void *param), void *param) param 75 drivers/md/dm-target.c iter_func(tt, param); param 169 drivers/md/dm.c int param = READ_ONCE(*module_param); param 173 drivers/md/dm.c if (param < min) param 175 drivers/md/dm.c else if (param > max) param 181 drivers/md/dm.c (void)cmpxchg(module_param, param, modified_param); param 182 drivers/md/dm.c param = modified_param; param 185 drivers/md/dm.c return param; param 191 drivers/md/dm.c unsigned param = READ_ONCE(*module_param); param 194 drivers/md/dm.c if (!param) param 196 drivers/md/dm.c else if (param > max) param 200 drivers/md/dm.c (void)cmpxchg(module_param, param, modified_param); param 201 drivers/md/dm.c param = modified_param; param 204 drivers/md/dm.c return param; param 112 drivers/md/dm.h void *param), void *param); param 153 drivers/media/i2c/m5mols/m5mols.h u16 param; param 450 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u16(sd, SYSTEM_VER_PARAMETER, &ver->param); param 814 drivers/media/i2c/mt9t112.c u16 param = MT9T112_FLAG_PCLK_RISING_EDGE & priv->info->flags ? param 820 drivers/media/i2c/mt9t112.c mt9t112_reg_write(ret, client, 0x3C20, param); param 741 drivers/media/pci/ivtv/ivtv-driver.c struct sched_param param = { .sched_priority = 99 }; param 762 drivers/media/pci/ivtv/ivtv-driver.c sched_setscheduler(itv->irq_worker_task, SCHED_FIFO, ¶m); param 2174 drivers/media/platform/am437x/am437x-vpfe.c bool valid_prio, unsigned int cmd, void *param) param 2194 drivers/media/platform/am437x/am437x-vpfe.c ret = vpfe_ccdc_set_params(&vpfe->ccdc, (void __user *)param); param 33 drivers/media/platform/davinci/ccdc_hw_device.h int (*set_hw_if_params) (struct vpfe_hw_if_param *param); param 35 drivers/media/platform/davinci/ccdc_hw_device.h int (*get_hw_if_params) (struct vpfe_hw_if_param *param); param 601 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct mtk_jpeg_dec_param *param) param 607 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (q_data->w != param->pic_w || q_data->h != param->pic_h) { param 613 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (q_data->fmt != mtk_jpeg_find_format(ctx, param->dst_fourcc, param 622 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct mtk_jpeg_dec_param *param) param 629 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->w = param->pic_w; param 630 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->h = param->pic_h; param 633 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->w = param->dec_w; param 634 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->h = param->dec_h; param 636 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c param->dst_fourcc, param 640 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->bytesperline[i] = param->mem_stride[i]; param 641 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->sizeimage[i] = param->comp_size[i]; param 646 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c (param->dst_fourcc & 0xff), param 647 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c (param->dst_fourcc >> 8 & 0xff), param 648 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c (param->dst_fourcc >> 16 & 0xff), param 649 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c (param->dst_fourcc >> 24 & 0xff), param 650 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c param->pic_w, param->pic_h, param 651 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c param->dec_w, param->dec_h); param 657 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct mtk_jpeg_dec_param *param; param 669 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c param = &jpeg_src_buf->dec_param; param 670 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c memset(param, 0, sizeof(*param)); param 676 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c header_valid = mtk_jpeg_parse(param, (u8 *)vb2_plane_vaddr(vb, 0), param 689 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c mtk_jpeg_set_queue_data(ctx, param); param 772 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct mtk_jpeg_dec_param *param, param 778 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (param->comp_num != dst_buf->num_planes) { param 780 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c param->comp_num, dst_buf->num_planes); param 785 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (vb2_plane_size(dst_buf, i) < param->comp_size[i]) { param 789 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c param->comp_size[i]); param 36 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static int mtk_jpeg_decide_format(struct mtk_jpeg_dec_param *param) param 38 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->src_color = (param->sampling_w[0] << 20) | param 39 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c (param->sampling_h[0] << 16) | param 40 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c (param->sampling_w[1] << 12) | param 41 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c (param->sampling_h[1] << 8) | param 42 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c (param->sampling_w[2] << 4) | param 43 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c (param->sampling_h[2]); param 45 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->uv_brz_w = 0; param 46 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c switch (param->src_color) { param 48 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->uv_brz_w = 1; param 49 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc = V4L2_PIX_FMT_YUV422M; param 53 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc = V4L2_PIX_FMT_YUV422M; param 57 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->uv_brz_w = 1; param 58 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc = V4L2_PIX_FMT_YUV420M; param 61 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc = V4L2_PIX_FMT_YUV420M; param 64 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc = V4L2_PIX_FMT_GREY; param 67 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc = 0; param 74 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static void mtk_jpeg_calc_mcu(struct mtk_jpeg_dec_param *param) param 79 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c factor_w = 2 + param->sampling_w[0]; param 80 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c factor_h = 2 + param->sampling_h[0]; param 81 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->mcu_w = (param->pic_w + (1 << factor_w) - 1) >> factor_w; param 82 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->mcu_h = (param->pic_h + (1 << factor_h) - 1) >> factor_h; param 83 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->total_mcu = param->mcu_w * param->mcu_h; param 84 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->unit_num = ((param->pic_w + 7) >> 3) * ((param->pic_h + 7) >> 3); param 85 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->blk_num = 0; param 87 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->blk_comp[i] = 0; param 88 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c if (i >= param->comp_num) param 90 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->blk_comp[i] = param->sampling_w[i] * param 91 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->sampling_h[i]; param 92 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->blk_num += param->blk_comp[i]; param 95 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->membership = 0; param 97 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c if (i < param->blk_num && comp < param->comp_num) { param 101 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->membership |= tmp << (i * 3); param 102 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c if (++blk == param->blk_comp[comp]) { param 107 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->membership |= 7 << (i * 3); param 112 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static void mtk_jpeg_calc_dma_group(struct mtk_jpeg_dec_param *param) param 116 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c if (param->src_color == MTK_JPEG_COLOR_444 && param 117 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc == V4L2_PIX_FMT_YUV422M) param 119 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c else if (param->src_color == MTK_JPEG_COLOR_422V && param 120 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc == V4L2_PIX_FMT_YUV420M) param 122 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c else if (param->src_color == MTK_JPEG_COLOR_422X2 && param 123 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dst_fourcc == V4L2_PIX_FMT_YUV422M) param 125 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c else if (param->src_color == MTK_JPEG_COLOR_400 || param 126 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c (param->src_color & 0x0FFFF) == 0) param 129 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dma_mcu = 1 << factor_mcu; param 130 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dma_group = param->mcu_w / param->dma_mcu; param 131 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dma_last_mcu = param->mcu_w % param->dma_mcu; param 132 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c if (param->dma_last_mcu) param 133 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dma_group++; param 135 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dma_last_mcu = param->dma_mcu; param 138 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static int mtk_jpeg_calc_dst_size(struct mtk_jpeg_dec_param *param) param 145 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c brz_w[1] = param->uv_brz_w; param 148 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c for (i = 0; i < param->comp_num; i++) { param 152 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c padding_w = param->mcu_w * MTK_JPEG_DCTSIZE * param 153 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->sampling_w[i]; param 155 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->comp_w[i] = padding_w >> brz_w[i]; param 156 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->comp_w[i] = mtk_jpeg_align(param->comp_w[i], param 158 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->img_stride[i] = i ? mtk_jpeg_align(param->comp_w[i], 16) param 159 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c : mtk_jpeg_align(param->comp_w[i], 32); param 160 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c ds_row_h[i] = (MTK_JPEG_DCTSIZE * param->sampling_h[i]); param 162 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dec_w = param->img_stride[0]; param 163 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dec_h = ds_row_h[0] * param->mcu_h; param 167 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->mem_stride[i] = param->img_stride[i]; param 168 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->comp_size[i] = param->mem_stride[i] * ds_row_h[i] * param 169 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->mcu_h; param 172 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->y_size = param->comp_size[0]; param 173 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->uv_size = param->comp_size[1]; param 174 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->dec_size = param->y_size + (param->uv_size << 1); param 179 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c int mtk_jpeg_dec_fill_param(struct mtk_jpeg_dec_param *param) param 181 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c if (mtk_jpeg_decide_format(param)) param 184 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c mtk_jpeg_calc_mcu(param); param 185 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c mtk_jpeg_calc_dma_group(param); param 186 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c if (mtk_jpeg_calc_dst_size(param)) param 73 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.h int mtk_jpeg_dec_fill_param(struct mtk_jpeg_dec_param *param); param 57 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c static bool mtk_jpeg_do_parse(struct mtk_jpeg_dec_param *param, u8 *src_addr_va, param 97 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c param->pic_h = word; param 101 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c param->pic_w = word; param 103 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c param->comp_num = read_byte(&stream); param 104 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c if (param->comp_num != 1 && param->comp_num != 3) param 107 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c for (i = 0; i < param->comp_num; i++) { param 108 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c param->comp_id[i] = read_byte(&stream); param 109 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c if (param->comp_id[i] == -1) param 116 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c param->sampling_w[i] = (byte >> 4) & 0x0F; param 117 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c param->sampling_h[i] = byte & 0x0F; param 119 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c param->qtbl_num[i] = read_byte(&stream); param 120 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c if (param->qtbl_num[i] == -1) param 124 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c notfound = !(i == param->comp_num); param 143 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c bool mtk_jpeg_parse(struct mtk_jpeg_dec_param *param, u8 *src_addr_va, param 146 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c if (!mtk_jpeg_do_parse(param, src_addr_va, src_size)) param 148 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c if (mtk_jpeg_dec_fill_param(param)) param 13 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.h bool mtk_jpeg_parse(struct mtk_jpeg_dec_param *param, u8 *src_addr_va, param 370 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct venc_enc_param *param) param 377 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->input_yuv_fmt = VENC_YUV_FORMAT_I420; param 380 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->input_yuv_fmt = VENC_YUV_FORMAT_YV12; param 383 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->input_yuv_fmt = VENC_YUV_FORMAT_NV12; param 386 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->input_yuv_fmt = VENC_YUV_FORMAT_NV21; param 392 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->h264_profile = enc_params->h264_profile; param 393 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->h264_level = enc_params->h264_level; param 396 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->width = q_data_src->visible_width; param 397 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->height = q_data_src->visible_height; param 399 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->buf_width = q_data_src->coded_width; param 400 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->buf_height = q_data_src->coded_height; param 401 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->frm_rate = enc_params->framerate_num / param 403 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->intra_period = enc_params->intra_period; param 404 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->gop_size = enc_params->gop_size; param 405 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->bitrate = enc_params->bitrate; param 409 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->input_yuv_fmt, param->h264_profile, param 410 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->h264_level, param->width, param->height, param 411 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->buf_width, param->buf_height, param 412 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->frm_rate, param->bitrate, param 413 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->gop_size, param->intra_period); param 820 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct venc_enc_param param; param 841 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_venc_set_param(ctx, ¶m); param 842 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c ret = venc_if_set_param(ctx, VENC_SET_PARAM_ENC, ¶m); param 45 drivers/media/platform/mtk-vcodec/venc_vpu_if.h struct venc_enc_param *param); param 111 drivers/media/platform/sti/delta/delta-ipc.c struct delta_ipc_param *param, u32 ipc_buf_size, param 136 drivers/media/platform/sti/delta/delta-ipc.c if (!param || !param->data || !param->size) { param 150 drivers/media/platform/sti/delta/delta-ipc.c if (param->size > ipc_buf_size) { param 154 drivers/media/platform/sti/delta/delta-ipc.c param->size, ctx->ipc_buf->size); param 181 drivers/media/platform/sti/delta/delta-ipc.c msg.param_size = param->size; param 182 drivers/media/platform/sti/delta/delta-ipc.c memcpy(ctx->ipc_buf->vaddr, param->data, msg.param_size); param 191 drivers/media/platform/sti/delta/delta-ipc.c ret, name, param->size, param->data); param 201 drivers/media/platform/sti/delta/delta-ipc.c name, param->size, param->data); param 211 drivers/media/platform/sti/delta/delta-ipc.c ctx->cb_err, name, param->size, param->data); param 229 drivers/media/platform/sti/delta/delta-ipc.c int delta_ipc_set_stream(void *hdl, struct delta_ipc_param *param) param 252 drivers/media/platform/sti/delta/delta-ipc.c if (!param || !param->data || !param->size) { param 259 drivers/media/platform/sti/delta/delta-ipc.c if (param->size > ctx->ipc_buf->size) { param 263 drivers/media/platform/sti/delta/delta-ipc.c param->size, ctx->ipc_buf->size); param 267 drivers/media/platform/sti/delta/delta-ipc.c if (!is_valid_data(ctx, param->data, param->size)) { param 271 drivers/media/platform/sti/delta/delta-ipc.c param->size, param 272 drivers/media/platform/sti/delta/delta-ipc.c param->data, param 281 drivers/media/platform/sti/delta/delta-ipc.c msg.param_size = param->size; param 282 drivers/media/platform/sti/delta/delta-ipc.c msg.param_paddr = to_paddr(ctx, param->data); param 290 drivers/media/platform/sti/delta/delta-ipc.c ret, param->size, param->data); param 301 drivers/media/platform/sti/delta/delta-ipc.c param->size, param->data); param 311 drivers/media/platform/sti/delta/delta-ipc.c ctx->cb_err, param->size, param->data); param 319 drivers/media/platform/sti/delta/delta-ipc.c int delta_ipc_decode(void *hdl, struct delta_ipc_param *param, param 343 drivers/media/platform/sti/delta/delta-ipc.c if (!param || !param->data || !param->size) { param 357 drivers/media/platform/sti/delta/delta-ipc.c if (param->size + status->size > ctx->ipc_buf->size) { param 361 drivers/media/platform/sti/delta/delta-ipc.c param->size, param 367 drivers/media/platform/sti/delta/delta-ipc.c if (!is_valid_data(ctx, param->data, param->size)) { param 371 drivers/media/platform/sti/delta/delta-ipc.c param->size, param 372 drivers/media/platform/sti/delta/delta-ipc.c param->data, param 392 drivers/media/platform/sti/delta/delta-ipc.c msg.param_size = param->size; param 393 drivers/media/platform/sti/delta/delta-ipc.c msg.param_paddr = to_paddr(ctx, param->data); param 404 drivers/media/platform/sti/delta/delta-ipc.c ret, param->size, param->data); param 415 drivers/media/platform/sti/delta/delta-ipc.c param->size, param->data); param 425 drivers/media/platform/sti/delta/delta-ipc.c ctx->cb_err, param->size, param->data); param 39 drivers/media/platform/sti/delta/delta-ipc.h struct delta_ipc_param *param, u32 ipc_buf_size, param 50 drivers/media/platform/sti/delta/delta-ipc.h int delta_ipc_set_stream(void *hdl, struct delta_ipc_param *param); param 67 drivers/media/platform/sti/delta/delta-ipc.h int delta_ipc_decode(void *hdl, struct delta_ipc_param *param, param 258 drivers/media/platform/stm32/stm32-dcmi.c static void dcmi_dma_callback(void *param) param 260 drivers/media/platform/stm32/stm32-dcmi.c struct stm32_dcmi *dcmi = (struct stm32_dcmi *)param; param 275 drivers/media/platform/vsp1/vsp1_sru.c const struct vsp1_sru_param *param; param 295 drivers/media/platform/vsp1/vsp1_sru.c param = &vsp1_sru_params[sru->intensity - 1]; param 297 drivers/media/platform/vsp1/vsp1_sru.c ctrl0 |= param->ctrl0; param 301 drivers/media/platform/vsp1/vsp1_sru.c vsp1_sru_write(sru, dlb, VI6_SRU_CTRL2, param->ctrl2); param 299 drivers/media/platform/xilinx/xilinx-dma.c static void xvip_dma_complete(void *param) param 301 drivers/media/platform/xilinx/xilinx-dma.c struct xvip_dma_buffer *buf = param; param 431 drivers/media/usb/cpia2/cpia2.h unsigned char direction, unsigned char param); param 129 drivers/media/usb/cpia2/cpia2_core.c u32 command, u8 direction, u8 param) param 167 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 178 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 186 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 197 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 205 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 213 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 221 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 233 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 236 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 283 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 300 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 303 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 311 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 324 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 333 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 341 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 349 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 357 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 364 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 370 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 381 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].value = param; param 400 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 405 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.block_data[0] = param; param 228 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct dvbt_set_parameters_msg *param; param 233 drivers/media/usb/dvb-usb/cinergyT2-fe.c param = (void *)state->data; param 234 drivers/media/usb/dvb-usb/cinergyT2-fe.c param->cmd = CINERGYT2_EP1_SET_TUNER_PARAMETERS; param 235 drivers/media/usb/dvb-usb/cinergyT2-fe.c param->tps = cpu_to_le16(compute_tps(fep)); param 236 drivers/media/usb/dvb-usb/cinergyT2-fe.c param->freq = cpu_to_le32(fep->frequency / 1000); param 237 drivers/media/usb/dvb-usb/cinergyT2-fe.c param->flags = 0; param 242 drivers/media/usb/dvb-usb/cinergyT2-fe.c param->bandwidth = 8; param 245 drivers/media/usb/dvb-usb/cinergyT2-fe.c param->bandwidth = 7; param 248 drivers/media/usb/dvb-usb/cinergyT2-fe.c param->bandwidth = 6; param 252 drivers/media/usb/dvb-usb/cinergyT2-fe.c err = dvb_usb_generic_rw(state->d, state->data, sizeof(*param), param 113 drivers/media/usb/gspca/se401.c u16 selector, u16 param) param 124 drivers/media/usb/gspca/se401.c param, selector, NULL, 0, 1000); param 127 drivers/media/usb/gspca/se401.c selector, param, err); param 354 drivers/memstick/core/ms_block.c offsetof(struct ms_register, param), param 356 drivers/memstick/core/ms_block.c (unsigned char *)&msb->regs.param)) param 425 drivers/memstick/core/ms_block.c if (msb->regs.param.cp == MEMSTICK_CP_EXTRA) { param 493 drivers/memstick/core/ms_block.c offsetof(struct ms_register, param), param 495 drivers/memstick/core/ms_block.c &msb->regs.param)) param 600 drivers/memstick/core/ms_block.c offsetof(struct ms_register, param), param 602 drivers/memstick/core/ms_block.c &msb->regs.param)) param 685 drivers/memstick/core/ms_block.c msb->regs.param.system &= ~MEMSTICK_SYS_PAM; param 692 drivers/memstick/core/ms_block.c msb->regs.param.system |= MEMSTICK_SYS_PAM; param 695 drivers/memstick/core/ms_block.c offsetof(struct ms_register, param), param 697 drivers/memstick/core/ms_block.c (unsigned char *)&msb->regs.param)) param 724 drivers/memstick/core/ms_block.c bool was_parallel = msb->regs.param.system & MEMSTICK_SYS_PAM; param 730 drivers/memstick/core/ms_block.c msb->regs.param.system = MEMSTICK_SYS_BAMD; param 776 drivers/memstick/core/ms_block.c msb->regs.param.system &= ~MEMSTICK_SYS_PAM; param 792 drivers/memstick/core/ms_block.c msb->regs.param.block_address = cpu_to_be16(pba); param 793 drivers/memstick/core/ms_block.c msb->regs.param.page_address = page; param 794 drivers/memstick/core/ms_block.c msb->regs.param.cp = MEMSTICK_CP_OVERWRITE; param 830 drivers/memstick/core/ms_block.c msb->regs.param.block_address = cpu_to_be16(pba); param 831 drivers/memstick/core/ms_block.c msb->regs.param.page_address = 0; param 832 drivers/memstick/core/ms_block.c msb->regs.param.cp = MEMSTICK_CP_BLOCK; param 903 drivers/memstick/core/ms_block.c msb->regs.param.block_address = cpu_to_be16(pba); param 904 drivers/memstick/core/ms_block.c msb->regs.param.page_address = page; param 905 drivers/memstick/core/ms_block.c msb->regs.param.cp = MEMSTICK_CP_PAGE; param 950 drivers/memstick/core/ms_block.c msb->regs.param.block_address = cpu_to_be16(pba); param 951 drivers/memstick/core/ms_block.c msb->regs.param.page_address = page; param 952 drivers/memstick/core/ms_block.c msb->regs.param.cp = MEMSTICK_CP_EXTRA; param 1033 drivers/memstick/core/ms_block.c msb->regs.param.cp = MEMSTICK_CP_BLOCK; param 1034 drivers/memstick/core/ms_block.c msb->regs.param.page_address = 0; param 1035 drivers/memstick/core/ms_block.c msb->regs.param.block_address = cpu_to_be16(pba); param 674 drivers/memstick/core/mspro_block.c struct mspro_param_register param = { param 683 drivers/memstick/core/mspro_block.c param.data_address = cpu_to_be32((uint32_t)offset); param 688 drivers/memstick/core/mspro_block.c ¶m, sizeof(param)); param 873 drivers/memstick/core/mspro_block.c struct mspro_param_register param = { param 882 drivers/memstick/core/mspro_block.c memstick_init_req(&card->current_mrq, MS_TPC_WRITE_REG, ¶m, param 883 drivers/memstick/core/mspro_block.c sizeof(param)); param 1129 drivers/memstick/core/mspro_block.c card->reg_addr.w_offset = offsetof(struct mspro_register, param); param 674 drivers/memstick/host/jmb38x_ms.c enum memstick_param param, param 682 drivers/memstick/host/jmb38x_ms.c switch (param) { param 681 drivers/memstick/host/r592.c enum memstick_param param, int value) param 685 drivers/memstick/host/r592.c switch (param) { param 433 drivers/memstick/host/rtsx_pci_ms.c enum memstick_param param, int value) param 442 drivers/memstick/host/rtsx_pci_ms.c __func__, param, value); param 448 drivers/memstick/host/rtsx_pci_ms.c switch (param) { param 552 drivers/memstick/host/rtsx_usb_ms.c enum memstick_param param, int value) param 561 drivers/memstick/host/rtsx_usb_ms.c __func__, param, value); param 570 drivers/memstick/host/rtsx_usb_ms.c switch (param) { param 632 drivers/memstick/host/rtsx_usb_ms.c if (param == MEMSTICK_POWER && value == MEMSTICK_POWER_ON) { param 495 drivers/memstick/host/tifm_ms.c enum memstick_param param, param 501 drivers/memstick/host/tifm_ms.c switch (param) { param 340 drivers/mfd/ezx-pcap.c static void pcap_adc_sync_cb(void *param, u16 res[]) param 342 drivers/mfd/ezx-pcap.c struct pcap_adc_sync_request *req = param; param 107 drivers/mfd/pcf50633-adc.c static void pcf50633_adc_sync_read_callback(struct pcf50633 *pcf, void *param, param 110 drivers/mfd/pcf50633-adc.c struct pcf50633_adc_sync_request *req = param; param 38 drivers/mfd/wl1273-core.c static int wl1273_fm_write_cmd(struct wl1273_core *core, u8 cmd, u16 param) param 41 drivers/mfd/wl1273-core.c u8 buf[] = { (param >> 8) & 0xff, param & 0xff }; param 123 drivers/misc/mic/host/mic_device.h bool (*dma_filter)(struct dma_chan *chan, void *param); param 542 drivers/misc/mic/host/mic_x100.c static bool mic_x100_dma_filter(struct dma_chan *chan, void *param) param 544 drivers/misc/mic/host/mic_x100.c if (chan->device->dev->parent == (struct device *)param) param 142 drivers/mmc/core/sdio_irq.c struct sched_param param = { .sched_priority = 1 }; param 146 drivers/mmc/core/sdio_irq.c sched_setscheduler(current, SCHED_FIFO, ¶m); param 256 drivers/mmc/host/au1xmmc.c static void au1xmmc_tasklet_finish(unsigned long param) param 258 drivers/mmc/host/au1xmmc.c struct au1xmmc_host *host = (struct au1xmmc_host *) param; param 382 drivers/mmc/host/au1xmmc.c static void au1xmmc_tasklet_data(unsigned long param) param 384 drivers/mmc/host/au1xmmc.c struct au1xmmc_host *host = (struct au1xmmc_host *)param; param 321 drivers/mmc/host/bcm2835.c static void bcm2835_dma_complete(void *param) param 323 drivers/mmc/host/bcm2835.c struct bcm2835_host *host = param; param 250 drivers/mmc/host/moxart-mmc.c static void moxart_dma_complete(void *param) param 252 drivers/mmc/host/moxart-mmc.c struct moxart_host *host = param; param 948 drivers/mmc/host/mxcmmc.c static bool filter(struct dma_chan *chan, void *param) param 950 drivers/mmc/host/mxcmmc.c struct mxcmci_host *host = param; param 169 drivers/mmc/host/mxs-mmc.c static void mxs_mmc_dma_irq_callback(void *param) param 171 drivers/mmc/host/mxs-mmc.c struct mxs_mmc_host *host = param; param 881 drivers/mmc/host/omap.c static void mmc_omap_cover_handler(unsigned long param) param 883 drivers/mmc/host/omap.c struct mmc_omap_slot *slot = (struct mmc_omap_slot *)param; param 1165 drivers/mmc/host/omap_hsmmc.c static void omap_hsmmc_dma_callback(void *param) param 1167 drivers/mmc/host/omap_hsmmc.c struct omap_hsmmc_host *host = param; param 157 drivers/mmc/host/pxamci.c static void pxamci_dma_irq(void *param); param 529 drivers/mmc/host/pxamci.c static void pxamci_dma_irq(void *param) param 531 drivers/mmc/host/pxamci.c struct pxamci_host *host = param; param 94 drivers/mmc/host/uniphier-sd.c static void uniphier_sd_external_dma_callback(void *param, param 97 drivers/mmc/host/uniphier-sd.c struct tmio_mmc_host *host = param; param 957 drivers/mmc/host/via-sdmmc.c static void via_sdc_tasklet_finish(unsigned long param) param 963 drivers/mmc/host/via-sdmmc.c host = (struct via_crdr_mmc_host *)param; param 988 drivers/mmc/host/wbsd.c static void wbsd_tasklet_card(unsigned long param) param 990 drivers/mmc/host/wbsd.c struct wbsd_host *host = (struct wbsd_host *)param; param 1037 drivers/mmc/host/wbsd.c static void wbsd_tasklet_fifo(unsigned long param) param 1039 drivers/mmc/host/wbsd.c struct wbsd_host *host = (struct wbsd_host *)param; param 1068 drivers/mmc/host/wbsd.c static void wbsd_tasklet_crc(unsigned long param) param 1070 drivers/mmc/host/wbsd.c struct wbsd_host *host = (struct wbsd_host *)param; param 1092 drivers/mmc/host/wbsd.c static void wbsd_tasklet_timeout(unsigned long param) param 1094 drivers/mmc/host/wbsd.c struct wbsd_host *host = (struct wbsd_host *)param; param 1116 drivers/mmc/host/wbsd.c static void wbsd_tasklet_finish(unsigned long param) param 1118 drivers/mmc/host/wbsd.c struct wbsd_host *host = (struct wbsd_host *)param; param 450 drivers/mtd/nand/raw/fsmc_nand.c static void dma_complete(void *param) param 452 drivers/mtd/nand/raw/fsmc_nand.c struct fsmc_nand_data *host = param; param 778 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void dma_irq_callback(void *param) param 780 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c struct gpmi_nand_data *this = param; param 166 drivers/mtd/nand/raw/meson_nand.c struct meson_nfc_param param; param 231 drivers/mtd/nand/raw/meson_nand.c nfc->param.chip_select = meson_chip->sels[chip] ? NAND_CE1 : NAND_CE0; param 232 drivers/mtd/nand/raw/meson_nand.c nfc->param.rb_select = nfc->param.chip_select; param 255 drivers/mtd/nand/raw/meson_nand.c writel(nfc->param.chip_select | NFC_CMD_IDLE | (time & 0x3ff), param 407 drivers/mtd/nand/raw/meson_nand.c | nfc->param.chip_select | nfc->timing.tbers_max; param 581 drivers/mtd/nand/raw/meson_nand.c u32 cs = nfc->param.chip_select; param 662 drivers/mtd/nand/raw/meson_nand.c cmd = nfc->param.chip_select | NFC_CMD_CLE | NAND_CMD_PAGEPROG; param 910 drivers/mtd/nand/raw/meson_nand.c cmd = nfc->param.chip_select | NFC_CMD_CLE; param 918 drivers/mtd/nand/raw/meson_nand.c cmd = nfc->param.chip_select | NFC_CMD_ALE; param 147 drivers/mtd/nand/raw/sh_flctl.c static void flctl_dma_complete(void *param) param 149 drivers/mtd/nand/raw/sh_flctl.c struct sh_flctl *flctl = param; param 956 drivers/mtd/spi-nor/cadence-quadspi.c static void cqspi_rx_dma_callback(void *param) param 958 drivers/mtd/spi-nor/cadence-quadspi.c struct cqspi_st *cqspi = param; param 104 drivers/mtd/ubi/block.c struct ubiblock_param *param; param 133 drivers/mtd/ubi/block.c param = &ubiblock_param[ubiblock_devs]; param 136 drivers/mtd/ubi/block.c ret = kstrtoint(tokens[0], 10, ¶m->ubi_num); param 141 drivers/mtd/ubi/block.c ret = kstrtoint(tokens[1], 10, ¶m->vol_id); param 143 drivers/mtd/ubi/block.c param->vol_id = -1; param 144 drivers/mtd/ubi/block.c strcpy(param->name, tokens[1]); param 149 drivers/mtd/ubi/block.c strcpy(param->name, tokens[0]); param 150 drivers/mtd/ubi/block.c param->ubi_num = -1; param 151 drivers/mtd/ubi/block.c param->vol_id = -1; param 429 drivers/net/can/kvaser_pciefd.c struct kvaser_pciefd_cfg_param *param; param 431 drivers/net/can/kvaser_pciefd.c param = &img->params[KVASER_PCIEFD_CFG_PARAM_NR_CHAN]; param 432 drivers/net/can/kvaser_pciefd.c memcpy(&pcie->nr_channels, param->data, le32_to_cpu(param->len)); param 2316 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c u32 param; param 2330 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c param = DRV_MSG_CODE_LOAD_REQ_WITH_LFA; param 2333 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c param |= DRV_MSG_CODE_LOAD_REQ_FORCE_LFA; param 2336 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c (*load_code) = bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_REQ, param); param 147 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param); param 1373 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c #define OP_GEN_PARAM(param) \ param 1374 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (((param) << SDM_OP_GEN_COMP_PARAM_SHIFT) & SDM_OP_GEN_COMP_PARAM) param 3001 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param) param 3011 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c SHMEM_WR(bp, func_mb[mb_idx].drv_mb_param, param); param 3015 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (command | seq), param); param 15396 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 param, rule; param 15402 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c param = port ? NIG_REG_P1_TLLH_PTP_PARAM_MASK : param 15409 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, param, BNX2X_PTP_TX_ON_PARAM_MASK); param 15417 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c param = port ? NIG_REG_P1_LLH_PTP_PARAM_MASK : param 15434 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, param, BNX2X_PTP_V1_L4_PARAM_MASK); param 15442 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, param, BNX2X_PTP_V2_L4_PARAM_MASK); param 15450 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, param, BNX2X_PTP_V2_L2_PARAM_MASK); param 15459 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, param, BNX2X_PTP_V2_PARAM_MASK); param 571 drivers/net/ethernet/cavium/liquidio/lio_core.c void *param, param 576 drivers/net/ethernet/cavium/liquidio/lio_core.c container_of(param, struct octeon_droq, napi); param 579 drivers/net/ethernet/cavium/liquidio/lio_core.c struct napi_struct *napi = param; param 706 drivers/net/ethernet/cavium/liquidio/lio_core.c static void napi_schedule_wrapper(void *param) param 708 drivers/net/ethernet/cavium/liquidio/lio_core.c struct napi_struct *napi = param; param 778 drivers/net/ethernet/cavium/liquidio/lio_main.c static int liquidio_watchdog(void *param) param 783 drivers/net/ethernet/cavium/liquidio/lio_main.c struct octeon_device *oct = param; param 782 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be32 param; param 1733 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c #define FW_PARAM_PFVF_A(param) \ param 1735 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c FW_PARAMS_PARAM_X_V(FW_PARAMS_PARAM_PFVF_##param) | \ param 1950 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c u32 param[7], val[7]; param 1956 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c param[0] = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 1959 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c param[1] = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 1963 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c param, val); param 954 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c u32 param, val; param 965 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 968 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c ret = t4_set_params(adap, adap->mbox, adap->pf, 0, 1, ¶m, &val); param 990 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c u32 param, val; param 1021 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c param = param 1027 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c 1, ¶m, &val); param 793 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c unsigned int param, val; param 802 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 805 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ret = t4_query_params(adap, adap->mbox, adap->pf, 0, 1, ¶m, &val); param 816 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ret = t4_set_params(adap, adap->mbox, adap->pf, 0, 1, ¶m, &val); param 2981 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u32 param, val; param 3004 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_PFVF) | param 3007 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ¶m, &val); param 3560 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u32 param, hma_size; param 3574 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 3577 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 1, ¶m, &hma_size); param 3984 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u32 finiver, finicsum, cfcsum, param, val; param 4103 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 4106 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 1, ¶m, &val); param 4500 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c #define FW_PARAM_DEV(param) \ param 4502 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c FW_PARAMS_PARAM_X_V(FW_PARAMS_PARAM_DEV_##param)) param 4504 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c #define FW_PARAM_PFVF(param) \ param 4506 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c FW_PARAMS_PARAM_X_V(FW_PARAMS_PARAM_PFVF_##param)| \ param 16 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c u32 param, val; param 19 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 24 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c ¶m, &val); param 66 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c u32 param, val; param 72 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 77 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c ¶m, &val); param 216 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c u32 param, cmdop; param 221 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DMAQ) | param 225 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 0, 1, ¶m, &cmplqid); param 247 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c u32 param, cmdop, cmplqid = 0; param 252 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DMAQ) | param 256 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 0, 1, ¶m, &cmplqid); param 90 drivers/net/ethernet/chelsio/cxgb4/sched.c fw_class = bind ? qe->param.class : FW_SCHED_CLS_NONE; param 211 drivers/net/ethernet/chelsio/cxgb4/sched.c memcpy(&qe->param, p, sizeof(qe->param)); param 213 drivers/net/ethernet/chelsio/cxgb4/sched.c e = &s->tab[qe->param.class]; param 239 drivers/net/ethernet/chelsio/cxgb4/sched.c t4_sched_queue_unbind(pi, &qe->param); param 64 drivers/net/ethernet/chelsio/cxgb4/sched.h struct ch_sched_queue param; param 3658 drivers/net/ethernet/chelsio/cxgb4/sge.c u32 param, val, ch_map = 0; param 3662 drivers/net/ethernet/chelsio/cxgb4/sge.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DMAQ) | param 3677 drivers/net/ethernet/chelsio/cxgb4/sge.c ¶m, &val); param 3874 drivers/net/ethernet/chelsio/cxgb4/sge.c u32 param, val; param 3876 drivers/net/ethernet/chelsio/cxgb4/sge.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DMAQ) | param 3880 drivers/net/ethernet/chelsio/cxgb4/sge.c return t4_set_params(adap, adap->mbox, adap->pf, 0, 1, ¶m, &val); param 3742 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 param, val; param 3745 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 3750 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ¶m, &val); param 3790 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 param, val; param 3816 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 3822 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ¶m, &val, 1, true); param 3846 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 3851 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ¶m, &val, 30000); param 3889 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.param[0].mnem = param 3892 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.param[0].val = cpu_to_be32(op); param 6184 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 param, val; param 6187 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 6190 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 0, 1, ¶m, &val); param 6220 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 param, val = 0; param 6233 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 6236 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 0, 1, ¶m, &val); param 6818 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int nparams, param; param 6825 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (param = 0; param < nparams; param++) param 6826 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c params[param] = param 6829 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c FW_PARAMS_PARAM_Y_V(dbqtimerix + param)); param 6835 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (param = 0; param < nparams; param++) param 6836 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c dbqtimers[dbqtimerix++] = vals[param]; param 7462 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c __be32 *p = &c.param[0].mnem; param 7483 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (i = 0, p = &c.param[0].val; i < nparams; i++, p += 2) param 7524 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c __be32 *p = &c.param[0].mnem; param 9404 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 param, val, v; param 9419 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) | param 9425 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ¶m, &val); param 9613 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 param, val; param 9615 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_PFVF) | param 9618 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ret = t4_set_params(adapter, mbox, pf, vf, 1, ¶m, &val); param 1413 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } param[7]; param 2583 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c u32 param, val = 0; param 2651 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c param = FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_PFVF) | param 2654 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c (void) t4vf_set_params(adapter, 1, ¶m, &val); param 515 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u32 param, val; param 517 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_PFVF) | param 520 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c ret = t4vf_set_params(adapter, 1, ¶m, &val); param 639 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c param[nparams].mnem), 16); param 641 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) param 646 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c for (i = 0, p = &rpl.param[0]; i < nparams; i++, p++) param 677 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c param[nparams]), 16); param 679 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c for (i = 0, p = &cmd.param[0]; i < nparams; i++, p++) { param 366 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c static void hns_mac_param_get(struct mac_params *param, param 369 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c param->vaddr = mac_cb->vaddr; param 370 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c param->mac_mode = hns_get_enet_interface(mac_cb); param 371 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c ether_addr_copy(param->addr, mac_cb->addr_entry_idx[0].addr); param 372 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c param->mac_id = mac_cb->mac_id; param 373 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c param->dev = mac_cb->dev; param 631 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct mac_params param; param 636 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c memset(¶m, 0, sizeof(struct mac_params)); param 637 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c hns_mac_param_get(¶m, mac_cb); param 639 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c if (MAC_SPEED_FROM_MODE(param.mac_mode) < MAC_SPEED_10000) param 640 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c drv = (struct mac_driver *)hns_gmac_config(mac_cb, ¶m); param 642 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c drv = (struct mac_driver *)hns_xgmac_config(mac_cb, ¶m); param 665 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct ethtool_ringparam *param) param 678 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c param->rx_max_pending = uplimit; param 679 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c param->tx_max_pending = uplimit; param 680 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c param->rx_pending = queue->rx_ring.desc_num; param 681 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c param->tx_pending = queue->tx_ring.desc_num; param 690 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct ethtool_pauseparam *param) param 698 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c ops->get_pauseparam(priv->ae_handle, ¶m->autoneg, param 699 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c ¶m->rx_pause, ¶m->tx_pause); param 710 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct ethtool_pauseparam *param) param 722 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c return ops->set_pauseparam(priv->ae_handle, param->autoneg, param 723 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c param->rx_pause, param->tx_pause); param 587 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct ethtool_ringparam *param) param 598 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->tx_max_pending = HNS3_RING_MAX_PENDING; param 599 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->rx_max_pending = HNS3_RING_MAX_PENDING; param 601 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->tx_pending = priv->ring_data[0].ring->desc_num; param 602 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->rx_pending = priv->ring_data[queue_num].ring->desc_num; param 606 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct ethtool_pauseparam *param) param 611 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c h->ae_algo->ops->get_pauseparam(h, ¶m->autoneg, param 612 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ¶m->rx_pause, ¶m->tx_pause); param 616 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct ethtool_pauseparam *param) param 622 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->autoneg, param->rx_pause, param->tx_pause); param 625 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c return h->ae_algo->ops->set_pauseparam(h, param->autoneg, param 626 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->rx_pause, param 627 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->tx_pause); param 931 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct ethtool_ringparam *param) param 936 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (param->rx_mini_pending || param->rx_jumbo_pending) param 939 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (param->tx_pending > HNS3_RING_MAX_PENDING || param 940 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->tx_pending < HNS3_RING_MIN_PENDING || param 941 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->rx_pending > HNS3_RING_MAX_PENDING || param 942 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c param->rx_pending < HNS3_RING_MIN_PENDING) { param 952 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct ethtool_ringparam *param) param 963 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ret = hns3_check_ringparam(ndev, param); param 968 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c new_tx_desc_num = ALIGN(param->tx_pending, HNS3_RING_BD_MULTIPLE); param 969 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c new_rx_desc_num = ALIGN(param->rx_pending, HNS3_RING_BD_MULTIPLE); param 491 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h __le32 param[4]; param 1094 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h struct hclge_promisc_param *param); param 1207 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->vmdq_vport_num = hnae3_get_field(__le32_to_cpu(req->param[0]), param 1210 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), param 1212 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->tqp_desc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), param 1216 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), param 1219 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), param 1222 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), param 1226 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_addr_tmp = __le32_to_cpu(req->param[2]); param 1227 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_addr_tmp_high = hnae3_get_field(__le32_to_cpu(req->param[3]), param 1233 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->default_speed = hnae3_get_field(__le32_to_cpu(req->param[3]), param 1236 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->rss_size_max = hnae3_get_field(__le32_to_cpu(req->param[3]), param 1244 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->numa_node_map = __le32_to_cpu(req->param[0]); param 1246 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->speed_ability = hnae3_get_field(__le32_to_cpu(req->param[1]), param 1249 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg->umv_space = hnae3_get_field(__le32_to_cpu(req->param[1]), param 4599 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_promisc_param *param) param 4608 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req->vf_id = param->vf_id; param 4615 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req->flag = (param->enable << HCLGE_PROMISC_EN_B) | param 4626 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c void hclge_promisc_param_init(struct hclge_promisc_param *param, bool en_uc, param 4629 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (!param) param 4632 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c memset(param, 0, sizeof(struct hclge_promisc_param)); param 4634 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c param->enable = HCLGE_PROMISC_EN_UC; param 4636 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c param->enable |= HCLGE_PROMISC_EN_MC; param 4638 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c param->enable |= HCLGE_PROMISC_EN_BC; param 4639 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c param->vf_id = vport_id; param 4647 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_promisc_param param; param 4657 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_promisc_param_init(¶m, en_uc_pmc, en_mc_pmc, en_bc_pmc, param 4659 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_cmd_set_promisc_mode(hdev, ¶m); param 926 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h void hclge_promisc_param_init(struct hclge_promisc_param *param, bool en_uc, param 209 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_promisc_param param; param 212 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c hclge_promisc_param_init(¶m, false, false, en_bc, vport->vport_id); param 213 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c return hclge_cmd_set_promisc_mode(vport->back, ¶m); param 909 drivers/net/ethernet/ibm/ehea/ehea_main.c static irqreturn_t ehea_recv_irq_handler(int irq, void *param) param 911 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_port_res *pr = param; param 918 drivers/net/ethernet/ibm/ehea/ehea_main.c static irqreturn_t ehea_qp_aff_irq_handler(int irq, void *param) param 920 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_port *port = param; param 1239 drivers/net/ethernet/ibm/ehea/ehea_main.c static irqreturn_t ehea_interrupt_neq(int irq, void *param) param 1241 drivers/net/ethernet/ibm/ehea/ehea_main.c struct ehea_adapter *adapter = param; param 1625 drivers/net/ethernet/ibm/emac/core.c static void emac_poll_tx(void *param) param 1627 drivers/net/ethernet/ibm/emac/core.c struct emac_instance *dev = param; param 1750 drivers/net/ethernet/ibm/emac/core.c static int emac_poll_rx(void *param, int budget) param 1752 drivers/net/ethernet/ibm/emac/core.c struct emac_instance *dev = param; param 1882 drivers/net/ethernet/ibm/emac/core.c static int emac_peek_rx(void *param) param 1884 drivers/net/ethernet/ibm/emac/core.c struct emac_instance *dev = param; param 1890 drivers/net/ethernet/ibm/emac/core.c static int emac_peek_rx_sg(void *param) param 1892 drivers/net/ethernet/ibm/emac/core.c struct emac_instance *dev = param; param 1911 drivers/net/ethernet/ibm/emac/core.c static void emac_rxde(void *param) param 1913 drivers/net/ethernet/ibm/emac/core.c struct emac_instance *dev = param; param 5571 drivers/net/ethernet/intel/i40e/i40e_common.c memcpy(desc.params.raw, aq->param, sizeof(desc.params.raw)); param 5593 drivers/net/ethernet/intel/i40e/i40e_common.c memcpy(aq->param, desc.params.raw, sizeof(desc.params.raw)); param 1595 drivers/net/ethernet/intel/i40e/i40e_type.h u8 param[16]; param 263 drivers/net/ethernet/mellanox/mlx4/cmd.c static int mlx4_comm_cmd_post(struct mlx4_dev *dev, u8 cmd, u16 param) param 281 drivers/net/ethernet/mellanox/mlx4/cmd.c val = param | (cmd << 16) | (priv->cmd.comm_toggle << 31); param 288 drivers/net/ethernet/mellanox/mlx4/cmd.c static int mlx4_comm_cmd_poll(struct mlx4_dev *dev, u8 cmd, u16 param, param 305 drivers/net/ethernet/mellanox/mlx4/cmd.c if (mlx4_comm_cmd_post(dev, cmd, param)) { param 339 drivers/net/ethernet/mellanox/mlx4/cmd.c u16 param, u16 op, unsigned long timeout) param 357 drivers/net/ethernet/mellanox/mlx4/cmd.c if (mlx4_comm_cmd_post(dev, vhcr_cmd, param)) { param 407 drivers/net/ethernet/mellanox/mlx4/cmd.c int mlx4_comm_cmd(struct mlx4_dev *dev, u8 cmd, u16 param, param 414 drivers/net/ethernet/mellanox/mlx4/cmd.c return mlx4_comm_cmd_wait(dev, cmd, param, op, timeout); param 415 drivers/net/ethernet/mellanox/mlx4/cmd.c return mlx4_comm_cmd_poll(dev, cmd, param, timeout); param 2096 drivers/net/ethernet/mellanox/mlx4/cmd.c u16 param, u8 toggle) param 2146 drivers/net/ethernet/mellanox/mlx4/cmd.c slave_state[slave].vhcr_dma = ((u64) param) << 48; param 2152 drivers/net/ethernet/mellanox/mlx4/cmd.c slave_state[slave].vhcr_dma |= ((u64) param) << 32; param 2157 drivers/net/ethernet/mellanox/mlx4/cmd.c slave_state[slave].vhcr_dma |= ((u64) param) << 16; param 2162 drivers/net/ethernet/mellanox/mlx4/cmd.c slave_state[slave].vhcr_dma |= param; param 1119 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct ethtool_ringparam *param) param 1129 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (param->rx_jumbo_pending || param->rx_mini_pending) param 1132 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (param->rx_pending < MLX4_EN_MIN_RX_SIZE) { param 1134 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c __func__, param->rx_pending, param 1138 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (param->tx_pending < MLX4_EN_MIN_TX_SIZE) { param 1140 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c __func__, param->tx_pending, param 1145 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c rx_size = roundup_pow_of_two(param->rx_pending); param 1146 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c tx_size = roundup_pow_of_two(param->tx_pending); param 1186 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct ethtool_ringparam *param) param 1190 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c memset(param, 0, sizeof(*param)); param 1191 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c param->rx_max_pending = MLX4_EN_MAX_RX_SIZE; param 1192 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c param->tx_max_pending = MLX4_EN_MAX_TX_SIZE; param 1193 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c param->rx_pending = priv->port_up ? param 1195 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c param->tx_pending = priv->tx_ring[TX][0]->size; param 1830 drivers/net/ethernet/mellanox/mlx4/fw.c int mlx4_INIT_HCA(struct mlx4_dev *dev, struct mlx4_init_hca_param *param) param 1973 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->qpc_base, INIT_HCA_QPC_BASE_OFFSET); param 1974 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_num_qps, INIT_HCA_LOG_QP_OFFSET); param 1975 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->srqc_base, INIT_HCA_SRQC_BASE_OFFSET); param 1976 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_num_srqs, INIT_HCA_LOG_SRQ_OFFSET); param 1977 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->cqc_base, INIT_HCA_CQC_BASE_OFFSET); param 1978 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_num_cqs, INIT_HCA_LOG_CQ_OFFSET); param 1979 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->altc_base, INIT_HCA_ALTC_BASE_OFFSET); param 1980 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->auxc_base, INIT_HCA_AUXC_BASE_OFFSET); param 1981 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->eqc_base, INIT_HCA_EQC_BASE_OFFSET); param 1982 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_num_eqs, INIT_HCA_LOG_EQ_OFFSET); param 1983 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->num_sys_eqs, INIT_HCA_NUM_SYS_EQS_OFFSET); param 1984 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->rdmarc_base, INIT_HCA_RDMARC_BASE_OFFSET); param 1985 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_rd_per_qp, INIT_HCA_LOG_RD_OFFSET); param 1994 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->mc_base, INIT_HCA_FS_BASE_OFFSET); param 1995 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_mc_entry_sz, param 1997 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_mc_table_sz, param 2024 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->mc_base, INIT_HCA_MC_BASE_OFFSET); param 2025 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_mc_entry_sz, param 2027 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_mc_hash_sz, param 2029 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_mc_table_sz, param 2038 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->dmpt_base, INIT_HCA_DMPT_BASE_OFFSET); param 2039 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->mw_enabled, INIT_HCA_TPT_MW_OFFSET); param 2040 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_mpt_sz, INIT_HCA_LOG_MPT_SZ_OFFSET); param 2041 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->mtt_base, INIT_HCA_MTT_BASE_OFFSET); param 2042 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->cmpt_base, INIT_HCA_CMPT_BASE_OFFSET); param 2046 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->uar_page_sz, INIT_HCA_UAR_PAGE_SZ_OFFSET); param 2047 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, param->log_uar_sz, INIT_HCA_LOG_UAR_SZ_OFFSET); param 2066 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_init_hca_param *param) param 2097 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(param->global_caps, outbox, QUERY_HCA_GLOBAL_CAPS_OFFSET); param 2098 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(param->hca_core_clock, outbox, QUERY_HCA_CORE_CLOCK_OFFSET); param 2103 drivers/net/ethernet/mellanox/mlx4/fw.c param->qpc_base = qword_field & ~((u64)0x1f); param 2105 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_num_qps = byte_field & 0x1f; param 2107 drivers/net/ethernet/mellanox/mlx4/fw.c param->srqc_base = qword_field & ~((u64)0x1f); param 2109 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_num_srqs = byte_field & 0x1f; param 2111 drivers/net/ethernet/mellanox/mlx4/fw.c param->cqc_base = qword_field & ~((u64)0x1f); param 2113 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_num_cqs = byte_field & 0x1f; param 2115 drivers/net/ethernet/mellanox/mlx4/fw.c param->altc_base = qword_field; param 2117 drivers/net/ethernet/mellanox/mlx4/fw.c param->auxc_base = qword_field; param 2119 drivers/net/ethernet/mellanox/mlx4/fw.c param->eqc_base = qword_field & ~((u64)0x1f); param 2121 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_num_eqs = byte_field & 0x1f; param 2123 drivers/net/ethernet/mellanox/mlx4/fw.c param->num_sys_eqs = word_field & 0xfff; param 2125 drivers/net/ethernet/mellanox/mlx4/fw.c param->rdmarc_base = qword_field & ~((u64)0x1f); param 2127 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_rd_per_qp = byte_field & 0x7; param 2131 drivers/net/ethernet/mellanox/mlx4/fw.c param->steering_mode = MLX4_STEERING_MODE_DEVICE_MANAGED; param 2135 drivers/net/ethernet/mellanox/mlx4/fw.c param->steering_mode = MLX4_STEERING_MODE_B0; param 2137 drivers/net/ethernet/mellanox/mlx4/fw.c param->steering_mode = MLX4_STEERING_MODE_A0; param 2141 drivers/net/ethernet/mellanox/mlx4/fw.c param->rss_ip_frags = 1; param 2144 drivers/net/ethernet/mellanox/mlx4/fw.c if (param->steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED) { param 2145 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(param->mc_base, outbox, INIT_HCA_FS_BASE_OFFSET); param 2147 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_mc_entry_sz = byte_field & 0x1f; param 2149 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_mc_table_sz = byte_field & 0x1f; param 2151 drivers/net/ethernet/mellanox/mlx4/fw.c param->dmfs_high_steer_mode = param 2154 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(param->mc_base, outbox, INIT_HCA_MC_BASE_OFFSET); param 2156 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_mc_entry_sz = byte_field & 0x1f; param 2158 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_mc_hash_sz = byte_field & 0x1f; param 2160 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_mc_table_sz = byte_field & 0x1f; param 2166 drivers/net/ethernet/mellanox/mlx4/fw.c param->dev_cap_enabled |= MLX4_DEV_CAP_64B_EQE_ENABLED; param 2168 drivers/net/ethernet/mellanox/mlx4/fw.c param->dev_cap_enabled |= MLX4_DEV_CAP_64B_CQE_ENABLED; param 2173 drivers/net/ethernet/mellanox/mlx4/fw.c param->dev_cap_enabled |= MLX4_DEV_CAP_EQE_STRIDE_ENABLED; param 2174 drivers/net/ethernet/mellanox/mlx4/fw.c param->dev_cap_enabled |= MLX4_DEV_CAP_CQE_STRIDE_ENABLED; param 2175 drivers/net/ethernet/mellanox/mlx4/fw.c param->cqe_size = 1 << ((byte_field & param 2177 drivers/net/ethernet/mellanox/mlx4/fw.c param->eqe_size = 1 << (((byte_field & param 2183 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(param->dmpt_base, outbox, INIT_HCA_DMPT_BASE_OFFSET); param 2185 drivers/net/ethernet/mellanox/mlx4/fw.c param->mw_enabled = byte_field >> 7; param 2187 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_mpt_sz = byte_field & 0x3f; param 2188 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(param->mtt_base, outbox, INIT_HCA_MTT_BASE_OFFSET); param 2189 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(param->cmpt_base, outbox, INIT_HCA_CMPT_BASE_OFFSET); param 2193 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(param->uar_page_sz, outbox, INIT_HCA_UAR_PAGE_SZ_OFFSET); param 2195 drivers/net/ethernet/mellanox/mlx4/fw.c param->log_uar_sz = byte_field & 0xf; param 2200 drivers/net/ethernet/mellanox/mlx4/fw.c param->phv_check_en = 1; param 245 drivers/net/ethernet/mellanox/mlx4/fw.h int mlx4_INIT_HCA(struct mlx4_dev *dev, struct mlx4_init_hca_param *param); param 246 drivers/net/ethernet/mellanox/mlx4/fw.h int mlx4_QUERY_HCA(struct mlx4_dev *dev, struct mlx4_init_hca_param *param); param 183 drivers/net/ethernet/mellanox/mlx4/intf.c unsigned long param) param 193 drivers/net/ethernet/mellanox/mlx4/intf.c dev_ctx->intf->event(dev, dev_ctx->context, type, param); param 410 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 param; param 1050 drivers/net/ethernet/mellanox/mlx4/mlx4.h unsigned long param); param 1217 drivers/net/ethernet/mellanox/mlx4/mlx4.h int mlx4_comm_cmd(struct mlx4_dev *dev, u8 cmd, u16 param, param 492 drivers/net/ethernet/mellanox/mlx4/mr.c u64 param = 0; param 495 drivers/net/ethernet/mellanox/mlx4/mr.c set_param_l(¶m, index); param 496 drivers/net/ethernet/mellanox/mlx4/mr.c return mlx4_cmd_imm(dev, param, ¶m, RES_MPT, RES_OP_MAP_ICM, param 354 drivers/net/ethernet/mellanox/mlx4/qp.c u64 param = 0; param 357 drivers/net/ethernet/mellanox/mlx4/qp.c set_param_l(¶m, qpn); param 358 drivers/net/ethernet/mellanox/mlx4/qp.c return mlx4_cmd_imm(dev, param, ¶m, RES_QP, RES_OP_MAP_ICM, param 207 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c u64 param = 0; param 214 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c return param; param 229 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = qp->pid; param 232 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = (unsigned long)mlx5_qp_state_str(be32_to_cpu(ctx->flags) >> 28); param 236 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = (unsigned long)mlx5_qp_type_str((be32_to_cpu(ctx->flags) >> 16) & 0xff); param 242 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 256; param 245 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 512; param 248 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 1024; param 251 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 2048; param 254 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 4096; param 257 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 0; param 261 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 1 << ((ctx->rq_size_stride >> 3) & 0xf); param 264 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 1 << ((ctx->rq_size_stride & 7) + 4); param 269 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 1 << (be16_to_cpu(ctx->sq_crq_size) >> 11); param 271 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 0; param 274 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = (be32_to_cpu(ctx->log_pg_sz_remote_qpn) >> 24) & 0x1f; param 275 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param += 12; param 278 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = be32_to_cpu(ctx->log_pg_sz_remote_qpn) & 0xffffff; param 284 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c return param; param 301 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c u64 param = 0; param 308 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c return param; param 319 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 1 << MLX5_GET(eqc, ctx, log_eq_size); param 322 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = MLX5_GET(eqc, ctx, intr); param 325 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = MLX5_GET(eqc, ctx, log_page_size) + 12; param 331 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c return param; param 338 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c u64 param = 0; param 345 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c return param; param 356 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = cq->pid; param 359 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = 1 << MLX5_GET(cqc, ctx, log_cq_size); param 362 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c param = MLX5_GET(cqc, ctx, log_page_size); param 368 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c return param; param 1012 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_rq_param *param, struct mlx5e_xsk_param *xsk, param 1020 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_sq_param *param, struct mlx5e_icosq *sq); param 1023 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_sq_param *param, struct xdp_umem *umem, param 1029 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_cq_param *param, struct mlx5e_cq *cq); param 1142 drivers/net/ethernet/mellanox/mlx5/core/en.h struct ethtool_ringparam *param); param 1144 drivers/net/ethernet/mellanox/mlx5/core/en.h struct ethtool_ringparam *param); param 107 drivers/net/ethernet/mellanox/mlx5/core/en/params.h struct mlx5e_rq_param *param); param 109 drivers/net/ethernet/mellanox/mlx5/core/en/params.h struct mlx5e_sq_param *param); param 113 drivers/net/ethernet/mellanox/mlx5/core/en/params.h struct mlx5e_cq_param *param); param 116 drivers/net/ethernet/mellanox/mlx5/core/en/params.h struct mlx5e_cq_param *param); param 119 drivers/net/ethernet/mellanox/mlx5/core/en/params.h struct mlx5e_cq_param *param); param 122 drivers/net/ethernet/mellanox/mlx5/core/en/params.h struct mlx5e_sq_param *param); param 125 drivers/net/ethernet/mellanox/mlx5/core/en/params.h struct mlx5e_sq_param *param); param 39 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c struct mlx5e_sq_param *param) param 41 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c void *sqc = param->sqc; param 44 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c mlx5e_build_sq_param_common(priv, param); param 65 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c u32 param[MLX5_ST_SZ_DW(dcbx_param)]; param 68 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5_query_port_dcbx_param(mdev, param); param 72 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c MLX5_SET(dcbx_param, param, version_admin, mode); param 74 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c MLX5_SET(dcbx_param, param, willing_admin, 1); param 76 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c return mlx5_set_port_dcbx_param(mdev, param); param 306 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct ethtool_ringparam *param) param 308 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c param->rx_max_pending = 1 << MLX5E_PARAMS_MAXIMUM_LOG_RQ_SIZE; param 309 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c param->tx_max_pending = 1 << MLX5E_PARAMS_MAXIMUM_LOG_SQ_SIZE; param 310 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c param->rx_pending = 1 << priv->channels.params.log_rq_mtu_frames; param 311 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c param->tx_pending = 1 << priv->channels.params.log_sq_size; param 315 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct ethtool_ringparam *param) param 319 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_ethtool_get_ringparam(priv, param); param 323 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct ethtool_ringparam *param) param 330 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (param->rx_jumbo_pending) { param 335 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (param->rx_mini_pending) { param 341 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (param->rx_pending < (1 << MLX5E_PARAMS_MINIMUM_LOG_RQ_SIZE)) { param 343 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c __func__, param->rx_pending, param 348 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (param->tx_pending < (1 << MLX5E_PARAMS_MINIMUM_LOG_SQ_SIZE)) { param 350 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c __func__, param->tx_pending, param 355 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c log_rq_size = order_base_2(param->rx_pending); param 356 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c log_sq_size = order_base_2(param->tx_pending); param 382 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct ethtool_ringparam *param) param 386 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c return mlx5e_ethtool_set_ringparam(priv, param); param 675 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_rq_param *param) param 694 drivers/net/ethernet/mellanox/mlx5/core/en_main.c memcpy(rqc, param->rqc, sizeof(param->rqc)); param 883 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_rq_param *param, struct mlx5e_xsk_param *xsk, param 888 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_alloc_rq(c, params, xsk, umem, param, rq); param 892 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_rq(rq, param); param 991 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param, param 995 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); param 1014 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.db_numa_node = cpu_to_node(c->cpu); param 1015 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); param 1065 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param, param 1068 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); param 1076 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.db_numa_node = cpu_to_node(c->cpu); param 1077 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); param 1133 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param, param 1137 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); param 1168 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.db_numa_node = cpu_to_node(c->cpu); param 1169 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); param 1204 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param, param 1223 drivers/net/ethernet/mellanox/mlx5/core/en_main.c memcpy(sqc, param->sqc, sizeof(param->sqc)); param 1285 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param, param 1292 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_sq(mdev, param, csp, sqn); param 1312 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param, param 1320 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_alloc_txqsq(c, txq_ix, params, param, sq, tc); param 1329 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_sq_rdy(c->mdev, param, &csp, &sq->sqn); param 1415 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param, struct mlx5e_icosq *sq) param 1420 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_alloc_icosq(c, param, sq); param 1427 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_sq_rdy(c->mdev, param, &csp, &sq->sqn); param 1461 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param, struct xdp_umem *umem, param 1467 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_alloc_xdpsq(c, params, umem, param, sq, is_redirect); param 1477 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_sq_rdy(c->mdev, param, &csp, &sq->sqn); param 1481 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_set_xmit_fp(sq, param->is_mpw); param 1483 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!param->is_mpw) { param 1534 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_cq_param *param, param 1543 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_vector2eqn(mdev, param->eq_ix, &eqn_not_used, &irqn); param 1547 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_cqwq_create(mdev, ¶m->wq, param->cqc, &cq->wq, param 1557 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mcq->vector = param->eq_ix; param 1574 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_cq_param *param, param 1580 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.buf_numa_node = cpu_to_node(c->cpu); param 1581 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.db_numa_node = cpu_to_node(c->cpu); param 1582 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->eq_ix = c->ix; param 1584 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_alloc_cq_common(mdev, param, cq); param 1597 drivers/net/ethernet/mellanox/mlx5/core/en_main.c static int mlx5e_create_cq(struct mlx5e_cq *cq, struct mlx5e_cq_param *param) param 1610 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_vector2eqn(mdev, param->eq_ix, &eqn, &irqn_not_used); param 1622 drivers/net/ethernet/mellanox/mlx5/core/en_main.c memcpy(cqc, param->cqc, sizeof(param->cqc)); param 1627 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(cqc, cqc, cq_period_mode, param->cq_period_mode); param 1652 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_cq_param *param, struct mlx5e_cq *cq) param 1657 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_alloc_cq(c, param, cq); param 1661 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_cq(cq, param); param 2151 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_rq_param *param) param 2154 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *rqc = param->rqc; param 2170 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_rq_frags_info(mdev, params, xsk, ¶m->frags_info); param 2171 drivers/net/ethernet/mellanox/mlx5/core/en_main.c ndsegs = param->frags_info.num_frags; param 2183 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.buf_numa_node = dev_to_node(mdev->device); param 2187 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_rq_param *param) param 2190 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *rqc = param->rqc; param 2198 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.buf_numa_node = dev_to_node(mdev->device); param 2202 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param) param 2204 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *sqc = param->sqc; param 2210 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.buf_numa_node = dev_to_node(priv->mdev->device); param 2215 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param) param 2217 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *sqc = param->sqc; param 2223 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_sq_param_common(priv, param); param 2229 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_cq_param *param) param 2231 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *cqc = param->cqc; param 2241 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_cq_param *param) param 2244 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *cqc = param->cqc; param 2262 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_common_cq_param(priv, param); param 2263 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->cq_period_mode = params->rx_cq_moderation.cq_period_mode; param 2268 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_cq_param *param) param 2270 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *cqc = param->cqc; param 2274 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_common_cq_param(priv, param); param 2275 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->cq_period_mode = params->tx_cq_moderation.cq_period_mode; param 2280 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_cq_param *param) param 2282 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *cqc = param->cqc; param 2286 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_common_cq_param(priv, param); param 2288 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->cq_period_mode = DIM_CQ_PERIOD_MODE_START_FROM_EQE; param 2293 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param) param 2295 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *sqc = param->sqc; param 2298 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_sq_param_common(priv, param); param 2306 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_sq_param *param) param 2308 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *sqc = param->sqc; param 2311 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_build_sq_param_common(priv, param); param 2313 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->is_mpw = MLX5E_GET_PFLAG(params, MLX5E_PFLAG_XDP_TX_MPWQE); param 3119 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_rq_param *param) param 3121 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *rqc = param->rqc; param 3125 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.db_numa_node = param->wq.buf_numa_node; param 3127 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_wq_cyc_create(mdev, ¶m->wq, rqc_wq, &rq->wqe.wq, param 3142 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_cq_param *param) param 3144 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.buf_numa_node = dev_to_node(mdev->device); param 3145 drivers/net/ethernet/mellanox/mlx5/core/en_main.c param->wq.db_numa_node = dev_to_node(mdev->device); param 3147 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return mlx5e_alloc_cq_common(mdev, param, cq); param 222 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct ethtool_ringparam *param) param 226 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mlx5e_ethtool_get_ringparam(priv, param); param 230 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct ethtool_ringparam *param) param 234 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c return mlx5e_ethtool_set_ringparam(priv, param); param 244 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct mlx5_eq_param *param) param 249 drivers/net/ethernet/mellanox/mlx5/core/eq.c u8 vecidx = param->irq_index; param 262 drivers/net/ethernet/mellanox/mlx5/core/eq.c eq->nent = roundup_pow_of_two(param->nent + MLX5_NUM_SPARE_EQE); param 283 drivers/net/ethernet/mellanox/mlx5/core/eq.c if (!param->mask[0] && MLX5_CAP_GEN(dev, log_max_uctx)) param 288 drivers/net/ethernet/mellanox/mlx5/core/eq.c param->mask[i]); param 445 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct mlx5_eq *eq, struct mlx5_eq_param *param) param 452 drivers/net/ethernet/mellanox/mlx5/core/eq.c if (param->irq_index != 0) { param 457 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = create_map_eq(dev, eq, param); param 569 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct mlx5_eq_param param = {}; param 576 drivers/net/ethernet/mellanox/mlx5/core/eq.c param = (struct mlx5_eq_param) { param 581 drivers/net/ethernet/mellanox/mlx5/core/eq.c param.mask[0] = 1ull << MLX5_EVENT_TYPE_CMD; param 582 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = create_async_eq(dev, &table->cmd_eq.core, ¶m); param 595 drivers/net/ethernet/mellanox/mlx5/core/eq.c param = (struct mlx5_eq_param) { param 600 drivers/net/ethernet/mellanox/mlx5/core/eq.c gather_async_events_mask(dev, param.mask); param 601 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = create_async_eq(dev, &table->async_eq.core, ¶m); param 614 drivers/net/ethernet/mellanox/mlx5/core/eq.c param = (struct mlx5_eq_param) { param 619 drivers/net/ethernet/mellanox/mlx5/core/eq.c param.mask[0] = 1ull << MLX5_EVENT_TYPE_PAGE_REQUEST; param 620 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = create_async_eq(dev, &table->pages_eq.core, ¶m); param 698 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct mlx5_eq_param *param) param 706 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = create_async_eq(dev, eq, param); param 794 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct mlx5_eq_param param = {}; param 809 drivers/net/ethernet/mellanox/mlx5/core/eq.c param = (struct mlx5_eq_param) { param 813 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = create_map_eq(dev, &eq->core, ¶m); param 70 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c struct ethtool_ringparam *param) param 74 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c return mlx5e_ethtool_set_ringparam(priv, param); param 78 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c struct ethtool_ringparam *param) param 82 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c mlx5e_ethtool_get_ringparam(priv, param); param 685 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c struct net_device *netdev, void *param) param 687 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c struct mlx5_core_dev *mdev = (struct mlx5_core_dev *)param; param 759 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c .param = mdev, param 869 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_match_param *param) param 874 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c u8 *param_p = (u8 *)param; param 884 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c mlx5dr_ste_copy_param(matcher->match_criteria, param, value); param 888 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->outer), value_size); param 898 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->misc), value_size); param 908 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->inner), value_size); param 918 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->misc2), value_size); param 928 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->misc3), value_size); param 975 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c static bool dr_rule_is_ipv6(struct mlx5dr_match_param *param) param 977 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c return (param->outer.ip_version == 6 || param 978 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c param->inner.ip_version == 6 || param 979 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c param->outer.ethertype == ETH_P_IPV6 || param 980 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c param->inner.ethertype == ETH_P_IPV6); param 1017 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_match_param *param, param 1039 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (dr_rule_skip(dmn->type, nic_dmn->ste_type, &matcher->mask, param)) param 1044 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c dr_rule_is_ipv6(param)); param 1055 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ret = mlx5dr_ste_build_ste_arr(matcher, nic_matcher, param, hw_ste_arr); param 1138 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_match_param *param, param 1148 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c memcpy(©_param, param, sizeof(struct mlx5dr_match_param)); param 1150 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ret = dr_rule_create_rule_nic(rule, &rule->rx, param, param 1174 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_match_param param = {}; param 1178 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (!dr_rule_verify(matcher, value, ¶m)) param 1195 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ret = dr_rule_create_rule_nic(rule, &rule->rx, ¶m, param 1200 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ret = dr_rule_create_rule_nic(rule, &rule->tx, ¶m, param 1206 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ret = dr_rule_create_rule_fdb(rule, ¶m, param 62 drivers/net/ethernet/mellanox/mlx5/core/wq.c int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, param 71 drivers/net/ethernet/mellanox/mlx5/core/wq.c err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); param 80 drivers/net/ethernet/mellanox/mlx5/core/wq.c &wq_ctrl->buf, param->buf_numa_node); param 106 drivers/net/ethernet/mellanox/mlx5/core/wq.c int mlx5_wq_qp_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, param 120 drivers/net/ethernet/mellanox/mlx5/core/wq.c err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); param 129 drivers/net/ethernet/mellanox/mlx5/core/wq.c &wq_ctrl->buf, param->buf_numa_node); param 166 drivers/net/ethernet/mellanox/mlx5/core/wq.c int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, param 175 drivers/net/ethernet/mellanox/mlx5/core/wq.c err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); param 185 drivers/net/ethernet/mellanox/mlx5/core/wq.c param->buf_numa_node); param 217 drivers/net/ethernet/mellanox/mlx5/core/wq.c int mlx5_wq_ll_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, param 226 drivers/net/ethernet/mellanox/mlx5/core/wq.c err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); param 235 drivers/net/ethernet/mellanox/mlx5/core/wq.c &wq_ctrl->buf, param->buf_numa_node); param 79 drivers/net/ethernet/mellanox/mlx5/core/wq.h int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, param 85 drivers/net/ethernet/mellanox/mlx5/core/wq.h int mlx5_wq_qp_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, param 90 drivers/net/ethernet/mellanox/mlx5/core/wq.h int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, param 96 drivers/net/ethernet/mellanox/mlx5/core/wq.h int mlx5_wq_ll_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, param 113 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c void *param); param 116 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_traverse_tlvs(struct nfp_pf *pf, void *data, u32 data_length, void *param, param 141 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c err = tlv_visit(pf, tl, param); param 251 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_add_tlv_size(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param) param 254 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c u32 *size = param; param 300 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c void *param) param 302 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c struct nfp_level_size *lev_sz = param; param 654 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c nfp_dump_for_tlv(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param) param 657 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c struct nfp_dump_state *dump = param; param 708 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c void *param) param 710 drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c struct nfp_dump_state *dump = param; param 729 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c struct ethtool_fecparam *param) param 734 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c param->active_fec = ETHTOOL_FEC_NONE_BIT; param 735 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c param->fec = ETHTOOL_FEC_NONE_BIT; param 745 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c param->fec = nfp_port_fec_nsp_to_ethtool(eth_port->fec_modes_supported); param 746 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c param->active_fec = nfp_port_fec_nsp_to_ethtool(eth_port->fec); param 753 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c struct ethtool_fecparam *param) param 767 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c fec = nfp_port_fec_ethtool_to_nsp(param->fec); param 1235 drivers/net/ethernet/qlogic/qed/qed_dcbx.c u32 resp = 0, param = 0; param 1257 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 1 << DRV_MB_PARAM_LLDP_SEND_SHIFT, &resp, ¶m); param 3000 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 load_code, resp, param, drv_mb_param; param 3152 drivers/net/ethernet/qlogic/qed/qed_dev.c &resp, ¶m); param 3172 drivers/net/ethernet/qlogic/qed/qed_dev.c drv_mb_param, &resp, ¶m); param 3180 drivers/net/ethernet/qlogic/qed/qed_dev.c drv_mb_param, &load_code, ¶m); param 444 drivers/net/ethernet/qlogic/qed/qed_mcp.c DRV_MB_WR(p_hwfn, p_ptt, drv_mb_param, p_mb_params->param); param 451 drivers/net/ethernet/qlogic/qed/qed_mcp.c (p_mb_params->cmd | seq_num), p_mb_params->param); param 521 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_mb_params->cmd, p_mb_params->param); param 566 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_mb_params->cmd, p_mb_params->param); param 616 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_mb_params->cmd, p_mb_params->param); param 641 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 param, param 650 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param = param; param 666 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 param, param 675 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param = param; param 694 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 param, param 704 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param = param; param 751 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 755 drivers/net/ethernet/qlogic/qed/qed_mcp.c &resp, ¶m); param 848 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param = PDA_COMP | hsi_ver | p_hwfn->cdev->drv_type; param 857 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param, param 858 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_GET_FIELD(mb_params.param, DRV_ID_DRV_INIT_HW), param 859 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_GET_FIELD(mb_params.param, DRV_ID_DRV_TYPE), param 860 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_GET_FIELD(mb_params.param, DRV_ID_MCP_HSI_VER), param 861 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_GET_FIELD(mb_params.param, DRV_ID_PDA_COMP_VER)); param 1075 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 1079 drivers/net/ethernet/qlogic/qed/qed_mcp.c ¶m); param 1087 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (param & FW_MB_PARAM_LOAD_DONE_DID_EFUSE_ERROR) param 1117 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param = wol_param; param 1641 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param = hsi_param; param 1651 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 1664 drivers/net/ethernet/qlogic/qed/qed_mcp.c ¶m); param 1670 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 1702 drivers/net/ethernet/qlogic/qed/qed_mcp.c &resp, ¶m); param 2186 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2190 drivers/net/ethernet/qlogic/qed/qed_mcp.c DRV_MSG_CODE_GET_PF_RDMA_PROTOCOL, 0, &resp, ¶m); param 2200 drivers/net/ethernet/qlogic/qed/qed_mcp.c switch (param) { param 2216 drivers/net/ethernet/qlogic/qed/qed_mcp.c param); param 2223 drivers/net/ethernet/qlogic/qed/qed_mcp.c (u32) *p_proto, resp, param); param 2305 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2309 drivers/net/ethernet/qlogic/qed/qed_mcp.c DRV_MSG_CODE_OS_WOL, 0, &resp, ¶m); param 2354 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2358 drivers/net/ethernet/qlogic/qed/qed_mcp.c DRV_MSG_CODE_NIG_DRAIN, 1000, &resp, ¶m); param 2425 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0, rc_param = 0; param 2433 drivers/net/ethernet/qlogic/qed/qed_mcp.c param |= (vf_id << DRV_MB_PARAM_CFG_VF_MSIX_VF_ID_SHIFT) & param 2435 drivers/net/ethernet/qlogic/qed/qed_mcp.c param |= (num << DRV_MB_PARAM_CFG_VF_MSIX_SB_NUM_SHIFT) & param 2438 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_CFG_VF_MSIX, param, param 2457 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = num, rc_param = 0; param 2461 drivers/net/ethernet/qlogic/qed/qed_mcp.c param, &resp, &rc_param); param 2518 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0, cpu_state, cnt = 0; param 2522 drivers/net/ethernet/qlogic/qed/qed_mcp.c ¶m); param 2577 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2597 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_param, &resp, ¶m); param 2608 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2628 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_param, &resp, ¶m); param 2638 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2644 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_param, &resp, ¶m); param 2660 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param = DRV_MSG_CODE_VMAC_TYPE_MAC << param 2662 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param |= MCP_PF_ID(p_hwfn); param 2687 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2713 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_param, &resp, ¶m); param 2727 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2747 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_param, &resp, ¶m); param 2757 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0, drv_mb_param; param 2776 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_param, &resp, ¶m); param 2784 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp = 0, param = 0; param 2788 drivers/net/ethernet/qlogic/qed/qed_mcp.c mask_parities, &resp, ¶m); param 2866 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 buf_idx = 0, buf_size, nvm_cmd, nvm_offset, resp = 0, param; param 2900 drivers/net/ethernet/qlogic/qed/qed_mcp.c &resp, ¶m, buf_size, param 2926 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (param && cmd == QED_PUT_FILE_DATA) { param 2927 drivers/net/ethernet/qlogic/qed/qed_mcp.c buf_idx = QED_MFW_GET_FIELD(param, param 2929 drivers/net/ethernet/qlogic/qed/qed_mcp.c buf_size = QED_MFW_GET_FIELD(param, param 2949 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 resp, param; param 2973 drivers/net/ethernet/qlogic/qed/qed_mcp.c nvm_offset, &resp, ¶m, &buf_size, param 2996 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 drv_mb_param = 0, rsp, param; param 3003 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_param, &rsp, ¶m); param 3009 drivers/net/ethernet/qlogic/qed/qed_mcp.c (param != DRV_MB_PARAM_BIST_RC_PASSED)) param 3017 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 drv_mb_param, rsp, param; param 3024 drivers/net/ethernet/qlogic/qed/qed_mcp.c drv_mb_param, &rsp, ¶m); param 3030 drivers/net/ethernet/qlogic/qed/qed_mcp.c (param != DRV_MB_PARAM_BIST_RC_PASSED)) param 3062 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 buf_size = 0, param, resp = 0, resp_param = 0; param 3065 drivers/net/ethernet/qlogic/qed/qed_mcp.c param = DRV_MB_PARAM_BIST_NVM_TEST_IMAGE_BY_INDEX << param 3067 drivers/net/ethernet/qlogic/qed/qed_mcp.c param |= image_index << DRV_MB_PARAM_BIST_TEST_IMAGE_INDEX_SHIFT; param 3070 drivers/net/ethernet/qlogic/qed/qed_mcp.c DRV_MSG_CODE_BIST_TEST, param, param 3344 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_params.param = QED_RESC_ALLOC_VERSION; param 3356 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_GET_FIELD(mb_params.param, param 3358 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_GET_FIELD(mb_params.param, param 3453 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 param, u32 *p_mcp_resp, u32 *p_mcp_param) param 3457 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_RESOURCE_CMD, param, param 3469 drivers/net/ethernet/qlogic/qed/qed_mcp.c u8 opcode = QED_MFW_GET_FIELD(param, RESOURCE_CMD_REQ_OPCODE); param 3473 drivers/net/ethernet/qlogic/qed/qed_mcp.c param, opcode); param 3485 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 param = 0, mcp_resp, mcp_param; param 3503 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_SET_FIELD(param, RESOURCE_CMD_REQ_RESC, p_params->resource); param 3504 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_SET_FIELD(param, RESOURCE_CMD_REQ_OPCODE, opcode); param 3505 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_SET_FIELD(param, RESOURCE_CMD_REQ_AGE, p_params->timeout); param 3510 drivers/net/ethernet/qlogic/qed/qed_mcp.c param, p_params->timeout, opcode, p_params->resource); param 3513 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_resource_cmd(p_hwfn, p_ptt, param, &mcp_resp, &mcp_param); param 3580 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 param = 0, mcp_resp, mcp_param; param 3586 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_SET_FIELD(param, RESOURCE_CMD_REQ_RESC, p_params->resource); param 3587 drivers/net/ethernet/qlogic/qed/qed_mcp.c QED_MFW_SET_FIELD(param, RESOURCE_CMD_REQ_OPCODE, opcode); param 3591 drivers/net/ethernet/qlogic/qed/qed_mcp.c param, opcode, p_params->resource); param 3594 drivers/net/ethernet/qlogic/qed/qed_mcp.c rc = qed_mcp_resource_cmd(p_hwfn, p_ptt, param, &mcp_resp, &mcp_param); param 3758 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 mb_param = 0, resp, param; param 3778 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_param, &resp, ¶m, p_len, (u32 *)p_buf); param 3787 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 mb_param = 0, resp, param; param 3812 drivers/net/ethernet/qlogic/qed/qed_mcp.c mb_param, &resp, ¶m, len, (u32 *)p_buf); param 141 drivers/net/ethernet/qlogic/qed/qed_mcp.h u32 param; param 407 drivers/net/ethernet/qlogic/qed/qed_mcp.h u32 param, param 738 drivers/net/ethernet/qlogic/qed/qed_mcp.h u32 param; param 928 drivers/net/ethernet/qlogic/qed/qed_mcp.h u32 param, param 1244 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c u32 addr, size, offset, resp, param, val, global_offsize, global_addr; param 1332 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c ¶m); param 296 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c kfree(dcb->param); param 297 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c dcb->param = NULL; param 327 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c dcb->param = kzalloc(sizeof(struct qlcnic_dcb_mbx_params), GFP_ATOMIC); param 328 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c if (!dcb->param) { param 498 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c mbx = dcb->param; param 632 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c err = qlcnic_dcb_query_cee_param(dcb, (char *)dcb->param, 0); param 745 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c struct qlcnic_dcb_mbx_params *mbx = adapter->dcb->param; param 36 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h struct qlcnic_dcb_mbx_params *param; param 1474 drivers/net/ethernet/realtek/8139too.c static const unsigned long param[4][4] = { param 1526 drivers/net/ethernet/realtek/8139too.c RTL_W32 (PARA7c, param[(int) tp->twist_row] param 773 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c struct iw_param *param = &data->param; param 778 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c pr_debug("%s: <- %d\n", __func__, param->flags & IW_AUTH_INDEX); param 780 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c switch (param->flags & IW_AUTH_INDEX) { param 782 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_WPA_VERSION_DISABLED) { param 788 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_WPA_VERSION_WPA) { param 795 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_WPA_VERSION_WPA2) { param 819 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & param 824 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_CIPHER_TKIP) { param 828 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_CIPHER_CCMP) { param 832 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_CIPHER_NONE) { param 838 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & param 843 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_CIPHER_TKIP) { param 847 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_CIPHER_CCMP) { param 851 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_CIPHER_NONE) { param 857 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_ALG_SHARED_KEY) { param 860 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c } else if (param->value & IW_AUTH_ALG_OPEN_SYSTEM) { param 868 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value) { param 878 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (param->value & IW_AUTH_KEY_MGMT_PSK) param 898 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c struct iw_param *param = &iwreq->param; param 903 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c pr_debug("%s: <- %d\n", __func__, param->flags & IW_AUTH_INDEX); param 905 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c switch (param->flags & IW_AUTH_INDEX) { param 909 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c param->value |= IW_AUTH_WPA_VERSION_WPA; param 912 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c param->value |= IW_AUTH_WPA_VERSION_WPA2; param 915 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c param->value |= IW_AUTH_WPA_VERSION_DISABLED; param 921 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c param->value = IW_AUTH_ALG_SHARED_KEY; param 923 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c param->value = IW_AUTH_ALG_OPEN_SYSTEM; param 930 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c param->value = 1; param 933 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c param->value = 0; param 335 drivers/net/fddi/defza.c writel_u(loopback, &buf->param.loop_mode); param 336 drivers/net/fddi/defza.c writel_u(fp->t_max, &buf->param.t_max); param 337 drivers/net/fddi/defza.c writel_u(fp->t_req, &buf->param.t_req); param 338 drivers/net/fddi/defza.c writel_u(fp->tvx, &buf->param.tvx); param 339 drivers/net/fddi/defza.c writel_u(fp->lem_threshold, &buf->param.lem_threshold); param 340 drivers/net/fddi/defza.c fza_writes(&fp->station_id, &buf->param.station_id, param 341 drivers/net/fddi/defza.c sizeof(buf->param.station_id)); param 344 drivers/net/fddi/defza.c &buf->param.rtoken_timeout); param 345 drivers/net/fddi/defza.c writel_u(fp->ring_purger, &buf->param.ring_purger); param 570 drivers/net/fddi/defza.h struct fza_cmd_param param; param 174 drivers/net/fjes/fjes_hw.c struct fjes_device_command_param *param) param 177 drivers/net/fjes/fjes_hw.c wr32(XSCT_REQBL, (__le32)(param->req_len)); param 179 drivers/net/fjes/fjes_hw.c wr32(XSCT_RESPBL, (__le32)(param->res_len)); param 183 drivers/net/fjes/fjes_hw.c (__le32)(param->req_start & GENMASK_ULL(31, 0))); param 185 drivers/net/fjes/fjes_hw.c (__le32)((param->req_start & GENMASK_ULL(63, 32)) >> 32)); param 189 drivers/net/fjes/fjes_hw.c (__le32)(param->res_start & GENMASK_ULL(31, 0))); param 191 drivers/net/fjes/fjes_hw.c (__le32)((param->res_start & GENMASK_ULL(63, 32)) >> 32)); param 195 drivers/net/fjes/fjes_hw.c (__le32)(param->share_start & GENMASK_ULL(31, 0))); param 197 drivers/net/fjes/fjes_hw.c (__le32)((param->share_start & GENMASK_ULL(63, 32)) >> 32)); param 203 drivers/net/fjes/fjes_hw.c struct fjes_device_command_param param; param 263 drivers/net/fjes/fjes_hw.c memset(¶m, 0, sizeof(param)); param 265 drivers/net/fjes/fjes_hw.c param.req_len = hw->hw_info.req_buf_size; param 266 drivers/net/fjes/fjes_hw.c param.req_start = __pa(hw->hw_info.req_buf); param 267 drivers/net/fjes/fjes_hw.c param.res_len = hw->hw_info.res_buf_size; param 268 drivers/net/fjes/fjes_hw.c param.res_start = __pa(hw->hw_info.res_buf); param 270 drivers/net/fjes/fjes_hw.c param.share_start = __pa(hw->hw_info.share->ep_status); param 272 drivers/net/fjes/fjes_hw.c fjes_hw_init_command_registers(hw, ¶m); param 435 drivers/net/fjes/fjes_main.c struct fjes_device_command_param param; param 476 drivers/net/fjes/fjes_main.c memset((void *)¶m, 0, sizeof(param)); param 478 drivers/net/fjes/fjes_main.c param.req_len = hw->hw_info.req_buf_size; param 479 drivers/net/fjes/fjes_main.c param.req_start = __pa(hw->hw_info.req_buf); param 480 drivers/net/fjes/fjes_main.c param.res_len = hw->hw_info.res_buf_size; param 481 drivers/net/fjes/fjes_main.c param.res_start = __pa(hw->hw_info.res_buf); param 482 drivers/net/fjes/fjes_main.c param.share_start = __pa(hw->hw_info.share->ep_status); param 484 drivers/net/fjes/fjes_main.c fjes_hw_init_command_registers(hw, ¶m); param 190 drivers/net/hamradio/dmascc.c struct scc_param param; param 564 drivers/net/hamradio/dmascc.c priv->param.pclk_hz = hw[type].pclk_hz; param 565 drivers/net/hamradio/dmascc.c priv->param.brg_tc = -1; param 566 drivers/net/hamradio/dmascc.c priv->param.clocks = TCTRxCP | RCRTxCP; param 567 drivers/net/hamradio/dmascc.c priv->param.persist = 256; param 568 drivers/net/hamradio/dmascc.c priv->param.dma = -1; param 728 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 729 drivers/net/hamradio/dmascc.c if (request_dma(priv->param.dma, "dmascc")) { param 735 drivers/net/hamradio/dmascc.c clear_dma_ff(priv->param.dma); param 792 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 804 drivers/net/hamradio/dmascc.c write_scc(priv, R10, CRCPS | (priv->param.nrzi ? NRZI : NRZ)); param 807 drivers/net/hamradio/dmascc.c if (priv->param.brg_tc >= 0) { param 809 drivers/net/hamradio/dmascc.c write_scc(priv, R12, priv->param.brg_tc & 0xFF); param 810 drivers/net/hamradio/dmascc.c write_scc(priv, R13, (priv->param.brg_tc >> 8) & 0xFF); param 828 drivers/net/hamradio/dmascc.c write_scc(priv, R11, priv->param.clocks); param 829 drivers/net/hamradio/dmascc.c if ((priv->type == TYPE_TWIN) && !(priv->param.clocks & TRxCOI)) { param 872 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 875 drivers/net/hamradio/dmascc.c free_dma(priv->param.dma); param 891 drivers/net/hamradio/dmascc.c (ifr->ifr_data, &priv->param, param 901 drivers/net/hamradio/dmascc.c (&priv->param, ifr->ifr_data, param 948 drivers/net/hamradio/dmascc.c start_timer(priv, priv->param.txdelay, 0); param 972 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 976 drivers/net/hamradio/dmascc.c set_dma_mode(priv->param.dma, DMA_MODE_WRITE); param 977 drivers/net/hamradio/dmascc.c set_dma_addr(priv->param.dma, param 979 drivers/net/hamradio/dmascc.c set_dma_count(priv->param.dma, param 986 drivers/net/hamradio/dmascc.c outb((priv->param.dma == param 998 drivers/net/hamradio/dmascc.c enable_dma(priv->param.dma); param 1020 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 1023 drivers/net/hamradio/dmascc.c set_dma_mode(priv->param.dma, DMA_MODE_READ); param 1024 drivers/net/hamradio/dmascc.c set_dma_addr(priv->param.dma, param 1026 drivers/net/hamradio/dmascc.c set_dma_count(priv->param.dma, BUF_SIZE); param 1028 drivers/net/hamradio/dmascc.c enable_dma(priv->param.dma); param 1031 drivers/net/hamradio/dmascc.c outb((priv->param.dma == param 1055 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0 && priv->type == TYPE_TWIN) param 1060 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) param 1061 drivers/net/hamradio/dmascc.c disable_dma(priv->param.dma); param 1158 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 1192 drivers/net/hamradio/dmascc.c if (priv->param.dma < 0) param 1196 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 1198 drivers/net/hamradio/dmascc.c cb = BUF_SIZE - get_dma_residue(priv->param.dma) - param 1235 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 1237 drivers/net/hamradio/dmascc.c set_dma_addr(priv->param.dma, param 1239 drivers/net/hamradio/dmascc.c set_dma_count(priv->param.dma, BUF_SIZE); param 1325 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0) { param 1326 drivers/net/hamradio/dmascc.c disable_dma(priv->param.dma); param 1328 drivers/net/hamradio/dmascc.c res = get_dma_residue(priv->param.dma); param 1335 drivers/net/hamradio/dmascc.c if (priv->param.dma >= 0 && priv->type == TYPE_TWIN) param 1359 drivers/net/hamradio/dmascc.c (jiffies - priv->tx_start) < priv->param.txtimeout) { param 1361 drivers/net/hamradio/dmascc.c start_timer(priv, priv->param.txpause, 0); param 1364 drivers/net/hamradio/dmascc.c start_timer(priv, priv->param.txtail, 0); param 1376 drivers/net/hamradio/dmascc.c start_timer(priv, priv->param.dcdon, 0); param 1384 drivers/net/hamradio/dmascc.c start_timer(priv, priv->param.dcdoff, 0); param 1409 drivers/net/hamradio/dmascc.c start_timer(priv, priv->param.rtsoff, 0); param 1420 drivers/net/hamradio/dmascc.c start_timer(priv, priv->param.waittime, DCDIE); param 1430 drivers/net/hamradio/dmascc.c start_timer(priv, priv->param.txdelay, 0); param 1447 drivers/net/hamradio/dmascc.c random() / priv->param.persist * param 1448 drivers/net/hamradio/dmascc.c priv->param.slottime, DCDIE); param 1919 drivers/net/hamradio/scc.c kiss_cmd.param = scc_get_param(scc, kiss_cmd.command); param 1928 drivers/net/hamradio/scc.c return scc_set_param(scc, kiss_cmd.command, kiss_cmd.param); param 110 drivers/net/phy/mdio-mux-bcm-iproc.c u32 param; param 118 drivers/net/phy/mdio-mux-bcm-iproc.c param = readl(base + MDIO_PARAM_OFFSET); param 119 drivers/net/phy/mdio-mux-bcm-iproc.c param |= phyid << MDIO_PARAM_PHY_ID; param 120 drivers/net/phy/mdio-mux-bcm-iproc.c param |= val << MDIO_PARAM_PHY_DATA; param 122 drivers/net/phy/mdio-mux-bcm-iproc.c param |= BIT(MDIO_PARAM_C45_SEL); param 124 drivers/net/phy/mdio-mux-bcm-iproc.c writel(param, base + MDIO_PARAM_OFFSET); param 170 drivers/net/phy/mdio-mux-bcm-iproc.c u32 param, bus_id; param 177 drivers/net/phy/mdio-mux-bcm-iproc.c param = (bus_dir ? 1 : 0) << MDIO_PARAM_INTERNAL_SEL; param 178 drivers/net/phy/mdio-mux-bcm-iproc.c param |= (bus_id << MDIO_PARAM_BUS_ID); param 180 drivers/net/phy/mdio-mux-bcm-iproc.c writel(param, md->base + MDIO_PARAM_OFFSET); param 64 drivers/net/usb/cdc_ncm.c static void cdc_ncm_txpath_bh(unsigned long param); param 1363 drivers/net/usb/cdc_ncm.c static void cdc_ncm_txpath_bh(unsigned long param) param 1365 drivers/net/usb/cdc_ncm.c struct usbnet *dev = (struct usbnet *)param; param 1039 drivers/net/usb/lan78xx.c static void lan78xx_deferred_multicast_write(struct work_struct *param) param 1042 drivers/net/usb/lan78xx.c container_of(param, struct lan78xx_priv, set_multicast); param 2374 drivers/net/usb/lan78xx.c static void lan78xx_deferred_vlan_write(struct work_struct *param) param 2377 drivers/net/usb/lan78xx.c container_of(param, struct lan78xx_priv, set_vlan); param 3467 drivers/net/usb/lan78xx.c static void lan78xx_bh(unsigned long param) param 3469 drivers/net/usb/lan78xx.c struct lan78xx_net *dev = (struct lan78xx_net *)param; param 233 drivers/net/usb/sierra_net.c static const u8 *save16bit(struct param *p, const u8 *datap) param 240 drivers/net/usb/sierra_net.c static const u8 *save8bit(struct param *p, const u8 *datap) param 257 drivers/net/usb/sierra_net.c struct param payload_len; param 258 drivers/net/usb/sierra_net.c struct param msgid; param 259 drivers/net/usb/sierra_net.c struct param msgspecific; param 260 drivers/net/usb/sierra_net.c struct param extmsgid; param 523 drivers/net/usb/smsc75xx.c static void smsc75xx_deferred_multicast_write(struct work_struct *param) param 526 drivers/net/usb/smsc75xx.c container_of(param, struct smsc75xx_priv, set_multicast); param 510 drivers/net/vmxnet3/vmxnet3_ethtool.c struct ethtool_ringparam *param) param 514 drivers/net/vmxnet3/vmxnet3_ethtool.c param->rx_max_pending = VMXNET3_RX_RING_MAX_SIZE; param 515 drivers/net/vmxnet3/vmxnet3_ethtool.c param->tx_max_pending = VMXNET3_TX_RING_MAX_SIZE; param 516 drivers/net/vmxnet3/vmxnet3_ethtool.c param->rx_mini_max_pending = VMXNET3_VERSION_GE_3(adapter) ? param 518 drivers/net/vmxnet3/vmxnet3_ethtool.c param->rx_jumbo_max_pending = VMXNET3_RX_RING2_MAX_SIZE; param 520 drivers/net/vmxnet3/vmxnet3_ethtool.c param->rx_pending = adapter->rx_ring_size; param 521 drivers/net/vmxnet3/vmxnet3_ethtool.c param->tx_pending = adapter->tx_ring_size; param 522 drivers/net/vmxnet3/vmxnet3_ethtool.c param->rx_mini_pending = VMXNET3_VERSION_GE_3(adapter) ? param 524 drivers/net/vmxnet3/vmxnet3_ethtool.c param->rx_jumbo_pending = adapter->rx_ring2_size; param 530 drivers/net/vmxnet3/vmxnet3_ethtool.c struct ethtool_ringparam *param) param 538 drivers/net/vmxnet3/vmxnet3_ethtool.c if (param->tx_pending == 0 || param->tx_pending > param 542 drivers/net/vmxnet3/vmxnet3_ethtool.c if (param->rx_pending == 0 || param->rx_pending > param 546 drivers/net/vmxnet3/vmxnet3_ethtool.c if (param->rx_jumbo_pending == 0 || param 547 drivers/net/vmxnet3/vmxnet3_ethtool.c param->rx_jumbo_pending > VMXNET3_RX_RING2_MAX_SIZE) param 558 drivers/net/vmxnet3/vmxnet3_ethtool.c if (param->rx_mini_pending < 0 || param 559 drivers/net/vmxnet3/vmxnet3_ethtool.c param->rx_mini_pending > VMXNET3_RXDATA_DESC_MAX_SIZE) { param 562 drivers/net/vmxnet3/vmxnet3_ethtool.c } else if (param->rx_mini_pending != 0) { param 567 drivers/net/vmxnet3/vmxnet3_ethtool.c new_tx_ring_size = (param->tx_pending + VMXNET3_RING_SIZE_MASK) & param 579 drivers/net/vmxnet3/vmxnet3_ethtool.c new_rx_ring_size = (param->rx_pending + sz - 1) / sz * sz; param 587 drivers/net/vmxnet3/vmxnet3_ethtool.c new_rx_ring2_size = (param->rx_jumbo_pending + VMXNET3_RING_SIZE_MASK) & param 596 drivers/net/vmxnet3/vmxnet3_ethtool.c (param->rx_mini_pending + VMXNET3_RXDATA_DESC_SIZE_MASK) & param 310 drivers/net/wireless/ath/ath10k/bmi.c int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result) param 319 drivers/net/wireless/ath/ath10k/bmi.c address, param); param 328 drivers/net/wireless/ath/ath10k/bmi.c cmd.execute.param = __cpu_to_le32(param); param 107 drivers/net/wireless/ath/ath10k/bmi.h __le32 param; param 258 drivers/net/wireless/ath/ath10k/bmi.h int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result); param 682 drivers/net/wireless/ath/ath10k/core.c u32 param = 0; param 686 drivers/net/wireless/ath/ath10k/core.c ath10k_bmi_read32(ar, hi_acs_flags, ¶m); param 691 drivers/net/wireless/ath/ath10k/core.c param &= ~HI_ACS_FLAGS_SDIO_REDUCE_TX_COMPL_SET; param 696 drivers/net/wireless/ath/ath10k/core.c param &= ~HI_ACS_FLAGS_ALT_DATA_CREDIT_SIZE; param 699 drivers/net/wireless/ath/ath10k/core.c param &= ~HI_ACS_FLAGS_SDIO_SWAP_MAILBOX_SET; param 701 drivers/net/wireless/ath/ath10k/core.c param |= HI_ACS_FLAGS_SDIO_SWAP_MAILBOX_SET; param 703 drivers/net/wireless/ath/ath10k/core.c ath10k_bmi_write32(ar, hi_acs_flags, param); param 708 drivers/net/wireless/ath/ath10k/core.c ath10k_bmi_read32(ar, hi_option_flag, ¶m); param 709 drivers/net/wireless/ath/ath10k/core.c param |= HI_OPTION_DISABLE_DBGLOG; param 710 drivers/net/wireless/ath/ath10k/core.c ath10k_bmi_write32(ar, hi_option_flag, param); param 2413 drivers/net/wireless/ath/ath10k/debug.c u32 param; param 2429 drivers/net/wireless/ath/ath10k/debug.c param = ar->wmi.pdev_param->peer_sta_ps_statechg_enable; param 2430 drivers/net/wireless/ath/ath10k/debug.c ret = ath10k_wmi_pdev_set_param(ar, param, ps_state_enable); param 777 drivers/net/wireless/ath/ath10k/mac.c u32 param; param 780 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->sta_kickout_th; param 781 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, param 789 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.vdev_param->ap_keepalive_min_idle_inactive_time_secs; param 790 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, param, param 798 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.vdev_param->ap_keepalive_max_idle_inactive_time_secs; param 799 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, param, param 807 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.vdev_param->ap_keepalive_max_unresponsive_time_secs; param 808 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, param, param 1843 drivers/net/wireless/ath/ath10k/mac.c u32 param; param 1854 drivers/net/wireless/ath/ath10k/mac.c param = WMI_STA_PS_PARAM_TX_WAKE_THRESHOLD; param 1855 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, param, value); param 1868 drivers/net/wireless/ath/ath10k/mac.c u32 param; param 1879 drivers/net/wireless/ath/ath10k/mac.c param = WMI_STA_PS_PARAM_PSPOLL_COUNT; param 1881 drivers/net/wireless/ath/ath10k/mac.c param, value); param 1910 drivers/net/wireless/ath/ath10k/mac.c enum wmi_sta_powersave_param param; param 1940 drivers/net/wireless/ath/ath10k/mac.c param = WMI_STA_PS_PARAM_INACTIVITY_TIME; param 1949 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, param, param 2786 drivers/net/wireless/ath/ath10k/mac.c u32 param; param 2799 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.vdev_param->txbf; param 2802 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(param == WMI_VDEV_PARAM_UNSUPPORTED)) param 2835 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, param, value); param 4762 drivers/net/wireless/ath/ath10k/mac.c u32 param; param 4806 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->pmf_qos; param 4807 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, 1); param 4813 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->dynamic_bw; param 4814 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, 1); param 4838 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->burst_enable; param 4839 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, 0); param 4846 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->idle_ps_config; param 4847 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, 1); param 4864 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->arp_ac_override; param 4865 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, 0); param 4884 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->ani_enable; param 4885 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, 1); param 4895 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->peer_stats_update_period; param 4896 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, param 4906 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->enable_btcoex; param 4910 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, 0); param 4996 drivers/net/wireless/ath/ath10k/mac.c u32 param; param 5002 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->txpower_limit2g; param 5003 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, txpower * 2); param 5010 drivers/net/wireless/ath/ath10k/mac.c param = ar->wmi.pdev_param->txpower_limit5g; param 5011 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, txpower * 2); param 5138 drivers/net/wireless/ath/ath10k/mac.c enum wmi_sta_powersave_param param; param 5384 drivers/net/wireless/ath/ath10k/mac.c param = WMI_STA_PS_PARAM_RX_WAKE_POLICY; param 5387 drivers/net/wireless/ath/ath10k/mac.c param, value); param 194 drivers/net/wireless/ath/ath10k/wmi-ops.h u32 param); param 215 drivers/net/wireless/ath/ath10k/wmi-ops.h u32 param); param 1458 drivers/net/wireless/ath/ath10k/wmi-ops.h ath10k_wmi_pdev_get_tpc_config(struct ath10k *ar, u32 param) param 1465 drivers/net/wireless/ath/ath10k/wmi-ops.h skb = ar->wmi.ops->gen_pdev_get_tpc_config(ar, param); param 1569 drivers/net/wireless/ath/ath10k/wmi-ops.h ath10k_wmi_pdev_get_tpc_table_cmdid(struct ath10k *ar, u32 param) param 1576 drivers/net/wireless/ath/ath10k/wmi-ops.h skb = ar->wmi.ops->gen_pdev_get_tpc_table_cmdid(ar, param); param 3000 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->param = __cpu_to_le32(WMI_TLV_DBGLOG_PARAM_LOG_LEVEL); param 1912 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 param; param 2346 drivers/net/wireless/ath/ath10k/wmi.c wmi_process_mgmt_tx_comp(struct ath10k *ar, struct mgmt_tx_compl_params *param) param 2356 drivers/net/wireless/ath/ath10k/wmi.c pkt_addr = idr_find(&wmi->mgmt_pending_tx, param->desc_id); param 2359 drivers/net/wireless/ath/ath10k/wmi.c param->desc_id); param 2369 drivers/net/wireless/ath/ath10k/wmi.c if (param->status) { param 2374 drivers/net/wireless/ath/ath10k/wmi.c param->ack_rssi; param 2383 drivers/net/wireless/ath/ath10k/wmi.c idr_remove(&wmi->mgmt_pending_tx, param->desc_id); param 2391 drivers/net/wireless/ath/ath10k/wmi.c struct mgmt_tx_compl_params param; param 2400 drivers/net/wireless/ath/ath10k/wmi.c memset(¶m, 0, sizeof(struct mgmt_tx_compl_params)); param 2401 drivers/net/wireless/ath/ath10k/wmi.c param.desc_id = __le32_to_cpu(arg.desc_id); param 2402 drivers/net/wireless/ath/ath10k/wmi.c param.status = __le32_to_cpu(arg.status); param 2405 drivers/net/wireless/ath/ath10k/wmi.c param.ack_rssi = __le32_to_cpu(arg.ack_rssi); param 2407 drivers/net/wireless/ath/ath10k/wmi.c wmi_process_mgmt_tx_comp(ar, ¶m); param 2417 drivers/net/wireless/ath/ath10k/wmi.c struct mgmt_tx_compl_params param; param 2430 drivers/net/wireless/ath/ath10k/wmi.c memset(¶m, 0, sizeof(struct mgmt_tx_compl_params)); param 2431 drivers/net/wireless/ath/ath10k/wmi.c param.desc_id = __le32_to_cpu(arg.desc_ids[i]); param 2432 drivers/net/wireless/ath/ath10k/wmi.c param.status = __le32_to_cpu(arg.desc_ids[i]); param 2435 drivers/net/wireless/ath/ath10k/wmi.c param.ack_rssi = __le32_to_cpu(arg.ack_rssi[i]); param 2436 drivers/net/wireless/ath/ath10k/wmi.c wmi_process_mgmt_tx_comp(ar, ¶m); param 8052 drivers/net/wireless/ath/ath10k/wmi.c ath10k_wmi_10_2_4_op_gen_pdev_get_tpc_config(struct ath10k *ar, u32 param) param 8062 drivers/net/wireless/ath/ath10k/wmi.c cmd->param = __cpu_to_le32(param); param 8065 drivers/net/wireless/ath/ath10k/wmi.c "wmi pdev get tpc config param %d\n", param); param 8804 drivers/net/wireless/ath/ath10k/wmi.c ath10k_wmi_10_4_op_gen_pdev_get_tpc_table_cmdid(struct ath10k *ar, u32 param) param 8814 drivers/net/wireless/ath/ath10k/wmi.c cmd->param = __cpu_to_le32(param); param 8817 drivers/net/wireless/ath/ath10k/wmi.c "wmi pdev get tpc table param:%d\n", param); param 4125 drivers/net/wireless/ath/ath10k/wmi.h __le32 param; param 4200 drivers/net/wireless/ath/ath10k/wmi.h __le32 param; param 237 drivers/net/wireless/ath/ath6kl/bmi.c int ath6kl_bmi_execute(struct ath6kl *ar, u32 addr, u32 *param) param 249 drivers/net/wireless/ath/ath6kl/bmi.c size = sizeof(cid) + sizeof(addr) + sizeof(param); param 257 drivers/net/wireless/ath/ath6kl/bmi.c addr, *param); param 264 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), param, sizeof(*param)); param 265 drivers/net/wireless/ath/ath6kl/bmi.c offset += sizeof(*param); param 273 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_read(ar, ar->bmi.cmd_buf, sizeof(*param)); param 279 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(param, ar->bmi.cmd_buf, sizeof(*param)); param 320 drivers/net/wireless/ath/ath6kl/bmi.c int ath6kl_bmi_reg_read(struct ath6kl *ar, u32 addr, u32 *param) param 353 drivers/net/wireless/ath/ath6kl/bmi.c ret = ath6kl_hif_bmi_read(ar, ar->bmi.cmd_buf, sizeof(*param)); param 358 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(param, ar->bmi.cmd_buf, sizeof(*param)); param 363 drivers/net/wireless/ath/ath6kl/bmi.c int ath6kl_bmi_reg_write(struct ath6kl *ar, u32 addr, u32 param) param 375 drivers/net/wireless/ath/ath6kl/bmi.c size = sizeof(cid) + sizeof(addr) + sizeof(param); param 384 drivers/net/wireless/ath/ath6kl/bmi.c addr, param); param 391 drivers/net/wireless/ath/ath6kl/bmi.c memcpy(&(ar->bmi.cmd_buf[offset]), ¶m, sizeof(param)); param 392 drivers/net/wireless/ath/ath6kl/bmi.c offset += sizeof(param); param 260 drivers/net/wireless/ath/ath6kl/bmi.h u32 addr, u32 *param); param 263 drivers/net/wireless/ath/ath6kl/bmi.h int ath6kl_bmi_reg_read(struct ath6kl *ar, u32 addr, u32 *param); param 264 drivers/net/wireless/ath/ath6kl/bmi.h int ath6kl_bmi_reg_write(struct ath6kl *ar, u32 addr, u32 param); param 538 drivers/net/wireless/ath/ath6kl/init.c u32 param, ram_reserved_size; param 542 drivers/net/wireless/ath/ath6kl/init.c param = !!(ar->conf_flags & ATH6KL_CONF_UART_DEBUG); param 543 drivers/net/wireless/ath/ath6kl/init.c if (ath6kl_bmi_write_hi32(ar, hi_serial_enable, param)) { param 595 drivers/net/wireless/ath/ath6kl/init.c param = 0; param 597 drivers/net/wireless/ath/ath6kl/init.c if (ath6kl_bmi_read_hi32(ar, hi_option_flag, ¶m) != 0) { param 602 drivers/net/wireless/ath/ath6kl/init.c param |= (ar->vif_max << HI_OPTION_NUM_DEV_SHIFT); param 603 drivers/net/wireless/ath/ath6kl/init.c param |= fw_mode << HI_OPTION_FW_MODE_SHIFT; param 604 drivers/net/wireless/ath/ath6kl/init.c param |= fw_submode << HI_OPTION_FW_SUBMODE_SHIFT; param 606 drivers/net/wireless/ath/ath6kl/init.c param |= (0 << HI_OPTION_MAC_ADDR_METHOD_SHIFT); param 607 drivers/net/wireless/ath/ath6kl/init.c param |= (0 << HI_OPTION_FW_BRIDGE_SHIFT); param 609 drivers/net/wireless/ath/ath6kl/init.c if (ath6kl_bmi_write_hi32(ar, hi_option_flag, param) != 0) { param 628 drivers/net/wireless/ath/ath6kl/init.c param = ar->hw.board_ext_data_addr; param 631 drivers/net/wireless/ath/ath6kl/init.c if (ath6kl_bmi_write_hi32(ar, hi_board_ext_data, param) != 0) { param 1202 drivers/net/wireless/ath/ath6kl/init.c u32 board_address, board_ext_address, param; param 1272 drivers/net/wireless/ath/ath6kl/init.c param = (board_ext_data_size << 16) | 1; param 1274 drivers/net/wireless/ath/ath6kl/init.c ath6kl_bmi_write_hi32(ar, hi_board_ext_data_config, param); param 1297 drivers/net/wireless/ath/ath6kl/init.c param = board_data_size; param 1299 drivers/net/wireless/ath/ath6kl/init.c param = 1; param 1301 drivers/net/wireless/ath/ath6kl/init.c ath6kl_bmi_write_hi32(ar, hi_board_data_initialized, param); param 1308 drivers/net/wireless/ath/ath6kl/init.c u32 address, param; param 1347 drivers/net/wireless/ath/ath6kl/init.c param = 0; param 1348 drivers/net/wireless/ath/ath6kl/init.c ath6kl_bmi_execute(ar, ar->hw.app_start_override_addr, ¶m); param 1444 drivers/net/wireless/ath/ath6kl/init.c u32 param, options, sleep, address; param 1453 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_read(ar, address, ¶m); param 1457 drivers/net/wireless/ath/ath6kl/init.c options = param; param 1459 drivers/net/wireless/ath/ath6kl/init.c param |= ATH6KL_OPTION_SLEEP_DISABLE; param 1460 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1465 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_read(ar, address, ¶m); param 1469 drivers/net/wireless/ath/ath6kl/init.c sleep = param; param 1471 drivers/net/wireless/ath/ath6kl/init.c param |= SM(SYSTEM_SLEEP_DISABLE, 1); param 1472 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1489 drivers/net/wireless/ath/ath6kl/init.c param = SM(CPU_CLOCK_STANDARD, 1); param 1492 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1497 drivers/net/wireless/ath/ath6kl/init.c param = 0; param 1499 drivers/net/wireless/ath/ath6kl/init.c param = SM(LPO_CAL_ENABLE, 1); param 1500 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1508 drivers/net/wireless/ath/ath6kl/init.c param = 0x28; param 1510 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1514 drivers/net/wireless/ath/ath6kl/init.c param = 0x20; param 1517 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1522 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1527 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1532 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 1568 drivers/net/wireless/ath/ath6kl/init.c param = options | 0x20; param 1569 drivers/net/wireless/ath/ath6kl/init.c status = ath6kl_bmi_reg_write(ar, address, param); param 935 drivers/net/wireless/ath/ath9k/ar5008_phy.c int param) param 951 drivers/net/wireless/ath/ath9k/ar5008_phy.c u32 on = param ? 1 : 0; param 1025 drivers/net/wireless/ath/ath9k/ar5008_phy.c u32 level = param; param 1059 drivers/net/wireless/ath/ath9k/ar5008_phy.c u32 level = param; param 478 drivers/net/wireless/ath/ath9k/ar9002_phy.c struct ath_spec_scan *param) param 483 drivers/net/wireless/ath/ath9k/ar9002_phy.c if (!param->enabled) { param 496 drivers/net/wireless/ath/ath9k/ar9002_phy.c if (param->short_repeat) param 505 drivers/net/wireless/ath/ath9k/ar9002_phy.c count = param->count; param 506 drivers/net/wireless/ath/ath9k/ar9002_phy.c if (param->endless) { param 527 drivers/net/wireless/ath/ath9k/ar9002_phy.c AR_PHY_SPECTRAL_SCAN_PERIOD, param->period); param 529 drivers/net/wireless/ath/ath9k/ar9002_phy.c AR_PHY_SPECTRAL_SCAN_FFT_PERIOD, param->fft_period); param 2974 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c enum eeprom_param param) param 2979 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c switch (param) { param 1075 drivers/net/wireless/ath/ath9k/ar9003_phy.c enum ath9k_ani_cmd cmd, int param) param 1096 drivers/net/wireless/ath/ath9k/ar9003_phy.c u32 on = param ? 1 : 0; param 1176 drivers/net/wireless/ath/ath9k/ar9003_phy.c u32 level = param; param 1241 drivers/net/wireless/ath/ath9k/ar9003_phy.c u32 level = param; param 1309 drivers/net/wireless/ath/ath9k/ar9003_phy.c bool is_on = param ? 1 : 0; param 1743 drivers/net/wireless/ath/ath9k/ar9003_phy.c struct ath_spec_scan *param) param 1747 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (!param->enabled) { param 1760 drivers/net/wireless/ath/ath9k/ar9003_phy.c count = param->count; param 1761 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (param->endless) param 1763 drivers/net/wireless/ath/ath9k/ar9003_phy.c else if (param->count == 0) param 1766 drivers/net/wireless/ath/ath9k/ar9003_phy.c if (param->short_repeat) param 1776 drivers/net/wireless/ath/ath9k/ar9003_phy.c AR_PHY_SPECTRAL_SCAN_PERIOD, param->period); param 1778 drivers/net/wireless/ath/ath9k/ar9003_phy.c AR_PHY_SPECTRAL_SCAN_FFT_PERIOD, param->fft_period); param 656 drivers/net/wireless/ath/ath9k/eeprom.h u32 (*get_eeprom)(struct ath_hw *hw, enum eeprom_param param); param 235 drivers/net/wireless/ath/ath9k/eeprom_4k.c enum eeprom_param param) param 241 drivers/net/wireless/ath/ath9k/eeprom_4k.c switch (param) { param 233 drivers/net/wireless/ath/ath9k/eeprom_9287.c enum eeprom_param param) param 240 drivers/net/wireless/ath/ath9k/eeprom_9287.c switch (param) { param 334 drivers/net/wireless/ath/ath9k/eeprom_def.c enum eeprom_param param) param 341 drivers/net/wireless/ath/ath9k/eeprom_def.c switch (param) { param 224 drivers/net/wireless/ath/ath9k/hw-ops.h enum ath9k_ani_cmd cmd, int param) param 226 drivers/net/wireless/ath/ath9k/hw-ops.h return ath9k_hw_private_ops(ah)->ani_control(ah, cmd, param); param 663 drivers/net/wireless/ath/ath9k/hw.h int param); param 741 drivers/net/wireless/ath/ath9k/hw.h struct ath_spec_scan *param); param 1384 drivers/net/wireless/ath/carl9170/main.c const struct ieee80211_tx_queue_params *param) param 1390 drivers/net/wireless/ath/carl9170/main.c memcpy(&ar->edcf[ar9170_qmap[queue]], param, sizeof(*param)); param 4436 drivers/net/wireless/ath/wcn36xx/hal.h struct wcn36xx_hal_rcv_flt_pkt_clear_param param; param 4441 drivers/net/wireless/ath/wcn36xx/hal.h struct wcn36xx_hal_rcv_flt_pkt_clear_param param; param 1548 drivers/net/wireless/atmel/at76c50x-usb.c static void at76_rx_tasklet(unsigned long param) param 1550 drivers/net/wireless/atmel/at76c50x-usb.c struct urb *urb = (struct urb *)param; param 1936 drivers/net/wireless/atmel/atmel.c struct iw_param *param = &wrqu->param; param 1938 drivers/net/wireless/atmel/atmel.c switch (param->flags & IW_AUTH_INDEX) { param 1951 drivers/net/wireless/atmel/atmel.c priv->exclude_unencrypted = param->value ? 1 : 0; param 1955 drivers/net/wireless/atmel/atmel.c if (param->value & IW_AUTH_ALG_SHARED_KEY) { param 1957 drivers/net/wireless/atmel/atmel.c } else if (param->value & IW_AUTH_ALG_OPEN_SYSTEM) { param 1966 drivers/net/wireless/atmel/atmel.c if (param->value > 0) param 1981 drivers/net/wireless/atmel/atmel.c struct iw_param *param = &wrqu->param; param 1983 drivers/net/wireless/atmel/atmel.c switch (param->flags & IW_AUTH_INDEX) { param 1985 drivers/net/wireless/atmel/atmel.c param->value = priv->exclude_unencrypted; param 1990 drivers/net/wireless/atmel/atmel.c param->value = IW_AUTH_ALG_SHARED_KEY; param 1992 drivers/net/wireless/atmel/atmel.c param->value = IW_AUTH_ALG_OPEN_SYSTEM; param 1996 drivers/net/wireless/atmel/atmel.c param->value = 0; param 2636 drivers/net/wireless/atmel/atmel.c wrq->u.param.value = ATMELMAGIC; param 41 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h char *param; param 1854 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = bss_select->param.band_pref; param 1860 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c band = bss_select->param.adjust.band; param 1862 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c join_pref_params[i].rssi_gain = bss_select->param.adjust.delta; param 6641 drivers/net/wireless/cisco/airo.c struct iw_param *param = &wrqu->param; param 6644 drivers/net/wireless/cisco/airo.c switch (param->flags & IW_AUTH_INDEX) { param 6657 drivers/net/wireless/cisco/airo.c if (param->value) { param 6671 drivers/net/wireless/cisco/airo.c if (param->value & IW_AUTH_ALG_SHARED_KEY) { param 6673 drivers/net/wireless/cisco/airo.c } else if (param->value & IW_AUTH_ALG_OPEN_SYSTEM) { param 6690 drivers/net/wireless/cisco/airo.c if (param->value > 0) param 6710 drivers/net/wireless/cisco/airo.c struct iw_param *param = &wrqu->param; param 6713 drivers/net/wireless/cisco/airo.c switch (param->flags & IW_AUTH_INDEX) { param 6718 drivers/net/wireless/cisco/airo.c param->value = 1; param 6721 drivers/net/wireless/cisco/airo.c param->value = 0; param 6729 drivers/net/wireless/cisco/airo.c param->value = IW_AUTH_ALG_SHARED_KEY; param 6733 drivers/net/wireless/cisco/airo.c param->value = IW_AUTH_ALG_OPEN_SYSTEM; param 6739 drivers/net/wireless/cisco/airo.c param->value = 0; param 7612 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct iw_param *param = &wrqu->param; param 7617 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (param->flags & IW_AUTH_INDEX) { param 7634 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (param->value) param 7657 drivers/net/wireless/intel/ipw2x00/ipw2100.c .enabled = param->value, param 7659 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->ieee->drop_unencrypted = param->value; param 7663 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!param->value) { param 7676 drivers/net/wireless/intel/ipw2x00/ipw2100.c ret = ipw2100_wpa_set_auth_algs(priv, param->value); param 7680 drivers/net/wireless/intel/ipw2x00/ipw2100.c ret = ipw2100_wpa_enable(priv, param->value); param 7684 drivers/net/wireless/intel/ipw2x00/ipw2100.c ieee->ieee802_1x = param->value; param 7689 drivers/net/wireless/intel/ipw2x00/ipw2100.c ieee->privacy_invoked = param->value; param 7706 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct iw_param *param = &wrqu->param; param 7708 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (param->flags & IW_AUTH_INDEX) { param 7726 drivers/net/wireless/intel/ipw2x00/ipw2100.c param->value = (crypt->ops->get_flags(crypt->priv) & param 7732 drivers/net/wireless/intel/ipw2x00/ipw2100.c param->value = ieee->drop_unencrypted; param 7736 drivers/net/wireless/intel/ipw2x00/ipw2100.c param->value = priv->ieee->sec.auth_mode; param 7740 drivers/net/wireless/intel/ipw2x00/ipw2100.c param->value = ieee->wpa_enabled; param 7744 drivers/net/wireless/intel/ipw2x00/ipw2100.c param->value = ieee->ieee802_1x; param 7749 drivers/net/wireless/intel/ipw2x00/ipw2100.c param->value = ieee->privacy_invoked; param 1359 drivers/net/wireless/intel/ipw2x00/ipw2200.c (u8 *) priv->cmdlog[i].cmd.param, param 2189 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(priv->cmdlog[priv->cmdlog_pos].cmd.param, cmd->param, param 2203 drivers/net/wireless/intel/ipw2x00/ipw2200.c printk_buf(IPW_DL_HOST_COMMAND, (u8 *) cmd->param, cmd->len); param 2205 drivers/net/wireless/intel/ipw2x00/ipw2200.c rc = ipw_queue_tx_hcmd(priv, cmd->cmd, cmd->param, cmd->len, 0); param 2273 drivers/net/wireless/intel/ipw2x00/ipw2200.c .param = data, param 2541 drivers/net/wireless/intel/ipw2x00/ipw2200.c __le32 param; param 2552 drivers/net/wireless/intel/ipw2x00/ipw2200.c param = cpu_to_le32(IPW_POWER_INDEX_3); param 2555 drivers/net/wireless/intel/ipw2x00/ipw2200.c param = cpu_to_le32(IPW_POWER_MODE_CAM); param 2558 drivers/net/wireless/intel/ipw2x00/ipw2200.c param = cpu_to_le32(mode); param 2562 drivers/net/wireless/intel/ipw2x00/ipw2200.c return ipw_send_cmd_pdu(priv, IPW_CMD_POWER_MODE, sizeof(param), param 2563 drivers/net/wireless/intel/ipw2x00/ipw2200.c ¶m); param 6596 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct iw_param *param = &wrqu->param; param 6601 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (param->flags & IW_AUTH_INDEX) { param 6606 drivers/net/wireless/intel/ipw2x00/ipw2200.c wext_cipher2level(param->value)); param 6610 drivers/net/wireless/intel/ipw2x00/ipw2200.c wext_cipher2level(param->value)); param 6625 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (param->value) param 6648 drivers/net/wireless/intel/ipw2x00/ipw2200.c .enabled = param->value, param 6650 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee->drop_unencrypted = param->value; param 6654 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!param->value) { param 6667 drivers/net/wireless/intel/ipw2x00/ipw2200.c ret = ipw_wpa_set_auth_algs(priv, param->value); param 6671 drivers/net/wireless/intel/ipw2x00/ipw2200.c ret = ipw_wpa_enable(priv, param->value); param 6676 drivers/net/wireless/intel/ipw2x00/ipw2200.c ieee->ieee802_1x = param->value; param 6680 drivers/net/wireless/intel/ipw2x00/ipw2200.c ieee->privacy_invoked = param->value; param 6697 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct iw_param *param = &wrqu->param; param 6699 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (param->flags & IW_AUTH_INDEX) { param 6714 drivers/net/wireless/intel/ipw2x00/ipw2200.c param->value = (crypt->ops->get_flags(crypt->priv) & param 6720 drivers/net/wireless/intel/ipw2x00/ipw2200.c param->value = ieee->drop_unencrypted; param 6724 drivers/net/wireless/intel/ipw2x00/ipw2200.c param->value = ieee->sec.auth_mode; param 6728 drivers/net/wireless/intel/ipw2x00/ipw2200.c param->value = ieee->wpa_enabled; param 6732 drivers/net/wireless/intel/ipw2x00/ipw2200.c param->value = ieee->ieee802_1x; param 6737 drivers/net/wireless/intel/ipw2x00/ipw2200.c param->value = ieee->privacy_invoked; param 1005 drivers/net/wireless/intel/ipw2x00/ipw2200.h u32 param[0]; param 1950 drivers/net/wireless/intel/ipw2x00/ipw2200.h u32 *param; param 1957 drivers/net/wireless/intel/ipw2x00/ipw2200.h char param[124]; param 67 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c enum iwl_dbgfs_pm_mask param, int val) param 72 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c dbgfs_pm->mask |= param; param 74 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c switch (param) { param 132 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c enum iwl_dbgfs_pm_mask param; param 138 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_KEEP_ALIVE; param 142 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_SKIP_OVER_DTIM; param 146 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_SKIP_DTIM_PERIODS; param 150 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_RX_DATA_TIMEOUT; param 154 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_TX_DATA_TIMEOUT; param 158 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_LPRX_ENA; param 165 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_LPRX_RSSI_THRESHOLD; param 169 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_SNOOZE_ENABLE; param 173 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_UAPSD_MISBEHAVING; param 177 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_PM_USE_PS_POLL; param 183 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_dbgfs_update_pm(mvm, vif, param, val); param 306 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c enum iwl_dbgfs_bf_mask param, int value) param 311 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c dbgfs_bf->mask |= param; param 313 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c switch (param) { param 355 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c enum iwl_dbgfs_bf_mask param; param 364 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_ENERGY_DELTA; param 371 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_ROAMING_ENERGY_DELTA; param 378 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_ROAMING_STATE; param 385 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_TEMP_THRESHOLD; param 392 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_TEMP_FAST_FILTER; param 399 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_TEMP_SLOW_FILTER; param 405 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER; param 411 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_DEBUG_FLAG; param 418 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BF_ESCAPE_TIMER; param 425 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BA_ESCAPE_TIMER; param 431 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c param = MVM_DEBUGFS_BA_ENABLE_BEACON_ABORT; param 437 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_dbgfs_update_bf(vif, param, value); param 438 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c if (param == MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER && !value) param 73 drivers/net/wireless/intersil/hostap/hostap.h int prism2_hostapd(struct ap_data *ap, struct prism2_hostapd_param *param); param 2483 drivers/net/wireless/intersil/hostap/hostap_ap.c struct prism2_hostapd_param *param) param 2488 drivers/net/wireless/intersil/hostap/hostap_ap.c sta = ap_get_sta(ap, param->sta_addr); param 2494 drivers/net/wireless/intersil/hostap/hostap_ap.c sta = ap_add_sta(ap, param->sta_addr); param 2504 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->aid = param->u.add_sta.aid; param 2505 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->capability = param->u.add_sta.capability; param 2506 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->tx_supp_rates = param->u.add_sta.tx_supp_rates; param 2522 drivers/net/wireless/intersil/hostap/hostap_ap.c struct prism2_hostapd_param *param) param 2527 drivers/net/wireless/intersil/hostap/hostap_ap.c sta = ap_get_sta(ap, param->sta_addr); param 2546 drivers/net/wireless/intersil/hostap/hostap_ap.c struct prism2_hostapd_param *param) param 2551 drivers/net/wireless/intersil/hostap/hostap_ap.c sta = ap_get_sta(ap, param->sta_addr); param 2559 drivers/net/wireless/intersil/hostap/hostap_ap.c param->u.get_info_sta.inactive_sec = (jiffies - sta->last_rx) / HZ; param 2568 drivers/net/wireless/intersil/hostap/hostap_ap.c struct prism2_hostapd_param *param) param 2573 drivers/net/wireless/intersil/hostap/hostap_ap.c sta = ap_get_sta(ap, param->sta_addr); param 2575 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->flags |= param->u.set_flags_sta.flags_or; param 2576 drivers/net/wireless/intersil/hostap/hostap_ap.c sta->flags &= param->u.set_flags_sta.flags_and; param 2588 drivers/net/wireless/intersil/hostap/hostap_ap.c struct prism2_hostapd_param *param) param 2594 drivers/net/wireless/intersil/hostap/hostap_ap.c sta = ap_get_sta(ap, param->sta_addr); param 2612 drivers/net/wireless/intersil/hostap/hostap_ap.c int prism2_hostapd(struct ap_data *ap, struct prism2_hostapd_param *param) param 2614 drivers/net/wireless/intersil/hostap/hostap_ap.c switch (param->cmd) { param 2619 drivers/net/wireless/intersil/hostap/hostap_ap.c return prism2_hostapd_add_sta(ap, param); param 2621 drivers/net/wireless/intersil/hostap/hostap_ap.c return prism2_hostapd_remove_sta(ap, param); param 2623 drivers/net/wireless/intersil/hostap/hostap_ap.c return prism2_hostapd_get_info_sta(ap, param); param 2625 drivers/net/wireless/intersil/hostap/hostap_ap.c return prism2_hostapd_set_flags_sta(ap, param); param 2627 drivers/net/wireless/intersil/hostap/hostap_ap.c return prism2_hostapd_sta_clear_stats(ap, param); param 2630 drivers/net/wireless/intersil/hostap/hostap_ap.c param->cmd); param 292 drivers/net/wireless/intersil/hostap/hostap_download.c struct prism2_download_data *param) param 325 drivers/net/wireless/intersil/hostap/hostap_download.c param0 = param->start_addr & 0xffff; param 326 drivers/net/wireless/intersil/hostap/hostap_download.c param1 = param->start_addr >> 16; param 339 drivers/net/wireless/intersil/hostap/hostap_download.c for (i = 0; i < param->num_areas; i++) { param 341 drivers/net/wireless/intersil/hostap/hostap_download.c dev->name, param->data[i].len, param->data[i].addr); param 342 drivers/net/wireless/intersil/hostap/hostap_download.c if (hfa384x_to_aux(dev, param->data[i].addr, param 343 drivers/net/wireless/intersil/hostap/hostap_download.c param->data[i].len, param->data[i].data)) { param 346 drivers/net/wireless/intersil/hostap/hostap_download.c param->data[i].addr, param->data[i].len); param 437 drivers/net/wireless/intersil/hostap/hostap_download.c struct prism2_download_data *param) param 492 drivers/net/wireless/intersil/hostap/hostap_download.c for (i = 0; i < param->num_areas; i++) { param 494 drivers/net/wireless/intersil/hostap/hostap_download.c dev->name, param->data[i].len, param->data[i].addr); param 495 drivers/net/wireless/intersil/hostap/hostap_download.c if (hfa384x_to_aux(dev, param->data[i].addr, param 496 drivers/net/wireless/intersil/hostap/hostap_download.c param->data[i].len, param->data[i].data)) { param 499 drivers/net/wireless/intersil/hostap/hostap_download.c param->data[i].addr, param->data[i].len); param 719 drivers/net/wireless/intersil/hostap/hostap_download.c struct prism2_download_param *param) param 728 drivers/net/wireless/intersil/hostap/hostap_download.c param->dl_cmd, param->start_addr, param->num_areas); param 730 drivers/net/wireless/intersil/hostap/hostap_download.c if (param->num_areas > 100) { param 735 drivers/net/wireless/intersil/hostap/hostap_download.c dl = kzalloc(sizeof(*dl) + param->num_areas * param 741 drivers/net/wireless/intersil/hostap/hostap_download.c dl->dl_cmd = param->dl_cmd; param 742 drivers/net/wireless/intersil/hostap/hostap_download.c dl->start_addr = param->start_addr; param 743 drivers/net/wireless/intersil/hostap/hostap_download.c dl->num_areas = param->num_areas; param 744 drivers/net/wireless/intersil/hostap/hostap_download.c for (i = 0; i < param->num_areas; i++) { param 747 drivers/net/wireless/intersil/hostap/hostap_download.c i, param->data[i].addr, param->data[i].len, param 748 drivers/net/wireless/intersil/hostap/hostap_download.c param->data[i].ptr); param 750 drivers/net/wireless/intersil/hostap/hostap_download.c dl->data[i].addr = param->data[i].addr; param 751 drivers/net/wireless/intersil/hostap/hostap_download.c dl->data[i].len = param->data[i].len; param 753 drivers/net/wireless/intersil/hostap/hostap_download.c total_len += param->data[i].len; param 754 drivers/net/wireless/intersil/hostap/hostap_download.c if (param->data[i].len > PRISM2_MAX_DOWNLOAD_AREA_LEN || param 766 drivers/net/wireless/intersil/hostap/hostap_download.c if (copy_from_user(dl->data[i].data, param->data[i].ptr, param 767 drivers/net/wireless/intersil/hostap/hostap_download.c param->data[i].len)) { param 773 drivers/net/wireless/intersil/hostap/hostap_download.c switch (param->dl_cmd) { param 793 drivers/net/wireless/intersil/hostap/hostap_download.c local->dev->name, param->dl_cmd); param 800 drivers/net/wireless/intersil/hostap/hostap_download.c param->dl_cmd == PRISM2_DOWNLOAD_VOLATILE_GENESIS_PERSISTENT) { param 804 drivers/net/wireless/intersil/hostap/hostap_download.c param->dl_cmd == PRISM2_DOWNLOAD_VOLATILE_PERSISTENT) { param 132 drivers/net/wireless/intersil/hostap/hostap_hw.c struct prism2_download_param *param); param 135 drivers/net/wireless/intersil/hostap/hostap_hw.c struct prism2_download_data *param); param 137 drivers/net/wireless/intersil/hostap/hostap_hw.c struct prism2_download_data *param); param 2323 drivers/net/wireless/intersil/hostap/hostap_ioctl.c int param = *i; param 2331 drivers/net/wireless/intersil/hostap/hostap_ioctl.c switch (param) { param 2658 drivers/net/wireless/intersil/hostap/hostap_ioctl.c dev->name, param); param 2673 drivers/net/wireless/intersil/hostap/hostap_ioctl.c int *param = (int *) extra; param 2679 drivers/net/wireless/intersil/hostap/hostap_ioctl.c switch (*param) { param 2681 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->fw_tx_rate_control; param 2685 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->beacon_int; param 2689 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->pseudo_adhoc; param 2697 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->frame_dump; param 2702 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->ap->ap_policy; param 2709 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->ap->max_inactivity / HZ; param 2716 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->ap->bridge_packets; param 2722 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->dtim_period; param 2727 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->ap->nullfunc_ack; param 2733 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->wds_max_connections; param 2738 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->ap->autom_ap_wds; param 2744 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->auth_algs; param 2748 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->monitor_allow_fcserr; param 2752 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->host_encrypt; param 2756 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->host_decrypt; param 2760 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->host_roaming; param 2764 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->bcrx_sta_key; param 2768 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->ieee_802_1x; param 2772 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->antsel_tx; param 2776 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->antsel_rx; param 2780 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->monitor_type; param 2784 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->wds_type; param 2792 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->passive_scan_interval; param 2796 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->enh_sec; param 2801 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->io_debug_enabled; param 2806 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->basic_rates; param 2810 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->tx_rate_control; param 2814 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->hostapd; param 2818 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->hostapd_sta; param 2824 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->wpa; param 2828 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->privacy_invoked; param 2832 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->tkip_countermeasures; param 2836 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->drop_unencrypted; param 2840 drivers/net/wireless/intersil/hostap/hostap_ioctl.c *param = local->scan_channel_mask; param 2845 drivers/net/wireless/intersil/hostap/hostap_ioctl.c dev->name, *param); param 3038 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_download_param *param; param 3045 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param = memdup_user(p->pointer, p->length); param 3046 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (IS_ERR(param)) { param 3047 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return PTR_ERR(param); param 3051 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->num_areas * sizeof(struct prism2_download_area)) { param 3056 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = local->func->download(local, param); param 3059 drivers/net/wireless/intersil/hostap/hostap_ioctl.c kfree(param); param 3441 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param, param 3449 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = 0; param 3450 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.alg[HOSTAP_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 3453 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (int) ((char *) param->u.crypt.key - (char *) param) + param 3454 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len) param 3457 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (is_broadcast_ether_addr(param->sta_addr)) { param 3458 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (param->u.crypt.idx >= WEP_KEYS) param 3461 drivers/net/wireless/intersil/hostap/hostap_ioctl.c crypt = &local->crypt_info.crypt[param->u.crypt.idx]; param 3463 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (param->u.crypt.idx) param 3466 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->ap, param->sta_addr, param 3467 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (param->u.crypt.flags & HOSTAP_CRYPT_FLAG_PERMANENT), param 3471 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_UNKNOWN_ADDR; param 3476 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (strcmp(param->u.crypt.alg, "none") == 0) { param 3482 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ops = lib80211_get_crypto_ops(param->u.crypt.alg); param 3483 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (ops == NULL && strcmp(param->u.crypt.alg, "WEP") == 0) { param 3485 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ops = lib80211_get_crypto_ops(param->u.crypt.alg); param 3486 drivers/net/wireless/intersil/hostap/hostap_ioctl.c } else if (ops == NULL && strcmp(param->u.crypt.alg, "TKIP") == 0) { param 3488 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ops = lib80211_get_crypto_ops(param->u.crypt.alg); param 3489 drivers/net/wireless/intersil/hostap/hostap_ioctl.c } else if (ops == NULL && strcmp(param->u.crypt.alg, "CCMP") == 0) { param 3491 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ops = lib80211_get_crypto_ops(param->u.crypt.alg); param 3495 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->dev->name, param->u.crypt.alg); param 3496 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_UNKNOWN_ALG; param 3517 drivers/net/wireless/intersil/hostap/hostap_ioctl.c new_crypt->priv = new_crypt->ops->init(param->u.crypt.idx); param 3520 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = param 3529 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if ((!(param->u.crypt.flags & HOSTAP_CRYPT_FLAG_SET_TX_KEY) || param 3530 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len > 0) && (*crypt)->ops->set_key && param 3531 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (*crypt)->ops->set_key(param->u.crypt.key, param 3532 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len, param->u.crypt.seq, param 3536 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_KEY_SET_FAILED; param 3541 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (param->u.crypt.flags & HOSTAP_CRYPT_FLAG_SET_TX_KEY) { param 3543 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->crypt_info.tx_keyidx = param->u.crypt.idx; param 3544 drivers/net/wireless/intersil/hostap/hostap_ioctl.c else if (param->u.crypt.idx) { param 3547 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = param 3567 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_CARD_CONF_FAILED; param 3576 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param, param 3583 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = 0; param 3586 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (int) ((char *) param->u.crypt.key - (char *) param); param 3590 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (is_broadcast_ether_addr(param->sta_addr)) { param 3592 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (param->u.crypt.idx >= WEP_KEYS) param 3593 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.idx = local->crypt_info.tx_keyidx; param 3594 drivers/net/wireless/intersil/hostap/hostap_ioctl.c crypt = &local->crypt_info.crypt[param->u.crypt.idx]; param 3596 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.idx = 0; param 3597 drivers/net/wireless/intersil/hostap/hostap_ioctl.c sta_ptr = ap_crypt_get_ptrs(local->ap, param->sta_addr, 0, param 3601 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.err = HOSTAP_CRYPT_ERR_UNKNOWN_ADDR; param 3607 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memcpy(param->u.crypt.alg, "none", 5); param 3608 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len = 0; param 3609 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.idx = 0xff; param 3611 drivers/net/wireless/intersil/hostap/hostap_ioctl.c strncpy(param->u.crypt.alg, (*crypt)->ops->name, param 3613 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len = 0; param 3615 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(param->u.crypt.seq, 0, 8); param 3617 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.key_len = param 3618 drivers/net/wireless/intersil/hostap/hostap_ioctl.c (*crypt)->ops->get_key(param->u.crypt.key, param 3620 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.crypt.seq, param 3633 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param, param 3642 drivers/net/wireless/intersil/hostap/hostap_ioctl.c res = local->func->get_rid(local->dev, param->u.rid.rid, param 3643 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.rid.data, param->u.rid.len, 0); param 3645 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.rid.len = res; param 3654 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param, param 3660 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (max_len < 0 || max_len < param->u.rid.len) param 3663 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return local->func->set_rid(local->dev, param->u.rid.rid, param 3664 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.rid.data, param->u.rid.len); param 3669 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param, param 3673 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->dev->name, param->sta_addr); param 3674 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memcpy(local->assoc_ap_addr, param->sta_addr, ETH_ALEN); param 3711 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param, param 3716 drivers/net/wireless/intersil/hostap/hostap_ioctl.c len = param->u.generic_elem.len; param 3722 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.generic_elem.data, len); param 3753 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param) param 3757 drivers/net/wireless/intersil/hostap/hostap_ioctl.c reason = cpu_to_le16(param->u.mlme.reason_code); param 3758 drivers/net/wireless/intersil/hostap/hostap_ioctl.c switch (param->u.mlme.cmd) { param 3760 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return prism2_sta_send_mgmt(local, param->sta_addr, param 3764 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return prism2_sta_send_mgmt(local, param->sta_addr, param 3774 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param) param 3785 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return prism2_request_hostscan(local->dev, param->u.scan_req.ssid, param 3786 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param->u.scan_req.ssid_len); param 3795 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct prism2_hostapd_param *param; param 3803 drivers/net/wireless/intersil/hostap/hostap_ioctl.c param = memdup_user(p->pointer, p->length); param 3804 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (IS_ERR(param)) { param 3805 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return PTR_ERR(param); param 3808 drivers/net/wireless/intersil/hostap/hostap_ioctl.c switch (param->cmd) { param 3810 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_ioctl_set_encryption(local, param, p->length); param 3813 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_ioctl_get_encryption(local, param, p->length); param 3816 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_ioctl_get_rid(local, param, p->length); param 3819 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_ioctl_set_rid(local, param, p->length); param 3822 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_ioctl_set_assoc_ap_addr(local, param, p->length); param 3825 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_ioctl_set_generic_element(local, param, param 3829 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_ioctl_mlme(local, param); param 3832 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_ioctl_scan_req(local, param); param 3835 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = prism2_hostapd(local->ap, param); param 3841 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (copy_to_user(p->pointer, param, p->length)) { param 3849 drivers/net/wireless/intersil/hostap/hostap_ioctl.c kfree(param); param 599 drivers/net/wireless/intersil/hostap/hostap_wlan.h struct prism2_download_param *param); param 877 drivers/net/wireless/intersil/orinoco/wext.c struct iw_param *param = &wrqu->param; param 884 drivers/net/wireless/intersil/orinoco/wext.c switch (param->flags & IW_AUTH_INDEX) { param 900 drivers/net/wireless/intersil/orinoco/wext.c if (param->value == IW_AUTH_MFP_REQUIRED) param 909 drivers/net/wireless/intersil/orinoco/wext.c priv->key_mgmt = param->value; param 920 drivers/net/wireless/intersil/orinoco/wext.c if (param->value) { param 930 drivers/net/wireless/intersil/orinoco/wext.c if (param->value & IW_AUTH_ALG_SHARED_KEY) param 932 drivers/net/wireless/intersil/orinoco/wext.c else if (param->value & IW_AUTH_ALG_OPEN_SYSTEM) param 940 drivers/net/wireless/intersil/orinoco/wext.c priv->wpa_enabled = param->value ? 1 : 0; param 942 drivers/net/wireless/intersil/orinoco/wext.c if (param->value) param 962 drivers/net/wireless/intersil/orinoco/wext.c struct iw_param *param = &wrqu->param; param 969 drivers/net/wireless/intersil/orinoco/wext.c switch (param->flags & IW_AUTH_INDEX) { param 971 drivers/net/wireless/intersil/orinoco/wext.c param->value = priv->key_mgmt; param 975 drivers/net/wireless/intersil/orinoco/wext.c param->value = priv->tkip_cm_active; param 980 drivers/net/wireless/intersil/orinoco/wext.c param->value = IW_AUTH_ALG_SHARED_KEY; param 982 drivers/net/wireless/intersil/orinoco/wext.c param->value = IW_AUTH_ALG_OPEN_SYSTEM; param 986 drivers/net/wireless/intersil/orinoco/wext.c param->value = priv->wpa_enabled; param 1325 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct iw_param *param = &wrqu->param; param 1353 drivers/net/wireless/intersil/prism54/isl_ioctl.c switch (param->flags & IW_AUTH_INDEX) { param 1361 drivers/net/wireless/intersil/prism54/isl_ioctl.c if (param->value) { param 1378 drivers/net/wireless/intersil/prism54/isl_ioctl.c if (param->value & IW_AUTH_WPA_VERSION_DISABLED) { param 1385 drivers/net/wireless/intersil/prism54/isl_ioctl.c if (param->value & IW_AUTH_WPA_VERSION_WPA) param 1387 drivers/net/wireless/intersil/prism54/isl_ioctl.c else if (param->value & IW_AUTH_WPA_VERSION_WPA2) param 1402 drivers/net/wireless/intersil/prism54/isl_ioctl.c dot1x = param->value ? 0 : 0x01; param 1406 drivers/net/wireless/intersil/prism54/isl_ioctl.c privinvoked = param->value ? 1 : 0; param 1410 drivers/net/wireless/intersil/prism54/isl_ioctl.c exunencrypt = param->value ? 1 : 0; param 1414 drivers/net/wireless/intersil/prism54/isl_ioctl.c if (param->value & IW_AUTH_ALG_SHARED_KEY) { param 1421 drivers/net/wireless/intersil/prism54/isl_ioctl.c } else if (param->value & IW_AUTH_ALG_OPEN_SYSTEM) { param 1452 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct iw_param *param = &wrqu->param; param 1465 drivers/net/wireless/intersil/prism54/isl_ioctl.c switch (param->flags & IW_AUTH_INDEX) { param 1478 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = IW_AUTH_WPA_VERSION_WPA; param 1481 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = IW_AUTH_WPA_VERSION_WPA2; param 1485 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = IW_AUTH_WPA_VERSION_DISABLED; param 1493 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = r.u > 0 ? 1 : 0; param 1501 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = IW_AUTH_ALG_OPEN_SYSTEM; param 1505 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = IW_AUTH_ALG_SHARED_KEY; param 1509 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = 0; param 1516 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = wpa > 0 ? 1 : 0; param 1522 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = r.u > 0 ? 1 : 0; param 1528 drivers/net/wireless/intersil/prism54/isl_ioctl.c param->value = r.u > 0 ? 1 : 0; param 2410 drivers/net/wireless/mac80211_hwsim.c struct hwsim_new_radio_params *param) param 2418 drivers/net/wireless/mac80211_hwsim.c if (param->channels) { param 2419 drivers/net/wireless/mac80211_hwsim.c ret = nla_put_u32(skb, HWSIM_ATTR_CHANNELS, param->channels); param 2424 drivers/net/wireless/mac80211_hwsim.c if (param->reg_alpha2) { param 2426 drivers/net/wireless/mac80211_hwsim.c param->reg_alpha2); param 2431 drivers/net/wireless/mac80211_hwsim.c if (param->regd) { param 2435 drivers/net/wireless/mac80211_hwsim.c if (hwsim_world_regdom_custom[i] != param->regd) param 2445 drivers/net/wireless/mac80211_hwsim.c if (param->reg_strict) { param 2451 drivers/net/wireless/mac80211_hwsim.c if (param->p2p_device) { param 2457 drivers/net/wireless/mac80211_hwsim.c if (param->use_chanctx) { param 2463 drivers/net/wireless/mac80211_hwsim.c if (param->hwname) { param 2465 drivers/net/wireless/mac80211_hwsim.c strlen(param->hwname), param->hwname); param 2474 drivers/net/wireless/mac80211_hwsim.c struct hwsim_new_radio_params *param) param 2488 drivers/net/wireless/mac80211_hwsim.c if (append_radio_msg(mcast_skb, id, param) < 0) param 2729 drivers/net/wireless/mac80211_hwsim.c struct hwsim_new_radio_params *param) param 2741 drivers/net/wireless/mac80211_hwsim.c if (WARN_ON(param->channels > 1 && !param->use_chanctx)) param 2748 drivers/net/wireless/mac80211_hwsim.c if (param->use_chanctx) param 2750 drivers/net/wireless/mac80211_hwsim.c hw = ieee80211_alloc_hw_nm(sizeof(*data), ops, param->hwname); param 2758 drivers/net/wireless/mac80211_hwsim.c param->hwname = wiphy_name(hw->wiphy); param 2788 drivers/net/wireless/mac80211_hwsim.c if (!param->perm_addr) { param 2801 drivers/net/wireless/mac80211_hwsim.c memcpy(data->addresses[0].addr, param->perm_addr, ETH_ALEN); param 2803 drivers/net/wireless/mac80211_hwsim.c memcpy(data->addresses[1].addr, param->perm_addr, ETH_ALEN); param 2808 drivers/net/wireless/mac80211_hwsim.c data->channels = param->channels; param 2809 drivers/net/wireless/mac80211_hwsim.c data->use_chanctx = param->use_chanctx; param 2811 drivers/net/wireless/mac80211_hwsim.c data->destroy_on_close = param->destroy_on_close; param 2816 drivers/net/wireless/mac80211_hwsim.c if (param->iftypes & BIT(NL80211_IFTYPE_ADHOC)) { param 2822 drivers/net/wireless/mac80211_hwsim.c if (param->iftypes & HWSIM_DEFAULT_IF_LIMIT) { param 2830 drivers/net/wireless/mac80211_hwsim.c HWSIM_DEFAULT_IF_LIMIT & param->iftypes; param 2834 drivers/net/wireless/mac80211_hwsim.c if (param->iftypes & BIT(NL80211_IFTYPE_P2P_DEVICE)) { param 2880 drivers/net/wireless/mac80211_hwsim.c if (param->ciphers) { param 2881 drivers/net/wireless/mac80211_hwsim.c memcpy(data->ciphers, param->ciphers, param 2882 drivers/net/wireless/mac80211_hwsim.c param->n_ciphers * sizeof(u32)); param 2884 drivers/net/wireless/mac80211_hwsim.c hw->wiphy->n_cipher_suites = param->n_ciphers; param 2919 drivers/net/wireless/mac80211_hwsim.c hw->wiphy->interface_modes = param->iftypes; param 3012 drivers/net/wireless/mac80211_hwsim.c if (param->reg_strict) param 3014 drivers/net/wireless/mac80211_hwsim.c if (param->regd) { param 3015 drivers/net/wireless/mac80211_hwsim.c data->regd = param->regd; param 3017 drivers/net/wireless/mac80211_hwsim.c wiphy_apply_custom_regulatory(hw->wiphy, param->regd); param 3022 drivers/net/wireless/mac80211_hwsim.c if (param->no_vif) param 3040 drivers/net/wireless/mac80211_hwsim.c if (param->reg_alpha2) { param 3041 drivers/net/wireless/mac80211_hwsim.c data->alpha2[0] = param->reg_alpha2[0]; param 3042 drivers/net/wireless/mac80211_hwsim.c data->alpha2[1] = param->reg_alpha2[1]; param 3043 drivers/net/wireless/mac80211_hwsim.c regulatory_hint(hw->wiphy, param->reg_alpha2); param 3072 drivers/net/wireless/mac80211_hwsim.c hwsim_mcast_new_radio(idx, info, param); param 3142 drivers/net/wireless/mac80211_hwsim.c struct hwsim_new_radio_params param = { }; param 3154 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = data->alpha2; param 3156 drivers/net/wireless/mac80211_hwsim.c param.reg_strict = !!(data->hw->wiphy->regulatory_flags & param 3158 drivers/net/wireless/mac80211_hwsim.c param.p2p_device = !!(data->hw->wiphy->interface_modes & param 3160 drivers/net/wireless/mac80211_hwsim.c param.use_chanctx = data->use_chanctx; param 3161 drivers/net/wireless/mac80211_hwsim.c param.regd = data->regd; param 3162 drivers/net/wireless/mac80211_hwsim.c param.channels = data->channels; param 3163 drivers/net/wireless/mac80211_hwsim.c param.hwname = wiphy_name(data->hw->wiphy); param 3165 drivers/net/wireless/mac80211_hwsim.c res = append_radio_msg(skb, data->idx, ¶m); param 3468 drivers/net/wireless/mac80211_hwsim.c struct hwsim_new_radio_params param = { 0 }; param 3472 drivers/net/wireless/mac80211_hwsim.c param.reg_strict = info->attrs[HWSIM_ATTR_REG_STRICT_REG]; param 3473 drivers/net/wireless/mac80211_hwsim.c param.p2p_device = info->attrs[HWSIM_ATTR_SUPPORT_P2P_DEVICE]; param 3474 drivers/net/wireless/mac80211_hwsim.c param.channels = channels; param 3475 drivers/net/wireless/mac80211_hwsim.c param.destroy_on_close = param 3479 drivers/net/wireless/mac80211_hwsim.c param.channels = nla_get_u32(info->attrs[HWSIM_ATTR_CHANNELS]); param 3481 drivers/net/wireless/mac80211_hwsim.c if (param.channels < 1) { param 3486 drivers/net/wireless/mac80211_hwsim.c if (param.channels > CFG80211_MAX_NUM_DIFFERENT_CHANNELS) { param 3492 drivers/net/wireless/mac80211_hwsim.c param.no_vif = true; param 3495 drivers/net/wireless/mac80211_hwsim.c param.use_chanctx = true; param 3497 drivers/net/wireless/mac80211_hwsim.c param.use_chanctx = (param.channels > 1); param 3500 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = param 3511 drivers/net/wireless/mac80211_hwsim.c param.regd = hwsim_world_regdom_custom[idx]; param 3523 drivers/net/wireless/mac80211_hwsim.c param.perm_addr = nla_data(info->attrs[HWSIM_ATTR_PERM_ADDR]); param 3527 drivers/net/wireless/mac80211_hwsim.c param.iftypes = param 3530 drivers/net/wireless/mac80211_hwsim.c if (param.iftypes & ~HWSIM_IFTYPE_SUPPORT_MASK) { param 3537 drivers/net/wireless/mac80211_hwsim.c param.iftypes = HWSIM_IFTYPE_SUPPORT_MASK; param 3541 drivers/net/wireless/mac80211_hwsim.c if (param.p2p_device || param 3542 drivers/net/wireless/mac80211_hwsim.c param.iftypes & BIT(NL80211_IFTYPE_P2P_DEVICE)) { param 3543 drivers/net/wireless/mac80211_hwsim.c param.iftypes |= BIT(NL80211_IFTYPE_P2P_DEVICE); param 3544 drivers/net/wireless/mac80211_hwsim.c param.p2p_device = true; param 3550 drivers/net/wireless/mac80211_hwsim.c param.ciphers = param 3560 drivers/net/wireless/mac80211_hwsim.c param.n_ciphers = len / sizeof(u32); param 3562 drivers/net/wireless/mac80211_hwsim.c if (param.n_ciphers > ARRAY_SIZE(hwsim_ciphers)) { param 3569 drivers/net/wireless/mac80211_hwsim.c if (!hwsim_known_ciphers(param.ciphers, param.n_ciphers)) { param 3583 drivers/net/wireless/mac80211_hwsim.c param.hwname = hwname; param 3586 drivers/net/wireless/mac80211_hwsim.c ret = mac80211_hwsim_new_radio(info, ¶m); param 3937 drivers/net/wireless/mac80211_hwsim.c struct hwsim_new_radio_params param = { 0 }; param 3939 drivers/net/wireless/mac80211_hwsim.c param.channels = channels; param 3944 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[i]; param 3948 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[0]; param 3951 drivers/net/wireless/mac80211_hwsim.c param.reg_strict = true; param 3954 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[0]; param 3958 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_01; param 3961 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_01; param 3965 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_01; param 3967 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_02; param 3971 drivers/net/wireless/mac80211_hwsim.c param.reg_strict = true; param 3972 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[0]; param 3977 drivers/net/wireless/mac80211_hwsim.c param.reg_strict = true; param 3978 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[0]; param 3980 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[1]; param 3986 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_01; param 3989 drivers/net/wireless/mac80211_hwsim.c param.regd = &hwsim_world_regdom_custom_02; param 3992 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[0]; param 3995 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[1]; param 3998 drivers/net/wireless/mac80211_hwsim.c param.reg_strict = true; param 3999 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = hwsim_alpha2s[2]; param 4007 drivers/net/wireless/mac80211_hwsim.c param.p2p_device = support_p2p_device; param 4008 drivers/net/wireless/mac80211_hwsim.c param.use_chanctx = channels > 1; param 4009 drivers/net/wireless/mac80211_hwsim.c param.iftypes = HWSIM_IFTYPE_SUPPORT_MASK; param 4010 drivers/net/wireless/mac80211_hwsim.c if (param.p2p_device) param 4011 drivers/net/wireless/mac80211_hwsim.c param.iftypes |= BIT(NL80211_IFTYPE_P2P_DEVICE); param 4013 drivers/net/wireless/mac80211_hwsim.c err = mac80211_hwsim_new_radio(NULL, ¶m); param 220 drivers/net/wireless/marvell/libertas/cfg.c struct chanscanparamset *param = (void *) tlv; param 222 drivers/net/wireless/marvell/libertas/cfg.c param->radiotype = CMD_SCAN_RADIO_TYPE_BG; param 223 drivers/net/wireless/marvell/libertas/cfg.c param->channumber = param 226 drivers/net/wireless/marvell/libertas/cfg.c param->maxscantime = cpu_to_le16(LBS_DWELL_ACTIVE); param 228 drivers/net/wireless/marvell/libertas/cfg.c param->chanscanmode.passivescan = 1; param 229 drivers/net/wireless/marvell/libertas/cfg.c param->maxscantime = cpu_to_le16(LBS_DWELL_PASSIVE); param 971 drivers/net/wireless/marvell/libertas/cfg.c struct MrvlIEtype_keyParamSet param; param 999 drivers/net/wireless/marvell/libertas/cfg.c cmd.param.type = cpu_to_le16(TLV_TYPE_KEY_MATERIAL); param 1000 drivers/net/wireless/marvell/libertas/cfg.c cmd.param.length = cpu_to_le16(sizeof(cmd.param) - 4); param 1001 drivers/net/wireless/marvell/libertas/cfg.c cmd.param.keytypeid = cpu_to_le16(key_type); param 1002 drivers/net/wireless/marvell/libertas/cfg.c cmd.param.keyinfo = cpu_to_le16(key_info); param 1003 drivers/net/wireless/marvell/libertas/cfg.c cmd.param.keylen = cpu_to_le16(key_len); param 1005 drivers/net/wireless/marvell/libertas/cfg.c memcpy(cmd.param.key, key, key_len); param 3634 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct filt_field_param *param; param 3639 drivers/net/wireless/marvell/mwifiex/cfg80211.c param = mrule->params; param 3666 drivers/net/wireless/marvell/mwifiex/cfg80211.c param->operation = RECV_FILTER_MATCH_TYPE_EQ; param 3668 drivers/net/wireless/marvell/mwifiex/cfg80211.c param->operation = RECV_FILTER_MATCH_TYPE_NE; param 3670 drivers/net/wireless/marvell/mwifiex/cfg80211.c param->operand_len = byte_seq[MWIFIEX_COALESCE_MAX_BYTESEQ]; param 3671 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy(param->operand_byte_stream, byte_seq, param 3672 drivers/net/wireless/marvell/mwifiex/cfg80211.c param->operand_len); param 3673 drivers/net/wireless/marvell/mwifiex/cfg80211.c param->offset = crule->patterns[i].pkt_offset; param 3674 drivers/net/wireless/marvell/mwifiex/cfg80211.c param++; param 1334 drivers/net/wireless/marvell/mwifiex/cmdevt.c struct mwifiex_ps_param *ps_mode = &ps_tlv->param; param 1442 drivers/net/wireless/marvell/mwifiex/cmdevt.c pm_cfg->param.ps_mode = 1; param 1444 drivers/net/wireless/marvell/mwifiex/cmdevt.c pm_cfg->param.ps_mode = 0; param 1040 drivers/net/wireless/marvell/mwifiex/fw.h struct mwifiex_ps_param param; param 306 drivers/net/wireless/marvell/mwifiex/ioctl.h } param; param 965 drivers/net/wireless/marvell/mwifiex/sta_cmd.c struct mwifiex_cmac_param *param = param 968 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(param->ipn, enc_key->pn, IGTK_PN_LEN); param 969 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(param->key, enc_key->key_material, param 1639 drivers/net/wireless/marvell/mwifiex/sta_cmd.c struct coalesce_filt_field_param *param; param 1659 drivers/net/wireless/marvell/mwifiex/sta_cmd.c param = rule->params; param 1661 drivers/net/wireless/marvell/mwifiex/sta_cmd.c param->operation = cfg->rule[cnt].params[idx].operation; param 1662 drivers/net/wireless/marvell/mwifiex/sta_cmd.c param->operand_len = param 1664 drivers/net/wireless/marvell/mwifiex/sta_cmd.c param->offset = param 1666 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(param->operand_byte_stream, param 1668 drivers/net/wireless/marvell/mwifiex/sta_cmd.c param->operand_len); param 1672 drivers/net/wireless/marvell/mwifiex/sta_cmd.c param++; param 108 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c int mt76x02_mcu_calibrate(struct mt76x02_dev *dev, int type, u32 param) param 115 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c .value = cpu_to_le32(param), param 95 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h int mt76x02_mcu_calibrate(struct mt76x02_dev *dev, int type, u32 param); param 44 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c #define QTNF_BD_PARAM_OFFSET(n) offsetof(struct qtnf_extra_bd_params, param##n) param 5545 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c const struct ieee80211_tx_queue_params *param) param 5552 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c aifs = param->aifs; param 5555 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c fls(param->cw_min) << EDCA_PARAM_ECW_MIN_SHIFT | param 5556 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c fls(param->cw_max) << EDCA_PARAM_ECW_MAX_SHIFT | param 5557 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c (u32)param->txop << EDCA_PARAM_TXOP_SHIFT; param 5562 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c __func__, queue, val32, param->acm, acm_ctrl); param 5586 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if (param->acm) param 1718 drivers/net/wireless/realtek/rtlwifi/base.c struct ieee80211_tx_queue_params *param) param 1741 drivers/net/wireless/realtek/rtlwifi/base.c reg |= (param->txop & 0x7FF) << 16; param 1742 drivers/net/wireless/realtek/rtlwifi/base.c reg |= (fls(param->cw_max) & 0xF) << 12; param 1743 drivers/net/wireless/realtek/rtlwifi/base.c reg |= (fls(param->cw_min) & 0xF) << 8; param 1744 drivers/net/wireless/realtek/rtlwifi/base.c reg |= (param->aifs & 0x0F) * slottime + sifstime; param 95 drivers/net/wireless/realtek/rtlwifi/base.h struct ieee80211_tx_queue_params *param); param 984 drivers/net/wireless/realtek/rtlwifi/core.c const struct ieee80211_tx_queue_params *param) param 997 drivers/net/wireless/realtek/rtlwifi/core.c mac->ac[aci].aifs = param->aifs; param 998 drivers/net/wireless/realtek/rtlwifi/core.c mac->ac[aci].cw_min = cpu_to_le16(param->cw_min); param 999 drivers/net/wireless/realtek/rtlwifi/core.c mac->ac[aci].cw_max = cpu_to_le16(param->cw_max); param 1000 drivers/net/wireless/realtek/rtlwifi/core.c mac->ac[aci].tx_op = cpu_to_le16(param->txop); param 1001 drivers/net/wireless/realtek/rtlwifi/core.c memcpy(&mac->edca_param[aci], param, sizeof(*param)); param 292 drivers/net/wireless/realtek/rtlwifi/usb.c static void _rtl_rx_work(unsigned long param); param 531 drivers/net/wireless/realtek/rtlwifi/usb.c static void _rtl_rx_work(unsigned long param) param 533 drivers/net/wireless/realtek/rtlwifi/usb.c struct rtl_usb *rtlusb = (struct rtl_usb *)param; param 864 drivers/net/wireless/rndis_wlan.c static int rndis_set_config_parameter(struct usbnet *dev, char *param, param 879 drivers/net/wireless/rndis_wlan.c param_len = strlen(param) * sizeof(__le16); param 897 drivers/net/wireless/rndis_wlan.c param, (u8 *)value); param 900 drivers/net/wireless/rndis_wlan.c param, *(u32 *)value); param 911 drivers/net/wireless/rndis_wlan.c unibuf[i] = cpu_to_le16(param[i]); param 944 drivers/net/wireless/rndis_wlan.c char *param, char *value) param 946 drivers/net/wireless/rndis_wlan.c return rndis_set_config_parameter(dev, param, 2, value); param 569 drivers/net/wireless/ti/wl1251/acx.c struct acx_bt_wlan_coex_param *param; param 574 drivers/net/wireless/ti/wl1251/acx.c param = kzalloc(sizeof(*param), GFP_KERNEL); param 575 drivers/net/wireless/ti/wl1251/acx.c if (!param) param 579 drivers/net/wireless/ti/wl1251/acx.c param->min_rate = RATE_INDEX_24MBPS; param 580 drivers/net/wireless/ti/wl1251/acx.c param->bt_hp_max_time = PTA_BT_HP_MAXTIME_DEF; param 581 drivers/net/wireless/ti/wl1251/acx.c param->wlan_hp_max_time = PTA_WLAN_HP_MAX_TIME_DEF; param 582 drivers/net/wireless/ti/wl1251/acx.c param->sense_disable_timer = PTA_SENSE_DISABLE_TIMER_DEF; param 583 drivers/net/wireless/ti/wl1251/acx.c param->rx_time_bt_hp = PTA_PROTECTIVE_RX_TIME_DEF; param 584 drivers/net/wireless/ti/wl1251/acx.c param->tx_time_bt_hp = PTA_PROTECTIVE_TX_TIME_DEF; param 585 drivers/net/wireless/ti/wl1251/acx.c param->rx_time_bt_hp_fast = PTA_PROTECTIVE_RX_TIME_FAST_DEF; param 586 drivers/net/wireless/ti/wl1251/acx.c param->tx_time_bt_hp_fast = PTA_PROTECTIVE_TX_TIME_FAST_DEF; param 587 drivers/net/wireless/ti/wl1251/acx.c param->wlan_cycle_fast = PTA_CYCLE_TIME_FAST_DEF; param 588 drivers/net/wireless/ti/wl1251/acx.c param->bt_anti_starvation_period = PTA_ANTI_STARVE_PERIOD_DEF; param 589 drivers/net/wireless/ti/wl1251/acx.c param->next_bt_lp_packet = PTA_TIMEOUT_NEXT_BT_LP_PACKET_DEF; param 590 drivers/net/wireless/ti/wl1251/acx.c param->wake_up_beacon = PTA_TIME_BEFORE_BEACON_DEF; param 591 drivers/net/wireless/ti/wl1251/acx.c param->hp_dm_max_guard_time = PTA_HPDM_MAX_TIME_DEF; param 592 drivers/net/wireless/ti/wl1251/acx.c param->next_wlan_packet = PTA_TIME_OUT_NEXT_WLAN_DEF; param 593 drivers/net/wireless/ti/wl1251/acx.c param->antenna_type = PTA_ANTENNA_TYPE_DEF; param 594 drivers/net/wireless/ti/wl1251/acx.c param->signal_type = PTA_SIGNALING_TYPE_DEF; param 595 drivers/net/wireless/ti/wl1251/acx.c param->afh_leverage_on = PTA_AFH_LEVERAGE_ON_DEF; param 596 drivers/net/wireless/ti/wl1251/acx.c param->quiet_cycle_num = PTA_NUMBER_QUIET_CYCLE_DEF; param 597 drivers/net/wireless/ti/wl1251/acx.c param->max_cts = PTA_MAX_NUM_CTS_DEF; param 598 drivers/net/wireless/ti/wl1251/acx.c param->wlan_packets_num = PTA_NUMBER_OF_WLAN_PACKETS_DEF; param 599 drivers/net/wireless/ti/wl1251/acx.c param->bt_packets_num = PTA_NUMBER_OF_BT_PACKETS_DEF; param 600 drivers/net/wireless/ti/wl1251/acx.c param->missed_rx_avalanche = PTA_RX_FOR_AVALANCHE_DEF; param 601 drivers/net/wireless/ti/wl1251/acx.c param->wlan_elp_hp = PTA_ELP_HP_DEF; param 602 drivers/net/wireless/ti/wl1251/acx.c param->bt_anti_starvation_cycles = PTA_ANTI_STARVE_NUM_CYCLE_DEF; param 603 drivers/net/wireless/ti/wl1251/acx.c param->ack_mode_dual_ant = PTA_ACK_MODE_DEF; param 604 drivers/net/wireless/ti/wl1251/acx.c param->pa_sd_enable = PTA_ALLOW_PA_SD_DEF; param 605 drivers/net/wireless/ti/wl1251/acx.c param->pta_auto_mode_enable = PTA_AUTO_MODE_NO_CTS_DEF; param 606 drivers/net/wireless/ti/wl1251/acx.c param->bt_hp_respected_num = PTA_BT_HP_RESPECTED_DEF; param 608 drivers/net/wireless/ti/wl1251/acx.c ret = wl1251_cmd_configure(wl, ACX_SG_CFG, param, sizeof(*param)); param 615 drivers/net/wireless/ti/wl1251/acx.c kfree(param); param 509 drivers/net/wireless/ti/wlcore/acx.c struct acx_bt_wlan_coex_param *param; param 515 drivers/net/wireless/ti/wlcore/acx.c param = kzalloc(sizeof(*param), GFP_KERNEL); param 516 drivers/net/wireless/ti/wlcore/acx.c if (!param) { param 523 drivers/net/wireless/ti/wlcore/acx.c param->params[i] = cpu_to_le32(c->params[i]); param 524 drivers/net/wireless/ti/wlcore/acx.c param->param_idx = WLCORE_CONF_SG_PARAMS_ALL; param 526 drivers/net/wireless/ti/wlcore/acx.c ret = wl1271_cmd_configure(wl, ACX_SG_CFG, param, sizeof(*param)); param 533 drivers/net/wireless/ti/wlcore/acx.c kfree(param); param 128 drivers/net/wireless/ti/wlcore/debugfs.c unsigned long param) param 132 drivers/net/wireless/ti/wlcore/debugfs.c #define WL12XX_CONF_DEBUGFS(param, conf_sub_struct, \ param 135 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t param##_read(struct file *file, \ param 142 drivers/net/wireless/ti/wlcore/debugfs.c wl->conf.conf_sub_struct.param); \ param 145 drivers/net/wireless/ti/wlcore/debugfs.c static ssize_t param##_write(struct file *file, \ param 155 drivers/net/wireless/ti/wlcore/debugfs.c wl1271_warning("illegal value for " #param); \ param 160 drivers/net/wireless/ti/wlcore/debugfs.c wl1271_warning(#param " is not in valid range"); \ param 165 drivers/net/wireless/ti/wlcore/debugfs.c wl->conf.conf_sub_struct.param = value; \ param 173 drivers/net/wireless/ti/wlcore/debugfs.c static const struct file_operations param##_ops = { \ param 174 drivers/net/wireless/ti/wlcore/debugfs.c .read = param##_read, \ param 175 drivers/net/wireless/ti/wlcore/debugfs.c .write = param##_write, \ param 1145 drivers/net/wireless/zydas/zd1211rw/zd_usb.c static void zd_usb_reset_rx_idle_timer_tasklet(unsigned long param) param 1147 drivers/net/wireless/zydas/zd1211rw/zd_usb.c struct zd_usb *usb = (struct zd_usb *)param; param 85 drivers/nfc/fdp/fdp.c struct core_conn_create_dest_spec_params param; param 89 drivers/nfc/fdp/fdp.c param.type = FDP_PATCH_CONN_PARAM_TYPE; param 90 drivers/nfc/fdp/fdp.c param.length = 0x00; param 93 drivers/nfc/fdp/fdp.c sizeof(param), ¶m); param 182 drivers/nfc/microread/microread.c u8 param[4]; param 184 drivers/nfc/microread/microread.c param[0] = 0x03; param 186 drivers/nfc/microread/microread.c MICROREAD_CMD_MREAD_SUBSCRIBE, param, 1, NULL); param 195 drivers/nfc/microread/microread.c param[0] = 0x00; param 196 drivers/nfc/microread/microread.c param[1] = 0x03; param 197 drivers/nfc/microread/microread.c param[2] = 0x00; param 199 drivers/nfc/microread/microread.c MICROREAD_CMD_MREAD_SUBSCRIBE, param, 3, NULL); param 208 drivers/nfc/microread/microread.c param[0] = 0xFF; param 209 drivers/nfc/microread/microread.c param[1] = 0xFF; param 210 drivers/nfc/microread/microread.c param[2] = 0x00; param 211 drivers/nfc/microread/microread.c param[3] = 0x00; param 213 drivers/nfc/microread/microread.c MICROREAD_CMD_MREAD_SUBSCRIBE, param, 4, NULL); param 230 drivers/nfc/microread/microread.c u8 param[2]; param 233 drivers/nfc/microread/microread.c param[0] = 0x00; param 234 drivers/nfc/microread/microread.c param[1] = 0x00; param 237 drivers/nfc/microread/microread.c param[0] |= (1 << 2); param 240 drivers/nfc/microread/microread.c param[0] |= 1; param 243 drivers/nfc/microread/microread.c param[1] |= 1; param 246 drivers/nfc/microread/microread.c param[0] |= (1 << 1); param 249 drivers/nfc/microread/microread.c param[0] |= (1 << 5); param 252 drivers/nfc/microread/microread.c param[1] |= (1 << 1); param 298 drivers/nfc/microread/microread.c param, 2); param 169 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.id = NFCMRVL_PROP_REF_CLOCK; param 170 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.len = 4; param 171 drivers/nfc/nfcmrvl/fw_dnld.c memcpy(cmd.param.val, &priv->fw_dnld.header->ref_clock, 4); param 173 drivers/nfc/nfcmrvl/fw_dnld.c nci_send_cmd(priv->ndev, NCI_OP_CORE_SET_CONFIG_CMD, 3 + cmd.param.len, param 182 drivers/nfc/nfcmrvl/fw_dnld.c uint8_t param[2] = { NCI_CORE_LC_PROP_FW_DL, 0x0 }; param 185 drivers/nfc/nfcmrvl/fw_dnld.c nci_send_cmd(priv->ndev, NCI_OP_CORE_CONN_CREATE_CMD, 2, param); param 198 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.id = NFCMRVL_PROP_SET_HI_CONFIG; param 202 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.len = 5; param 203 drivers/nfc/nfcmrvl/fw_dnld.c memcpy(cmd.param.val, param 206 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.val[4] = param 210 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.len = 5; param 211 drivers/nfc/nfcmrvl/fw_dnld.c memcpy(cmd.param.val, param 214 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.val[4] = 0; param 217 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.len = 5; param 218 drivers/nfc/nfcmrvl/fw_dnld.c memcpy(cmd.param.val, param 221 drivers/nfc/nfcmrvl/fw_dnld.c cmd.param.val[4] = 0; param 229 drivers/nfc/nfcmrvl/fw_dnld.c nci_send_cmd(priv->ndev, NCI_OP_CORE_SET_CONFIG_CMD, 3 + cmd.param.len, param 161 drivers/nfc/nfcmrvl/i2c.c const void *param) param 99 drivers/nfc/nfcmrvl/nfcmrvl.h const void *param); param 105 drivers/nfc/nfcmrvl/spi.c const void *param) param 108 drivers/nfc/nfcmrvl/spi.c const struct nfcmrvl_fw_spi_config *config = param; param 54 drivers/nfc/nfcmrvl/uart.c const void *param) param 57 drivers/nfc/nfcmrvl/uart.c const struct nfcmrvl_fw_uart_config *config = param; param 258 drivers/nfc/nfcsim.c int type, int param) param 266 drivers/nfc/nfcsim.c dev->rf_tech = param; param 288 drivers/nfc/nfcsim.c int type, int param) param 296 drivers/nfc/nfcsim.c dev->rf_tech = param; param 243 drivers/nfc/pn544/pn544.c u8 param[4]; param 246 drivers/nfc/pn544/pn544.c param[0] = 0; param 248 drivers/nfc/pn544/pn544.c param[1] = p->adr[0]; param 249 drivers/nfc/pn544/pn544.c param[2] = p->adr[1]; param 250 drivers/nfc/pn544/pn544.c param[3] = p->value; param 253 drivers/nfc/pn544/pn544.c param, 4, &res_skb); param 272 drivers/nfc/pn544/pn544.c param[0] = NFC_HCI_UICC_HOST_ID; param 274 drivers/nfc/pn544/pn544.c NFC_HCI_ADMIN_WHITELIST, param, 1); param 278 drivers/nfc/pn544/pn544.c param[0] = 0x3d; param 280 drivers/nfc/pn544/pn544.c PN544_SYS_MGMT_INFO_NOTIFICATION, param, 1); param 284 drivers/nfc/pn544/pn544.c param[0] = 0x0; param 286 drivers/nfc/pn544/pn544.c PN544_RF_READER_A_AUTO_ACTIVATION, param, 1); param 295 drivers/nfc/pn544/pn544.c param[0] = 0x1; param 297 drivers/nfc/pn544/pn544.c PN544_PL_NFCT_DEACTIVATED, param, 1); param 301 drivers/nfc/pn544/pn544.c param[0] = 0x0; param 303 drivers/nfc/pn544/pn544.c PN544_PL_RDPHASES, param, 1); param 1098 drivers/nfc/port100.c static int port100_in_set_framing(struct nfc_digital_dev *ddev, int param) param 1108 drivers/nfc/port100.c if (param >= NFC_DIGITAL_FRAMING_LAST) param 1111 drivers/nfc/port100.c protocols = in_protocols[param]; param 1141 drivers/nfc/port100.c int param) param 1144 drivers/nfc/port100.c return port100_in_set_rf(ddev, param); param 1147 drivers/nfc/port100.c return port100_in_set_framing(ddev, param); param 1255 drivers/nfc/port100.c static int port100_tg_set_framing(struct nfc_digital_dev *ddev, int param) param 1265 drivers/nfc/port100.c if (param >= NFC_DIGITAL_FRAMING_LAST) param 1268 drivers/nfc/port100.c protocols = tg_protocols[param]; param 1298 drivers/nfc/port100.c int param) param 1301 drivers/nfc/port100.c return port100_tg_set_rf(ddev, param); param 1304 drivers/nfc/port100.c return port100_tg_set_framing(ddev, param); param 683 drivers/nfc/st-nci/se.c u8 param = 0x01; param 697 drivers/nfc/st-nci/se.c ST_NCI_EVT_SE_HARD_RESET, ¶m, 1); param 212 drivers/nfc/st-nci/vendor_cmds.c struct get_param_data *param = (struct get_param_data *)data; param 217 drivers/nfc/st-nci/vendor_cmds.c r = nci_hci_get_param(ndev, param->gate, param->data, &skb); param 249 drivers/nfc/st21nfca/core.c u8 param; param 273 drivers/nfc/st21nfca/core.c param = skb->data[0]; param 275 drivers/nfc/st21nfca/core.c if (param == 0) { param 276 drivers/nfc/st21nfca/core.c param = 1; param 279 drivers/nfc/st21nfca/core.c ST21NFCA_NFC_MODE, ¶m, 1); param 320 drivers/nfc/st21nfca/core.c u8 param[19]; param 363 drivers/nfc/st21nfca/core.c param[0] = ST21NFCA_RF_READER_F_DATARATE_106 | param 368 drivers/nfc/st21nfca/core.c param, 1); param 413 drivers/nfc/st21nfca/core.c param[0] = ST21NFCA_RF_CARD_F_DATARATE_212_424; param 416 drivers/nfc/st21nfca/core.c param, 1); param 430 drivers/nfc/st21nfca/core.c param[0] = 0x00; param 431 drivers/nfc/st21nfca/core.c param[1] = 0x08; param 433 drivers/nfc/st21nfca/core.c ST21NFCA_RF_CARD_F_SENS_RES, param, 2); param 444 drivers/nfc/st21nfca/core.c param[0] = 0x40; param 446 drivers/nfc/st21nfca/core.c ST21NFCA_RF_CARD_F_SEL_RES, param, 1); param 458 drivers/nfc/st21nfca/core.c param[0] = 0x00; param 459 drivers/nfc/st21nfca/core.c param[1] = 0x00; param 461 drivers/nfc/st21nfca/core.c param[2] = 0x01; param 462 drivers/nfc/st21nfca/core.c param[3] = 0xfe; param 463 drivers/nfc/st21nfca/core.c param[4] = 'S'; param 464 drivers/nfc/st21nfca/core.c param[5] = 'T'; param 465 drivers/nfc/st21nfca/core.c param[6] = 'M'; param 466 drivers/nfc/st21nfca/core.c param[7] = 'i'; param 467 drivers/nfc/st21nfca/core.c param[8] = 'c'; param 468 drivers/nfc/st21nfca/core.c param[9] = 'r'; param 481 drivers/nfc/st21nfca/core.c param[18] = 0x01; param 483 drivers/nfc/st21nfca/core.c ST21NFCA_RF_CARD_F_NFCID2_LIST, param, param 488 drivers/nfc/st21nfca/core.c param[0] = 0x02; param 490 drivers/nfc/st21nfca/core.c ST21NFCA_RF_CARD_F_MODE, param, 1); param 256 drivers/nfc/st21nfca/se.c u8 param = 0x01; param 271 drivers/nfc/st21nfca/se.c ST21NFCA_EVT_SE_HARD_RESET, ¶m, 1); param 189 drivers/nfc/st21nfca/vendor_cmds.c struct get_param_data *param = (struct get_param_data *)data; param 194 drivers/nfc/st21nfca/vendor_cmds.c r = nfc_hci_get_param(hdev, param->gate, param->data, &skb); param 873 drivers/nfc/st95hf/core.c int param) param 878 drivers/nfc/st95hf/core.c return st95hf_select_protocol(stcontext, param); param 881 drivers/nfc/st95hf/core.c switch (param) { param 996 drivers/nfc/st95hf/core.c int param) param 1339 drivers/nfc/trf7970a.c int param) param 1344 drivers/nfc/trf7970a.c dev_dbg(trf->dev, "Configure hw - type: %d, param: %d\n", type, param); param 1359 drivers/nfc/trf7970a.c ret = trf7970a_in_config_rf_tech(trf, param); param 1362 drivers/nfc/trf7970a.c ret = trf7970a_in_config_framing(trf, param); param 1682 drivers/nfc/trf7970a.c int param) param 1687 drivers/nfc/trf7970a.c dev_dbg(trf->dev, "Configure hw - type: %d, param: %d\n", type, param); param 1702 drivers/nfc/trf7970a.c ret = trf7970a_tg_config_rf_tech(trf, param); param 1705 drivers/nfc/trf7970a.c ret = trf7970a_tg_config_framing(trf, param); param 1588 drivers/nvme/host/rdma.c struct rdma_conn_param param = { }; param 1592 drivers/nvme/host/rdma.c param.qp_num = queue->qp->qp_num; param 1593 drivers/nvme/host/rdma.c param.flow_control = 1; param 1595 drivers/nvme/host/rdma.c param.responder_resources = queue->device->dev->attrs.max_qp_rd_atom; param 1597 drivers/nvme/host/rdma.c param.retry_count = 7; param 1598 drivers/nvme/host/rdma.c param.rnr_retry_count = 7; param 1599 drivers/nvme/host/rdma.c param.private_data = &priv; param 1600 drivers/nvme/host/rdma.c param.private_data_len = sizeof(priv); param 1621 drivers/nvme/host/rdma.c ret = rdma_connect(queue->cm_id, ¶m); param 1156 drivers/nvme/target/rdma.c ret = nvmet_rdma_parse_cm_connect_req(&event->param.conn, queue); param 1247 drivers/nvme/target/rdma.c struct rdma_conn_param param = { }; param 1251 drivers/nvme/target/rdma.c param.rnr_retry_count = 7; param 1252 drivers/nvme/target/rdma.c param.flow_control = 1; param 1253 drivers/nvme/target/rdma.c param.initiator_depth = min_t(u8, p->initiator_depth, param 1255 drivers/nvme/target/rdma.c param.private_data = &priv; param 1256 drivers/nvme/target/rdma.c param.private_data_len = sizeof(priv); param 1260 drivers/nvme/target/rdma.c ret = rdma_accept(cm_id, ¶m); param 1292 drivers/nvme/target/rdma.c ret = nvmet_rdma_cm_accept(cm_id, queue, &event->param.conn); param 114 drivers/parisc/power.c static int kpowerswd(void *param) param 120 drivers/parisc/power.c unsigned long soft_power_reg = (unsigned long) param; param 6308 drivers/pci/pci.c char *param = kstrndup(buf, count, GFP_KERNEL); param 6310 drivers/pci/pci.c if (!param) param 6315 drivers/pci/pci.c resource_alignment_param = param; param 919 drivers/pcmcia/cistpl.c pwr->param[i] = POWER_CVT(*p); param 925 drivers/pcmcia/cistpl.c pwr->param[i] += param 930 drivers/pcmcia/cistpl.c pwr->param[i] = 0; param 173 drivers/pcmcia/pcmcia_cis.c if (vcc != cfg->vcc.param[CISTPL_POWER_VNOM] / 10000) param 176 drivers/pcmcia/pcmcia_cis.c if (vcc != dflt->vcc.param[CISTPL_POWER_VNOM] / 10000) param 184 drivers/pcmcia/pcmcia_cis.c p_dev->vpp = cfg->vpp1.param[CISTPL_POWER_VNOM] / 10000; param 187 drivers/pcmcia/pcmcia_cis.c dflt->vpp1.param[CISTPL_POWER_VNOM] / 10000; param 67 drivers/phy/socionext/phy-uniphier-pcie.c u32 reg, u32 mask, u32 param) param 79 drivers/phy/socionext/phy-uniphier-pcie.c val = FIELD_PREP(TESTI_DAT_MASK, mask & param); param 77 drivers/phy/socionext/phy-uniphier-usb3hs.c const struct uniphier_u3hsphy_param param[MAX_PHY_PARAMS]; param 277 drivers/phy/socionext/phy-uniphier-usb3hs.c uniphier_u3hsphy_set_param(priv, &priv->data->param[i]); param 373 drivers/phy/socionext/phy-uniphier-usb3hs.c .param = { param 64 drivers/phy/socionext/phy-uniphier-usb3ss.c const struct uniphier_u3ssphy_param param[MAX_PHY_PARAMS]; param 179 drivers/phy/socionext/phy-uniphier-usb3ss.c uniphier_u3ssphy_set_param(priv, &priv->data->param[i]); param 291 drivers/phy/socionext/phy-uniphier-usb3ss.c .param = { param 305 drivers/phy/socionext/phy-uniphier-usb3ss.c .param = { param 39 drivers/phy/st/phy-stih407-usb.c int param; param 59 drivers/phy/st/phy-stih407-usb.c phy_dev->param, param 126 drivers/phy/st/phy-stih407-usb.c &phy_dev->param); param 219 drivers/pinctrl/actions/pinctrl-owl.c unsigned int param, param 224 drivers/pinctrl/actions/pinctrl-owl.c switch (param) { param 256 drivers/pinctrl/actions/pinctrl-owl.c unsigned int param = pinconf_to_config_param(*config); param 261 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_pad_pinconf_reg(info, param, ®, &bit, &width); param 270 drivers/pinctrl/actions/pinctrl-owl.c ret = pctrl->soc->padctl_val2arg(info, param, &arg); param 274 drivers/pinctrl/actions/pinctrl-owl.c *config = pinconf_to_config_packed(param, arg); param 287 drivers/pinctrl/actions/pinctrl-owl.c unsigned int param; param 294 drivers/pinctrl/actions/pinctrl-owl.c param = pinconf_to_config_param(configs[i]); param 297 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_pad_pinconf_reg(info, param, ®, &bit, &width); param 304 drivers/pinctrl/actions/pinctrl-owl.c ret = pctrl->soc->padctl_arg2val(info, param, &arg); param 319 drivers/pinctrl/actions/pinctrl-owl.c unsigned int param, param 324 drivers/pinctrl/actions/pinctrl-owl.c switch (param) { param 347 drivers/pinctrl/actions/pinctrl-owl.c unsigned int param, param 350 drivers/pinctrl/actions/pinctrl-owl.c switch (param) { param 383 drivers/pinctrl/actions/pinctrl-owl.c unsigned int param, param 386 drivers/pinctrl/actions/pinctrl-owl.c switch (param) { param 424 drivers/pinctrl/actions/pinctrl-owl.c unsigned int param = pinconf_to_config_param(*config); param 430 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_group_pinconf_reg(g, param, ®, &bit, &width); param 436 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_group_pinconf_val2arg(g, param, &arg); param 440 drivers/pinctrl/actions/pinctrl-owl.c *config = pinconf_to_config_packed(param, arg); param 454 drivers/pinctrl/actions/pinctrl-owl.c unsigned int param; param 461 drivers/pinctrl/actions/pinctrl-owl.c param = pinconf_to_config_param(configs[i]); param 464 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_group_pinconf_reg(g, param, ®, &bit, &width); param 468 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_group_pinconf_arg2val(g, param, &arg); param 302 drivers/pinctrl/actions/pinctrl-owl.h unsigned int param, param 305 drivers/pinctrl/actions/pinctrl-owl.h unsigned int param, param 1824 drivers/pinctrl/actions/pinctrl-s700.c unsigned int param, param 1827 drivers/pinctrl/actions/pinctrl-s700.c switch (param) { param 1845 drivers/pinctrl/actions/pinctrl-s700.c unsigned int param, param 1848 drivers/pinctrl/actions/pinctrl-s700.c switch (param) { param 1729 drivers/pinctrl/actions/pinctrl-s900.c unsigned int param, param 1732 drivers/pinctrl/actions/pinctrl-s900.c switch (param) { param 1756 drivers/pinctrl/actions/pinctrl-s900.c unsigned int param, param 1759 drivers/pinctrl/actions/pinctrl-s900.c switch (param) { param 401 drivers/pinctrl/aspeed/pinctrl-aspeed.c enum pin_config_param param) param 406 drivers/pinctrl/aspeed/pinctrl-aspeed.c if (param == pdata->configs[i].param && param 425 drivers/pinctrl/aspeed/pinctrl-aspeed.c enum pin_config_param param; param 446 drivers/pinctrl/aspeed/pinctrl-aspeed.c enum pin_config_param param, param 467 drivers/pinctrl/aspeed/pinctrl-aspeed.c if (param == elem->param && match) param 477 drivers/pinctrl/aspeed/pinctrl-aspeed.c const enum pin_config_param param = pinconf_to_config_param(*config); param 486 drivers/pinctrl/aspeed/pinctrl-aspeed.c pconf = find_pinconf_config(pdata, offset, param); param 494 drivers/pinctrl/aspeed/pinctrl-aspeed.c pmap = find_pinconf_map(param, MAP_TYPE_VAL, param 500 drivers/pinctrl/aspeed/pinctrl-aspeed.c if (param == PIN_CONFIG_DRIVE_STRENGTH) param 502 drivers/pinctrl/aspeed/pinctrl-aspeed.c else if (param == PIN_CONFIG_BIAS_PULL_DOWN) param 510 drivers/pinctrl/aspeed/pinctrl-aspeed.c *config = pinconf_to_config_packed(param, arg); param 527 drivers/pinctrl/aspeed/pinctrl-aspeed.c enum pin_config_param param; param 531 drivers/pinctrl/aspeed/pinctrl-aspeed.c param = pinconf_to_config_param(configs[i]); param 534 drivers/pinctrl/aspeed/pinctrl-aspeed.c pconf = find_pinconf_config(pdata, offset, param); param 538 drivers/pinctrl/aspeed/pinctrl-aspeed.c pmap = find_pinconf_map(param, MAP_TYPE_ARG, arg); param 553 drivers/pinctrl/aspeed/pinctrl-aspeed.c param, arg, offset); param 24 drivers/pinctrl/aspeed/pinctrl-aspeed.h enum pin_config_param param; param 961 drivers/pinctrl/bcm/pinctrl-bcm281xx.c #define BCM281XX_PIN_SHIFT(type, param) \ param 962 drivers/pinctrl/bcm/pinctrl-bcm281xx.c (BCM281XX_ ## type ## _PIN_REG_ ## param ## _SHIFT) param 964 drivers/pinctrl/bcm/pinctrl-bcm281xx.c #define BCM281XX_PIN_MASK(type, param) \ param 965 drivers/pinctrl/bcm/pinctrl-bcm281xx.c (BCM281XX_ ## type ## _PIN_REG_ ## param ## _MASK) param 1109 drivers/pinctrl/bcm/pinctrl-bcm281xx.c enum pin_config_param param; param 1113 drivers/pinctrl/bcm/pinctrl-bcm281xx.c param = pinconf_to_config_param(configs[i]); param 1116 drivers/pinctrl/bcm/pinctrl-bcm281xx.c switch (param) { param 1189 drivers/pinctrl/bcm/pinctrl-bcm281xx.c param, pdata->pins[pin].name, pin); param 1225 drivers/pinctrl/bcm/pinctrl-bcm281xx.c enum pin_config_param param; param 1229 drivers/pinctrl/bcm/pinctrl-bcm281xx.c param = pinconf_to_config_param(configs[i]); param 1232 drivers/pinctrl/bcm/pinctrl-bcm281xx.c switch (param) { param 1276 drivers/pinctrl/bcm/pinctrl-bcm281xx.c param, pdata->pins[pin].name, pin); param 1295 drivers/pinctrl/bcm/pinctrl-bcm281xx.c enum pin_config_param param; param 1299 drivers/pinctrl/bcm/pinctrl-bcm281xx.c param = pinconf_to_config_param(configs[i]); param 1302 drivers/pinctrl/bcm/pinctrl-bcm281xx.c switch (param) { param 1321 drivers/pinctrl/bcm/pinctrl-bcm281xx.c param, pdata->pins[pin].name, pin); param 940 drivers/pinctrl/bcm/pinctrl-bcm2835.c u32 param, arg; param 944 drivers/pinctrl/bcm/pinctrl-bcm2835.c param = pinconf_to_config_param(configs[i]); param 947 drivers/pinctrl/bcm/pinctrl-bcm2835.c switch (param) { param 1007 drivers/pinctrl/bcm/pinctrl-bcm2835.c u32 param, arg; param 1011 drivers/pinctrl/bcm/pinctrl-bcm2835.c param = pinconf_to_config_param(configs[i]); param 1014 drivers/pinctrl/bcm/pinctrl-bcm2835.c switch (param) { param 397 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c enum pin_config_param param) param 405 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c if (chip->pinconf_disable[i] == param) param 617 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c enum pin_config_param param = pinconf_to_config_param(*config); param 623 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c if (iproc_pinconf_param_is_disabled(chip, param)) param 626 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c switch (param) { param 652 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c *config = pinconf_to_config_packed(param, arg); param 667 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c enum pin_config_param param; param 673 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c param = pinconf_to_config_param(configs[i]); param 675 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c if (iproc_pinconf_param_is_disabled(chip, param)) param 680 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c switch (param) { param 845 drivers/pinctrl/bcm/pinctrl-ns2-mux.c enum pin_config_param param = pinconf_to_config_param(*config); param 853 drivers/pinctrl/bcm/pinctrl-ns2-mux.c switch (param) { param 879 drivers/pinctrl/bcm/pinctrl-ns2-mux.c *config = pinconf_to_config_packed(param, arg); param 886 drivers/pinctrl/bcm/pinctrl-ns2-mux.c *config = pinconf_to_config_packed(param, arg); param 905 drivers/pinctrl/bcm/pinctrl-ns2-mux.c enum pin_config_param param; param 914 drivers/pinctrl/bcm/pinctrl-ns2-mux.c param = pinconf_to_config_param(configs[i]); param 917 drivers/pinctrl/bcm/pinctrl-ns2-mux.c switch (param) { param 464 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c enum pin_config_param param = pinconf_to_config_param(*config); param 471 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c switch (param) { param 497 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c *config = pinconf_to_config_packed(param, arg); param 509 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c enum pin_config_param param; param 516 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c param = pinconf_to_config_param(configs[i]); param 519 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c switch (param) { param 1022 drivers/pinctrl/cirrus/pinctrl-lochnagar.c unsigned int param = pinconf_to_config_param(*configs); param 1024 drivers/pinctrl/cirrus/pinctrl-lochnagar.c switch (param) { param 744 drivers/pinctrl/cirrus/pinctrl-madera-core.c unsigned int param = pinconf_to_config_param(*config); param 760 drivers/pinctrl/cirrus/pinctrl-madera-core.c switch (param) { param 814 drivers/pinctrl/cirrus/pinctrl-madera-core.c *config = pinconf_to_config_packed(param, result); param 299 drivers/pinctrl/freescale/pinctrl-imx.c enum pin_config_param param; param 307 drivers/pinctrl/freescale/pinctrl-imx.c param = pinconf_to_config_param(configs[i]); param 311 drivers/pinctrl/freescale/pinctrl-imx.c if (param == decode->param) { param 72 drivers/pinctrl/freescale/pinctrl-imx.h enum pin_config_param param; param 119 drivers/pinctrl/freescale/pinctrl-imx.h { .param = p, .mask = m, .shift = o, .invert = false, } param 122 drivers/pinctrl/freescale/pinctrl-imx.h { .param = p, .mask = m, .shift = o, .invert = true, } param 903 drivers/pinctrl/intel/pinctrl-baytrail.c enum pin_config_param param = pinconf_to_config_param(*config); param 917 drivers/pinctrl/intel/pinctrl-baytrail.c switch (param) { param 977 drivers/pinctrl/intel/pinctrl-baytrail.c *config = pinconf_to_config_packed(param, arg); param 988 drivers/pinctrl/intel/pinctrl-baytrail.c unsigned int param, arg; param 1002 drivers/pinctrl/intel/pinctrl-baytrail.c param = pinconf_to_config_param(configs[i]); param 1005 drivers/pinctrl/intel/pinctrl-baytrail.c switch (param) { param 972 drivers/pinctrl/intel/pinctrl-cherryview.c enum pin_config_param param = pinconf_to_config_param(*config); param 985 drivers/pinctrl/intel/pinctrl-cherryview.c switch (param) { param 1044 drivers/pinctrl/intel/pinctrl-cherryview.c *config = pinconf_to_config_packed(param, arg); param 1049 drivers/pinctrl/intel/pinctrl-cherryview.c enum pin_config_param param, u32 arg) param 1058 drivers/pinctrl/intel/pinctrl-cherryview.c switch (param) { param 1139 drivers/pinctrl/intel/pinctrl-cherryview.c enum pin_config_param param; param 1147 drivers/pinctrl/intel/pinctrl-cherryview.c param = pinconf_to_config_param(configs[i]); param 1150 drivers/pinctrl/intel/pinctrl-cherryview.c switch (param) { param 1154 drivers/pinctrl/intel/pinctrl-cherryview.c ret = chv_config_set_pull(pctrl, pin, param, arg); param 1176 drivers/pinctrl/intel/pinctrl-cherryview.c param, arg); param 553 drivers/pinctrl/intel/pinctrl-intel.c enum pin_config_param param = pinconf_to_config_param(*config); param 565 drivers/pinctrl/intel/pinctrl-intel.c switch (param) { param 634 drivers/pinctrl/intel/pinctrl-intel.c *config = pinconf_to_config_packed(param, arg); param 641 drivers/pinctrl/intel/pinctrl-intel.c unsigned int param = pinconf_to_config_param(config); param 655 drivers/pinctrl/intel/pinctrl-intel.c switch (param) { param 648 drivers/pinctrl/intel/pinctrl-merrifield.c enum pin_config_param param = pinconf_to_config_param(*config); param 659 drivers/pinctrl/intel/pinctrl-merrifield.c switch (param) { param 723 drivers/pinctrl/intel/pinctrl-merrifield.c *config = pinconf_to_config_packed(param, arg); param 730 drivers/pinctrl/intel/pinctrl-merrifield.c unsigned int param = pinconf_to_config_param(config); param 735 drivers/pinctrl/intel/pinctrl-merrifield.c switch (param) { param 101 drivers/pinctrl/mediatek/pinctrl-moore.c u32 param = pinconf_to_config_param(*config); param 107 drivers/pinctrl/mediatek/pinctrl-moore.c switch (param) { param 151 drivers/pinctrl/mediatek/pinctrl-moore.c if ((val && param == PIN_CONFIG_INPUT_ENABLE) || param 152 drivers/pinctrl/mediatek/pinctrl-moore.c (!val && param == PIN_CONFIG_OUTPUT_ENABLE)) param 180 drivers/pinctrl/mediatek/pinctrl-moore.c reg = (param == MTK_PIN_CONFIG_TDSEL) ? param 195 drivers/pinctrl/mediatek/pinctrl-moore.c pullup = param == MTK_PIN_CONFIG_PU_ADV; param 207 drivers/pinctrl/mediatek/pinctrl-moore.c *config = pinconf_to_config_packed(param, ret); param 217 drivers/pinctrl/mediatek/pinctrl-moore.c u32 reg, param, arg; param 223 drivers/pinctrl/mediatek/pinctrl-moore.c param = pinconf_to_config_param(configs[cfg]); param 226 drivers/pinctrl/mediatek/pinctrl-moore.c switch (param) { param 321 drivers/pinctrl/mediatek/pinctrl-moore.c reg = (param == MTK_PIN_CONFIG_TDSEL) ? param 333 drivers/pinctrl/mediatek/pinctrl-moore.c pullup = param == MTK_PIN_CONFIG_PU_ADV; param 335 drivers/pinctrl/mediatek/pinctrl-mtk-common.c unsigned int pin, enum pin_config_param param, param 341 drivers/pinctrl/mediatek/pinctrl-mtk-common.c switch (param) { param 353 drivers/pinctrl/mediatek/pinctrl-mtk-common.c ret = mtk_pconf_set_ies_smt(pctl, pin, arg, param); param 361 drivers/pinctrl/mediatek/pinctrl-mtk-common.c ret = mtk_pconf_set_ies_smt(pctl, pin, arg, param); param 80 drivers/pinctrl/mediatek/pinctrl-paris.c u32 param = pinconf_to_config_param(*config); param 86 drivers/pinctrl/mediatek/pinctrl-paris.c switch (param) { param 130 drivers/pinctrl/mediatek/pinctrl-paris.c if ((val && param == PIN_CONFIG_INPUT_ENABLE) || param 131 drivers/pinctrl/mediatek/pinctrl-paris.c (!val && param == PIN_CONFIG_OUTPUT_ENABLE)) param 159 drivers/pinctrl/mediatek/pinctrl-paris.c reg = (param == MTK_PIN_CONFIG_TDSEL) ? param 174 drivers/pinctrl/mediatek/pinctrl-paris.c pullup = param == MTK_PIN_CONFIG_PU_ADV; param 195 drivers/pinctrl/mediatek/pinctrl-paris.c *config = pinconf_to_config_packed(param, ret); param 201 drivers/pinctrl/mediatek/pinctrl-paris.c enum pin_config_param param, param 211 drivers/pinctrl/mediatek/pinctrl-paris.c switch ((u32)param) { param 305 drivers/pinctrl/mediatek/pinctrl-paris.c reg = (param == MTK_PIN_CONFIG_TDSEL) ? param 317 drivers/pinctrl/mediatek/pinctrl-paris.c pullup = param == MTK_PIN_CONFIG_PU_ADV; param 345 drivers/pinctrl/meson/pinctrl-meson.c enum pin_config_param param; param 350 drivers/pinctrl/meson/pinctrl-meson.c param = pinconf_to_config_param(configs[i]); param 352 drivers/pinctrl/meson/pinctrl-meson.c switch (param) { param 363 drivers/pinctrl/meson/pinctrl-meson.c switch (param) { param 474 drivers/pinctrl/meson/pinctrl-meson.c enum pin_config_param param = pinconf_to_config_param(*config); param 478 drivers/pinctrl/meson/pinctrl-meson.c switch (param) { param 482 drivers/pinctrl/meson/pinctrl-meson.c if (meson_pinconf_get_pull(pc, pin) == param) param 514 drivers/pinctrl/meson/pinctrl-meson.c *config = pinconf_to_config_packed(param, arg); param 852 drivers/pinctrl/nomadik/pinctrl-abx500.c enum pin_config_param param; param 856 drivers/pinctrl/nomadik/pinctrl-abx500.c param = pinconf_to_config_param(configs[i]); param 861 drivers/pinctrl/nomadik/pinctrl-abx500.c (param == PIN_CONFIG_OUTPUT) ? "output " : "input", param 862 drivers/pinctrl/nomadik/pinctrl-abx500.c (param == PIN_CONFIG_OUTPUT) ? param 869 drivers/pinctrl/nomadik/pinctrl-abx500.c switch (param) { param 1718 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c enum pin_config_param param = pinconf_to_config_param(*config); param 1727 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c switch (param) { param 1733 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c if (param == PIN_CONFIG_BIAS_DISABLE) param 1735 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c else if (param == PIN_CONFIG_BIAS_PULL_UP) param 1737 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c else if (param == PIN_CONFIG_BIAS_PULL_DOWN) param 1744 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c if (param == PIN_CONFIG_INPUT_ENABLE) param 1746 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c else if (param == PIN_CONFIG_OUTPUT) param 1761 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c *config = pinconf_to_config_packed(param, rc); param 1766 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c *config = pinconf_to_config_packed(param, rc); param 1781 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c enum pin_config_param param = pinconf_to_config_param(config); param 1787 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c dev_dbg(bank->gc.parent, "param=%d %d[GPIO]\n", param, pin); param 1788 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c switch (param) { param 68 drivers/pinctrl/pinconf-generic.c config = pinconf_to_config_packed(items[i].param, 0); param 136 drivers/pinctrl/pinconf-generic.c if (pinconf_to_config_param(config) != conf_items[i].param) param 148 drivers/pinctrl/pinconf-generic.c pctldev->desc->custom_conf_items[i].param) param 225 drivers/pinctrl/pinconf-generic.c cfg[*ncfg] = pinconf_to_config_packed(par->param, val); param 649 drivers/pinctrl/pinctrl-amd.c enum pin_config_param param = pinconf_to_config_param(*config); param 654 drivers/pinctrl/pinctrl-amd.c switch (param) { param 673 drivers/pinctrl/pinctrl-amd.c param); param 677 drivers/pinctrl/pinctrl-amd.c *config = pinconf_to_config_packed(param, arg); param 690 drivers/pinctrl/pinctrl-amd.c enum pin_config_param param; param 695 drivers/pinctrl/pinctrl-amd.c param = pinconf_to_config_param(configs[i]); param 699 drivers/pinctrl/pinctrl-amd.c switch (param) { param 726 drivers/pinctrl/pinctrl-amd.c "Invalid config param %04x\n", param); param 737 drivers/pinctrl/pinctrl-artpec6.c enum pin_config_param param = pinconf_to_config_param(*config); param 754 drivers/pinctrl/pinctrl-artpec6.c switch (param) { param 766 drivers/pinctrl/pinctrl-artpec6.c if ((param == PIN_CONFIG_BIAS_PULL_UP && !regval) || param 767 drivers/pinctrl/pinctrl-artpec6.c (param == PIN_CONFIG_BIAS_PULL_DOWN && regval)) param 774 drivers/pinctrl/pinctrl-artpec6.c *config = pinconf_to_config_packed(param, regval); param 798 drivers/pinctrl/pinctrl-artpec6.c enum pin_config_param param; param 820 drivers/pinctrl/pinctrl-artpec6.c param = pinconf_to_config_param(configs[i]); param 823 drivers/pinctrl/pinctrl-artpec6.c switch (param) { param 339 drivers/pinctrl/pinctrl-as3722.c enum pin_config_param param = pinconf_to_config_param(*config); param 343 drivers/pinctrl/pinctrl-as3722.c switch (param) { param 376 drivers/pinctrl/pinctrl-as3722.c *config = pinconf_to_config_packed(param, (u16)arg); param 385 drivers/pinctrl/pinctrl-as3722.c enum pin_config_param param; param 390 drivers/pinctrl/pinctrl-as3722.c param = pinconf_to_config_param(configs[i]); param 393 drivers/pinctrl/pinctrl-as3722.c switch (param) { param 657 drivers/pinctrl/pinctrl-at91-pio4.c unsigned param = pinconf_to_config_param(*config), arg = 0; param 664 drivers/pinctrl/pinctrl-at91-pio4.c switch (param) { param 701 drivers/pinctrl/pinctrl-at91-pio4.c *config = pinconf_to_config_packed(param, arg); param 719 drivers/pinctrl/pinctrl-at91-pio4.c unsigned param = pinconf_to_config_param(configs[i]); param 725 drivers/pinctrl/pinctrl-at91-pio4.c switch (param) { param 797 drivers/pinctrl/pinctrl-at91-pio4.c param); param 1153 drivers/pinctrl/pinctrl-bm1880.c unsigned int param = pinconf_to_config_param(*config); param 1161 drivers/pinctrl/pinctrl-bm1880.c switch (param) { param 1195 drivers/pinctrl/pinctrl-bm1880.c *config = pinconf_to_config_packed(param, arg); param 1213 drivers/pinctrl/pinctrl-bm1880.c unsigned int param = pinconf_to_config_param(configs[i]); param 1216 drivers/pinctrl/pinctrl-bm1880.c switch (param) { param 1255 drivers/pinctrl/pinctrl-bm1880.c param); param 285 drivers/pinctrl/pinctrl-coh901.c enum pin_config_param param = (enum pin_config_param) *config; param 297 drivers/pinctrl/pinctrl-coh901.c switch (param) { param 340 drivers/pinctrl/pinctrl-coh901.c enum pin_config_param param) param 347 drivers/pinctrl/pinctrl-coh901.c switch (param) { param 6 drivers/pinctrl/pinctrl-coh901.h enum pin_config_param param); param 69 drivers/pinctrl/pinctrl-da850-pupd.c enum pin_config_param param = pinconf_to_config_param(*config); param 76 drivers/pinctrl/pinctrl-da850-pupd.c switch (param) { param 87 drivers/pinctrl/pinctrl-da850-pupd.c if (param == PIN_CONFIG_BIAS_PULL_DOWN) param 95 drivers/pinctrl/pinctrl-da850-pupd.c *config = pinconf_to_config_packed(param, arg); param 107 drivers/pinctrl/pinctrl-da850-pupd.c enum pin_config_param param; param 114 drivers/pinctrl/pinctrl-da850-pupd.c param = pinconf_to_config_param(configs[i]); param 116 drivers/pinctrl/pinctrl-da850-pupd.c switch (param) { param 245 drivers/pinctrl/pinctrl-falcon.c enum ltq_pinconf_param param = LTQ_PINCONF_UNPACK_PARAM(*config); param 248 drivers/pinctrl/pinctrl-falcon.c switch (param) { param 250 drivers/pinctrl/pinctrl-falcon.c *config = LTQ_PINCONF_PACK(param, param 255 drivers/pinctrl/pinctrl-falcon.c *config = LTQ_PINCONF_PACK(param, param 261 drivers/pinctrl/pinctrl-falcon.c *config = LTQ_PINCONF_PACK(param, 1); param 263 drivers/pinctrl/pinctrl-falcon.c *config = LTQ_PINCONF_PACK(param, 2); param 265 drivers/pinctrl/pinctrl-falcon.c *config = LTQ_PINCONF_PACK(param, 0); param 280 drivers/pinctrl/pinctrl-falcon.c enum ltq_pinconf_param param; param 288 drivers/pinctrl/pinctrl-falcon.c param = LTQ_PINCONF_UNPACK_PARAM(configs[i]); param 291 drivers/pinctrl/pinctrl-falcon.c switch (param) { param 309 drivers/pinctrl/pinctrl-falcon.c pinctrl_dev_get_name(pctrldev), param); param 2381 drivers/pinctrl/pinctrl-gemini.c enum pin_config_param param = pinconf_to_config_param(*config); param 2385 drivers/pinctrl/pinctrl-gemini.c switch (param) { param 2407 drivers/pinctrl/pinctrl-gemini.c enum pin_config_param param; param 2413 drivers/pinctrl/pinctrl-gemini.c param = pinconf_to_config_param(configs[i]); param 2416 drivers/pinctrl/pinctrl-gemini.c switch (param) { param 2433 drivers/pinctrl/pinctrl-gemini.c dev_err(pmx->dev, "Invalid config param %04x\n", param); param 2448 drivers/pinctrl/pinctrl-gemini.c enum pin_config_param param; param 2467 drivers/pinctrl/pinctrl-gemini.c param = pinconf_to_config_param(configs[i]); param 2470 drivers/pinctrl/pinctrl-gemini.c switch (param) { param 2500 drivers/pinctrl/pinctrl-gemini.c dev_err(pmx->dev, "invalid config param %04x\n", param); param 1761 drivers/pinctrl/pinctrl-ingenic.c enum pin_config_param param = pinconf_to_config_param(*config); param 1771 drivers/pinctrl/pinctrl-ingenic.c switch (param) { param 1791 drivers/pinctrl/pinctrl-ingenic.c *config = pinconf_to_config_packed(param, 1); param 108 drivers/pinctrl/pinctrl-lantiq.c LTQ_PINCONF_PACK(info->params[i].param, param 26 drivers/pinctrl/pinctrl-lantiq.h #define LTQ_PINCONF_PACK(param, arg) ((param) << 16 | (arg)) param 40 drivers/pinctrl/pinctrl-lantiq.h enum ltq_pinconf_param param; param 646 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_get_usb1(enum pin_config_param param, int *arg, u32 reg) param 648 drivers/pinctrl/pinctrl-lpc18xx.c switch (param) { param 675 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_get_i2c0(enum pin_config_param param, int *arg, u32 reg, param 685 drivers/pinctrl/pinctrl-lpc18xx.c switch (param) { param 784 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_get_pin(struct pinctrl_dev *pctldev, unsigned param, param 788 drivers/pinctrl/pinctrl-lpc18xx.c switch (param) { param 876 drivers/pinctrl/pinctrl-lpc18xx.c enum pin_config_param param = pinconf_to_config_param(*config); param 888 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_get_i2c0(param, &arg, reg, pin); param 890 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_get_usb1(param, &arg, reg); param 892 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_get_pin(pctldev, param, &arg, reg, pin, pin_cap); param 897 drivers/pinctrl/pinctrl-lpc18xx.c *config = pinconf_to_config_packed(param, (u16)arg); param 903 drivers/pinctrl/pinctrl-lpc18xx.c enum pin_config_param param, param 906 drivers/pinctrl/pinctrl-lpc18xx.c switch (param) { param 931 drivers/pinctrl/pinctrl-lpc18xx.c enum pin_config_param param, param 942 drivers/pinctrl/pinctrl-lpc18xx.c switch (param) { param 1007 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_set_pin(struct pinctrl_dev *pctldev, unsigned param, param 1011 drivers/pinctrl/pinctrl-lpc18xx.c switch (param) { param 1090 drivers/pinctrl/pinctrl-lpc18xx.c enum pin_config_param param; param 1103 drivers/pinctrl/pinctrl-lpc18xx.c param = pinconf_to_config_param(configs[i]); param 1107 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_set_i2c0(pctldev, param, param_val, ®, pin); param 1109 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_set_usb1(pctldev, param, param_val, ®); param 1111 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_set_pin(pctldev, param, param_val, ®, pin, pin_cap); param 51 drivers/pinctrl/pinctrl-max77620.c .param = MAX77620_ACTIVE_FPS_SOURCE, param 54 drivers/pinctrl/pinctrl-max77620.c .param = MAX77620_ACTIVE_FPS_POWER_ON_SLOTS, param 57 drivers/pinctrl/pinctrl-max77620.c .param = MAX77620_ACTIVE_FPS_POWER_DOWN_SLOTS, param 60 drivers/pinctrl/pinctrl-max77620.c .param = MAX77620_SUSPEND_FPS_SOURCE, param 63 drivers/pinctrl/pinctrl-max77620.c .param = MAX77620_SUSPEND_FPS_POWER_ON_SLOTS, param 66 drivers/pinctrl/pinctrl-max77620.c .param = MAX77620_SUSPEND_FPS_POWER_DOWN_SLOTS, param 274 drivers/pinctrl/pinctrl-max77620.c enum pin_config_param param = pinconf_to_config_param(*config); param 279 drivers/pinctrl/pinctrl-max77620.c switch (param) { param 315 drivers/pinctrl/pinctrl-max77620.c *config = pinconf_to_config_packed(param, (u16)arg); param 337 drivers/pinctrl/pinctrl-max77620.c int pin, int param) param 348 drivers/pinctrl/pinctrl-max77620.c switch (param) { param 354 drivers/pinctrl/pinctrl-max77620.c if (param == MAX77620_SUSPEND_FPS_SOURCE) param 363 drivers/pinctrl/pinctrl-max77620.c if (param == MAX77620_SUSPEND_FPS_POWER_ON_SLOTS) param 372 drivers/pinctrl/pinctrl-max77620.c if (param == MAX77620_SUSPEND_FPS_POWER_DOWN_SLOTS) param 378 drivers/pinctrl/pinctrl-max77620.c param, pin); param 399 drivers/pinctrl/pinctrl-max77620.c int param; param 408 drivers/pinctrl/pinctrl-max77620.c param = pinconf_to_config_param(configs[i]); param 411 drivers/pinctrl/pinctrl-max77620.c switch (param) { param 446 drivers/pinctrl/pinctrl-max77620.c if ((param == MAX77620_ACTIVE_FPS_SOURCE) && param 457 drivers/pinctrl/pinctrl-max77620.c if (param == MAX77620_ACTIVE_FPS_SOURCE) param 459 drivers/pinctrl/pinctrl-max77620.c else if (param == MAX77620_ACTIVE_FPS_POWER_ON_SLOTS) param 464 drivers/pinctrl/pinctrl-max77620.c ret = max77620_set_fps_param(mpci, pin, param); param 477 drivers/pinctrl/pinctrl-max77620.c if ((param == MAX77620_SUSPEND_FPS_SOURCE) && param 488 drivers/pinctrl/pinctrl-max77620.c if (param == MAX77620_SUSPEND_FPS_SOURCE) param 490 drivers/pinctrl/pinctrl-max77620.c else if (param == MAX77620_SUSPEND_FPS_POWER_ON_SLOTS) param 499 drivers/pinctrl/pinctrl-max77620.c pu_val = (param == PIN_CONFIG_BIAS_PULL_UP) ? param 501 drivers/pinctrl/pinctrl-max77620.c pd_val = (param == PIN_CONFIG_BIAS_PULL_DOWN) ? param 258 drivers/pinctrl/pinctrl-mcp23s08.c enum pin_config_param param = pinconf_to_config_param(*config); param 262 drivers/pinctrl/pinctrl-mcp23s08.c switch (param) { param 282 drivers/pinctrl/pinctrl-mcp23s08.c enum pin_config_param param; param 288 drivers/pinctrl/pinctrl-mcp23s08.c param = pinconf_to_config_param(configs[i]); param 291 drivers/pinctrl/pinctrl-mcp23s08.c switch (param) { param 296 drivers/pinctrl/pinctrl-mcp23s08.c dev_dbg(mcp->dev, "Invalid config param %04x\n", param); param 842 drivers/pinctrl/pinctrl-oxnas.c unsigned int param = pinconf_to_config_param(*config); param 847 drivers/pinctrl/pinctrl-oxnas.c switch (param) { param 863 drivers/pinctrl/pinctrl-oxnas.c *config = pinconf_to_config_packed(param, arg); param 873 drivers/pinctrl/pinctrl-oxnas.c unsigned int param = pinconf_to_config_param(*config); param 879 drivers/pinctrl/pinctrl-oxnas.c switch (param) { param 893 drivers/pinctrl/pinctrl-oxnas.c *config = pinconf_to_config_packed(param, arg); param 904 drivers/pinctrl/pinctrl-oxnas.c unsigned int param; param 913 drivers/pinctrl/pinctrl-oxnas.c param = pinconf_to_config_param(configs[i]); param 915 drivers/pinctrl/pinctrl-oxnas.c switch (param) { param 926 drivers/pinctrl/pinctrl-oxnas.c param); param 941 drivers/pinctrl/pinctrl-oxnas.c unsigned int param; param 950 drivers/pinctrl/pinctrl-oxnas.c param = pinconf_to_config_param(configs[i]); param 952 drivers/pinctrl/pinctrl-oxnas.c switch (param) { param 961 drivers/pinctrl/pinctrl-oxnas.c param); param 753 drivers/pinctrl/pinctrl-palmas.c enum pin_config_param param = pinconf_to_config_param(*config); param 782 drivers/pinctrl/pinctrl-palmas.c switch (param) { param 805 drivers/pinctrl/pinctrl-palmas.c (param == PIN_CONFIG_BIAS_DISABLE)) param 809 drivers/pinctrl/pinctrl-palmas.c (param == PIN_CONFIG_BIAS_PULL_UP)) param 813 drivers/pinctrl/pinctrl-palmas.c (param == PIN_CONFIG_BIAS_PULL_DOWN)) param 853 drivers/pinctrl/pinctrl-palmas.c *config = pinconf_to_config_packed(param, (u16)arg); param 862 drivers/pinctrl/pinctrl-palmas.c enum pin_config_param param; param 892 drivers/pinctrl/pinctrl-palmas.c param = pinconf_to_config_param(configs[i]); param 895 drivers/pinctrl/pinctrl-palmas.c switch (param) { param 909 drivers/pinctrl/pinctrl-palmas.c if (param == PIN_CONFIG_BIAS_DISABLE) param 911 drivers/pinctrl/pinctrl-palmas.c else if (param == PIN_CONFIG_BIAS_PULL_UP) param 1883 drivers/pinctrl/pinctrl-pic32.c unsigned param = pinconf_to_config_param(*config); param 1887 drivers/pinctrl/pinctrl-pic32.c switch (param) { param 1910 drivers/pinctrl/pinctrl-pic32.c dev_err(pctl->dev, "Property %u not supported\n", param); param 1914 drivers/pinctrl/pinctrl-pic32.c *config = pinconf_to_config_packed(param, arg); param 1924 drivers/pinctrl/pinctrl-pic32.c unsigned param; param 1934 drivers/pinctrl/pinctrl-pic32.c param = pinconf_to_config_param(configs[i]); param 1937 drivers/pinctrl/pinctrl-pic32.c switch (param) { param 1967 drivers/pinctrl/pinctrl-pic32.c param); param 1002 drivers/pinctrl/pinctrl-pistachio.c enum pin_config_param param = pinconf_to_config_param(*config); param 1005 drivers/pinctrl/pinctrl-pistachio.c switch (param) { param 1054 drivers/pinctrl/pinctrl-pistachio.c dev_dbg(pctl->dev, "Property %u not supported\n", param); param 1058 drivers/pinctrl/pinctrl-pistachio.c *config = pinconf_to_config_packed(param, arg); param 1067 drivers/pinctrl/pinctrl-pistachio.c enum pin_config_param param; param 1072 drivers/pinctrl/pinctrl-pistachio.c param = pinconf_to_config_param(configs[i]); param 1075 drivers/pinctrl/pinctrl-pistachio.c switch (param) { param 1144 drivers/pinctrl/pinctrl-pistachio.c param); param 359 drivers/pinctrl/pinctrl-rk805.c enum pin_config_param param = pinconf_to_config_param(*config); param 362 drivers/pinctrl/pinctrl-rk805.c switch (param) { param 371 drivers/pinctrl/pinctrl-rk805.c *config = pinconf_to_config_packed(param, (u16)arg); param 381 drivers/pinctrl/pinctrl-rk805.c enum pin_config_param param; param 385 drivers/pinctrl/pinctrl-rk805.c param = pinconf_to_config_param(configs[i]); param 388 drivers/pinctrl/pinctrl-rk805.c switch (param) { param 2313 drivers/pinctrl/pinctrl-rockchip.c enum pin_config_param param; param 2319 drivers/pinctrl/pinctrl-rockchip.c param = pinconf_to_config_param(configs[i]); param 2322 drivers/pinctrl/pinctrl-rockchip.c switch (param) { param 2325 drivers/pinctrl/pinctrl-rockchip.c param); param 2333 drivers/pinctrl/pinctrl-rockchip.c if (!rockchip_pinconf_pull_valid(info->ctrl, param)) param 2340 drivers/pinctrl/pinctrl-rockchip.c param); param 2386 drivers/pinctrl/pinctrl-rockchip.c enum pin_config_param param = pinconf_to_config_param(*config); param 2390 drivers/pinctrl/pinctrl-rockchip.c switch (param) { param 2392 drivers/pinctrl/pinctrl-rockchip.c if (rockchip_get_pull(bank, pin - bank->pin_base) != param) param 2401 drivers/pinctrl/pinctrl-rockchip.c if (!rockchip_pinconf_pull_valid(info->ctrl, param)) param 2404 drivers/pinctrl/pinctrl-rockchip.c if (rockchip_get_pull(bank, pin - bank->pin_base) != param) param 2446 drivers/pinctrl/pinctrl-rockchip.c *config = pinconf_to_config_packed(param, arg); param 2779 drivers/pinctrl/pinctrl-rockchip.c enum pin_config_param param = pinconf_to_config_param(config); param 2781 drivers/pinctrl/pinctrl-rockchip.c switch (param) { param 489 drivers/pinctrl/pinctrl-rzn1.c enum pin_config_param param = pinconf_to_config_param(*config); param 503 drivers/pinctrl/pinctrl-rzn1.c switch (param) { param 532 drivers/pinctrl/pinctrl-rzn1.c *config = pinconf_to_config_packed(param, arg); param 541 drivers/pinctrl/pinctrl-rzn1.c enum pin_config_param param; param 554 drivers/pinctrl/pinctrl-rzn1.c param = pinconf_to_config_param(configs[i]); param 557 drivers/pinctrl/pinctrl-rzn1.c switch (param) { param 62 drivers/pinctrl/pinctrl-single.c enum pin_config_param param; param 76 drivers/pinctrl/pinctrl-single.c enum pin_config_param param; param 464 drivers/pinctrl/pinctrl-single.c enum pin_config_param param; param 472 drivers/pinctrl/pinctrl-single.c param = pinconf_to_config_param(*config); param 473 drivers/pinctrl/pinctrl-single.c if (param == PIN_CONFIG_BIAS_DISABLE) { param 480 drivers/pinctrl/pinctrl-single.c } else if (param != func->conf[i].param) { param 486 drivers/pinctrl/pinctrl-single.c switch (func->conf[i].param) { param 499 drivers/pinctrl/pinctrl-single.c switch (func->conf[j].param) { param 539 drivers/pinctrl/pinctrl-single.c != func->conf[i].param) param 545 drivers/pinctrl/pinctrl-single.c switch (func->conf[i].param) { param 831 drivers/pinctrl/pinctrl-single.c static void add_config(struct pcs_conf_vals **conf, enum pin_config_param param, param 835 drivers/pinctrl/pinctrl-single.c (*conf)->param = param; param 843 drivers/pinctrl/pinctrl-single.c static void add_setting(unsigned long **setting, enum pin_config_param param, param 846 drivers/pinctrl/pinctrl-single.c **setting = pinconf_to_config_packed(param, arg); param 852 drivers/pinctrl/pinctrl-single.c const char *name, enum pin_config_param param, param 865 drivers/pinctrl/pinctrl-single.c add_config(conf, param, value[0], 0, 0, value[1]); param 866 drivers/pinctrl/pinctrl-single.c add_setting(settings, param, value[0] >> shift); param 871 drivers/pinctrl/pinctrl-single.c const char *name, enum pin_config_param param, param 891 drivers/pinctrl/pinctrl-single.c add_config(conf, param, value[0], value[1], value[2], value[3]); param 892 drivers/pinctrl/pinctrl-single.c add_setting(settings, param, ret); param 948 drivers/pinctrl/pinctrl-single.c pcs_add_conf2(pcs, np, prop2[i].name, prop2[i].param, param 951 drivers/pinctrl/pinctrl-single.c pcs_add_conf4(pcs, np, prop4[i].name, prop4[i].param, param 125 drivers/pinctrl/pinctrl-st.c #define ST_PINCONF_UNPACK(conf, param)\ param 126 drivers/pinctrl/pinctrl-st.c ((conf >> ST_PINCONF_ ##param ##_SHIFT) \ param 127 drivers/pinctrl/pinctrl-st.c & ST_PINCONF_ ##param ##_MASK) param 129 drivers/pinctrl/pinctrl-st.c #define ST_PINCONF_PACK(conf, val, param) (conf |=\ param 130 drivers/pinctrl/pinctrl-st.c ((val & ST_PINCONF_ ##param ##_MASK) << \ param 131 drivers/pinctrl/pinctrl-st.c ST_PINCONF_ ##param ##_SHIFT)) param 214 drivers/pinctrl/pinctrl-stmfx.c u32 param = pinconf_to_config_param(*config); param 233 drivers/pinctrl/pinctrl-stmfx.c switch (param) { param 268 drivers/pinctrl/pinctrl-stmfx.c *config = pinconf_to_config_packed(param, arg); param 278 drivers/pinctrl/pinctrl-stmfx.c enum pin_config_param param; param 293 drivers/pinctrl/pinctrl-stmfx.c param = pinconf_to_config_param(configs[i]); param 296 drivers/pinctrl/pinctrl-stmfx.c switch (param) { param 583 drivers/pinctrl/pinctrl-sx150x.c unsigned int param = pinconf_to_config_param(*config); param 589 drivers/pinctrl/pinctrl-sx150x.c switch (param) { param 598 drivers/pinctrl/pinctrl-sx150x.c if (param == PIN_CONFIG_DRIVE_PUSH_PULL) param 617 drivers/pinctrl/pinctrl-sx150x.c switch (param) { param 705 drivers/pinctrl/pinctrl-sx150x.c *config = pinconf_to_config_packed(param, arg); param 714 drivers/pinctrl/pinctrl-sx150x.c enum pin_config_param param; param 720 drivers/pinctrl/pinctrl-sx150x.c param = pinconf_to_config_param(configs[i]); param 724 drivers/pinctrl/pinctrl-sx150x.c if (param == PIN_CONFIG_OUTPUT) { param 735 drivers/pinctrl/pinctrl-sx150x.c switch (param) { param 1338 drivers/pinctrl/pinctrl-xway.c enum ltq_pinconf_param param = LTQ_PINCONF_UNPACK_PARAM(*config); param 1342 drivers/pinctrl/pinctrl-xway.c switch (param) { param 1348 drivers/pinctrl/pinctrl-xway.c *config = LTQ_PINCONF_PACK(param, param 1358 drivers/pinctrl/pinctrl-xway.c *config = LTQ_PINCONF_PACK(param, 0); param 1367 drivers/pinctrl/pinctrl-xway.c *config = LTQ_PINCONF_PACK(param, 2); param 1369 drivers/pinctrl/pinctrl-xway.c *config = LTQ_PINCONF_PACK(param, 1); param 1374 drivers/pinctrl/pinctrl-xway.c *config = LTQ_PINCONF_PACK(param, param 1378 drivers/pinctrl/pinctrl-xway.c dev_err(pctldev->dev, "Invalid config param %04x\n", param); param 1390 drivers/pinctrl/pinctrl-xway.c enum ltq_pinconf_param param; param 1397 drivers/pinctrl/pinctrl-xway.c param = LTQ_PINCONF_UNPACK_PARAM(configs[i]); param 1400 drivers/pinctrl/pinctrl-xway.c switch (param) { param 1460 drivers/pinctrl/pinctrl-xway.c "Invalid config param %04x\n", param); param 991 drivers/pinctrl/pinctrl-zynq.c unsigned int param = pinconf_to_config_param(*config); param 1001 drivers/pinctrl/pinctrl-zynq.c switch (param) { param 1037 drivers/pinctrl/pinctrl-zynq.c *config = pinconf_to_config_packed(param, arg); param 1060 drivers/pinctrl/pinctrl-zynq.c unsigned int param = pinconf_to_config_param(configs[i]); param 1063 drivers/pinctrl/pinctrl-zynq.c switch (param) { param 1084 drivers/pinctrl/pinctrl-zynq.c param); param 1100 drivers/pinctrl/pinctrl-zynq.c param); param 216 drivers/pinctrl/qcom/pinctrl-msm.c unsigned param, param 220 drivers/pinctrl/qcom/pinctrl-msm.c switch (param) { param 261 drivers/pinctrl/qcom/pinctrl-msm.c unsigned param = pinconf_to_config_param(*config); param 270 drivers/pinctrl/qcom/pinctrl-msm.c ret = msm_config_reg(pctrl, g, param, &mask, &bit); param 278 drivers/pinctrl/qcom/pinctrl-msm.c switch (param) { param 326 drivers/pinctrl/qcom/pinctrl-msm.c *config = pinconf_to_config_packed(param, arg); param 339 drivers/pinctrl/qcom/pinctrl-msm.c unsigned param; param 350 drivers/pinctrl/qcom/pinctrl-msm.c param = pinconf_to_config_param(configs[i]); param 353 drivers/pinctrl/qcom/pinctrl-msm.c ret = msm_config_reg(pctrl, g, param, &mask, &bit); param 358 drivers/pinctrl/qcom/pinctrl-msm.c switch (param) { param 404 drivers/pinctrl/qcom/pinctrl-msm.c param); param 410 drivers/pinctrl/qcom/pinctrl-msm.c dev_err(pctrl->dev, "config %x: %x is invalid\n", param, arg); param 376 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c unsigned param = pinconf_to_config_param(*config); param 382 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c switch (param) { param 448 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c *config = pinconf_to_config_packed(param, arg); param 457 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c unsigned param, arg; param 465 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c param = pinconf_to_config_param(configs[i]); param 468 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c switch (param) { param 940 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c fwspec->param[0] < 1 || fwspec->param[0] > state->chip.ngpio) param 943 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c *hwirq = fwspec->param[0] - PMIC_GPIO_PHYSICAL_OFFSET; param 944 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c *type = fwspec->param[1]; param 332 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c unsigned param = pinconf_to_config_param(*config); param 338 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c switch (param) { param 397 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c *config = pinconf_to_config_packed(param, arg); param 406 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c unsigned param, arg; param 416 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c param = pinconf_to_config_param(configs[i]); param 419 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c switch (param) { param 255 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c unsigned param = pinconf_to_config_param(*config); param 258 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c switch (param) { param 313 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c *config = pinconf_to_config_packed(param, arg); param 325 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c unsigned param; param 332 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c param = pinconf_to_config_param(configs[i]); param 335 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c switch (param) { param 397 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c param); param 547 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c fwspec.param[0] = offset + PM8XXX_GPIO_PHYSICAL_OFFSET; param 548 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c fwspec.param[1] = IRQ_TYPE_EDGE_RISING; param 705 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c if (fwspec->param_count != 2 || fwspec->param[0] < 1 || param 706 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c fwspec->param[0] > pctrl->chip.ngpio) param 709 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c *hwirq = fwspec->param[0] - PM8XXX_GPIO_PHYSICAL_OFFSET; param 710 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c *type = fwspec->param[1]; param 737 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c parent_fwspec.param[0] = hwirq + 0xc0; param 738 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c parent_fwspec.param[1] = fwspec->param[1]; param 324 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c unsigned param = pinconf_to_config_param(*config); param 327 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c switch (param) { param 362 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c *config = pinconf_to_config_packed(param, arg); param 374 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c unsigned param; param 379 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c param = pinconf_to_config_param(configs[i]); param 382 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c switch (param) { param 417 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c param); param 39 drivers/pinctrl/samsung/pinctrl-samsung.c enum pincfg_type param; param 197 drivers/pinctrl/samsung/pinctrl-samsung.c config = PINCFG_PACK(cfg_params[i].param, val); param 570 drivers/pinctrl/sh-pfc/pinctrl.c enum pin_config_param param) param 575 drivers/pinctrl/sh-pfc/pinctrl.c switch (param) { param 601 drivers/pinctrl/sh-pfc/pinctrl.c enum pin_config_param param = pinconf_to_config_param(*config); param 605 drivers/pinctrl/sh-pfc/pinctrl.c if (!sh_pfc_pinconf_validate(pfc, _pin, param)) param 608 drivers/pinctrl/sh-pfc/pinctrl.c switch (param) { param 621 drivers/pinctrl/sh-pfc/pinctrl.c if (bias != param) param 662 drivers/pinctrl/sh-pfc/pinctrl.c *config = pinconf_to_config_packed(param, arg); param 671 drivers/pinctrl/sh-pfc/pinctrl.c enum pin_config_param param; param 676 drivers/pinctrl/sh-pfc/pinctrl.c param = pinconf_to_config_param(configs[i]); param 678 drivers/pinctrl/sh-pfc/pinctrl.c if (!sh_pfc_pinconf_validate(pfc, _pin, param)) param 681 drivers/pinctrl/sh-pfc/pinctrl.c switch (param) { param 689 drivers/pinctrl/sh-pfc/pinctrl.c pfc->info->ops->set_bias(pfc, _pin, param); param 5323 drivers/pinctrl/sirf/pinctrl-atlas7.c u16 param; param 5328 drivers/pinctrl/sirf/pinctrl-atlas7.c param = pinconf_to_config_param(configs[idx]); param 5332 drivers/pinctrl/sirf/pinctrl-atlas7.c pin, atlas7_ioc_pads[pin].name, param, arg); param 5333 drivers/pinctrl/sirf/pinctrl-atlas7.c switch (param) { param 5371 drivers/pinctrl/sirf/pinctrl-atlas7.c pin, atlas7_ioc_pads[pin].name, param, arg); param 441 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int param = pinconf_to_config_param(*config); param 455 drivers/pinctrl/sprd/pinctrl-sprd.c param == SPRD_PIN_CONFIG_CONTROL) { param 458 drivers/pinctrl/sprd/pinctrl-sprd.c switch (param) { param 497 drivers/pinctrl/sprd/pinctrl-sprd.c *config = pinconf_to_config_packed(param, arg); param 563 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int param; param 567 drivers/pinctrl/sprd/pinctrl-sprd.c param = pinconf_to_config_param(configs[i]); param 568 drivers/pinctrl/sprd/pinctrl-sprd.c if (param == PIN_CONFIG_SLEEP_HARDWARE_STATE) param 590 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int param, arg, shift, mask, val; param 592 drivers/pinctrl/sprd/pinctrl-sprd.c param = pinconf_to_config_param(configs[i]); param 599 drivers/pinctrl/sprd/pinctrl-sprd.c param == SPRD_PIN_CONFIG_CONTROL) { param 602 drivers/pinctrl/sprd/pinctrl-sprd.c switch (param) { param 271 drivers/pinctrl/stm32/pinctrl-stm32.c fwspec.param[0] = offset; param 272 drivers/pinctrl/stm32/pinctrl-stm32.c fwspec.param[1] = IRQ_TYPE_NONE; param 351 drivers/pinctrl/stm32/pinctrl-stm32.c (fwspec->param[0] >= STM32_GPIO_IRQ_LINE)) param 354 drivers/pinctrl/stm32/pinctrl-stm32.c *hwirq = fwspec->param[0]; param 355 drivers/pinctrl/stm32/pinctrl-stm32.c *type = fwspec->param[1]; param 422 drivers/pinctrl/stm32/pinctrl-stm32.c hwirq = fwspec->param[0]; param 425 drivers/pinctrl/stm32/pinctrl-stm32.c parent_fwspec.param[0] = fwspec->param[0]; param 426 drivers/pinctrl/stm32/pinctrl-stm32.c parent_fwspec.param[1] = fwspec->param[1]; param 995 drivers/pinctrl/stm32/pinctrl-stm32.c unsigned int pin, enum pin_config_param param, param 1012 drivers/pinctrl/stm32/pinctrl-stm32.c switch (param) { param 446 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pconf_reg(unsigned pin, enum pin_config_param param, param 449 drivers/pinctrl/sunxi/pinctrl-sunxi.c switch (param) { param 475 drivers/pinctrl/sunxi/pinctrl-sunxi.c enum pin_config_param param = pinconf_to_config_param(*config); param 482 drivers/pinctrl/sunxi/pinctrl-sunxi.c ret = sunxi_pconf_reg(pin, param, &offset, &shift, &mask); param 517 drivers/pinctrl/sunxi/pinctrl-sunxi.c *config = pinconf_to_config_packed(param, arg); param 540 drivers/pinctrl/sunxi/pinctrl-sunxi.c enum pin_config_param param; param 546 drivers/pinctrl/sunxi/pinctrl-sunxi.c param = pinconf_to_config_param(configs[i]); param 549 drivers/pinctrl/sunxi/pinctrl-sunxi.c ret = sunxi_pconf_reg(pin, param, &offset, &shift, &mask); param 553 drivers/pinctrl/sunxi/pinctrl-sunxi.c switch (param) { param 141 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c enum tegra_xusb_padctl_param param; param 146 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c #define TEGRA_XUSB_PADCTL_PACK(param, value) ((param) << 16 | (value)) param 180 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c config = TEGRA_XUSB_PADCTL_PACK(properties[i].param, value); param 333 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c enum tegra_xusb_padctl_param param; param 336 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c param = TEGRA_XUSB_PADCTL_UNPACK_PARAM(*config); param 339 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c switch (param) { param 352 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c *config = TEGRA_XUSB_PADCTL_PACK(param, value); param 357 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c param); param 371 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c enum tegra_xusb_padctl_param param; param 379 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c param = TEGRA_XUSB_PADCTL_UNPACK_PARAM(configs[i]); param 382 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c switch (param) { param 401 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c param); param 430 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c config = TEGRA_XUSB_PADCTL_PACK(properties[i].param, 0); param 449 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c enum tegra_xusb_padctl_param param; param 454 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c param = TEGRA_XUSB_PADCTL_UNPACK_PARAM(config); param 458 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c if (properties[i].param == param) { param 79 drivers/pinctrl/tegra/pinctrl-tegra.c enum tegra_pinconf_param param; param 128 drivers/pinctrl/tegra/pinctrl-tegra.c config = TEGRA_PINCONF_PACK(cfg_params[i].param, val); param 287 drivers/pinctrl/tegra/pinctrl-tegra.c enum tegra_pinconf_param param, param 291 drivers/pinctrl/tegra/pinctrl-tegra.c switch (param) { param 398 drivers/pinctrl/tegra/pinctrl-tegra.c dev_err(pmx->dev, "Invalid config param %04x\n", param); param 408 drivers/pinctrl/tegra/pinctrl-tegra.c if (cfg_params[i].param == param) { param 416 drivers/pinctrl/tegra/pinctrl-tegra.c param, prop, g->name); param 443 drivers/pinctrl/tegra/pinctrl-tegra.c enum tegra_pinconf_param param = TEGRA_PINCONF_UNPACK_PARAM(*config); param 453 drivers/pinctrl/tegra/pinctrl-tegra.c ret = tegra_pinconf_reg(pmx, g, param, true, &bank, ®, &bit, param 462 drivers/pinctrl/tegra/pinctrl-tegra.c *config = TEGRA_PINCONF_PACK(param, arg); param 472 drivers/pinctrl/tegra/pinctrl-tegra.c enum tegra_pinconf_param param; param 483 drivers/pinctrl/tegra/pinctrl-tegra.c param = TEGRA_PINCONF_UNPACK_PARAM(configs[i]); param 486 drivers/pinctrl/tegra/pinctrl-tegra.c ret = tegra_pinconf_reg(pmx, g, param, true, &bank, ®, &bit, param 494 drivers/pinctrl/tegra/pinctrl-tegra.c if (param == TEGRA_PINCONF_PARAM_LOCK) { param 551 drivers/pinctrl/tegra/pinctrl-tegra.c ret = tegra_pinconf_reg(pmx, g, cfg_params[i].param, false, param 569 drivers/pinctrl/tegra/pinctrl-tegra.c enum tegra_pinconf_param param = TEGRA_PINCONF_UNPACK_PARAM(config); param 575 drivers/pinctrl/tegra/pinctrl-tegra.c if (cfg_params[i].param == param) { param 206 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c enum pin_config_param param) param 216 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c switch (param) { param 311 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c enum pin_config_param param = pinconf_to_config_param(*configs); param 316 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c switch (param) { param 320 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_bias_get(pctldev, pin, param); param 336 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c *configs = pinconf_to_config_packed(param, arg); param 343 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c enum pin_config_param param, u32 arg) param 352 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c switch (param) { param 491 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c enum pin_config_param param = param 495 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c switch (param) { param 501 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c param, arg); param 512 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c param); param 422 drivers/pinctrl/vt8500/pinctrl-wmt.c enum pin_config_param param; param 437 drivers/pinctrl/vt8500/pinctrl-wmt.c param = pinconf_to_config_param(configs[i]); param 440 drivers/pinctrl/vt8500/pinctrl-wmt.c if ((param == PIN_CONFIG_BIAS_PULL_DOWN) || param 441 drivers/pinctrl/vt8500/pinctrl-wmt.c (param == PIN_CONFIG_BIAS_PULL_UP)) { param 443 drivers/pinctrl/vt8500/pinctrl-wmt.c param = PIN_CONFIG_BIAS_DISABLE; param 446 drivers/pinctrl/vt8500/pinctrl-wmt.c switch (param) { param 162 drivers/pinctrl/zte/pinctrl-zx.c enum pin_config_param param = pinconf_to_config_param(*config); param 172 drivers/pinctrl/zte/pinctrl-zx.c switch (param) { param 203 drivers/pinctrl/zte/pinctrl-zx.c *config = pinconf_to_config_packed(param, val); param 215 drivers/pinctrl/zte/pinctrl-zx.c enum pin_config_param param; param 226 drivers/pinctrl/zte/pinctrl-zx.c param = pinconf_to_config_param(configs[i]); param 229 drivers/pinctrl/zte/pinctrl-zx.c switch (param) { param 109 drivers/platform/chrome/cros_ec_lightbar.c struct ec_params_lightbar *param; param 118 drivers/platform/chrome/cros_ec_lightbar.c param = (struct ec_params_lightbar *)msg->data; param 119 drivers/platform/chrome/cros_ec_lightbar.c param->cmd = LIGHTBAR_CMD_VERSION; param 177 drivers/platform/chrome/cros_ec_lightbar.c struct ec_params_lightbar *param; param 190 drivers/platform/chrome/cros_ec_lightbar.c param = (struct ec_params_lightbar *)msg->data; param 191 drivers/platform/chrome/cros_ec_lightbar.c param->cmd = LIGHTBAR_CMD_SET_BRIGHTNESS; param 192 drivers/platform/chrome/cros_ec_lightbar.c param->set_brightness.num = val; param 223 drivers/platform/chrome/cros_ec_lightbar.c struct ec_params_lightbar *param; param 246 drivers/platform/chrome/cros_ec_lightbar.c param = (struct ec_params_lightbar *)msg->data; param 247 drivers/platform/chrome/cros_ec_lightbar.c param->cmd = LIGHTBAR_CMD_SET_RGB; param 248 drivers/platform/chrome/cros_ec_lightbar.c param->set_rgb.led = val[0]; param 249 drivers/platform/chrome/cros_ec_lightbar.c param->set_rgb.red = val[1]; param 250 drivers/platform/chrome/cros_ec_lightbar.c param->set_rgb.green = val[2]; param 251 drivers/platform/chrome/cros_ec_lightbar.c param->set_rgb.blue = val[3]; param 293 drivers/platform/chrome/cros_ec_lightbar.c struct ec_params_lightbar *param; param 303 drivers/platform/chrome/cros_ec_lightbar.c param = (struct ec_params_lightbar *)msg->data; param 304 drivers/platform/chrome/cros_ec_lightbar.c param->cmd = LIGHTBAR_CMD_GET_SEQ; param 333 drivers/platform/chrome/cros_ec_lightbar.c struct ec_params_lightbar *param; param 341 drivers/platform/chrome/cros_ec_lightbar.c param = (struct ec_params_lightbar *)msg->data; param 342 drivers/platform/chrome/cros_ec_lightbar.c param->cmd = cmd; param 364 drivers/platform/chrome/cros_ec_lightbar.c struct ec_params_lightbar *param; param 372 drivers/platform/chrome/cros_ec_lightbar.c param = (struct ec_params_lightbar *)msg->data; param 374 drivers/platform/chrome/cros_ec_lightbar.c param->cmd = LIGHTBAR_CMD_MANUAL_SUSPEND_CTRL; param 375 drivers/platform/chrome/cros_ec_lightbar.c param->manual_suspend_ctrl.enable = enable; param 398 drivers/platform/chrome/cros_ec_lightbar.c struct ec_params_lightbar *param; param 422 drivers/platform/chrome/cros_ec_lightbar.c param = (struct ec_params_lightbar *)msg->data; param 423 drivers/platform/chrome/cros_ec_lightbar.c param->cmd = LIGHTBAR_CMD_SEQ; param 424 drivers/platform/chrome/cros_ec_lightbar.c param->seq.num = num; param 448 drivers/platform/chrome/cros_ec_lightbar.c struct ec_params_lightbar *param; param 459 drivers/platform/chrome/cros_ec_lightbar.c extra_bytes = sizeof(*param) - sizeof(param->set_program.data); param 478 drivers/platform/chrome/cros_ec_lightbar.c param = (struct ec_params_lightbar *)msg->data; param 479 drivers/platform/chrome/cros_ec_lightbar.c param->cmd = LIGHTBAR_CMD_SET_PROGRAM; param 481 drivers/platform/chrome/cros_ec_lightbar.c param->set_program.size = count; param 482 drivers/platform/chrome/cros_ec_lightbar.c memcpy(param->set_program.data, buf, count); param 56 drivers/platform/chrome/cros_ec_sysfs.c struct ec_params_reboot_ec *param; param 62 drivers/platform/chrome/cros_ec_sysfs.c msg = kmalloc(sizeof(*msg) + sizeof(*param), GFP_KERNEL); param 66 drivers/platform/chrome/cros_ec_sysfs.c param = (struct ec_params_reboot_ec *)msg->data; param 68 drivers/platform/chrome/cros_ec_sysfs.c param->flags = 0; param 80 drivers/platform/chrome/cros_ec_sysfs.c param->flags |= words[i].flags; param 82 drivers/platform/chrome/cros_ec_sysfs.c param->cmd = words[i].cmd; param 101 drivers/platform/chrome/cros_ec_sysfs.c msg->outsize = sizeof(*param); param 252 drivers/platform/chrome/cros_ec_sysfs.c struct ec_params_motion_sense *param; param 260 drivers/platform/chrome/cros_ec_sysfs.c param = (struct ec_params_motion_sense *)msg->data; param 263 drivers/platform/chrome/cros_ec_sysfs.c param->cmd = MOTIONSENSE_CMD_KB_WAKE_ANGLE; param 264 drivers/platform/chrome/cros_ec_sysfs.c param->kb_wake_angle.data = EC_MOTION_SENSE_NO_VALUE; param 265 drivers/platform/chrome/cros_ec_sysfs.c msg->outsize = sizeof(*param); param 284 drivers/platform/chrome/cros_ec_sysfs.c struct ec_params_motion_sense *param; param 297 drivers/platform/chrome/cros_ec_sysfs.c param = (struct ec_params_motion_sense *)msg->data; param 300 drivers/platform/chrome/cros_ec_sysfs.c param->cmd = MOTIONSENSE_CMD_KB_WAKE_ANGLE; param 301 drivers/platform/chrome/cros_ec_sysfs.c param->kb_wake_angle.data = angle; param 302 drivers/platform/chrome/cros_ec_sysfs.c msg->outsize = sizeof(*param); param 26 drivers/platform/chrome/cros_kbd_led_backlight.c union acpi_object param; param 30 drivers/platform/chrome/cros_kbd_led_backlight.c param.type = ACPI_TYPE_INTEGER; param 31 drivers/platform/chrome/cros_kbd_led_backlight.c param.integer.value = brightness; param 33 drivers/platform/chrome/cros_kbd_led_backlight.c input.pointer = ¶m; param 1019 drivers/platform/x86/acer-wmi.c char param; param 1046 drivers/platform/x86/acer-wmi.c param = value ? 0x92 : 0x93; param 1048 drivers/platform/x86/acer-wmi.c i8042_command(¶m, 0x1059); param 30 drivers/platform/x86/amilo-rfkill.c u8 param = blocked ? A1655_WIFI_OFF : A1655_WIFI_ON; param 34 drivers/platform/x86/amilo-rfkill.c rc = i8042_command(¶m, A1655_WIFI_COMMAND); param 53 drivers/platform/x86/asus-wireless.c int param, u64 *ret) param 60 drivers/platform/x86/asus-wireless.c method, param); param 62 drivers/platform/x86/asus-wireless.c obj.integer.value = param; param 70 drivers/platform/x86/asus-wireless.c method, param, s); param 75 drivers/platform/x86/classmate-laptop.c union acpi_object param[4]; param 79 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 80 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x3; param 81 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 82 drivers/platform/x86/classmate-laptop.c param[1].integer.value = 0; param 83 drivers/platform/x86/classmate-laptop.c param[2].type = ACPI_TYPE_INTEGER; param 84 drivers/platform/x86/classmate-laptop.c param[2].integer.value = 0; param 85 drivers/platform/x86/classmate-laptop.c param[3].type = ACPI_TYPE_INTEGER; param 86 drivers/platform/x86/classmate-laptop.c param[3].integer.value = 0; param 88 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 95 drivers/platform/x86/classmate-laptop.c union acpi_object param[4]; param 99 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 100 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x4; param 101 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 102 drivers/platform/x86/classmate-laptop.c param[1].integer.value = 0; param 103 drivers/platform/x86/classmate-laptop.c param[2].type = ACPI_TYPE_INTEGER; param 104 drivers/platform/x86/classmate-laptop.c param[2].integer.value = 0; param 105 drivers/platform/x86/classmate-laptop.c param[3].type = ACPI_TYPE_INTEGER; param 106 drivers/platform/x86/classmate-laptop.c param[3].integer.value = 0; param 108 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 115 drivers/platform/x86/classmate-laptop.c union acpi_object param[4]; param 118 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 119 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x02; param 120 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 121 drivers/platform/x86/classmate-laptop.c param[1].integer.value = val; param 122 drivers/platform/x86/classmate-laptop.c param[2].type = ACPI_TYPE_INTEGER; param 123 drivers/platform/x86/classmate-laptop.c param[2].integer.value = 0; param 124 drivers/platform/x86/classmate-laptop.c param[3].type = ACPI_TYPE_INTEGER; param 125 drivers/platform/x86/classmate-laptop.c param[3].integer.value = 0; param 127 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 133 drivers/platform/x86/classmate-laptop.c union acpi_object param[4]; param 136 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 137 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x05; param 138 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 139 drivers/platform/x86/classmate-laptop.c param[1].integer.value = val; param 140 drivers/platform/x86/classmate-laptop.c param[2].type = ACPI_TYPE_INTEGER; param 141 drivers/platform/x86/classmate-laptop.c param[2].integer.value = 0; param 142 drivers/platform/x86/classmate-laptop.c param[3].type = ACPI_TYPE_INTEGER; param 143 drivers/platform/x86/classmate-laptop.c param[3].integer.value = 0; param 145 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 154 drivers/platform/x86/classmate-laptop.c union acpi_object param[4]; param 160 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 161 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x01; param 162 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 163 drivers/platform/x86/classmate-laptop.c param[1].integer.value = 0; param 164 drivers/platform/x86/classmate-laptop.c param[2].type = ACPI_TYPE_INTEGER; param 165 drivers/platform/x86/classmate-laptop.c param[2].integer.value = 0; param 166 drivers/platform/x86/classmate-laptop.c param[3].type = ACPI_TYPE_INTEGER; param 167 drivers/platform/x86/classmate-laptop.c param[3].integer.value = 0; param 169 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 455 drivers/platform/x86/classmate-laptop.c union acpi_object param[2]; param 459 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 460 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x3; param 461 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 463 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 470 drivers/platform/x86/classmate-laptop.c union acpi_object param[2]; param 474 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 475 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x4; param 476 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 478 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 485 drivers/platform/x86/classmate-laptop.c union acpi_object param[2]; param 488 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 489 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x02; param 490 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 491 drivers/platform/x86/classmate-laptop.c param[1].integer.value = val; param 493 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 502 drivers/platform/x86/classmate-laptop.c union acpi_object param[2]; param 508 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 509 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0x01; param 510 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 512 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 681 drivers/platform/x86/classmate-laptop.c union acpi_object param; param 686 drivers/platform/x86/classmate-laptop.c param.type = ACPI_TYPE_INTEGER; param 687 drivers/platform/x86/classmate-laptop.c param.integer.value = 0x01; param 689 drivers/platform/x86/classmate-laptop.c input.pointer = ¶m; param 777 drivers/platform/x86/classmate-laptop.c union acpi_object param; param 782 drivers/platform/x86/classmate-laptop.c param.type = ACPI_TYPE_INTEGER; param 783 drivers/platform/x86/classmate-laptop.c param.integer.value = 0xC0; param 785 drivers/platform/x86/classmate-laptop.c input.pointer = ¶m; param 795 drivers/platform/x86/classmate-laptop.c union acpi_object param[2]; param 800 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 801 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0xC0; param 802 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 803 drivers/platform/x86/classmate-laptop.c param[1].integer.value = value; param 805 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 849 drivers/platform/x86/classmate-laptop.c union acpi_object param; param 854 drivers/platform/x86/classmate-laptop.c param.type = ACPI_TYPE_INTEGER; param 855 drivers/platform/x86/classmate-laptop.c param.integer.value = 0xC1; param 857 drivers/platform/x86/classmate-laptop.c input.pointer = ¶m; param 867 drivers/platform/x86/classmate-laptop.c union acpi_object param[2]; param 872 drivers/platform/x86/classmate-laptop.c param[0].type = ACPI_TYPE_INTEGER; param 873 drivers/platform/x86/classmate-laptop.c param[0].integer.value = 0xC1; param 874 drivers/platform/x86/classmate-laptop.c param[1].type = ACPI_TYPE_INTEGER; param 875 drivers/platform/x86/classmate-laptop.c param[1].integer.value = value; param 877 drivers/platform/x86/classmate-laptop.c input.pointer = param; param 69 drivers/platform/x86/dell-rbtn.c union acpi_object param; param 72 drivers/platform/x86/dell-rbtn.c param.type = ACPI_TYPE_INTEGER; param 73 drivers/platform/x86/dell-rbtn.c param.integer.value = enable; param 75 drivers/platform/x86/dell-rbtn.c input.pointer = ¶m; param 876 drivers/platform/x86/ideapad-laptop.c unsigned char param; param 877 drivers/platform/x86/ideapad-laptop.c i8042_command(¶m, value ? I8042_CMD_AUX_ENABLE : param 45 drivers/platform/x86/intel_speed_select_if/isst_if_common.c u16 param; param 70 drivers/platform/x86/intel_speed_select_if/isst_if_common.c u32 param; param 76 drivers/platform/x86/intel_speed_select_if/isst_if_common.c static int isst_store_new_cmd(int cmd, u32 cpu, int mbox_cmd_type, u32 param, param 88 drivers/platform/x86/intel_speed_select_if/isst_if_common.c sst_cmd->param = param; param 124 drivers/platform/x86/intel_speed_select_if/isst_if_common.c u32 param, u64 data) param 135 drivers/platform/x86/intel_speed_select_if/isst_if_common.c sst_cmd->param = param; param 142 drivers/platform/x86/intel_speed_select_if/isst_if_common.c ret = isst_store_new_cmd(full_cmd, cpu, mbox_cmd_type, param, data); param 157 drivers/platform/x86/intel_speed_select_if/isst_if_common.c mbox_cmd.parameter = sst_cmd->param; param 252 drivers/platform/x86/intel_speed_select_if/isst_if_common.c cmd->parameter == isst_cmd_set_reqs[i].param) { param 67 drivers/platform/x86/intel_speed_select_if/isst_if_common.h u32 param, u64 data); param 295 drivers/platform/x86/thinkpad_acpi.c char param[32]; param 9367 drivers/platform/x86/thinkpad_acpi.c static acpi_status tpacpi_battery_acpi_eval(char *method, int *ret, int param) param 9371 drivers/platform/x86/thinkpad_acpi.c if (!acpi_evalf(hkey_handle, &response, method, "dd", param)) { param 9416 drivers/platform/x86/thinkpad_acpi.c int param, ret; param 9418 drivers/platform/x86/thinkpad_acpi.c param = value; param 9420 drivers/platform/x86/thinkpad_acpi.c param |= battery << 8; param 9424 drivers/platform/x86/thinkpad_acpi.c if ACPI_FAILURE(tpacpi_battery_acpi_eval(SET_START, &ret, param)) { param 9431 drivers/platform/x86/thinkpad_acpi.c if ACPI_FAILURE(tpacpi_battery_acpi_eval(SET_STOP, &ret, param)) { param 10318 drivers/platform/x86/thinkpad_acpi.c if (strlen(val) > sizeof(ibms_init[i].param) - 2) param 10320 drivers/platform/x86/thinkpad_acpi.c strcpy(ibms_init[i].param, val); param 10321 drivers/platform/x86/thinkpad_acpi.c strcat(ibms_init[i].param, ","); param 10598 drivers/platform/x86/thinkpad_acpi.c if (ret >= 0 && *ibms_init[i].param) param 10599 drivers/platform/x86/thinkpad_acpi.c ret = ibms_init[i].data->write(ibms_init[i].param); param 1753 drivers/power/supply/abx500_chargalg.c long int param; param 1756 drivers/power/supply/abx500_chargalg.c ret = kstrtol(buf, 10, ¶m); param 1760 drivers/power/supply/abx500_chargalg.c di->curr_status.curr_step = param; param 1786 drivers/power/supply/abx500_chargalg.c long int param; param 1790 drivers/power/supply/abx500_chargalg.c ret = kstrtol(buf, 10, ¶m); param 1794 drivers/power/supply/abx500_chargalg.c ac_usb = param; param 645 drivers/power/supply/axp288_charger.c unsigned long event, void *param) param 676 drivers/power/supply/axp288_charger.c unsigned long event, void *param) param 495 drivers/power/supply/lp8727_charger.c struct lp8727_chg_param *param; param 497 drivers/power/supply/lp8727_charger.c param = devm_kzalloc(dev, sizeof(*param), GFP_KERNEL); param 498 drivers/power/supply/lp8727_charger.c if (!param) param 501 drivers/power/supply/lp8727_charger.c of_property_read_u8(np, "eoc-level", (u8 *)¶m->eoc_level); param 502 drivers/power/supply/lp8727_charger.c of_property_read_u8(np, "charging-current", (u8 *)¶m->ichg); param 504 drivers/power/supply/lp8727_charger.c return param; param 370 drivers/power/supply/lp8788-charger.c struct lp8788_chg_param *param; param 381 drivers/power/supply/lp8788-charger.c param = pdata->chg_params + i; param 383 drivers/power/supply/lp8788-charger.c if (lp8788_is_valid_charger_register(param->addr)) { param 384 drivers/power/supply/lp8788-charger.c ret = lp8788_write_byte(lp, param->addr, param->val); param 258 drivers/powercap/idle_inject.c struct sched_param param = { .sched_priority = MAX_USER_RT_PRIO / 2 }; param 260 drivers/powercap/idle_inject.c sched_setscheduler(current, SCHED_FIFO, ¶m); param 627 drivers/ps3/ps3av_cmd.c struct ps3av_pkt_av_audio_param *param; param 629 drivers/ps3/ps3av_cmd.c param = (struct ps3av_pkt_av_audio_param *)p; param 631 drivers/ps3/ps3av_cmd.c memset(param, 0, sizeof(*param)); param 632 drivers/ps3/ps3av_cmd.c ps3av_set_hdr(PS3AV_CID_AV_AUDIO_PARAM, sizeof(*param), param 633 drivers/ps3/ps3av_cmd.c ¶m->send_hdr); param 635 drivers/ps3/ps3av_cmd.c param->avport = port; param 636 drivers/ps3/ps3av_cmd.c param->mclk = ps3av_cnv_mclk(audio_mode->audio_fs) | 0x80; param 637 drivers/ps3/ps3av_cmd.c ps3av_cnv_ns(param->ns, audio_mode->audio_fs, video_vid); param 638 drivers/ps3/ps3av_cmd.c param->enable = ps3av_cnv_enable(audio_mode->audio_source, param 640 drivers/ps3/ps3av_cmd.c param->swaplr = 0x09; param 641 drivers/ps3/ps3av_cmd.c param->fifomap = ps3av_cnv_fifomap(audio_mode->audio_map); param 642 drivers/ps3/ps3av_cmd.c param->inputctrl = 0x49; param 643 drivers/ps3/ps3av_cmd.c param->inputlen = ps3av_cnv_inputlen(audio_mode->audio_word_bits); param 644 drivers/ps3/ps3av_cmd.c param->layout = ps3av_cnv_layout(audio_mode->audio_num_of_ch); param 645 drivers/ps3/ps3av_cmd.c ps3av_cnv_info(¶m->info, audio_mode); param 646 drivers/ps3/ps3av_cmd.c ps3av_cnv_chstat(param->chstat, audio_mode->audio_cs_info); param 648 drivers/ps3/ps3av_cmd.c return sizeof(*param); param 295 drivers/pwm/pwm-imx-tpm.c struct imx_tpm_pwm_param param; param 299 drivers/pwm/pwm-imx-tpm.c ret = pwm_imx_tpm_round_state(chip, ¶m, &real_state, state); param 304 drivers/pwm/pwm-imx-tpm.c ret = pwm_imx_tpm_apply_hw(chip, ¶m, &real_state, pwm); param 597 drivers/rapidio/devices/rio_mport_cdev.c static void dma_xfer_callback(void *param) param 599 drivers/rapidio/devices/rio_mport_cdev.c struct mport_dma_req *req = (struct mport_dma_req *)param; param 377 drivers/rapidio/devices/tsi721_dma.c void *param = txd->callback_param; param 382 drivers/rapidio/devices/tsi721_dma.c callback(param); param 664 drivers/rapidio/devices/tsi721_dma.c void *param = NULL; param 670 drivers/rapidio/devices/tsi721_dma.c param = desc->txd.callback_param; param 678 drivers/rapidio/devices/tsi721_dma.c callback(param); param 1748 drivers/rapidio/rio_cm.c struct rio_cm_accept param; param 1752 drivers/rapidio/rio_cm.c if (copy_from_user(¶m, arg, sizeof(param))) param 1756 drivers/rapidio/rio_cm.c param.ch_num, current->comm, task_pid_nr(current)); param 1758 drivers/rapidio/rio_cm.c accept_to = param.wait_to ? param 1759 drivers/rapidio/rio_cm.c msecs_to_jiffies(param.wait_to) : 0; param 1761 drivers/rapidio/rio_cm.c ch = riocm_ch_accept(param.ch_num, ¶m.ch_num, accept_to); param 1769 drivers/rapidio/rio_cm.c if (copy_to_user(arg, ¶m, sizeof(param))) param 275 drivers/rpmsg/qcom_smd.c #define GET_RX_CHANNEL_FLAG(channel, param) \ param 277 drivers/rpmsg/qcom_smd.c BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u8)); \ param 279 drivers/rpmsg/qcom_smd.c le32_to_cpu(channel->info_word->rx.param) : \ param 280 drivers/rpmsg/qcom_smd.c channel->info->rx.param; \ param 283 drivers/rpmsg/qcom_smd.c #define GET_RX_CHANNEL_INFO(channel, param) \ param 285 drivers/rpmsg/qcom_smd.c BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u32)); \ param 287 drivers/rpmsg/qcom_smd.c channel->info_word->rx.param : \ param 288 drivers/rpmsg/qcom_smd.c channel->info->rx.param); \ param 291 drivers/rpmsg/qcom_smd.c #define SET_RX_CHANNEL_FLAG(channel, param, value) \ param 293 drivers/rpmsg/qcom_smd.c BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u8)); \ param 295 drivers/rpmsg/qcom_smd.c channel->info_word->rx.param = cpu_to_le32(value); \ param 297 drivers/rpmsg/qcom_smd.c channel->info->rx.param = value; \ param 300 drivers/rpmsg/qcom_smd.c #define SET_RX_CHANNEL_INFO(channel, param, value) \ param 302 drivers/rpmsg/qcom_smd.c BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u32)); \ param 304 drivers/rpmsg/qcom_smd.c channel->info_word->rx.param = cpu_to_le32(value); \ param 306 drivers/rpmsg/qcom_smd.c channel->info->rx.param = cpu_to_le32(value); \ param 309 drivers/rpmsg/qcom_smd.c #define GET_TX_CHANNEL_FLAG(channel, param) \ param 311 drivers/rpmsg/qcom_smd.c BUILD_BUG_ON(sizeof(channel->info->tx.param) != sizeof(u8)); \ param 313 drivers/rpmsg/qcom_smd.c le32_to_cpu(channel->info_word->tx.param) : \ param 314 drivers/rpmsg/qcom_smd.c channel->info->tx.param; \ param 317 drivers/rpmsg/qcom_smd.c #define GET_TX_CHANNEL_INFO(channel, param) \ param 319 drivers/rpmsg/qcom_smd.c BUILD_BUG_ON(sizeof(channel->info->tx.param) != sizeof(u32)); \ param 321 drivers/rpmsg/qcom_smd.c channel->info_word->tx.param : \ param 322 drivers/rpmsg/qcom_smd.c channel->info->tx.param); \ param 325 drivers/rpmsg/qcom_smd.c #define SET_TX_CHANNEL_FLAG(channel, param, value) \ param 327 drivers/rpmsg/qcom_smd.c BUILD_BUG_ON(sizeof(channel->info->tx.param) != sizeof(u8)); \ param 329 drivers/rpmsg/qcom_smd.c channel->info_word->tx.param = cpu_to_le32(value); \ param 331 drivers/rpmsg/qcom_smd.c channel->info->tx.param = value; \ param 334 drivers/rpmsg/qcom_smd.c #define SET_TX_CHANNEL_INFO(channel, param, value) \ param 336 drivers/rpmsg/qcom_smd.c BUILD_BUG_ON(sizeof(channel->info->tx.param) != sizeof(u32)); \ param 338 drivers/rpmsg/qcom_smd.c channel->info_word->tx.param = cpu_to_le32(value); \ param 340 drivers/rpmsg/qcom_smd.c channel->info->tx.param = cpu_to_le32(value); \ param 61 drivers/rtc/rtc-cros-ec.c u32 param) param 72 drivers/rtc/rtc-cros-ec.c msg.data.time = param; param 602 drivers/rtc/rtc-omap.c unsigned int param = pinconf_to_config_param(*config); param 608 drivers/rtc/rtc-omap.c switch (param) { param 621 drivers/rtc/rtc-omap.c *config = pinconf_to_config_packed(param, arg); param 632 drivers/rtc/rtc-omap.c unsigned int param; param 642 drivers/rtc/rtc-omap.c param = pinconf_to_config_param(configs[i]); param 645 drivers/rtc/rtc-omap.c switch (param) { param 657 drivers/rtc/rtc-omap.c param); param 28 drivers/rtc/rtc-wilco-ec.c u8 param; param 32 drivers/rtc/rtc-wilco-ec.c .param = EC_CMOS_TOD_READ, param 78 drivers/rtc/rtc-wilco-ec.c u8 param; param 136 drivers/rtc/rtc-wilco-ec.c rtc.param = EC_CMOS_TOD_WRITE; param 266 drivers/s390/crypto/pkey_api.c } param; param 289 drivers/s390/crypto/pkey_api.c memset(param.iv, 0, sizeof(param.iv)); param 290 drivers/s390/crypto/pkey_api.c memcpy(param.key, protkey->protkey, sizeof(param.key)); param 292 drivers/s390/crypto/pkey_api.c k = cpacf_kmc(fc | CPACF_ENCRYPT, ¶m, null_msg, dest_buf, param 631 drivers/s390/net/qeth_core.h void *param; param 1755 drivers/s390/net/qeth_core_main.c reply->param = reply_param; param 2186 drivers/s390/net/qeth_core_main.c *(u16 *)reply->param = mtu; param 2962 drivers/s390/net/qeth_core_main.c sw_info = (struct qeth_switch_info *)reply->param; param 4163 drivers/s390/net/qeth_core_main.c int fallback = *(int *)reply->param; param 4371 drivers/s390/net/qeth_core_main.c struct qeth_arp_query_info *qinfo = reply->param; param 4485 drivers/s390/net/qeth_core_main.c priv = (struct qeth_qoat_priv *)reply->param; param 4573 drivers/s390/net/qeth_core_main.c struct carrier_info *carrier_info = (struct carrier_info *)reply->param; param 5329 drivers/s390/net/qeth_core_main.c struct qeth_ipa_caps *caps = reply->param; param 5907 drivers/s390/net/qeth_core_main.c u32 *features = reply->param; param 5995 drivers/s390/net/qeth_core_main.c struct qeth_tso_start_data *tso_data = reply->param; param 109 drivers/s390/net/qeth_ethtool.c struct ethtool_ringparam *param) param 113 drivers/s390/net/qeth_ethtool.c param->rx_max_pending = QDIO_MAX_BUFFERS_PER_Q; param 114 drivers/s390/net/qeth_ethtool.c param->rx_mini_max_pending = 0; param 115 drivers/s390/net/qeth_ethtool.c param->rx_jumbo_max_pending = 0; param 116 drivers/s390/net/qeth_ethtool.c param->tx_max_pending = QDIO_MAX_BUFFERS_PER_Q; param 118 drivers/s390/net/qeth_ethtool.c param->rx_pending = card->qdio.in_buf_pool.buf_count; param 119 drivers/s390/net/qeth_ethtool.c param->rx_mini_pending = 0; param 120 drivers/s390/net/qeth_ethtool.c param->rx_jumbo_pending = 0; param 121 drivers/s390/net/qeth_ethtool.c param->tx_pending = QDIO_MAX_BUFFERS_PER_Q; param 1430 drivers/s390/net/qeth_l2_main.c struct _qeth_sbp_cbctl *cbctl = (struct _qeth_sbp_cbctl *)reply->param; param 1475 drivers/s390/net/qeth_l2_main.c struct _qeth_sbp_cbctl *cbctl = (struct _qeth_sbp_cbctl *)reply->param; param 1725 drivers/s390/net/qeth_l2_main.c (struct _qeth_l2_vnicc_request_cbctl *) reply->param; param 1617 drivers/s390/net/qeth_l3_main.c qinfo = (struct qeth_arp_query_info *) reply->param; param 479 drivers/scsi/3w-9xxx.c TW_Param_Apache *param; param 488 drivers/scsi/3w-9xxx.c command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); param 489 drivers/scsi/3w-9xxx.c command_packet->byte8_offset.param.sgl[0].length = cpu_to_le32(TW_SECTOR_SIZE); param 494 drivers/scsi/3w-9xxx.c param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id]; param 495 drivers/scsi/3w-9xxx.c memset(param, 0, TW_SECTOR_SIZE); param 496 drivers/scsi/3w-9xxx.c param->table_id = cpu_to_le16(TW_TIMEKEEP_TABLE | 0x8000); /* Controller time keep table */ param 497 drivers/scsi/3w-9xxx.c param->parameter_id = cpu_to_le16(0x3); /* SchedulerTime */ param 498 drivers/scsi/3w-9xxx.c param->parameter_size_bytes = cpu_to_le16(4); param 506 drivers/scsi/3w-9xxx.c memcpy(param->data, &schedulertime, sizeof(u32)); param 1061 drivers/scsi/3w-9xxx.c TW_Param_Apache *param; param 1075 drivers/scsi/3w-9xxx.c param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id]; param 1076 drivers/scsi/3w-9xxx.c memset(param, 0, TW_SECTOR_SIZE); param 1077 drivers/scsi/3w-9xxx.c param->table_id = cpu_to_le16(table_id | 0x8000); param 1078 drivers/scsi/3w-9xxx.c param->parameter_id = cpu_to_le16(parameter_id); param 1079 drivers/scsi/3w-9xxx.c param->parameter_size_bytes = cpu_to_le16(parameter_size_bytes); param 1081 drivers/scsi/3w-9xxx.c command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); param 1082 drivers/scsi/3w-9xxx.c command_packet->byte8_offset.param.sgl[0].length = cpu_to_le32(TW_SECTOR_SIZE); param 1091 drivers/scsi/3w-9xxx.c retval = (void *)&(param->data[0]); param 505 drivers/scsi/3w-9xxx.h } param; param 414 drivers/scsi/3w-sas.c TW_Param_Apache *param; param 423 drivers/scsi/3w-sas.c command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); param 424 drivers/scsi/3w-sas.c command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE); param 429 drivers/scsi/3w-sas.c param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id]; param 430 drivers/scsi/3w-sas.c memset(param, 0, TW_SECTOR_SIZE); param 431 drivers/scsi/3w-sas.c param->table_id = cpu_to_le16(TW_TIMEKEEP_TABLE | 0x8000); /* Controller time keep table */ param 432 drivers/scsi/3w-sas.c param->parameter_id = cpu_to_le16(0x3); /* SchedulerTime */ param 433 drivers/scsi/3w-sas.c param->parameter_size_bytes = cpu_to_le16(4); param 441 drivers/scsi/3w-sas.c memcpy(param->data, &schedulertime, sizeof(u32)); param 931 drivers/scsi/3w-sas.c TW_Param_Apache *param; param 945 drivers/scsi/3w-sas.c param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id]; param 946 drivers/scsi/3w-sas.c memset(param, 0, TW_SECTOR_SIZE); param 947 drivers/scsi/3w-sas.c param->table_id = cpu_to_le16(table_id | 0x8000); param 948 drivers/scsi/3w-sas.c param->parameter_id = cpu_to_le16(parameter_id); param 949 drivers/scsi/3w-sas.c param->parameter_size_bytes = cpu_to_le16(parameter_size_bytes); param 951 drivers/scsi/3w-sas.c command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); param 952 drivers/scsi/3w-sas.c command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE); param 961 drivers/scsi/3w-sas.c retval = (void *)&(param->data[0]); param 236 drivers/scsi/3w-sas.h } param; param 544 drivers/scsi/3w-xxxx.c TW_Param *param; param 579 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 580 drivers/scsi/3w-xxxx.c memset(param, 0, sizeof(TW_Sector)); param 581 drivers/scsi/3w-xxxx.c param->table_id = 0x401; /* AEN table */ param 582 drivers/scsi/3w-xxxx.c param->parameter_id = 2; /* Unit code */ param 583 drivers/scsi/3w-xxxx.c param->parameter_size_bytes = 2; param 589 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].address = param_value; param 590 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].length = sizeof(TW_Sector); param 609 drivers/scsi/3w-xxxx.c TW_Param *param; param 618 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 619 drivers/scsi/3w-xxxx.c aen = *(unsigned short *)(param->data); param 674 drivers/scsi/3w-xxxx.c TW_Param *param; param 721 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 722 drivers/scsi/3w-xxxx.c memset(param, 0, sizeof(TW_Sector)); param 723 drivers/scsi/3w-xxxx.c param->table_id = 0x401; /* AEN table */ param 724 drivers/scsi/3w-xxxx.c param->parameter_id = 2; /* Unit code */ param 725 drivers/scsi/3w-xxxx.c param->parameter_size_bytes = 2; param 731 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].address = param_value; param 732 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].length = sizeof(TW_Sector); param 762 drivers/scsi/3w-xxxx.c aen = *(unsigned short *)(param->data); param 967 drivers/scsi/3w-xxxx.c tw_ioctl->firmware_command.byte8.param.sgl[0].address = dma_handle + sizeof(TW_New_Ioctl) - 1; param 968 drivers/scsi/3w-xxxx.c tw_ioctl->firmware_command.byte8.param.sgl[0].length = data_buffer_length_adjusted; param 1137 drivers/scsi/3w-xxxx.c TW_Param *param; param 1151 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1154 drivers/scsi/3w-xxxx.c param->table_id = 0x404; /* Features table */ param 1155 drivers/scsi/3w-xxxx.c param->parameter_id = parm; param 1156 drivers/scsi/3w-xxxx.c param->parameter_size_bytes = param_size; param 1157 drivers/scsi/3w-xxxx.c memcpy(param->data, val, param_size); param 1167 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].address = param_value; param 1168 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].length = sizeof(TW_Sector); param 1402 drivers/scsi/3w-xxxx.c TW_Param *param; param 1428 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1429 drivers/scsi/3w-xxxx.c memset(param, 0, sizeof(TW_Sector)); param 1430 drivers/scsi/3w-xxxx.c param->table_id = 3; /* unit summary table */ param 1431 drivers/scsi/3w-xxxx.c param->parameter_id = 3; /* unitsstatus parameter */ param 1432 drivers/scsi/3w-xxxx.c param->parameter_size_bytes = TW_MAX_UNITS; param 1439 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].address = param_value; param 1440 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].length = sizeof(TW_Sector); param 1464 drivers/scsi/3w-xxxx.c TW_Param *param; param 1479 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1480 drivers/scsi/3w-xxxx.c if (param == NULL) { param 1484 drivers/scsi/3w-xxxx.c is_unit_present = &(param->data[0]); param 1500 drivers/scsi/3w-xxxx.c TW_Param *param; param 1538 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1539 drivers/scsi/3w-xxxx.c memset(param, 0, sizeof(TW_Sector)); param 1540 drivers/scsi/3w-xxxx.c param->table_id = TW_UNIT_INFORMATION_TABLE_BASE + tw_dev->srb[request_id]->device->id; param 1541 drivers/scsi/3w-xxxx.c param->parameter_id = 7; /* unit flags */ param 1542 drivers/scsi/3w-xxxx.c param->parameter_size_bytes = 1; param 1549 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].address = param_value; param 1550 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].length = sizeof(TW_Sector); param 1566 drivers/scsi/3w-xxxx.c TW_Param *param; param 1572 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1573 drivers/scsi/3w-xxxx.c if (param == NULL) { param 1577 drivers/scsi/3w-xxxx.c flags = (char *)&(param->data[0]); param 1599 drivers/scsi/3w-xxxx.c TW_Param *param; param 1627 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1628 drivers/scsi/3w-xxxx.c memset(param, 0, sizeof(TW_Sector)); param 1629 drivers/scsi/3w-xxxx.c param->table_id = TW_UNIT_INFORMATION_TABLE_BASE + param 1631 drivers/scsi/3w-xxxx.c param->parameter_id = 4; /* unitcapacity parameter */ param 1632 drivers/scsi/3w-xxxx.c param->parameter_size_bytes = 4; param 1639 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].address = param_value; param 1640 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].length = sizeof(TW_Sector); param 1659 drivers/scsi/3w-xxxx.c TW_Param *param; param 1664 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1665 drivers/scsi/3w-xxxx.c if (param == NULL) { param 1669 drivers/scsi/3w-xxxx.c param_data = &(param->data[0]); param 1847 drivers/scsi/3w-xxxx.c TW_Param *param; param 1873 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1874 drivers/scsi/3w-xxxx.c memset(param, 0, sizeof(TW_Sector)); param 1875 drivers/scsi/3w-xxxx.c param->table_id = 3; /* unit summary table */ param 1876 drivers/scsi/3w-xxxx.c param->parameter_id = 3; /* unitsstatus parameter */ param 1877 drivers/scsi/3w-xxxx.c param->parameter_size_bytes = TW_MAX_UNITS; param 1884 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].address = param_value; param 1885 drivers/scsi/3w-xxxx.c command_packet->byte8.param.sgl[0].length = sizeof(TW_Sector); param 1902 drivers/scsi/3w-xxxx.c TW_Param *param; param 1906 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; param 1907 drivers/scsi/3w-xxxx.c if (param == NULL) { param 1911 drivers/scsi/3w-xxxx.c is_unit_present = &(param->data[0]); param 313 drivers/scsi/3w-xxxx.h } param; param 378 drivers/scsi/3w-xxxx.h unsigned short param; param 344 drivers/scsi/BusLogic.c void *param, int paramlen, void *reply, int replylen) param 346 drivers/scsi/BusLogic.c unsigned char *param_p = (unsigned char *) param; param 299 drivers/scsi/aacraid/linit.c struct diskparm *param = (struct diskparm *)geom; param 309 drivers/scsi/aacraid/linit.c param->heads = 255; param 310 drivers/scsi/aacraid/linit.c param->sectors = 63; param 312 drivers/scsi/aacraid/linit.c param->heads = 128; param 313 drivers/scsi/aacraid/linit.c param->sectors = 32; param 316 drivers/scsi/aacraid/linit.c param->heads = 64; param 317 drivers/scsi/aacraid/linit.c param->sectors = 32; param 320 drivers/scsi/aacraid/linit.c param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); param 334 drivers/scsi/aacraid/linit.c int saved_cylinders = param->cylinders; param 343 drivers/scsi/aacraid/linit.c param->heads = 64; param 344 drivers/scsi/aacraid/linit.c param->sectors = 32; param 347 drivers/scsi/aacraid/linit.c param->heads = 128; param 348 drivers/scsi/aacraid/linit.c param->sectors = 32; param 351 drivers/scsi/aacraid/linit.c param->heads = 255; param 352 drivers/scsi/aacraid/linit.c param->sectors = 63; param 363 drivers/scsi/aacraid/linit.c param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); param 364 drivers/scsi/aacraid/linit.c if (num < 4 && end_sec == param->sectors) { param 365 drivers/scsi/aacraid/linit.c if (param->cylinders != saved_cylinders) param 367 drivers/scsi/aacraid/linit.c param->heads, param->sectors, num)); param 372 drivers/scsi/aacraid/linit.c param->heads, param->sectors)); param 1538 drivers/scsi/be2iscsi/be_cmds.c ioctl->param.req.param_id = BE_CMD_SET_HOST_PARAM_ID; param 1539 drivers/scsi/be2iscsi/be_cmds.c ioctl->param.req.param_len = param 1540 drivers/scsi/be2iscsi/be_cmds.c snprintf((char *)ioctl->param.req.param_data, param 1541 drivers/scsi/be2iscsi/be_cmds.c sizeof(ioctl->param.req.param_data), param 1543 drivers/scsi/be2iscsi/be_cmds.c ioctl->param.req.param_len = ALIGN(ioctl->param.req.param_len + 1, 4); param 1544 drivers/scsi/be2iscsi/be_cmds.c if (ioctl->param.req.param_len > BE_CMD_MAX_DRV_VERSION) param 1545 drivers/scsi/be2iscsi/be_cmds.c ioctl->param.req.param_len = BE_CMD_MAX_DRV_VERSION; param 1582 drivers/scsi/be2iscsi/be_cmds.c ioctl->param_len = sizeof(ioctl->param.req); param 1583 drivers/scsi/be2iscsi/be_cmds.c ioctl->param.req.uer = BE_CMD_UER_SUPP_BIT; param 1586 drivers/scsi/be2iscsi/be_cmds.c phba->ue2rp = ioctl->param.resp.ue2rp; param 757 drivers/scsi/be2iscsi/be_cmds.h } param; param 785 drivers/scsi/be2iscsi/be_cmds.h } param; param 314 drivers/scsi/be2iscsi/be_iscsi.c switch (iface_param->param) { param 340 drivers/scsi/be2iscsi/be_iscsi.c switch (info->param) { param 402 drivers/scsi/be2iscsi/be_iscsi.c switch (iface_param->param) { param 464 drivers/scsi/be2iscsi/be_iscsi.c "ipv4" : "ipv6", iface_param->param); param 467 drivers/scsi/be2iscsi/be_iscsi.c switch (iface_param->param) { param 492 drivers/scsi/be2iscsi/be_iscsi.c iface_param->param); param 504 drivers/scsi/be2iscsi/be_iscsi.c int param, char *buf) param 516 drivers/scsi/be2iscsi/be_iscsi.c switch (param) { param 563 drivers/scsi/be2iscsi/be_iscsi.c int param, char *buf) param 578 drivers/scsi/be2iscsi/be_iscsi.c switch (param) { param 586 drivers/scsi/be2iscsi/be_iscsi.c len = __beiscsi_iface_get_param(phba, iface, param, buf); param 616 drivers/scsi/be2iscsi/be_iscsi.c enum iscsi_param param, char *buf) param 624 drivers/scsi/be2iscsi/be_iscsi.c " param= %d\n", param); param 626 drivers/scsi/be2iscsi/be_iscsi.c switch (param) { param 643 drivers/scsi/be2iscsi/be_iscsi.c enum iscsi_param param, char *buf, int buflen) param 653 drivers/scsi/be2iscsi/be_iscsi.c " param= %d\n", param); param 655 drivers/scsi/be2iscsi/be_iscsi.c ret = iscsi_set_param(cls_conn, param, buf, buflen); param 662 drivers/scsi/be2iscsi/be_iscsi.c switch (param) { param 742 drivers/scsi/be2iscsi/be_iscsi.c enum iscsi_host_param param, char *buf) param 753 drivers/scsi/be2iscsi/be_iscsi.c "BS_%d : In beiscsi_get_host_param, param = %d\n", param); param 755 drivers/scsi/be2iscsi/be_iscsi.c switch (param) { param 785 drivers/scsi/be2iscsi/be_iscsi.c return iscsi_host_get_param(shost, param, buf); param 1340 drivers/scsi/be2iscsi/be_iscsi.c umode_t beiscsi_attr_is_visible(int param_type, int param) param 1344 drivers/scsi/be2iscsi/be_iscsi.c switch (param) { param 1359 drivers/scsi/be2iscsi/be_iscsi.c switch (param) { param 1369 drivers/scsi/be2iscsi/be_iscsi.c switch (param) { param 22 drivers/scsi/be2iscsi/be_iscsi.h int param, char *buf); param 27 drivers/scsi/be2iscsi/be_iscsi.h umode_t beiscsi_attr_is_visible(int param_type, int param); param 52 drivers/scsi/be2iscsi/be_iscsi.h int beiscsi_ep_get_param(struct iscsi_endpoint *ep, enum iscsi_param param, param 56 drivers/scsi/be2iscsi/be_iscsi.h enum iscsi_host_param param, char *buf); param 61 drivers/scsi/be2iscsi/be_iscsi.h enum iscsi_param param, char *buf, int buflen); param 4444 drivers/scsi/bfa/bfa_ioc.c u32 param; param 4445 drivers/scsi/bfa/bfa_ioc.c param = be32_to_cpu(m.event->param); param 4446 drivers/scsi/bfa/bfa_ioc.c bfa_trc(flash, param); param 381 drivers/scsi/bfa/bfad_bsg.c cmd->status = bfa_fcport_cfg_topology(&bfad->bfa, cmd->param); param 383 drivers/scsi/bfa/bfad_bsg.c cmd->status = bfa_fcport_cfg_speed(&bfad->bfa, cmd->param); param 385 drivers/scsi/bfa/bfad_bsg.c cmd->status = bfa_fcport_cfg_hardalpa(&bfad->bfa, cmd->param); param 988 drivers/scsi/bfa/bfad_bsg.c bfa_fcpim_path_tov_set(&bfad->bfa, iocmd->param); param 270 drivers/scsi/bfa/bfad_bsg.h u32 param; param 415 drivers/scsi/bfa/bfad_bsg.h u16 param; param 986 drivers/scsi/bfa/bfi.h u32 param; param 811 drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h __le32 param; param 1522 drivers/scsi/bnx2i/bnx2i_iscsi.c enum iscsi_param param, char *buf) param 1531 drivers/scsi/bnx2i/bnx2i_iscsi.c switch (param) { param 1558 drivers/scsi/bnx2i/bnx2i_iscsi.c enum iscsi_host_param param, char *buf) param 1563 drivers/scsi/bnx2i/bnx2i_iscsi.c switch (param) { param 1591 drivers/scsi/bnx2i/bnx2i_iscsi.c return iscsi_host_get_param(shost, param, buf); param 2190 drivers/scsi/bnx2i/bnx2i_iscsi.c static umode_t bnx2i_attr_is_visible(int param_type, int param) param 2194 drivers/scsi/bnx2i/bnx2i_iscsi.c switch (param) { param 2203 drivers/scsi/bnx2i/bnx2i_iscsi.c switch (param) { param 1359 drivers/scsi/csiostor/csio_hw.c u32 param[6]; param 1373 drivers/scsi/csiostor/csio_hw.c param[0] = FW_PARAM_DEV(PORTVEC); param 1376 drivers/scsi/csiostor/csio_hw.c param[1] = FW_PARAM_DEV(CCLK); param 1379 drivers/scsi/csiostor/csio_hw.c param[2] = FW_PARAM_PFVF(EQ_START); param 1380 drivers/scsi/csiostor/csio_hw.c param[3] = FW_PARAM_PFVF(EQ_END); param 1383 drivers/scsi/csiostor/csio_hw.c param[4] = FW_PARAM_PFVF(IQFLINT_START); param 1384 drivers/scsi/csiostor/csio_hw.c param[5] = FW_PARAM_PFVF(IQFLINT_END); param 1387 drivers/scsi/csiostor/csio_hw.c ARRAY_SIZE(param), param, NULL, false, NULL); param 1395 drivers/scsi/csiostor/csio_hw.c ARRAY_SIZE(param), param); param 1404 drivers/scsi/csiostor/csio_hw.c hw->port_vec = param[0]; param 1405 drivers/scsi/csiostor/csio_hw.c hw->vpd.cclk = param[1]; param 1406 drivers/scsi/csiostor/csio_hw.c wrm->fw_eq_start = param[2]; param 1407 drivers/scsi/csiostor/csio_hw.c wrm->fw_iq_start = param[4]; param 1412 drivers/scsi/csiostor/csio_hw.c hw->cfg_niq = param[5] - param[4] + 1; param 1413 drivers/scsi/csiostor/csio_hw.c hw->cfg_neq = param[3] - param[2] + 1; param 1795 drivers/scsi/csiostor/csio_hw.c u32 param, val; param 1797 drivers/scsi/csiostor/csio_hw.c param = (FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_PFVF) | param 1802 drivers/scsi/csiostor/csio_hw.c hw->pfn, 0, 1, ¶m, &val, true, param 1925 drivers/scsi/csiostor/csio_hw.c csio_hw_check_fwconfig(struct csio_hw *hw, u32 *param) param 1962 drivers/scsi/csiostor/csio_hw.c *param = _param[0]; param 2481 drivers/scsi/csiostor/csio_hw.c u32 param[1]; param 2545 drivers/scsi/csiostor/csio_hw.c rv = csio_hw_check_fwconfig(hw, param); param 2556 drivers/scsi/csiostor/csio_hw.c rv = csio_hw_use_fwconfig(hw, reset, param); param 201 drivers/scsi/csiostor/csio_mb.c __be32 *p = &cmdp->param[0].mnem; param 246 drivers/scsi/csiostor/csio_mb.c __be32 *p = &rsp->param[0].val; param 81 drivers/scsi/csiostor/csio_mb.h #define FW_PARAM_DEV(param) \ param 83 drivers/scsi/csiostor/csio_mb.h FW_PARAMS_PARAM_X_V(FW_PARAMS_PARAM_DEV_##param)) param 85 drivers/scsi/csiostor/csio_mb.h #define FW_PARAM_PFVF(param) \ param 87 drivers/scsi/csiostor/csio_mb.h FW_PARAMS_PARAM_X_V(FW_PARAMS_PARAM_PFVF_##param)| \ param 367 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c req->param = htonl(V_TX_PORT(l2t->smt_idx)); param 373 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c req->param |= htonl(V_TX_SNDBUF(csk->snd_win >> 15)); param 2242 drivers/scsi/cxgbi/libcxgbi.c enum iscsi_param param, char *buf, int buflen) param 2252 drivers/scsi/cxgbi/libcxgbi.c cls_conn, param, buflen, buf); param 2254 drivers/scsi/cxgbi/libcxgbi.c switch (param) { param 2256 drivers/scsi/cxgbi/libcxgbi.c err = iscsi_set_param(cls_conn, param, buf, buflen); param 2263 drivers/scsi/cxgbi/libcxgbi.c err = iscsi_set_param(cls_conn, param, buf, buflen); param 2272 drivers/scsi/cxgbi/libcxgbi.c err = iscsi_set_param(cls_conn, param, buf, buflen); param 2277 drivers/scsi/cxgbi/libcxgbi.c err = iscsi_set_param(cls_conn, param, buf, buflen); param 2282 drivers/scsi/cxgbi/libcxgbi.c return iscsi_set_param(cls_conn, param, buf, buflen); param 2316 drivers/scsi/cxgbi/libcxgbi.c int cxgbi_get_ep_param(struct iscsi_endpoint *ep, enum iscsi_param param, param 2323 drivers/scsi/cxgbi/libcxgbi.c "cls_conn 0x%p, param %d.\n", ep, param); param 2325 drivers/scsi/cxgbi/libcxgbi.c switch (param) { param 2336 drivers/scsi/cxgbi/libcxgbi.c &csk->daddr, param, buf); param 2476 drivers/scsi/cxgbi/libcxgbi.c int cxgbi_set_host_param(struct Scsi_Host *shost, enum iscsi_host_param param, param 2489 drivers/scsi/cxgbi/libcxgbi.c shost, chba, chba->ndev->name, param, buflen, buf); param 2491 drivers/scsi/cxgbi/libcxgbi.c switch (param) { param 2504 drivers/scsi/cxgbi/libcxgbi.c return iscsi_host_set_param(shost, param, buf, buflen); param 2509 drivers/scsi/cxgbi/libcxgbi.c int cxgbi_get_host_param(struct Scsi_Host *shost, enum iscsi_host_param param, param 2523 drivers/scsi/cxgbi/libcxgbi.c shost, chba, chba->ndev->name, param); param 2525 drivers/scsi/cxgbi/libcxgbi.c switch (param) { param 2545 drivers/scsi/cxgbi/libcxgbi.c return iscsi_host_get_param(shost, param, buf); param 2718 drivers/scsi/cxgbi/libcxgbi.c umode_t cxgbi_attr_is_visible(int param_type, int param) param 2722 drivers/scsi/cxgbi/libcxgbi.c switch (param) { param 2732 drivers/scsi/cxgbi/libcxgbi.c switch (param) { param 589 drivers/scsi/cxgbi/libcxgbi.h umode_t cxgbi_attr_is_visible(int param_type, int param); param 986 drivers/scsi/ips.c if (le32_to_cpu(ha->subsys->param[3]) & 0x300000) { param 2469 drivers/scsi/ips.c if (le32_to_cpu(ha->subsys->param[4]) & 0x1) { param 2543 drivers/scsi/ips.c if ((ha->subsys->param[3] & 0x300000) param 3733 drivers/scsi/ips.c if (ha->subsys->param[4] & 0x00100000) { /* If NEW Tape DCDB is Supported */ param 787 drivers/scsi/ips.h uint32_t param[128]; param 707 drivers/scsi/iscsi_tcp.c enum iscsi_param param, char *buf, param 714 drivers/scsi/iscsi_tcp.c switch(param) { param 716 drivers/scsi/iscsi_tcp.c iscsi_set_param(cls_conn, param, buf, buflen); param 719 drivers/scsi/iscsi_tcp.c iscsi_set_param(cls_conn, param, buf, buflen); param 726 drivers/scsi/iscsi_tcp.c return iscsi_set_param(cls_conn, param, buf, buflen); param 733 drivers/scsi/iscsi_tcp.c enum iscsi_param param, char *buf) param 741 drivers/scsi/iscsi_tcp.c switch(param) { param 750 drivers/scsi/iscsi_tcp.c if (param == ISCSI_PARAM_LOCAL_PORT) param 761 drivers/scsi/iscsi_tcp.c &addr, param, buf); param 763 drivers/scsi/iscsi_tcp.c return iscsi_conn_get_param(cls_conn, param, buf); param 770 drivers/scsi/iscsi_tcp.c enum iscsi_host_param param, char *buf) param 780 drivers/scsi/iscsi_tcp.c switch (param) { param 807 drivers/scsi/iscsi_tcp.c (enum iscsi_param)param, buf); param 809 drivers/scsi/iscsi_tcp.c return iscsi_host_get_param(shost, param, buf); param 902 drivers/scsi/iscsi_tcp.c static umode_t iscsi_sw_tcp_attr_is_visible(int param_type, int param) param 906 drivers/scsi/iscsi_tcp.c switch (param) { param 916 drivers/scsi/iscsi_tcp.c switch (param) { param 3186 drivers/scsi/libiscsi.c int iscsi_switch_str_param(char **param, char *new_val_buf) param 3190 drivers/scsi/libiscsi.c if (*param) { param 3191 drivers/scsi/libiscsi.c if (!strcmp(*param, new_val_buf)) param 3199 drivers/scsi/libiscsi.c kfree(*param); param 3200 drivers/scsi/libiscsi.c *param = new_val; param 3206 drivers/scsi/libiscsi.c enum iscsi_param param, char *buf, int buflen) param 3212 drivers/scsi/libiscsi.c switch(param) { param 3320 drivers/scsi/libiscsi.c enum iscsi_param param, char *buf) param 3325 drivers/scsi/libiscsi.c switch(param) { param 3456 drivers/scsi/libiscsi.c enum iscsi_param param, char *buf) param 3473 drivers/scsi/libiscsi.c switch (param) { param 3498 drivers/scsi/libiscsi.c enum iscsi_param param, char *buf) param 3503 drivers/scsi/libiscsi.c switch(param) { param 3596 drivers/scsi/libiscsi.c int iscsi_host_get_param(struct Scsi_Host *shost, enum iscsi_host_param param, param 3602 drivers/scsi/libiscsi.c switch (param) { param 3620 drivers/scsi/libiscsi.c int iscsi_host_set_param(struct Scsi_Host *shost, enum iscsi_host_param param, param 3625 drivers/scsi/libiscsi.c switch (param) { param 6083 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_filter_by_rpi(struct lpfc_nodelist *ndlp, void *param) param 6085 drivers/scsi/lpfc/lpfc_hbadisc.c uint16_t *rpi = param; param 6095 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_filter_by_wwpn(struct lpfc_nodelist *ndlp, void *param) param 6097 drivers/scsi/lpfc/lpfc_hbadisc.c return memcmp(&ndlp->nlp_portname, param, param 6102 drivers/scsi/lpfc/lpfc_hbadisc.c __lpfc_find_node(struct lpfc_vport *vport, node_filter filter, void *param) param 6107 drivers/scsi/lpfc/lpfc_hbadisc.c if (filter(ndlp, param)) { param 3932 drivers/scsi/lpfc/lpfc_hw.h uint32_t param; param 751 drivers/scsi/lpfc/lpfc_mbox.c uint8_t *param, LPFC_MBOXQ_t *pmb, uint16_t rpi) param 783 drivers/scsi/lpfc/lpfc_mbox.c memcpy(sparam, param, sizeof (struct serv_parm)); param 1646 drivers/scsi/mvumi.c struct mvumi_hotplug_event *param) param 1648 drivers/scsi/mvumi.c u16 size = param->size; param 1655 drivers/scsi/mvumi.c ar_bitmap = (const unsigned long *) param->bitmap; param 1656 drivers/scsi/mvumi.c re_bitmap = (const unsigned long *) ¶m->bitmap[size >> 3]; param 1681 drivers/scsi/mvumi.c struct mvumi_driver_event *param = NULL; param 1691 drivers/scsi/mvumi.c param = &er->events[i]; param 1692 drivers/scsi/mvumi.c mvumi_show_event(mhba, param); param 1758 drivers/scsi/mvumi.c mu_ev->param = NULL; param 159 drivers/scsi/mvumi.h void *param; param 448 drivers/scsi/nsp32.c nsp32_autoparam *param = data->autoparam; param 502 drivers/scsi/nsp32.c memset(param, 0, sizeof(nsp32_autoparam)); param 506 drivers/scsi/nsp32.c param->cdb[4 * i] = SCpnt->cmnd[i]; param 510 drivers/scsi/nsp32.c param->msgout = cpu_to_le32(msgout); param 513 drivers/scsi/nsp32.c param->syncreg = data->cur_target->syncreg; param 514 drivers/scsi/nsp32.c param->ackwidth = data->cur_target->ackwidth; param 515 drivers/scsi/nsp32.c param->target_id = BIT(host_id) | BIT(target); param 516 drivers/scsi/nsp32.c param->sample_reg = data->cur_target->sample_reg; param 521 drivers/scsi/nsp32.c param->command_control = cpu_to_le16(CLEAR_CDB_FIFO_POINTER | param 549 drivers/scsi/nsp32.c param->transfer_control = cpu_to_le16(s); param 552 drivers/scsi/nsp32.c param->sgt_pointer = cpu_to_le32(data->cur_lunt->sglun_paddr); param 1860 drivers/scsi/pm8001/pm8001_hwi.c u32 param; param 1876 drivers/scsi/pm8001/pm8001_hwi.c param = le32_to_cpu(psspPayload->param); param 1896 drivers/scsi/pm8001/pm8001_hwi.c ",param = %d\n", param)); param 1897 drivers/scsi/pm8001/pm8001_hwi.c if (param == 0) { param 1903 drivers/scsi/pm8001/pm8001_hwi.c ts->residual = param; param 1919 drivers/scsi/pm8001/pm8001_hwi.c ",param = %d\n", param)); param 1922 drivers/scsi/pm8001/pm8001_hwi.c ts->residual = param; param 2298 drivers/scsi/pm8001/pm8001_hwi.c u32 param; param 2323 drivers/scsi/pm8001/pm8001_hwi.c param = le32_to_cpu(psataPayload->param); param 2398 drivers/scsi/pm8001/pm8001_hwi.c if (param == 0) { param 2418 drivers/scsi/pm8001/pm8001_hwi.c ts->residual = param; param 2421 drivers/scsi/pm8001/pm8001_hwi.c param)); param 2461 drivers/scsi/pm8001/pm8001_hwi.c pm8001_printk("IO_UNDERFLOW param = %d\n", param)); param 2464 drivers/scsi/pm8001/pm8001_hwi.c ts->residual = param; param 219 drivers/scsi/pm8001/pm8001_hwi.h __le32 param; param 340 drivers/scsi/pm8001/pm8001_hwi.h __le32 param; param 421 drivers/scsi/pm8001/pm8001_hwi.h __le32 param; param 1548 drivers/scsi/pm8001/pm80xx_hwi.c u32 param; param 1564 drivers/scsi/pm8001/pm80xx_hwi.c param = le32_to_cpu(psspPayload->param); param 1584 drivers/scsi/pm8001/pm80xx_hwi.c param)); param 1585 drivers/scsi/pm8001/pm80xx_hwi.c if (param == 0) { param 1591 drivers/scsi/pm8001/pm80xx_hwi.c ts->residual = param; param 1608 drivers/scsi/pm8001/pm80xx_hwi.c param)); param 1611 drivers/scsi/pm8001/pm80xx_hwi.c ts->residual = param; param 2009 drivers/scsi/pm8001/pm80xx_hwi.c u32 param; param 2033 drivers/scsi/pm8001/pm80xx_hwi.c param = le32_to_cpu(psataPayload->param); param 2109 drivers/scsi/pm8001/pm80xx_hwi.c if (param == 0) { param 2129 drivers/scsi/pm8001/pm80xx_hwi.c ts->residual = param; param 2132 drivers/scsi/pm8001/pm80xx_hwi.c param)); param 2172 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_printk("IO_UNDERFLOW param = %d\n", param)); param 2175 drivers/scsi/pm8001/pm80xx_hwi.c ts->residual = param; param 2634 drivers/scsi/pm8001/pm80xx_hwi.c u32 param, i; param 2650 drivers/scsi/pm8001/pm80xx_hwi.c param = le32_to_cpu(psmpPayload->param); param 2671 drivers/scsi/pm8001/pm80xx_hwi.c param)); param 2675 drivers/scsi/pm8001/pm80xx_hwi.c for (i = 0; i < param; i++) { param 413 drivers/scsi/pm8001/pm80xx_hwi.h __le32 param; param 556 drivers/scsi/pm8001/pm80xx_hwi.h __le32 param; param 656 drivers/scsi/pm8001/pm80xx_hwi.h __le32 param; param 612 drivers/scsi/qedi/qedi_iscsi.c enum iscsi_param param, char *buf) param 620 drivers/scsi/qedi/qedi_iscsi.c switch (param) { param 638 drivers/scsi/qedi/qedi_iscsi.c enum iscsi_host_param param, char *buf) param 645 drivers/scsi/qedi/qedi_iscsi.c switch (param) { param 659 drivers/scsi/qedi/qedi_iscsi.c return iscsi_host_get_param(shost, param, buf); param 1309 drivers/scsi/qedi/qedi_iscsi.c static umode_t qedi_attr_is_visible(int param_type, int param) param 1313 drivers/scsi/qedi/qedi_iscsi.c switch (param) { param 1322 drivers/scsi/qedi/qedi_iscsi.c switch (param) { param 3107 drivers/scsi/qla2xxx/qla_def.h uint8_t param[36]; param 1015 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = fcport->d_id.b.al_pa; param 1016 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = fcport->d_id.b.area; param 1017 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = fcport->d_id.b.domain; param 1086 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = NS_NX_PORT_TYPE; param 1154 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = list[i].d_id.b.al_pa; param 1155 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = list[i].d_id.b.area; param 1156 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = list[i].d_id.b.domain; param 1210 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = list[i].d_id.b.al_pa; param 1211 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = list[i].d_id.b.area; param 1212 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = list[i].d_id.b.domain; param 1270 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; param 1271 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = vha->d_id.b.area; param 1272 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = vha->d_id.b.domain; param 1274 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[5] = 0x01; /* FCP-3 */ param 1319 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; param 1320 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[1] = vha->d_id.b.area; param 1321 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[2] = vha->d_id.b.domain; param 1323 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[4] = vha->node_name[7]; param 1324 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[5] = vha->node_name[6]; param 1325 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[6] = vha->node_name[5]; param 1326 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[7] = vha->node_name[4]; param 1327 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[8] = vha->node_name[3]; param 1328 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[9] = vha->node_name[2]; param 1329 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[10] = vha->node_name[1]; param 1330 drivers/scsi/qla2xxx/qla_gs.c sns_cmd->p.cmd.param[11] = vha->node_name[0]; param 130 drivers/scsi/qla2xxx/qla_nvme.h uint32_t param; param 1623 drivers/scsi/qla2xxx/qla_target.c const void *param, unsigned int param_size) param 1639 drivers/scsi/qla2xxx/qla_target.c type, prm, param, param_size, tgt); param 1642 drivers/scsi/qla2xxx/qla_target.c memcpy(&prm->tm_iocb, param, param_size); param 260 drivers/scsi/qla4xxx/ql4_glbl.h int qla4_8xxx_set_param(struct scsi_qla_host *ha, int param); param 2274 drivers/scsi/qla4xxx/ql4_mbx.c int qla4_8xxx_set_param(struct scsi_qla_host *ha, int param) param 2284 drivers/scsi/qla4xxx/ql4_mbx.c if (param == SET_DRVR_VERSION) { param 2290 drivers/scsi/qla4xxx/ql4_mbx.c __func__, param); param 110 drivers/scsi/qla4xxx/ql4_os.c enum iscsi_param param, char *buf); param 112 drivers/scsi/qla4xxx/ql4_os.c enum iscsi_param param, char *buf); param 114 drivers/scsi/qla4xxx/ql4_os.c enum iscsi_host_param param, char *buf); param 119 drivers/scsi/qla4xxx/ql4_os.c int param, char *buf); param 127 drivers/scsi/qla4xxx/ql4_os.c enum iscsi_param param, char *buf); param 165 drivers/scsi/qla4xxx/ql4_os.c static umode_t qla4_attr_is_visible(int param_type, int param); param 177 drivers/scsi/qla4xxx/ql4_os.c int param, char *buf); param 362 drivers/scsi/qla4xxx/ql4_os.c static umode_t qla4_attr_is_visible(int param_type, int param) param 366 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 377 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 441 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 497 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 521 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 944 drivers/scsi/qla4xxx/ql4_os.c switch (param_info->param) { param 1233 drivers/scsi/qla4xxx/ql4_os.c int param, char *buf) param 1242 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 1568 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 1749 drivers/scsi/qla4xxx/ql4_os.c enum iscsi_param param, param 1763 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 1771 drivers/scsi/qla4xxx/ql4_os.c &qla_ep->dst_addr, param, buf); param 1901 drivers/scsi/qla4xxx/ql4_os.c enum iscsi_host_param param, char *buf) param 1906 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 2011 drivers/scsi/qla4xxx/ql4_os.c switch (iface_param->param) { param 2247 drivers/scsi/qla4xxx/ql4_os.c iface_param->param); param 2256 drivers/scsi/qla4xxx/ql4_os.c switch (iface_param->param) { param 2505 drivers/scsi/qla4xxx/ql4_os.c iface_param->param); param 2514 drivers/scsi/qla4xxx/ql4_os.c switch (iface_param->param) { param 2667 drivers/scsi/qla4xxx/ql4_os.c iface_param->param); param 2817 drivers/scsi/qla4xxx/ql4_os.c enum iscsi_param param, char *buf) param 2828 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 2880 drivers/scsi/qla4xxx/ql4_os.c return iscsi_session_get_param(cls_sess, param, buf); param 2887 drivers/scsi/qla4xxx/ql4_os.c enum iscsi_param param, char *buf) param 2897 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 2901 drivers/scsi/qla4xxx/ql4_os.c dst_addr, param, buf); param 2903 drivers/scsi/qla4xxx/ql4_os.c return iscsi_conn_get_param(cls_conn, param, buf); param 7828 drivers/scsi/qla4xxx/ql4_os.c int param, char *buf) param 7844 drivers/scsi/qla4xxx/ql4_os.c switch (param) { param 8098 drivers/scsi/qla4xxx/ql4_os.c switch (fnode_param->param) { param 177 drivers/scsi/qlogicpti.c static int qlogicpti_mbox_command(struct qlogicpti *qpti, u_short param[], int force) param 182 drivers/scsi/qlogicpti.c if (mbox_param[param[0]] == 0) param 201 drivers/scsi/qlogicpti.c switch (mbox_param[param[0]] >> 4) { param 202 drivers/scsi/qlogicpti.c case 6: sbus_writew(param[5], qpti->qregs + MBOX5); param 204 drivers/scsi/qlogicpti.c case 5: sbus_writew(param[4], qpti->qregs + MBOX4); param 206 drivers/scsi/qlogicpti.c case 4: sbus_writew(param[3], qpti->qregs + MBOX3); param 208 drivers/scsi/qlogicpti.c case 3: sbus_writew(param[2], qpti->qregs + MBOX2); param 210 drivers/scsi/qlogicpti.c case 2: sbus_writew(param[1], qpti->qregs + MBOX1); param 212 drivers/scsi/qlogicpti.c case 1: sbus_writew(param[0], qpti->qregs + MBOX0); param 235 drivers/scsi/qlogicpti.c qpti->qpti_id, param[0]); param 249 drivers/scsi/qlogicpti.c qpti->qpti_id, param[0]); param 257 drivers/scsi/qlogicpti.c qpti->qpti_id, param[0]); param 260 drivers/scsi/qlogicpti.c switch (mbox_param[param[0]] & 0xf) { param 261 drivers/scsi/qlogicpti.c case 6: param[5] = sbus_readw(qpti->qregs + MBOX5); param 263 drivers/scsi/qlogicpti.c case 5: param[4] = sbus_readw(qpti->qregs + MBOX4); param 265 drivers/scsi/qlogicpti.c case 4: param[3] = sbus_readw(qpti->qregs + MBOX3); param 267 drivers/scsi/qlogicpti.c case 3: param[2] = sbus_readw(qpti->qregs + MBOX2); param 269 drivers/scsi/qlogicpti.c case 2: param[1] = sbus_readw(qpti->qregs + MBOX1); param 271 drivers/scsi/qlogicpti.c case 1: param[0] = sbus_readw(qpti->qregs + MBOX0); param 329 drivers/scsi/qlogicpti.c u_short param[6]; param 380 drivers/scsi/qlogicpti.c param[0] = MBOX_EXEC_FIRMWARE; param 381 drivers/scsi/qlogicpti.c param[1] = risc_code_addr; param 382 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1)) { param 390 drivers/scsi/qlogicpti.c param[0] = MBOX_SET_INIT_SCSI_ID; param 391 drivers/scsi/qlogicpti.c param[1] = qpti->host_param.initiator_scsi_id; param 392 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1) || param 393 drivers/scsi/qlogicpti.c (param[0] != MBOX_COMMAND_COMPLETE)) { param 403 drivers/scsi/qlogicpti.c param[0] = MBOX_INIT_RES_QUEUE; param 404 drivers/scsi/qlogicpti.c param[1] = RES_QUEUE_LEN + 1; param 405 drivers/scsi/qlogicpti.c param[2] = (u_short) (qpti->res_dvma >> 16); param 406 drivers/scsi/qlogicpti.c param[3] = (u_short) (qpti->res_dvma & 0xffff); param 407 drivers/scsi/qlogicpti.c param[4] = param[5] = 0; param 408 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1)) { param 415 drivers/scsi/qlogicpti.c param[0] = MBOX_INIT_REQ_QUEUE; param 416 drivers/scsi/qlogicpti.c param[1] = QLOGICPTI_REQ_QUEUE_LEN + 1; param 417 drivers/scsi/qlogicpti.c param[2] = (u_short) (qpti->req_dvma >> 16); param 418 drivers/scsi/qlogicpti.c param[3] = (u_short) (qpti->req_dvma & 0xffff); param 419 drivers/scsi/qlogicpti.c param[4] = param[5] = 0; param 420 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1)) { param 427 drivers/scsi/qlogicpti.c param[0] = MBOX_SET_RETRY_COUNT; param 428 drivers/scsi/qlogicpti.c param[1] = qpti->host_param.retry_count; param 429 drivers/scsi/qlogicpti.c param[2] = qpti->host_param.retry_delay; param 430 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 0); param 432 drivers/scsi/qlogicpti.c param[0] = MBOX_SET_TAG_AGE_LIMIT; param 433 drivers/scsi/qlogicpti.c param[1] = qpti->host_param.tag_aging; param 434 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 0); param 437 drivers/scsi/qlogicpti.c param[0] = MBOX_GET_DEV_QUEUE_PARAMS; param 438 drivers/scsi/qlogicpti.c param[1] = (i << 8); param 439 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 0); param 442 drivers/scsi/qlogicpti.c param[0] = MBOX_GET_FIRMWARE_STATUS; param 443 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 0); param 445 drivers/scsi/qlogicpti.c param[0] = MBOX_SET_SELECT_TIMEOUT; param 446 drivers/scsi/qlogicpti.c param[1] = qpti->host_param.selection_timeout; param 447 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 0); param 450 drivers/scsi/qlogicpti.c param[0] = MBOX_SET_TARGET_PARAMS; param 451 drivers/scsi/qlogicpti.c param[1] = (i << 8); param 452 drivers/scsi/qlogicpti.c param[2] = (qpti->dev_param[i].device_flags << 8); param 456 drivers/scsi/qlogicpti.c param[2] |= 0xc0; param 457 drivers/scsi/qlogicpti.c param[3] = 0; /* no offset, we do not have sync mode yet */ param 458 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 0); param 464 drivers/scsi/qlogicpti.c param[0] = MBOX_BUS_RESET; param 465 drivers/scsi/qlogicpti.c param[1] = qpti->host_param.bus_reset_delay; param 466 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 0); param 482 drivers/scsi/qlogicpti.c unsigned short param[6]; param 559 drivers/scsi/qlogicpti.c param[0] = MBOX_STOP_FIRMWARE; param 560 drivers/scsi/qlogicpti.c param[1] = param[2] = param[3] = param[4] = param[5] = 0; param 561 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1)) { param 570 drivers/scsi/qlogicpti.c param[0] = MBOX_WRITE_RAM_WORD; param 571 drivers/scsi/qlogicpti.c param[1] = risc_code_addr + i; param 572 drivers/scsi/qlogicpti.c param[2] = __le16_to_cpu(fw_data[i]); param 573 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1) || param 574 drivers/scsi/qlogicpti.c param[0] != MBOX_COMMAND_COMPLETE) { param 591 drivers/scsi/qlogicpti.c param[0] = MBOX_VERIFY_CHECKSUM; param 592 drivers/scsi/qlogicpti.c param[1] = risc_code_addr; param 593 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1) || param 594 drivers/scsi/qlogicpti.c (param[0] != MBOX_COMMAND_COMPLETE)) { param 602 drivers/scsi/qlogicpti.c param[0] = MBOX_EXEC_FIRMWARE; param 603 drivers/scsi/qlogicpti.c param[1] = risc_code_addr; param 604 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 1); param 606 drivers/scsi/qlogicpti.c param[0] = MBOX_ABOUT_FIRMWARE; param 607 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1) || param 608 drivers/scsi/qlogicpti.c (param[0] != MBOX_COMMAND_COMPLETE)) { param 616 drivers/scsi/qlogicpti.c qpti->fware_majrev = param[1]; param 617 drivers/scsi/qlogicpti.c qpti->fware_minrev = param[2]; param 618 drivers/scsi/qlogicpti.c qpti->fware_micrev = param[3]; param 621 drivers/scsi/qlogicpti.c param[0] = MBOX_SET_CLOCK_RATE; param 622 drivers/scsi/qlogicpti.c param[1] = qpti->clock; param 623 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 1) || param 624 drivers/scsi/qlogicpti.c (param[0] != MBOX_COMMAND_COMPLETE)) { param 633 drivers/scsi/qlogicpti.c param[0] = MBOX_WRITE_RAM_WORD; param 634 drivers/scsi/qlogicpti.c param[1] = 0xff80; param 635 drivers/scsi/qlogicpti.c param[2] = (unsigned short) qpti->scsi_id; param 636 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 1); param 638 drivers/scsi/qlogicpti.c param[0] = MBOX_WRITE_RAM_WORD; param 639 drivers/scsi/qlogicpti.c param[1] = 0xff00; param 640 drivers/scsi/qlogicpti.c param[2] = (unsigned short) 3; param 641 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 1); param 981 drivers/scsi/qlogicpti.c u_short param[6]; param 995 drivers/scsi/qlogicpti.c param[0] = MBOX_SET_TARGET_PARAMS; param 996 drivers/scsi/qlogicpti.c param[1] = (tgt << 8); param 997 drivers/scsi/qlogicpti.c param[2] = (qpti->dev_param[tgt].device_flags << 8); param 999 drivers/scsi/qlogicpti.c param[3] = (qpti->dev_param[tgt].synchronous_offset << 8) | param 1002 drivers/scsi/qlogicpti.c param[3] = 0; param 1004 drivers/scsi/qlogicpti.c qlogicpti_mbox_command(qpti, param, 0); param 1228 drivers/scsi/qlogicpti.c u_short param[6]; param 1248 drivers/scsi/qlogicpti.c param[0] = MBOX_ABORT; param 1249 drivers/scsi/qlogicpti.c param[1] = (((u_short) Cmnd->device->id) << 8) | Cmnd->device->lun; param 1250 drivers/scsi/qlogicpti.c param[2] = cmd_cookie >> 16; param 1251 drivers/scsi/qlogicpti.c param[3] = cmd_cookie & 0xffff; param 1252 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 0) || param 1253 drivers/scsi/qlogicpti.c (param[0] != MBOX_COMMAND_COMPLETE)) { param 1255 drivers/scsi/qlogicpti.c qpti->qpti_id, param[0]); param 1266 drivers/scsi/qlogicpti.c u_short param[6]; param 1276 drivers/scsi/qlogicpti.c param[0] = MBOX_BUS_RESET; param 1277 drivers/scsi/qlogicpti.c param[1] = qpti->host_param.bus_reset_delay; param 1278 drivers/scsi/qlogicpti.c if (qlogicpti_mbox_command(qpti, param, 0) || param 1279 drivers/scsi/qlogicpti.c (param[0] != MBOX_COMMAND_COMPLETE)) { param 1281 drivers/scsi/qlogicpti.c qpti->qpti_id, param[0]); param 303 drivers/scsi/scsi_transport_iscsi.c #define iscsi_iface_attr_show(type, name, param_type, param) \ param 310 drivers/scsi/scsi_transport_iscsi.c return t->get_iface_param(iface, param_type, param, buf); \ param 313 drivers/scsi/scsi_transport_iscsi.c #define iscsi_iface_net_attr(type, name, param) \ param 314 drivers/scsi/scsi_transport_iscsi.c iscsi_iface_attr_show(type, name, ISCSI_NET_PARAM, param) \ param 317 drivers/scsi/scsi_transport_iscsi.c #define iscsi_iface_attr(type, name, param) \ param 318 drivers/scsi/scsi_transport_iscsi.c iscsi_iface_attr_show(type, name, ISCSI_IFACE_PARAM, param) \ param 431 drivers/scsi/scsi_transport_iscsi.c int param; param 435 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IFACE_ENABLE; param 437 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_VLAN_ID; param 439 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_VLAN_PRIORITY; param 441 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_VLAN_ENABLED; param 443 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_MTU; param 445 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_PORT; param 447 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPADDR_STATE; param 449 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_DELAYED_ACK_EN; param 451 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_TCP_NAGLE_DISABLE; param 453 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_TCP_WSF_DISABLE; param 455 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_TCP_WSF; param 457 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_TCP_TIMER_SCALE; param 459 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_TCP_TIMESTAMP_EN; param 461 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_CACHE_ID; param 463 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_REDIRECT_EN; param 465 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_DEF_TASKMGMT_TMO; param 467 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_HDRDGST_EN; param 469 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_DATADGST_EN; param 471 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_IMM_DATA_EN; param 473 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_INITIAL_R2T_EN; param 475 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_DATASEQ_INORDER_EN; param 477 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_PDU_INORDER_EN; param 479 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_ERL; param 481 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_MAX_RECV_DLENGTH; param 483 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_FIRST_BURST; param 485 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_MAX_R2T; param 487 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_MAX_BURST; param 489 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_CHAP_AUTH_EN; param 491 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_BIDI_CHAP_EN; param 493 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_DISCOVERY_AUTH_OPTIONAL; param 495 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_DISCOVERY_LOGOUT_EN; param 497 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_STRICT_LOGIN_COMP_EN; param 499 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_IFACE_PARAM_INITIATOR_NAME; param 502 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_ADDR; param 504 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_GW; param 506 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_SUBNET; param 508 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_BOOTPROTO; param 511 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_DHCP_DNS_ADDR_EN; param 514 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_DHCP_SLP_DA_EN; param 516 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_TOS_EN; param 518 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_TOS; param 520 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_GRAT_ARP_EN; param 523 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_DHCP_ALT_CLIENT_ID_EN; param 525 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_DHCP_ALT_CLIENT_ID; param 528 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_DHCP_REQ_VENDOR_ID_EN; param 531 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_DHCP_USE_VENDOR_ID_EN; param 533 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_DHCP_VENDOR_ID; param 536 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_DHCP_LEARN_IQN_EN; param 539 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_FRAGMENT_DISABLE; param 542 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_IN_FORWARD_EN; param 544 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV4_TTL; param 549 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_ADDR; param 551 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_LINKLOCAL; param 553 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_ROUTER; param 555 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_ADDR_AUTOCFG; param 557 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_LINKLOCAL_AUTOCFG; param 559 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_LINKLOCAL_STATE; param 561 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_ROUTER_STATE; param 564 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_GRAT_NEIGHBOR_ADV_EN; param 566 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_MLD_EN; param 568 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_FLOW_LABEL; param 570 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_TRAFFIC_CLASS; param 572 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_HOP_LIMIT; param 574 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_ND_REACHABLE_TMO; param 576 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_ND_REXMIT_TIME; param 578 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_ND_STALE_TMO; param 580 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_DUP_ADDR_DETECT_CNT; param 582 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_NET_PARAM_IPV6_RTR_ADV_LINK_MTU; param 590 drivers/scsi/scsi_transport_iscsi.c switch (param) { param 615 drivers/scsi/scsi_transport_iscsi.c return t->attr_is_visible(param_type, param); param 814 drivers/scsi/scsi_transport_iscsi.c #define iscsi_flashnode_sess_attr_show(type, name, param) \ param 822 drivers/scsi/scsi_transport_iscsi.c return t->get_flashnode_param(fnode_sess, param, buf); \ param 826 drivers/scsi/scsi_transport_iscsi.c #define iscsi_flashnode_sess_attr(type, name, param) \ param 827 drivers/scsi/scsi_transport_iscsi.c iscsi_flashnode_sess_attr_show(type, name, param) \ param 922 drivers/scsi/scsi_transport_iscsi.c int param; param 925 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_AUTO_SND_TGT_DISABLE; param 927 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DISCOVERY_SESS; param 929 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_PORTAL_TYPE; param 931 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_ENTRY_EN; param 933 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_IMM_DATA_EN; param 935 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_INITIAL_R2T_EN; param 937 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DATASEQ_INORDER; param 939 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_PDU_INORDER; param 941 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_CHAP_AUTH_EN; param 943 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DISCOVERY_LOGOUT_EN; param 945 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_BIDI_CHAP_EN; param 947 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DISCOVERY_AUTH_OPTIONAL; param 949 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_ERL; param 951 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_FIRST_BURST; param 953 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DEF_TIME2WAIT; param 955 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DEF_TIME2RETAIN; param 957 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_MAX_R2T; param 959 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_ISID; param 961 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TSID; param 963 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_MAX_BURST; param 965 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DEF_TASKMGMT_TMO; param 967 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_ALIAS; param 969 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_NAME; param 971 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TPGT; param 973 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DISCOVERY_PARENT_IDX; param 975 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DISCOVERY_PARENT_TYPE; param 977 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_CHAP_IN_IDX; param 979 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_CHAP_OUT_IDX; param 981 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_USERNAME; param 983 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_USERNAME_IN; param 985 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_PASSWORD; param 987 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_PASSWORD_IN; param 989 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_IS_BOOT_TGT; param 995 drivers/scsi/scsi_transport_iscsi.c return t->attr_is_visible(ISCSI_FLASHNODE_PARAM, param); param 1026 drivers/scsi/scsi_transport_iscsi.c #define iscsi_flashnode_conn_attr_show(type, name, param) \ param 1035 drivers/scsi/scsi_transport_iscsi.c return t->get_flashnode_param(fnode_sess, param, buf); \ param 1039 drivers/scsi/scsi_transport_iscsi.c #define iscsi_flashnode_conn_attr(type, name, param) \ param 1040 drivers/scsi/scsi_transport_iscsi.c iscsi_flashnode_conn_attr_show(type, name, param) \ param 1123 drivers/scsi/scsi_transport_iscsi.c int param; param 1126 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_IS_FW_ASSIGNED_IPV6; param 1128 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_HDR_DGST_EN; param 1130 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_DATA_DGST_EN; param 1132 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_SNACK_REQ_EN; param 1134 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TCP_TIMESTAMP_STAT; param 1136 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TCP_NAGLE_DISABLE; param 1138 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TCP_WSF_DISABLE; param 1140 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TCP_TIMER_SCALE; param 1142 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TCP_TIMESTAMP_EN; param 1144 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_IP_FRAG_DISABLE; param 1146 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_MAX_RECV_DLENGTH; param 1148 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_MAX_XMIT_DLENGTH; param 1150 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_KEEPALIVE_TMO; param 1152 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_PORT; param 1154 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_IPADDR; param 1156 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_REDIRECT_IPADDR; param 1158 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_MAX_SEGMENT_SIZE; param 1160 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_LOCAL_PORT; param 1162 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_IPV4_TOS; param 1164 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_IPV6_TC; param 1166 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_IPV6_FLOW_LABEL; param 1168 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_LINK_LOCAL_IPV6; param 1170 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TCP_XMIT_WSF; param 1172 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_TCP_RECV_WSF; param 1174 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_STATSN; param 1176 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_FLASHNODE_EXP_STATSN; param 1182 drivers/scsi/scsi_transport_iscsi.c return t->attr_is_visible(ISCSI_FLASHNODE_PARAM, param); param 2773 drivers/scsi/scsi_transport_iscsi.c switch (ev->u.set_param.param) { param 2780 drivers/scsi/scsi_transport_iscsi.c err = transport->set_param(conn, ev->u.set_param.param, param 2922 drivers/scsi/scsi_transport_iscsi.c err = transport->set_host_param(shost, ev->u.set_host_param.param, param 3757 drivers/scsi/scsi_transport_iscsi.c #define iscsi_conn_attr_show(param) \ param 3759 drivers/scsi/scsi_transport_iscsi.c show_conn_param_##param(struct device *dev, \ param 3764 drivers/scsi/scsi_transport_iscsi.c return t->get_conn_param(conn, param, buf); \ param 3767 drivers/scsi/scsi_transport_iscsi.c #define iscsi_conn_attr(field, param) \ param 3768 drivers/scsi/scsi_transport_iscsi.c iscsi_conn_attr_show(param) \ param 3769 drivers/scsi/scsi_transport_iscsi.c static ISCSI_CLASS_ATTR(conn, field, S_IRUGO, show_conn_param_##param, \ param 3802 drivers/scsi/scsi_transport_iscsi.c #define iscsi_conn_ep_attr_show(param) \ param 3803 drivers/scsi/scsi_transport_iscsi.c static ssize_t show_conn_ep_param_##param(struct device *dev, \ param 3824 drivers/scsi/scsi_transport_iscsi.c rc = t->get_ep_param(ep, param, buf); \ param 3826 drivers/scsi/scsi_transport_iscsi.c rc = t->get_conn_param(conn, param, buf); \ param 3831 drivers/scsi/scsi_transport_iscsi.c #define iscsi_conn_ep_attr(field, param) \ param 3832 drivers/scsi/scsi_transport_iscsi.c iscsi_conn_ep_attr_show(param) \ param 3834 drivers/scsi/scsi_transport_iscsi.c show_conn_ep_param_##param, NULL); param 3879 drivers/scsi/scsi_transport_iscsi.c int param; param 3882 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_MAX_RECV_DLENGTH; param 3884 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_MAX_XMIT_DLENGTH; param 3886 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_HDRDGST_EN; param 3888 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DATADGST_EN; param 3890 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_IFMARKER_EN; param 3892 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_OFMARKER_EN; param 3894 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_CONN_ADDRESS; param 3896 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_CONN_PORT; param 3898 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_EXP_STATSN; param 3900 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_PERSISTENT_ADDRESS; param 3902 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_PERSISTENT_PORT; param 3904 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_PING_TMO; param 3906 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_RECV_TMO; param 3908 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_LOCAL_PORT; param 3910 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_STATSN; param 3912 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_KEEPALIVE_TMO; param 3914 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_MAX_SEGMENT_SIZE; param 3916 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TCP_TIMESTAMP_STAT; param 3918 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TCP_WSF_DISABLE; param 3920 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TCP_NAGLE_DISABLE; param 3922 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TCP_TIMER_SCALE; param 3924 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TCP_TIMESTAMP_EN; param 3926 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_IP_FRAGMENT_DISABLE; param 3928 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_IPV4_TOS; param 3930 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_IPV6_TC; param 3932 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_IPV6_FLOW_LABEL; param 3934 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_IS_FW_ASSIGNED_IPV6; param 3936 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TCP_XMIT_WSF; param 3938 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TCP_RECV_WSF; param 3940 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_LOCAL_IPADDR; param 3946 drivers/scsi/scsi_transport_iscsi.c return t->attr_is_visible(ISCSI_PARAM, param); param 3957 drivers/scsi/scsi_transport_iscsi.c #define iscsi_session_attr_show(param, perm) \ param 3959 drivers/scsi/scsi_transport_iscsi.c show_session_param_##param(struct device *dev, \ param 3968 drivers/scsi/scsi_transport_iscsi.c return t->get_session_param(session, param, buf); \ param 3971 drivers/scsi/scsi_transport_iscsi.c #define iscsi_session_attr(field, param, perm) \ param 3972 drivers/scsi/scsi_transport_iscsi.c iscsi_session_attr_show(param, perm) \ param 3973 drivers/scsi/scsi_transport_iscsi.c static ISCSI_CLASS_ATTR(sess, field, S_IRUGO, show_session_param_##param, \ param 4146 drivers/scsi/scsi_transport_iscsi.c int param; param 4149 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_INITIAL_R2T_EN; param 4151 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_MAX_R2T; param 4153 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_IMM_DATA_EN; param 4155 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_FIRST_BURST; param 4157 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_MAX_BURST; param 4159 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_PDU_INORDER_EN; param 4161 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DATASEQ_INORDER_EN; param 4163 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_ERL; param 4165 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TARGET_NAME; param 4167 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TPGT; param 4169 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_CHAP_IN_IDX; param 4171 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_CHAP_OUT_IDX; param 4173 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_USERNAME; param 4175 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_USERNAME_IN; param 4177 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_PASSWORD; param 4179 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_PASSWORD_IN; param 4181 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_FAST_ABORT; param 4183 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_ABORT_TMO; param 4185 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_LU_RESET_TMO; param 4187 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TGT_RESET_TMO; param 4189 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_IFACE_NAME; param 4191 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_INITIATOR_NAME; param 4193 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TARGET_ALIAS; param 4195 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_BOOT_ROOT; param 4197 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_BOOT_NIC; param 4199 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_BOOT_TARGET; param 4201 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_AUTO_SND_TGT_DISABLE; param 4203 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DISCOVERY_SESS; param 4205 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_PORTAL_TYPE; param 4207 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_CHAP_AUTH_EN; param 4209 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DISCOVERY_LOGOUT_EN; param 4211 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_BIDI_CHAP_EN; param 4213 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DISCOVERY_AUTH_OPTIONAL; param 4215 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DEF_TIME2WAIT; param 4217 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DEF_TIME2RETAIN; param 4219 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_ISID; param 4221 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_TSID; param 4223 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DEF_TASKMGMT_TMO; param 4225 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DISCOVERY_PARENT_IDX; param 4227 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_PARAM_DISCOVERY_PARENT_TYPE; param 4241 drivers/scsi/scsi_transport_iscsi.c return t->attr_is_visible(ISCSI_PARAM, param); param 4252 drivers/scsi/scsi_transport_iscsi.c #define iscsi_host_attr_show(param) \ param 4254 drivers/scsi/scsi_transport_iscsi.c show_host_param_##param(struct device *dev, \ param 4259 drivers/scsi/scsi_transport_iscsi.c return priv->iscsi_transport->get_host_param(shost, param, buf); \ param 4262 drivers/scsi/scsi_transport_iscsi.c #define iscsi_host_attr(field, param) \ param 4263 drivers/scsi/scsi_transport_iscsi.c iscsi_host_attr_show(param) \ param 4264 drivers/scsi/scsi_transport_iscsi.c static ISCSI_CLASS_ATTR(host, field, S_IRUGO, show_host_param_##param, \ param 4290 drivers/scsi/scsi_transport_iscsi.c int param; param 4293 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_HOST_PARAM_NETDEV_NAME; param 4295 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_HOST_PARAM_HWADDRESS; param 4297 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_HOST_PARAM_IPADDRESS; param 4299 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_HOST_PARAM_INITIATOR_NAME; param 4301 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_HOST_PARAM_PORT_STATE; param 4303 drivers/scsi/scsi_transport_iscsi.c param = ISCSI_HOST_PARAM_PORT_SPEED; param 4309 drivers/scsi/scsi_transport_iscsi.c return priv->iscsi_transport->attr_is_visible(ISCSI_HOST_PARAM, param); param 64 drivers/soc/aspeed/aspeed-lpc-ctrl.c unsigned long param) param 68 drivers/soc/aspeed/aspeed-lpc-ctrl.c void __user *p = (void __user *)param; param 1670 drivers/soc/tegra/pmc.c enum pin_config_param param = pinconf_to_config_param(*config); param 1680 drivers/soc/tegra/pmc.c switch (param) { param 1701 drivers/soc/tegra/pmc.c *config = pinconf_to_config_packed(param, arg); param 1712 drivers/soc/tegra/pmc.c enum pin_config_param param; param 1722 drivers/soc/tegra/pmc.c param = pinconf_to_config_param(configs[i]); param 1725 drivers/soc/tegra/pmc.c switch (param) { param 1848 drivers/soc/tegra/pmc.c *hwirq = fwspec->param[0]; param 1849 drivers/soc/tegra/pmc.c *type = fwspec->param[1]; param 1872 drivers/soc/tegra/pmc.c if (event->id != fwspec->param[0]) param 1883 drivers/soc/tegra/pmc.c spec.param[0] = GIC_SPI; param 1884 drivers/soc/tegra/pmc.c spec.param[1] = event->irq; param 1885 drivers/soc/tegra/pmc.c spec.param[2] = fwspec->param[1]; param 1894 drivers/soc/tegra/pmc.c if (event->gpio.instance != fwspec->param[0] || param 1895 drivers/soc/tegra/pmc.c event->gpio.pin != fwspec->param[1]) param 27 drivers/spi/spi-dw-mid.c static bool mid_spi_dma_chan_filter(struct dma_chan *chan, void *param) param 29 drivers/spi/spi-dw-mid.c struct dw_dma_slave *s = param; param 146 drivers/spi/spi-mxs.c static void mxs_ssp_dma_irq_callback(void *param) param 148 drivers/spi/spi-mxs.c struct mxs_spi *spi = param; param 34 drivers/spi/spi-pxa2xx-pci.c bool (*dma_filter)(struct dma_chan *chan, void *param); param 63 drivers/spi/spi-pxa2xx-pci.c static bool lpss_dma_filter(struct dma_chan *chan, void *param) param 65 drivers/spi/spi-pxa2xx-pci.c struct dw_dma_slave *dws = param; param 1533 drivers/spi/spi-pxa2xx.c static bool pxa2xx_spi_idma_filter(struct dma_chan *chan, void *param) param 1535 drivers/spi/spi-pxa2xx.c return param == chan->device->dev; param 388 drivers/spi/spi-ti-qspi.c static void ti_qspi_dma_callback(void *param) param 390 drivers/spi/spi-ti-qspi.c struct ti_qspi *qspi = param; param 830 drivers/spi/spi-topcliff-pch.c struct pch_dma_slave *param = slave; param 832 drivers/spi/spi-topcliff-pch.c if ((chan->chan_id == param->chan_id) && param 833 drivers/spi/spi-topcliff-pch.c (param->dma_dev == chan->device->dev)) { param 834 drivers/spi/spi-topcliff-pch.c chan->private = param; param 846 drivers/spi/spi-topcliff-pch.c struct pch_dma_slave *param; param 864 drivers/spi/spi-topcliff-pch.c param = &dma->param_tx; param 865 drivers/spi/spi-topcliff-pch.c param->dma_dev = &dma_dev->dev; param 866 drivers/spi/spi-topcliff-pch.c param->chan_id = data->ch * 2; /* Tx = 0, 2 */; param 867 drivers/spi/spi-topcliff-pch.c param->tx_reg = data->io_base_addr + PCH_SPDWR; param 868 drivers/spi/spi-topcliff-pch.c param->width = width; param 869 drivers/spi/spi-topcliff-pch.c chan = dma_request_channel(mask, pch_spi_filter, param); param 879 drivers/spi/spi-topcliff-pch.c param = &dma->param_rx; param 880 drivers/spi/spi-topcliff-pch.c param->dma_dev = &dma_dev->dev; param 881 drivers/spi/spi-topcliff-pch.c param->chan_id = data->ch * 2 + 1; /* Rx = Tx + 1 */; param 882 drivers/spi/spi-topcliff-pch.c param->rx_reg = data->io_base_addr + PCH_SPDRR; param 883 drivers/spi/spi-topcliff-pch.c param->width = width; param 884 drivers/spi/spi-topcliff-pch.c chan = dma_request_channel(mask, pch_spi_filter, param); param 1438 drivers/spi/spi.c struct sched_param param = { .sched_priority = MAX_RT_PRIO / 2 }; param 1442 drivers/spi/spi.c sched_setscheduler(ctlr->kworker_task, SCHED_FIFO, ¶m); param 697 drivers/spmi/spmi-pmic-arb.c u32 *intspec = fwspec->param; param 247 drivers/staging/android/ion/ion_heap.c struct sched_param param = { .sched_priority = 0 }; param 258 drivers/staging/android/ion/ion_heap.c sched_setscheduler(heap->task, SCHED_IDLE, ¶m); param 2953 drivers/staging/emxx_udc/emxx_udc.c unsigned int code, unsigned long param) param 305 drivers/staging/isdn/avm/b1pci.c struct capicardparams param; param 312 drivers/staging/isdn/avm/b1pci.c param.irq = pdev->irq; param 318 drivers/staging/isdn/avm/b1pci.c param.membase = pci_resource_start(pdev, 0); param 319 drivers/staging/isdn/avm/b1pci.c param.port = pci_resource_start(pdev, 2); param 322 drivers/staging/isdn/avm/b1pci.c param.port, param.irq, param.membase); param 324 drivers/staging/isdn/avm/b1pci.c retval = b1pciv4_probe(¶m, pdev); param 326 drivers/staging/isdn/avm/b1pci.c retval = b1pci_probe(¶m, pdev); param 330 drivers/staging/isdn/avm/b1pci.c param.port, param.irq, param.membase); param 333 drivers/staging/isdn/avm/b1pci.c param.membase = 0; param 334 drivers/staging/isdn/avm/b1pci.c param.port = pci_resource_start(pdev, 1); param 337 drivers/staging/isdn/avm/b1pci.c param.port, param.irq); param 338 drivers/staging/isdn/avm/b1pci.c retval = b1pci_probe(¶m, pdev); param 341 drivers/staging/isdn/avm/b1pci.c param.port, param.irq); param 1243 drivers/staging/isdn/avm/c4.c struct capicardparams param; param 1251 drivers/staging/isdn/avm/c4.c param.port = pci_resource_start(dev, 1); param 1252 drivers/staging/isdn/avm/c4.c param.irq = dev->irq; param 1253 drivers/staging/isdn/avm/c4.c param.membase = pci_resource_start(dev, 0); param 1256 drivers/staging/isdn/avm/c4.c nr, param.port, param.irq, param.membase); param 1258 drivers/staging/isdn/avm/c4.c retval = c4_add_card(¶m, dev, nr); param 1261 drivers/staging/isdn/avm/c4.c nr, param.port, param.irq, param.membase); param 192 drivers/staging/isdn/avm/t1pci.c struct capicardparams param; param 201 drivers/staging/isdn/avm/t1pci.c param.port = pci_resource_start(dev, 1); param 202 drivers/staging/isdn/avm/t1pci.c param.irq = dev->irq; param 203 drivers/staging/isdn/avm/t1pci.c param.membase = pci_resource_start(dev, 0); param 206 drivers/staging/isdn/avm/t1pci.c param.port, param.irq, param.membase); param 208 drivers/staging/isdn/avm/t1pci.c retval = t1pci_add_card(¶m, dev); param 211 drivers/staging/isdn/avm/t1pci.c param.port, param.irq, param.membase); param 148 drivers/staging/isdn/gigaset/capi.c static inline void ignore_cstruct_param(struct cardstate *cs, _cstruct param, param 151 drivers/staging/isdn/gigaset/capi.c if (param && *param) param 1362 drivers/staging/ks7010/ks_wlan_net.c struct iw_param *param = &vwrq->param; param 1363 drivers/staging/ks7010/ks_wlan_net.c int index = (param->flags & IW_AUTH_INDEX); param 1364 drivers/staging/ks7010/ks_wlan_net.c int value = param->value; param 1495 drivers/staging/ks7010/ks_wlan_net.c struct iw_param *param = &vwrq->param; param 1496 drivers/staging/ks7010/ks_wlan_net.c int index = (param->flags & IW_AUTH_INDEX); param 1505 drivers/staging/ks7010/ks_wlan_net.c param->value = priv->wpa.version; param 1508 drivers/staging/ks7010/ks_wlan_net.c param->value = priv->wpa.pairwise_suite; param 1511 drivers/staging/ks7010/ks_wlan_net.c param->value = priv->wpa.group_suite; param 1514 drivers/staging/ks7010/ks_wlan_net.c param->value = priv->wpa.key_mgmt_suite; param 1517 drivers/staging/ks7010/ks_wlan_net.c param->value = priv->wpa.auth_alg; param 1520 drivers/staging/ks7010/ks_wlan_net.c param->value = priv->wpa.rsn_enabled; param 946 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_osys_formatter_params param __aligned(32); param 1016 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_osys_scaler_params param __aligned(32); param 1033 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_osys_frame_params param __aligned(32); param 859 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_abi_osys_formatter_params *param; param 877 drivers/staging/media/ipu3/ipu3-css-params.c &osys->scaler[s].param; param 996 drivers/staging/media/ipu3/ipu3-css-params.c fr_pr = &osys->frame[pin].param; param 1150 drivers/staging/media/ipu3/ipu3-css-params.c param = &osys->formatter[s][pin].param; param 1152 drivers/staging/media/ipu3/ipu3-css-params.c param->format = frame_params[pin].format; param 1153 drivers/staging/media/ipu3/ipu3-css-params.c param->flip = frame_params[pin].flip; param 1154 drivers/staging/media/ipu3/ipu3-css-params.c param->mirror = frame_params[pin].mirror; param 1155 drivers/staging/media/ipu3/ipu3-css-params.c param->tiling = frame_params[pin].tiling; param 1156 drivers/staging/media/ipu3/ipu3-css-params.c param->reduce_range = frame_params[pin].reduce_range; param 1157 drivers/staging/media/ipu3/ipu3-css-params.c param->alpha_blending = 0; param 1158 drivers/staging/media/ipu3/ipu3-css-params.c param->release_inp_addr = in_fifo_addr; param 1159 drivers/staging/media/ipu3/ipu3-css-params.c param->release_inp_en = 1; param 1160 drivers/staging/media/ipu3/ipu3-css-params.c param->process_out_buf_addr = out_fifo_addr; param 1161 drivers/staging/media/ipu3/ipu3-css-params.c param->image_width_vecs = input_width_vecs; param 1162 drivers/staging/media/ipu3/ipu3-css-params.c param->image_height_lines = param 1164 drivers/staging/media/ipu3/ipu3-css-params.c param->inp_buff_y_st_addr = input_buf_y_st_addr; param 1165 drivers/staging/media/ipu3/ipu3-css-params.c param->inp_buff_y_line_stride = input_buf_y_line_stride; param 1166 drivers/staging/media/ipu3/ipu3-css-params.c param->inp_buff_y_buffer_stride = IMGU_VMEM1_BUF_SIZE; param 1167 drivers/staging/media/ipu3/ipu3-css-params.c param->int_buff_u_st_addr = input_buf_u_st_addr; param 1168 drivers/staging/media/ipu3/ipu3-css-params.c param->int_buff_v_st_addr = input_buf_v_st_addr; param 1169 drivers/staging/media/ipu3/ipu3-css-params.c param->inp_buff_uv_line_stride = param 1171 drivers/staging/media/ipu3/ipu3-css-params.c param->inp_buff_uv_buffer_stride = IMGU_VMEM1_BUF_SIZE; param 1172 drivers/staging/media/ipu3/ipu3-css-params.c param->out_buff_level = 0; param 1173 drivers/staging/media/ipu3/ipu3-css-params.c param->out_buff_nr_y_lines = output_buf_nr_y_lines; param 1174 drivers/staging/media/ipu3/ipu3-css-params.c param->out_buff_u_st_offset = IMGU_VMEM1_U_OFFSET; param 1175 drivers/staging/media/ipu3/ipu3-css-params.c param->out_buff_v_st_offset = IMGU_VMEM1_V_OFFSET; param 1176 drivers/staging/media/ipu3/ipu3-css-params.c param->out_buff_y_line_stride = param 1178 drivers/staging/media/ipu3/ipu3-css-params.c param->out_buff_uv_line_stride = param 1180 drivers/staging/media/ipu3/ipu3-css-params.c param->hist_buff_st_addr = IMGU_VMEM1_HST_BUF_ADDR; param 1181 drivers/staging/media/ipu3/ipu3-css-params.c param->hist_buff_line_stride = param 1183 drivers/staging/media/ipu3/ipu3-css-params.c param->hist_buff_nr_lines = IMGU_VMEM1_HST_BUF_NLINES; param 30 drivers/staging/media/ipu3/ipu3-css-pool.c imgu_dmamap_free(imgu, &pool->entry[i].param); param 41 drivers/staging/media/ipu3/ipu3-css-pool.c pool->entry[i].param.vaddr = NULL; param 45 drivers/staging/media/ipu3/ipu3-css-pool.c if (!imgu_dmamap_alloc(imgu, &pool->entry[i].param, size)) param 99 drivers/staging/media/ipu3/ipu3-css-pool.c return &pool->entry[i].param; param 38 drivers/staging/media/ipu3/ipu3-css-pool.h struct imgu_css_map param; param 270 drivers/staging/most/core.h char *param); param 483 drivers/staging/rtl8188eu/core/rtw_cmd.c struct disconnect_parm *param = NULL; param 490 drivers/staging/rtl8188eu/core/rtw_cmd.c param = kzalloc(sizeof(*param), GFP_ATOMIC); param 491 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!param) { param 495 drivers/staging/rtl8188eu/core/rtw_cmd.c param->deauth_timeout_ms = deauth_timeout_ms; param 502 drivers/staging/rtl8188eu/core/rtw_cmd.c kfree(param); param 505 drivers/staging/rtl8188eu/core/rtw_cmd.c init_h2fwcmd_w_parm_no_rsp(cmdobj, param, _DisConnect_CMD_); param 509 drivers/staging/rtl8188eu/core/rtw_cmd.c if (disconnect_hdl(padapter, (u8 *)param) != H2C_SUCCESS) param 511 drivers/staging/rtl8188eu/core/rtw_cmd.c kfree(param); param 5036 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct disconnect_parm *param = (struct disconnect_parm *)pbuf; param 5043 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_deauth_ex(padapter, pnetwork->MacAddress, WLAN_REASON_DEAUTH_LEAVING, param->deauth_timeout_ms/100, 100); param 1432 drivers/staging/rtl8188eu/core/rtw_wlan_util.c u16 param; param 1442 drivers/staging/rtl8188eu/core/rtw_wlan_util.c param = le16_to_cpu(preq->BA_para_set); param 1443 drivers/staging/rtl8188eu/core/rtw_wlan_util.c tid = (param >> 2) & 0x0f; param 349 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int wpa_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) param 358 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.err = 0; param 359 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 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) { param 366 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (is_broadcast_ether_addr(param->sta_addr)) { param 367 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS) { param 376 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 384 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wep_key_idx = param->u.crypt.idx; param 385 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wep_key_len = param->u.crypt.key_len; param 416 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); param 417 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx) { param 443 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") != 0) param 450 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { /* pairwise key */ param 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)); param 453 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */ param 454 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); param 455 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); param 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 )); param 464 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); param 465 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); param 469 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; param 471 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_key(padapter, &padapter->securitypriv, param->u.crypt.idx, 1); param 479 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") != 0) param 1778 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct iw_param *param = (struct iw_param *)&(wrqu->param); param 1781 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c switch (param->flags & IW_AUTH_INDEX) { param 1796 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->value) { param 1821 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->value) { param 1841 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = wpa_set_auth_algs(dev, (u32)param->value); param 1862 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct ieee_param *param = NULL; param 1868 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param = (struct ieee_param *)rtw_malloc(param_len); param 1869 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!param) param 1872 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memset(param, 0, param_len); param 1874 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->cmd = IEEE_CMD_SET_ENCRYPTION; param 1875 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c eth_broadcast_addr(param->sta_addr); param 1897 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c strlcpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); param 1900 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.set_tx = 1; param 1907 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.set_tx = 0; param 1909 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.idx = (pencoding->flags&0x00FF) - 1; param 1912 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(param->u.crypt.seq, pext->rx_seq, 8); param 1915 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key_len = pext->key_len; param 1916 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(param->u.crypt.key, pext + 1, pext->key_len); param 1919 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = wpa_set_encryption(dev, param, param_len); param 1922 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c kfree(param); param 2025 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct ieee_param *param; param 2033 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param = (struct ieee_param *)rtw_malloc(p->length); param 2034 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!param) { param 2039 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (copy_from_user(param, p->pointer, p->length)) { param 2040 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c kfree(param); param 2045 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c switch (param->cmd) { param 2047 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = wpa_set_param(dev, param->u.wpa_param.name, param->u.wpa_param.value); param 2052 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (char *)param->u.wpa_ie.data, (u16)param->u.wpa_ie.len); param 2056 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = wpa_set_encryption(dev, param, p->length); param 2060 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = wpa_mlme(dev, param->u.mlme.command, param->u.mlme.reason_code); param 2064 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("Unknown WPA supplicant request: %d\n", param->cmd); param 2069 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (ret == 0 && copy_to_user(p->pointer, param, p->length)) param 2072 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c kfree(param); param 2192 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) param 2204 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.err = 0; param 2205 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 2206 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) { param 2210 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (is_broadcast_ether_addr(param->sta_addr)) { param 2211 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS) { param 2216 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 2223 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") == 0 && (!psta)) { param 2226 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("clear default encryption keys, keyid =%d\n", param->u.crypt.idx); param 2229 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (!psta)) { param 2231 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wep_key_idx = param->u.crypt.idx; param 2232 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wep_key_len = param->u.crypt.key_len; param 2256 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); param 2258 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx) { param 2294 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { param 2295 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 2298 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param 2299 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); param 2302 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) param 2304 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { param 2307 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param 2308 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); param 2310 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); param 2311 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); param 2314 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { param 2317 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param 2318 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); param 2323 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; param 2326 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); param 2338 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { param 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)); param 2341 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 2345 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) param 2347 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { param 2353 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); param 2354 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); param 2357 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { param 2371 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 2372 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param 2373 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); param 2375 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) param 2377 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { param 2380 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param 2381 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); param 2384 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); param 2385 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); param 2388 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { param 2391 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param 2392 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); param 2397 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; param 2403 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); param 2421 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_set_beacon(struct net_device *dev, struct ieee_param *param, int len) param 2427 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c unsigned char *pbuf = param->u.bcn_ie.buf; param 2434 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(&pstapriv->max_num_sta, param->u.bcn_ie.reserved, 2); param 2458 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_add_sta(struct net_device *dev, struct ieee_param *param) param 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)); param 2471 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (is_broadcast_ether_addr(param->sta_addr)) param 2474 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 2476 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c int flags = param->u.add_sta.flags; param 2478 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->aid = param->u.add_sta.aid;/* aid = 1~2007 */ param 2480 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->bssrateset, param->u.add_sta.tx_supp_rates, 16); param 2495 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(&psta->htpriv.ht_cap, ¶m->u.add_sta.ht_cap, param 2512 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_del_sta(struct net_device *dev, struct ieee_param *param) param 2520 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("rtw_del_sta =%pM\n", (param->sta_addr)); param 2525 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (is_broadcast_ether_addr(param->sta_addr)) param 2528 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 2546 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_ioctl_get_sta_data(struct net_device *dev, struct ieee_param *param, int len) param 2553 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct ieee_param_ex *param_ex = (struct ieee_param_ex *)param; param 2602 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_get_sta_wpaie(struct net_device *dev, struct ieee_param *param) param 2610 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("rtw_get_sta_wpaie, sta_addr: %pM\n", (param->sta_addr)); param 2615 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (is_broadcast_ether_addr(param->sta_addr)) param 2618 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 2627 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.wpa_ie.len = copy_len; param 2628 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(param->u.wpa_ie.reserved, psta->wpa_ie, copy_len); param 2639 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_set_wps_beacon(struct net_device *dev, struct ieee_param *param, int len) param 2665 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_beacon_ie, param->u.bcn_ie.buf, ie_len); param 2675 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_set_wps_probe_resp(struct net_device *dev, struct ieee_param *param, int len) param 2698 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_probe_resp_ie, param->u.bcn_ie.buf, ie_len); param 2704 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_set_wps_assoc_resp(struct net_device *dev, struct ieee_param *param, int len) param 2728 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_assoc_resp_ie, param->u.bcn_ie.buf, ie_len); param 2734 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_set_hidden_ssid(struct net_device *dev, struct ieee_param *param, int len) param 2746 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (param->u.wpa_param.name != 0) /* dummy test... */ param 2747 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("%s name(%u) != 0\n", __func__, param->u.wpa_param.name); param 2748 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c value = param->u.wpa_param.value; param 2758 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_ioctl_acl_remove_sta(struct net_device *dev, struct ieee_param *param, int len) param 2766 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (is_broadcast_ether_addr(param->sta_addr)) param 2769 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return rtw_acl_remove_sta(padapter, param->sta_addr); param 2772 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_ioctl_acl_add_sta(struct net_device *dev, struct ieee_param *param, int len) param 2780 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (is_broadcast_ether_addr(param->sta_addr)) param 2783 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return rtw_acl_add_sta(padapter, param->sta_addr); param 2786 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_ioctl_set_macaddr_acl(struct net_device *dev, struct ieee_param *param, int len) param 2794 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_macaddr_acl(padapter, param->u.mlme.command); param 2801 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct ieee_param *param; param 2820 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param = (struct ieee_param *)rtw_malloc(p->length); param 2821 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!param) { param 2826 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (copy_from_user(param, p->pointer, p->length)) { param 2827 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c kfree(param); param 2832 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c switch (param->cmd) { param 2837 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_add_sta(dev, param); param 2840 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_del_sta(dev, param); param 2843 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_set_beacon(dev, param, p->length); param 2846 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_set_encryption(dev, param, p->length); param 2849 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_get_sta_wpaie(dev, param); param 2852 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_set_wps_beacon(dev, param, p->length); param 2855 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_set_wps_probe_resp(dev, param, p->length); param 2858 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_set_wps_assoc_resp(dev, param, p->length); param 2861 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_set_hidden_ssid(dev, param, p->length); param 2864 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_ioctl_get_sta_data(dev, param, p->length); param 2867 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_ioctl_set_macaddr_acl(dev, param, p->length); param 2870 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_ioctl_acl_add_sta(dev, param, p->length); param 2873 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ret = rtw_ioctl_acl_remove_sta(dev, param, p->length); param 2876 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("Unknown hostapd request: %d\n", param->cmd); param 2881 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (ret == 0 && copy_to_user(p->pointer, param, p->length)) param 2883 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c kfree(param); param 956 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c ret = rtllib_wx_set_auth(priv->rtllib, info, &data->param, extra); param 2657 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c struct ieee_param *param, int plen) param 2661 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.wpa_ie.len > MAX_WPA_IE_LEN) param 2664 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.wpa_ie.len) { param 2665 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c buf = kmemdup(param->u.wpa_ie.data, param->u.wpa_ie.len, param 2672 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ieee->wpa_ie_len = param->u.wpa_ie.len; param 2789 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c struct ieee_param *param, int param_len) param 2801 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = 0; param 2802 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 2805 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c (int)((char *)param->u.crypt.key - (char *)param) + param 2806 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key_len) { param 2808 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key_len); param 2811 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (is_broadcast_ether_addr(param->sta_addr)) { param 2812 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.crypt.idx >= WEP_KEYS) param 2814 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c crypt = &ieee->crypt[param->u.crypt.idx]; param 2819 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (strcmp(param->u.crypt.alg, "none") == 0) { param 2837 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c strcmp(param->u.crypt.alg, "TKIP")) param 2841 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (!strcmp(param->u.crypt.alg, "WEP")) param 2843 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c else if (!strcmp(param->u.crypt.alg, "TKIP")) param 2845 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c else if (!strcmp(param->u.crypt.alg, "CCMP")) param 2848 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ops = try_then_request_module(ieee80211_get_crypto_ops(param->u.crypt.alg), param 2851 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c printk("unknown crypto alg '%s'\n", param->u.crypt.alg); param 2852 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = IEEE_CRYPT_ERR_UNKNOWN_ALG; param 2870 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c new_crypt->ops->init(param->u.crypt.idx); param 2874 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = IEEE_CRYPT_ERR_CRYPT_INIT_FAILED; param 2882 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.crypt.key_len > 0 && (*crypt)->ops->set_key && param 2883 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c (*crypt)->ops->set_key(param->u.crypt.key, param 2884 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key_len, param->u.crypt.seq, param 2887 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = IEEE_CRYPT_ERR_KEY_SET_FAILED; param 2893 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (param->u.crypt.set_tx) { param 2894 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ieee->tx_keyidx = param->u.crypt.idx; param 2895 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.active_key = param->u.crypt.idx; param 2900 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c memcpy(sec.keys[param->u.crypt.idx], param 2901 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key, param 2902 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.key_len); param 2903 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.key_sizes[param->u.crypt.idx] = param->u.crypt.key_len; param 2904 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c sec.flags |= (1 << param->u.crypt.idx); param 2906 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 2909 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { param 2912 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { param 2930 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.crypt.err = IEEE_CRYPT_ERR_CARD_CONF_FAILED; param 2979 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c struct ieee_param *param; param 2990 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param = memdup_user(p->pointer, p->length); param 2991 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (IS_ERR(param)) { param 2992 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ret = PTR_ERR(param); param 2996 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c switch (param->cmd) { param 2998 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ret = ieee80211_wpa_set_param(ieee, param->u.wpa_param.name, param 2999 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.wpa_param.value); param 3003 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ret = ieee80211_wpa_set_wpa_ie(ieee, param, p->length); param 3007 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ret = ieee80211_wpa_set_encryption(ieee, param, p->length); param 3011 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ret = ieee80211_wpa_mlme(ieee, param->u.mlme.command, param 3012 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c param->u.mlme.reason_code); param 3016 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c printk("Unknown WPA supplicant request: %d\n", param->cmd); param 3021 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c if (ret == 0 && copy_to_user(p->pointer, param, p->length)) param 3024 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c kfree(param); param 805 drivers/staging/rtl8192u/r8192U_wx.c ret = ieee80211_wx_set_auth(priv->ieee80211, info, &(data->param), extra); param 779 drivers/staging/rtl8712/rtl871x_cmd.c struct DisconnectCtrlEx_param *param; param 785 drivers/staging/rtl8712/rtl871x_cmd.c param = kzalloc(sizeof(*param), GFP_ATOMIC); param 786 drivers/staging/rtl8712/rtl871x_cmd.c if (!param) { param 791 drivers/staging/rtl8712/rtl871x_cmd.c param->EnableDrvCtrl = (unsigned char)enableDrvCtrl; param 792 drivers/staging/rtl8712/rtl871x_cmd.c param->TryPktCnt = (unsigned char)tryPktCnt; param 793 drivers/staging/rtl8712/rtl871x_cmd.c param->TryPktInterval = (unsigned char)tryPktInterval; param 794 drivers/staging/rtl8712/rtl871x_cmd.c param->FirstStageTO = (unsigned int)firstStageTO; param 796 drivers/staging/rtl8712/rtl871x_cmd.c init_h2fwcmd_w_parm_no_rsp(ph2c, param, param 79 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct ieee_param *param, param 83 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(psta->x_UncstKey.skey, param->u.crypt.key, param 84 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (param->u.crypt. key_len > 16 ? 16 : param->u.crypt.key_len)); param 85 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */ param 87 drivers/staging/rtl8712/rtl871x_ioctl_linux.c &(param->u.crypt.key[16]), 8); param 89 drivers/staging/rtl8712/rtl871x_ioctl_linux.c &(param->u.crypt.key[24]), 8); param 97 drivers/staging/rtl8712/rtl871x_ioctl_linux.c static inline void handle_group_key(struct ieee_param *param, param 104 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param->u.crypt.idx > 0 && param 105 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.idx < 3) { param 107 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(gk[param->u.crypt.idx - 1].skey, param 108 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.key, param 109 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (param->u.crypt.key_len > 16 ? 16 : param 110 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.key_len)); param 111 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(gtk[param->u.crypt.idx - 1].skey, param 112 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ¶m->u.crypt.key[16], 8); param 113 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(grk[param->u.crypt.idx - 1].skey, param 114 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ¶m->u.crypt.key[24], 8); param 117 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.idx); param 372 drivers/staging/rtl8712/rtl871x_ioctl_linux.c static int wpa_set_encryption(struct net_device *dev, struct ieee_param *param, param 382 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.err = 0; param 383 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 384 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param_len != (u32)((u8 *) param->u.crypt.key - (u8 *)param) + param 385 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.key_len) param 387 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!is_broadcast_ether_addr(param->sta_addr)) param 390 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS) { param 392 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.idx = 0; param 394 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 400 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wep_key_idx = param->u.crypt.idx; param 401 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wep_key_len = param->u.crypt.key_len; param 420 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); param 421 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param->u.crypt.set_tx) { param 458 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (param->u.crypt.set_tx == 1) param 459 drivers/staging/rtl8712/rtl871x_ioctl_linux.c handle_pairwise_key(psta, param, param 462 drivers/staging/rtl8712/rtl871x_ioctl_linux.c handle_group_key(param, padapter); param 1679 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_param *param = (struct iw_param *)&(wrqu->param); param 1684 drivers/staging/rtl8712/rtl871x_ioctl_linux.c paramid = param->flags & IW_AUTH_INDEX; param 1685 drivers/staging/rtl8712/rtl871x_ioctl_linux.c paramval = param->value; param 1763 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct ieee_param *param = NULL; param 1786 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param = kzalloc(param_len, GFP_ATOMIC); param 1787 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!param) param 1789 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->cmd = IEEE_CMD_SET_ENCRYPTION; param 1790 drivers/staging/rtl8712/rtl871x_ioctl_linux.c eth_broadcast_addr(param->sta_addr); param 1791 drivers/staging/rtl8712/rtl871x_ioctl_linux.c strlcpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); param 1793 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.set_tx = 0; param 1795 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.set_tx = 1; param 1796 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.idx = (pencoding->flags & 0x00FF) - 1; param 1798 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(param->u.crypt.seq, pext->rx_seq, 8); param 1800 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.crypt.key_len = pext->key_len; param 1801 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(param + 1, pext + 1, pext->key_len); param 1803 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = wpa_set_encryption(dev, param, param_len); param 1804 drivers/staging/rtl8712/rtl871x_ioctl_linux.c kfree(param); param 2148 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct ieee_param *param; param 2154 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param = memdup_user(p->pointer, p->length); param 2155 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (IS_ERR(param)) param 2156 drivers/staging/rtl8712/rtl871x_ioctl_linux.c return PTR_ERR(param); param 2157 drivers/staging/rtl8712/rtl871x_ioctl_linux.c switch (param->cmd) { param 2159 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = wpa_set_param(dev, param->u.wpa_param.name, param 2160 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.wpa_param.value); param 2163 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = r871x_set_wpa_ie(padapter, (char *)param->u.wpa_ie.data, param 2164 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (u16)param->u.wpa_ie.len); param 2167 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = wpa_set_encryption(dev, param, p->length); param 2170 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = wpa_mlme(dev, param->u.mlme.command, param 2171 drivers/staging/rtl8712/rtl871x_ioctl_linux.c param->u.mlme.reason_code); param 2177 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (ret == 0 && copy_to_user(p->pointer, param, p->length)) param 2179 drivers/staging/rtl8712/rtl871x_ioctl_linux.c kfree(param); param 902 drivers/staging/rtl8723bs/core/rtw_cmd.c struct disconnect_parm *param = NULL; param 909 drivers/staging/rtl8723bs/core/rtw_cmd.c param = rtw_zmalloc(sizeof(*param)); param 910 drivers/staging/rtl8723bs/core/rtw_cmd.c if (param == NULL) { param 914 drivers/staging/rtl8723bs/core/rtw_cmd.c param->deauth_timeout_ms = deauth_timeout_ms; param 921 drivers/staging/rtl8723bs/core/rtw_cmd.c kfree(param); param 924 drivers/staging/rtl8723bs/core/rtw_cmd.c init_h2fwcmd_w_parm_no_rsp(cmdobj, param, _DisConnect_CMD_); param 928 drivers/staging/rtl8723bs/core/rtw_cmd.c if (H2C_SUCCESS != disconnect_hdl(padapter, (u8 *)param)) param 930 drivers/staging/rtl8723bs/core/rtw_cmd.c kfree(param); param 6259 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct disconnect_parm *param = (struct disconnect_parm *)pbuf; param 6266 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_deauth_ex(padapter, pnetwork->MacAddress, WLAN_REASON_DEAUTH_LEAVING, param->deauth_timeout_ms/100, 100); param 1862 drivers/staging/rtl8723bs/core/rtw_wlan_util.c u16 tid, start_seq, param; param 1874 drivers/staging/rtl8723bs/core/rtw_wlan_util.c param = le16_to_cpu(preq->BA_para_set); param 1875 drivers/staging/rtl8723bs/core/rtw_wlan_util.c tid = (param>>2)&0x0f; param 994 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_rssi_cmd(struct adapter *padapter, u8 *param) param 997 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 mac_id = *param; param 998 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 rssi = *(param+2); param 168 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_rssi_cmd(struct adapter *padapter, u8 *param); param 585 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) param 597 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.err = 0; param 598 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 600 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) param 606 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 607 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 608 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) param 610 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.idx >= WEP_KEYS) param 618 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 627 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "none") == 0 && (psta == NULL)) param 631 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C("clear default encryption keys, keyid =%d\n", param->u.crypt.idx); param 637 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (psta == NULL)) param 641 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_idx = param->u.crypt.idx; param 642 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_len = param->u.crypt.key_len; param 675 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); param 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); param 688 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.set_tx == 0) /* group key */ param 690 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0) param 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)); param 697 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.key_len == 13) param 703 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "TKIP") == 0) param 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)); param 713 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); param 714 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); param 719 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "CCMP") == 0) param 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)); param 734 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; param 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); param 759 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.set_tx == 1) /* pairwise key */ param 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)); param 763 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0) param 768 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.key_len == 13) param 773 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "TKIP") == 0) param 781 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); param 782 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); param 787 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "CCMP") == 0) param 810 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0) param 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)); param 815 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.key_len == 13) param 820 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "TKIP") == 0) param 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)); param 828 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); param 829 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); param 834 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "CCMP") == 0) param 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)); param 845 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; param 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); param 872 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static int rtw_cfg80211_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) param 882 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.err = 0; param 883 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 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) param 891 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 892 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 893 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) param 895 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.idx >= WEP_KEYS param 896 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c || param->u.crypt.idx >= BIP_MAX_KEYID param 909 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0) param 914 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_idx = param->u.crypt.idx; param 915 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wep_key_len = param->u.crypt.key_len; param 942 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); param 968 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "none") != 0) param 978 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param->u.crypt.set_tx == 1)/* pairwise key */ param 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)); param 985 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "TKIP") == 0)/* set mic key */ param 988 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); param 989 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); param 1002 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "TKIP") == 0 || strcmp(param->u.crypt.alg, "CCMP") == 0) param 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)); param 1005 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[16]), 8); param 1006 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[24]), 8); param 1011 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; param 1012 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_key(padapter,&padapter->securitypriv, param->u.crypt.idx, 1, true); param 1014 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c else if (strcmp(param->u.crypt.alg, "BIP") == 0) param 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)); param 1023 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11wBIPKeyid = param->u.crypt.idx; param 1038 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "none") != 0) param 1066 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct ieee_param *param = NULL; param 1079 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param = rtw_malloc(param_len); param 1080 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (param == NULL) param 1083 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memset(param, 0, param_len); param 1085 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->cmd = IEEE_CMD_SET_ENCRYPTION; param 1086 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memset(param->sta_addr, 0xff, ETH_ALEN); param 1112 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); param 1117 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.set_tx = 0; /* for wpa/wpa2 group key */ param 1119 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.set_tx = 1; /* for wpa/wpa2 pairwise key */ param 1122 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.idx = key_index; param 1126 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(param->u.crypt.seq, (u8 *)params->seq, params->seq_len); param 1131 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c param->u.crypt.key_len = params->key_len; param 1132 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(param->u.crypt.key, (u8 *)params->key, params->key_len); param 1137 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_set_encryption(ndev, param, param_len); param 1142 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(param->sta_addr, (void*)mac_addr, ETH_ALEN); param 1144 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_ap_set_encryption(ndev, param, param_len); param 1150 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_set_encryption(ndev, param, param_len); param 1159 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c kfree((u8 *)param); param 422 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int wpa_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) param 431 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.err = 0; param 432 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 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) { param 439 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 440 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 441 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { param 442 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS || param 443 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.idx >= BIP_MAX_KEYID) { param 454 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 462 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wep_key_idx = param->u.crypt.idx; param 463 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wep_key_len = param->u.crypt.key_len; param 497 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); param 499 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx) { param 533 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") != 0) param 541 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { /* pairwise key */ param 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)); param 544 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */ param 546 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); param 547 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); param 558 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "TKIP") == 0 || strcmp(param->u.crypt.alg, "CCMP") == 0) { param 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)); param 561 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.key_len > 16) { param 562 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[16]), 8); param 563 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[24]), 8); param 569 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; param 571 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_key(padapter,&padapter->securitypriv, param->u.crypt.idx, 1, true); param 572 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "BIP") == 0) { param 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)); param 580 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11wBIPKeyid = param->u.crypt.idx; param 592 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") != 0) param 2049 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_param *param = (struct iw_param *)&(wrqu->param); param 2052 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c switch (param->flags & IW_AUTH_INDEX) { param 2066 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->value) /* enabling */ param 2091 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->value) { param 2112 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = wpa_set_auth_algs(dev, (u32)param->value); param 2133 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct ieee_param *param = NULL; param 2139 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param = kzalloc(param_len, GFP_KERNEL); param 2140 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param == NULL) param 2143 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->cmd = IEEE_CMD_SET_ENCRYPTION; param 2144 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(param->sta_addr, 0xff, ETH_ALEN); param 2170 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); param 2173 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.set_tx = 1; param 2181 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.set_tx = 0; param 2184 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.idx = (pencoding->flags&0x00FF) -1 ; param 2187 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(param->u.crypt.seq, pext->rx_seq, 8); param 2190 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.key_len = pext->key_len; param 2192 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(param->u.crypt.key, pext + 1, pext->key_len); param 2200 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = wpa_set_encryption(dev, param, param_len); param 2203 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(param); param 3377 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct ieee_param *param; param 3387 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param = rtw_malloc(p->length); param 3388 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param == NULL) { param 3393 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (copy_from_user(param, p->pointer, p->length)) { param 3394 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(param); param 3399 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c switch (param->cmd) { param 3402 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = wpa_set_param(dev, param->u.wpa_param.name, param->u.wpa_param.value); param 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); param 3411 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = wpa_set_encryption(dev, param, p->length); param 3415 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = wpa_mlme(dev, param->u.mlme.command, param->u.mlme.reason_code); param 3419 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("Unknown WPA supplicant request: %d\n", param->cmd); param 3425 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (ret == 0 && copy_to_user(p->pointer, param, p->length)) param 3428 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(param); param 3438 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len) param 3451 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.err = 0; param 3452 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; param 3456 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) { param 3461 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 3462 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 3463 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { param 3464 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.idx >= WEP_KEYS) { param 3469 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 3477 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") == 0 && (psta == NULL)) { param 3485 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("clear default encryption keys, keyid =%d\n", param->u.crypt.idx); param 3491 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (psta == NULL)) { param 3494 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wep_key_idx = param->u.crypt.idx; param 3495 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wep_key_len = param->u.crypt.key_len; param 3521 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); param 3523 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx) { param 3563 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { param 3564 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 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)); param 3570 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) param 3573 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { param 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)); param 3582 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); param 3583 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); param 3588 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { param 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)); param 3600 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; param 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); param 3621 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.set_tx == 1) { param 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)); param 3624 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 3628 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) param 3630 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { param 3637 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); param 3638 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); param 3642 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { param 3658 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0) { param 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)); param 3662 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.crypt.key_len == 13) param 3664 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { param 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)); param 3671 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); param 3672 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); param 3676 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { param 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)); param 3684 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psecuritypriv->dot118021XGrpKeyid = param->u.crypt.idx; param 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); param 3708 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_set_beacon(struct net_device *dev, struct ieee_param *param, int len) param 3714 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c unsigned char *pbuf = param->u.bcn_ie.buf; param 3722 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(&pstapriv->max_num_sta, param->u.bcn_ie.reserved, 2); param 3753 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_add_sta(struct net_device *dev, struct ieee_param *param) param 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)); param 3766 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 3767 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 3768 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { param 3785 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 3787 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int flags = param->u.add_sta.flags; param 3791 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->aid = param->u.add_sta.aid;/* aid = 1~2007 */ param 3793 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->bssrateset, param->u.add_sta.tx_supp_rates, 16); param 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)); param 3828 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_del_sta(struct net_device *dev, struct ieee_param *param) param 3836 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_del_sta =" MAC_FMT "\n", MAC_ARG(param->sta_addr)); param 3841 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 3842 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 3843 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { param 3847 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 3877 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_ioctl_get_sta_data(struct net_device *dev, struct ieee_param *param, int len) param 3884 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct ieee_param_ex *param_ex = (struct ieee_param_ex *)param; param 3940 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_get_sta_wpaie(struct net_device *dev, struct ieee_param *param) param 3948 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_get_sta_wpaie, sta_addr: " MAC_FMT "\n", MAC_ARG(param->sta_addr)); param 3953 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 3954 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 3955 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { param 3959 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); param 3969 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.wpa_ie.len = copy_len; param 3971 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(param->u.wpa_ie.reserved, psta->wpa_ie, copy_len); param 3984 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_set_wps_beacon(struct net_device *dev, struct ieee_param *param, int len) param 4012 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_beacon_ie, param->u.bcn_ie.buf, ie_len); param 4024 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_set_wps_probe_resp(struct net_device *dev, struct ieee_param *param, int len) param 4049 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_probe_resp_ie, param->u.bcn_ie.buf, ie_len); param 4057 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_set_wps_assoc_resp(struct net_device *dev, struct ieee_param *param, int len) param 4083 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(pmlmepriv->wps_assoc_resp_ie, param->u.bcn_ie.buf, ie_len); param 4091 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_set_hidden_ssid(struct net_device *dev, struct ieee_param *param, int len) param 4107 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->u.bcn_ie.reserved[0] != 0xea) param 4110 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c mlmeinfo->hidden_ssid_mode = ignore_broadcast_ssid = param->u.bcn_ie.reserved[1]; param 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); param 4145 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_ioctl_acl_remove_sta(struct net_device *dev, struct ieee_param *param, int len) param 4153 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 4154 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 4155 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { param 4159 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_acl_remove_sta(padapter, param->sta_addr); param 4164 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_ioctl_acl_add_sta(struct net_device *dev, struct ieee_param *param, int len) param 4172 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && param 4173 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && param 4174 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { param 4178 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c return rtw_acl_add_sta(padapter, param->sta_addr); param 4182 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_ioctl_set_macaddr_acl(struct net_device *dev, struct ieee_param *param, int len) param 4191 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_macaddr_acl(padapter, param->u.mlme.command); param 4198 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct ieee_param *param; param 4216 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!p->pointer || p->length != sizeof(*param)) { param 4221 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param = rtw_malloc(p->length); param 4222 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (param == NULL) { param 4227 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (copy_from_user(param, p->pointer, p->length)) { param 4228 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(param); param 4235 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c switch (param->cmd) { param 4244 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_add_sta(dev, param); param 4250 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_del_sta(dev, param); param 4256 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_set_beacon(dev, param, p->length); param 4262 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_set_encryption(dev, param, p->length); param 4268 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_get_sta_wpaie(dev, param); param 4274 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_set_wps_beacon(dev, param, p->length); param 4280 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_set_wps_probe_resp(dev, param, p->length); param 4286 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_set_wps_assoc_resp(dev, param, p->length); param 4292 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_set_hidden_ssid(dev, param, p->length); param 4298 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_ioctl_get_sta_data(dev, param, p->length); param 4304 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_ioctl_set_macaddr_acl(dev, param, p->length); param 4310 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_ioctl_acl_add_sta(dev, param, p->length); param 4316 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_ioctl_acl_remove_sta(dev, param, p->length); param 4321 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("Unknown hostapd request: %d\n", param->cmd); param 4327 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (ret == 0 && copy_to_user(p->pointer, param, p->length)) param 4331 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(param); param 4541 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u8 param[8]; param 4555 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param[count++] = (u8)tmp; param 4564 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_hal_fill_h2c_cmd(padapter, param[0], count-1, ¶m[1]); param 4566 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pos = sprintf(extra, "H2C ID = 0x%02x content =", param[0]); param 4568 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pos += sprintf(extra+pos, "%02x,", param[i]); param 550 drivers/staging/speakup/kobjects.c struct st_var_header *param; param 557 drivers/staging/speakup/kobjects.c param = spk_var_header_by_name(attr->attr.name); param 558 drivers/staging/speakup/kobjects.c if (!param) param 562 drivers/staging/speakup/kobjects.c var = (struct var_t *)param->data; param 563 drivers/staging/speakup/kobjects.c switch (param->var_type) { param 575 drivers/staging/speakup/kobjects.c for (cp = (char *)param->p_val; (ch = *cp); cp++) { param 591 drivers/staging/speakup/kobjects.c param->name, param->var_type); param 605 drivers/staging/speakup/kobjects.c struct st_var_header *param; param 608 drivers/staging/speakup/kobjects.c param = spk_var_header_by_name(header_name); param 609 drivers/staging/speakup/kobjects.c if (param) { param 611 drivers/staging/speakup/kobjects.c param, E_NEW_DEFAULT); param 612 drivers/staging/speakup/kobjects.c spk_set_num_var(0, param, E_DEFAULT); param 613 drivers/staging/speakup/kobjects.c pr_info("%s reset to default value\n", param->name); param 625 drivers/staging/speakup/kobjects.c struct st_var_header *param; param 633 drivers/staging/speakup/kobjects.c param = spk_var_header_by_name(attr->attr.name); param 634 drivers/staging/speakup/kobjects.c if (!param) param 636 drivers/staging/speakup/kobjects.c if (!param->data) param 643 drivers/staging/speakup/kobjects.c switch (param->var_type) { param 653 drivers/staging/speakup/kobjects.c ret = spk_set_num_var(value, param, len); param 657 drivers/staging/speakup/kobjects.c var_data = param->data; param 659 drivers/staging/speakup/kobjects.c param->name, param 667 drivers/staging/speakup/kobjects.c if (param->var_id == VOICE && synth && param 669 drivers/staging/speakup/kobjects.c var_data = param->data; param 686 drivers/staging/speakup/kobjects.c ret = spk_set_string_var(cp, param, len); param 689 drivers/staging/speakup/kobjects.c param->name); param 693 drivers/staging/speakup/kobjects.c param->name, (int)param->var_type); param 699 drivers/staging/speakup/kobjects.c pr_info("%s reset to default value\n", param->name); param 245 drivers/staging/speakup/main.c unsigned long code, void *param); param 252 drivers/staging/speakup/main.c unsigned long code, void *param); param 2217 drivers/staging/speakup/main.c struct keyboard_notifier_param *param = _param; param 2218 drivers/staging/speakup/main.c struct vc_data *vc = param->vc; param 2219 drivers/staging/speakup/main.c int up = !param->down; param 2243 drivers/staging/speakup/main.c keycode = param->value; param 2252 drivers/staging/speakup/main.c if (speakup_key(vc, param->shift, keycode, param->value, up)) param 2254 drivers/staging/speakup/main.c else if (KTYP(param->value) == KT_CUR) param 2255 drivers/staging/speakup/main.c ret = pre_handle_cursor(vc, KVAL(param->value), up); param 2258 drivers/staging/speakup/main.c unsigned char type = KTYP(param->value) - 0xf0; param 2259 drivers/staging/speakup/main.c unsigned char val = KVAL(param->value); param 2287 drivers/staging/speakup/main.c struct vt_notifier_param *param = _param; param 2288 drivers/staging/speakup/main.c struct vc_data *vc = param->vc; param 2299 drivers/staging/speakup/main.c if (param->c == '\b') { param 2302 drivers/staging/speakup/main.c u16 d = param->c; param 253 drivers/staging/uwb/uwbd.c static int uwbd(void *param) param 255 drivers/staging/uwb/uwbd.c struct uwb_rc *rc = param; param 92 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c static void audio_vchi_callback(void *param, param 96 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c struct bcm2835_audio_instance *instance = param; param 683 drivers/staging/vc04_services/bcm2835-camera/controls.c struct mmal_parameter_video_profile param; param 723 drivers/staging/vc04_services/bcm2835-camera/controls.c param.profile = MMAL_VIDEO_PROFILE_H264_BASELINE; param 726 drivers/staging/vc04_services/bcm2835-camera/controls.c param.profile = param 730 drivers/staging/vc04_services/bcm2835-camera/controls.c param.profile = MMAL_VIDEO_PROFILE_H264_MAIN; param 733 drivers/staging/vc04_services/bcm2835-camera/controls.c param.profile = MMAL_VIDEO_PROFILE_H264_HIGH; param 742 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_1; param 745 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_1b; param 748 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_11; param 751 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_12; param 754 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_13; param 757 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_2; param 760 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_21; param 763 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_22; param 766 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_3; param 769 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_31; param 772 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_32; param 775 drivers/staging/vc04_services/bcm2835-camera/controls.c param.level = MMAL_VIDEO_LEVEL_H264_4; param 785 drivers/staging/vc04_services/bcm2835-camera/controls.c ¶m, sizeof(param)); param 537 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c static void service_callback(void *param, param 541 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c struct vchiq_mmal_instance *instance = param; param 353 drivers/staging/wilc1000/wilc_hif.c struct wilc_join_bss_param *bss_param = conn_attr->param; param 442 drivers/staging/wilc1000/wilc_hif.c struct wilc_join_bss_param *param; param 450 drivers/staging/wilc1000/wilc_hif.c param = kzalloc(sizeof(*param), GFP_KERNEL); param 451 drivers/staging/wilc1000/wilc_hif.c if (!param) param 454 drivers/staging/wilc1000/wilc_hif.c param->beacon_period = cpu_to_le16(bss->beacon_interval); param 455 drivers/staging/wilc1000/wilc_hif.c param->cap_info = cpu_to_le16(bss->capability); param 456 drivers/staging/wilc1000/wilc_hif.c param->bss_type = WILC_FW_BSS_TYPE_INFRA; param 457 drivers/staging/wilc1000/wilc_hif.c param->ch = ieee80211_frequency_to_channel(bss->channel->center_freq); param 458 drivers/staging/wilc1000/wilc_hif.c ether_addr_copy(param->bssid, bss->bssid); param 463 drivers/staging/wilc1000/wilc_hif.c memcpy(param->ssid, ssid_elm + 2, ssid_elm[1]); param 468 drivers/staging/wilc1000/wilc_hif.c param->dtim_period = tim_elm[3]; param 470 drivers/staging/wilc1000/wilc_hif.c memset(param->p_suites, 0xFF, 3); param 471 drivers/staging/wilc1000/wilc_hif.c memset(param->akm_suites, 0xFF, 3); param 478 drivers/staging/wilc1000/wilc_hif.c param->supp_rates[0] = rates_len; param 479 drivers/staging/wilc1000/wilc_hif.c memcpy(¶m->supp_rates[1], rates_ie + 2, rates_len); param 489 drivers/staging/wilc1000/wilc_hif.c param->supp_rates[0] = WILC_MAX_RATES_SUPPORTED; param 491 drivers/staging/wilc1000/wilc_hif.c param->supp_rates[0] += ext_rates; param 493 drivers/staging/wilc1000/wilc_hif.c memcpy(¶m->supp_rates[rates_len + 1], param 495 drivers/staging/wilc1000/wilc_hif.c (param->supp_rates[0] - rates_len)); param 501 drivers/staging/wilc1000/wilc_hif.c param->ht_capable = true; param 507 drivers/staging/wilc1000/wilc_hif.c param->tsf_lo = cpu_to_le32(ies->tsf); param 508 drivers/staging/wilc1000/wilc_hif.c param->noa_enabled = 1; param 509 drivers/staging/wilc1000/wilc_hif.c param->idx = noa_attr.index; param 511 drivers/staging/wilc1000/wilc_hif.c param->opp_enabled = 1; param 512 drivers/staging/wilc1000/wilc_hif.c param->opp_en.ct_window = noa_attr.oppps_ctwindow; param 513 drivers/staging/wilc1000/wilc_hif.c param->opp_en.cnt = noa_attr.desc[0].count; param 514 drivers/staging/wilc1000/wilc_hif.c param->opp_en.duration = noa_attr.desc[0].duration; param 515 drivers/staging/wilc1000/wilc_hif.c param->opp_en.interval = noa_attr.desc[0].interval; param 516 drivers/staging/wilc1000/wilc_hif.c param->opp_en.start_time = noa_attr.desc[0].start_time; param 518 drivers/staging/wilc1000/wilc_hif.c param->opp_enabled = 0; param 519 drivers/staging/wilc1000/wilc_hif.c param->opp_dis.cnt = noa_attr.desc[0].count; param 520 drivers/staging/wilc1000/wilc_hif.c param->opp_dis.duration = noa_attr.desc[0].duration; param 521 drivers/staging/wilc1000/wilc_hif.c param->opp_dis.interval = noa_attr.desc[0].interval; param 522 drivers/staging/wilc1000/wilc_hif.c param->opp_dis.start_time = noa_attr.desc[0].start_time; param 534 drivers/staging/wilc1000/wilc_hif.c param->wmm_cap = true; param 536 drivers/staging/wilc1000/wilc_hif.c param->uapsd_cap = true; param 544 drivers/staging/wilc1000/wilc_hif.c param->mode_802_11i = 1; param 545 drivers/staging/wilc1000/wilc_hif.c param->rsn_found = true; param 552 drivers/staging/wilc1000/wilc_hif.c param->mode_802_11i = 2; param 553 drivers/staging/wilc1000/wilc_hif.c param->rsn_found = true; param 557 drivers/staging/wilc1000/wilc_hif.c memcpy(param->rsn_cap, &rsn_ie[offset], 2); param 560 drivers/staging/wilc1000/wilc_hif.c if (param->rsn_found) { param 563 drivers/staging/wilc1000/wilc_hif.c param->rsn_grp_policy = crypto->cipher_group & 0xFF; param 565 drivers/staging/wilc1000/wilc_hif.c param->p_suites[i] = crypto->ciphers_pairwise[i] & 0xFF; param 568 drivers/staging/wilc1000/wilc_hif.c param->akm_suites[i] = crypto->akm_suites[i] & 0xFF; param 571 drivers/staging/wilc1000/wilc_hif.c return (void *)param; param 1505 drivers/staging/wilc1000/wilc_hif.c int wilc_hif_set_cfg(struct wilc_vif *vif, struct cfg_param_attr *param) param 1510 drivers/staging/wilc1000/wilc_hif.c if (param->flag & WILC_CFG_PARAM_RETRY_SHORT) { param 1512 drivers/staging/wilc1000/wilc_hif.c wid_list[i].val = (s8 *)¶m->short_retry_limit; param 1517 drivers/staging/wilc1000/wilc_hif.c if (param->flag & WILC_CFG_PARAM_RETRY_LONG) { param 1519 drivers/staging/wilc1000/wilc_hif.c wid_list[i].val = (s8 *)¶m->long_retry_limit; param 1524 drivers/staging/wilc1000/wilc_hif.c if (param->flag & WILC_CFG_PARAM_FRAG_THRESHOLD) { param 1526 drivers/staging/wilc1000/wilc_hif.c wid_list[i].val = (s8 *)¶m->frag_threshold; param 1531 drivers/staging/wilc1000/wilc_hif.c if (param->flag & WILC_CFG_PARAM_RTS_THRESHOLD) { param 1533 drivers/staging/wilc1000/wilc_hif.c wid_list[i].val = (s8 *)¶m->rts_threshold; param 137 drivers/staging/wilc1000/wilc_hif.h void *param; param 394 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wfi_drv->conn_info.param = join_params; param 593 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_param *param; param 596 drivers/target/iscsi/cxgbit/cxgbit_target.c param = iscsi_find_param_from_key(MAXXMITDATASEGMENTLENGTH, param 598 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!param) param 601 drivers/target/iscsi/cxgbit/cxgbit_target.c if (kstrtou32(param->value, 0, &max_xmitdsl) < 0) param 616 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_param *param; param 618 drivers/target/iscsi/cxgbit/cxgbit_target.c param = iscsi_find_param_from_key(HEADERDIGEST, conn->param_list); param 619 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!param) { param 624 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!strcmp(param->value, CRC32C)) param 627 drivers/target/iscsi/cxgbit/cxgbit_target.c param = iscsi_find_param_from_key(DATADIGEST, conn->param_list); param 628 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!param) { param 634 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!strcmp(param->value, CRC32C)) param 649 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_param *param; param 655 drivers/target/iscsi/cxgbit/cxgbit_target.c param = iscsi_find_param_from_key(MAXBURSTLENGTH, param 657 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!param) { param 662 drivers/target/iscsi/cxgbit/cxgbit_target.c if (kstrtou32(param->value, 0, &mbl) < 0) param 699 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_param *param; param 702 drivers/target/iscsi/cxgbit/cxgbit_target.c param = iscsi_find_param_from_key(DATASEQUENCEINORDER, param 704 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!param) { param 709 drivers/target/iscsi/cxgbit/cxgbit_target.c if (strcmp(param->value, YES)) param 712 drivers/target/iscsi/cxgbit/cxgbit_target.c param = iscsi_find_param_from_key(DATAPDUINORDER, param 714 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!param) { param 719 drivers/target/iscsi/cxgbit/cxgbit_target.c if (strcmp(param->value, YES)) param 738 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_param *param; param 748 drivers/target/iscsi/cxgbit/cxgbit_target.c param = iscsi_find_param_from_key(ERRORRECOVERYLEVEL, param 750 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!param) { param 754 drivers/target/iscsi/cxgbit/cxgbit_target.c if (kstrtou8(param->value, 0, &erl) < 0) param 906 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_param *param; \ param 912 drivers/target/iscsi/iscsi_target_configfs.c param = iscsi_find_param_from_key(__stringify(name), \ param 914 drivers/target/iscsi/iscsi_target_configfs.c if (!param) { \ param 918 drivers/target/iscsi/iscsi_target_configfs.c rb = snprintf(page, PAGE_SIZE, "%s\n", param->value); \ param 1269 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_param *param; param 1288 drivers/target/iscsi/iscsi_target_configfs.c param = iscsi_find_param_from_key(AUTHMETHOD, param 1290 drivers/target/iscsi/iscsi_target_configfs.c if (!param) param 1297 drivers/target/iscsi/iscsi_target_configfs.c if (iscsi_update_param_value(param, CHAP) < 0) param 1309 drivers/target/iscsi/iscsi_target_configfs.c if (iscsi_update_param_value(param, "CHAP,None") < 0) param 398 drivers/target/iscsi/iscsi_target_login.c struct iscsi_param *param; param 409 drivers/target/iscsi/iscsi_target_login.c param = iscsi_find_param_from_key("MaxRecvDataSegmentLength", param 411 drivers/target/iscsi/iscsi_target_login.c if (!param) { param 416 drivers/target/iscsi/iscsi_target_login.c rc = kstrtoul(param->value, 0, &mrdsl); param 262 drivers/target/iscsi/iscsi_target_nego.c struct iscsi_param *param = NULL; param 267 drivers/target/iscsi/iscsi_target_nego.c list_for_each_entry(param, &conn->param_list->param_list, p_list) { param 268 drivers/target/iscsi/iscsi_target_nego.c if (!strncmp(param->name, SESSIONTYPE, 11)) { param 269 drivers/target/iscsi/iscsi_target_nego.c if (!IS_PSTATE_ACCEPTOR(param)) { param 276 drivers/target/iscsi/iscsi_target_nego.c if (!strncmp(param->value, DISCOVERY, 9)) param 280 drivers/target/iscsi/iscsi_target_nego.c if (!strncmp(param->name, INITIATORNAME, 13)) { param 281 drivers/target/iscsi/iscsi_target_nego.c if (!IS_PSTATE_ACCEPTOR(param)) { param 308 drivers/target/iscsi/iscsi_target_nego.c if (strcmp(param->value, param 313 drivers/target/iscsi/iscsi_target_nego.c param->value); param 748 drivers/target/iscsi/iscsi_target_nego.c struct iscsi_param *param; param 756 drivers/target/iscsi/iscsi_target_nego.c param = iscsi_find_param_from_key(AUTHMETHOD, conn->param_list); param 757 drivers/target/iscsi/iscsi_target_nego.c if (!param) param 766 drivers/target/iscsi/iscsi_target_nego.c param->value); param 807 drivers/target/iscsi/iscsi_target_nego.c struct iscsi_param *param; param 815 drivers/target/iscsi/iscsi_target_nego.c param = iscsi_find_param_from_key(AUTHMETHOD, conn->param_list); param 816 drivers/target/iscsi/iscsi_target_nego.c if (!param) param 832 drivers/target/iscsi/iscsi_target_nego.c " sending %s keys.\n", param->value); param 863 drivers/target/iscsi/iscsi_target_nego.c !strncmp(param->value, NONE, 4)) { param 876 drivers/target/iscsi/iscsi_target_nego.c if (strncmp(param->value, NONE, 4) && !login->auth_complete) param 112 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 114 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) param 115 drivers/target/iscsi/iscsi_target_parameters.c pr_debug("%s: %s\n", param->name, param->value); param 122 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param = NULL; param 124 drivers/target/iscsi/iscsi_target_parameters.c param = kzalloc(sizeof(struct iscsi_param), GFP_KERNEL); param 125 drivers/target/iscsi/iscsi_target_parameters.c if (!param) { param 129 drivers/target/iscsi/iscsi_target_parameters.c INIT_LIST_HEAD(¶m->p_list); param 131 drivers/target/iscsi/iscsi_target_parameters.c param->name = kstrdup(name, GFP_KERNEL); param 132 drivers/target/iscsi/iscsi_target_parameters.c if (!param->name) { param 137 drivers/target/iscsi/iscsi_target_parameters.c param->value = kstrdup(value, GFP_KERNEL); param 138 drivers/target/iscsi/iscsi_target_parameters.c if (!param->value) { param 143 drivers/target/iscsi/iscsi_target_parameters.c param->phase = phase; param 144 drivers/target/iscsi/iscsi_target_parameters.c param->scope = scope; param 145 drivers/target/iscsi/iscsi_target_parameters.c param->sender = sender; param 146 drivers/target/iscsi/iscsi_target_parameters.c param->use = use; param 147 drivers/target/iscsi/iscsi_target_parameters.c param->type_range = type_range; param 149 drivers/target/iscsi/iscsi_target_parameters.c switch (param->type_range) { param 151 drivers/target/iscsi/iscsi_target_parameters.c param->type = TYPE_BOOL_AND; param 154 drivers/target/iscsi/iscsi_target_parameters.c param->type = TYPE_BOOL_OR; param 163 drivers/target/iscsi/iscsi_target_parameters.c param->type = TYPE_NUMBER; param 167 drivers/target/iscsi/iscsi_target_parameters.c param->type = TYPE_VALUE_LIST | TYPE_STRING; param 173 drivers/target/iscsi/iscsi_target_parameters.c param->type = TYPE_STRING; param 177 drivers/target/iscsi/iscsi_target_parameters.c param->type_range); param 180 drivers/target/iscsi/iscsi_target_parameters.c list_add_tail(¶m->p_list, ¶m_list->param_list); param 182 drivers/target/iscsi/iscsi_target_parameters.c return param; param 184 drivers/target/iscsi/iscsi_target_parameters.c if (param) { param 185 drivers/target/iscsi/iscsi_target_parameters.c kfree(param->value); param 186 drivers/target/iscsi/iscsi_target_parameters.c kfree(param->name); param 187 drivers/target/iscsi/iscsi_target_parameters.c kfree(param); param 196 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param = NULL; param 219 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, AUTHMETHOD, INITIAL_AUTHMETHOD, param 222 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 225 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, HEADERDIGEST, INITIAL_HEADERDIGEST, param 228 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 231 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, DATADIGEST, INITIAL_DATADIGEST, param 234 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 237 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, MAXCONNECTIONS, param 241 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 244 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, SENDTARGETS, INITIAL_SENDTARGETS, param 247 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 250 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, TARGETNAME, INITIAL_TARGETNAME, param 253 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 256 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, INITIATORNAME, param 260 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 263 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, TARGETALIAS, INITIAL_TARGETALIAS, param 266 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 269 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, INITIATORALIAS, param 273 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 276 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, TARGETADDRESS, param 280 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 283 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, TARGETPORTALGROUPTAG, param 287 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 290 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, INITIALR2T, INITIAL_INITIALR2T, param 293 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 296 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, IMMEDIATEDATA, param 300 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 303 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, MAXXMITDATASEGMENTLENGTH, param 307 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 310 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, MAXRECVDATASEGMENTLENGTH, param 314 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 317 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, MAXBURSTLENGTH, param 321 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 324 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, FIRSTBURSTLENGTH, param 328 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 331 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, DEFAULTTIME2WAIT, param 335 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 338 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, DEFAULTTIME2RETAIN, param 342 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 345 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, MAXOUTSTANDINGR2T, param 349 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 352 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, DATAPDUINORDER, param 356 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 359 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, DATASEQUENCEINORDER, param 363 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 366 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, ERRORRECOVERYLEVEL, param 370 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 373 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, SESSIONTYPE, INITIAL_SESSIONTYPE, param 376 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 379 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, IFMARKER, INITIAL_IFMARKER, param 382 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 385 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, OFMARKER, INITIAL_OFMARKER, param 388 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 391 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, IFMARKINT, INITIAL_IFMARKINT, param 394 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 397 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, OFMARKINT, INITIAL_OFMARKINT, param 400 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 406 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, RDMAEXTENSIONS, INITIAL_RDMAEXTENSIONS, param 409 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 412 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, INITIATORRECVDATASEGMENTLENGTH, param 416 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 419 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_set_default_param(pl, TARGETRECVDATASEGMENTLENGTH, param 423 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 437 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 441 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 442 drivers/target/iscsi/iscsi_target_parameters.c param->state = 0; param 443 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, AUTHMETHOD)) { param 444 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 445 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, HEADERDIGEST)) { param 447 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 448 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DATADIGEST)) { param 450 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 451 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXCONNECTIONS)) { param 452 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 453 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, TARGETNAME)) { param 455 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, INITIATORNAME)) { param 457 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, TARGETALIAS)) { param 458 drivers/target/iscsi/iscsi_target_parameters.c if (param->value) param 459 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 460 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, INITIATORALIAS)) { param 462 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, TARGETPORTALGROUPTAG)) { param 463 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 464 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, INITIALR2T)) { param 465 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 466 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, IMMEDIATEDATA)) { param 467 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 468 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXRECVDATASEGMENTLENGTH)) { param 470 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 471 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXXMITDATASEGMENTLENGTH)) { param 473 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXBURSTLENGTH)) { param 474 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 475 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, FIRSTBURSTLENGTH)) { param 476 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 477 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DEFAULTTIME2WAIT)) { param 478 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 479 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DEFAULTTIME2RETAIN)) { param 480 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 481 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXOUTSTANDINGR2T)) { param 482 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 483 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DATAPDUINORDER)) { param 484 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 485 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DATASEQUENCEINORDER)) { param 486 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 487 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, ERRORRECOVERYLEVEL)) { param 488 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 489 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, SESSIONTYPE)) { param 490 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 491 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, IFMARKER)) { param 492 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REJECT(param); param 493 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, OFMARKER)) { param 494 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REJECT(param); param 495 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, IFMARKINT)) { param 496 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REJECT(param); param 497 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, OFMARKINT)) { param 498 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REJECT(param); param 499 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, RDMAEXTENSIONS)) { param 501 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 502 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, INITIATORRECVDATASEGMENTLENGTH)) { param 504 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 505 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, TARGETRECVDATASEGMENTLENGTH)) { param 507 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_NEGOTIATE(param); param 517 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 519 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 520 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXCONNECTIONS)) param 521 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 522 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, INITIALR2T)) param 523 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 524 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, IMMEDIATEDATA)) param 525 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 526 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, MAXBURSTLENGTH)) param 527 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 528 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, FIRSTBURSTLENGTH)) param 529 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 530 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, MAXOUTSTANDINGR2T)) param 531 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 532 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, DATAPDUINORDER)) param 533 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 534 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, DATASEQUENCEINORDER)) param 535 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 536 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, ERRORRECOVERYLEVEL)) param 537 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 538 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, DEFAULTTIME2WAIT)) param 539 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 540 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, DEFAULTTIME2RETAIN)) param 541 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 542 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, IFMARKER)) param 543 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 544 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, OFMARKER)) param 545 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 546 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, IFMARKINT)) param 547 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 548 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, OFMARKINT)) param 549 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 550 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, RDMAEXTENSIONS)) param 551 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 552 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, INITIATORRECVDATASEGMENTLENGTH)) param 553 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 554 drivers/target/iscsi/iscsi_target_parameters.c else if (!strcmp(param->name, TARGETRECVDATASEGMENTLENGTH)) param 555 drivers/target/iscsi/iscsi_target_parameters.c param->state &= ~PSTATE_NEGOTIATE; param 566 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param = NULL; param 578 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, &src_param_list->param_list, p_list) { param 579 drivers/target/iscsi/iscsi_target_parameters.c if (!leading && (param->scope & SCOPE_SESSION_WIDE)) { param 580 drivers/target/iscsi/iscsi_target_parameters.c if ((strcmp(param->name, "TargetName") != 0) && param 581 drivers/target/iscsi/iscsi_target_parameters.c (strcmp(param->name, "InitiatorName") != 0) && param 582 drivers/target/iscsi/iscsi_target_parameters.c (strcmp(param->name, "TargetPortalGroupTag") != 0)) param 592 drivers/target/iscsi/iscsi_target_parameters.c new_param->name = kstrdup(param->name, GFP_KERNEL); param 593 drivers/target/iscsi/iscsi_target_parameters.c new_param->value = kstrdup(param->value, GFP_KERNEL); param 602 drivers/target/iscsi/iscsi_target_parameters.c new_param->set_param = param->set_param; param 603 drivers/target/iscsi/iscsi_target_parameters.c new_param->phase = param->phase; param 604 drivers/target/iscsi/iscsi_target_parameters.c new_param->scope = param->scope; param 605 drivers/target/iscsi/iscsi_target_parameters.c new_param->sender = param->sender; param 606 drivers/target/iscsi/iscsi_target_parameters.c new_param->type = param->type; param 607 drivers/target/iscsi/iscsi_target_parameters.c new_param->use = param->use; param 608 drivers/target/iscsi/iscsi_target_parameters.c new_param->type_range = param->type_range; param 640 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param, *param_tmp; param 642 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry_safe(param, param_tmp, ¶m_list->param_list, param 644 drivers/target/iscsi/iscsi_target_parameters.c list_del(¶m->p_list); param 646 drivers/target/iscsi/iscsi_target_parameters.c kfree(param->name); param 647 drivers/target/iscsi/iscsi_target_parameters.c kfree(param->value); param 648 drivers/target/iscsi/iscsi_target_parameters.c kfree(param); param 660 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 667 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 668 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(key, param->name)) param 669 drivers/target/iscsi/iscsi_target_parameters.c return param; param 693 drivers/target/iscsi/iscsi_target_parameters.c int iscsi_update_param_value(struct iscsi_param *param, char *value) param 695 drivers/target/iscsi/iscsi_target_parameters.c kfree(param->value); param 697 drivers/target/iscsi/iscsi_target_parameters.c param->value = kstrdup(value, GFP_KERNEL); param 698 drivers/target/iscsi/iscsi_target_parameters.c if (!param->value) { param 704 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 760 drivers/target/iscsi/iscsi_target_parameters.c static void iscsi_check_proposer_for_optional_reply(struct iscsi_param *param, param 763 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPE_BOOL_AND(param)) { param 764 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->value, NO)) param 765 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 766 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_TYPE_BOOL_OR(param)) { param 767 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->value, YES)) param 768 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 774 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, IMMEDIATEDATA)) param 775 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 777 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_TYPE_NUMBER(param)) { param 778 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXRECVDATASEGMENTLENGTH)) param 779 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 785 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, FIRSTBURSTLENGTH)) param 786 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 791 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXCONNECTIONS)) param 792 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 794 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_PHASE_DECLARATIVE(param)) param 795 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 798 drivers/target/iscsi/iscsi_target_parameters.c static int iscsi_check_boolean_value(struct iscsi_param *param, char *value) param 802 drivers/target/iscsi/iscsi_target_parameters.c " \"%s\" or \"%s\".\n", param->name, YES, NO); param 809 drivers/target/iscsi/iscsi_target_parameters.c static int iscsi_check_numerical_value(struct iscsi_param *param, char *value_ptr) param 816 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_0_TO_2(param)) { param 819 drivers/target/iscsi/iscsi_target_parameters.c " between 0 and 2.\n", param->name); param 824 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_0_TO_3600(param)) { param 827 drivers/target/iscsi/iscsi_target_parameters.c " between 0 and 3600.\n", param->name); param 832 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_0_TO_32767(param)) { param 835 drivers/target/iscsi/iscsi_target_parameters.c " between 0 and 32767.\n", param->name); param 840 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_0_TO_65535(param)) { param 843 drivers/target/iscsi/iscsi_target_parameters.c " between 0 and 65535.\n", param->name); param 848 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_1_TO_65535(param)) { param 851 drivers/target/iscsi/iscsi_target_parameters.c " between 1 and 65535.\n", param->name); param 856 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_2_TO_3600(param)) { param 859 drivers/target/iscsi/iscsi_target_parameters.c " between 2 and 3600.\n", param->name); param 864 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_512_TO_16777215(param)) { param 867 drivers/target/iscsi/iscsi_target_parameters.c " between 512 and 16777215.\n", param->name); param 876 drivers/target/iscsi/iscsi_target_parameters.c static int iscsi_check_string_or_list_value(struct iscsi_param *param, char *value) param 878 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_PROPOSER(param)) param 881 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_AUTH_PARAM(param)) { param 887 drivers/target/iscsi/iscsi_target_parameters.c " or \"%s\".\n", param->name, KRB5, param 892 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_DIGEST_PARAM(param)) { param 895 drivers/target/iscsi/iscsi_target_parameters.c " \"%s\" or \"%s\".\n", param->name, param 900 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPERANGE_SESSIONTYPE(param)) { param 903 drivers/target/iscsi/iscsi_target_parameters.c " \"%s\" or \"%s\".\n", param->name, param 913 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param, param 919 drivers/target/iscsi/iscsi_target_parameters.c acceptor_values = param->value; param 928 drivers/target/iscsi/iscsi_target_parameters.c acceptor_values = param->value; param 957 drivers/target/iscsi/iscsi_target_parameters.c static int iscsi_check_acceptor_state(struct iscsi_param *param, char *value, param 963 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_ACCEPTOR(param)) { param 965 drivers/target/iscsi/iscsi_target_parameters.c param->name); param 969 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_REJECT(param)) param 972 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPE_BOOL_AND(param)) { param 975 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->value, YES)) param 980 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, NO) < 0) param 983 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 985 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_TYPE_BOOL_OR(param)) { param 988 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->value, YES)) param 991 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, YES) < 0) param 994 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 996 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_TYPE_NUMBER(param)) { param 998 drivers/target/iscsi/iscsi_target_parameters.c u32 acceptor_value = simple_strtoul(param->value, &tmpptr, 0); param 1003 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXCONNECTIONS) || param 1004 drivers/target/iscsi/iscsi_target_parameters.c !strcmp(param->name, MAXBURSTLENGTH) || param 1005 drivers/target/iscsi/iscsi_target_parameters.c !strcmp(param->name, FIRSTBURSTLENGTH) || param 1006 drivers/target/iscsi/iscsi_target_parameters.c !strcmp(param->name, MAXOUTSTANDINGR2T) || param 1007 drivers/target/iscsi/iscsi_target_parameters.c !strcmp(param->name, DEFAULTTIME2RETAIN) || param 1008 drivers/target/iscsi/iscsi_target_parameters.c !strcmp(param->name, ERRORRECOVERYLEVEL)) { param 1011 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, param 1015 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, value) < 0) param 1018 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DEFAULTTIME2WAIT)) { param 1021 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, param 1025 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, value) < 0) param 1029 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, value) < 0) param 1033 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXRECVDATASEGMENTLENGTH)) { param 1038 drivers/target/iscsi/iscsi_target_parameters.c rc = kstrtoull(param->value, 0, &tmp); param 1053 drivers/target/iscsi/iscsi_target_parameters.c rc = iscsi_update_param_value(param, param 1059 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 1061 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_TYPE_VALUE_LIST(param)) { param 1063 drivers/target/iscsi/iscsi_target_parameters.c param, value); param 1067 drivers/target/iscsi/iscsi_target_parameters.c " \"%s\".\n", value, param->value); param 1070 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, negotiated_value) < 0) param 1072 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_PHASE_DECLARATIVE(param)) { param 1073 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, value) < 0) param 1075 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REPLY_OPTIONAL(param); param 1081 drivers/target/iscsi/iscsi_target_parameters.c static int iscsi_check_proposer_state(struct iscsi_param *param, char *value) param 1083 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_RESPONSE_GOT(param)) { param 1085 drivers/target/iscsi/iscsi_target_parameters.c param->name); param 1089 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPE_VALUE_LIST(param)) { param 1095 drivers/target/iscsi/iscsi_target_parameters.c param->name); param 1099 drivers/target/iscsi/iscsi_target_parameters.c tmp_ptr = iscsi_check_valuelist_for_support(param, value); param 1104 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, value) < 0) param 1110 drivers/target/iscsi/iscsi_target_parameters.c static int iscsi_check_value(struct iscsi_param *param, char *value) param 1115 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, IFMARKINT) || param 1116 drivers/target/iscsi/iscsi_target_parameters.c !strcmp(param->name, OFMARKINT)) { param 1121 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_REJECT(param); param 1124 drivers/target/iscsi/iscsi_target_parameters.c pr_err("Received %s=%s\n", param->name, value); param 1128 drivers/target/iscsi/iscsi_target_parameters.c pr_debug("Received %s=%s\n", param->name, value); param 1129 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_IRRELEVANT(param); param 1133 drivers/target/iscsi/iscsi_target_parameters.c if (!IS_PSTATE_PROPOSER(param)) { param 1135 drivers/target/iscsi/iscsi_target_parameters.c param->name, value); param 1141 drivers/target/iscsi/iscsi_target_parameters.c " with \"%s\", protocol error.\n", param->name, value); param 1149 drivers/target/iscsi/iscsi_target_parameters.c if (comma_ptr && !IS_TYPE_VALUE_LIST(param)) { param 1152 drivers/target/iscsi/iscsi_target_parameters.c " protocol error.\n", param->name); param 1160 drivers/target/iscsi/iscsi_target_parameters.c " protocol error.\n", param->name, param 1165 drivers/target/iscsi/iscsi_target_parameters.c if (IS_TYPE_BOOL_AND(param) || IS_TYPE_BOOL_OR(param)) { param 1166 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_check_boolean_value(param, value) < 0) param 1168 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_TYPE_NUMBER(param)) { param 1169 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_check_numerical_value(param, value) < 0) param 1171 drivers/target/iscsi/iscsi_target_parameters.c } else if (IS_TYPE_STRING(param) || IS_TYPE_VALUE_LIST(param)) { param 1172 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_check_string_or_list_value(param, value) < 0) param 1175 drivers/target/iscsi/iscsi_target_parameters.c pr_err("Huh? 0x%02x\n", param->type); param 1193 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 1201 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_find_param_from_key(key, param_list); param 1202 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 1205 drivers/target/iscsi/iscsi_target_parameters.c if ((sender & SENDER_INITIATOR) && !IS_SENDER_INITIATOR(param)) { param 1207 drivers/target/iscsi/iscsi_target_parameters.c " protocol error.\n", param->name, param 1212 drivers/target/iscsi/iscsi_target_parameters.c if ((sender & SENDER_TARGET) && !IS_SENDER_TARGET(param)) { param 1214 drivers/target/iscsi/iscsi_target_parameters.c " protocol error.\n", param->name, param 1219 drivers/target/iscsi/iscsi_target_parameters.c return param; param 1228 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 1238 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_find_param_from_key(key, param_list); param 1239 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 1242 drivers/target/iscsi/iscsi_target_parameters.c if ((sender & SENDER_INITIATOR) && !IS_SENDER_INITIATOR(param)) { param 1244 drivers/target/iscsi/iscsi_target_parameters.c " protocol error.\n", param->name, param 1248 drivers/target/iscsi/iscsi_target_parameters.c if ((sender & SENDER_TARGET) && !IS_SENDER_TARGET(param)) { param 1250 drivers/target/iscsi/iscsi_target_parameters.c " protocol error.\n", param->name, param 1255 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_ACCEPTOR(param)) { param 1262 drivers/target/iscsi/iscsi_target_parameters.c return param; param 1264 drivers/target/iscsi/iscsi_target_parameters.c if (!(param->phase & phase)) { param 1266 drivers/target/iscsi/iscsi_target_parameters.c param->name); param 1280 drivers/target/iscsi/iscsi_target_parameters.c return param; param 1291 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param = NULL; param 1293 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 1294 drivers/target/iscsi/iscsi_target_parameters.c if (!(param->phase & phase)) param 1296 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, SESSIONTYPE)) param 1297 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->value, NORMAL)) param 1299 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, ERRORRECOVERYLEVEL)) param 1300 drivers/target/iscsi/iscsi_target_parameters.c ErrorRecoveryLevel = simple_strtoul(param->value, param 1302 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, DATASEQUENCEINORDER)) param 1303 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->value, YES)) param 1305 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXBURSTLENGTH)) param 1306 drivers/target/iscsi/iscsi_target_parameters.c MaxBurstLength = simple_strtoul(param->value, param 1310 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 1311 drivers/target/iscsi/iscsi_target_parameters.c if (!(param->phase & phase)) param 1313 drivers/target/iscsi/iscsi_target_parameters.c if (!SessionType && !IS_PSTATE_ACCEPTOR(param)) param 1315 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXOUTSTANDINGR2T) && param 1317 drivers/target/iscsi/iscsi_target_parameters.c if (strcmp(param->value, "1")) { param 1318 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, "1") < 0) param 1321 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 1324 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXCONNECTIONS) && !SessionType) { param 1325 drivers/target/iscsi/iscsi_target_parameters.c if (strcmp(param->value, "1")) { param 1326 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, "1") < 0) param 1329 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 1332 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, FIRSTBURSTLENGTH)) { param 1333 drivers/target/iscsi/iscsi_target_parameters.c FirstBurstLength = simple_strtoul(param->value, param 1339 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, tmpbuf)) param 1342 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 1373 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 1387 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_check_key(key, phase, sender, param_list); param 1388 drivers/target/iscsi/iscsi_target_parameters.c if (!param) { param 1396 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_check_value(param, value) < 0) param 1401 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_PROPOSER(param)) { param 1402 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_check_proposer_state(param, value) < 0) param 1405 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_RESPONSE_GOT(param); param 1407 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_check_acceptor_state(param, value, conn) < 0) param 1410 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_ACCEPTOR(param); param 1432 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 1439 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 1440 drivers/target/iscsi/iscsi_target_parameters.c if (!(param->sender & sender)) param 1442 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_ACCEPTOR(param) && param 1443 drivers/target/iscsi/iscsi_target_parameters.c !IS_PSTATE_RESPONSE_SENT(param) && param 1444 drivers/target/iscsi/iscsi_target_parameters.c !IS_PSTATE_REPLY_OPTIONAL(param) && param 1445 drivers/target/iscsi/iscsi_target_parameters.c (param->phase & phase)) { param 1447 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 1450 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_RESPONSE_SENT(param); param 1452 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 1455 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_NEGOTIATE(param) && param 1456 drivers/target/iscsi/iscsi_target_parameters.c !IS_PSTATE_ACCEPTOR(param) && param 1457 drivers/target/iscsi/iscsi_target_parameters.c !IS_PSTATE_PROPOSER(param) && param 1458 drivers/target/iscsi/iscsi_target_parameters.c (param->phase & phase)) { param 1460 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 1463 drivers/target/iscsi/iscsi_target_parameters.c SET_PSTATE_PROPOSER(param); param 1464 drivers/target/iscsi/iscsi_target_parameters.c iscsi_check_proposer_for_optional_reply(param, param 1467 drivers/target/iscsi/iscsi_target_parameters.c param->name, param->value); param 1485 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 1487 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 1488 drivers/target/iscsi/iscsi_target_parameters.c if (IS_PSTATE_NEGOTIATE(param) && param 1489 drivers/target/iscsi/iscsi_target_parameters.c IS_PSTATE_PROPOSER(param) && param 1490 drivers/target/iscsi/iscsi_target_parameters.c !IS_PSTATE_RESPONSE_GOT(param) && param 1491 drivers/target/iscsi/iscsi_target_parameters.c !IS_PSTATE_REPLY_OPTIONAL(param) && param 1492 drivers/target/iscsi/iscsi_target_parameters.c !IS_PHASE_DECLARATIVE(param)) { param 1494 drivers/target/iscsi/iscsi_target_parameters.c param->name); param 1508 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 1515 drivers/target/iscsi/iscsi_target_parameters.c param = __iscsi_check_key(keyvalue, sender, param_list); param 1516 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 1519 drivers/target/iscsi/iscsi_target_parameters.c param = iscsi_check_key(keyvalue, 0, sender, param_list); param 1520 drivers/target/iscsi/iscsi_target_parameters.c if (!param) param 1523 drivers/target/iscsi/iscsi_target_parameters.c param->set_param = 1; param 1524 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_check_value(param, value) < 0) { param 1525 drivers/target/iscsi/iscsi_target_parameters.c param->set_param = 0; param 1528 drivers/target/iscsi/iscsi_target_parameters.c param->set_param = 0; param 1531 drivers/target/iscsi/iscsi_target_parameters.c if (iscsi_update_param_value(param, value) < 0) param 1542 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 1546 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 1552 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, MAXXMITDATASEGMENTLENGTH)) { param 1554 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1556 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1559 drivers/target/iscsi/iscsi_target_parameters.c if (!IS_PSTATE_ACCEPTOR(param) && !IS_PSTATE_PROPOSER(param)) param 1561 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, AUTHMETHOD)) { param 1563 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1564 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, HEADERDIGEST)) { param 1565 drivers/target/iscsi/iscsi_target_parameters.c ops->HeaderDigest = !strcmp(param->value, CRC32C); param 1567 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1568 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DATADIGEST)) { param 1569 drivers/target/iscsi/iscsi_target_parameters.c ops->DataDigest = !strcmp(param->value, CRC32C); param 1571 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1572 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXRECVDATASEGMENTLENGTH)) { param 1580 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, INITIATORRECVDATASEGMENTLENGTH)) { param 1582 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1584 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1588 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, TARGETRECVDATASEGMENTLENGTH)) { param 1590 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1592 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1608 drivers/target/iscsi/iscsi_target_parameters.c struct iscsi_param *param; param 1612 drivers/target/iscsi/iscsi_target_parameters.c list_for_each_entry(param, ¶m_list->param_list, p_list) { param 1613 drivers/target/iscsi/iscsi_target_parameters.c if (!IS_PSTATE_ACCEPTOR(param) && !IS_PSTATE_PROPOSER(param)) param 1615 drivers/target/iscsi/iscsi_target_parameters.c if (!strcmp(param->name, INITIATORNAME)) { param 1616 drivers/target/iscsi/iscsi_target_parameters.c if (!param->value) param 1621 drivers/target/iscsi/iscsi_target_parameters.c "%s", param->value); param 1623 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1624 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, INITIATORALIAS)) { param 1625 drivers/target/iscsi/iscsi_target_parameters.c if (!param->value) param 1629 drivers/target/iscsi/iscsi_target_parameters.c "%s", param->value); param 1631 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1632 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, TARGETNAME)) { param 1633 drivers/target/iscsi/iscsi_target_parameters.c if (!param->value) param 1638 drivers/target/iscsi/iscsi_target_parameters.c "%s", param->value); param 1640 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1641 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, TARGETALIAS)) { param 1642 drivers/target/iscsi/iscsi_target_parameters.c if (!param->value) param 1645 drivers/target/iscsi/iscsi_target_parameters.c "%s", param->value); param 1647 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1648 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, TARGETPORTALGROUPTAG)) { param 1650 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1652 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1653 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXCONNECTIONS)) { param 1655 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1657 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1658 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, INITIALR2T)) { param 1659 drivers/target/iscsi/iscsi_target_parameters.c ops->InitialR2T = !strcmp(param->value, YES); param 1661 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1662 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, IMMEDIATEDATA)) { param 1663 drivers/target/iscsi/iscsi_target_parameters.c ops->ImmediateData = !strcmp(param->value, YES); param 1665 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1666 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXBURSTLENGTH)) { param 1668 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1670 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1671 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, FIRSTBURSTLENGTH)) { param 1673 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1675 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1676 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DEFAULTTIME2WAIT)) { param 1678 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1680 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1681 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DEFAULTTIME2RETAIN)) { param 1683 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1685 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1686 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, MAXOUTSTANDINGR2T)) { param 1688 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1690 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1691 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DATAPDUINORDER)) { param 1692 drivers/target/iscsi/iscsi_target_parameters.c ops->DataPDUInOrder = !strcmp(param->value, YES); param 1694 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1695 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, DATASEQUENCEINORDER)) { param 1696 drivers/target/iscsi/iscsi_target_parameters.c ops->DataSequenceInOrder = !strcmp(param->value, YES); param 1698 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1699 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, ERRORRECOVERYLEVEL)) { param 1701 drivers/target/iscsi/iscsi_target_parameters.c simple_strtoul(param->value, &tmpptr, 0); param 1703 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1704 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, SESSIONTYPE)) { param 1705 drivers/target/iscsi/iscsi_target_parameters.c ops->SessionType = !strcmp(param->value, DISCOVERY); param 1707 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 1708 drivers/target/iscsi/iscsi_target_parameters.c } else if (!strcmp(param->name, RDMAEXTENSIONS)) { param 1709 drivers/target/iscsi/iscsi_target_parameters.c ops->RDMAExtensions = !strcmp(param->value, YES); param 1711 drivers/target/iscsi/iscsi_target_parameters.c param->value); param 52 drivers/target/iscsi/iscsi_target_tpg.c struct iscsi_param *param; param 83 drivers/target/iscsi/iscsi_target_tpg.c param = iscsi_find_param_from_key(AUTHMETHOD, tpg->param_list); param 84 drivers/target/iscsi/iscsi_target_tpg.c if (!param) param 87 drivers/target/iscsi/iscsi_target_tpg.c if (iscsi_update_param_value(param, "CHAP,None") < 0) param 306 drivers/target/iscsi/iscsi_target_tpg.c struct iscsi_param *param; param 320 drivers/target/iscsi/iscsi_target_tpg.c param = iscsi_find_param_from_key(AUTHMETHOD, tpg->param_list); param 321 drivers/target/iscsi/iscsi_target_tpg.c if (!param) param 325 drivers/target/iscsi/iscsi_target_tpg.c if (!strcmp(param->value, NONE)) { param 326 drivers/target/iscsi/iscsi_target_tpg.c ret = iscsi_update_param_value(param, CHAP); param 588 drivers/target/iscsi/iscsi_target_tpg.c struct iscsi_param *param; param 600 drivers/target/iscsi/iscsi_target_tpg.c param = iscsi_find_param_from_key(AUTHMETHOD, tpg->param_list); param 601 drivers/target/iscsi/iscsi_target_tpg.c if (!param) param 605 drivers/target/iscsi/iscsi_target_tpg.c snprintf(buf1, sizeof(buf1), "%s", param->value); param 624 drivers/target/iscsi/iscsi_target_tpg.c if (iscsi_update_param_value(param, buf2) < 0) param 627 drivers/target/iscsi/iscsi_target_tpg.c snprintf(buf1, sizeof(buf1), "%s", param->value); param 632 drivers/target/iscsi/iscsi_target_tpg.c if (iscsi_update_param_value(param, buf1) < 0) param 129 drivers/tee/optee/call.c struct optee_rpc_param param = { }; param 133 drivers/tee/optee/call.c param.a0 = OPTEE_SMC_CALL_WITH_ARG; param 134 drivers/tee/optee/call.c reg_pair_from_64(¶m.a1, ¶m.a2, parg); param 140 drivers/tee/optee/call.c optee->invoke_fn(param.a0, param.a1, param.a2, param.a3, param 141 drivers/tee/optee/call.c param.a4, param.a5, param.a6, param.a7, param 152 drivers/tee/optee/call.c param.a0 = res.a0; param 153 drivers/tee/optee/call.c param.a1 = res.a1; param 154 drivers/tee/optee/call.c param.a2 = res.a2; param 155 drivers/tee/optee/call.c param.a3 = res.a3; param 156 drivers/tee/optee/call.c optee_handle_rpc(ctx, ¶m, &call_ctx); param 210 drivers/tee/optee/call.c struct tee_param *param) param 239 drivers/tee/optee/call.c rc = optee_to_msg_param(msg_arg->params + 2, arg->num_params, param); param 264 drivers/tee/optee/call.c if (optee_from_msg_param(param, arg->num_params, msg_arg->params + 2)) { param 311 drivers/tee/optee/call.c struct tee_param *param) param 335 drivers/tee/optee/call.c rc = optee_to_msg_param(msg_arg->params, arg->num_params, param); param 344 drivers/tee/optee/call.c if (optee_from_msg_param(param, arg->num_params, msg_arg->params)) { param 39 drivers/tee/optee/device.c struct tee_param param[4]; param 42 drivers/tee/optee/device.c memset(¶m, 0, sizeof(param)); param 50 drivers/tee/optee/device.c param[0].attr = TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_OUTPUT; param 51 drivers/tee/optee/device.c param[0].u.memref.shm = device_shm; param 52 drivers/tee/optee/device.c param[0].u.memref.size = *shm_size; param 53 drivers/tee/optee/device.c param[0].u.memref.shm_offs = 0; param 55 drivers/tee/optee/device.c ret = tee_client_invoke_func(ctx, &inv_arg, param); param 63 drivers/tee/optee/device.c *shm_size = param[0].u.memref.size; param 123 drivers/tee/optee/optee_private.h void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param, param 131 drivers/tee/optee/optee_private.h struct tee_param *param); param 140 drivers/tee/optee/optee_private.h struct tee_param *param); param 142 drivers/tee/optee/optee_private.h struct tee_param *param); param 147 drivers/tee/optee/optee_private.h struct tee_param *param); param 150 drivers/tee/optee/optee_private.h struct tee_param *param); param 173 drivers/tee/optee/rpc.c struct tee_param param; param 177 drivers/tee/optee/rpc.c param.attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INOUT; param 178 drivers/tee/optee/rpc.c param.u.value.a = OPTEE_MSG_RPC_SHM_TYPE_APPL; param 179 drivers/tee/optee/rpc.c param.u.value.b = sz; param 180 drivers/tee/optee/rpc.c param.u.value.c = 0; param 182 drivers/tee/optee/rpc.c ret = optee_supp_thrd_req(ctx, OPTEE_MSG_RPC_CMD_SHM_ALLOC, 1, ¶m); param 188 drivers/tee/optee/rpc.c shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); param 291 drivers/tee/optee/rpc.c struct tee_param param; param 293 drivers/tee/optee/rpc.c param.attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INOUT; param 294 drivers/tee/optee/rpc.c param.u.value.a = OPTEE_MSG_RPC_SHM_TYPE_APPL; param 295 drivers/tee/optee/rpc.c param.u.value.b = tee_shm_get_id(shm); param 296 drivers/tee/optee/rpc.c param.u.value.c = 0; param 311 drivers/tee/optee/rpc.c optee_supp_thrd_req(ctx, OPTEE_MSG_RPC_CMD_SHM_FREE, 1, ¶m); param 398 drivers/tee/optee/rpc.c void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param, param 406 drivers/tee/optee/rpc.c switch (OPTEE_SMC_RETURN_GET_RPC_FUNC(param->a0)) { param 408 drivers/tee/optee/rpc.c shm = tee_shm_alloc(ctx, param->a1, TEE_SHM_MAPPED); param 410 drivers/tee/optee/rpc.c reg_pair_from_64(¶m->a1, ¶m->a2, pa); param 411 drivers/tee/optee/rpc.c reg_pair_from_64(¶m->a4, ¶m->a5, param 414 drivers/tee/optee/rpc.c param->a1 = 0; param 415 drivers/tee/optee/rpc.c param->a2 = 0; param 416 drivers/tee/optee/rpc.c param->a4 = 0; param 417 drivers/tee/optee/rpc.c param->a5 = 0; param 421 drivers/tee/optee/rpc.c shm = reg_pair_to_ptr(param->a1, param->a2); param 433 drivers/tee/optee/rpc.c shm = reg_pair_to_ptr(param->a1, param->a2); param 438 drivers/tee/optee/rpc.c (u32)OPTEE_SMC_RETURN_GET_RPC_FUNC(param->a0)); param 442 drivers/tee/optee/rpc.c param->a0 = OPTEE_SMC_CALL_RETURN_FROM_RPC; param 17 drivers/tee/optee/supp.c struct tee_param *param; param 77 drivers/tee/optee/supp.c struct tee_param *param) param 100 drivers/tee/optee/supp.c req->param = param; param 230 drivers/tee/optee/supp.c struct tee_param *param) param 240 drivers/tee/optee/supp.c rc = supp_check_recv_params(*num_params, param, &num_meta); param 272 drivers/tee/optee/supp.c param->attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INOUT | param 274 drivers/tee/optee/supp.c param->u.value.a = id; param 275 drivers/tee/optee/supp.c param->u.value.b = 0; param 276 drivers/tee/optee/supp.c param->u.value.c = 0; param 285 drivers/tee/optee/supp.c memcpy(param + num_meta, req->param, param 293 drivers/tee/optee/supp.c struct tee_param *param, param 306 drivers/tee/optee/supp.c if (param->attr != attr) param 308 drivers/tee/optee/supp.c id = param->u.value.a; param 339 drivers/tee/optee/supp.c struct tee_param *param) param 349 drivers/tee/optee/supp.c req = supp_pop_req(supp, num_params, param, &num_meta); param 359 drivers/tee/optee/supp.c struct tee_param *p = req->param + n; param 364 drivers/tee/optee/supp.c p->u.value.a = param[n + num_meta].u.value.a; param 365 drivers/tee/optee/supp.c p->u.value.b = param[n + num_meta].u.value.b; param 366 drivers/tee/optee/supp.c p->u.value.c = param[n + num_meta].u.value.c; param 370 drivers/tee/optee/supp.c p->u.memref.size = param[n + num_meta].u.memref.size; param 1009 drivers/tee/tee_core.c struct tee_param *param) param 1013 drivers/tee/tee_core.c return ctx->teedev->desc->ops->open_session(ctx, arg, param); param 1027 drivers/tee/tee_core.c struct tee_param *param) param 1031 drivers/tee/tee_core.c return ctx->teedev->desc->ops->invoke_func(ctx, arg, param); param 877 drivers/tty/cyclades.c __u32 *channel, __u8 *cmd, __u32 *param) param 886 drivers/tty/cyclades.c *param = (__u32) readl(&board_ctrl->fwcmd_param); param 895 drivers/tty/cyclades.c __u32 channel, __u8 cmd, __u32 param) param 912 drivers/tty/cyclades.c cy_writel(&board_ctrl->hcmd_param, param); param 1087 drivers/tty/cyclades.c __u32 channel, param, fw_ver; param 1094 drivers/tty/cyclades.c while (cyz_fetch_msg(cinfo, &channel, &cmd, ¶m) == 1) { param 1119 drivers/tty/cyclades.c u32 dcd = fw_ver > 241 ? param : param 14 drivers/tty/serial/8250/8250_dma.c static void __dma_tx_complete(void *param) param 16 drivers/tty/serial/8250/8250_dma.c struct uart_8250_port *p = param; param 43 drivers/tty/serial/8250/8250_dma.c static void __dma_rx_complete(void *param) param 45 drivers/tty/serial/8250/8250_dma.c struct uart_8250_port *p = param; param 331 drivers/tty/serial/8250/8250_dw.c static bool dw8250_fallback_dma_filter(struct dma_chan *chan, void *param) param 336 drivers/tty/serial/8250/8250_dw.c static bool dw8250_idma_filter(struct dma_chan *chan, void *param) param 338 drivers/tty/serial/8250/8250_dw.c return param == chan->device->dev; param 122 drivers/tty/serial/8250/8250_lpss.c struct dw_dma_slave *param = &lpss->dma_param; param 131 drivers/tty/serial/8250/8250_lpss.c param->src_id = 3; param 132 drivers/tty/serial/8250/8250_lpss.c param->dst_id = 2; param 137 drivers/tty/serial/8250/8250_lpss.c param->src_id = 5; param 138 drivers/tty/serial/8250/8250_lpss.c param->dst_id = 4; param 144 drivers/tty/serial/8250/8250_lpss.c param->dma_dev = &dma_dev->dev; param 145 drivers/tty/serial/8250/8250_lpss.c param->m_master = 0; param 146 drivers/tty/serial/8250/8250_lpss.c param->p_master = 1; param 174 drivers/tty/serial/8250/8250_lpss.c struct dw_dma_slave *param = &lpss->dma_param; param 197 drivers/tty/serial/8250/8250_lpss.c param->dma_dev = &pdev->dev; param 198 drivers/tty/serial/8250/8250_lpss.c param->src_id = 0; param 199 drivers/tty/serial/8250/8250_lpss.c param->dst_id = 1; param 200 drivers/tty/serial/8250/8250_lpss.c param->hs_polarity = true; param 208 drivers/tty/serial/8250/8250_lpss.c struct dw_dma_slave *param = &lpss->dma_param; param 210 drivers/tty/serial/8250/8250_lpss.c if (!param->dma_dev) param 244 drivers/tty/serial/8250/8250_lpss.c static bool lpss8250_dma_filter(struct dma_chan *chan, void *param) param 246 drivers/tty/serial/8250/8250_lpss.c struct dw_dma_slave *dws = param; param 235 drivers/tty/serial/8250/8250_mid.c static bool mid8250_dma_filter(struct dma_chan *chan, void *param) param 237 drivers/tty/serial/8250/8250_mid.c struct hsu_dma_slave *s = param; param 86 drivers/tty/serial/8250/8250_mtk.c static void mtk8250_dma_rx_complete(void *param) param 88 drivers/tty/serial/8250/8250_mtk.c struct uart_8250_port *up = param; param 431 drivers/tty/serial/8250/8250_mtk.c static bool mtk8250_dma_filter(struct dma_chan *chan, void *param) param 804 drivers/tty/serial/8250/8250_omap.c static void __dma_rx_complete(void *param) param 806 drivers/tty/serial/8250/8250_omap.c struct uart_8250_port *p = param; param 896 drivers/tty/serial/8250/8250_omap.c static void omap_8250_dma_tx_complete(void *param) param 898 drivers/tty/serial/8250/8250_omap.c struct uart_8250_port *p = param; param 1094 drivers/tty/serial/8250/8250_omap.c static bool the_no_dma_filter_fn(struct dma_chan *chan, void *param) param 107 drivers/tty/serial/jsm/jsm.h void (*param)(struct jsm_channel *ch); param 959 drivers/tty/serial/jsm/jsm_cls.c .param = cls_param, param 1391 drivers/tty/serial/jsm/jsm_neo.c .param = neo_param, param 257 drivers/tty/serial/jsm/jsm_tty.c brd->bd_ops->param(channel); param 315 drivers/tty/serial/jsm/jsm_tty.c channel->ch_bd->bd_ops->param(channel); param 531 drivers/tty/serial/mxs-auart.c static void dma_tx_callback(void *param) param 533 drivers/tty/serial/mxs-auart.c struct mxs_auart_port *s = param; param 701 drivers/tty/serial/pch_uart.c struct pch_dma_slave *param = slave; param 703 drivers/tty/serial/pch_uart.c if ((chan->chan_id == param->chan_id) && (param->dma_dev == param 705 drivers/tty/serial/pch_uart.c chan->private = param; param 717 drivers/tty/serial/pch_uart.c struct pch_dma_slave *param; param 728 drivers/tty/serial/pch_uart.c param = &priv->param_tx; param 729 drivers/tty/serial/pch_uart.c param->dma_dev = &dma_dev->dev; param 730 drivers/tty/serial/pch_uart.c param->chan_id = priv->port.line * 2; /* Tx = 0, 2, 4, ... */ param 732 drivers/tty/serial/pch_uart.c param->tx_reg = port->mapbase + UART_TX; param 733 drivers/tty/serial/pch_uart.c chan = dma_request_channel(mask, filter, param); param 742 drivers/tty/serial/pch_uart.c param = &priv->param_rx; param 743 drivers/tty/serial/pch_uart.c param->dma_dev = &dma_dev->dev; param 744 drivers/tty/serial/pch_uart.c param->chan_id = priv->port.line * 2 + 1; /* Rx = Tx + 1 */ param 746 drivers/tty/serial/pch_uart.c param->rx_reg = port->mapbase + UART_RX; param 747 drivers/tty/serial/pch_uart.c chan = dma_request_channel(mask, filter, param); param 37 drivers/tty/serial/sirfsoc_uart.c static void sirfsoc_uart_tx_dma_complete_callback(void *param); param 443 drivers/tty/serial/sirfsoc_uart.c static void sirfsoc_uart_tx_dma_complete_callback(void *param) param 445 drivers/tty/serial/sirfsoc_uart.c struct sirfsoc_uart_port *sirfport = (struct sirfsoc_uart_port *)param; param 591 drivers/tty/serial/sirfsoc_uart.c static void sirfsoc_uart_rx_dma_complete_callback(void *param) param 1361 drivers/tty/vt/keyboard.c struct keyboard_notifier_param param = { .vc = vc, .value = keycode, .down = down }; param 1430 drivers/tty/vt/keyboard.c param.shift = shift_final = (shift_state | kbd->slockstate) ^ kbd->lockstate; param 1431 drivers/tty/vt/keyboard.c param.ledstate = kbd->ledflagstate; param 1435 drivers/tty/vt/keyboard.c KBD_KEYCODE, ¶m); param 1438 drivers/tty/vt/keyboard.c KBD_UNBOUND_KEYCODE, ¶m); param 1454 drivers/tty/vt/keyboard.c param.value = keysym; param 1456 drivers/tty/vt/keyboard.c KBD_UNICODE, ¶m); param 1474 drivers/tty/vt/keyboard.c param.value = keysym; param 1476 drivers/tty/vt/keyboard.c KBD_KEYSYM, ¶m); param 1485 drivers/tty/vt/keyboard.c param.ledstate = kbd->ledflagstate; param 1486 drivers/tty/vt/keyboard.c atomic_notifier_call_chain(&keyboard_notifier_list, KBD_POST_KEYSYM, ¶m); param 91 drivers/tty/vt/vc_screen.c struct vt_notifier_param *param = _param; param 92 drivers/tty/vt/vc_screen.c struct vc_data *vc = param->vc; param 271 drivers/tty/vt/vt.c struct vt_notifier_param param = { .vc = vc, .c = unicode }; param 272 drivers/tty/vt/vt.c atomic_notifier_call_chain(&vt_notifier_list, VT_WRITE, ¶m); param 277 drivers/tty/vt/vt.c struct vt_notifier_param param = { .vc = vc }; param 278 drivers/tty/vt/vt.c atomic_notifier_call_chain(&vt_notifier_list, VT_UPDATE, ¶m); param 1097 drivers/tty/vt/vt.c struct vt_notifier_param param; param 1114 drivers/tty/vt/vt.c param.vc = vc = kzalloc(sizeof(struct vc_data), GFP_KERNEL); param 1139 drivers/tty/vt/vt.c atomic_notifier_call_chain(&vt_notifier_list, VT_ALLOCATE, ¶m); param 1367 drivers/tty/vt/vt.c struct vt_notifier_param param; param 1369 drivers/tty/vt/vt.c param.vc = vc = vc_cons[currcons].d; param 1370 drivers/tty/vt/vt.c atomic_notifier_call_chain(&vt_notifier_list, VT_DEALLOCATE, ¶m); param 2589 drivers/tty/vt/vt.c struct vt_notifier_param param; param 2623 drivers/tty/vt/vt.c param.vc = vc; param 2713 drivers/tty/vt/vt.c param.c = tc; param 2715 drivers/tty/vt/vt.c ¶m) == NOTIFY_STOP) param 1663 drivers/usb/core/hcd.c static void usb_giveback_urb_bh(unsigned long param) param 1665 drivers/usb/core/hcd.c struct giveback_urb_bh *bh = (struct giveback_urb_bh *)param; param 515 drivers/usb/dwc2/params.c int param = hsotg->params.phy_utmi_width; param 520 drivers/usb/dwc2/params.c valid = (param == 8); param 523 drivers/usb/dwc2/params.c valid = (param == 16); param 526 drivers/usb/dwc2/params.c valid = (param == 8 || param == 16); param 536 drivers/usb/dwc2/params.c int param = hsotg->params.power_down; param 538 drivers/usb/dwc2/params.c switch (param) { param 546 drivers/usb/dwc2/params.c param = DWC2_POWER_DOWN_PARAM_NONE; param 553 drivers/usb/dwc2/params.c param = DWC2_POWER_DOWN_PARAM_NONE; param 558 drivers/usb/dwc2/params.c __func__, param); param 559 drivers/usb/dwc2/params.c param = DWC2_POWER_DOWN_PARAM_NONE; param 563 drivers/usb/dwc2/params.c hsotg->params.power_down = param; param 456 drivers/usb/dwc3/core.c u32 param; param 480 drivers/usb/dwc3/core.c param = lower_32_bits(scratch_addr); param 483 drivers/usb/dwc3/core.c DWC3_DGCMD_SET_SCRATCHPAD_ADDR_LO, param); param 487 drivers/usb/dwc3/core.c param = upper_32_bits(scratch_addr); param 490 drivers/usb/dwc3/core.c DWC3_DGCMD_SET_SCRATCHPAD_ADDR_HI, param); param 1432 drivers/usb/dwc3/core.h int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param); param 1450 drivers/usb/dwc3/core.h int cmd, u32 param) param 366 drivers/usb/dwc3/dwc3-pci.c static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param) param 376 drivers/usb/dwc3/dwc3-pci.c tmp.integer.value = param; param 658 drivers/usb/dwc3/ep0.c u32 param = 0; param 679 drivers/usb/dwc3/ep0.c param = dwc->u2pel; param 681 drivers/usb/dwc3/ep0.c param = dwc->u1pel; param 688 drivers/usb/dwc3/ep0.c if (param > 125) param 689 drivers/usb/dwc3/ep0.c param = 0; param 693 drivers/usb/dwc3/ep0.c DWC3_DGCMD_SET_PERIODIC_PAR, param); param 227 drivers/usb/dwc3/gadget.c int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) param 234 drivers/usb/dwc3/gadget.c dwc3_writel(dwc->regs, DWC3_DGCMDPAR, param); param 252 drivers/usb/dwc3/gadget.c trace_dwc3_gadget_generic_cmd(cmd, param, status); param 159 drivers/usb/dwc3/trace.h TP_PROTO(unsigned int cmd, u32 param, int status), param 160 drivers/usb/dwc3/trace.h TP_ARGS(cmd, param, status), param 163 drivers/usb/dwc3/trace.h __field(u32, param) param 168 drivers/usb/dwc3/trace.h __entry->param = param; param 173 drivers/usb/dwc3/trace.h __entry->cmd, __entry->param, param 179 drivers/usb/dwc3/trace.h TP_PROTO(unsigned int cmd, u32 param, int status), param 180 drivers/usb/dwc3/trace.h TP_ARGS(cmd, param, status) param 1518 drivers/usb/gadget/function/f_fs.c static int ffs_fs_parse_param(struct fs_context *fc, struct fs_parameter *param) param 1526 drivers/usb/gadget/function/f_fs.c opt = fs_parse(fc, &ffs_fs_fs_parameters, param, &result); param 1563 drivers/usb/gadget/function/f_fs.c return invalf(fc, "%s: unmapped value: %u", param->key, result.uint_32); param 1089 drivers/usb/gadget/function/rndis.c rndis_params *param = m->private; param 1100 drivers/usb/gadget/function/rndis.c param->confignr, (param->used) ? "y" : "n", param 1102 drivers/usb/gadget/function/rndis.c switch (param->state) { param 1110 drivers/usb/gadget/function/rndis.c param->medium, param 1111 drivers/usb/gadget/function/rndis.c (param->media_state) ? 0 : param->speed*100, param 1112 drivers/usb/gadget/function/rndis.c (param->media_state) ? "disconnected" : "connected", param 1113 drivers/usb/gadget/function/rndis.c param->vendorID, param->vendorDescr); param 1521 drivers/usb/gadget/udc/core.c #define USB_UDC_SPEED_ATTR(name, param) \ param 1527 drivers/usb/gadget/udc/core.c usb_speed_string(udc->gadget->param)); \ param 1075 drivers/usb/misc/usbtest.c struct usbtest_param_32 *param; param 1157 drivers/usb/misc/usbtest.c for (i = 1; i < ctx->param->sglen; i++) { param 1160 drivers/usb/misc/usbtest.c % ctx->param->sglen]; param 1201 drivers/usb/misc/usbtest.c test_ctrl_queue(struct usbtest_dev *dev, struct usbtest_param_32 *param) param 1208 drivers/usb/misc/usbtest.c if (param->sglen == 0 || param->iterations > UINT_MAX / param->sglen) param 1214 drivers/usb/misc/usbtest.c context.count = param->sglen * param->iterations; param 1217 drivers/usb/misc/usbtest.c context.param = param; param 1224 drivers/usb/misc/usbtest.c urb = kcalloc(param->sglen, sizeof(struct urb *), GFP_KERNEL); param 1227 drivers/usb/misc/usbtest.c for (i = 0; i < param->sglen; i++) { param 1388 drivers/usb/misc/usbtest.c for (i = 0; i < param->sglen; i++) { param 1407 drivers/usb/misc/usbtest.c for (i = 0; i < param->sglen; i++) { param 2038 drivers/usb/misc/usbtest.c test_queue(struct usbtest_dev *dev, struct usbtest_param_32 *param, param 2048 drivers/usb/misc/usbtest.c if (!param->sglen || param->iterations > UINT_MAX / param->sglen) param 2051 drivers/usb/misc/usbtest.c if (param->sglen > MAX_SGLEN) param 2055 drivers/usb/misc/usbtest.c context.count = param->iterations * param->sglen; param 2063 drivers/usb/misc/usbtest.c for (i = 0; i < param->sglen; i++) { param 2066 drivers/usb/misc/usbtest.c param->length, offset); param 2069 drivers/usb/misc/usbtest.c param->length, 0); param 2078 drivers/usb/misc/usbtest.c packets *= param->iterations; param 2103 drivers/usb/misc/usbtest.c for (i = 0; i < param->sglen; i++) { param 2124 drivers/usb/misc/usbtest.c for (i = 0; i < param->sglen; i++) { param 2143 drivers/usb/misc/usbtest.c for (i = 0; i < param->sglen; i++) { param 2172 drivers/usb/misc/usbtest.c usbtest_do_ioctl(struct usb_interface *intf, struct usbtest_param_32 *param) param 2182 drivers/usb/misc/usbtest.c if (param->iterations <= 0) param 2184 drivers/usb/misc/usbtest.c if (param->sglen > MAX_SGLEN) param 2195 drivers/usb/misc/usbtest.c switch (param->test_num) { param 2208 drivers/usb/misc/usbtest.c param->length, param->iterations); param 2209 drivers/usb/misc/usbtest.c urb = simple_alloc_urb(udev, dev->out_pipe, param->length, 0); param 2215 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, 0, 0, "test1"); param 2223 drivers/usb/misc/usbtest.c param->length, param->iterations); param 2224 drivers/usb/misc/usbtest.c urb = simple_alloc_urb(udev, dev->in_pipe, param->length, 0); param 2230 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, 0, 0, "test2"); param 2234 drivers/usb/misc/usbtest.c if (dev->out_pipe == 0 || param->vary == 0) param 2238 drivers/usb/misc/usbtest.c param->vary, param->length, param->iterations); param 2239 drivers/usb/misc/usbtest.c urb = simple_alloc_urb(udev, dev->out_pipe, param->length, 0); param 2245 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, param->vary, param 2250 drivers/usb/misc/usbtest.c if (dev->in_pipe == 0 || param->vary == 0) param 2254 drivers/usb/misc/usbtest.c param->vary, param->length, param->iterations); param 2255 drivers/usb/misc/usbtest.c urb = simple_alloc_urb(udev, dev->in_pipe, param->length, 0); param 2261 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, param->vary, param 2268 drivers/usb/misc/usbtest.c if (dev->out_pipe == 0 || param->sglen == 0) param 2272 drivers/usb/misc/usbtest.c param->iterations, param 2273 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2274 drivers/usb/misc/usbtest.c sg = alloc_sglist(param->sglen, param->length, param 2281 drivers/usb/misc/usbtest.c retval = perform_sglist(dev, param->iterations, dev->out_pipe, param 2282 drivers/usb/misc/usbtest.c &req, sg, param->sglen); param 2283 drivers/usb/misc/usbtest.c free_sglist(sg, param->sglen); param 2287 drivers/usb/misc/usbtest.c if (dev->in_pipe == 0 || param->sglen == 0) param 2291 drivers/usb/misc/usbtest.c param->iterations, param 2292 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2293 drivers/usb/misc/usbtest.c sg = alloc_sglist(param->sglen, param->length, param 2300 drivers/usb/misc/usbtest.c retval = perform_sglist(dev, param->iterations, dev->in_pipe, param 2301 drivers/usb/misc/usbtest.c &req, sg, param->sglen); param 2302 drivers/usb/misc/usbtest.c free_sglist(sg, param->sglen); param 2305 drivers/usb/misc/usbtest.c if (dev->out_pipe == 0 || param->sglen == 0 || param->vary == 0) param 2309 drivers/usb/misc/usbtest.c param->vary, param->iterations, param 2310 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2311 drivers/usb/misc/usbtest.c sg = alloc_sglist(param->sglen, param->length, param 2312 drivers/usb/misc/usbtest.c param->vary, dev, dev->out_pipe); param 2318 drivers/usb/misc/usbtest.c retval = perform_sglist(dev, param->iterations, dev->out_pipe, param 2319 drivers/usb/misc/usbtest.c &req, sg, param->sglen); param 2320 drivers/usb/misc/usbtest.c free_sglist(sg, param->sglen); param 2323 drivers/usb/misc/usbtest.c if (dev->in_pipe == 0 || param->sglen == 0 || param->vary == 0) param 2327 drivers/usb/misc/usbtest.c param->vary, param->iterations, param 2328 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2329 drivers/usb/misc/usbtest.c sg = alloc_sglist(param->sglen, param->length, param 2330 drivers/usb/misc/usbtest.c param->vary, dev, dev->in_pipe); param 2336 drivers/usb/misc/usbtest.c retval = perform_sglist(dev, param->iterations, dev->in_pipe, param 2337 drivers/usb/misc/usbtest.c &req, sg, param->sglen); param 2338 drivers/usb/misc/usbtest.c free_sglist(sg, param->sglen); param 2346 drivers/usb/misc/usbtest.c param->iterations); param 2347 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i--; /* NOP */) param 2359 drivers/usb/misc/usbtest.c param->sglen, param 2360 drivers/usb/misc/usbtest.c param->iterations); param 2361 drivers/usb/misc/usbtest.c retval = test_ctrl_queue(dev, param); param 2366 drivers/usb/misc/usbtest.c if (dev->in_pipe == 0 || !param->length) param 2370 drivers/usb/misc/usbtest.c param->iterations, param->length); param 2371 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i--; /* NOP */) param 2373 drivers/usb/misc/usbtest.c param->length); param 2379 drivers/usb/misc/usbtest.c if (dev->out_pipe == 0 || !param->length) param 2383 drivers/usb/misc/usbtest.c param->iterations, param->length); param 2384 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i--; /* NOP */) param 2386 drivers/usb/misc/usbtest.c param->length); param 2398 drivers/usb/misc/usbtest.c param->iterations); param 2399 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i--; /* NOP */) param 2411 drivers/usb/misc/usbtest.c param->iterations, param 2412 drivers/usb/misc/usbtest.c realworld ? 1 : 0, param->length, param 2413 drivers/usb/misc/usbtest.c param->vary); param 2414 drivers/usb/misc/usbtest.c retval = ctrl_out(dev, param->iterations, param 2415 drivers/usb/misc/usbtest.c param->length, param->vary, 0); param 2420 drivers/usb/misc/usbtest.c if (dev->out_iso_pipe == 0 || param->sglen == 0) param 2424 drivers/usb/misc/usbtest.c param->iterations, param 2425 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2427 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, param 2433 drivers/usb/misc/usbtest.c if (dev->in_iso_pipe == 0 || param->sglen == 0) param 2437 drivers/usb/misc/usbtest.c param->iterations, param 2438 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2440 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, param 2452 drivers/usb/misc/usbtest.c param->length, param->iterations); param 2456 drivers/usb/misc/usbtest.c param->length, param->iterations, param 2465 drivers/usb/misc/usbtest.c param->length, param->iterations); param 2469 drivers/usb/misc/usbtest.c param->length, param->iterations, param 2479 drivers/usb/misc/usbtest.c param->length, param->iterations); param 2483 drivers/usb/misc/usbtest.c param->length, param->iterations, param 2492 drivers/usb/misc/usbtest.c param->length, param->iterations); param 2496 drivers/usb/misc/usbtest.c param->length, param->iterations, param 2506 drivers/usb/misc/usbtest.c param->iterations, param 2507 drivers/usb/misc/usbtest.c realworld ? 1 : 0, param->length, param 2508 drivers/usb/misc/usbtest.c param->vary); param 2509 drivers/usb/misc/usbtest.c retval = ctrl_out(dev, param->iterations, param 2510 drivers/usb/misc/usbtest.c param->length, param->vary, 1); param 2515 drivers/usb/misc/usbtest.c if (dev->out_iso_pipe == 0 || param->sglen == 0) param 2519 drivers/usb/misc/usbtest.c param->iterations, param 2520 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2521 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, param 2526 drivers/usb/misc/usbtest.c if (dev->in_iso_pipe == 0 || param->sglen == 0) param 2530 drivers/usb/misc/usbtest.c param->iterations, param 2531 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2532 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, param 2538 drivers/usb/misc/usbtest.c if (dev->out_pipe == 0 || !param->length || param->sglen < 4) param 2543 drivers/usb/misc/usbtest.c param->iterations, param->sglen, param->length); param 2544 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i > 0; --i) { param 2546 drivers/usb/misc/usbtest.c param->sglen, param->length); param 2562 drivers/usb/misc/usbtest.c param->length, param->iterations); param 2563 drivers/usb/misc/usbtest.c urb = simple_alloc_urb(udev, dev->out_int_pipe, param->length, param 2570 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, 0, 0, "test25"); param 2578 drivers/usb/misc/usbtest.c param->length, param->iterations); param 2579 drivers/usb/misc/usbtest.c urb = simple_alloc_urb(udev, dev->in_int_pipe, param->length, param 2586 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, 0, 0, "test26"); param 2591 drivers/usb/misc/usbtest.c if (dev->out_pipe == 0 || param->sglen == 0 || pattern != 0) param 2594 drivers/usb/misc/usbtest.c "TEST 27: bulk write %dMbytes\n", (param->iterations * param 2595 drivers/usb/misc/usbtest.c param->sglen * param->length) / (1024 * 1024)); param 2596 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, param 2600 drivers/usb/misc/usbtest.c if (dev->in_pipe == 0 || param->sglen == 0 || pattern != 0) param 2603 drivers/usb/misc/usbtest.c "TEST 28: bulk read %dMbytes\n", (param->iterations * param 2604 drivers/usb/misc/usbtest.c param->sglen * param->length) / (1024 * 1024)); param 2605 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, param 2614 drivers/usb/misc/usbtest.c param->iterations); param 2615 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i > 0; --i) param 931 drivers/usb/phy/phy-tegra-usb.c static int read_utmi_param(struct platform_device *pdev, const char *param, param 935 drivers/usb/phy/phy-tegra-usb.c int err = of_property_read_u32(pdev->dev.of_node, param, &value); param 940 drivers/usb/phy/phy-tegra-usb.c param, err); param 342 drivers/usb/renesas_usbhs/common.h #define usbhs_get_dparam(priv, param) (priv->dparam.param) param 1221 drivers/usb/renesas_usbhs/fifo.c static bool usbhsf_dma_filter(struct dma_chan *chan, void *param) param 1223 drivers/usb/renesas_usbhs/fifo.c struct sh_dmae_slave *slave = param; param 130 drivers/usb/renesas_usbhs/mod.h #define usbhs_mod_call(priv, func, param...) \ param 136 drivers/usb/renesas_usbhs/mod.h mod->func(param); \ param 140 drivers/usb/renesas_usbhs/mod.h #define usbhs_mod_info_call(priv, func, param...) \ param 145 drivers/usb/renesas_usbhs/mod.h info->func(param); \ param 1479 drivers/usb/serial/cp210x.c enum pin_config_param param = pinconf_to_config_param(config); param 1482 drivers/usb/serial/cp210x.c if ((param == PIN_CONFIG_DRIVE_PUSH_PULL) && param 1486 drivers/usb/serial/cp210x.c if ((param == PIN_CONFIG_DRIVE_OPEN_DRAIN) && param 310 drivers/usb/serial/io_edgeport.c __u8 param); param 2212 drivers/usb/serial/io_edgeport.c __u8 command, __u8 param) param 2226 drivers/usb/serial/io_edgeport.c command, param); param 180 drivers/usb/typec/tcpm/wcove.c enum wcove_typec_func func, int param) param 187 drivers/usb/typec/tcpm/wcove.c tmp.integer.value = param; param 856 drivers/vfio/vfio_iommu_spapr_tce.c struct vfio_iommu_type1_dma_map param; param 866 drivers/vfio/vfio_iommu_spapr_tce.c if (copy_from_user(¶m, (void __user *)arg, minsz)) param 869 drivers/vfio/vfio_iommu_spapr_tce.c if (param.argsz < minsz) param 872 drivers/vfio/vfio_iommu_spapr_tce.c if (param.flags & ~(VFIO_DMA_MAP_FLAG_READ | param 880 drivers/vfio/vfio_iommu_spapr_tce.c num = tce_iommu_find_table(container, param.iova, &tbl); param 884 drivers/vfio/vfio_iommu_spapr_tce.c if ((param.size & ~IOMMU_PAGE_MASK(tbl)) || param 885 drivers/vfio/vfio_iommu_spapr_tce.c (param.vaddr & ~IOMMU_PAGE_MASK(tbl))) param 889 drivers/vfio/vfio_iommu_spapr_tce.c if (param.flags & VFIO_DMA_MAP_FLAG_READ) { param 890 drivers/vfio/vfio_iommu_spapr_tce.c if (param.flags & VFIO_DMA_MAP_FLAG_WRITE) param 895 drivers/vfio/vfio_iommu_spapr_tce.c if (param.flags & VFIO_DMA_MAP_FLAG_WRITE) param 901 drivers/vfio/vfio_iommu_spapr_tce.c ret = iommu_tce_put_param_check(tbl, param.iova, param.vaddr); param 907 drivers/vfio/vfio_iommu_spapr_tce.c param.iova >> tbl->it_page_shift, param 908 drivers/vfio/vfio_iommu_spapr_tce.c param.vaddr, param 909 drivers/vfio/vfio_iommu_spapr_tce.c param.size >> tbl->it_page_shift, param 913 drivers/vfio/vfio_iommu_spapr_tce.c param.iova >> tbl->it_page_shift, param 914 drivers/vfio/vfio_iommu_spapr_tce.c param.vaddr, param 915 drivers/vfio/vfio_iommu_spapr_tce.c param.size >> tbl->it_page_shift, param 923 drivers/vfio/vfio_iommu_spapr_tce.c struct vfio_iommu_type1_dma_unmap param; param 933 drivers/vfio/vfio_iommu_spapr_tce.c if (copy_from_user(¶m, (void __user *)arg, minsz)) param 936 drivers/vfio/vfio_iommu_spapr_tce.c if (param.argsz < minsz) param 940 drivers/vfio/vfio_iommu_spapr_tce.c if (param.flags) param 947 drivers/vfio/vfio_iommu_spapr_tce.c num = tce_iommu_find_table(container, param.iova, &tbl); param 951 drivers/vfio/vfio_iommu_spapr_tce.c if (param.size & ~IOMMU_PAGE_MASK(tbl)) param 954 drivers/vfio/vfio_iommu_spapr_tce.c ret = iommu_tce_clear_param_check(tbl, param.iova, 0, param 955 drivers/vfio/vfio_iommu_spapr_tce.c param.size >> tbl->it_page_shift); param 960 drivers/vfio/vfio_iommu_spapr_tce.c param.iova >> tbl->it_page_shift, param 961 drivers/vfio/vfio_iommu_spapr_tce.c param.size >> tbl->it_page_shift); param 967 drivers/vfio/vfio_iommu_spapr_tce.c struct vfio_iommu_spapr_register_memory param; param 979 drivers/vfio/vfio_iommu_spapr_tce.c if (copy_from_user(¶m, (void __user *)arg, minsz)) param 982 drivers/vfio/vfio_iommu_spapr_tce.c if (param.argsz < minsz) param 986 drivers/vfio/vfio_iommu_spapr_tce.c if (param.flags) param 990 drivers/vfio/vfio_iommu_spapr_tce.c ret = tce_iommu_register_pages(container, param.vaddr, param 991 drivers/vfio/vfio_iommu_spapr_tce.c param.size); param 997 drivers/vfio/vfio_iommu_spapr_tce.c struct vfio_iommu_spapr_register_memory param; param 1008 drivers/vfio/vfio_iommu_spapr_tce.c if (copy_from_user(¶m, (void __user *)arg, minsz)) param 1011 drivers/vfio/vfio_iommu_spapr_tce.c if (param.argsz < minsz) param 1015 drivers/vfio/vfio_iommu_spapr_tce.c if (param.flags) param 1019 drivers/vfio/vfio_iommu_spapr_tce.c ret = tce_iommu_unregister_pages(container, param.vaddr, param 1020 drivers/vfio/vfio_iommu_spapr_tce.c param.size); param 50 drivers/video/backlight/l4f00242t03.c const u16 cmd[] = { 0x36, param(0), 0x3A, param(0x60) }; param 224 drivers/video/fbdev/carminefb.c u32 param; param 262 drivers/video/fbdev/carminefb.c param = width | height; param 264 drivers/video/fbdev/carminefb.c c_set_disp_reg(par, CARMINE_DISP_REG_L0_MODE_W_H, param); param 266 drivers/video/fbdev/carminefb.c c_set_disp_reg(par, CARMINE_DISP_REG_L2_MODE_W_H, param); param 267 drivers/video/fbdev/carminefb.c c_set_disp_reg(par, CARMINE_DISP_REG_L3_MODE_W_H, param); param 268 drivers/video/fbdev/carminefb.c c_set_disp_reg(par, CARMINE_DISP_REG_L4_MODE_W_H, param); param 269 drivers/video/fbdev/carminefb.c c_set_disp_reg(par, CARMINE_DISP_REG_L5_MODE_W_H, param); param 270 drivers/video/fbdev/carminefb.c c_set_disp_reg(par, CARMINE_DISP_REG_L6_MODE_W_H, param); param 271 drivers/video/fbdev/carminefb.c c_set_disp_reg(par, CARMINE_DISP_REG_L7_MODE_W_H, param); param 143 drivers/video/fbdev/controlfb.c static int calc_clock_params(unsigned long clk, unsigned char *param); param 779 drivers/video/fbdev/controlfb.c static int calc_clock_params(unsigned long clk, unsigned char *param) param 805 drivers/video/fbdev/controlfb.c param[0] = p0; param 806 drivers/video/fbdev/controlfb.c param[1] = p1; param 807 drivers/video/fbdev/controlfb.c param[2] = p2; param 128 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c static int dsicm_dcs_write_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 param) param 131 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c u8 buf[2] = { dcs_cmd, param }; param 813 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c unsigned long dss_feat_get_param_min(enum dss_range_param param) param 815 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c return omap_current_dss_features->dss_params[param].min; param 818 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c unsigned long dss_feat_get_param_max(enum dss_range_param param) param 820 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c return omap_current_dss_features->dss_params[param].max; param 78 drivers/video/fbdev/omap2/omapfb/dss/dss_features.h unsigned long dss_feat_get_param_min(enum dss_range_param param); param 79 drivers/video/fbdev/omap2/omapfb/dss/dss_features.h unsigned long dss_feat_get_param_max(enum dss_range_param param); param 293 drivers/video/fbdev/omap2/omapfb/dss/hdmi.h struct omap_video_timings *timings, struct hdmi_config *param); param 182 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c struct omap_video_timings *timings, struct hdmi_config *param) param 187 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c video_fmt->y_res = param->timings.y_res; param 188 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c video_fmt->x_res = param->timings.x_res; param 189 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c if (param->timings.interlace) param 192 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->hbp = param->timings.hbp; param 193 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->hfp = param->timings.hfp; param 194 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->hsw = param->timings.hsw; param 195 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->vbp = param->timings.vbp; param 196 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->vfp = param->timings.vfp; param 197 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->vsw = param->timings.vsw; param 198 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->vsync_level = param->timings.vsync_level; param 199 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->hsync_level = param->timings.hsync_level; param 200 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->interlace = param->timings.interlace; param 1467 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static int omapfb_parse_vram_param(const char *param, int max_entries, param 1475 drivers/video/fbdev/omap2/omapfb/omapfb-main.c start = (char *)param; param 113 drivers/video/fbdev/w100fb.c unsigned long regs, param; param 115 drivers/video/fbdev/w100fb.c param = readl(remapped_regs + regs); param 116 drivers/video/fbdev/w100fb.c printk("Read Register 0x%08lX: 0x%08lX\n", regs, param); param 124 drivers/video/fbdev/w100fb.c unsigned long regs, param; param 125 drivers/video/fbdev/w100fb.c sscanf(buf, "%lx %lx", ®s, ¶m); param 128 drivers/video/fbdev/w100fb.c printk("Write Register 0x%08lX: 0x%08lX\n", regs, param); param 129 drivers/video/fbdev/w100fb.c writel(param, remapped_regs + regs); param 57 drivers/virt/fsl_hypervisor.c struct fsl_hv_ioctl_restart param; param 60 drivers/virt/fsl_hypervisor.c if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_restart))) param 63 drivers/virt/fsl_hypervisor.c param.ret = fh_partition_restart(param.partition); param 65 drivers/virt/fsl_hypervisor.c if (copy_to_user(&p->ret, ¶m.ret, sizeof(__u32))) param 78 drivers/virt/fsl_hypervisor.c struct fsl_hv_ioctl_status param; param 82 drivers/virt/fsl_hypervisor.c if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_status))) param 85 drivers/virt/fsl_hypervisor.c param.ret = fh_partition_get_status(param.partition, &status); param 86 drivers/virt/fsl_hypervisor.c if (!param.ret) param 87 drivers/virt/fsl_hypervisor.c param.status = status; param 89 drivers/virt/fsl_hypervisor.c if (copy_to_user(p, ¶m, sizeof(struct fsl_hv_ioctl_status))) param 102 drivers/virt/fsl_hypervisor.c struct fsl_hv_ioctl_start param; param 105 drivers/virt/fsl_hypervisor.c if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_start))) param 108 drivers/virt/fsl_hypervisor.c param.ret = fh_partition_start(param.partition, param.entry_point, param 109 drivers/virt/fsl_hypervisor.c param.load); param 111 drivers/virt/fsl_hypervisor.c if (copy_to_user(&p->ret, ¶m.ret, sizeof(__u32))) param 124 drivers/virt/fsl_hypervisor.c struct fsl_hv_ioctl_stop param; param 127 drivers/virt/fsl_hypervisor.c if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_stop))) param 130 drivers/virt/fsl_hypervisor.c param.ret = fh_partition_stop(param.partition); param 132 drivers/virt/fsl_hypervisor.c if (copy_to_user(&p->ret, ¶m.ret, sizeof(__u32))) param 149 drivers/virt/fsl_hypervisor.c struct fsl_hv_ioctl_memcpy param; param 165 drivers/virt/fsl_hypervisor.c if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_memcpy))) param 173 drivers/virt/fsl_hypervisor.c if ((param.source == -1) == (param.target == -1)) param 217 drivers/virt/fsl_hypervisor.c lb_offset = param.local_vaddr & (PAGE_SIZE - 1); param 218 drivers/virt/fsl_hypervisor.c if (param.count == 0 || param 219 drivers/virt/fsl_hypervisor.c param.count > U64_MAX - lb_offset - PAGE_SIZE + 1) param 221 drivers/virt/fsl_hypervisor.c num_pages = (param.count + lb_offset + PAGE_SIZE - 1) >> PAGE_SHIFT; param 249 drivers/virt/fsl_hypervisor.c num_pinned = get_user_pages_fast(param.local_vaddr - lb_offset, param 250 drivers/virt/fsl_hypervisor.c num_pages, param.source != -1 ? FOLL_WRITE : 0, pages); param 263 drivers/virt/fsl_hypervisor.c if (param.source == -1) { param 265 drivers/virt/fsl_hypervisor.c sg_list[0].target = param.remote_paddr; param 267 drivers/virt/fsl_hypervisor.c sg_list[0].source = param.remote_paddr; param 270 drivers/virt/fsl_hypervisor.c sg_list[0].size = min_t(uint64_t, param.count, PAGE_SIZE - lb_offset); param 272 drivers/virt/fsl_hypervisor.c remote_paddr = param.remote_paddr + sg_list[0].size; param 273 drivers/virt/fsl_hypervisor.c count = param.count - sg_list[0].size; param 276 drivers/virt/fsl_hypervisor.c if (param.source == -1) { param 291 drivers/virt/fsl_hypervisor.c param.ret = fh_partition_memcpy(param.source, param.target, param 305 drivers/virt/fsl_hypervisor.c if (copy_to_user(&p->ret, ¶m.ret, sizeof(__u32))) param 318 drivers/virt/fsl_hypervisor.c struct fsl_hv_ioctl_doorbell param; param 321 drivers/virt/fsl_hypervisor.c if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_doorbell))) param 324 drivers/virt/fsl_hypervisor.c param.ret = ev_doorbell_send(param.doorbell); param 326 drivers/virt/fsl_hypervisor.c if (copy_to_user(&p->ret, ¶m.ret, sizeof(__u32))) param 334 drivers/virt/fsl_hypervisor.c struct fsl_hv_ioctl_prop param; param 342 drivers/virt/fsl_hypervisor.c if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_prop))) param 345 drivers/virt/fsl_hypervisor.c upath = (char __user *)(uintptr_t)param.path; param 346 drivers/virt/fsl_hypervisor.c upropname = (char __user *)(uintptr_t)param.propname; param 347 drivers/virt/fsl_hypervisor.c upropval = (void __user *)(uintptr_t)param.propval; param 359 drivers/virt/fsl_hypervisor.c if (param.proplen > FH_DTPROP_MAX_PROPLEN) { param 364 drivers/virt/fsl_hypervisor.c propval = kmalloc(param.proplen, GFP_KERNEL); param 371 drivers/virt/fsl_hypervisor.c if (copy_from_user(propval, upropval, param.proplen)) { param 376 drivers/virt/fsl_hypervisor.c param.ret = fh_partition_set_dtprop(param.handle, param 380 drivers/virt/fsl_hypervisor.c param.proplen); param 382 drivers/virt/fsl_hypervisor.c param.ret = fh_partition_get_dtprop(param.handle, param 386 drivers/virt/fsl_hypervisor.c ¶m.proplen); param 388 drivers/virt/fsl_hypervisor.c if (param.ret == 0) { param 389 drivers/virt/fsl_hypervisor.c if (copy_to_user(upropval, propval, param.proplen) || param 390 drivers/virt/fsl_hypervisor.c put_user(param.proplen, &p->proplen)) { param 397 drivers/virt/fsl_hypervisor.c if (put_user(param.ret, &p->ret)) param 1160 drivers/visorbus/visorchipset.c static int unisys_vmcall(unsigned long tuple, unsigned long param) param 1167 drivers/visorbus/visorchipset.c reg_ebx = param & 0xFFFFFFFF; param 1168 drivers/visorbus/visorchipset.c reg_ecx = param >> 32; param 399 drivers/watchdog/s3c2410_wdt.c static irqreturn_t s3c2410wdt_irq(int irqno, void *param) param 401 drivers/watchdog/s3c2410_wdt.c struct s3c2410_wdt *wdt = platform_get_drvdata(param); param 1127 drivers/watchdog/watchdog_dev.c struct sched_param param = {.sched_priority = MAX_RT_PRIO - 1,}; param 1134 drivers/watchdog/watchdog_dev.c sched_setscheduler(watchdog_kworker->task, SCHED_FIFO, ¶m); param 115 drivers/watchdog/wdat_wdt.c u32 param, u32 *retval) param 179 drivers/watchdog/wdat_wdt.c x = param; param 76 drivers/xen/xen-acpi-pad.c struct acpi_buffer param = { param 93 drivers/xen/xen-acpi-pad.c 0, ¶m); param 230 fs/afs/super.c static int afs_parse_source(struct fs_context *fc, struct fs_parameter *param) param 234 fs/afs/super.c const char *cellname, *suffix, *name = param->string; param 312 fs/afs/super.c fc->source = param->string; param 313 fs/afs/super.c param->string = NULL; param 320 fs/afs/super.c static int afs_parse_param(struct fs_context *fc, struct fs_parameter *param) param 326 fs/afs/super.c opt = fs_parse(fc, &afs_fs_parameters, param, &result); param 332 fs/afs/super.c return afs_parse_source(fc, param); param 54 fs/autofs/dev-ioctl.c static int check_dev_ioctl_version(int cmd, struct autofs_dev_ioctl *param) param 58 fs/autofs/dev-ioctl.c if ((param->ver_major != AUTOFS_DEV_IOCTL_VERSION_MAJOR) || param 59 fs/autofs/dev-ioctl.c (param->ver_minor > AUTOFS_DEV_IOCTL_VERSION_MINOR)) { param 64 fs/autofs/dev-ioctl.c param->ver_major, param->ver_minor, cmd); param 69 fs/autofs/dev-ioctl.c param->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; param 70 fs/autofs/dev-ioctl.c param->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; param 100 fs/autofs/dev-ioctl.c static inline void free_dev_ioctl(struct autofs_dev_ioctl *param) param 102 fs/autofs/dev-ioctl.c kfree(param); param 109 fs/autofs/dev-ioctl.c static int validate_dev_ioctl(int cmd, struct autofs_dev_ioctl *param) param 113 fs/autofs/dev-ioctl.c err = check_dev_ioctl_version(cmd, param); param 120 fs/autofs/dev-ioctl.c if (param->size > AUTOFS_DEV_IOCTL_SIZE) { param 121 fs/autofs/dev-ioctl.c err = invalid_str(param->path, param->size - AUTOFS_DEV_IOCTL_SIZE); param 129 fs/autofs/dev-ioctl.c err = check_name(param->path); param 154 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 157 fs/autofs/dev-ioctl.c param->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; param 158 fs/autofs/dev-ioctl.c param->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; param 165 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 167 fs/autofs/dev-ioctl.c param->protover.version = sbi->version; param 174 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 176 fs/autofs/dev-ioctl.c param->protosubver.sub_version = sbi->sub_version; param 258 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 266 fs/autofs/dev-ioctl.c if (!param->openmount.devid) param 269 fs/autofs/dev-ioctl.c param->ioctlfd = -1; param 271 fs/autofs/dev-ioctl.c path = param->path; param 272 fs/autofs/dev-ioctl.c devid = new_decode_dev(param->openmount.devid); param 281 fs/autofs/dev-ioctl.c param->ioctlfd = fd; param 289 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 291 fs/autofs/dev-ioctl.c return ksys_close(param->ioctlfd); param 300 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 304 fs/autofs/dev-ioctl.c token = (autofs_wqt_t) param->ready.token; param 314 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 319 fs/autofs/dev-ioctl.c token = (autofs_wqt_t) param->fail.token; param 320 fs/autofs/dev-ioctl.c status = param->fail.status < 0 ? param->fail.status : -ENOENT; param 338 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 344 fs/autofs/dev-ioctl.c if (param->setpipefd.pipefd == -1) param 347 fs/autofs/dev-ioctl.c pipefd = param->setpipefd.pipefd; param 391 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 400 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 404 fs/autofs/dev-ioctl.c timeout = param->timeout.timeout; param 405 fs/autofs/dev-ioctl.c param->timeout.timeout = sbi->exp_timeout / HZ; param 420 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 431 fs/autofs/dev-ioctl.c param->requester.uid = param->requester.gid = -1; param 433 fs/autofs/dev-ioctl.c err = find_autofs_mount(param->path, &path, test_by_dev, &devid); param 442 fs/autofs/dev-ioctl.c param->requester.uid = param 444 fs/autofs/dev-ioctl.c param->requester.gid = param 459 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 464 fs/autofs/dev-ioctl.c how = param->expire.how; param 473 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 475 fs/autofs/dev-ioctl.c param->askumount.may_umount = 0; param 477 fs/autofs/dev-ioctl.c param->askumount.may_umount = 1; param 504 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param) param 514 fs/autofs/dev-ioctl.c name = param->path; param 515 fs/autofs/dev-ioctl.c type = param->ismountpoint.in.type; param 517 fs/autofs/dev-ioctl.c param->ismountpoint.out.devid = devid = 0; param 518 fs/autofs/dev-ioctl.c param->ismountpoint.out.magic = magic = 0; param 520 fs/autofs/dev-ioctl.c if (!fp || param->ioctlfd == -1) { param 550 fs/autofs/dev-ioctl.c param->ismountpoint.out.devid = devid; param 551 fs/autofs/dev-ioctl.c param->ismountpoint.out.magic = magic; param 591 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl *param; param 615 fs/autofs/dev-ioctl.c param = copy_dev_ioctl(user); param 616 fs/autofs/dev-ioctl.c if (IS_ERR(param)) param 617 fs/autofs/dev-ioctl.c return PTR_ERR(param); param 619 fs/autofs/dev-ioctl.c err = validate_dev_ioctl(command, param); param 644 fs/autofs/dev-ioctl.c fp = fget(param->ioctlfd); param 672 fs/autofs/dev-ioctl.c err = fn(fp, sbi, param); param 676 fs/autofs/dev-ioctl.c if (err >= 0 && copy_to_user(user, param, AUTOFS_DEV_IOCTL_SIZE)) param 679 fs/autofs/dev-ioctl.c free_dev_ioctl(param); param 1664 fs/cifs/cifsglob.h static inline void free_dfs_info_param(struct dfs_info3_param *param) param 1666 fs/cifs/cifsglob.h if (param) { param 1667 fs/cifs/cifsglob.h kfree(param->path_name); param 1668 fs/cifs/cifsglob.h kfree(param->node_name); param 1672 fs/cifs/cifsglob.h static inline void free_dfs_info_array(struct dfs_info3_param *param, param 1676 fs/cifs/cifsglob.h if ((number_of_items == 0) || (param == NULL)) param 1679 fs/cifs/cifsglob.h kfree(param[i].path_name); param 1680 fs/cifs/cifsglob.h kfree(param[i].node_name); param 1682 fs/cifs/cifsglob.h kfree(param); param 73 fs/ecryptfs/ecryptfs_kernel.h } param; param 126 fs/fs_context.c int vfs_parse_fs_param(struct fs_context *fc, struct fs_parameter *param) param 130 fs/fs_context.c if (!param->key) param 133 fs/fs_context.c ret = vfs_parse_sb_flag(fc, param->key); param 137 fs/fs_context.c ret = security_fs_context_parse_param(fc, param); param 145 fs/fs_context.c ret = fc->ops->parse_param(fc, param); param 153 fs/fs_context.c if (strcmp(param->key, "source") == 0) { param 154 fs/fs_context.c if (param->type != fs_value_is_string) param 158 fs/fs_context.c fc->source = param->string; param 159 fs/fs_context.c param->string = NULL; param 164 fs/fs_context.c fc->fs_type->name, param->key); param 176 fs/fs_context.c struct fs_parameter param = { param 183 fs/fs_context.c param.string = kmemdup_nul(value, v_size, GFP_KERNEL); param 184 fs/fs_context.c if (!param.string) param 188 fs/fs_context.c ret = vfs_parse_fs_param(fc, ¶m); param 189 fs/fs_context.c kfree(param.string); param 557 fs/fs_context.c static int legacy_parse_param(struct fs_context *fc, struct fs_parameter *param) param 563 fs/fs_context.c if (strcmp(param->key, "source") == 0) { param 564 fs/fs_context.c if (param->type != fs_value_is_string) param 568 fs/fs_context.c fc->source = param->string; param 569 fs/fs_context.c param->string = NULL; param 576 fs/fs_context.c switch (param->type) { param 578 fs/fs_context.c len = 1 + param->size; param 581 fs/fs_context.c len += strlen(param->key); param 585 fs/fs_context.c param->key); param 590 fs/fs_context.c if (strchr(param->key, ',') || param 591 fs/fs_context.c (param->type == fs_value_is_string && param 592 fs/fs_context.c memchr(param->string, ',', param->size))) param 594 fs/fs_context.c param->key); param 602 fs/fs_context.c len = strlen(param->key); param 603 fs/fs_context.c memcpy(ctx->legacy_data + size, param->key, len); param 605 fs/fs_context.c if (param->type == fs_value_is_string) { param 607 fs/fs_context.c memcpy(ctx->legacy_data + size, param->string, param->size); param 608 fs/fs_context.c size += param->size; param 81 fs/fs_parser.c struct fs_parameter *param, param 88 fs/fs_parser.c result->has_value = !!param->string; param 92 fs/fs_parser.c p = fs_lookup_key(desc, param->key); param 100 fs/fs_parser.c if (param->key[0] != 'n' || param->key[1] != 'o' || !param->key[2]) param 103 fs/fs_parser.c p = fs_lookup_key(desc, param->key + 2); param 114 fs/fs_parser.c desc->name, param->key); param 130 fs/fs_parser.c if (param->type != fs_value_is_string) param 147 fs/fs_parser.c if (param->type != fs_value_is_flag && param 148 fs/fs_parser.c (param->type != fs_value_is_string || result->has_value)) param 150 fs/fs_parser.c desc->name, param->key); param 155 fs/fs_parser.c switch (param->type) { param 160 fs/fs_parser.c if (param->size == 0) { param 164 fs/fs_parser.c b = lookup_constant(bool_names, param->string, -1); param 174 fs/fs_parser.c ret = kstrtouint(param->string, 0, &result->uint_32); param 177 fs/fs_parser.c ret = kstrtouint(param->string, 8, &result->uint_32); param 180 fs/fs_parser.c ret = kstrtouint(param->string, 16, &result->uint_32); param 183 fs/fs_parser.c ret = kstrtoint(param->string, 0, &result->int_32); param 186 fs/fs_parser.c ret = kstrtoull(param->string, 0, &result->uint_64); param 192 fs/fs_parser.c strcmp(e->name, param->string) == 0) { param 202 fs/fs_parser.c if (param->type != fs_value_is_blob) param 207 fs/fs_parser.c switch (param->type) { param 212 fs/fs_parser.c ret = kstrtouint(param->string, 0, &result->uint_32); param 215 fs/fs_parser.c result->uint_32 = param->dirfd; param 240 fs/fs_parser.c return invalf(fc, "%s: Bad value for '%s'", desc->name, param->key); param 254 fs/fs_parser.c struct fs_parameter *param, param 263 fs/fs_parser.c switch (param->type) { param 265 fs/fs_parser.c f = getname_kernel(param->string); param 274 fs/fs_parser.c f = param->name; param 278 fs/fs_parser.c return invalf(fc, "%s: not usable as path", param->key); param 282 fs/fs_parser.c ret = filename_lookup(param->dirfd, f, flags, _path, NULL); param 284 fs/fs_parser.c errorf(fc, "%s: Lookup failure for '%s'", param->key, f->name); param 294 fs/fs_parser.c param->key, f->name); param 362 fs/fs_parser.c const struct fs_parameter_spec *param, *p2; param 377 fs/fs_parser.c for (param = desc->specs; param->name; param++) { param 378 fs/fs_parser.c enum fs_parameter_type t = param->type; param 384 fs/fs_parser.c name, param->name, t); param 391 fs/fs_parser.c for (p2 = desc->specs; p2 < param; p2++) { param 392 fs/fs_parser.c if (strcmp(param->name, p2->name) == 0) { param 394 fs/fs_parser.c name, param->name); param 400 fs/fs_parser.c nr_params = param - desc->specs; param 421 fs/fs_parser.c for (param = desc->specs; param->name; param++) { param 422 fs/fs_parser.c if (param->opt == e->opt && param 423 fs/fs_parser.c param->type != fs_param_is_enum) { param 425 fs/fs_parser.c name, e - desc->enums, param->name); param 434 fs/fs_parser.c for (param = desc->specs; param->name; param++) { param 435 fs/fs_parser.c if (param->type != fs_param_is_enum) param 438 fs/fs_parser.c if (e->opt == param->opt) param 442 fs/fs_parser.c name, param->name); param 217 fs/fsopen.c struct fs_parameter *param) param 265 fs/fsopen.c return vfs_parse_fs_param(fc, param); param 325 fs/fsopen.c struct fs_parameter param = { param 383 fs/fsopen.c param.key = strndup_user(_key, 256); param 384 fs/fsopen.c if (IS_ERR(param.key)) { param 385 fs/fsopen.c ret = PTR_ERR(param.key); param 392 fs/fsopen.c param.type = fs_value_is_flag; param 395 fs/fsopen.c param.type = fs_value_is_string; param 396 fs/fsopen.c param.string = strndup_user(_value, 256); param 397 fs/fsopen.c if (IS_ERR(param.string)) { param 398 fs/fsopen.c ret = PTR_ERR(param.string); param 401 fs/fsopen.c param.size = strlen(param.string); param 404 fs/fsopen.c param.type = fs_value_is_blob; param 405 fs/fsopen.c param.size = aux; param 406 fs/fsopen.c param.blob = memdup_user_nul(_value, aux); param 407 fs/fsopen.c if (IS_ERR(param.blob)) { param 408 fs/fsopen.c ret = PTR_ERR(param.blob); param 413 fs/fsopen.c param.type = fs_value_is_filename; param 414 fs/fsopen.c param.name = getname_flags(_value, 0, NULL); param 415 fs/fsopen.c if (IS_ERR(param.name)) { param 416 fs/fsopen.c ret = PTR_ERR(param.name); param 419 fs/fsopen.c param.dirfd = aux; param 420 fs/fsopen.c param.size = strlen(param.name->name); param 423 fs/fsopen.c param.type = fs_value_is_filename_empty; param 424 fs/fsopen.c param.name = getname_flags(_value, LOOKUP_EMPTY, NULL); param 425 fs/fsopen.c if (IS_ERR(param.name)) { param 426 fs/fsopen.c ret = PTR_ERR(param.name); param 429 fs/fsopen.c param.dirfd = aux; param 430 fs/fsopen.c param.size = strlen(param.name->name); param 433 fs/fsopen.c param.type = fs_value_is_file; param 435 fs/fsopen.c param.file = fget(aux); param 436 fs/fsopen.c if (!param.file) param 445 fs/fsopen.c ret = vfs_fsconfig_locked(fc, cmd, ¶m); param 456 fs/fsopen.c kfree(param.string); param 460 fs/fsopen.c if (param.name) param 461 fs/fsopen.c putname(param.name); param 464 fs/fsopen.c if (param.file) param 465 fs/fsopen.c fput(param.file); param 471 fs/fsopen.c kfree(param.key); param 470 fs/fuse/inode.c static int fuse_parse_param(struct fs_context *fc, struct fs_parameter *param) param 476 fs/fuse/inode.c opt = fs_parse(fc, &fuse_fs_parameters, param, &result); param 484 fs/fuse/inode.c fc->source = param->string; param 485 fs/fuse/inode.c param->string = NULL; param 491 fs/fuse/inode.c ctx->subtype = param->string; param 492 fs/fuse/inode.c param->string = NULL; param 1338 fs/gfs2/ops_fstype.c static int gfs2_parse_param(struct fs_context *fc, struct fs_parameter *param) param 1344 fs/gfs2/ops_fstype.c o = fs_parse(fc, &gfs2_fs_parameters, param, &result); param 1350 fs/gfs2/ops_fstype.c strlcpy(args->ar_lockproto, param->string, GFS2_LOCKNAME_LEN); param 1353 fs/gfs2/ops_fstype.c strlcpy(args->ar_locktable, param->string, GFS2_LOCKNAME_LEN); param 1356 fs/gfs2/ops_fstype.c strlcpy(args->ar_hostdata, param->string, GFS2_LOCKNAME_LEN); param 1441 fs/gfs2/ops_fstype.c return invalf(fc, "gfs2: invalid mount option: %s", param->key); param 1146 fs/hugetlbfs/inode.c static int hugetlbfs_parse_param(struct fs_context *fc, struct fs_parameter *param) param 1154 fs/hugetlbfs/inode.c opt = fs_parse(fc, &hugetlb_fs_parameters, param, &result); param 1177 fs/hugetlbfs/inode.c if (!isdigit(param->string[0])) param 1179 fs/hugetlbfs/inode.c ctx->max_size_opt = memparse(param->string, &rest); param 1187 fs/hugetlbfs/inode.c if (!isdigit(param->string[0])) param 1189 fs/hugetlbfs/inode.c ctx->nr_inodes = memparse(param->string, &rest); param 1193 fs/hugetlbfs/inode.c ps = memparse(param->string, &rest); param 1203 fs/hugetlbfs/inode.c if (!isdigit(param->string[0])) param 1205 fs/hugetlbfs/inode.c ctx->min_size_opt = memparse(param->string, &rest); param 1217 fs/hugetlbfs/inode.c param->string, param->key); param 193 fs/jffs2/super.c static int jffs2_parse_param(struct fs_context *fc, struct fs_parameter *param) param 199 fs/jffs2/super.c opt = fs_parse(fc, &jffs2_fs_parameters, param, &result); param 118 fs/orangefs/downcall.h struct orangefs_param_response param; param 466 fs/orangefs/orangefs-debugfs.c new_op->upcall.req.param.op = param 468 fs/orangefs/orangefs-debugfs.c new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; param 469 fs/orangefs/orangefs-debugfs.c memset(new_op->upcall.req.param.s_value, param 472 fs/orangefs/orangefs-debugfs.c sprintf(new_op->upcall.req.param.s_value, param 351 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_GET; param 365 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 369 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 373 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 378 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 383 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 388 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 393 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 397 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 401 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 405 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 409 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 414 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 418 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 422 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 426 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 431 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 435 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 439 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 443 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 448 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 452 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 456 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 460 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 498 fs/orangefs/orangefs-sysfs.c if (new_op->upcall.req.param.op == param 501 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u. param 503 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u. param 507 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u.value64); param 570 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; param 585 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 594 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 603 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 612 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 621 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 636 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 642 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value32[0] = val1; param 643 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value32[1] = val2; param 648 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 659 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 667 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 676 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 684 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 695 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 703 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 712 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 720 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 731 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 739 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 748 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 756 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 767 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 775 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 784 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 792 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = param 807 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value64 = val; param 253 fs/orangefs/upcall.h struct orangefs_param_request_s param; param 25 fs/overlayfs/copy_up.c static int ovl_ccup_set(const char *buf, const struct kernel_param *param) param 31 fs/overlayfs/copy_up.c static int ovl_ccup_get(char *buf, const struct kernel_param *param) param 55 fs/proc/root.c static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param) param 61 fs/proc/root.c opt = fs_parse(fc, &proc_fs_parameters, param, &result); param 194 fs/ramfs/inode.c static int ramfs_parse_param(struct fs_context *fc, struct fs_parameter *param) param 200 fs/ramfs/inode.c opt = fs_parse(fc, &ramfs_fs_parameters, param, &result); param 327 include/acpi/acoutput.h #define ACPI_TRACE_ENTRY(name, function, type, param) \ param 329 include/acpi/acoutput.h function (ACPI_DEBUG_PARAMETERS, (type) (param)) param 372 include/acpi/acoutput.h #define ACPI_TRACE_EXIT(function, type, param) \ param 374 include/acpi/acoutput.h register type _param = (type) (param); \ param 381 include/acpi/acoutput.h #define ACPI_TRACE_EXIT(function, type, param) \ param 383 include/acpi/acoutput.h function (ACPI_DEBUG_PARAMETERS, (type) (param)); \ param 384 include/acpi/acoutput.h return (param); \ param 32 include/drm/drm_mipi_dbi.h int (*command)(struct mipi_dbi *dbi, u8 *cmd, u8 *param, size_t num); param 44 include/linux/cmdline-parser.h void *param); param 8 include/linux/dma/mmp-pdma.h bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param); param 10 include/linux/dma/mmp-pdma.h static inline bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param) param 645 include/linux/dmaengine.h void *param; param 58 include/linux/dynamic_debug.h extern int ddebug_dyndbg_module_param_cb(char *param, char *val, param 191 include/linux/dynamic_debug.h static inline int ddebug_dyndbg_module_param_cb(char *param, char *val, param 194 include/linux/dynamic_debug.h if (strstr(param, "dyndbg")) { param 113 include/linux/fs_context.h int (*parse_param)(struct fs_context *fc, struct fs_parameter *param); param 131 include/linux/fs_context.h extern int vfs_parse_fs_param(struct fs_context *fc, struct fs_parameter *param); param 89 include/linux/fs_parser.h struct fs_parameter *param, param 60 include/linux/i8042.h int i8042_command(unsigned char *param, int command); param 76 include/linux/i8042.h static inline int i8042_command(unsigned char *param, int command) param 60 include/linux/iio/common/cros_ec_sensors_core.h struct ec_params_motion_sense param; param 66 include/linux/irqdomain.h u32 param[IRQ_DOMAIN_IRQ_SPEC_PARAMS]; param 502 include/linux/kernel.h extern char *next_arg(char *args, char **param, char **val); param 53 include/linux/libps2.h int __ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command); param 54 include/linux/libps2.h int ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command); param 1493 include/linux/lsm_hooks.h int (*fs_context_parse_param)(struct fs_context *fc, struct fs_parameter *param); param 89 include/linux/memstick.h struct ms_param_register param; param 129 include/linux/memstick.h struct mspro_param_register param; param 289 include/linux/memstick.h enum memstick_param param, param 61 include/linux/mlx4/driver.h enum mlx4_dev_event event, unsigned long param); param 1146 include/linux/mlx5/driver.h static inline int mlx5_get_gid_table_len(u16 param) param 1148 include/linux/mlx5/driver.h if (param > 4) { param 1153 include/linux/mlx5/driver.h return 8 * (1 << param); param 22 include/linux/mlx5/eq.h mlx5_eq_create_generic(struct mlx5_core_dev *dev, struct mlx5_eq_param *param); param 320 include/linux/moduleparam.h int (*unknown)(char *param, char *val, param 161 include/linux/pinctrl/pinconf-generic.h static inline unsigned long pinconf_to_config_packed(enum pin_config_param param, param 164 include/linux/pinctrl/pinconf-generic.h return PIN_CONF_PACKED(param, argument); param 168 include/linux/pinctrl/pinconf-generic.h .param = a, .display = b, .format = c, .has_arg = d \ param 172 include/linux/pinctrl/pinconf-generic.h const enum pin_config_param param; param 180 include/linux/pinctrl/pinconf-generic.h enum pin_config_param param; param 4041 include/linux/platform_data/cros_ec_commands.h uint32_t param; /* enum charge_state_param */ param 4045 include/linux/platform_data/cros_ec_commands.h uint32_t param; /* param to set */ param 4232 include/linux/platform_data/cros_ec_commands.h uint8_t param; param 4291 include/linux/platform_data/cros_ec_commands.h uint32_t param; param 22 include/linux/platform_data/dma-mcf-edma.h bool mcf_edma_filter_fn(struct dma_chan *chan, void *param); param 48 include/linux/platform_data/dma-s3c24xx.h bool s3c24xx_dma_filter(struct dma_chan *chan, void *param); param 283 include/linux/security.h int security_fs_context_parse_param(struct fs_context *fc, struct fs_parameter *param); param 595 include/linux/security.h struct fs_parameter *param) param 23 include/linux/spi/pxa2xx_spi.h bool (*dma_filter)(struct dma_chan *chan, void *param); param 654 include/linux/syscalls.h struct sched_param __user *param); param 656 include/linux/syscalls.h struct sched_param __user *param); param 659 include/linux/syscalls.h struct sched_param __user *param); param 100 include/linux/tee_drv.h struct tee_param *param); param 104 include/linux/tee_drv.h struct tee_param *param); param 107 include/linux/tee_drv.h struct tee_param *param); param 109 include/linux/tee_drv.h struct tee_param *param); param 504 include/linux/tee_drv.h struct tee_param *param); param 527 include/linux/tee_drv.h struct tee_param *param); param 541 include/linux/tee_drv.h static inline bool tee_param_is_memref(struct tee_param *param) param 543 include/linux/tee_drv.h switch (param->attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) { param 315 include/linux/usb/gadget.h unsigned code, unsigned long param); param 1452 include/net/bluetooth/hci_core.h const void *param, u32 timeout); param 1454 include/net/bluetooth/hci_core.h const void *param, u8 event, u32 timeout); param 1456 include/net/bluetooth/hci_core.h const void *param); param 1459 include/net/bluetooth/hci_core.h const void *param); param 1466 include/net/bluetooth/hci_core.h const void *param, u32 timeout); param 45 include/net/caif/caif_dev.h struct caif_param param; param 96 include/net/caif/cfctrl.h struct cfctrl_link_param param; param 120 include/net/caif/cfctrl.h struct cfctrl_link_param *param, param 2461 include/net/cfg80211.h } param; param 388 include/net/devlink.h const struct devlink_param *param; param 148 include/net/nfc/digital.h int param); param 154 include/net/nfc/digital.h int param); param 264 include/net/nfc/hci.h const u8 *param, size_t param_len); param 266 include/net/nfc/hci.h const u8 *param, size_t param_len, struct sk_buff **skb); param 268 include/net/nfc/hci.h const u8 *param, size_t param_len, param 271 include/net/nfc/hci.h const u8 *param, size_t param_len); param 233 include/net/nfc/nci.h struct set_config_param param; /* support 1 param per cmd is enough */ param 302 include/net/nfc/nci_core.h const u8 *param, size_t param_len); param 304 include/net/nfc/nci_core.h u8 cmd, const u8 *param, size_t param_len, param 310 include/net/nfc/nci_core.h const u8 *param, size_t param_len); param 404 include/pcmcia/cistpl.h u_int param[7]; param 280 include/rdma/ib_cm.h } param; param 409 include/rdma/ib_cm.h struct ib_cm_req_param *param); param 433 include/rdma/ib_cm.h struct ib_cm_rep_param *param); param 600 include/rdma/ib_cm.h struct ib_cm_sidr_req_param *param); param 620 include/rdma/ib_cm.h struct ib_cm_sidr_rep_param *param); param 2214 include/rdma/ib_verbs.h void *param; param 2217 include/rdma/ib_verbs.h struct net_device *netdev, void *param); param 113 include/rdma/rdma_cm.h } param; param 25 include/rdma/rdma_counter.h struct auto_mode_param param; param 136 include/scsi/iscsi_if.h uint32_t param; /* enum iscsi_param */ param 180 include/scsi/iscsi_if.h uint32_t param; /* enum iscsi_host_param */ param 313 include/scsi/iscsi_if.h uint16_t param; /* iscsi param */ param 320 include/scsi/iscsi_if.h uint16_t param; /* iscsi param value */ param 699 include/scsi/iscsi_if.h uint16_t param; /* iscsi param value */ param 384 include/scsi/libiscsi.h enum iscsi_host_param param, char *buf, param 387 include/scsi/libiscsi.h enum iscsi_host_param param, char *buf); param 405 include/scsi/libiscsi.h enum iscsi_param param, char *buf, int buflen); param 407 include/scsi/libiscsi.h enum iscsi_param param, char *buf); param 426 include/scsi/libiscsi.h enum iscsi_param param, char *buf); param 428 include/scsi/libiscsi.h enum iscsi_param param, char *buf); param 91 include/scsi/scsi_transport_iscsi.h int (*set_param) (struct iscsi_cls_conn *conn, enum iscsi_param param, param 93 include/scsi/scsi_transport_iscsi.h int (*get_ep_param) (struct iscsi_endpoint *ep, enum iscsi_param param, param 96 include/scsi/scsi_transport_iscsi.h enum iscsi_param param, char *buf); param 98 include/scsi/scsi_transport_iscsi.h enum iscsi_param param, char *buf); param 100 include/scsi/scsi_transport_iscsi.h enum iscsi_host_param param, char *buf); param 102 include/scsi/scsi_transport_iscsi.h enum iscsi_host_param param, char *buf, param 133 include/scsi/scsi_transport_iscsi.h int param, char *buf); param 134 include/scsi/scsi_transport_iscsi.h umode_t (*attr_is_visible)(int param_type, int param); param 144 include/scsi/scsi_transport_iscsi.h int param, char *buf); param 22 include/soc/arc/mcip.h unsigned int pad:8, param:16, cmd:8; param 24 include/soc/arc/mcip.h unsigned int cmd:8, param:16, pad:8; param 101 include/soc/arc/mcip.h static inline void __mcip_cmd(unsigned int cmd, unsigned int param) param 107 include/soc/arc/mcip.h buf.param = param; param 116 include/soc/arc/mcip.h static inline void __mcip_cmd_data(unsigned int cmd, unsigned int param, param 121 include/soc/arc/mcip.h __mcip_cmd(cmd, param); param 127 include/soc/arc/mcip.h static inline unsigned int __mcip_cmd_read(unsigned int cmd, unsigned int param) param 129 include/soc/arc/mcip.h __mcip_cmd(cmd, param); param 327 include/sound/hda_codec.h #define snd_hda_param_read(codec, nid, param) \ param 328 include/sound/hda_codec.h snd_hdac_read_parm(&(codec)->core, nid, param) param 359 include/sound/hda_codec.h u32 param; param 17 include/sound/hda_hwdep.h #define HDA_VERB(nid,verb,param) ((nid)<<24 | (verb)<<8 | (param)) param 939 include/sound/soc.h #define DAILINK_COMP_ARRAY(param...) param param 82 include/uapi/drm/etnaviv_drm.h __u32 param; /* in, ETNAVIV_PARAM_x */ param 617 include/uapi/drm/i915_drm.h __s32 param; param 634 include/uapi/drm/i915_drm.h int param; param 1498 include/uapi/drm/i915_drm.h __u64 param; param 1723 include/uapi/drm/i915_drm.h struct drm_i915_gem_context_param param; param 30 include/uapi/drm/lima_drm.h __u32 param; /* in, value in enum drm_lima_param */ param 419 include/uapi/drm/mga_drm.h int param; param 82 include/uapi/drm/msm_drm.h __u32 param; /* in, MSM_PARAM_x */ param 296 include/uapi/drm/msm_drm.h __u32 param; param 37 include/uapi/drm/omap_drm.h __u64 param; /* in */ param 177 include/uapi/drm/panfrost_drm.h __u32 param; param 109 include/uapi/drm/qxl_drm.h __u64 param; param 328 include/uapi/drm/r128_drm.h int param; param 725 include/uapi/drm/radeon_drm.h int param; param 767 include/uapi/drm/radeon_drm.h unsigned int param; param 199 include/uapi/drm/v3d_drm.h __u32 param; param 336 include/uapi/drm/vc4_drm.h __u32 param; param 76 include/uapi/drm/virtgpu_drm.h __u64 param; param 126 include/uapi/drm/vmwgfx_drm.h __u32 param; param 475 include/uapi/linux/cyclades.h unsigned long param[QUEUE_SIZE]; param 141 include/uapi/linux/scc.h unsigned param; /* KISS-Param */ param 923 include/uapi/linux/wireless.h struct iw_param param; /* Other small parameters */ param 288 include/uapi/rdma/rdma_user_cm.h } param; param 207 include/uapi/sound/asequencer.h unsigned int param; param 261 include/uapi/sound/asequencer.h } param; param 249 init/main.c static int __init repair_env_string(char *param, char *val, param 254 init/main.c if (val == param+strlen(param)+1) param 256 init/main.c else if (val == param+strlen(param)+2) { param 267 init/main.c static int __init set_init_arg(char *param, char *val, param 275 init/main.c repair_env_string(param, val, unused, NULL); param 280 init/main.c panic_param = param; param 284 init/main.c argv_init[i] = param; param 292 init/main.c static int __init unknown_bootoption(char *param, char *val, param 295 init/main.c repair_env_string(param, val, unused, NULL); param 298 init/main.c if (obsolete_checksetup(param)) param 302 init/main.c if (strchr(param, '.') && (!val || strchr(param, '.') < val)) param 314 init/main.c panic_param = param; param 316 init/main.c if (!strncmp(param, envp_init[i], val - param)) param 319 init/main.c envp_init[i] = param; param 326 init/main.c panic_param = param; param 329 init/main.c argv_init[i] = param; param 455 init/main.c static int __init do_early_param(char *param, char *val, param 461 init/main.c if ((p->early && parameq(param, p->str)) || param 462 init/main.c (strcmp(param, "console") == 0 && param 466 init/main.c pr_warn("Malformed early option '%s'\n", param); param 602 kernel/bpf/inode.c static int bpf_parse_param(struct fs_context *fc, struct fs_parameter *param) param 608 kernel/bpf/inode.c opt = fs_parse(fc, &bpf_fs_parameters, param, &result); param 274 kernel/cgroup/cgroup-internal.h int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param); param 907 kernel/cgroup/cgroup-v1.c int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param) param 914 kernel/cgroup/cgroup-v1.c opt = fs_parse(fc, &cgroup1_fs_parameters, param, &result); param 916 kernel/cgroup/cgroup-v1.c if (strcmp(param->key, "source") == 0) { param 917 kernel/cgroup/cgroup-v1.c fc->source = param->string; param 918 kernel/cgroup/cgroup-v1.c param->string = NULL; param 922 kernel/cgroup/cgroup-v1.c if (strcmp(param->key, ss->legacy_name)) param 927 kernel/cgroup/cgroup-v1.c return cg_invalf(fc, "cgroup1: Unknown subsys name '%s'", param->key); param 956 kernel/cgroup/cgroup-v1.c ctx->release_agent = param->string; param 957 kernel/cgroup/cgroup-v1.c param->string = NULL; param 964 kernel/cgroup/cgroup-v1.c if (!param->size) param 966 kernel/cgroup/cgroup-v1.c if (param->size > MAX_CGROUP_ROOT_NAMELEN - 1) param 969 kernel/cgroup/cgroup-v1.c for (i = 0; i < param->size; i++) { param 970 kernel/cgroup/cgroup-v1.c char c = param->string[i]; param 980 kernel/cgroup/cgroup-v1.c ctx->name = param->string; param 981 kernel/cgroup/cgroup-v1.c param->string = NULL; param 1833 kernel/cgroup/cgroup.c static int cgroup2_parse_param(struct fs_context *fc, struct fs_parameter *param) param 1839 kernel/cgroup/cgroup.c opt = fs_parse(fc, &cgroup2_fs_parameters, param, &result); param 740 kernel/irq/irqdomain.c fwspec->param, fwspec->param_count, param 744 kernel/irq/irqdomain.c *hwirq = fwspec->param[0]; param 758 kernel/irq/irqdomain.c fwspec->param[i] = args[i]; param 1004 kernel/irq/irqdomain.c *out_hwirq = fwspec->param[0]; param 1005 kernel/irq/irqdomain.c *out_type = fwspec->param[1] & IRQ_TYPE_SENSE_MASK; param 1228 kernel/irq/manage.c struct sched_param param = { param 1238 kernel/irq/manage.c param.sched_priority -= 1; param 1244 kernel/irq/manage.c sched_setscheduler_nocheck(t, SCHED_FIFO, ¶m); param 336 kernel/kthread.c static const struct sched_param param = { .sched_priority = 0 }; param 349 kernel/kthread.c sched_setscheduler_nocheck(task, SCHED_NORMAL, ¶m); param 441 kernel/locking/locktorture.c struct sched_param param; param 453 kernel/locking/locktorture.c param.sched_priority = MAX_RT_PRIO - 1; param 467 kernel/locking/locktorture.c param.sched_priority = 0; param 472 kernel/locking/locktorture.c sched_setscheduler_nocheck(current, policy, ¶m); param 3765 kernel/module.c static int unknown_module_param_cb(char *param, char *val, const char *modname, param 3771 kernel/module.c if (strcmp(param, "async_probe") == 0) { param 3777 kernel/module.c ret = ddebug_dyndbg_module_param_cb(param, val, modname); param 3779 kernel/module.c pr_warn("%s: unknown parameter '%s' ignored\n", modname, param); param 62 kernel/params.c static void maybe_kfree_parameter(void *param) param 68 kernel/params.c if (p->val == param) { param 115 kernel/params.c static int parse_one(char *param, param 123 kernel/params.c int (*handle_unknown)(char *param, char *val, param 131 kernel/params.c if (parameq(param, params[i].name)) { param 139 kernel/params.c pr_debug("handling %s with %p\n", param, param 152 kernel/params.c pr_debug("doing %s: %s='%s'\n", doing, param, val); param 153 kernel/params.c return handle_unknown(param, val, doing, arg); param 156 kernel/params.c pr_debug("Unknown argument '%s'\n", param); param 168 kernel/params.c int (*unknown)(char *param, char *val, param 171 kernel/params.c char *param, *val, *err = NULL; param 183 kernel/params.c args = next_arg(args, ¶m, &val); param 185 kernel/params.c if (!val && strcmp(param, "--") == 0) param 188 kernel/params.c ret = parse_one(param, val, doing, params, num, param 192 kernel/params.c doing, param); param 198 kernel/params.c pr_err("%s: Unknown parameter `%s'\n", doing, param); param 202 kernel/params.c doing, val ?: "", param); param 206 kernel/params.c doing, val ?: "", param); param 525 kernel/params.c const struct kernel_param *param; param 544 kernel/params.c if (!attribute->param->ops->get) param 548 kernel/params.c count = attribute->param->ops->get(buf, attribute->param); param 561 kernel/params.c if (!attribute->param->ops->set) param 565 kernel/params.c if (param_check_unsafe(attribute->param)) param 566 kernel/params.c err = attribute->param->ops->set(buf, attribute->param); param 651 kernel/params.c mk->mp->attrs[mk->mp->num].param = kp; param 2132 kernel/sched/core.c struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; param 2144 kernel/sched/core.c sched_setscheduler_nocheck(stop, SCHED_FIFO, ¶m); param 5017 kernel/sched/core.c const struct sched_param *param, bool check) param 5021 kernel/sched/core.c .sched_priority = param->sched_priority, param 5045 kernel/sched/core.c const struct sched_param *param) param 5047 kernel/sched/core.c return _sched_setscheduler(p, policy, param, true); param 5076 kernel/sched/core.c const struct sched_param *param) param 5078 kernel/sched/core.c return _sched_setscheduler(p, policy, param, false); param 5083 kernel/sched/core.c do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) param 5089 kernel/sched/core.c if (!param || pid < 0) param 5091 kernel/sched/core.c if (copy_from_user(&lparam, param, sizeof(struct sched_param))) param 5162 kernel/sched/core.c SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) param 5167 kernel/sched/core.c return do_sched_setscheduler(pid, policy, param); param 5177 kernel/sched/core.c SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) param 5179 kernel/sched/core.c return do_sched_setscheduler(pid, SETPARAM_POLICY, param); param 5258 kernel/sched/core.c SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) param 5264 kernel/sched/core.c if (!param || pid < 0) param 5284 kernel/sched/core.c retval = copy_to_user(param, &lp, sizeof(*param)) ? -EFAULT : 0; param 1054 kernel/sched/psi.c struct sched_param param = { param 1065 kernel/sched/psi.c sched_setscheduler_nocheck(kworker->task, SCHED_FIFO, ¶m); param 2882 kernel/signal.c long do_no_restart_syscall(struct restart_block *param) param 2669 kernel/sysctl.c struct do_proc_dointvec_minmax_conv_param *param = data; param 2681 kernel/sysctl.c if ((param->min && *param->min > tmp) || param 2682 kernel/sysctl.c (param->max && *param->max < tmp)) param 2709 kernel/sysctl.c struct do_proc_dointvec_minmax_conv_param param = { param 2714 kernel/sysctl.c do_proc_dointvec_minmax_conv, ¶m); param 2737 kernel/sysctl.c struct do_proc_douintvec_minmax_conv_param *param = data; param 2746 kernel/sysctl.c if ((param->min && *param->min > tmp) || param 2747 kernel/sysctl.c (param->max && *param->max < tmp)) param 2778 kernel/sysctl.c struct do_proc_douintvec_minmax_conv_param param = { param 2783 kernel/sysctl.c do_proc_douintvec_minmax_conv, ¶m); param 459 kernel/trace/ring_buffer_benchmark.c struct sched_param param = { param 462 kernel/trace/ring_buffer_benchmark.c sched_setscheduler(consumer, SCHED_FIFO, ¶m); param 468 kernel/trace/ring_buffer_benchmark.c struct sched_param param = { param 471 kernel/trace/ring_buffer_benchmark.c sched_setscheduler(producer, SCHED_FIFO, ¶m); param 7716 kernel/trace/trace.c char *glob, char *cmd, char *param, int enable) param 7730 kernel/trace/trace.c ops = param ? &snapshot_count_probe_ops : &snapshot_probe_ops; param 7735 kernel/trace/trace.c if (!param) param 7738 kernel/trace/trace.c number = strsep(¶m, ":"); param 1652 kernel/trace/trace.h char *glob, char *cmd, char *param); param 1830 kernel/trace/trace.h struct event_trigger_ops *(*get_trigger_ops)(char *cmd, char *param); param 2694 kernel/trace/trace_events.c char *glob, char *cmd, char *param, int enabled) param 2709 kernel/trace/trace_events.c if (!enabled || !param) param 2712 kernel/trace/trace_events.c system = strsep(¶m, ":"); param 2713 kernel/trace/trace_events.c if (!param) param 2716 kernel/trace/trace_events.c event = strsep(¶m, ":"); param 2728 kernel/trace/trace_events.c ops = param ? &event_enable_count_probe_ops : &event_enable_probe_ops; param 2730 kernel/trace/trace_events.c ops = param ? &event_disable_count_probe_ops : &event_disable_probe_ops; param 2747 kernel/trace/trace_events.c if (!param) param 2750 kernel/trace/trace_events.c number = strsep(¶m, ":"); param 3202 kernel/trace/trace_events_hist.c char *glob, char *cmd, char *param); param 3957 kernel/trace/trace_events_hist.c char *param, *saved_param; param 3967 kernel/trace/trace_events_hist.c param = strsep(¶ms, ","); param 3968 kernel/trace/trace_events_hist.c if (!param) { param 3974 kernel/trace/trace_events_hist.c param = strstrip(param); param 3975 kernel/trace/trace_events_hist.c if (strlen(param) < 2) { param 3976 kernel/trace/trace_events_hist.c hist_err(tr, HIST_ERR_INVALID_PARAM, errpos(param)); param 3981 kernel/trace/trace_events_hist.c saved_param = kstrdup(param, GFP_KERNEL); param 4276 kernel/trace/trace_events_hist.c char *event_name, *param, *system = NULL; param 4302 kernel/trace/trace_events_hist.c p = param = kstrdup(data->params[i], GFP_KERNEL); param 4303 kernel/trace/trace_events_hist.c if (!param) { param 4308 kernel/trace/trace_events_hist.c system = strsep(¶m, "."); param 4309 kernel/trace/trace_events_hist.c if (!param) { param 4310 kernel/trace/trace_events_hist.c param = (char *)system; param 4313 kernel/trace/trace_events_hist.c event_name = strsep(¶m, "."); param 4314 kernel/trace/trace_events_hist.c if (!param) { param 4321 kernel/trace/trace_events_hist.c if (param[0] == '$') param 4324 kernel/trace/trace_events_hist.c param); param 4330 kernel/trace/trace_events_hist.c param); param 4360 kernel/trace/trace_events_hist.c hist_err(tr, HIST_ERR_SYNTH_TYPE_MISMATCH, errpos(param)); param 4389 kernel/trace/trace_events_hist.c char *param; param 4418 kernel/trace/trace_events_hist.c param = kstrdup(data->params[i], GFP_KERNEL); param 4419 kernel/trace/trace_events_hist.c if (!param) { param 4424 kernel/trace/trace_events_hist.c field_var = create_target_field_var(hist_data, NULL, NULL, param); param 4427 kernel/trace/trace_events_hist.c errpos(param)); param 4429 kernel/trace/trace_events_hist.c kfree(param); param 4436 kernel/trace/trace_events_hist.c kfree(param); param 5860 kernel/trace/trace_events_hist.c char *param) param 6208 kernel/trace/trace_events_hist.c char *glob, char *cmd, char *param) param 6225 kernel/trace/trace_events_hist.c last_cmd_set(file, param); param 6228 kernel/trace/trace_events_hist.c if (!param) param 6238 kernel/trace/trace_events_hist.c p = trigger = param; param 6243 kernel/trace/trace_events_hist.c if (p == param) param 6249 kernel/trace/trace_events_hist.c if (p >= param + strlen(param) - (sizeof("if") - 1) - 1) param 6259 kernel/trace/trace_events_hist.c param = NULL; param 6262 kernel/trace/trace_events_hist.c param = strstrip(p); param 6297 kernel/trace/trace_events_hist.c if (param && cmd_ops->set_filter) { param 6298 kernel/trace/trace_events_hist.c ret = cmd_ops->set_filter(param, trigger_data, file); param 6459 kernel/trace/trace_events_hist.c hist_enable_get_trigger_ops(char *cmd, char *param) param 6467 kernel/trace/trace_events_hist.c ops = param ? &hist_enable_count_trigger_ops : param 6470 kernel/trace/trace_events_hist.c ops = param ? &hist_disable_count_trigger_ops : param 624 kernel/trace/trace_events_trigger.c char *glob, char *cmd, char *param) param 633 kernel/trace/trace_events_trigger.c if (param && isdigit(param[0])) param 634 kernel/trace/trace_events_trigger.c trigger = strsep(¶m, " \t"); param 673 kernel/trace/trace_events_trigger.c if (!param) /* if param is non-empty, it's supposed to be a filter */ param 679 kernel/trace/trace_events_trigger.c ret = cmd_ops->set_filter(param, trigger_data, file); param 1024 kernel/trace/trace_events_trigger.c onoff_get_trigger_ops(char *cmd, char *param) param 1030 kernel/trace/trace_events_trigger.c ops = param ? &traceon_count_trigger_ops : param 1033 kernel/trace/trace_events_trigger.c ops = param ? &traceoff_count_trigger_ops : param 1120 kernel/trace/trace_events_trigger.c snapshot_get_trigger_ops(char *cmd, char *param) param 1122 kernel/trace/trace_events_trigger.c return param ? &snapshot_count_trigger_ops : &snapshot_trigger_ops; param 1209 kernel/trace/trace_events_trigger.c stacktrace_get_trigger_ops(char *cmd, char *param) param 1211 kernel/trace/trace_events_trigger.c return param ? &stacktrace_count_trigger_ops : &stacktrace_trigger_ops; param 1349 kernel/trace/trace_events_trigger.c char *glob, char *cmd, char *param) param 1364 kernel/trace/trace_events_trigger.c if (!param) param 1368 kernel/trace/trace_events_trigger.c trigger = strsep(¶m, " \t"); param 1443 kernel/trace/trace_events_trigger.c if (!param) /* if param is non-empty, it's supposed to be a filter */ param 1449 kernel/trace/trace_events_trigger.c ret = cmd_ops->set_filter(param, trigger_data, file); param 1566 kernel/trace/trace_events_trigger.c event_enable_get_trigger_ops(char *cmd, char *param) param 1578 kernel/trace/trace_events_trigger.c ops = param ? &event_enable_count_trigger_ops : param 1581 kernel/trace/trace_events_trigger.c ops = param ? &event_disable_count_trigger_ops : param 640 kernel/trace/trace_functions.c char *cmd, char *param, int enable) param 653 kernel/trace/trace_functions.c if (!param) param 656 kernel/trace/trace_functions.c number = strsep(¶m, ":"); param 677 kernel/trace/trace_functions.c char *glob, char *cmd, char *param, int enable) param 686 kernel/trace/trace_functions.c ops = param ? &traceon_count_probe_ops : &traceon_probe_ops; param 688 kernel/trace/trace_functions.c ops = param ? &traceoff_count_probe_ops : &traceoff_probe_ops; param 691 kernel/trace/trace_functions.c param, enable); param 696 kernel/trace/trace_functions.c char *glob, char *cmd, char *param, int enable) param 703 kernel/trace/trace_functions.c ops = param ? &stacktrace_count_probe_ops : &stacktrace_probe_ops; param 706 kernel/trace/trace_functions.c param, enable); param 711 kernel/trace/trace_functions.c char *glob, char *cmd, char *param, int enable) param 727 kernel/trace/trace_functions.c char *glob, char *cmd, char *param, int enable) param 1137 kernel/trace/trace_kprobe.c val = regs_get_register(regs, code->param); param 1140 kernel/trace/trace_kprobe.c val = regs_get_kernel_stack_nth(regs, code->param); param 1159 kernel/trace/trace_kprobe.c val = regs_get_kernel_argument(regs, code->param); param 275 kernel/trace/trace_probe.c unsigned long param; param 290 kernel/trace/trace_probe.c ret = kstrtoul(arg + len, 10, ¶m); param 294 kernel/trace/trace_probe.c param > PARAM_MAX_STACK) { param 299 kernel/trace/trace_probe.c code->param = (unsigned int)param; param 309 kernel/trace/trace_probe.c ret = kstrtoul(arg + len, 10, ¶m); param 312 kernel/trace/trace_probe.c } else if (!param || param > PARAM_MAX_STACK) { param 317 kernel/trace/trace_probe.c code->param = (unsigned int)param - 1; param 359 kernel/trace/trace_probe.c unsigned long param; param 374 kernel/trace/trace_probe.c code->param = (unsigned int)ret; param 382 kernel/trace/trace_probe.c ret = kstrtoul(arg + 1, 0, ¶m); param 389 kernel/trace/trace_probe.c code->immediate = param; param 707 kernel/trace/trace_probe.c code->param = parg->count; param 113 kernel/trace/trace_probe.h unsigned int param; param 147 kernel/trace/trace_probe_tmpl.h if (++i < code->param) { param 573 kernel/trace/trace_syscalls.c } param; param 576 kernel/trace/trace_syscalls.c *(struct pt_regs **)¶m = regs; param 577 kernel/trace/trace_syscalls.c param.syscall_nr = rec->nr; param 579 kernel/trace/trace_syscalls.c param.args[i] = rec->args[i]; param 580 kernel/trace/trace_syscalls.c return trace_call_bpf(call, ¶m); param 675 kernel/trace/trace_syscalls.c } param; param 677 kernel/trace/trace_syscalls.c *(struct pt_regs **)¶m = regs; param 678 kernel/trace/trace_syscalls.c param.syscall_nr = rec->nr; param 679 kernel/trace/trace_syscalls.c param.ret = rec->ret; param 680 kernel/trace/trace_syscalls.c return trace_call_bpf(call, ¶m); param 228 kernel/trace/trace_uprobe.c val = regs_get_register(regs, code->param); param 231 kernel/trace/trace_uprobe.c val = get_user_stack_nth(regs, code->param); param 685 kernel/watchdog.c int err, old, *param = table->data; param 694 kernel/watchdog.c *param = (watchdog_enabled & which) != 0; param 697 kernel/watchdog.c old = READ_ONCE(*param); param 699 kernel/watchdog.c if (!err && old != READ_ONCE(*param)) param 447 lib/bch.c int rem, c, r, p, k, param[BCH_MAX_M]; param 477 lib/bch.c param[k++] = c; param 489 lib/bch.c rows[r] = (p && (r == param[p-1])) ? param 501 lib/bch.c rows[param[c]] = (rows[param[c]] & ~1)|((p >> c) & 1); param 201 lib/cmdline.c char *next_arg(char *args, char **param, char **val) param 224 lib/cmdline.c *param = args; param 912 lib/dynamic_debug.c static int ddebug_dyndbg_param_cb(char *param, char *val, param 917 lib/dynamic_debug.c sep = strchr(param, '.'); param 921 lib/dynamic_debug.c modname = param; param 922 lib/dynamic_debug.c param = sep + 1; param 924 lib/dynamic_debug.c if (strcmp(param, "dyndbg")) param 933 lib/dynamic_debug.c static int ddebug_dyndbg_boot_param_cb(char *param, char *val, param 936 lib/dynamic_debug.c vpr_info("%s=\"%s\"\n", param, val); param 937 lib/dynamic_debug.c return ddebug_dyndbg_param_cb(param, val, NULL, 0); param 945 lib/dynamic_debug.c int ddebug_dyndbg_module_param_cb(char *param, char *val, const char *module) param 947 lib/dynamic_debug.c vpr_info("module: %s %s=\"%s\"\n", module, param, val); param 948 lib/dynamic_debug.c return ddebug_dyndbg_param_cb(param, val, module, -ENOENT); param 3412 mm/shmem.c static int shmem_parse_one(struct fs_context *fc, struct fs_parameter *param) param 3420 mm/shmem.c opt = fs_parse(fc, &shmem_fs_parameters, param, &result); param 3426 mm/shmem.c size = memparse(param->string, &rest); param 3439 mm/shmem.c ctx->blocks = memparse(param->string, &rest); param 3445 mm/shmem.c ctx->inodes = memparse(param->string, &rest); param 3475 mm/shmem.c if (mpol_parse_str(param->string, &ctx->mpol)) param 3484 mm/shmem.c return invalf(fc, "tmpfs: Unsupported parameter '%s'", param->key); param 3486 mm/shmem.c return invalf(fc, "tmpfs: Bad value for '%s'", param->key); param 124 net/ax25/ax25_ds_subr.c static void ax25_kiss_cmd(ax25_dev *ax25_dev, unsigned char cmd, unsigned char param) param 139 net/ax25/ax25_ds_subr.c *p++ = param; param 275 net/bluetooth/hci_conn.c const struct sco_param *param; param 294 net/bluetooth/hci_conn.c param = &esco_param_msbc[conn->attempt - 1]; param 300 net/bluetooth/hci_conn.c param = &esco_param_cvsd[conn->attempt - 1]; param 304 net/bluetooth/hci_conn.c param = &sco_param_cvsd[conn->attempt - 1]; param 311 net/bluetooth/hci_conn.c cp.retrans_effort = param->retrans_effort; param 312 net/bluetooth/hci_conn.c cp.pkt_type = __cpu_to_le16(param->pkt_type); param 313 net/bluetooth/hci_conn.c cp.max_latency = __cpu_to_le16(param->max_latency); param 271 net/bluetooth/hci_core.c __le16 param; param 297 net/bluetooth/hci_core.c param = cpu_to_le16(0x7d00); param 298 net/bluetooth/hci_core.c hci_req_add(req, HCI_OP_WRITE_CA_TIMEOUT, 2, ¶m); param 3042 net/bluetooth/hci_core.c struct hci_conn_params *param; param 3044 net/bluetooth/hci_core.c list_for_each_entry(param, list, action) { param 3045 net/bluetooth/hci_core.c if (bacmp(¶m->addr, addr) == 0 && param 3046 net/bluetooth/hci_core.c param->addr_type == addr_type) param 3047 net/bluetooth/hci_core.c return param; param 3616 net/bluetooth/hci_core.c const void *param) param 3622 net/bluetooth/hci_core.c skb = hci_prepare_cmd(hdev, opcode, plen, param); param 3640 net/bluetooth/hci_core.c const void *param) param 3657 net/bluetooth/hci_core.c skb = hci_prepare_cmd(hdev, opcode, plen, param); param 3690 net/bluetooth/hci_core.c const void *param, u32 timeout) param 3700 net/bluetooth/hci_core.c skb = __hci_cmd_sync(hdev, opcode, plen, param, timeout); param 310 net/bluetooth/hci_event.c __u8 param = *((__u8 *) sent); param 312 net/bluetooth/hci_event.c if (param == AUTH_ENABLED) param 327 net/bluetooth/hci_event.c __u8 param; param 339 net/bluetooth/hci_event.c param = *((__u8 *) sent); param 341 net/bluetooth/hci_event.c if (param) param 350 net/bluetooth/hci_event.c __u8 param; param 359 net/bluetooth/hci_event.c param = *((__u8 *) sent); param 368 net/bluetooth/hci_event.c if (param & SCAN_INQUIRY) param 373 net/bluetooth/hci_event.c if (param & SCAN_PAGE) param 128 net/bluetooth/hci_request.c const void *param, u8 event, u32 timeout) param 138 net/bluetooth/hci_request.c hci_req_add_ev(&req, opcode, plen, param, event); param 185 net/bluetooth/hci_request.c const void *param, u32 timeout) param 187 net/bluetooth/hci_request.c return __hci_cmd_sync_ev(hdev, opcode, plen, param, 0, timeout); param 286 net/bluetooth/hci_request.c const void *param) param 301 net/bluetooth/hci_request.c skb_put_data(skb, param, plen); param 313 net/bluetooth/hci_request.c const void *param, u8 event) param 326 net/bluetooth/hci_request.c skb = hci_prepare_cmd(hdev, opcode, plen, param); param 343 net/bluetooth/hci_request.c const void *param) param 345 net/bluetooth/hci_request.c hci_req_add_ev(req, opcode, plen, param, 0); param 44 net/bluetooth/hci_request.h const void *param); param 46 net/bluetooth/hci_request.h const void *param, u8 event); param 60 net/bluetooth/hci_request.h const void *param); param 450 net/bluetooth/hidp/core.c unsigned char param) param 452 net/bluetooth/hidp/core.c BT_DBG("session %p param 0x%02x", session, param); param 455 net/bluetooth/hidp/core.c switch (param) { param 493 net/bluetooth/hidp/core.c unsigned char param) param 495 net/bluetooth/hidp/core.c BT_DBG("session %p param 0x%02x", session, param); param 497 net/bluetooth/hidp/core.c if (param == HIDP_CTRL_VIRTUAL_CABLE_UNPLUG) { param 508 net/bluetooth/hidp/core.c unsigned char param) param 511 net/bluetooth/hidp/core.c BT_DBG("session %p skb %p len %d param 0x%02x", session, skb, skb->len, param); param 513 net/bluetooth/hidp/core.c switch (param) { param 536 net/bluetooth/hidp/core.c param == session->waiting_report_type) { param 553 net/bluetooth/hidp/core.c unsigned char hdr, type, param; param 562 net/bluetooth/hidp/core.c param = hdr & HIDP_HEADER_PARAM_MASK; param 566 net/bluetooth/hidp/core.c hidp_process_handshake(session, param); param 570 net/bluetooth/hidp/core.c hidp_process_hid_control(session, param); param 574 net/bluetooth/hidp/core.c free_skb = hidp_process_data(session, skb, param); param 872 net/bluetooth/mgmt.c struct mgmt_mode *cp = cmd->param; param 896 net/bluetooth/mgmt.c struct mgmt_mode *cp = cmd->param; param 1270 net/bluetooth/mgmt.c cmd->param, cmd->param_len); param 1276 net/bluetooth/mgmt.c cmd->param, sizeof(struct mgmt_addr_info)); param 3192 net/bluetooth/mgmt.c cp = cmd->param; param 3919 net/bluetooth/mgmt.c cmd->param, 1); param 4526 net/bluetooth/mgmt.c struct mgmt_mode *cp = cmd->param; param 4771 net/bluetooth/mgmt.c cp = cmd->param; param 5181 net/bluetooth/mgmt.c memcpy(&rp.addr, cmd->param, sizeof(rp.addr)); param 5385 net/bluetooth/mgmt.c memcpy(&rp.addr, cmd->param, sizeof(rp.addr)); param 5859 net/bluetooth/mgmt.c struct mgmt_conn_param *param = &cp->params[i]; param 5864 net/bluetooth/mgmt.c BT_DBG("Adding %pMR (type %u)", ¶m->addr.bdaddr, param 5865 net/bluetooth/mgmt.c param->addr.type); param 5867 net/bluetooth/mgmt.c if (param->addr.type == BDADDR_LE_PUBLIC) { param 5869 net/bluetooth/mgmt.c } else if (param->addr.type == BDADDR_LE_RANDOM) { param 5876 net/bluetooth/mgmt.c min = le16_to_cpu(param->min_interval); param 5877 net/bluetooth/mgmt.c max = le16_to_cpu(param->max_interval); param 5878 net/bluetooth/mgmt.c latency = le16_to_cpu(param->latency); param 5879 net/bluetooth/mgmt.c timeout = le16_to_cpu(param->timeout); param 5889 net/bluetooth/mgmt.c hci_param = hci_conn_params_add(hdev, ¶m->addr.bdaddr, param 6032 net/bluetooth/mgmt.c mgmt_cp = cmd->param; param 6522 net/bluetooth/mgmt.c cp = cmd->param; param 6700 net/bluetooth/mgmt.c cp = cmd->param; param 7285 net/bluetooth/mgmt.c struct mgmt_cp_unpair_device *cp = cmd->param; param 7302 net/bluetooth/mgmt.c cp = cmd->param; param 7359 net/bluetooth/mgmt.c cp = cmd->param; param 243 net/bluetooth/mgmt_util.c cmd->param = kmemdup(data, len, GFP_KERNEL); param 244 net/bluetooth/mgmt_util.c if (!cmd->param) { param 262 net/bluetooth/mgmt_util.c kfree(cmd->param); param 27 net/bluetooth/mgmt_util.h void *param; param 701 net/caif/caif_socket.c if (ol > sizeof(cf_sk->conn_req.param.data) || param 702 net/caif/caif_socket.c copy_from_user(&cf_sk->conn_req.param.data, ov, ol)) { param 706 net/caif/caif_socket.c cf_sk->conn_req.param.size = ol; param 1035 net/caif/caif_socket.c .useroffset = offsetof(struct caifsock, conn_req.param), param 1036 net/caif/caif_socket.c .usersize = sizeof_field(struct caifsock, conn_req.param) param 281 net/caif/cfcnfg.c l->u.utility.paramlen = s->param.size; param 285 net/caif/cfcnfg.c memcpy(l->u.utility.params, s->param.data, param 307 net/caif/cfcnfg.c struct cfctrl_link_param param; param 311 net/caif/cfcnfg.c err = caif_connect_req_to_link_param(cfg, conn_req, ¶m); param 315 net/caif/cfcnfg.c phy = cfcnfg_get_phyinfo_rcu(cfg, param.phyid); param 341 net/caif/cfcnfg.c caif_assert(param.phyid == phy->id); param 343 net/caif/cfcnfg.c param.phyid); param 345 net/caif/cfcnfg.c param.phyid); param 349 net/caif/cfcnfg.c *proto_head = protohead[param.linktype] + phy->head_room; param 354 net/caif/cfcnfg.c cfctrl_enum_req(cfg->ctrl, param.phyid); param 355 net/caif/cfcnfg.c return cfctrl_linkup_request(cfg->ctrl, ¶m, adap_layer); param 123 net/caif/cfctrl.c return param_eq(&r1->param, &r2->param); param 200 net/caif/cfctrl.c struct cfctrl_link_param *param, param 229 net/caif/cfctrl.c cfpkt_addbdy(pkt, (param->chtype << 4) | param->linktype); param 230 net/caif/cfctrl.c cfpkt_addbdy(pkt, (param->priority << 3) | param->phyid); param 231 net/caif/cfctrl.c cfpkt_addbdy(pkt, param->endpoint & 0x03); param 233 net/caif/cfctrl.c switch (param->linktype) { param 237 net/caif/cfctrl.c cfpkt_addbdy(pkt, (u8) param->u.video.connid); param 242 net/caif/cfctrl.c tmp32 = cpu_to_le32(param->u.datagram.connid); param 249 net/caif/cfctrl.c tmp32 = cpu_to_le32(param->u.rfm.connid); param 252 net/caif/cfctrl.c cfpkt_add_body(pkt, param->u.rfm.volume, param 253 net/caif/cfctrl.c strlen(param->u.rfm.volume) + 1); param 256 net/caif/cfctrl.c tmp16 = cpu_to_le16(param->u.utility.fifosize_kb); param 258 net/caif/cfctrl.c tmp16 = cpu_to_le16(param->u.utility.fifosize_bufs); param 261 net/caif/cfctrl.c strlcpy(utility_name, param->u.utility.name, param 264 net/caif/cfctrl.c tmp8 = param->u.utility.paramlen; param 266 net/caif/cfctrl.c cfpkt_add_body(pkt, param->u.utility.params, param 267 net/caif/cfctrl.c param->u.utility.paramlen); param 271 net/caif/cfctrl.c param->linktype); param 279 net/caif/cfctrl.c req->param = *param; param 287 net/caif/cfctrl.c cfpkt_info(pkt)->dev_info->id = param->phyid; param 356 net/caif/cfctrl.c u8 param[255]; param 484 net/caif/cfctrl.c cfpkt_extr_head(pkt, ¶m, len); param 493 net/caif/cfctrl.c rsp.param = linkparam; param 569 net/caif/cfctrl.c if (p->param.phyid == phyid) { param 2889 net/core/devlink.c static int devlink_param_generic_verify(const struct devlink_param *param) param 2892 net/core/devlink.c if (param->id > DEVLINK_PARAM_GENERIC_ID_MAX) param 2894 net/core/devlink.c if (strcmp(param->name, devlink_param_generic[param->id].name)) param 2897 net/core/devlink.c WARN_ON(param->type != devlink_param_generic[param->id].type); param 2902 net/core/devlink.c static int devlink_param_driver_verify(const struct devlink_param *param) param 2906 net/core/devlink.c if (param->id <= DEVLINK_PARAM_GENERIC_ID_MAX) param 2910 net/core/devlink.c if (!strcmp(param->name, devlink_param_generic[i].name)) param 2923 net/core/devlink.c if (!strcmp(param_item->param->name, param_name)) param 2934 net/core/devlink.c if (param_item->param->id == param_id) param 2940 net/core/devlink.c devlink_param_cmode_is_supported(const struct devlink_param *param, param 2943 net/core/devlink.c return test_bit(cmode, ¶m->supported_cmodes); param 2947 net/core/devlink.c const struct devlink_param *param, param 2950 net/core/devlink.c if (!param->get) param 2952 net/core/devlink.c return param->get(devlink, param->id, ctx); param 2956 net/core/devlink.c const struct devlink_param *param, param 2959 net/core/devlink.c if (!param->set) param 2961 net/core/devlink.c return param->set(devlink, param->id, ctx); param 3041 net/core/devlink.c const struct devlink_param *param = param_item->param; param 3052 net/core/devlink.c if (!devlink_param_cmode_is_supported(param, i)) param 3062 net/core/devlink.c err = devlink_param_get(devlink, param, &ctx); param 3086 net/core/devlink.c if (nla_put_string(msg, DEVLINK_ATTR_PARAM_NAME, param->name)) param 3088 net/core/devlink.c if (param->generic && nla_put_flag(msg, DEVLINK_ATTR_PARAM_GENERIC)) param 3091 net/core/devlink.c nla_type = devlink_param_type_to_nla_type(param->type); param 3105 net/core/devlink.c err = devlink_nl_param_value_fill_one(msg, param->type, param 3221 net/core/devlink.c devlink_param_value_get_from_info(const struct devlink_param *param, param 3230 net/core/devlink.c if (param->type != DEVLINK_PARAM_TYPE_BOOL && !param_data) param 3233 net/core/devlink.c switch (param->type) { param 3315 net/core/devlink.c const struct devlink_param *param; param 3322 net/core/devlink.c param = param_item->param; param 3326 net/core/devlink.c if (param_type != param->type) param 3328 net/core/devlink.c err = devlink_param_value_get_from_info(param, info, &value); param 3331 net/core/devlink.c if (param->validate) { param 3332 net/core/devlink.c err = param->validate(devlink, param->id, value, info->extack); param 3340 net/core/devlink.c if (!devlink_param_cmode_is_supported(param, cmode)) param 3344 net/core/devlink.c if (param->type == DEVLINK_PARAM_TYPE_STRING) param 3350 net/core/devlink.c if (!param->set) param 3354 net/core/devlink.c err = devlink_param_set(devlink, param, &ctx); param 3375 net/core/devlink.c const struct devlink_param *param, param 3380 net/core/devlink.c if (devlink_param_find_by_name(param_list, param->name)) param 3383 net/core/devlink.c if (param->supported_cmodes == BIT(DEVLINK_PARAM_CMODE_DRIVERINIT)) param 3384 net/core/devlink.c WARN_ON(param->get || param->set); param 3386 net/core/devlink.c WARN_ON(!param->get || !param->set); param 3391 net/core/devlink.c param_item->param = param; param 3401 net/core/devlink.c const struct devlink_param *param, param 3406 net/core/devlink.c param_item = devlink_param_find_by_name(param_list, param->name); param 6994 net/core/devlink.c static int devlink_param_verify(const struct devlink_param *param) param 6996 net/core/devlink.c if (!param || !param->name || !param->supported_cmodes) param 6998 net/core/devlink.c if (param->generic) param 6999 net/core/devlink.c return devlink_param_generic_verify(param); param 7001 net/core/devlink.c return devlink_param_driver_verify(param); param 7012 net/core/devlink.c const struct devlink_param *param = params; param 7017 net/core/devlink.c for (i = 0; i < params_count; i++, param++) { param 7018 net/core/devlink.c err = devlink_param_verify(param); param 7023 net/core/devlink.c param_list, param, reg_cmd); param 7034 net/core/devlink.c for (param--; i > 0; i--, param--) param 7036 net/core/devlink.c param, unreg_cmd); param 7049 net/core/devlink.c const struct devlink_param *param = params; param 7053 net/core/devlink.c for (i = 0; i < params_count; i++, param++) param 7054 net/core/devlink.c devlink_param_unregister_one(devlink, 0, param_list, param, param 7190 net/core/devlink.c !devlink_param_cmode_is_supported(param_item->param, param 7194 net/core/devlink.c if (param_item->param->type == DEVLINK_PARAM_TYPE_STRING) param 7215 net/core/devlink.c if (!devlink_param_cmode_is_supported(param_item->param, param 7219 net/core/devlink.c if (param_item->param->type == DEVLINK_PARAM_TYPE_STRING) param 5074 net/core/filter.c u32, action, void *, param, u32, param_len) param 5087 net/core/filter.c return seg6_lookup_nexthop(skb, (struct in6_addr *)param, 0); param 5093 net/core/filter.c return seg6_lookup_nexthop(skb, NULL, *(int *)param); param 5112 net/core/filter.c return seg6_lookup_nexthop(skb, NULL, *(int *)param); param 5117 net/core/filter.c param, param_len); param 5126 net/core/filter.c param, param_len); param 243 net/dccp/dccp.h bool dccp_qpolicy_param_ok(struct sock *sk, __be32 param); param 128 net/dccp/qpolicy.c bool dccp_qpolicy_param_ok(struct sock *sk, __be32 param) param 131 net/dccp/qpolicy.c if (!param || (param & (param - 1))) param 133 net/dccp/qpolicy.c return (qpol_table[dccp_sk(sk)->dccps_qpolicy].params & param) == param; param 864 net/ipv4/esp4.c struct crypto_authenc_key_param *param; param 904 net/ipv4/esp4.c (x->ealg->alg_key_len + 7) / 8 + RTA_SPACE(sizeof(*param)); param 913 net/ipv4/esp4.c rta->rta_len = RTA_LENGTH(sizeof(*param)); param 914 net/ipv4/esp4.c param = RTA_DATA(rta); param 915 net/ipv4/esp4.c p += RTA_SPACE(sizeof(*param)); param 942 net/ipv4/esp4.c param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); param 466 net/ipv4/icmp.c struct icmp_bxm *param) param 473 net/ipv4/icmp.c fl4->daddr = (param->replyopts.opt.opt.srr ? param 474 net/ipv4/icmp.c param->replyopts.opt.opt.faddr : iph->saddr); param 759 net/ipv6/esp6.c struct crypto_authenc_key_param *param; param 799 net/ipv6/esp6.c (x->ealg->alg_key_len + 7) / 8 + RTA_SPACE(sizeof(*param)); param 808 net/ipv6/esp6.c rta->rta_len = RTA_LENGTH(sizeof(*param)); param 809 net/ipv6/esp6.c param = RTA_DATA(rta); param 810 net/ipv6/esp6.c p += RTA_SPACE(sizeof(*param)); param 837 net/ipv6/esp6.c param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); param 929 net/ipv6/seg6_local.c struct seg6_action_param *param; param 948 net/ipv6/seg6_local.c param = &seg6_action_params[i]; param 950 net/ipv6/seg6_local.c err = param->parse(attrs, slwt); param 1023 net/ipv6/seg6_local.c struct seg6_action_param *param; param 1031 net/ipv6/seg6_local.c param = &seg6_action_params[i]; param 1032 net/ipv6/seg6_local.c err = param->put(skb, slwt); param 1081 net/ipv6/seg6_local.c struct seg6_action_param *param; param 1095 net/ipv6/seg6_local.c param = &seg6_action_params[i]; param 1096 net/ipv6/seg6_local.c if (param->cmp(slwt_a, slwt_b)) param 343 net/iucv/iucv.c static int __iucv_query_maxconn(void *param, unsigned long *max_pathid) param 350 net/iucv/iucv.c reg1 = (unsigned long) param; param 363 net/iucv/iucv.c void *param; param 366 net/iucv/iucv.c param = kzalloc(sizeof(union iucv_param), GFP_KERNEL | GFP_DMA); param 367 net/iucv/iucv.c if (!param) param 369 net/iucv/iucv.c ccode = __iucv_query_maxconn(param, &max_pathid); param 372 net/iucv/iucv.c kfree(param); param 168 net/ncsi/ncsi-pkt.h unsigned char param; /* Parameter */ param 648 net/ncsi/ncsi-rsp.c mlx->param == NCSI_OEM_MLX_CMD_GMA_PARAM) param 274 net/netfilter/ipvs/ip_vs_core.c struct ip_vs_conn_param param; param 345 net/netfilter/ipvs/ip_vs_core.c vaddr, vport, ¶m) < 0) { param 352 net/netfilter/ipvs/ip_vs_core.c ct = ip_vs_ct_in_get(¶m); param 371 net/netfilter/ipvs/ip_vs_core.c kfree(param.pe_data); param 383 net/netfilter/ipvs/ip_vs_core.c ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, param 386 net/netfilter/ipvs/ip_vs_core.c kfree(param.pe_data); param 395 net/netfilter/ipvs/ip_vs_core.c kfree(param.pe_data); param 410 net/netfilter/ipvs/ip_vs_core.c src_port, dst_addr, dst_port, ¶m); param 412 net/netfilter/ipvs/ip_vs_core.c cp = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, flags, dest, param 1155 net/netfilter/ipvs/ip_vs_core.c struct ip_vs_conn_param param; param 1187 net/netfilter/ipvs/ip_vs_core.c vport, ¶m) < 0) param 1189 net/netfilter/ipvs/ip_vs_core.c ct = ip_vs_ct_in_get(¶m); param 1192 net/netfilter/ipvs/ip_vs_core.c ct = ip_vs_conn_new(¶m, dest->af, daddr, dport, param 1195 net/netfilter/ipvs/ip_vs_core.c kfree(param.pe_data); param 1200 net/netfilter/ipvs/ip_vs_core.c kfree(param.pe_data); param 1209 net/netfilter/ipvs/ip_vs_core.c caddr, cport, vaddr, vport, ¶m); param 1210 net/netfilter/ipvs/ip_vs_core.c cp = ip_vs_conn_new(¶m, dest->af, daddr, dport, flags, dest, 0); param 845 net/netfilter/ipvs/ip_vs_sync.c static void ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *param, param 856 net/netfilter/ipvs/ip_vs_sync.c cp = ip_vs_conn_in_get(param); param 869 net/netfilter/ipvs/ip_vs_sync.c kfree(param->pe_data); param 874 net/netfilter/ipvs/ip_vs_sync.c cp = ip_vs_ct_in_get(param); param 879 net/netfilter/ipvs/ip_vs_sync.c kfree(param->pe_data); param 912 net/netfilter/ipvs/ip_vs_sync.c param->vaddr, param->vport, protocol, param 915 net/netfilter/ipvs/ip_vs_sync.c cp = ip_vs_conn_new(param, type, daddr, dport, flags, dest, param 919 net/netfilter/ipvs/ip_vs_sync.c kfree(param->pe_data); param 924 net/netfilter/ipvs/ip_vs_sync.c kfree(param->pe_data); param 969 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_conn_param param; param 1019 net/netfilter/ipvs/ip_vs_sync.c s->vport, ¶m); param 1022 net/netfilter/ipvs/ip_vs_sync.c ip_vs_proc_conn(ipvs, ¶m, flags, state, s->protocol, AF_INET, param 1078 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_conn_param param; param 1174 net/netfilter/ipvs/ip_vs_sync.c if (ip_vs_conn_fill_param_sync(ipvs, af, s, ¶m, pe_data, param 1181 net/netfilter/ipvs/ip_vs_sync.c ip_vs_proc_conn(ipvs, ¶m, flags, state, s->v4.protocol, af, param 1188 net/netfilter/ipvs/ip_vs_sync.c ip_vs_proc_conn(ipvs, ¶m, flags, state, s->v6.protocol, af, param 1194 net/netfilter/ipvs/ip_vs_sync.c ip_vs_pe_put(param.pe); param 53 net/nfc/digital.h int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param); param 87 net/nfc/digital.h int digital_tg_configure_hw(struct nfc_digital_dev *ddev, int type, int param); param 255 net/nfc/digital_core.c int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param) param 259 net/nfc/digital_core.c rc = ddev->ops->in_configure_hw(ddev, type, param); param 266 net/nfc/digital_core.c int digital_tg_configure_hw(struct nfc_digital_dev *ddev, int type, int param) param 270 net/nfc/digital_core.c rc = ddev->ops->tg_configure_hw(ddev, type, param); param 109 net/nfc/digital_technology.c u8 param; param 728 net/nfc/digital_technology.c sensb_req->param = DIGITAL_SENSB_N(0); param 20 net/nfc/hci/command.c const u8 *param, size_t param_len, param 30 net/nfc/hci/command.c param, param_len, cb, cb_context, MAX_FWI); param 56 net/nfc/hci/command.c const u8 *param, size_t param_len, param 73 net/nfc/hci/command.c param, param_len, param 92 net/nfc/hci/command.c const u8 *param, size_t param_len) param 103 net/nfc/hci/command.c param, param_len, NULL, NULL, 0); param 113 net/nfc/hci/command.c const u8 *param, size_t param_len, struct sk_buff **skb) param 123 net/nfc/hci/command.c return nfc_hci_execute_cmd(hdev, pipe, cmd, param, param_len, skb); param 128 net/nfc/hci/command.c const u8 *param, size_t param_len, param 139 net/nfc/hci/command.c return nfc_hci_execute_cmd_async(hdev, pipe, cmd, param, param_len, param 145 net/nfc/hci/command.c const u8 *param, size_t param_len) param 165 net/nfc/hci/command.c memcpy(tmp + 1, param, param_len); param 253 net/nfc/hci/command.c u8 param[2]; param 265 net/nfc/hci/command.c NFC_HCI_ADM_CLEAR_ALL_PIPE, param, param_len, param 215 net/nfc/nci/core.c struct nci_set_config_param *param = (struct nci_set_config_param *)opt; param 218 net/nfc/nci/core.c BUG_ON(param->len > NCI_MAX_PARAM_LEN); param 221 net/nfc/nci/core.c cmd.param.id = param->id; param 222 net/nfc/nci/core.c cmd.param.len = param->len; param 223 net/nfc/nci/core.c memcpy(cmd.param.val, param->val, param->len); param 225 net/nfc/nci/core.c nci_send_cmd(ndev, NCI_OP_CORE_SET_CONFIG_CMD, (3 + param->len), &cmd); param 235 net/nfc/nci/core.c struct nci_rf_discover_param *param = param 242 net/nfc/nci/core.c (param->im_protocols & NFC_PROTO_JEWEL_MASK || param 243 net/nfc/nci/core.c param->im_protocols & NFC_PROTO_MIFARE_MASK || param 244 net/nfc/nci/core.c param->im_protocols & NFC_PROTO_ISO14443_MASK || param 245 net/nfc/nci/core.c param->im_protocols & NFC_PROTO_NFC_DEP_MASK)) { param 253 net/nfc/nci/core.c (param->im_protocols & NFC_PROTO_ISO14443_B_MASK)) { param 261 net/nfc/nci/core.c (param->im_protocols & NFC_PROTO_FELICA_MASK || param 262 net/nfc/nci/core.c param->im_protocols & NFC_PROTO_NFC_DEP_MASK)) { param 270 net/nfc/nci/core.c (param->im_protocols & NFC_PROTO_ISO15693_MASK)) { param 278 net/nfc/nci/core.c (param->tm_protocols & NFC_PROTO_NFC_DEP_MASK)) { param 301 net/nfc/nci/core.c struct nci_rf_discover_select_param *param = param 305 net/nfc/nci/core.c cmd.rf_discovery_id = param->rf_discovery_id; param 306 net/nfc/nci/core.c cmd.rf_protocol = param->rf_protocol; param 344 net/nfc/nci/core.c struct nci_cmd_param *param = param 347 net/nfc/nci/core.c nci_send_cmd(ndev, param->opcode, param->len, param->payload); param 352 net/nfc/nci/core.c struct nci_cmd_param param; param 354 net/nfc/nci/core.c param.opcode = nci_opcode_pack(NCI_GID_PROPRIETARY, oid); param 355 net/nfc/nci/core.c param.len = len; param 356 net/nfc/nci/core.c param.payload = payload; param 358 net/nfc/nci/core.c return __nci_request(ndev, nci_generic_req, (unsigned long)¶m, param 365 net/nfc/nci/core.c struct nci_cmd_param param; param 367 net/nfc/nci/core.c param.opcode = opcode; param 368 net/nfc/nci/core.c param.len = len; param 369 net/nfc/nci/core.c param.payload = payload; param 371 net/nfc/nci/core.c return __nci_request(ndev, nci_generic_req, (unsigned long)¶m, param 615 net/nfc/nci/core.c struct nci_set_config_param param; param 620 net/nfc/nci/core.c param.id = id; param 621 net/nfc/nci/core.c param.len = len; param 622 net/nfc/nci/core.c param.val = val; param 624 net/nfc/nci/core.c return __nci_request(ndev, nci_set_config_req, (unsigned long)¶m, param 733 net/nfc/nci/core.c struct nci_set_config_param param; param 736 net/nfc/nci/core.c param.val = nfc_get_local_general_bytes(nfc_dev, ¶m.len); param 737 net/nfc/nci/core.c if ((param.val == NULL) || (param.len == 0)) param 740 net/nfc/nci/core.c if (param.len > NFC_MAX_GT_LEN) param 743 net/nfc/nci/core.c param.id = NCI_PN_ATR_REQ_GEN_BYTES; param 745 net/nfc/nci/core.c rc = nci_request(ndev, nci_set_config_req, (unsigned long)¶m, param 750 net/nfc/nci/core.c param.id = NCI_LN_ATR_RES_GEN_BYTES; param 752 net/nfc/nci/core.c return nci_request(ndev, nci_set_config_req, (unsigned long)¶m, param 783 net/nfc/nci/core.c struct nci_rf_discover_param param; param 822 net/nfc/nci/core.c param.im_protocols = im_protocols; param 823 net/nfc/nci/core.c param.tm_protocols = tm_protocols; param 824 net/nfc/nci/core.c rc = nci_request(ndev, nci_rf_discover_req, (unsigned long)¶m, param 851 net/nfc/nci/core.c struct nci_rf_discover_select_param param; param 888 net/nfc/nci/core.c param.rf_discovery_id = nci_target->logical_idx; param 891 net/nfc/nci/core.c param.rf_protocol = NCI_RF_PROTOCOL_T1T; param 893 net/nfc/nci/core.c param.rf_protocol = NCI_RF_PROTOCOL_T2T; param 895 net/nfc/nci/core.c param.rf_protocol = NCI_RF_PROTOCOL_T3T; param 898 net/nfc/nci/core.c param.rf_protocol = NCI_RF_PROTOCOL_ISO_DEP; param 900 net/nfc/nci/core.c param.rf_protocol = NCI_RF_PROTOCOL_NFC_DEP; param 903 net/nfc/nci/core.c (unsigned long)¶m, param 209 net/nfc/nci/hci.c const u8 *param, size_t param_len) param 218 net/nfc/nci/hci.c param, param_len); param 223 net/nfc/nci/hci.c const u8 *param, size_t param_len, param 242 net/nfc/nci/hci.c data.data = param; param 563 net/nfc/nci/hci.c const u8 *param, size_t param_len) param 586 net/nfc/nci/hci.c memcpy(tmp + 1, param, param_len); param 109 net/rds/ib_cm.c dp = event->param.conn.private_data; param 111 net/rds/ib_cm.c if (event->param.conn.private_data_len >= param 123 net/rds/ib_cm.c } else if (event->param.conn.private_data_len >= param 634 net/rds/ib_cm.c const union rds_ib_conn_priv *dp = event->param.conn.private_data; param 651 net/rds/ib_cm.c if (!event->param.conn.private_data_len) { param 670 net/rds/ib_cm.c if (event->param.conn.private_data_len < data_len || major == 0) param 748 net/rds/ib_cm.c dp = event->param.conn.private_data; param 852 net/rds/ib_cm.c event->param.conn.responder_resources, param 853 net/rds/ib_cm.c event->param.conn.initiator_depth, isv6); param 637 net/sctp/auth.c static int __sctp_auth_cid(enum sctp_cid chunk, struct sctp_chunks_param *param) param 643 net/sctp/auth.c if (!param || param->param_hdr.length == 0) param 646 net/sctp/auth.c len = ntohs(param->param_hdr.length) - sizeof(struct sctp_paramhdr); param 655 net/sctp/auth.c switch (param->chunks[i]) { param 663 net/sctp/auth.c if (param->chunks[i] == chunk) param 261 net/sctp/bind_addr.c struct sctp_paramhdr *param; param 269 net/sctp/bind_addr.c param = (struct sctp_paramhdr *)raw_addr_list; param 272 net/sctp/bind_addr.c af = sctp_get_af_specific(param_type2af(param->type)); param 291 net/sctp/bind_addr.c len = ntohs(param->length); param 1167 net/sctp/input.c union sctp_addr_param *param; param 1171 net/sctp/input.c param = (union sctp_addr_param *)(asconf + 1); param 1173 net/sctp/input.c af = sctp_get_af_specific(param_type2af(param->p.type)); param 1177 net/sctp/input.c af->from_addr_param(&paddr, param, peer_port, 0); param 534 net/sctp/ipv6.c union sctp_addr_param *param, param 540 net/sctp/ipv6.c addr->v6.sin6_addr = param->v6.addr; param 548 net/sctp/ipv6.c union sctp_addr_param *param) param 552 net/sctp/ipv6.c param->v6.param_hdr.type = SCTP_PARAM_IPV6_ADDRESS; param 553 net/sctp/ipv6.c param->v6.param_hdr.length = htons(length); param 554 net/sctp/ipv6.c param->v6.addr = addr->v6.sin6_addr; param 256 net/sctp/protocol.c union sctp_addr_param *param, param 261 net/sctp/protocol.c addr->v4.sin_addr.s_addr = param->v4.addr.s_addr; param 269 net/sctp/protocol.c union sctp_addr_param *param) param 273 net/sctp/protocol.c param->v4.param_hdr.type = SCTP_PARAM_IPV4_ADDRESS; param 274 net/sctp/protocol.c param->v4.param_hdr.length = htons(length); param 275 net/sctp/protocol.c param->v4.addr.s_addr = addr->v4.sin_addr.s_addr; param 64 net/sctp/sm_make_chunk.c union sctp_params param, param 1106 net/sctp/sm_make_chunk.c struct sctp_paramhdr *param) param 1110 net/sctp/sm_make_chunk.c sizeof(*param); param 1118 net/sctp/sm_make_chunk.c sizeof(error) + sizeof(*param)); param 1120 net/sctp/sm_make_chunk.c sctp_addto_param(retval, sizeof(*param), param); param 1931 net/sctp/sm_make_chunk.c struct sctp_paramhdr *param, param 1942 net/sctp/sm_make_chunk.c *errp = sctp_make_violation_paramlen(asoc, chunk, param); param 1952 net/sctp/sm_make_chunk.c union sctp_params param, param 1956 net/sctp/sm_make_chunk.c __u16 len = ntohs(param.p->length); param 1967 net/sctp/sm_make_chunk.c param.v, len, 0); param 1975 net/sctp/sm_make_chunk.c union sctp_params param) param 1977 net/sctp/sm_make_chunk.c __u16 num_ext = ntohs(param.p->length) - sizeof(struct sctp_paramhdr); param 1983 net/sctp/sm_make_chunk.c switch (param.ext->chunks[i]) { param 2009 net/sctp/sm_make_chunk.c union sctp_params param) param 2011 net/sctp/sm_make_chunk.c __u16 num_ext = ntohs(param.p->length) - sizeof(struct sctp_paramhdr); param 2015 net/sctp/sm_make_chunk.c switch (param.ext->chunks[i]) { param 2073 net/sctp/sm_make_chunk.c union sctp_params param, param 2079 net/sctp/sm_make_chunk.c switch (param.p->type & SCTP_PARAM_ACTION_MASK) { param 2106 net/sctp/sm_make_chunk.c ntohs(param.p->length))) param 2107 net/sctp/sm_make_chunk.c sctp_addto_chunk(*errp, ntohs(param.p->length), param 2108 net/sctp/sm_make_chunk.c param.v); param 2127 net/sctp/sm_make_chunk.c union sctp_params param, param 2142 net/sctp/sm_make_chunk.c switch (param.p->type) { param 2155 net/sctp/sm_make_chunk.c if (!sctp_verify_ext_param(net, ep, param)) param 2166 net/sctp/sm_make_chunk.c sctp_process_hn_param(asoc, param, chunk, err_chunk); param 2184 net/sctp/sm_make_chunk.c if (SCTP_AUTH_RANDOM_LENGTH != ntohs(param.p->length) - param 2186 net/sctp/sm_make_chunk.c sctp_process_inv_paramlength(asoc, param.p, param 2201 net/sctp/sm_make_chunk.c if (260 < ntohs(param.p->length)) { param 2202 net/sctp/sm_make_chunk.c sctp_process_inv_paramlength(asoc, param.p, param 2212 net/sctp/sm_make_chunk.c hmacs = (struct sctp_hmac_algo_param *)param.p; param 2213 net/sctp/sm_make_chunk.c n_elt = (ntohs(param.p->length) - param 2228 net/sctp/sm_make_chunk.c sctp_process_inv_paramlength(asoc, param.p, chunk, param 2236 net/sctp/sm_make_chunk.c __func__, ntohs(param.p->type), cid); param 2238 net/sctp/sm_make_chunk.c retval = sctp_process_unk_param(asoc, param, chunk, err_chunk); param 2250 net/sctp/sm_make_chunk.c union sctp_params param; param 2264 net/sctp/sm_make_chunk.c sctp_walk_params(param, peer_init, init_hdr.params) { param 2265 net/sctp/sm_make_chunk.c if (param.p->type == SCTP_PARAM_STATE_COOKIE) param 2276 net/sctp/sm_make_chunk.c if (param.v != (void *)chunk->chunk_end) param 2277 net/sctp/sm_make_chunk.c return sctp_process_inv_paramlength(asoc, param.p, chunk, errp); param 2287 net/sctp/sm_make_chunk.c sctp_walk_params(param, peer_init, init_hdr.params) { param 2288 net/sctp/sm_make_chunk.c result = sctp_verify_param(net, ep, asoc, param, cid, param 2317 net/sctp/sm_make_chunk.c union sctp_params param; param 2339 net/sctp/sm_make_chunk.c sctp_walk_params(param, peer_init, init_hdr.params) { param 2340 net/sctp/sm_make_chunk.c if (!src_match && (param.p->type == SCTP_PARAM_IPV4_ADDRESS || param 2341 net/sctp/sm_make_chunk.c param.p->type == SCTP_PARAM_IPV6_ADDRESS)) { param 2342 net/sctp/sm_make_chunk.c af = sctp_get_af_specific(param_type2af(param.p->type)); param 2343 net/sctp/sm_make_chunk.c af->from_addr_param(&addr, param.addr, param 2349 net/sctp/sm_make_chunk.c if (!sctp_process_param(asoc, param, peer_addr, gfp)) param 2494 net/sctp/sm_make_chunk.c union sctp_params param, param 2513 net/sctp/sm_make_chunk.c switch (param.p->type) { param 2524 net/sctp/sm_make_chunk.c af = sctp_get_af_specific(param_type2af(param.p->type)); param 2525 net/sctp/sm_make_chunk.c af->from_addr_param(&addr, param.addr, htons(asoc->peer.port), 0); param 2536 net/sctp/sm_make_chunk.c stale = ntohl(param.life->lifespan_increment); param 2564 net/sctp/sm_make_chunk.c sat = ntohs(param.p->length) - sizeof(struct sctp_paramhdr); param 2569 net/sctp/sm_make_chunk.c switch (param.sat->types[i]) { param 2591 net/sctp/sm_make_chunk.c ntohs(param.p->length) - sizeof(struct sctp_paramhdr); param 2593 net/sctp/sm_make_chunk.c asoc->peer.cookie = kmemdup(param.cookie->body, asoc->peer.cookie_len, gfp); param 2616 net/sctp/sm_make_chunk.c asoc->peer.adaptation_ind = ntohl(param.aind->adaptation_ind); param 2623 net/sctp/sm_make_chunk.c addr_param = param.v + sizeof(struct sctp_addip_param); param 2646 net/sctp/sm_make_chunk.c sctp_process_ext_param(asoc, param); param 2663 net/sctp/sm_make_chunk.c asoc->peer.peer_random = kmemdup(param.p, param 2664 net/sctp/sm_make_chunk.c ntohs(param.p->length), gfp); param 2677 net/sctp/sm_make_chunk.c asoc->peer.peer_hmacs = kmemdup(param.p, param 2678 net/sctp/sm_make_chunk.c ntohs(param.p->length), gfp); param 2685 net/sctp/sm_make_chunk.c sctp_auth_asoc_set_default_hmac(asoc, param.hmac_algo); param 2693 net/sctp/sm_make_chunk.c asoc->peer.peer_chunks = kmemdup(param.p, param 2694 net/sctp/sm_make_chunk.c ntohs(param.p->length), gfp); param 2706 net/sctp/sm_make_chunk.c __func__, ntohs(param.p->type), asoc); param 2821 net/sctp/sm_make_chunk.c struct sctp_addip_param param; param 2822 net/sctp/sm_make_chunk.c int paramlen = sizeof(param); param 2865 net/sctp/sm_make_chunk.c param.param_hdr.type = flags; param 2866 net/sctp/sm_make_chunk.c param.param_hdr.length = htons(paramlen + addr_param_len); param 2867 net/sctp/sm_make_chunk.c param.crr_id = htonl(i); param 2869 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, paramlen, ¶m); param 2878 net/sctp/sm_make_chunk.c param.param_hdr.type = SCTP_PARAM_DEL_IP; param 2879 net/sctp/sm_make_chunk.c param.param_hdr.length = htons(paramlen + addr_param_len); param 2880 net/sctp/sm_make_chunk.c param.crr_id = htonl(i); param 2882 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, paramlen, ¶m); param 2907 net/sctp/sm_make_chunk.c struct sctp_addip_param param; param 2909 net/sctp/sm_make_chunk.c int len = sizeof(param); param 2922 net/sctp/sm_make_chunk.c param.param_hdr.type = SCTP_PARAM_SET_PRIMARY; param 2923 net/sctp/sm_make_chunk.c param.param_hdr.length = htons(len); param 2924 net/sctp/sm_make_chunk.c param.crr_id = 0; param 2926 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(param), ¶m); param 3163 net/sctp/sm_make_chunk.c union sctp_params param; param 3166 net/sctp/sm_make_chunk.c sctp_walk_params(param, addip, addip_hdr.params) { param 3167 net/sctp/sm_make_chunk.c size_t length = ntohs(param.p->length); param 3169 net/sctp/sm_make_chunk.c *errp = param.p; param 3170 net/sctp/sm_make_chunk.c switch (param.p->type) { param 3179 net/sctp/sm_make_chunk.c if (param.v != addip->addip_hdr.params) param 3186 net/sctp/sm_make_chunk.c if (param.v != addip->addip_hdr.params) param 3196 net/sctp/sm_make_chunk.c length = ntohs(param.addip->param_hdr.length); param 3217 net/sctp/sm_make_chunk.c if (param.v != chunk->chunk_end) param 3235 net/sctp/sm_make_chunk.c union sctp_params param; param 3266 net/sctp/sm_make_chunk.c sctp_walk_params(param, addip, addip_hdr.params) { param 3268 net/sctp/sm_make_chunk.c if (param.p->type == SCTP_PARAM_IPV4_ADDRESS || param 3269 net/sctp/sm_make_chunk.c param.p->type == SCTP_PARAM_IPV6_ADDRESS) param 3273 net/sctp/sm_make_chunk.c param.addip); param 3284 net/sctp/sm_make_chunk.c sctp_add_asconf_response(asconf_ack, param.addip->crr_id, param 3285 net/sctp/sm_make_chunk.c err_code, param.addip); param 3836 net/sctp/sm_make_chunk.c union sctp_params param; param 3841 net/sctp/sm_make_chunk.c sctp_walk_params(param, hdr, params) { param 3842 net/sctp/sm_make_chunk.c __u16 length = ntohs(param.p->length); param 3844 net/sctp/sm_make_chunk.c *errp = param.p; param 3847 net/sctp/sm_make_chunk.c switch (param.p->type) { param 3885 net/sctp/sm_make_chunk.c last = param.p->type; param 3981 net/sctp/sm_statefuns.c union sctp_params param; param 3999 net/sctp/sm_statefuns.c sctp_walk_params(param, hdr, params) { param 4003 net/sctp/sm_statefuns.c if (param.p->type == SCTP_PARAM_RESET_OUT_REQUEST) param 4005 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); param 4006 net/sctp/sm_statefuns.c else if (param.p->type == SCTP_PARAM_RESET_IN_REQUEST) param 4008 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); param 4009 net/sctp/sm_statefuns.c else if (param.p->type == SCTP_PARAM_RESET_TSN_REQUEST) param 4011 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); param 4012 net/sctp/sm_statefuns.c else if (param.p->type == SCTP_PARAM_RESET_ADD_OUT_STREAMS) param 4014 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); param 4015 net/sctp/sm_statefuns.c else if (param.p->type == SCTP_PARAM_RESET_ADD_IN_STREAMS) param 4017 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); param 4018 net/sctp/sm_statefuns.c else if (param.p->type == SCTP_PARAM_RESET_RESPONSE) param 4020 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); param 4685 net/sctp/sm_statefuns.c struct sctp_paramhdr *param = ext; param 4693 net/sctp/sm_statefuns.c abort = sctp_make_violation_paramlen(asoc, chunk, param); param 1397 net/sctp/socket.c struct sctp_getaddrs_old param; param 1410 net/sctp/socket.c param.assoc_id = param32.assoc_id; param 1411 net/sctp/socket.c param.addr_num = param32.addr_num; param 1412 net/sctp/socket.c param.addrs = compat_ptr(param32.addrs); param 1416 net/sctp/socket.c if (len < sizeof(param)) param 1418 net/sctp/socket.c if (copy_from_user(¶m, optval, sizeof(param))) param 1423 net/sctp/socket.c param.addrs, param.addr_num, param 4434 net/sctp/socket.c static int sctp_assoc_ulpevent_type_set(struct sctp_event *param, param 4439 net/sctp/socket.c sctp_ulpevent_type_set(&asoc->subscribe, param->se_type, param->se_on); param 4441 net/sctp/socket.c if (param->se_type == SCTP_SENDER_DRY_EVENT && param->se_on) { param 4460 net/sctp/socket.c struct sctp_event param; param 4463 net/sctp/socket.c if (optlen < sizeof(param)) param 4466 net/sctp/socket.c optlen = sizeof(param); param 4467 net/sctp/socket.c if (copy_from_user(¶m, optval, optlen)) param 4470 net/sctp/socket.c if (param.se_type < SCTP_SN_TYPE_BASE || param 4471 net/sctp/socket.c param.se_type > SCTP_SN_TYPE_MAX) param 4474 net/sctp/socket.c asoc = sctp_id2assoc(sk, param.se_assoc_id); param 4475 net/sctp/socket.c if (!asoc && param.se_assoc_id > SCTP_ALL_ASSOC && param 4480 net/sctp/socket.c return sctp_assoc_ulpevent_type_set(¶m, asoc); param 4483 net/sctp/socket.c param.se_assoc_id = SCTP_FUTURE_ASSOC; param 4485 net/sctp/socket.c if (param.se_assoc_id == SCTP_FUTURE_ASSOC || param 4486 net/sctp/socket.c param.se_assoc_id == SCTP_ALL_ASSOC) param 4488 net/sctp/socket.c param.se_type, param.se_on); param 4490 net/sctp/socket.c if (param.se_assoc_id == SCTP_CURRENT_ASSOC || param 4491 net/sctp/socket.c param.se_assoc_id == SCTP_ALL_ASSOC) { param 4493 net/sctp/socket.c int ret = sctp_assoc_ulpevent_type_set(¶m, asoc); param 7770 net/sctp/socket.c struct sctp_event param; param 7773 net/sctp/socket.c if (len < sizeof(param)) param 7776 net/sctp/socket.c len = sizeof(param); param 7777 net/sctp/socket.c if (copy_from_user(¶m, optval, len)) param 7780 net/sctp/socket.c if (param.se_type < SCTP_SN_TYPE_BASE || param 7781 net/sctp/socket.c param.se_type > SCTP_SN_TYPE_MAX) param 7784 net/sctp/socket.c asoc = sctp_id2assoc(sk, param.se_assoc_id); param 7785 net/sctp/socket.c if (!asoc && param.se_assoc_id != SCTP_FUTURE_ASSOC && param 7790 net/sctp/socket.c param.se_on = sctp_ulpevent_type_enabled(subscribe, param.se_type); param 7795 net/sctp/socket.c if (copy_to_user(optval, ¶m, len)) param 482 net/sctp/stream.c union sctp_params param; param 488 net/sctp/stream.c sctp_walk_params(param, hdr, params) { param 493 net/sctp/stream.c struct sctp_strreset_tsnreq *req = param.v; param 497 net/sctp/stream.c return param.v; param 512 net/sctp/stream.c union sctp_params param, param 515 net/sctp/stream.c struct sctp_strreset_outreq *outreq = param.v; param 548 net/sctp/stream.c nums = (ntohs(param.p->length) - sizeof(*outreq)) / sizeof(__u16); param 601 net/sctp/stream.c union sctp_params param, param 604 net/sctp/stream.c struct sctp_strreset_inreq *inreq = param.v; param 634 net/sctp/stream.c nums = (ntohs(param.p->length) - sizeof(*inreq)) / sizeof(__u16); param 678 net/sctp/stream.c union sctp_params param, param 682 net/sctp/stream.c struct sctp_strreset_tsnreq *tsnreq = param.v; param 775 net/sctp/stream.c union sctp_params param, param 778 net/sctp/stream.c struct sctp_strreset_addstrm *addstrm = param.v; param 845 net/sctp/stream.c union sctp_params param, param 848 net/sctp/stream.c struct sctp_strreset_addstrm *addstrm = param.v; param 910 net/sctp/stream.c union sctp_params param, param 914 net/sctp/stream.c struct sctp_strreset_resp *resp = param.v; param 990 net/sctp/stream.c if (ntohs(param.p->length) != sizeof(*resptsn)) param 164 net/sunrpc/xprtrdma/svc_rdma_transport.c struct rdma_conn_param *param) param 166 net/sunrpc/xprtrdma/svc_rdma_transport.c const struct rpcrdma_connect_private *pmsg = param->private_data; param 194 net/sunrpc/xprtrdma/svc_rdma_transport.c struct rdma_conn_param *param) param 207 net/sunrpc/xprtrdma/svc_rdma_transport.c svc_rdma_parse_connect_private(newxprt, param); param 210 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_ord = param->initiator_depth; param 251 net/sunrpc/xprtrdma/svc_rdma_transport.c handle_connect_req(cma_id, &event->param.conn); param 181 net/sunrpc/xprtrdma/verbs.c struct rdma_conn_param *param) param 183 net/sunrpc/xprtrdma/verbs.c const struct rpcrdma_connect_private *pmsg = param->private_data; param 260 net/sunrpc/xprtrdma/verbs.c rpcrdma_update_connect_private(r_xprt, &event->param.conn); param 6714 net/wireless/nl80211.c #define FILL_IN_MESH_PARAM_IF_SET(tb, cfg, param, mask, attr, fn) \ param 6717 net/wireless/nl80211.c cfg->param = fn(tb[attr]); \ param 7336 net/wireless/nl80211.c bss_select->param.band_pref = param 7338 net/wireless/nl80211.c if (!is_band_valid(wiphy, bss_select->param.band_pref)) param 7347 net/wireless/nl80211.c bss_select->param.adjust.band = adj_param->band; param 7348 net/wireless/nl80211.c bss_select->param.adjust.delta = adj_param->delta; param 7349 net/wireless/nl80211.c if (!is_band_valid(wiphy, bss_select->param.adjust.band)) param 805 security/security.c int security_fs_context_parse_param(struct fs_context *fc, struct fs_parameter *param) param 807 security/security.c return call_int_hook(fs_context_parse_param, -ENOPARAM, fc, param); param 2838 security/selinux/hooks.c struct fs_parameter *param) param 2843 security/selinux/hooks.c opt = fs_parse(fc, &selinux_fs_parameters, param, &result); param 2847 security/selinux/hooks.c rc = selinux_add_opt(opt, param->string, &fc->security); param 2849 security/selinux/hooks.c param->string = NULL; param 704 security/smack/smack_lsm.c struct fs_parameter *param) param 709 security/smack/smack_lsm.c opt = fs_parse(fc, &smack_fs_parameters, param, &result); param 713 security/smack/smack_lsm.c rc = smack_add_opt(opt, param->string, &fc->security); param 715 security/smack/smack_lsm.c param->string = NULL; param 865 security/tomoyo/common.c struct tomoyo_acl_param param = { param 877 security/tomoyo/common.c error = tomoyo_update_policy(&e.head, sizeof(e), ¶m, param 1061 security/tomoyo/common.c static int tomoyo_write_task(struct tomoyo_acl_param *param) param 1065 security/tomoyo/common.c if (tomoyo_str_starts(¶m->data, "manual_domain_transition ")) { param 1068 security/tomoyo/common.c .domainname = tomoyo_get_domainname(param), param 1072 security/tomoyo/common.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 1130 security/tomoyo/common.c struct tomoyo_acl_param param = { param 1138 security/tomoyo/common.c int (*write)(struct tomoyo_acl_param *param); param 1149 security/tomoyo/common.c if (!tomoyo_str_starts(¶m.data, param 1152 security/tomoyo/common.c return tomoyo_callback[i].write(¶m); param 1759 security/tomoyo/common.c struct tomoyo_acl_param param = { param 1766 security/tomoyo/common.c if (tomoyo_str_starts(¶m.data, "aggregator ")) param 1767 security/tomoyo/common.c return tomoyo_write_aggregator(¶m); param 1769 security/tomoyo/common.c if (tomoyo_str_starts(¶m.data, tomoyo_transition_type[i])) param 1770 security/tomoyo/common.c return tomoyo_write_transition_control(¶m, i); param 1772 security/tomoyo/common.c if (tomoyo_str_starts(¶m.data, tomoyo_group_name[i])) param 1773 security/tomoyo/common.c return tomoyo_write_group(¶m, i); param 1774 security/tomoyo/common.c if (tomoyo_str_starts(¶m.data, "acl_group ")) { param 1778 security/tomoyo/common.c group = simple_strtoul(param.data, &data, 10); param 493 security/tomoyo/common.h } param; param 944 security/tomoyo/common.h bool tomoyo_parse_ipaddr_union(struct tomoyo_acl_param *param, param 946 security/tomoyo/common.h bool tomoyo_parse_name_union(struct tomoyo_acl_param *param, param 948 security/tomoyo/common.h bool tomoyo_parse_number_union(struct tomoyo_acl_param *param, param 958 security/tomoyo/common.h char *tomoyo_read_token(struct tomoyo_acl_param *param); param 966 security/tomoyo/common.h (struct tomoyo_acl_param *param); param 1006 security/tomoyo/common.h struct tomoyo_acl_param *param, param 1014 security/tomoyo/common.h struct tomoyo_acl_param *param, param 1018 security/tomoyo/common.h int tomoyo_write_aggregator(struct tomoyo_acl_param *param); param 1019 security/tomoyo/common.h int tomoyo_write_file(struct tomoyo_acl_param *param); param 1020 security/tomoyo/common.h int tomoyo_write_group(struct tomoyo_acl_param *param, const u8 type); param 1021 security/tomoyo/common.h int tomoyo_write_misc(struct tomoyo_acl_param *param); param 1022 security/tomoyo/common.h int tomoyo_write_inet_network(struct tomoyo_acl_param *param); param 1023 security/tomoyo/common.h int tomoyo_write_transition_control(struct tomoyo_acl_param *param, param 1025 security/tomoyo/common.h int tomoyo_write_unix_network(struct tomoyo_acl_param *param); param 1030 security/tomoyo/common.h struct tomoyo_condition *tomoyo_get_condition(struct tomoyo_acl_param *param); param 1035 security/tomoyo/common.h struct tomoyo_group *tomoyo_get_group(struct tomoyo_acl_param *param, param 279 security/tomoyo/condition.c static bool tomoyo_parse_name_union_quoted(struct tomoyo_acl_param *param, param 282 security/tomoyo/condition.c char *filename = param->data; param 285 security/tomoyo/condition.c return tomoyo_parse_name_union(param, ptr); param 454 security/tomoyo/condition.c static char *tomoyo_get_transit_preference(struct tomoyo_acl_param *param, param 457 security/tomoyo/condition.c char * const pos = param->data; param 461 security/tomoyo/condition.c e->transit = tomoyo_get_domainname(param); param 477 security/tomoyo/condition.c e->transit = tomoyo_get_name(tomoyo_read_token(param)); param 480 security/tomoyo/condition.c return param->data; param 495 security/tomoyo/condition.c struct tomoyo_condition *tomoyo_get_condition(struct tomoyo_acl_param *param) param 505 security/tomoyo/condition.c tomoyo_get_transit_preference(param, &e); param 603 security/tomoyo/condition.c param->data = left_word; param 605 security/tomoyo/condition.c !tomoyo_parse_number_union(param, param 621 security/tomoyo/condition.c param->data = right_word; param 622 security/tomoyo/condition.c if (!tomoyo_parse_name_union_quoted(param, param 635 security/tomoyo/condition.c param->data = right_word; param 636 security/tomoyo/condition.c if (!tomoyo_parse_number_union(param, param 32 security/tomoyo/domain.c struct tomoyo_acl_param *param, param 38 security/tomoyo/domain.c int error = param->is_delete ? -ENOENT : -ENOMEM; param 40 security/tomoyo/domain.c struct list_head *list = param->list; param 50 security/tomoyo/domain.c entry->is_deleted = param->is_delete; param 54 security/tomoyo/domain.c if (error && !param->is_delete) { param 93 security/tomoyo/domain.c struct tomoyo_acl_param *param, param 102 security/tomoyo/domain.c const bool is_delete = param->is_delete; param 105 security/tomoyo/domain.c struct list_head * const list = param->list; param 107 security/tomoyo/domain.c if (param->data[0]) { param 108 security/tomoyo/domain.c new_entry->cond = tomoyo_get_condition(param); param 242 security/tomoyo/domain.c int tomoyo_write_transition_control(struct tomoyo_acl_param *param, param 246 security/tomoyo/domain.c int error = param->is_delete ? -ENOENT : -ENOMEM; param 247 security/tomoyo/domain.c char *program = param->data; param 275 security/tomoyo/domain.c param->list = ¶m->ns->policy_list[TOMOYO_ID_TRANSITION_CONTROL]; param 276 security/tomoyo/domain.c error = tomoyo_update_policy(&e.head, sizeof(e), param, param 403 security/tomoyo/domain.c int tomoyo_write_aggregator(struct tomoyo_acl_param *param) param 406 security/tomoyo/domain.c int error = param->is_delete ? -ENOENT : -ENOMEM; param 407 security/tomoyo/domain.c const char *original_name = tomoyo_read_token(param); param 408 security/tomoyo/domain.c const char *aggregated_name = tomoyo_read_token(param); param 418 security/tomoyo/domain.c param->list = ¶m->ns->policy_list[TOMOYO_ID_AGGREGATOR]; param 419 security/tomoyo/domain.c error = tomoyo_update_policy(&e.head, sizeof(e), param, param 765 security/tomoyo/domain.c if (ee->r.param.path.matched_path) param 766 security/tomoyo/domain.c candidate = ee->r.param.path.matched_path; param 24 security/tomoyo/environ.c return tomoyo_path_matches_pattern(r->param.environ.name, acl->env); param 37 security/tomoyo/environ.c r->param.environ.name->name); param 60 security/tomoyo/environ.c r->param.environ.name = &environ; param 94 security/tomoyo/environ.c static int tomoyo_write_env(struct tomoyo_acl_param *param) param 98 security/tomoyo/environ.c const char *data = tomoyo_read_token(param); param 105 security/tomoyo/environ.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 118 security/tomoyo/environ.c int tomoyo_write_misc(struct tomoyo_acl_param *param) param 120 security/tomoyo/environ.c if (tomoyo_str_starts(¶m->data, "env ")) param 121 security/tomoyo/environ.c return tomoyo_write_env(param); param 169 security/tomoyo/file.c [r->param.path.operation], param 170 security/tomoyo/file.c r->param.path.filename->name); param 183 security/tomoyo/file.c [tomoyo_pp2mac[r->param.path2.operation]], param 184 security/tomoyo/file.c r->param.path2.filename1->name, param 185 security/tomoyo/file.c r->param.path2.filename2->name); param 199 security/tomoyo/file.c [tomoyo_pnnn2mac[r->param.mkdev.operation]], param 200 security/tomoyo/file.c r->param.mkdev.filename->name, param 201 security/tomoyo/file.c r->param.mkdev.mode, r->param.mkdev.major, param 202 security/tomoyo/file.c r->param.mkdev.minor); param 214 security/tomoyo/file.c const u8 type = r->param.path_number.operation; param 233 security/tomoyo/file.c tomoyo_print_ulong(buffer, sizeof(buffer), r->param.path_number.number, param 237 security/tomoyo/file.c r->param.path_number.filename->name, buffer); param 258 security/tomoyo/file.c if (acl->perm & (1 << r->param.path.operation)) { param 259 security/tomoyo/file.c r->param.path.matched_path = param 260 security/tomoyo/file.c tomoyo_compare_name_union(r->param.path.filename, param 262 security/tomoyo/file.c return r->param.path.matched_path != NULL; param 281 security/tomoyo/file.c return (acl->perm & (1 << r->param.path_number.operation)) && param 282 security/tomoyo/file.c tomoyo_compare_number_union(r->param.path_number.number, param 284 security/tomoyo/file.c tomoyo_compare_name_union(r->param.path_number.filename, param 302 security/tomoyo/file.c return (acl->perm & (1 << r->param.path2.operation)) && param 303 security/tomoyo/file.c tomoyo_compare_name_union(r->param.path2.filename1, &acl->name1) param 304 security/tomoyo/file.c && tomoyo_compare_name_union(r->param.path2.filename2, param 322 security/tomoyo/file.c return (acl->perm & (1 << r->param.mkdev.operation)) && param 323 security/tomoyo/file.c tomoyo_compare_number_union(r->param.mkdev.mode, param 325 security/tomoyo/file.c tomoyo_compare_number_union(r->param.mkdev.major, param 327 security/tomoyo/file.c tomoyo_compare_number_union(r->param.mkdev.minor, param 329 security/tomoyo/file.c tomoyo_compare_name_union(r->param.mkdev.filename, param 387 security/tomoyo/file.c struct tomoyo_acl_param *param) param 395 security/tomoyo/file.c if (!tomoyo_parse_name_union(param, &e.name)) param 398 security/tomoyo/file.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 463 security/tomoyo/file.c struct tomoyo_acl_param *param) param 471 security/tomoyo/file.c if (!tomoyo_parse_name_union(param, &e.name) || param 472 security/tomoyo/file.c !tomoyo_parse_number_union(param, &e.mode) || param 473 security/tomoyo/file.c !tomoyo_parse_number_union(param, &e.major) || param 474 security/tomoyo/file.c !tomoyo_parse_number_union(param, &e.minor)) param 477 security/tomoyo/file.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 542 security/tomoyo/file.c struct tomoyo_acl_param *param) param 550 security/tomoyo/file.c if (!tomoyo_parse_name_union(param, &e.name1) || param 551 security/tomoyo/file.c !tomoyo_parse_name_union(param, &e.name2)) param 554 security/tomoyo/file.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 583 security/tomoyo/file.c r->param.path.filename = filename; param 584 security/tomoyo/file.c r->param.path.operation = operation; param 613 security/tomoyo/file.c r->param.path.filename = filename; param 614 security/tomoyo/file.c r->param.path.operation = TOMOYO_TYPE_EXECUTE; param 679 security/tomoyo/file.c struct tomoyo_acl_param *param) param 687 security/tomoyo/file.c if (!tomoyo_parse_name_union(param, &e.name) || param 688 security/tomoyo/file.c !tomoyo_parse_number_union(param, &e.number)) param 691 security/tomoyo/file.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 729 security/tomoyo/file.c r.param.path_number.operation = type; param 730 security/tomoyo/file.c r.param.path_number.filename = &buf; param 731 security/tomoyo/file.c r.param.path_number.number = number; param 879 security/tomoyo/file.c r.param.mkdev.filename = &buf; param 880 security/tomoyo/file.c r.param.mkdev.operation = operation; param 881 security/tomoyo/file.c r.param.mkdev.mode = mode; param 882 security/tomoyo/file.c r.param.mkdev.major = MAJOR(dev); param 883 security/tomoyo/file.c r.param.mkdev.minor = MINOR(dev); param 938 security/tomoyo/file.c r.param.path2.operation = operation; param 939 security/tomoyo/file.c r.param.path2.filename1 = &buf1; param 940 security/tomoyo/file.c r.param.path2.filename2 = &buf2; param 983 security/tomoyo/file.c static int tomoyo_update_mount_acl(struct tomoyo_acl_param *param) param 988 security/tomoyo/file.c if (!tomoyo_parse_name_union(param, &e.dev_name) || param 989 security/tomoyo/file.c !tomoyo_parse_name_union(param, &e.dir_name) || param 990 security/tomoyo/file.c !tomoyo_parse_name_union(param, &e.fs_type) || param 991 security/tomoyo/file.c !tomoyo_parse_number_union(param, &e.flags)) param 994 security/tomoyo/file.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 1012 security/tomoyo/file.c int tomoyo_write_file(struct tomoyo_acl_param *param) param 1016 security/tomoyo/file.c const char *operation = tomoyo_read_token(param); param 1022 security/tomoyo/file.c return tomoyo_update_path_acl(perm, param); param 1028 security/tomoyo/file.c return tomoyo_update_path2_acl(perm, param); param 1034 security/tomoyo/file.c return tomoyo_update_path_number_acl(perm, param); param 1040 security/tomoyo/file.c return tomoyo_update_mkdev_acl(perm, param); param 1043 security/tomoyo/file.c return tomoyo_update_mount_acl(param); param 74 security/tomoyo/group.c int tomoyo_write_group(struct tomoyo_acl_param *param, const u8 type) param 76 security/tomoyo/group.c struct tomoyo_group *group = tomoyo_get_group(param, type); param 81 security/tomoyo/group.c param->list = &group->member_list; param 85 security/tomoyo/group.c e.member_name = tomoyo_get_name(tomoyo_read_token(param)); param 90 security/tomoyo/group.c error = tomoyo_update_policy(&e.head, sizeof(e), param, param 96 security/tomoyo/group.c if (param->data[0] == '@' || param 97 security/tomoyo/group.c !tomoyo_parse_number_union(param, &e.number)) param 99 security/tomoyo/group.c error = tomoyo_update_policy(&e.head, sizeof(e), param, param 108 security/tomoyo/group.c if (param->data[0] == '@' || param 109 security/tomoyo/group.c !tomoyo_parse_ipaddr_union(param, &e.address)) param 111 security/tomoyo/group.c error = tomoyo_update_policy(&e.head, sizeof(e), param, param 95 security/tomoyo/memory.c struct tomoyo_group *tomoyo_get_group(struct tomoyo_acl_param *param, param 101 security/tomoyo/memory.c const char *group_name = tomoyo_read_token(param); param 111 security/tomoyo/memory.c list = ¶m->ns->group_list[idx]; param 33 security/tomoyo/mount.c r->param.mount.dev->name, param 34 security/tomoyo/mount.c r->param.mount.dir->name, param 35 security/tomoyo/mount.c r->param.mount.type->name, param 36 security/tomoyo/mount.c r->param.mount.flags); param 53 security/tomoyo/mount.c return tomoyo_compare_number_union(r->param.mount.flags, param 55 security/tomoyo/mount.c tomoyo_compare_name_union(r->param.mount.type, param 57 security/tomoyo/mount.c tomoyo_compare_name_union(r->param.mount.dir, param 59 security/tomoyo/mount.c (!r->param.mount.need_dev || param 60 security/tomoyo/mount.c tomoyo_compare_name_union(r->param.mount.dev, param 159 security/tomoyo/mount.c r->param.mount.need_dev = need_dev; param 160 security/tomoyo/mount.c r->param.mount.dev = &rdev; param 161 security/tomoyo/mount.c r->param.mount.dir = &rdir; param 162 security/tomoyo/mount.c r->param.mount.type = &rtype; param 163 security/tomoyo/mount.c r->param.mount.flags = flags; param 50 security/tomoyo/network.c bool tomoyo_parse_ipaddr_union(struct tomoyo_acl_param *param, param 55 security/tomoyo/network.c char *address = tomoyo_read_token(param); param 282 security/tomoyo/network.c int tomoyo_write_inet_network(struct tomoyo_acl_param *param) param 287 security/tomoyo/network.c const char *protocol = tomoyo_read_token(param); param 288 security/tomoyo/network.c const char *operation = tomoyo_read_token(param); param 298 security/tomoyo/network.c if (param->data[0] == '@') { param 299 security/tomoyo/network.c param->data++; param 301 security/tomoyo/network.c tomoyo_get_group(param, TOMOYO_ADDRESS_GROUP); param 305 security/tomoyo/network.c if (!tomoyo_parse_ipaddr_union(param, &e.address)) param 308 security/tomoyo/network.c if (!tomoyo_parse_number_union(param, &e.port) || param 311 security/tomoyo/network.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 327 security/tomoyo/network.c int tomoyo_write_unix_network(struct tomoyo_acl_param *param) param 332 security/tomoyo/network.c const char *protocol = tomoyo_read_token(param); param 333 security/tomoyo/network.c const char *operation = tomoyo_read_token(param); param 343 security/tomoyo/network.c if (!tomoyo_parse_name_union(param, &e.name)) param 345 security/tomoyo/network.c error = tomoyo_update_domain(&e.head, sizeof(e), param, param 383 security/tomoyo/network.c const __be32 *address = r->param.inet_network.address; param 385 security/tomoyo/network.c if (r->param.inet_network.is_ipv6) param 392 security/tomoyo/network.c r->param.inet_network.port); param 393 security/tomoyo/network.c return tomoyo_audit_net_log(r, "inet", r->param.inet_network.protocol, param 394 security/tomoyo/network.c r->param.inet_network.operation, buf); param 406 security/tomoyo/network.c return tomoyo_audit_net_log(r, "unix", r->param.unix_network.protocol, param 407 security/tomoyo/network.c r->param.unix_network.operation, param 408 security/tomoyo/network.c r->param.unix_network.address->name); param 424 security/tomoyo/network.c const u8 size = r->param.inet_network.is_ipv6 ? 16 : 4; param 426 security/tomoyo/network.c if (!(acl->perm & (1 << r->param.inet_network.operation)) || param 427 security/tomoyo/network.c !tomoyo_compare_number_union(r->param.inet_network.port, param 432 security/tomoyo/network.c (r->param.inet_network.is_ipv6, param 433 security/tomoyo/network.c r->param.inet_network.address, acl->address.group); param 434 security/tomoyo/network.c return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && param 436 security/tomoyo/network.c r->param.inet_network.address, size) <= 0 && param 437 security/tomoyo/network.c memcmp(r->param.inet_network.address, param 455 security/tomoyo/network.c return (acl->perm & (1 << r->param.unix_network.operation)) && param 456 security/tomoyo/network.c tomoyo_compare_name_union(r->param.unix_network.address, param 477 security/tomoyo/network.c r.param.inet_network.protocol = address->protocol; param 478 security/tomoyo/network.c r.param.inet_network.operation = address->operation; param 479 security/tomoyo/network.c r.param.inet_network.is_ipv6 = address->inet.is_ipv6; param 480 security/tomoyo/network.c r.param.inet_network.address = address->inet.address; param 481 security/tomoyo/network.c r.param.inet_network.port = ntohs(address->inet.port); param 569 security/tomoyo/network.c r.param.unix_network.protocol = address->protocol; param 570 security/tomoyo/network.c r.param.unix_network.operation = address->operation; param 571 security/tomoyo/network.c r.param.unix_network.address = &addr; param 25 security/tomoyo/securityfs_if.c return !tomoyo_pathcmp(r->param.task.domainname, acl->domainname); param 63 security/tomoyo/securityfs_if.c r.param.task.domainname = &name; param 133 security/tomoyo/util.c char *tomoyo_read_token(struct tomoyo_acl_param *param) param 135 security/tomoyo/util.c char *pos = param->data; param 142 security/tomoyo/util.c param->data = del; param 154 security/tomoyo/util.c (struct tomoyo_acl_param *param) param 156 security/tomoyo/util.c char *start = param->data; param 166 security/tomoyo/util.c param->data = pos; param 245 security/tomoyo/util.c bool tomoyo_parse_name_union(struct tomoyo_acl_param *param, param 250 security/tomoyo/util.c if (param->data[0] == '@') { param 251 security/tomoyo/util.c param->data++; param 252 security/tomoyo/util.c ptr->group = tomoyo_get_group(param, TOMOYO_PATH_GROUP); param 255 security/tomoyo/util.c filename = tomoyo_read_token(param); param 270 security/tomoyo/util.c bool tomoyo_parse_number_union(struct tomoyo_acl_param *param, param 278 security/tomoyo/util.c if (param->data[0] == '@') { param 279 security/tomoyo/util.c param->data++; param 280 security/tomoyo/util.c ptr->group = tomoyo_get_group(param, TOMOYO_NUMBER_GROUP); param 283 security/tomoyo/util.c data = tomoyo_read_token(param); param 10 sound/core/pcm_param_trace.h #define HW_PARAM_ENTRY(param) {SNDRV_PCM_HW_PARAM_##param, #param} param 31 sound/core/seq/oss/seq_oss_event.c static int set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int val, struct snd_seq_event *ev); param 390 sound/core/seq/oss/seq_oss_event.c set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int val, struct snd_seq_event *ev) param 398 sound/core/seq/oss/seq_oss_event.c ev->data.control.param = param; param 469 sound/core/seq/oss/seq_oss_midi.c ev.data.control.param = MIDI_CTL_ALL_NOTES_OFF; param 472 sound/core/seq/oss/seq_oss_midi.c ev.data.control.param = param 574 sound/core/seq/oss/seq_oss_midi.c ossev.l.p1 = ev->data.control.param; param 139 sound/core/seq/oss/seq_oss_timer.c ev.data.queue.param.value = value; param 135 sound/core/seq/seq_midi_emul.c ev->data.control.param, ev->data.control.value); param 152 sound/core/seq/seq_midi_emul.c if (ev->data.control.param < 32) { param 154 sound/core/seq/seq_midi_emul.c chan->control[ev->data.control.param + 32] = param 157 sound/core/seq/seq_midi_emul.c ev->data.control.param, param 161 sound/core/seq/seq_midi_emul.c ev->data.control.param, param 172 sound/core/seq/seq_midi_emul.c = (ev->data.control.param >> 7) & 0x7f; param 174 sound/core/seq/seq_midi_emul.c = ev->data.control.param & 0x7f; param 185 sound/core/seq/seq_midi_emul.c = (ev->data.control.param >> 7) & 0x7f; param 187 sound/core/seq/seq_midi_emul.c = ev->data.control.param & 0x7f; param 270 sound/core/seq/seq_midi_event.c ev->data.control.param = dev->buf[1]; param 371 sound/core/seq/seq_midi_event.c buf[0] = ev->data.control.param & 0x7f; param 390 sound/core/seq/seq_midi_event.c if (ev->data.control.param < 0x20) { param 400 sound/core/seq/seq_midi_event.c buf[idx++] = ev->data.control.param; param 404 sound/core/seq/seq_midi_event.c buf[idx++] = ev->data.control.param + 0x20; param 414 sound/core/seq/seq_midi_event.c buf[idx++] = ev->data.control.param & 0x7f; param 442 sound/core/seq/seq_midi_event.c bytes[0] = (ev->data.control.param & 0x3f80) >> 7; param 443 sound/core/seq/seq_midi_event.c bytes[1] = ev->data.control.param & 0x007f; param 686 sound/core/seq/seq_queue.c snd_seq_timer_set_tempo(q->timer, ev->data.queue.param.value); param 691 sound/core/seq/seq_queue.c if (snd_seq_timer_set_position_tick(q->timer, ev->data.queue.param.time.tick) == 0) { param 697 sound/core/seq/seq_queue.c if (snd_seq_timer_set_position_time(q->timer, ev->data.queue.param.time.time) == 0) { param 703 sound/core/seq/seq_queue.c ev->data.queue.param.skew.value, param 704 sound/core/seq/seq_queue.c ev->data.queue.param.skew.base) == 0) { param 205 sound/firewire/fireworks/fireworks_command.c __be32 param = cpu_to_be32(mode); param 208 sound/firewire/fireworks/fireworks_command.c ¶m, sizeof(param), NULL, 0); param 1390 sound/pci/asihpi/hpifunc.c const u32 param, u32 *psetting) param 1402 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = param; param 1489 sound/pci/asihpi/hpifunc.c u32 param; param 1491 sound/pci/asihpi/hpifunc.c err = hpi_control_param1_get(h_control, HPI_AESEBURX_FORMAT, ¶m); param 1493 sound/pci/asihpi/hpifunc.c *pw_format = (u16)param; param 1598 sound/pci/asihpi/hpifunc.c u32 param; param 1600 sound/pci/asihpi/hpifunc.c err = hpi_control_param1_get(h_control, HPI_AESEBUTX_FORMAT, ¶m); param 1602 sound/pci/asihpi/hpifunc.c *pw_output_format = (u16)param; param 82 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, seq->nid, 0, seq->verb, seq->param); param 227 sound/pci/hda/hda_sysfs.c v->nid, v->verb, v->param); param 236 sound/pci/hda/hda_sysfs.c int nid, verb, param; param 238 sound/pci/hda/hda_sysfs.c if (sscanf(buf, "%i %i %i", &nid, &verb, ¶m) != 3) param 250 sound/pci/hda/hda_sysfs.c v->param = param; param 8705 sound/pci/hda/patch_ca0132.c spec->spec_init_verbs[0].param = 0x78D; param 923 sound/pci/hda/patch_hdmi.c unsigned int param; param 940 sound/pci/hda/patch_hdmi.c param = snd_hda_codec_read(codec, cvt_nid, 0, param 943 sound/pci/hda/patch_hdmi.c param = (param >> 16) & ~(AC_DIG3_ICT); param 947 sound/pci/hda/patch_hdmi.c param |= 0x1; param 950 sound/pci/hda/patch_hdmi.c AC_VERB_SET_DIGI_CONVERT_3, param); param 478 sound/pci/lola/lola.h #define lola_read_param(chip, nid, param, val) \ param 479 sound/pci/lola/lola.h lola_codec_read(chip, nid, LOLA_VERB_PARAMETERS, param, 0, val, NULL) param 39 sound/pci/oxygen/xonar_hdmi.c u8 param; param 42 sound/pci/oxygen/xonar_hdmi.c param = 0; param 43 sound/pci/oxygen/xonar_hdmi.c hdmi_write_command(chip, 0x61, 1, ¶m); param 44 sound/pci/oxygen/xonar_hdmi.c param = 1; param 45 sound/pci/oxygen/xonar_hdmi.c hdmi_write_command(chip, 0x74, 1, ¶m); param 58 sound/pci/oxygen/xonar_hdmi.c u8 param = 0; param 60 sound/pci/oxygen/xonar_hdmi.c hdmi_write_command(chip, 0x74, 1, ¶m); param 1142 sound/soc/codecs/ab8500-codec.c unsigned int param, sidconf, val; param 1170 sound/soc/codecs/ab8500-codec.c for (param = 0; param < AB8500_SID_FIR_COEFFS; param++) { param 1171 sound/soc/codecs/ab8500-codec.c val = snd_soc_component_read32(component, drvdata->sid_fir_values[param]); param 105 sound/soc/codecs/ak4642.c #define ZTM(param) ((param & 0x3) << 4) /* ALC Zero Crossing TimeOut */ param 106 sound/soc/codecs/ak4642.c #define WTM(param) (((param & 0x4) << 4) | ((param & 0x3) << 2)) param 40 sound/soc/codecs/cros_ec_codec.c struct ec_param_codec_i2s *param, param 57 sound/soc/codecs/cros_ec_codec.c memcpy(msg->data, param, msg->outsize); param 70 sound/soc/codecs/cros_ec_codec.c struct ec_param_codec_i2s *param) param 84 sound/soc/codecs/cros_ec_codec.c memcpy(msg->data, param, msg->outsize); param 92 sound/soc/codecs/cros_ec_codec.c struct ec_param_codec_i2s param; param 97 sound/soc/codecs/cros_ec_codec.c param.cmd = EC_CODEC_I2S_SET_CONFIG; param 98 sound/soc/codecs/cros_ec_codec.c param.i2s_config = i2s_config; param 100 sound/soc/codecs/cros_ec_codec.c return ec_command_no_resp(component, ¶m); param 153 sound/soc/codecs/cros_ec_codec.c struct ec_param_codec_i2s param; param 157 sound/soc/codecs/cros_ec_codec.c param.cmd = EC_CODEC_SET_SAMPLE_DEPTH; param 158 sound/soc/codecs/cros_ec_codec.c param.depth = depth; param 160 sound/soc/codecs/cros_ec_codec.c return ec_command_no_resp(component, ¶m); param 165 sound/soc/codecs/cros_ec_codec.c struct ec_param_codec_i2s param; param 169 sound/soc/codecs/cros_ec_codec.c param.cmd = EC_CODEC_I2S_SET_BCLK; param 170 sound/soc/codecs/cros_ec_codec.c param.bclk = bclk; param 172 sound/soc/codecs/cros_ec_codec.c return ec_command_no_resp(component, ¶m); param 228 sound/soc/codecs/cros_ec_codec.c struct ec_param_codec_i2s param; param 232 sound/soc/codecs/cros_ec_codec.c param.cmd = EC_CODEC_GET_GAIN; param 234 sound/soc/codecs/cros_ec_codec.c ret = ec_command_get_gain(component, ¶m, &resp); param 265 sound/soc/codecs/cros_ec_codec.c struct ec_param_codec_i2s param; param 270 sound/soc/codecs/cros_ec_codec.c param.cmd = EC_CODEC_SET_GAIN; param 271 sound/soc/codecs/cros_ec_codec.c param.gain.left = left; param 272 sound/soc/codecs/cros_ec_codec.c param.gain.right = right; param 274 sound/soc/codecs/cros_ec_codec.c return ec_command_no_resp(component, ¶m); param 300 sound/soc/codecs/cros_ec_codec.c struct ec_param_codec_i2s param; param 304 sound/soc/codecs/cros_ec_codec.c param.cmd = EC_CODEC_I2S_ENABLE; param 305 sound/soc/codecs/cros_ec_codec.c param.i2s_enable = enable; param 307 sound/soc/codecs/cros_ec_codec.c return ec_command_no_resp(component, ¶m); param 227 sound/soc/codecs/hdac_hdmi.c unsigned int type, param; param 235 sound/soc/codecs/hdac_hdmi.c param = snd_hdac_read_parm_uncached(hdev, nid, AC_PAR_DEVLIST_LEN); param 236 sound/soc/codecs/hdac_hdmi.c if (param == -1) param 237 sound/soc/codecs/hdac_hdmi.c return param; param 239 sound/soc/codecs/hdac_hdmi.c return param & AC_DEV_LIST_LEN_MASK; param 560 sound/soc/codecs/nau8540.c fref = fll_in / fll_pre_scalar[i].param; param 570 sound/soc/codecs/nau8540.c if (fref >= fll_ratio[i].param) param 585 sound/soc/codecs/nau8540.c fvco = 256ULL * fs * 2 * mclk_src_scaling[i].param; param 228 sound/soc/codecs/nau8540.h unsigned int param; param 1279 sound/soc/codecs/nau8824.c fref = fll_in / fll_pre_scalar[i].param; param 1289 sound/soc/codecs/nau8824.c if (fref >= fll_ratio[i].param) param 1304 sound/soc/codecs/nau8824.c fvco = 256ULL * fs * 2 * mclk_src_scaling[i].param; param 461 sound/soc/codecs/nau8824.h unsigned int param; param 60 sound/soc/codecs/nau8825.c unsigned int param; param 1996 sound/soc/codecs/nau8825.c fref = fll_in / fll_pre_scalar[i].param; param 2006 sound/soc/codecs/nau8825.c if (fref >= fll_ratio[i].param) param 2021 sound/soc/codecs/nau8825.c fvco = 256ULL * fs * 2 * mclk_src_scaling[i].param; param 34 sound/soc/fsl/fsl_asrc_dma.c static bool filter(struct dma_chan *chan, void *param) param 39 sound/soc/fsl/fsl_asrc_dma.c chan->private = param; param 22 sound/soc/fsl/imx-pcm-dma.c static bool filter(struct dma_chan *chan, void *param) param 27 sound/soc/fsl/imx-pcm-dma.c chan->private = param; param 1037 sound/soc/intel/atom/sst-atom-controls.c cmd.param.part.cfg.rate = 2; /* 48khz */ param 1039 sound/soc/intel/atom/sst-atom-controls.c cmd.param.part.cfg.format = ids->format; /* stereo/Mono */ param 1040 sound/soc/intel/atom/sst-atom-controls.c cmd.param.part.cfg.s_length = 1; /* 24bit left justified */ param 432 sound/soc/intel/atom/sst-atom-controls.h union sba_media_loop_params param; param 154 sound/soc/intel/atom/sst-mfld-platform-compress.c cb.param = cstream; param 143 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_sst_stream_params *param) param 145 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.num_chan = (u8) substream->runtime->channels; param 146 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; param 147 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.sfreq = substream->runtime->rate; param 150 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.use_offload_path = 0; param 151 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.reserved2 = 0; param 152 sound/soc/intel/atom/sst-mfld-platform-pcm.c memset(param->uc.pcm_params.channel_map, 0, sizeof(u8)); param 227 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_sst_stream_params param = {{{0,},},}; param 234 sound/soc/intel/atom/sst-mfld-platform-pcm.c sst_fill_pcm_params(substream, ¶m); param 237 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_params.sparams = param; param 90 sound/soc/intel/atom/sst-mfld-platform.h void *param; param 91 sound/soc/intel/atom/sst-mfld-platform.h void (*compr_cb)(void *param); param 93 sound/soc/intel/atom/sst-mfld-platform.h void (*drain_notify)(void *param); param 260 sound/soc/intel/atom/sst/sst.h struct snd_sst_runtime_params param; param 210 sound/soc/intel/atom/sst/sst_drv_interface.c stream->compr_cb_param = cb->param; param 210 sound/soc/intel/common/sst-firmware.c static bool dma_chan_filter(struct dma_chan *chan, void *param) param 212 sound/soc/intel/common/sst-firmware.c struct sst_dsp *dsp = (struct sst_dsp *)param; param 1996 sound/soc/intel/haswell/sst-haswell-ipc.c u32 param_size, char *param) param 2029 sound/soc/intel/haswell/sst-haswell-ipc.c memcpy(parameter->data, param, param_size); param 514 sound/soc/intel/haswell/sst-haswell-ipc.h u32 param_size, char *param); param 916 sound/soc/intel/skylake/skl-sst-ipc.c struct skl_ipc_large_config_msg *msg, u32 *param) param 948 sound/soc/intel/skylake/skl-sst-ipc.c request.data = ((char *)param) + data_offset; param 139 sound/soc/intel/skylake/skl-sst-ipc.h struct skl_ipc_large_config_msg *msg, u32 *param); param 80 sound/soc/pxa/mmp-pcm.c static bool filter(struct dma_chan *chan, void *param) param 82 sound/soc/pxa/mmp-pcm.c struct mmp_dma_data *dma_data = param; param 842 sound/soc/qcom/qdsp6/q6afe.c struct afe_svc_cmd_set_param *param; param 850 sound/soc/qcom/qdsp6/q6afe.c pkt_size = APR_HDR_SIZE + sizeof(*param) + sizeof(*pdata) + psize; param 856 sound/soc/qcom/qdsp6/q6afe.c param = p + APR_HDR_SIZE; param 857 sound/soc/qcom/qdsp6/q6afe.c pdata = p + APR_HDR_SIZE + sizeof(*param); param 858 sound/soc/qcom/qdsp6/q6afe.c pl = p + APR_HDR_SIZE + sizeof(*param) + sizeof(*pdata); param 870 sound/soc/qcom/qdsp6/q6afe.c param->payload_size = sizeof(*pdata) + psize; param 871 sound/soc/qcom/qdsp6/q6afe.c param->payload_address_lsw = 0x00; param 872 sound/soc/qcom/qdsp6/q6afe.c param->payload_address_msw = 0x00; param 873 sound/soc/qcom/qdsp6/q6afe.c param->mem_map_handle = 0x00; param 890 sound/soc/qcom/qdsp6/q6afe.c struct afe_port_cmd_set_param_v2 *param; param 898 sound/soc/qcom/qdsp6/q6afe.c pkt_size = APR_HDR_SIZE + sizeof(*param) + sizeof(*pdata) + psize; param 904 sound/soc/qcom/qdsp6/q6afe.c param = p + APR_HDR_SIZE; param 905 sound/soc/qcom/qdsp6/q6afe.c pdata = p + APR_HDR_SIZE + sizeof(*param); param 906 sound/soc/qcom/qdsp6/q6afe.c pl = p + APR_HDR_SIZE + sizeof(*param) + sizeof(*pdata); param 918 sound/soc/qcom/qdsp6/q6afe.c param->port_id = port_id; param 919 sound/soc/qcom/qdsp6/q6afe.c param->payload_size = sizeof(*pdata) + psize; param 920 sound/soc/qcom/qdsp6/q6afe.c param->payload_address_lsw = 0x00; param 921 sound/soc/qcom/qdsp6/q6afe.c param->payload_address_msw = 0x00; param 922 sound/soc/qcom/qdsp6/q6afe.c param->mem_map_handle = 0x00; param 113 sound/soc/sh/fsi.c #define AB_IO(param, shift) (param << shift) param 558 sound/soc/sh/rcar/core.c #define rsnd_dai_call(fn, io, param...) \ param 576 sound/soc/sh/rcar/core.c tmp = (mod)->ops->fn(mod, io, param); \ param 873 sound/soc/sh/rcar/rsnd.h #define rsnd_dbg_irq_status(dev, param...) \ param 875 sound/soc/sh/rcar/rsnd.h dev_dbg(dev, param) param 883 sound/soc/sh/rcar/rsnd.h #define rsnd_dbg_dai_call(dev, param...) \ param 885 sound/soc/sh/rcar/rsnd.h dev_dbg(dev, param) param 112 sound/soc/sh/siu.h struct sh_dmae_slave param; param 319 sound/soc/sh/siu_pcm.c struct sh_dmae_slave *param = slave; param 321 sound/soc/sh/siu_pcm.c pr_debug("%s: slave ID %d\n", __func__, param->shdma_slave.slave_id); param 323 sound/soc/sh/siu_pcm.c chan->private = ¶m->shdma_slave; param 339 sound/soc/sh/siu_pcm.c struct sh_dmae_slave *param; param 348 sound/soc/sh/siu_pcm.c param = &siu_stream->param; param 349 sound/soc/sh/siu_pcm.c param->shdma_slave.slave_id = port ? pdata->dma_slave_tx_b : param 353 sound/soc/sh/siu_pcm.c param = &siu_stream->param; param 354 sound/soc/sh/siu_pcm.c param->shdma_slave.slave_id = port ? pdata->dma_slave_rx_b : param 359 sound/soc/sh/siu_pcm.c siu_stream->chan = dma_request_channel(mask, filter, param); param 327 sound/soc/txx9/txx9aclc.c static bool filter(struct dma_chan *chan, void *param) param 329 sound/soc/txx9/txx9aclc.c struct txx9aclc_dmadata *dmadata = param; param 350 sound/synth/emux/emux_nrpn.c int param) param 353 sound/synth/emux/emux_nrpn.c port, chan, param, param 354 sound/synth/emux/emux_nrpn.c chan->control[param], param 34 sound/synth/emux/emux_oss.c int ch, int param, int val, int atomic, int hop); param 481 sound/synth/emux/emux_oss.c fake_event(struct snd_emux *emu, struct snd_emux_port *port, int ch, int param, int val, int atomic, int hop) param 487 sound/synth/emux/emux_oss.c ev.data.control.param = param; param 63 sound/synth/emux/emux_voice.h struct snd_midi_channel *chan, int param); param 617 tools/include/uapi/drm/i915_drm.h __s32 param; param 634 tools/include/uapi/drm/i915_drm.h int param; param 1498 tools/include/uapi/drm/i915_drm.h __u64 param; param 1723 tools/include/uapi/drm/i915_drm.h struct drm_i915_gem_context_param param; param 110 tools/laptop/freefall/freefall.c struct sched_param param; param 141 tools/laptop/freefall/freefall.c param.sched_priority = sched_get_priority_max(SCHED_FIFO); param 142 tools/laptop/freefall/freefall.c sched_setscheduler(0, SCHED_FIFO, ¶m); param 866 tools/lib/bpf/btf.c struct btf_ext_sec_setup_param param = { param 874 tools/lib/bpf/btf.c return btf_ext_setup_info(btf_ext, ¶m); param 879 tools/lib/bpf/btf.c struct btf_ext_sec_setup_param param = { param 887 tools/lib/bpf/btf.c return btf_ext_setup_info(btf_ext, ¶m); param 892 tools/lib/bpf/btf.c struct btf_ext_sec_setup_param param = { param 900 tools/lib/bpf/btf.c return btf_ext_setup_info(btf_ext, ¶m); param 2614 tools/lib/bpf/btf.c struct btf_param *param; param 2624 tools/lib/bpf/btf.c param = btf_params(t); param 2626 tools/lib/bpf/btf.c ref_type_id = btf_dedup_ref_type(d, param->type); param 2629 tools/lib/bpf/btf.c param->type = ref_type_id; param 2630 tools/lib/bpf/btf.c param++; param 2813 tools/lib/bpf/btf.c struct btf_param *param = btf_params(t); param 2822 tools/lib/bpf/btf.c r = btf_dedup_remap_type_id(d, param->type); param 2825 tools/lib/bpf/btf.c param->type = r; param 2826 tools/lib/bpf/btf.c param++; param 192 tools/lib/subcmd/exec-cmd.c va_list param; param 194 tools/lib/subcmd/exec-cmd.c va_start(param, cmd); param 198 tools/lib/subcmd/exec-cmd.c arg = argv[argc++] = va_arg(param, char *); param 202 tools/lib/subcmd/exec-cmd.c va_end(param); param 4197 tools/lib/traceevent/event-parse.c struct func_params *param; param 4214 tools/lib/traceevent/event-parse.c param = func_handle->params; param 4222 tools/lib/traceevent/event-parse.c switch (param->type) { param 4259 tools/lib/traceevent/event-parse.c param = param->next; param 5582 tools/lib/traceevent/event-parse.c int param; param 5586 tools/lib/traceevent/event-parse.c param = record->cpu; param 5589 tools/lib/traceevent/event-parse.c param = parse_common_pid(tep, record->data); param 5596 tools/lib/traceevent/event-parse.c trace_seq_printf(s, type->format, param); param 6654 tools/lib/traceevent/event-parse.c struct func_params *param; param 6698 tools/lib/traceevent/event-parse.c param = malloc(sizeof(*param)); param 6699 tools/lib/traceevent/event-parse.c if (!param) { param 6704 tools/lib/traceevent/event-parse.c param->type = type; param 6705 tools/lib/traceevent/event-parse.c param->next = NULL; param 6707 tools/lib/traceevent/event-parse.c *next_param = param; param 6708 tools/lib/traceevent/event-parse.c next_param = &(param->next); param 1470 tools/perf/builtin-record.c struct sched_param param; param 1472 tools/perf/builtin-record.c param.sched_priority = rec->realtime_prio; param 1473 tools/perf/builtin-record.c if (sched_setscheduler(0, SCHED_FIFO, ¶m)) { param 1301 tools/perf/builtin-top.c struct sched_param param; param 1303 tools/perf/builtin-top.c param.sched_priority = top->realtime_prio; param 1304 tools/perf/builtin-top.c if (sched_setscheduler(0, SCHED_FIFO, ¶m)) { param 62 tools/perf/util/callchain.c int parse_callchain_record_opt(const char *arg, struct callchain_param *param) param 64 tools/perf/util/callchain.c return parse_callchain_record(arg, param); param 250 tools/perf/util/callchain.c int parse_callchain_record(const char *arg, struct callchain_param *param) param 270 tools/perf/util/callchain.c param->record_mode = CALLCHAIN_FP; param 282 tools/perf/util/callchain.c param->record_mode = CALLCHAIN_DWARF; param 283 tools/perf/util/callchain.c param->dump_size = default_stack_dump_size; param 291 tools/perf/util/callchain.c param->dump_size = size; param 295 tools/perf/util/callchain.c param->record_mode = CALLCHAIN_LBR; param 437 tools/perf/util/callchain.c u64 min_hit, struct callchain_param *param __maybe_unused) param 465 tools/perf/util/callchain.c u64 min_hit, struct callchain_param *param __maybe_unused) param 495 tools/perf/util/callchain.c u64 min_hit __maybe_unused, struct callchain_param *param) param 497 tools/perf/util/callchain.c __sort_chain_graph_rel(&chain_root->node, param->min_percent / 100.0); param 501 tools/perf/util/callchain.c int callchain_register_param(struct callchain_param *param) param 503 tools/perf/util/callchain.c switch (param->mode) { param 505 tools/perf/util/callchain.c param->sort = sort_chain_graph_abs; param 508 tools/perf/util/callchain.c param->sort = sort_chain_graph_rel; param 512 tools/perf/util/callchain.c param->sort = sort_chain_flat; param 187 tools/perf/util/callchain.h int callchain_register_param(struct callchain_param *param); param 250 tools/perf/util/callchain.h int parse_callchain_record(const char *arg, struct callchain_param *param); param 251 tools/perf/util/callchain.h int parse_callchain_record_opt(const char *arg, struct callchain_param *param); param 873 tools/perf/util/dwarf-aux.c struct __line_walk_param param = { param 878 tools/perf/util/dwarf-aux.c dwarf_getfuncs(cu_die, __die_walk_culines_cb, ¶m, 0); param 879 tools/perf/util/dwarf-aux.c ret = param.retval; param 691 tools/perf/util/evsel.c struct callchain_param *param) param 698 tools/perf/util/evsel.c attr->sample_max_stack = param->max_stack; param 704 tools/perf/util/evsel.c if (param->record_mode == CALLCHAIN_LBR) { param 722 tools/perf/util/evsel.c if (param->record_mode == CALLCHAIN_DWARF) { param 734 tools/perf/util/evsel.c attr->sample_stack_user = param->dump_size; param 750 tools/perf/util/evsel.c struct callchain_param *param) param 752 tools/perf/util/evsel.c if (param->enabled) param 753 tools/perf/util/evsel.c return __perf_evsel__config_callchain(evsel, opts, param); param 758 tools/perf/util/evsel.c struct callchain_param *param) param 763 tools/perf/util/evsel.c if (param->record_mode == CALLCHAIN_LBR) { param 768 tools/perf/util/evsel.c if (param->record_mode == CALLCHAIN_DWARF) { param 781 tools/perf/util/evsel.c struct callchain_param param = { param 859 tools/perf/util/evsel.c param.max_stack = max_stack; param 867 tools/perf/util/evsel.c param.enabled = false; param 868 tools/perf/util/evsel.c param.record_mode = CALLCHAIN_NONE; param 870 tools/perf/util/evsel.c param.enabled = true; param 871 tools/perf/util/evsel.c if (parse_callchain_record(callgraph_buf, ¶m)) { param 877 tools/perf/util/evsel.c if (param.record_mode == CALLCHAIN_DWARF) param 883 tools/perf/util/evsel.c param.dump_size = dump_size; param 891 tools/perf/util/evsel.c if (param.enabled) { param 897 tools/perf/util/evsel.c perf_evsel__config_callchain(evsel, opts, ¶m); param 16 tools/perf/util/expr.y %parse-param { double *final_val } param 17 tools/perf/util/expr.y %parse-param { struct parse_ctx *ctx } param 18 tools/perf/util/expr.y %parse-param { const char **pp } param 19 tools/perf/util/expr.y %lex-param { const char **pp } param 639 tools/perf/util/parse-events.c struct __add_bpf_event_param *param = _param; param 640 tools/perf/util/parse-events.c struct parse_events_state *parse_state = param->parse_state; param 641 tools/perf/util/parse-events.c struct list_head *list = param->list; param 659 tools/perf/util/parse-events.c param->head_config); param 690 tools/perf/util/parse-events.c struct __add_bpf_event_param param = {parse_state, list, head_config}; param 722 tools/perf/util/parse-events.c err = bpf__foreach_event(obj, add_bpf_event, ¶m); param 2 tools/perf/util/parse-events.y %parse-param {void *_parse_state} param 3 tools/perf/util/parse-events.y %parse-param {void *scanner} param 4 tools/perf/util/parse-events.y %lex-param {void* scanner} param 2 tools/perf/util/pmu.y %parse-param {struct list_head *format} param 3 tools/perf/util/pmu.y %parse-param {char *name} param 983 tools/perf/util/probe-finder.c struct dwarf_callback_param *param = data; param 984 tools/perf/util/probe-finder.c struct probe_finder *pf = param->data; param 1002 tools/perf/util/probe-finder.c param->retval = find_probe_point_by_line(pf); param 1010 tools/perf/util/probe-finder.c param->retval = 0; param 1013 tools/perf/util/probe-finder.c param->retval = find_probe_point_lazy(sp_die, pf); param 1018 tools/perf/util/probe-finder.c param->retval = call_probe_finder(sp_die, pf); param 1022 tools/perf/util/probe-finder.c param->retval = die_walk_instances(sp_die, param 1025 tools/perf/util/probe-finder.c if (param->retval == -ENOENT) param 1026 tools/perf/util/probe-finder.c param->retval = 0; param 1030 tools/perf/util/probe-finder.c if (strisglob(pp->function) && param->retval >= 0) { param 1031 tools/perf/util/probe-finder.c param->retval = 0; /* We have to clear the result */ param 1056 tools/perf/util/probe-finder.c struct pubname_callback_param *param = data; param 1058 tools/perf/util/probe-finder.c if (dwarf_offdie(dbg, gl->die_offset, param->sp_die)) { param 1059 tools/perf/util/probe-finder.c if (dwarf_tag(param->sp_die) != DW_TAG_subprogram) param 1062 tools/perf/util/probe-finder.c if (die_match_name(param->sp_die, param->function)) { param 1063 tools/perf/util/probe-finder.c if (!dwarf_offdie(dbg, gl->cu_offset, param->cu_die)) param 1066 tools/perf/util/probe-finder.c if (param->file && param 1067 tools/perf/util/probe-finder.c strtailcmp(param->file, dwarf_decl_file(param->sp_die))) param 1070 tools/perf/util/probe-finder.c param->found = 1; param 1754 tools/perf/util/probe-finder.c struct dwarf_callback_param *param = data; param 1755 tools/perf/util/probe-finder.c struct line_finder *lf = param->data; param 1777 tools/perf/util/probe-finder.c param->retval = die_walk_instances(sp_die, param 1780 tools/perf/util/probe-finder.c param->retval = find_line_range_by_line(sp_die, lf); param 1788 tools/perf/util/probe-finder.c struct dwarf_callback_param param = {.data = (void *)lf, .retval = 0}; param 1789 tools/perf/util/probe-finder.c dwarf_getfuncs(&lf->cu_die, line_range_search_cb, ¶m, 0); param 1790 tools/perf/util/probe-finder.c return param.retval; param 52 tools/perf/util/python.c struct callchain_param *param __maybe_unused) param 104 tools/power/cpupower/bench/system.c struct sched_param param; param 108 tools/power/cpupower/bench/system.c param.sched_priority = priority; param 110 tools/power/cpupower/bench/system.c if (sched_setscheduler(0, SCHEDULER, ¶m) < 0) { param 29 tools/power/cpupower/utils/cpuidle-set.c int ret = 0, cont = 1, param = 0, disabled; param 40 tools/power/cpupower/utils/cpuidle-set.c param = '?'; param 44 tools/power/cpupower/utils/cpuidle-set.c if (param) { param 45 tools/power/cpupower/utils/cpuidle-set.c param = -1; param 49 tools/power/cpupower/utils/cpuidle-set.c param = ret; param 53 tools/power/cpupower/utils/cpuidle-set.c if (param) { param 54 tools/power/cpupower/utils/cpuidle-set.c param = -1; param 58 tools/power/cpupower/utils/cpuidle-set.c param = ret; param 62 tools/power/cpupower/utils/cpuidle-set.c if (param) { param 63 tools/power/cpupower/utils/cpuidle-set.c param = -1; param 67 tools/power/cpupower/utils/cpuidle-set.c param = ret; param 75 tools/power/cpupower/utils/cpuidle-set.c if (param) { param 76 tools/power/cpupower/utils/cpuidle-set.c param = -1; param 80 tools/power/cpupower/utils/cpuidle-set.c param = ret; param 88 tools/power/cpupower/utils/cpuidle-set.c switch (param) { param 115 tools/power/cpupower/utils/cpuidle-set.c switch (param) { param 128 tools/power/cpupower/utils/cpupower.c const char *param = (*argv)[x]; param 129 tools/power/cpupower/utils/cpupower.c if (!strcmp(param, "-h") || !strcmp(param, "--help")) { param 132 tools/power/cpupower/utils/cpupower.c } else if (!strcmp(param, "-c") || !strcmp(param, "--cpu")) { param 152 tools/power/cpupower/utils/cpupower.c } else if (!strcmp(param, "-v") || param 153 tools/power/cpupower/utils/cpupower.c !strcmp(param, "--version")) { param 157 tools/power/cpupower/utils/cpupower.c } else if (!strcmp(param, "-d") || !strcmp(param, "--debug")) { param 163 tools/power/cpupower/utils/cpupower.c fprintf(stderr, "Unknown option: %s\n", param); param 220 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c static void parse_monitor_param(char *param) param 224 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c char *tmp = param, *token; param 248 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c "try -l option\n"), param); param 707 tools/power/x86/intel-speed-select/isst-core.c unsigned int param; param 716 tools/power/x86/intel-speed-select/isst-core.c param = BIT(MBOX_CMD_WRITE_BIT) | clos; param 718 tools/power/x86/intel-speed-select/isst-core.c ret = isst_send_mbox_command(cpu, CONFIG_CLOS, CLOS_PM_CLOS, param, req, param 723 tools/power/x86/intel-speed-select/isst-core.c debug_printf("cpu:%d CLOS_PM_CLOS param:%x req:%x\n", cpu, param, req); param 731 tools/power/x86/intel-speed-select/isst-core.c unsigned int param; param 735 tools/power/x86/intel-speed-select/isst-core.c param = core_id; param 737 tools/power/x86/intel-speed-select/isst-core.c ret = isst_send_mbox_command(cpu, CONFIG_CLOS, CLOS_PQR_ASSOC, param, 0, param 742 tools/power/x86/intel-speed-select/isst-core.c debug_printf("cpu:%d CLOS_PQR_ASSOC param:%x resp:%x\n", cpu, param, param 752 tools/power/x86/intel-speed-select/isst-core.c unsigned int param; param 757 tools/power/x86/intel-speed-select/isst-core.c param = BIT(MBOX_CMD_WRITE_BIT) | core_id; param 759 tools/power/x86/intel-speed-select/isst-core.c ret = isst_send_mbox_command(cpu, CONFIG_CLOS, CLOS_PQR_ASSOC, param, param 764 tools/power/x86/intel-speed-select/isst-core.c debug_printf("cpu:%d CLOS_PQR_ASSOC param:%x req:%x\n", cpu, param, param 151 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_lwt_seg6_action)(void *ctx, unsigned int action, void *param, param 401 tools/testing/selftests/powerpc/mm/tlbie_test.c struct sched_param param; param 407 tools/testing/selftests/powerpc/mm/tlbie_test.c param.sched_priority = 1; param 408 tools/testing/selftests/powerpc/mm/tlbie_test.c if (0 && sched_setscheduler(0, SCHED_FIFO, ¶m) == -1) { param 417 tools/testing/selftests/powerpc/mm/tlbie_test.c struct sched_param param; param 423 tools/testing/selftests/powerpc/mm/tlbie_test.c param.sched_priority = 1; param 424 tools/testing/selftests/powerpc/mm/tlbie_test.c if (0 && sched_setscheduler(0, SCHED_FIFO, ¶m) == -1) { param 124 tools/usb/testusb.c struct usbtest_param param; param 280 tools/usb/testusb.c usbdev_ioctl (int fd, int ifno, unsigned request, void *param) param 286 tools/usb/testusb.c wrapper.data = param; param 306 tools/usb/testusb.c dev->param.test_num = i; param 309 tools/usb/testusb.c USBTEST_REQUEST, &dev->param); param 328 tools/usb/testusb.c (int) dev->param.duration.tv_sec, param 329 tools/usb/testusb.c (int) dev->param.duration.tv_usec); param 372 tools/usb/testusb.c struct usbtest_param param; param 385 tools/usb/testusb.c param.iterations = 1000; param 386 tools/usb/testusb.c param.length = 1024; param 387 tools/usb/testusb.c param.vary = 1024; param 388 tools/usb/testusb.c param.sglen = 32; param 406 tools/usb/testusb.c if (parse_num(¶m.iterations, optarg)) param 410 tools/usb/testusb.c if (parse_num(¶m.sglen, optarg)) param 420 tools/usb/testusb.c if (parse_num(¶m.length, optarg)) param 429 tools/usb/testusb.c if (parse_num(¶m.vary, optarg)) param 488 tools/usb/testusb.c entry->param = param; param 510 tools/usb/testusb.c dev.param = param; param 23 tools/virtio/ringtest/main.c int param = 0; param 342 tools/virtio/ringtest/main.c param = c; param 13 tools/virtio/ringtest/main.h extern int param; param 123 tools/virtio/ringtest/ptr_ring.c if (param) param 124 tools/virtio/ringtest/ptr_ring.c array.batch = param; param 279 virt/kvm/vfio.c struct kvm_vfio_spapr_tce param; param 286 virt/kvm/vfio.c if (copy_from_user(¶m, (void __user *)arg, param 290 virt/kvm/vfio.c f = fdget(param.groupfd); param 315 virt/kvm/vfio.c param.tablefd, grp);