/linux-4.19.296/drivers/iio/light/ ! |
D | opt3001.c | 154 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale() argument 177 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret() argument 187 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode() argument 191 opt->mode = mode; in opt3001_set_mode() 231 static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) in opt3001_get_lux() argument 240 if (opt->use_irq) { in opt3001_get_lux() 246 ret = i2c_smbus_write_word_swapped(opt->client, in opt3001_get_lux() 250 dev_err(opt->dev, "failed to write register %02x\n", in opt3001_get_lux() 256 opt->ok_to_ignore_lock = true; in opt3001_get_lux() 260 opt->result_ready = false; in opt3001_get_lux() [all …]
|
/linux-4.19.296/drivers/clk/mvebu/ ! |
D | orion.c | 32 u32 opt = (readl(sar) >> SAR_MV88F5181_TCLK_FREQ) & in mv88f5181_get_tclk_freq() local 34 if (opt == 0) in mv88f5181_get_tclk_freq() 36 else if (opt == 1) in mv88f5181_get_tclk_freq() 38 else if (opt == 2) in mv88f5181_get_tclk_freq() 49 u32 opt = (readl(sar) >> SAR_MV88F5181_CPU_FREQ) & in mv88f5181_get_cpu_freq() local 51 if (opt == 0) in mv88f5181_get_cpu_freq() 53 else if (opt == 1 || opt == 2) in mv88f5181_get_cpu_freq() 55 else if (opt == 3) in mv88f5181_get_cpu_freq() 64 u32 opt = (readl(sar) >> SAR_MV88F5181_CPU_FREQ) & in mv88f5181_get_clk_ratio() local 66 if (opt == 0 || opt == 1) { in mv88f5181_get_clk_ratio() [all …]
|
D | dove.c | 91 u32 opt = (readl(sar) >> SAR_DOVE_TCLK_FREQ) & in dove_get_tclk_freq() local 93 return dove_tclk_freqs[opt]; in dove_get_tclk_freq() 110 u32 opt = (readl(sar) >> SAR_DOVE_CPU_FREQ) & in dove_get_cpu_freq() local 112 return dove_cpu_freqs[opt]; in dove_get_cpu_freq() 133 u32 opt = (readl(sar) >> SAR_DOVE_L2_RATIO) & in dove_get_clk_ratio() local 135 *mult = dove_cpu_l2_ratios[opt][0]; in dove_get_clk_ratio() 136 *div = dove_cpu_l2_ratios[opt][1]; in dove_get_clk_ratio() 141 u32 opt = (readl(sar) >> SAR_DOVE_DDR_RATIO) & in dove_get_clk_ratio() local 143 *mult = dove_cpu_ddr_ratios[opt][0]; in dove_get_clk_ratio() 144 *div = dove_cpu_ddr_ratios[opt][1]; in dove_get_clk_ratio()
|
D | kirkwood.c | 90 u32 opt = (readl(sar) >> SAR_KIRKWOOD_TCLK_FREQ) & in kirkwood_get_tclk_freq() local 92 return (opt) ? 166666667 : 200000000; in kirkwood_get_tclk_freq() 112 u32 opt = SAR_KIRKWOOD_CPU_FREQ(readl(sar)); in kirkwood_get_cpu_freq() local 113 return kirkwood_cpu_freqs[opt]; in kirkwood_get_cpu_freq() 134 u32 opt = SAR_KIRKWOOD_L2_RATIO(readl(sar)); in kirkwood_get_clk_ratio() local 135 *mult = kirkwood_cpu_l2_ratios[opt][0]; in kirkwood_get_clk_ratio() 136 *div = kirkwood_cpu_l2_ratios[opt][1]; in kirkwood_get_clk_ratio() 141 u32 opt = (readl(sar) >> SAR_KIRKWOOD_DDR_RATIO) & in kirkwood_get_clk_ratio() local 143 *mult = kirkwood_cpu_ddr_ratios[opt][0]; in kirkwood_get_clk_ratio() 144 *div = kirkwood_cpu_ddr_ratios[opt][1]; in kirkwood_get_clk_ratio() [all …]
|
D | mv98dx3236.c | 122 u32 opt = ((readl(sar) >> SAR1_MV98DX3236_CPU_DDR_MPLL_FREQ_OPT) & in mv98dx3236_get_clk_ratio() local 128 *mult = mv98dx4251_cpu_ddr_ratios[opt][0]; in mv98dx3236_get_clk_ratio() 129 *div = mv98dx4251_cpu_ddr_ratios[opt][1]; in mv98dx3236_get_clk_ratio() 131 *mult = mv98dx3236_cpu_ddr_ratios[opt][0]; in mv98dx3236_get_clk_ratio() 132 *div = mv98dx3236_cpu_ddr_ratios[opt][1]; in mv98dx3236_get_clk_ratio() 137 *mult = mv98dx4251_cpu_mpll_ratios[opt][0]; in mv98dx3236_get_clk_ratio() 138 *div = mv98dx4251_cpu_mpll_ratios[opt][1]; in mv98dx3236_get_clk_ratio() 140 *mult = mv98dx3236_cpu_mpll_ratios[opt][0]; in mv98dx3236_get_clk_ratio() 141 *div = mv98dx3236_cpu_mpll_ratios[opt][1]; in mv98dx3236_get_clk_ratio()
|
D | armada-xp.c | 140 u32 opt = ((readl(sar + SARL) >> SARL_AXP_FAB_FREQ_OPT) & in axp_get_clk_ratio() local 146 opt |= (((readl(sar + SARH) >> SARH_AXP_FAB_FREQ_OPT) & in axp_get_clk_ratio() 151 *mult = axp_nbclk_ratios[opt][0]; in axp_get_clk_ratio() 152 *div = axp_nbclk_ratios[opt][1]; in axp_get_clk_ratio() 155 *mult = axp_hclk_ratios[opt][0]; in axp_get_clk_ratio() 156 *div = axp_hclk_ratios[opt][1]; in axp_get_clk_ratio() 159 *mult = axp_dramclk_ratios[opt][0]; in axp_get_clk_ratio() 160 *div = axp_dramclk_ratios[opt][1]; in axp_get_clk_ratio()
|
D | armada-370.c | 118 u32 opt = ((readl(sar) >> SARL_A370_FAB_FREQ_OPT) & in a370_get_clk_ratio() local 123 *mult = a370_nbclk_ratios[opt][0]; in a370_get_clk_ratio() 124 *div = a370_nbclk_ratios[opt][1]; in a370_get_clk_ratio() 127 *mult = a370_hclk_ratios[opt][0]; in a370_get_clk_ratio() 128 *div = a370_hclk_ratios[opt][1]; in a370_get_clk_ratio() 131 *mult = a370_dramclk_ratios[opt][0]; in a370_get_clk_ratio() 132 *div = a370_dramclk_ratios[opt][1]; in a370_get_clk_ratio()
|
D | armada-375.c | 119 u32 opt = ((readl(sar) >> SAR1_A375_CPU_DDR_L2_FREQ_OPT) & in armada_375_get_clk_ratio() local 124 *mult = armada_375_cpu_l2_ratios[opt][0]; in armada_375_get_clk_ratio() 125 *div = armada_375_cpu_l2_ratios[opt][1]; in armada_375_get_clk_ratio() 128 *mult = armada_375_cpu_ddr_ratios[opt][0]; in armada_375_get_clk_ratio() 129 *div = armada_375_cpu_ddr_ratios[opt][1]; in armada_375_get_clk_ratio()
|
D | armada-38x.c | 103 u32 opt = ((readl(sar) >> SAR_A380_CPU_DDR_L2_FREQ_OPT) & in armada_38x_get_clk_ratio() local 108 *mult = armada_38x_cpu_l2_ratios[opt][0]; in armada_38x_get_clk_ratio() 109 *div = armada_38x_cpu_l2_ratios[opt][1]; in armada_38x_get_clk_ratio() 112 *mult = armada_38x_cpu_ddr_ratios[opt][0]; in armada_38x_get_clk_ratio() 113 *div = armada_38x_cpu_ddr_ratios[opt][1]; in armada_38x_get_clk_ratio()
|
/linux-4.19.296/lib/zstd/ ! |
D | zstd_opt.h | 203 opt[last_pos + 1].price = ZSTD_MAX_PRICE; \ 206 opt[pos].mlen = mlen_; \ 207 opt[pos].off = offset_; \ 208 opt[pos].litlen = litlen_; \ 209 opt[pos].price = price_; \ 423 ZSTD_optimal_t *opt = seqStorePtr->priceTable; in ZSTD_compressBlock_opt_generic() local 442 memset(opt, 0, sizeof(ZSTD_optimal_t)); in ZSTD_compressBlock_opt_generic() 464 if (mlen > last_pos || price < opt[mlen].price) in ZSTD_compressBlock_opt_generic() 494 if (mlen > last_pos || price < opt[mlen].price) in ZSTD_compressBlock_opt_generic() 509 opt[0].rep[i] = rep[i]; in ZSTD_compressBlock_opt_generic() [all …]
|
/linux-4.19.296/fs/isofs/ ! |
D | inode.c | 632 struct iso9660_options opt; in isofs_fill_super() local 646 if (!parse_options((char *)data, &opt)) in isofs_fill_super() 664 opt.blocksize = sb_min_blocksize(s, opt.blocksize); in isofs_fill_super() 667 sbi->s_session = opt.session; in isofs_fill_super() 668 sbi->s_sbsector = opt.sbsector; in isofs_fill_super() 670 vol_desc_start = (opt.sbsector != -1) ? in isofs_fill_super() 671 opt.sbsector : isofs_get_last_session(s,opt.session); in isofs_fill_super() 705 if (opt.joliet) { in isofs_fill_super() 730 opt.rock = 0; in isofs_fill_super() 758 if (joliet_level && (!pri || !opt.rock)) { in isofs_fill_super() [all …]
|
/linux-4.19.296/fs/qnx6/ ! |
D | qnx6.h | 69 #define clear_opt(o, opt) (o &= ~(QNX6_MOUNT_##opt)) argument 70 #define set_opt(o, opt) (o |= (QNX6_MOUNT_##opt)) argument 71 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ argument 72 QNX6_MOUNT_##opt)
|
/linux-4.19.296/include/linux/ ! |
D | mroute.h | 13 static inline int ip_mroute_opt(int opt) in ip_mroute_opt() argument 15 return opt >= MRT_BASE && opt <= MRT_MAX; in ip_mroute_opt() 47 static inline int ip_mroute_opt(int opt) in ip_mroute_opt() argument
|
D | mroute6.h | 14 static inline int ip6_mroute_opt(int opt) in ip6_mroute_opt() argument 16 return (opt >= MRT6_BASE) && (opt <= MRT6_MAX); in ip6_mroute_opt() 19 static inline int ip6_mroute_opt(int opt) in ip6_mroute_opt() argument
|
/linux-4.19.296/fs/ufs/ ! |
D | ufs.h | 73 #define ufs_clear_opt(o,opt) o &= ~UFS_MOUNT_##opt argument 74 #define ufs_set_opt(o,opt) o |= UFS_MOUNT_##opt argument 75 #define ufs_test_opt(o,opt) ((o) & UFS_MOUNT_##opt) argument
|
/linux-4.19.296/fs/nilfs2/ ! |
D | the_nilfs.h | 217 #define nilfs_clear_opt(nilfs, opt) \ argument 218 ((nilfs)->ns_mount_opt &= ~NILFS_MOUNT_##opt) 219 #define nilfs_set_opt(nilfs, opt) \ argument 220 ((nilfs)->ns_mount_opt |= NILFS_MOUNT_##opt) 221 #define nilfs_test_opt(nilfs, opt) ((nilfs)->ns_mount_opt & NILFS_MOUNT_##opt) argument 222 #define nilfs_write_opt(nilfs, mask, opt) \ argument 225 NILFS_MOUNT_##opt)) \
|
/linux-4.19.296/include/net/ ! |
D | ipv6.h | 270 struct ipv6_txoptions *opt; member 301 struct ipv6_txoptions *opt; member 326 struct ipv6_txoptions *opt; in txopt_get() local 329 opt = rcu_dereference(np->opt); in txopt_get() 330 if (opt) { in txopt_get() 331 if (!refcount_inc_not_zero(&opt->refcnt)) in txopt_get() 332 opt = NULL; in txopt_get() 334 opt = rcu_pointer_handoff(opt); in txopt_get() 337 return opt; in txopt_get() 340 static inline void txopt_put(struct ipv6_txoptions *opt) in txopt_put() argument [all …]
|
D | cipso_ipv4.h | 296 unsigned char *opt = *option; in cipso_v4_validate() local 298 u8 opt_len = opt[1]; in cipso_v4_validate() 307 if (get_unaligned_be32(&opt[2]) == 0) { in cipso_v4_validate() 317 tag_len = opt[opt_iter + 1]; in cipso_v4_validate() 326 *option = opt + err_offset; in cipso_v4_validate()
|
D | bond_options.h | 15 #define BOND_OPT_VALID(opt) ((opt) < BOND_OPT_LAST) argument 111 const struct bond_opt_value *bond_opt_parse(const struct bond_option *opt,
|
/linux-4.19.296/include/linux/netfilter/ipset/ ! |
D | ip_set_timeout.h | 29 #define ip_set_adt_opt_timeout(opt, set) \ argument 30 ((opt)->ext.timeout != IPSET_NO_TIMEOUT ? (opt)->ext.timeout : (set)->timeout)
|
D | ip_set.h | 161 enum ipset_adt adt, struct ip_set_adt_opt *opt); 325 struct ip_set_adt_opt *opt); 328 struct ip_set_adt_opt *opt); 331 struct ip_set_adt_opt *opt); 459 #define IP_SET_INIT_KEXT(skb, opt, set) \ argument 461 .timeout = ip_set_adt_opt_timeout(opt, set) }
|
/linux-4.19.296/drivers/hid/ ! |
D | hid-wiimote.h | 131 __u32 opt; member 299 __u32 opt) in wiimote_cmd_pending() argument 301 return wdata->state.cmd == cmd && wdata->state.opt == opt; in wiimote_cmd_pending() 333 __u32 opt) in wiimote_cmd_set() argument 337 wdata->state.opt = opt; in wiimote_cmd_set()
|
/linux-4.19.296/include/linux/ceph/ ! |
D | libceph.h | 41 #define ceph_set_opt(client, opt) \ argument 42 (client)->options->flags |= CEPH_OPT_##opt; 43 #define ceph_test_opt(client, opt) \ argument 44 (!!((client)->options->flags & CEPH_OPT_##opt)) 285 extern void ceph_destroy_options(struct ceph_options *opt); 288 struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private);
|
/linux-4.19.296/fs/affs/ ! |
D | affs.h | 123 #define affs_clear_opt(o, opt) (o &= ~AFFS_MOUNT_##opt) argument 124 #define affs_set_opt(o, opt) (o |= AFFS_MOUNT_##opt) argument 125 #define affs_test_opt(o, opt) ((o) & AFFS_MOUNT_##opt) argument
|
/linux-4.19.296/fs/reiserfs/ ! |
D | super.c | 996 const opt_desc_t *opt; in reiserfs_getopt() local 1023 for (opt = opts; opt->option_name; opt++) { in reiserfs_getopt() 1024 if (!strncmp(p, opt->option_name, strlen(opt->option_name))) { in reiserfs_getopt() 1026 if (opt->clrmask == in reiserfs_getopt() 1032 *bit_flags &= ~opt->clrmask; in reiserfs_getopt() 1033 if (opt->setmask == in reiserfs_getopt() 1039 *bit_flags |= opt->setmask; in reiserfs_getopt() 1044 if (!opt->option_name) { in reiserfs_getopt() 1050 p += strlen(opt->option_name); in reiserfs_getopt() 1053 if (!opt->arg_required) { in reiserfs_getopt() [all …]
|