| /linux/drivers/gpio/ |
| H A D | gpio-raspberrypi-exp.c | 57 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 D | bounded.rs | 390 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/tools/net/ynl/pyynl/lib/ |
| H A D | nlspec.py | 56 def get(self, key, default=None): member in SpecElement 57 return self.yaml.get(key, default) 85 self.doc = yaml.get('doc', '') 126 value_start = self.yaml.get('value-start', 0) 183 self.is_multi = yaml.get('multi-attr', False) 184 self.struct_name = yaml.get('struct') 185 self.sub_type = yaml.get('sub-type') 186 self.byte_order = yaml.get('byte-order') 187 self.len = yaml.get('len') 188 self.display_hint = yaml.get('display-hint') [all …]
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_dma.c | 73 int cnt = 0, get; in nouveau_dma_wait() local 76 get = READ_GET(chan, &prev_get, &cnt); in nouveau_dma_wait() 77 if (unlikely(get == -EBUSY)) in nouveau_dma_wait() 89 if (unlikely(get == -EINVAL) || get < NOUVEAU_DMA_SKIPS) in nouveau_dma_wait() 92 if (get <= chan->dma.cur) { in nouveau_dma_wait() 122 get = READ_GET(chan, &prev_get, &cnt); in nouveau_dma_wait() 123 if (unlikely(get == -EBUSY)) in nouveau_dma_wait() 125 if (unlikely(get == -EINVAL)) in nouveau_dma_wait() 127 } while (get <= NOUVEAU_DMA_SKIPS); in nouveau_dma_wait() 143 chan->dma.free = get - chan->dma.cur - 1; in nouveau_dma_wait()
|
| /linux/arch/arm/mach-omap2/ |
| H A D | sram243x.S | 37 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 …]
|
| H A D | sram242x.S | 37 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 …]
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fb_fillrect.h | 107 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 D | nl_netdev.py | 58 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 …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | shaper.py | 12 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 68 shaper_q0 = nl_shaper.get({'ifindex': cfg.ifindex, 74 shaper_q1 = nl_shaper.get({'ifindex': cfg.ifindex, 82 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 102 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 122 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 134 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 165 shaper = nl_shaper.get({'ifindex': cfg.ifindex, 179 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 219 shaper = nl_shaper.get({'ifindex': cfg.ifindex, [all …]
|
| H A D | ring_reconfig.py | 40 get = cfg.eth.channels_get(ehdr) 42 ksft_eq(get.get(k, 0), v) 86 if chans.get('combined-count', 0) > 1: 88 elif chans.get('rx-count', 0) > 1 and chans.get('tx-count', 0) > 1: 135 get = cfg.eth.rings_get(ehdr) 136 ksft_eq(get[param], val)
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_mdb.sh | 152 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 dev br0 $grp_key vid 20 &> /dev/null [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | rss_api.py | 96 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/rust/kernel/net/ |
| H A D | phy.rs | 96 let phydev = self.0.get(); in phy_id() 104 let phydev = self.0.get(); in state() 132 let bit_field = unsafe { &(*self.0.get())._bitfield_1 }; in is_link_up() 133 bit_field.get(14, 1) == LINK_IS_UP in is_link_up() 144 let bit_field = unsafe { &(*self.0.get())._bitfield_1 }; in is_autoneg_enabled() 145 bit_field.get(13, 1) == u64::from(bindings::AUTONEG_ENABLE) in is_autoneg_enabled() 157 let bit_field = unsafe { &(*self.0.get())._bitfield_1 }; in is_autoneg_completed() 158 bit_field.get(15, 1) == AUTONEG_COMPLETED in is_autoneg_completed() 163 let phydev = self.0.get(); in set_speed() 171 let phydev = self.0.get(); in set_duplex() [all …]
|
| /linux/rust/kernel/ptr/ |
| H A D | projection.rs | 43 fn get(self, slice: *mut T) -> Option<*mut Self::Output>; in get() method 48 Self::get(self, slice).unwrap_or_else(|| build_error!()) in index() 62 fn get(self, slice: *mut [T; N]) -> Option<*mut Self::Output> { in get() function 63 <I as ProjectIndex<[T]>>::get(self, slice) 78 fn get(self, slice: *mut [T]) -> Option<*mut T> { in get() method 93 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { in get() method 110 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { in get() method 111 (0..self.end).get(slice) in get() 120 fn get(self, slice: *mut [T]) -> Option<*mut [T]> { in get() method 121 (self.start..slice.len()).get(slice) in get() [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_sysfs_rl.c | 105 static int get_param_u(struct device *dev, enum rl_params param, u64 *get) in get_param_u() argument 120 *get = data->input.rp_mask; in get_param_u() 123 *get = data->input.cir; in get_param_u() 126 *get = data->input.pir; in get_param_u() 129 *get = data->input.srv; in get_param_u() 163 u64 get; in rp_show() local 165 ret = get_param_u(dev, RP_MASK, &get); in rp_show() 169 return sysfs_emit(buf, "%#llx\n", get); in rp_show() 218 u64 get; in cir_show() local 220 ret = get_param_u(dev, CIR, &get); in cir_show() [all …]
|
| /linux/tools/testing/selftests/devices/probe/ |
| H A D | test_discoverable_devices.py | 117 if controller.get("dt-mmio"): 121 if controller.get("of-fullname-regex"): 126 if controller.get("usb-version"): 130 if controller.get("acpi-uid"): 140 return device.get("type") and "controller" in device.get("type") 164 if parent_sysfs and device.get("path"): 210 if device.get("path"): 213 if device.get("type"): 215 if device.get("usb-version"): 217 if device.get("acpi-uid") is not None: [all …]
|
| /linux/tools/lib/python/kdoc/ |
| H A D | kdoc_output.py | 371 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('purpose', "")) 441 dtype = args.parametertypes.get(parameter, "") [all …]
|
| /linux/Documentation/userspace-api/gpio/ |
| H A D | chardev_v1.rst | 38 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 D | xarray.rs | 75 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/include/trace/events/ |
| H A D | gpio.h | 34 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/tools/lib/python/abi/ |
| H A D | abi_parser.py | 137 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("what", [""]) [all …]
|
| /linux/drivers/rtc/ |
| H A D | Kconfig | 150 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/drivers/hwmon/ |
| H A D | Kconfig | 45 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/rust/kernel/sync/ |
| H A D | lock.rs | 177 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()
|
| /linux/drivers/s390/char/ |
| H A D | tape_char.c | 387 struct mtget get; in __tapechar_ioctl() local 389 memset(&get, 0, sizeof(get)); in __tapechar_ioctl() 390 get.mt_type = MT_ISUNKNOWN; in __tapechar_ioctl() 391 get.mt_resid = 0 /* device->devstat.rescnt */; in __tapechar_ioctl() 392 get.mt_dsreg = in __tapechar_ioctl() 396 get.mt_gstat = 0; in __tapechar_ioctl() 397 get.mt_erreg = 0; in __tapechar_ioctl() 398 get.mt_fileno = 0; in __tapechar_ioctl() 399 get.mt_gstat = device->tape_generic_status; in __tapechar_ioctl() 408 get.mt_gstat |= GMT_BOT(~0); in __tapechar_ioctl() [all …]
|