Home
last modified time | relevance | path

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

12345678910>>...70

/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/tools/testing/selftests/drivers/net/
H A Dshaper.py55 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
102 shaper_q0 = nl_shaper.get({'ifindex': cfg.ifindex,
108 shaper_q1 = nl_shaper.get({'ifindex': cfg.ifindex,
116 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
136 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
156 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
168 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
222 shaper = nl_shaper.get({'ifindex': cfg.ifindex,
230 shaper = nl_shaper.get({'ifindex': cfg.ifindex,
235 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
[all …]
/linux/rust/kernel/num/
H A Dbounded.rs399 pub const fn get(self) -> T { in get() function
447 Bounded::<T, M>::try_new(self.get()) in try_shrink()
477 let value = unsafe { U::try_from(self.get()).unwrap_unchecked() }; in cast()
530 if shifted.get() << SHIFT == self.0 { in shr_exact()
619 self.get() == other.get() in eq()
632 self.get().partial_cmp(&other.get()) in partial_cmp()
642 self.get().cmp(&other.get()) in cmp()
654 self.get() == *other in eq()
664 self.get().partial_cmp(other) in partial_cmp()
678 self.get() + rhs.get() in add()
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py58 def get(self, key, default=None): member in SpecElement
59 return self.yaml.get(key, default)
87 self.doc = yaml.get('doc', '')
128 value_start = self.yaml.get('value-start', 0)
185 self.is_multi = yaml.get('multi-attr', False)
186 self.struct_name = yaml.get('struct')
187 self.sub_type = yaml.get('sub-type')
188 self.byte_order = yaml.get('byte-order')
189 self.len = yaml.get('len')
190 self.display_hint = yaml.get('display-hint')
[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.py27 """Test that dev-get dump rejects attributes (no dump request policy)."""
71 ksft_ne(napi0.get('pid'), None)
76 ksft_eq(napi1.get('pid'), None)
84 ksft_ne(napi0.get('pid'), None)
89 ksft_eq(napi1.get('pid'), None)
95 ksft_eq(napi0.get('pid'), None)
103 ksft_ne(napi0.get('pid'), None)
106 ksft_ne(napi1.get('pid'), None)
114 ksft_eq(napi0.get('pid'), None)
117 ksft_eq(napi1.get('pi
[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/rust/kernel/ptr/
H A Dprojection.rs30 /// `build_index` and `get` (if [`Some`] is returned) must ensure that:
35 /// This means that if the input pointer is valid, then the pointer returned by `get`, `index`
43 fn get(self, slice: *mut T) -> Option<*mut Self::Output>; in get() method
51 match Self::get(self, slice) {
68 fn get(self, slice: *mut [T; N]) -> Option<*mut Self::Output> {
69 <I as ProjectIndex<[T]>>::get(self, slice)
83 // SAFETY: `get`-returned pointer has the same provenance as `slice` and the offset is checked to in get()
89 fn get(self, slice: *mut [T]) -> Option<*mut T> {
108 // SAFETY: `get`-returned pointer has the same provenance as `slice` and the offset is checked to
114 fn get(sel
62 fn get(self, slice: *mut [T; N]) -> Option<*mut Self::Output> { get() function
78 fn get(self, slice: *mut [T]) -> Option<*mut T> { get() method
93 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { get() method
110 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { get() method
120 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { get() method
130 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { get() method
[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/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 …]
/linux/rust/kernel/
H A Dxarray.rs45 /// assert_eq!(guard.get(0), None);
48 /// assert_eq!(guard.get(0).copied(), Some(0xdead));
51 /// assert_eq!(guard.get(0).copied(), Some(0xffff));
54 /// assert_eq!(guard.get(0).copied(), Some(0xbeef));
57 /// assert_eq!(guard.get(0), None);
81 unsafe { bindings::xa_destroy(self.xa.get()) };
116 bindings::xa_find(self.xa.get(), &mut index, usize::MAX, bindings::XA_PRESENT) in iter()
121 bindings::xa_find_after(self.xa.get(), &mut index, usize::MAX, bindings::XA_PRESENT)
130 if (unsafe { bindings::xa_trylock(self.xa.get()) } != 0) { in try_lock()
143 unsafe { bindings::xa_lock(self.xa.get()) }; in lock()
192 pub fn get(&self, index: usize) -> Option<T::Borrowed<'_>> { get() method
[all...]
/linux/rust/kernel/net/
H A Dphy.rs96 let phydev = self.0.get(); in phy_id()
104 let phydev = self.0.get(); in state()
128 let phydev = self.0.get().cast_const(); in is_link_up()
140 let phydev = self.0.get().cast_const(); in is_autoneg_enabled()
152 let phydev = self.0.get().cast_const(); in is_autoneg_completed()
161 let phydev = self.0.get(); in set_speed()
169 let phydev = self.0.get(); in set_duplex()
193 let phydev = self.0.get(); in read_paged()
203 let phydev = self.0.get(); in resolve_aneg_linkmode()
211 let phydev = self.0.get(); in genphy_soft_reset()
[all …]
/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/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/tools/lib/python/kdoc/
H A Dkdoc_output.py236 ln = arg.get("ln", 0)
237 dtype = arg.get('type', "")
392 self.print_lineno(args.sections_start_lines.get(section, 0))
407 func_macro = args.get('func_macro', False)
411 if args.get('functiontype'):
421 dtype = args.parametertypes.get(parameter, "")
432 if args.get('typedef') or not args.get('functiontype'):
435 if args.get('typedef'):
438 self.output_highlight(args.get('purpose', ""))
446 if not args.get('typedef'):
[all …]
/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/hwmon/
H A DKconfig45 If you say yes here you get support for the sensor part of the first
60 If you say yes here you get support for the sensor part of the
74 If you say yes here you get support for the thermal, voltage,
82 If you say yes here you get support for the Analog Devices
92 If you say yes here you get support for the Analog Devices
102 If you say yes here you get support for the Analog Devices
113 If you say yes here you get support for Analog Devices ADM1025
124 If you say yes here you get support for Analog Devices ADM1026
134 If you say yes here you get support for Analog Devices ADM1029
145 If you say yes here you get support for Analog Devices ADM1031
[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()

12345678910>>...70