Searched refs:opt (Results 51 - 75 of 717) sorted by relevance

1234567891011>>

/linux-master/drivers/clk/mvebu/
H A Darmada-38x.c101 u32 opt = ((readl(sar) >> SAR_A380_CPU_DDR_L2_FREQ_OPT) & local
106 *mult = armada_38x_cpu_l2_ratios[opt][0];
107 *div = armada_38x_cpu_l2_ratios[opt][1];
110 *mult = armada_38x_cpu_ddr_ratios[opt][0];
111 *div = armada_38x_cpu_ddr_ratios[opt][1];
H A Dkirkwood.c88 u32 opt = (readl(sar) >> SAR_KIRKWOOD_TCLK_FREQ) & local
90 return (opt) ? 166666667 : 200000000;
110 u32 opt = SAR_KIRKWOOD_CPU_FREQ(readl(sar)); local
111 return kirkwood_cpu_freqs[opt];
132 u32 opt = SAR_KIRKWOOD_L2_RATIO(readl(sar)); local
133 *mult = kirkwood_cpu_l2_ratios[opt][0];
134 *div = kirkwood_cpu_l2_ratios[opt][1];
139 u32 opt = (readl(sar) >> SAR_KIRKWOOD_DDR_RATIO) & local
141 *mult = kirkwood_cpu_ddr_ratios[opt][0];
142 *div = kirkwood_cpu_ddr_ratios[opt][
157 u32 opt = (readl(sar) >> SAR_MV88F6180_CLK) & SAR_MV88F6180_CLK_MASK; local
179 u32 opt = (readl(sar) >> SAR_MV88F6180_CLK) & local
[all...]
/linux-master/drivers/net/ppp/
H A Dpptp.c56 struct pptp_opt *opt; local
61 opt = &sock->proto.pptp;
62 if (opt->dst_addr.sin_addr.s_addr != s_addr)
75 struct pptp_opt *opt; local
84 opt = &sock->proto.pptp;
85 if (opt->dst_addr.call_id == call_id &&
86 opt->dst_addr.sin_addr.s_addr == d_addr)
154 struct pptp_opt *opt = &po->proto.pptp; local
196 if ((opt->ppp_flags & SC_COMP_PROT) && data[0] == 0 && !islcp)
200 if ((opt
272 struct pptp_opt *opt = &po->proto.pptp; local
420 struct pptp_opt *opt = &po->proto.pptp; local
546 struct pptp_opt *opt; local
580 struct pptp_opt *opt = &po->proto.pptp; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Doption.c28 nvkm_stropt(const char *optstr, const char *opt, int *arglen) argument
34 if (!strncasecmpz(optstr, opt, len)) {
54 nvkm_boolopt(const char *optstr, const char *opt, bool value) argument
58 optstr = nvkm_stropt(optstr, opt, &arglen);
77 nvkm_longopt(const char *optstr, const char *opt, long value) argument
83 optstr = nvkm_stropt(optstr, opt, &arglen);
/linux-master/fs/qnx6/
H A Dqnx6.h69 #define clear_opt(o, opt) (o &= ~(QNX6_MOUNT_##opt))
70 #define set_opt(o, opt) (o |= (QNX6_MOUNT_##opt))
71 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \
72 QNX6_MOUNT_##opt)
/linux-master/tools/perf/tests/
H A Dpfm.c30 struct option opt; local
71 opt.value = evlist;
72 parse_libpfm_events_option(&opt,
91 struct option opt; local
156 opt.value = evlist;
157 parse_libpfm_events_option(&opt,
/linux-master/net/sched/
H A Dsch_gred.c59 struct tc_gred_qopt_offload *opt; member in struct:gred_sched
315 struct tc_gred_qopt_offload *opt = table->opt; local
320 memset(opt, 0, sizeof(*opt));
321 opt->command = command;
322 opt->handle = sch->handle;
323 opt->parent = sch->parent;
328 opt->set.grio_on = gred_rio_mode(table);
329 opt
642 gred_change(struct Qdisc *sch, struct nlattr *opt, struct netlink_ext_ack *extack) argument
732 gred_init(struct Qdisc *sch, struct nlattr *opt, struct netlink_ext_ack *extack) argument
808 struct tc_gred_qopt opt; local
[all...]
H A Dsch_fifo.c97 static int __fifo_init(struct Qdisc *sch, struct nlattr *opt, argument
103 if (opt == NULL) {
111 struct tc_fifo_qopt *ctl = nla_data(opt);
113 if (nla_len(opt) < sizeof(*ctl))
132 static int fifo_init(struct Qdisc *sch, struct nlattr *opt, argument
137 err = __fifo_init(sch, opt, extack);
145 static int fifo_hd_init(struct Qdisc *sch, struct nlattr *opt, argument
148 return __fifo_init(sch, opt, extack);
158 struct tc_fifo_qopt opt = { .limit = READ_ONCE(sch->limit) }; local
160 if (nla_put(skb, TCA_OPTIONS, sizeof(opt),
[all...]
H A Dem_ipset.c53 struct ip_set_adt_opt opt; local
80 opt.family = state.pf;
81 opt.dim = set->dim;
82 opt.flags = set->flags;
83 opt.cmdflags = 0;
84 opt.ext.timeout = ~0u;
100 ret = ip_set_test(set->index, skb, &acpar, &opt);
H A Dsch_plug.c122 static int plug_init(struct Qdisc *sch, struct nlattr *opt, argument
132 if (opt == NULL) {
136 struct tc_plug_qopt *ctl = nla_data(opt);
138 if (nla_len(opt) < sizeof(*ctl))
158 static int plug_change(struct Qdisc *sch, struct nlattr *opt, argument
164 msg = nla_data(opt);
165 if (nla_len(opt) < sizeof(*msg))
/linux-master/tools/virtio/asm/
H A Dbarrier.h20 #define dmb(opt) asm volatile("dmb " #opt : : : "memory")
/linux-master/net/ipv4/
H A Dip_forward.c67 struct ip_options *opt = &(IPCB(skb)->opt); local
76 if (unlikely(opt->optlen))
88 struct ip_options *opt = &(IPCB(skb)->opt); local
107 if (IPCB(skb)->opt.router_alert && ip_call_ra_chain(skb))
128 if (opt->is_strictroute && rt->rt_uses_gateway)
155 if (IPCB(skb)->flags & IPSKB_DOREDIRECT && !opt->srr &&
/linux-master/tools/usb/usbip/src/
H A Dusbip_unbind.c107 int opt; local
111 opt = getopt_long(argc, argv, "b:", opts, NULL);
113 if (opt == -1)
116 switch (opt) {
/linux-master/include/net/
H A Dseg6.h62 extern void seg6_icmp_srh(struct sk_buff *skb, struct inet6_skb_parm *opt);
74 struct inet6_skb_parm *opt)
78 if (opt->flags & IP6SKB_SEG6) {
79 srh = (struct ipv6_sr_hdr *)(skb->data + opt->srhoff);
73 seg6_get_daddr(struct sk_buff *skb, struct inet6_skb_parm *opt) argument
/linux-master/drivers/tty/serial/
H A Dearlycon-semihost.c23 __init early_smh_setup(struct earlycon_device *device, const char *opt) argument
/linux-master/tools/perf/ui/
H A Dui.h32 int stdio__config_color(const struct option *opt, const char *mode, int unset);
/linux-master/include/linux/
H A Dmroute6.h15 static inline int ip6_mroute_opt(int opt) argument
17 return (opt >= MRT6_BASE) && (opt <= MRT6_MAX);
20 static inline int ip6_mroute_opt(int opt) argument
/linux-master/tools/testing/selftests/media_tests/
H A Dmedia_device_test.c46 int opt; local
59 while ((opt = getopt(argc, argv, "d:")) != -1) {
60 switch (opt) {
/linux-master/samples/bpf/
H A Dtest_cgrp2_array_pin.c33 int opt; local
35 while ((opt = getopt(argc, argv, "F:U:v:")) != -1) {
36 switch (opt) {
/linux-master/arch/x86/pci/
H A Dpcbios.c368 struct irq_routing_options opt; local
378 opt.table = (struct irq_info *) page;
379 opt.size = PAGE_SIZE;
380 opt.segment = __KERNEL_DS;
393 "=m" (opt)
396 "D" ((long) &opt),
398 "m" (opt)
400 DBG("OK ret=%d, size=%d, map=%x\n", ret, opt.size, map);
404 } else if (opt.size) {
405 rt = kmalloc(sizeof(struct irq_routing_table) + opt
[all...]
/linux-master/tools/testing/selftests/timers/
H A Dset-2038.c77 int opt, dangerous = 0; local
81 while ((opt = getopt(argc, argv, "d")) != -1) {
82 switch (opt) {
/linux-master/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c68 struct rnbd_map_options *opt)
106 strscpy(opt->sessname, p, NAME_MAX);
124 *opt->dest_port,
125 &opt->paths[p_cnt]);
149 strscpy(opt->pathname, p, NAME_MAX);
161 *opt->dest_port = dest_port;
172 *opt->access_mode = RNBD_ACCESS_RO;
174 *opt->access_mode = RNBD_ACCESS_RW;
176 *opt->access_mode = RNBD_ACCESS_MIGRATION;
198 *opt
67 rnbd_clt_parse_map_options(const char *buf, size_t max_path_cnt, struct rnbd_map_options *opt) argument
301 char *opt, *options; local
403 char *opt, *options; local
567 struct rnbd_map_options opt; local
[all...]
/linux-master/lib/zstd/compress/
H A Dzstd_opt.c29 # define WEIGHT(stat, opt) ((void)opt, ZSTD_bitWeight(stat))
33 # define WEIGHT(stat,opt) ((void)opt, ZSTD_fracWeight(stat))
34 #else /* opt==approx, ultra==accurate */
37 # define WEIGHT(stat,opt) (opt ? ZSTD_fracWeight(stat) : ZSTD_bitWeight(stat))
1044 optState_t* const optStatePtr = &ms->opt;
1060 ZSTD_optimal_t* const opt = optStatePtr->priceTable; local
1088 /* initialize opt[
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_hdr_options.c117 static int parse_test_option(struct bpf_test_option *opt, const __u8 *start) argument
119 opt->flags = *start++;
121 if (TEST_OPTION_FLAGS(opt->flags, OPTION_MAX_DELACK_MS))
122 opt->max_delack_ms = *start++;
124 if (TEST_OPTION_FLAGS(opt->flags, OPTION_RAND))
125 opt->rand = *start++;
191 struct bpf_test_option opt; local
199 opt = passive_synack_out;
201 SET_OPTION_FLAGS(opt.flags, OPTION_RESEND);
203 return store_option(skops, &opt);
234 struct bpf_test_option *opt; local
263 struct bpf_test_option *opt; local
[all...]
/linux-master/net/ipv6/
H A Ddatagram.c76 struct ipv6_txoptions *opt; local
92 opt = flowlabel ? flowlabel->opt : rcu_dereference(np->opt);
93 final_p = fl6_update_dst(&fl6, opt, &final);
624 struct inet6_skb_parm *opt = IP6CB(skb); local
644 if (np->rxopt.bits.hopopts && (opt->flags & IP6SKB_HOPBYHOP)) {
649 if (opt->lastopt &&
663 while (off <= opt->lastopt) {
698 src_info.ipi6_ifindex = opt
767 struct ipv6_txoptions *opt = ipc6->opt; local
[all...]

Completed in 304 milliseconds

1234567891011>>