| /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/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/tools/net/ynl/pyynl/lib/ |
| H A D | nlspec.py | 48 def get(self, key, default=None): member in SpecElement 49 return self.yaml.get(key, default) 77 self.doc = yaml.get('doc', '') 119 value_start = self.yaml.get('value-start', 0) 176 self.is_multi = yaml.get('multi-attr', False) 177 self.struct_name = yaml.get('struct') 178 self.sub_type = yaml.get('sub-type') 179 self.byte_order = yaml.get('byte-order') 180 self.len = yaml.get('len') 181 self.display_hint = yaml.get('display-hint') [all …]
|
| /linux/arch/arm/mach-omap2/ |
| 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 …]
|
| 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 …]
|
| /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 …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_mdb.sh | 148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 203 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 211 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 216 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "static" 221 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "123" 227 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 229 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null 233 bridge mdb get dev br0 $grp_key vid 10 &> /dev/null 235 bridge mdb get dev br0 $grp_key vid 20 &> /dev/null [all …]
|
| H A D | bridge_activity_notify.sh | 69 bridge -d fdb get "$mac" br br1 | grep -q -v "inactive" 76 bridge -d fdb get "$mac" br br1 | grep -q "inactive" 88 bridge -d fdb get "$mac" br br1 | grep -q "inactive" 113 bridge -d fdb get "$mac" br br1 | grep -q "activity_notify" 116 bridge -d fdb get "$mac" br br1 | grep -q "inactive" 142 updated_time=$(bridge -d -s -j fdb get "$mac" br br1 | jq '.[]["updated"]') 149 updated_time=$(bridge -d -s -j fdb get "$mac" br br1 | jq '.[]["updated"]')
|
| /linux/drivers/hwmon/pmbus/ |
| H A D | Kconfig | 21 If you say yes here you get hardware monitoring support for generic 33 If you say yes here you get hardware monitoring support for the ACBEL 44 If you say yes here you get hardware monitoring support for Analog 53 If you say yes here you get hardware monitoring support for Analog 64 If you say yes here you get hardware monitoring support for Analog 75 If you say yes here you get regulator support for Analog Devices 83 If you say yes here you get hardware monitoring support for BEL 92 If you say yes here you get hardware monitoring support for BluTek 101 If you say yes here you get hardware monitoring support for the Intel 110 If you say yes here you get hardware monitoring support for [all …]
|
| /linux/scripts/lib/kdoc/ |
| H A D | kdoc_output.py | 351 self.print_lineno(args.section_start_lines.get(section, 0)) 366 func_macro = args.get('func_macro', False) 370 if args.get('functiontype'): 380 dtype = args.parametertypes.get(parameter, "") 391 if args.get('typedef') or not args.get('functiontype'): 394 if args.get('typedef'): 397 self.output_highlight(args.get('purpose', "")) 405 if not args.get('typedef'): 408 self.output_highlight(args.get('purpose', "")) 421 dtype = args.parametertypes.get(parameter, "") [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/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/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/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/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/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/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/scripts/lib/abi/ |
| H A D | abi_parser.py | 134 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/Documentation/userspace-api/media/rc/ |
| H A D | lirc-func.rst | 14 lirc-get-features 15 lirc-get-send-mode 16 lirc-get-rec-mode 17 lirc-get-rec-resolution 19 lirc-get-timeout
|
| /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/s390/char/ |
| H A D | tape_char.c | 396 struct mtget get; in __tapechar_ioctl() local 398 memset(&get, 0, sizeof(get)); in __tapechar_ioctl() 399 get.mt_type = MT_ISUNKNOWN; in __tapechar_ioctl() 400 get.mt_resid = 0 /* device->devstat.rescnt */; in __tapechar_ioctl() 401 get.mt_dsreg = in __tapechar_ioctl() 405 get.mt_gstat = 0; in __tapechar_ioctl() 406 get.mt_erreg = 0; in __tapechar_ioctl() 407 get.mt_fileno = 0; in __tapechar_ioctl() 408 get.mt_gstat = device->tape_generic_status; in __tapechar_ioctl() 417 get.mt_gstat |= GMT_BOT(~0); in __tapechar_ioctl() [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 | condvar.rs | 123 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()
|