Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 1917) sorted by relevance

12345678910>>...77

/linux/drivers/gpio/
H A Dgpio-raspberrypi-exp.c57 struct gpio_get_config get; in rpi_exp_gpio_get_polarity() local
62 get.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_get_polarity()
65 &get, sizeof(get)); in rpi_exp_gpio_get_polarity()
66 if (ret || get.gpio != 0) { in rpi_exp_gpio_get_polarity()
68 off, ret, get.gpio); in rpi_exp_gpio_get_polarity()
71 return get.polarity; in rpi_exp_gpio_get_polarity()
135 struct gpio_get_config get; in rpi_exp_gpio_get_direction() local
140 get.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_get_direction()
143 &get, sizeof(get)); in rpi_exp_gpio_get_direction()
144 if (ret || get.gpio != 0) { in rpi_exp_gpio_get_direction()
[all …]
/linux/rust/kernel/num/
H A Dbounded.rs387 pub fn get(self) -> T { in get() function
437 Bounded::<T, M>::try_new(self.get()) in try_shrink()
467 let value = unsafe { U::try_from(self.get()).unwrap_unchecked() }; in cast()
535 self.get() == other.get() in eq()
548 self.get().partial_cmp(&other.get()) in partial_cmp()
558 self.get().cmp(&other.get()) in cmp()
570 self.get() == *other in eq()
580 self.get().partial_cmp(other) in partial_cmp()
594 self.get() + rhs.get() in add()
606 self.get() & rhs.get() in bitand()
[all …]
/linux/arch/arm/mach-omap2/
H A Dsram242x.S37 ldr r2, omap242x_sdi_cm_clksel2_pll @ get address of dpllout reg
47 ldr r10, [r11] @ get current val
50 mvn r9, #0x4 @ mask to get clear bit2
58 add r11, r11, #0x4 @ get addr of status reg
59 ldr r10, [r11] @ get locked value
97 ldr r4, omap242x_sdi_prcm_voltctrl @ get addr of volt ctrl.
98 ldr r5, [r4] @ get value.
99 ldr r6, prcm_mask_val @ get value of mask
103 mov r3, #0x4000 @ get val for force
107 ldr r3, omap242x_sdi_timer_32ksynct_cr @ get addr of counter
[all …]
H A Dsram243x.S37 ldr r2, omap243x_sdi_cm_clksel2_pll @ get address of dpllout reg
47 ldr r10, [r11] @ get current val
50 mvn r9, #0x4 @ mask to get clear bit2
58 add r11, r11, #0x4 @ get addr of status reg
59 ldr r10, [r11] @ get locked value
97 ldr r4, omap243x_sdi_prcm_voltctrl @ get addr of volt ctrl.
98 ldr r5, [r4] @ get value.
99 ldr r6, prcm_mask_val @ get value of mask
103 mov r3, #0x4000 @ get val for force
107 ldr r3, omap243x_sdi_timer_32ksynct_cr @ get addr of counter
[all …]
/linux/drivers/video/fbdev/core/
H A Dfb_fillrect.h107 unsigned long (*get)(struct fb_pattern *pattern), in bitfill()
119 first = get(pattern); in bitfill()
128 fb_modify_offset(get(pattern), first, 0, dst); in bitfill()
133 fb_write_offset(get(pattern), offset + 0, dst); in bitfill()
135 fb_write_offset(get(pattern), offset + 1, dst); in bitfill()
137 fb_write_offset(get(pattern), offset + 2, dst); in bitfill()
139 fb_write_offset(get(pattern), offset + 3, dst); in bitfill()
143 fb_write_offset(get(pattern), offset++, dst); in bitfill()
148 fb_modify_offset(get(pattern), last, offset, dst); in bitfill()
155 unsigned long (*get)(struct fb_pattern *pattern), in bitinvert()
[all …]
/linux/tools/testing/selftests/net/
H A Dnl_netdev.py58 ksft_ne(napi0.get('pid'), None)
63 ksft_eq(napi1.get('pid'), None)
71 ksft_ne(napi0.get('pid'), None)
76 ksft_eq(napi1.get('pid'), None)
82 ksft_eq(napi0.get('pid'), None)
90 ksft_ne(napi0.get('pid'), None)
93 ksft_ne(napi1.get('pid'), None)
101 ksft_eq(napi0.get('pid'), None)
104 ksft_eq(napi1.get('pid'), None)
110 ksft_ne(napi0.get('pid'), None)
[all …]
H A Dfib_tests.sh105 $IP route get fibmatch 198.51.100.2 &> /dev/null
107 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
115 $IP route get fibmatch 198.51.100.2 &> /dev/null
117 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
146 $IP route get fibmatch 203.0.113.1 &> /dev/null
148 $IP -6 route get fibmatch 2001:db8:3::1 &> /dev/null
156 $IP route get fibmatch 203.0.113.1 &> /dev/null
159 $IP -6 route get fibmatch 2001:db8:3::1 &> /dev/null
168 $IP -6 route get fibmatch 2001:db8:3::1 &> /dev/null
188 $IP route get fibmatch 198.51.100.2 &> /dev/null
[all …]
H A Darp_ndisc_evict_nocarrier.sh48 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
75 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
101 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
119 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
136 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
152 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
169 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
186 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb.sh152 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null
159 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null
207 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
215 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
220 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "static"
225 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "123"
231 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
233 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null
237 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null
239 bridge mdb get de
[all...]
H A Dbridge_locked_port.sh192 bridge fdb get `mac_get $h1` br br0 vlan 1 &> /dev/null
200 bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
208 bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
229 bridge fdb get $mac br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
233 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp2"
236 bridge fdb get $mac br br0 vlan 1 | grep -q "locked"
240 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp1"
289 bridge fdb get $locked_mac1 br br0 vlan 1 | grep "dev $swp1" | \
294 bridge fdb get $locked_mac2 br br0 vlan 1 | grep "dev $swp2" | \
302 bridge fdb get $unlocked_mac1 br br0 vlan 1 &> /dev/null
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Drss_api.py96 ksft_eq(set(rss.get("indir", [-1])), {1})
101 ksft_eq(set(rss.get("indir", [-1])), {0, 1})
112 ksft_eq(set(rss.get("indir", [-1])), set(range(qcnt)))
132 ksft_eq(set(rss.get("indir", [-1])), {1})
141 ksft_eq(set(rss.get("indir", [-1])), {0, 1})
177 ksft_is(ntf["msg"].get("context"), None)
200 ksft_eq(ntf["msg"].get("context"), ctx_id)
225 ksft_eq(rss.get("hkey", [-1]), mod)
232 ksft_eq(rss.get("hkey", [-1]), mod)
233 ksft_eq(set(rss.get("indir", [-1])), {0, 1})
[all …]
/linux/tools/lib/python/kdoc/
H A Dkdoc_output.py354 self.print_lineno(args.section_start_lines.get(section, 0))
369 func_macro = args.get('func_macro', False)
373 if args.get('functiontype'):
383 dtype = args.parametertypes.get(parameter, "")
394 if args.get('typedef') or not args.get('functiontype'):
397 if args.get('typedef'):
400 self.output_highlight(args.get('purpose', ""))
408 if not args.get('typedef'):
411 self.output_highlight(args.get('purpose', ""))
424 dtype = args.parametertypes.get(parameter, "")
[all …]
/linux/include/trace/events/
H A Dgpio.h34 TP_PROTO(unsigned gpio, int get, int value),
36 TP_ARGS(gpio, get, value),
40 __field(int, get)
46 __entry->get = get;
51 __entry->get ? "get" : "set", __entry->value)
/linux/Documentation/userspace-api/gpio/
H A Dchardev_v1.rst38 Lines are requested from the chip using either gpio-get-linehandle-ioctl.rst
40 gpio-get-lineevent-ioctl.rst and the resulting line event is used to monitor
54 Get Line Handle <gpio-get-linehandle-ioctl>
55 Get Line Event <gpio-get-lineevent-ioctl>
56 Get Chip Info <gpio-get-chipinfo-ioctl>
57 Get Line Info <gpio-get-lineinfo-ioctl>
58 Watch Line Info <gpio-get-lineinfo-watch-ioctl>
59 Unwatch Line Info <gpio-get-lineinfo-unwatch-ioctl>
67 Line handles are created by gpio-get-linehandle-ioctl.rst and provide
70 :c:type:`request.fd<gpiohandle_request>` by gpio-get-linehandle-ioctl.rst.
[all …]
H A Dchardev.rst43 Lines are requested from the chip using gpio-v2-get-line-ioctl.rst
58 Get Line <gpio-v2-get-line-ioctl>
59 Get Chip Info <gpio-get-chipinfo-ioctl>
60 Get Line Info <gpio-v2-get-lineinfo-ioctl>
61 Watch Line Info <gpio-v2-get-lineinfo-watch-ioctl>
62 Unwatch Line Info <gpio-get-lineinfo-unwatch-ioctl>
70 Line requests are created by gpio-v2-get-line-ioctl.rst and provide
73 :c:type:`request.fd<gpio_v2_line_request>` by gpio-v2-get-line-ioctl.rst.
86 Get Line Values <gpio-v2-line-get-values-ioctl>
/linux/rust/kernel/
H A Dxarray.rs75 unsafe { bindings::xa_destroy(self.xa.get()) }; in drop()
110 bindings::xa_find(self.xa.get(), &mut index, usize::MAX, bindings::XA_PRESENT) in iter()
115 bindings::xa_find_after(self.xa.get(), &mut index, usize::MAX, bindings::XA_PRESENT) in iter()
124 if (unsafe { bindings::xa_trylock(self.xa.get()) } != 0) { in try_lock()
137 unsafe { bindings::xa_lock(self.xa.get()) }; in lock()
160 unsafe { bindings::xa_unlock(self.xa.xa.get()) }; in drop()
186 let ptr = unsafe { bindings::xa_load(self.xa.xa.get(), index) }; in load()
192 pub fn get(&self, index: usize) -> Option<T::Borrowed<'_>> { in get() method
212 let ptr = unsafe { bindings::__xa_erase(self.xa.xa.get(), index) }.cast(); in remove()
246 unsafe { bindings::__xa_store(self.xa.xa.get(), index, new, gfp.as_raw()) } in store()
/linux/tools/lib/python/abi/
H A Dabi_parser.py134 if "description" not in self.data.get(fdata.key, {}):
344 if "description" not in self.data.get(fdata.key, {}):
399 xref = self.file_refs.get(fname)
434 xref = self.file_refs.get(abi)
451 xref = self.what_refs.get(m)
466 key=lambda x: (x[1].get("type", ""),
467 x[1].get("what"))):
469 wtype = v.get("type", "Symbol")
470 file_ref = v.get("file")
471 names = v.get("what", [""])
[all …]
/linux/drivers/rtc/
H A DKconfig150 If you say yes here you get support for the
169 If you say yes here you get support for RTC function in Marvell
179 If you say yes here you get support for RTC function in Marvell
189 If you say yes here you will get support for the RTC function in the
199 If you say yes here you get support for the Abracon
209 If you say yes here you get support for the Abracon
219 If you say yes here you get support for Abracon AB080X and AB180X
230 If you say yes here you get support for the real-time clock found
241 If you say yes here you get support for the wake-timer found on
251 If you say yes here you get support for the RTC of ams AS3722 PMIC
[all …]
/linux/rust/kernel/sync/
H A Dlock.rs175 let state = unsafe { B::lock(self.state.get()) }; in lock()
188 unsafe { B::try_lock(self.state.get()).map(|state| Guard::new(self, state)) } in try_lock()
240 unsafe { B::unlock(self.lock.state.get(), &self.state) }; in do_unlocked()
244 unsafe { B::relock(self.lock.state.get(), &mut self.state) }); in do_unlocked()
271 unsafe { Pin::new_unchecked(&mut *self.lock.data.get()) } in as_mut()
280 unsafe { &*self.lock.data.get() } in deref()
290 unsafe { &mut *self.lock.data.get() } in deref_mut()
297 unsafe { B::unlock(self.lock.state.get(), &self.state) }; in drop()
309 unsafe { B::assert_is_held(lock.state.get()) }; in new()
H A Dcondvar.rs123 unsafe { bindings::init_wait(wait.get()) }; in wait_internal()
127 bindings::prepare_to_wait_exclusive(self.wait_queue_head.get(), wait.get(), wait_state) in wait_internal()
134 unsafe { bindings::finish_wait(self.wait_queue_head.get(), wait.get()) }; in wait_internal()
206 self.wait_queue_head.get(), in notify()
222 unsafe { bindings::__wake_up_sync(self.wait_queue_head.get(), TASK_NORMAL) }; in notify_sync()
/linux/Documentation/userspace-api/media/rc/
H A Dlirc-func.rst14 lirc-get-features
15 lirc-get-send-mode
16 lirc-get-rec-mode
17 lirc-get-rec-resolution
19 lirc-get-timeout
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
H A Dgv100.c37 u32 get = nvkm_rd32(device, buffer->get); in gv100_fault_buffer_process() local
39 if (put == get) in gv100_fault_buffer_process()
43 while (get != put) { in gv100_fault_buffer_process()
44 const u32 base = get * buffer->fault->func->buffer.entry_size; in gv100_fault_buffer_process()
55 if (++get == buffer->entries) in gv100_fault_buffer_process()
56 get = 0; in gv100_fault_buffer_process()
57 nvkm_wr32(device, buffer->get, get); in gv100_fault_buffer_process()
115 buffer->get = 0x100e2c + foff; in gv100_fault_buffer_info()
/linux/tools/perf/pmu-events/
H A Djevents.py334 self.compat = jd.get('Compat')
335 self.desc = fixdesc(jd.get('BriefDescription'))
336 self.long_desc = fixdesc(jd.get('PublicDescription'))
337 precise = jd.get('PEBS')
338 msr = lookup_msr(jd.get('MSRIndex'))
339 msrval = jd.get('MSRValue')
347 self.pmu = unit_to_pmu(jd.get('Unit'))
348 filter = jd.get('Filter')
349 self.unit = jd.get('ScaleUnit')
350 self.perpkg = jd.get('PerPkg')
[all …]
/linux/Documentation/userspace-api/media/dvb/
H A Dca_function_calls.rst15 ca-get-cap
16 ca-get-slot-info
17 ca-get-descr-info
18 ca-get-msg
/linux/tools/perf/scripts/python/
H A Dflamegraph.py99 if self.args.event_name and event.get("ev_name") != self.args.event_name:
102 pid = event.get("sample", {}).get("pid", 0)
115 name = entry.get("sym", {}).get("name", "[unknown]")
116 libtype = self.get_libtype_from_dso(entry.get("dso"))
119 name = event.get("symbol", "[unknown]")
120 libtype = self.get_libtype_from_dso(event.get("dso"))

12345678910>>...77