Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 1918) 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.rs390 pub fn get(self) -> T { in get() function
440 Bounded::<T, M>::try_new(self.get()) in try_shrink()
470 let value = unsafe { U::try_from(self.get()).unwrap_unchecked() }; in cast()
538 self.get() == other.get() in eq()
551 self.get().partial_cmp(&other.get()) in partial_cmp()
561 self.get().cmp(&other.get()) in cmp()
573 self.get() == *other in eq()
583 self.get().partial_cmp(other) in partial_cmp()
597 self.get() + rhs.get() in add()
609 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.py371 self.print_lineno(args.section_start_lines.get(section, 0))
386 func_macro = args.get('func_macro', False)
390 if args.get('functiontype'):
400 dtype = args.parametertypes.get(parameter, "")
411 if args.get('typedef') or not args.get('functiontype'):
414 if args.get('typedef'):
417 self.output_highlight(args.get('purpose', ""))
425 if not args.get('typedef'):
428 self.output_highlight(args.get('purpos
[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.py137 if "description" not in self.data.get(fdata.key, {}):
347 if "description" not in self.data.get(fdata.key, {}):
402 xref = self.file_refs.get(fname)
437 xref = self.file_refs.get(abi)
454 xref = self.what_refs.get(m)
469 key=lambda x: (x[1].get("type", ""),
470 x[1].get("what"))):
472 wtype = v.get("type", "Symbol")
473 file_ref = v.get("file")
474 names = v.get("wha
[all...]
/linux/rust/kernel/sync/
H A Dlock.rs177 let state = unsafe { B::lock(self.state.get()) }; in lock()
191 unsafe { B::try_lock(self.state.get()).map(|state| Guard::new(self, state)) }
243 unsafe { B::unlock(self.lock.state.get(), &self.state) }; in do_unlocked()
247 unsafe { B::relock(self.lock.state.get(), &mut self.state) }); in do_unlocked()
274 unsafe { Pin::new_unchecked(&mut *self.lock.data.get()) }
284 unsafe { &*self.lock.data.get() }
295 unsafe { &mut *self.lock.data.get() } in drop()
303 unsafe { B::unlock(self.lock.state.get(), &self.state) };
316 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/sound/pci/ice1712/
H A Daureon.c597 * get the current register value of WM codec
1388 .get = wm_master_mute_get,
1397 .get = wm_master_vol_get,
1405 .get = wm_mute_get,
1415 .get = wm_vol_get,
1424 .get = wm_mute_get,
1434 .get = wm_vol_get,
1443 .get = wm_mute_get,
1453 .get = wm_vol_get,
1462 .get
[all...]
/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