/linux/drivers/media/i2c/ |
H A D | ar0521.c | 85 #define be cpu_to_be16 macro 194 __be16 buf[2] = {be(reg), be(val)}; in ar0521_write_reg() 209 be(AR0521_REG_FRAME_LENGTH_LINES), in ar0521_set_geometry() 210 be(sensor->fmt.height + sensor->ctrls.vblank->val), in ar0521_set_geometry() 211 be(sensor->fmt.width + sensor->ctrls.hblank->val), in ar0521_set_geometry() 212 be(x), in ar0521_set_geometry() 213 be(y), in ar0521_set_geometry() 214 be(x + sensor->fmt.width - 1), in ar0521_set_geometry() 215 be(y + sensor->fmt.height - 1), in ar0521_set_geometry() 216 be(sensor->fmt.width), in ar0521_set_geometry() [all …]
|
/linux/fs/nfs/blocklayout/ |
H A D | extent_tree.c | 27 ext_tree_prev(struct pnfs_block_extent *be) in ext_tree_prev() argument 29 struct rb_node *node = rb_prev(&be->be_node); in ext_tree_prev() 34 ext_tree_next(struct pnfs_block_extent *be) in ext_tree_next() argument 36 struct rb_node *node = rb_next(&be->be_node); in ext_tree_next() 41 ext_f_end(struct pnfs_block_extent *be) in ext_f_end() argument 43 return be->be_f_offset + be->be_length; in ext_f_end() 50 struct pnfs_block_extent *be = NULL; in __ext_tree_search() local 53 be = ext_node(node); in __ext_tree_search() 54 if (start < be->be_f_offset) in __ext_tree_search() 56 else if (start >= ext_f_end(be)) in __ext_tree_search() [all …]
|
H A D | blocklayout.c | 52 static bool is_hole(struct pnfs_block_extent *be) in is_hole() argument 54 switch (be->be_state) { in is_hole() 58 return be->be_tag ? false : true; in is_hole() 126 struct pnfs_block_extent *be, bio_end_io_t end_io, in do_add_page_to_bio() argument 130 container_of(be->be_device, struct pnfs_block_dev, node); in do_add_page_to_bio() 137 isect += be->be_v_offset; in do_add_page_to_bio() 138 isect -= be->be_f_offset; in do_add_page_to_bio() 174 struct pnfs_block_extent be; in bl_mark_devices_unavailable() local 180 if (!ext_tree_lookup(bl, isect, &be, rw)) in bl_mark_devices_unavailable() 182 extent_length = be.be_length - (isect - be.be_f_offset); in bl_mark_devices_unavailable() [all …]
|
/linux/tools/perf/util/ |
H A D | genelf_debug.c | 47 buffer_ext_dump(struct buffer_ext *be, const char *msg) in buffer_ext_dump() argument 51 for (i = 0 ; i < be->cur_pos; i++) in buffer_ext_dump() 52 warnx("%4zu 0x%02x", i, (((char *)be->data)[i]) & 0xff); in buffer_ext_dump() 56 buffer_ext_add(struct buffer_ext *be, void *addr, size_t sz) in buffer_ext_add() argument 59 size_t be_sz = be->max_sz; in buffer_ext_add() 62 if ((be->cur_pos + sz) < be_sz) { in buffer_ext_add() 63 memcpy(be->data + be->cur_pos, addr, sz); in buffer_ext_add() 64 be->cur_pos += sz; in buffer_ext_add() 73 tmp = realloc(be->data, be_sz); in buffer_ext_add() 77 be->data = tmp; in buffer_ext_add() [all …]
|
/linux/drivers/net/xen-netback/ |
H A D | xenbus.c | 13 static int connect_data_rings(struct backend_info *be, 15 static void connect(struct backend_info *be); 16 static int read_xenbus_vif_flags(struct backend_info *be); 17 static int backend_create_xenvif(struct backend_info *be); 18 static void unregister_hotplug_status_watch(struct backend_info *be); 20 static void set_backend_state(struct backend_info *be, 206 struct backend_info *be = dev_get_drvdata(&xdev->dev); in netback_uevent() local 208 if (!be) in netback_uevent() 211 if (add_uevent_var(env, "script=%s", be->hotplug_script)) in netback_uevent() 214 if (!be->vif) in netback_uevent() [all …]
|
/linux/fs/btrfs/ |
H A D | ref-verify.c | 99 struct block_entry *be) in insert_block_entry() argument 103 node = rb_find_add(&be->node, root, block_entry_bytenr_cmp); in insert_block_entry() 217 static void free_block_entry(struct block_entry *be) in free_block_entry() argument 224 while ((n = rb_first(&be->roots))) { in free_block_entry() 226 rb_erase(&re->node, &be->roots); in free_block_entry() 230 while((n = rb_first(&be->refs))) { in free_block_entry() 232 rb_erase(&ref->node, &be->refs); in free_block_entry() 236 while (!list_empty(&be->actions)) { in free_block_entry() 237 ra = list_first_entry(&be->actions, struct ref_action, in free_block_entry() 242 kfree(be); in free_block_entry() [all …]
|
/linux/sound/soc/meson/ |
H A D | axg-card.c | 45 struct axg_dai_link_tdm_data *be = in axg_card_tdm_be_hw_params() local 48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in axg_card_tdm_be_hw_params() 58 struct axg_dai_link_tdm_data *be = in axg_card_tdm_dai_init() local 65 be->codec_masks[i].tx, in axg_card_tdm_dai_init() 66 be->codec_masks[i].rx, in axg_card_tdm_dai_init() 67 be->slots, be->slot_width); in axg_card_tdm_dai_init() 75 ret = axg_tdm_set_tdm_slots(snd_soc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init() 76 be->slots, be->slot_width); in axg_card_tdm_dai_init() 88 struct axg_dai_link_tdm_data *be = in axg_card_tdm_dai_lb_init() local 93 ret = axg_tdm_set_tdm_slots(snd_soc_rtd_to_cpu(rtd, 0), NULL, be->tx_mask, in axg_card_tdm_dai_lb_init() [all …]
|
/linux/drivers/block/xen-blkback/ |
H A D | xenbus.c | 38 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be) in xen_blkbk_xenbus() argument 40 return be->dev; in xen_blkbk_xenbus() 58 struct xenbus_device *dev = blkif->be->dev; in blkback_name() 88 if (blkif->be->dev->state == XenbusStateConnected) in xen_update_blkif_status() 92 connect(blkif->be); in xen_update_blkif_status() 93 if (blkif->be->dev->state != XenbusStateConnected) in xen_update_blkif_status() 98 xenbus_dev_error(blkif->be->dev, err, "get blkback dev name"); in xen_update_blkif_status() 104 xenbus_dev_error(blkif->be->dev, err, "block flush"); in xen_update_blkif_status() 115 xenbus_dev_fatal(blkif->be->dev, err, in xen_update_blkif_status() 205 err = xenbus_map_ring_valloc(blkif->be->dev, gref, nr_grefs, in xen_blkif_map() [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | booting.rst | 20 hypervisor code, or it may just be a handful of instructions for 53 The device tree blob (dtb) must be placed on an 8-byte boundary and must 54 not exceed 2 megabytes in size. Since the dtb will be mapped cacheable 55 using blocks of up to 2 megabytes in size, it must not be placed within 56 any 2M region which must be mapped with any specific attributes. 58 NOTE: versions prior to v4.2 also require that the DTB be placed within 67 therefore requires decompression (gzip etc.) to be performed by the boot 106 little-endian and must be respected. Where image_size is zero, 107 text_offset can be assumed to be 0x80000. 123 2MB aligned base should be as close as possible [all …]
|
H A D | gcs.rst | 9 intended to be exhaustive. 28 GCSPR_EL0. This is readable by userspace but can only be updated 43 at runtime this should be done with great care. 47 * GCS specific errors (those reported with EC 0x2d) will be reported as 56 in LR match those in the GCS, the LR will be ignored. This is not supported 66 should be used. 82 status of the specified GCS mode bits will be rejected. 84 * PR_LOCK_SHADOW_STACK_STATUS allows any bit to be locked, this allows 91 thread that called them, any other running threads will be unaffected. 97 * The current GCS configuration for a thread may be read with the [all …]
|
/linux/sound/soc/ |
H A D | soc-pcm.c | 49 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_update() argument 53 be->dpcm[stream].runtime_update)) in snd_soc_dpcm_can_be_update() 59 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state() argument 69 for_each_dpcm_fe(be, stream, dpcm) { in snd_soc_dpcm_check_state() 92 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop() argument 100 return snd_soc_dpcm_check_state(fe, be, stream, state, ARRAY_SIZE(state)); in snd_soc_dpcm_can_be_free_stop() 108 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params() argument 117 return snd_soc_dpcm_check_state(fe, be, stream, state, ARRAY_SIZE(state)); in snd_soc_dpcm_can_be_params() 125 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_prepared() argument 133 return snd_soc_dpcm_check_state(fe, be, stream, state, ARRAY_SIZE(state)); in snd_soc_dpcm_can_be_prepared() [all …]
|
/linux/net/netfilter/ |
H A D | nft_set_bitmap.c | 101 struct nft_bitmap_elem *be; in nft_bitmap_elem_find() local 103 list_for_each_entry_rcu(be, &priv->list, head, in nft_bitmap_elem_find() 105 if (memcmp(nft_set_ext_key(&be->ext), in nft_bitmap_elem_find() 107 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_elem_find() 110 return be; in nft_bitmap_elem_find() 121 struct nft_bitmap_elem *be; in nft_bitmap_get() local 123 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_get() 124 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get() 125 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_get() 128 return &be->priv; in nft_bitmap_get() [all …]
|
/linux/Documentation/watchdog/ |
H A D | watchdog-parameters.rst | 7 be listed here unless the driver has its own driver-specific information 21 timeout. Setting this to a non-zero value can be useful to ensure that 33 Watchdog cannot be stopped once started 46 Watchdog cannot be stopped once started 55 Watchdog cannot be stopped once started 67 Watchdog cannot be stopped once started 94 Watchdog cannot be stopped once started 103 Watchdog cannot be stopped once started 112 Watchdog cannot be stopped once started 137 Watchdog cannot be stopped once started [all …]
|
/linux/drivers/hwmon/ |
H A D | Kconfig | 23 This support can also be built as a module. If so, the module 24 will be called hwmon. 48 chip can be found on Abit uGuru featuring motherboards (most modern 53 This driver can also be built as a module. If so, the module 54 will be called abituguru. 63 uGuru chip can be found on recent Abit motherboards (since end 67 This driver can also be built as a module. If so, the module 68 will be called abituguru3. 85 This driver can also be built as a module. If so, the module 86 will be called ad7314. [all …]
|
/linux/drivers/i2c/busses/ |
H A D | Kconfig | 23 If you say yes to this option, support will be included for the SMB 28 This driver can also be built as a module. If so, the module 29 will be called i2c-ali1535. 35 If you say yes to this option, support will be included for the SMB 40 This driver can also be built as a module. If so, the module 41 will be called i2c-ali1563. 47 If you say yes to this option, support will be included for the 50 This driver can also be built as a module. If so, the module 51 will be called i2c-ali15x3. 57 If you say yes to this option, support will be included for the AMD [all …]
|
/linux/drivers/rtc/ |
H A D | Kconfig | 20 be allowed to plug one or more RTCs to your system. You will 29 If you say yes here, the system time (wall clock) will be set using 38 The RTC device that will be used to (re)initialize the system 44 This clock should be battery-backed, so that it reads the correct 49 be useful to reinitialize system time when resuming from system 57 If you say yes here, the system time (wall clock) will be stored 114 Other RTCs will not be available through that API. 129 can be accessed as /dev/rtc, which is a name 151 RTC test driver. It's a software RTC which can be 158 This driver can also be built as a module. If so, the module [all …]
|
/linux/lib/ |
H A D | test_uuid.c | 15 uuid_t be; member 22 .be = UUID_INIT(0xc33f4995, 0x3701, 0x450e, 0x9f, 0xbf, 0x20, 0x6a, 0x2e, 0x98, 0xe5, 0x76), 27 .be = UUID_INIT(0x64b4371c, 0x77c1, 0x48f9, 0x82, 0x21, 0x29, 0xf0, 0x54, 0xfc, 0x02, 0x3b), 32 .be = UUID_INIT(0x0cb4ddff, 0xa545, 0x4401, 0x9d, 0x06, 0x68, 0x8a, 0xf5, 0x3e, 0x7f, 0x84), 45 static void __init test_uuid_failed(const char *prefix, bool wrong, bool be, in test_uuid_failed() argument 52 be ? "BE" : "LE", in test_uuid_failed() 65 uuid_t be; in test_uuid_test() local 81 if (uuid_parse(data->uuid, &be)) in test_uuid_test() 85 if (!uuid_equal(&data->be, &be)) { in test_uuid_test() 86 sprintf(buf, "%pUb", &be); in test_uuid_test() [all …]
|
/linux/drivers/i2c/muxes/ |
H A D | Kconfig | 14 If you say yes to this option, support will be included for an 19 This driver can also be built as a module. If so, the module 20 will be called i2c-arb-gpio-challenge. 26 If you say yes to this option, support will be included for a 31 This driver can also be built as a module. If so, the module 32 will be called i2c-mux-gpio. 39 If you say yes to this option, support will be included for a 44 This driver can also be built as a module. If so, the module 45 will be called i2c-mux-gpmux. 55 This driver can also be built as a module. If so, the module [all …]
|
/linux/drivers/net/phy/ |
H A D | mdio-boardinfo.c | 35 struct mdio_board_entry *be, *tmp; in mdiobus_setup_mdiodev_from_board_info() local 38 list_for_each_entry_safe(be, tmp, &mdio_board_list, list) { in mdiobus_setup_mdiodev_from_board_info() 39 struct mdio_board_info *bi = &be->board_info; in mdiobus_setup_mdiodev_from_board_info() 64 struct mdio_board_entry *be; in mdiobus_register_board_info() local 66 be = kcalloc(n, sizeof(*be), GFP_KERNEL); in mdiobus_register_board_info() 67 if (!be) in mdiobus_register_board_info() 70 for (int i = 0; i < n; i++, be++) { in mdiobus_register_board_info() 71 be->board_info = info[i]; in mdiobus_register_board_info() 73 list_add_tail(&be->list, &mdio_board_list); in mdiobus_register_board_info()
|
/linux/Documentation/driver-api/ |
H A D | vme.rst | 12 be provided to the registration function. Along with the maximum number of 16 :c:type:`struct vme_driver <vme_driver>` should be correctly set. The '.name' 19 The '.match' function allows control over which VME devices should be registered 20 with the driver. The match function should return 1 if a device should be 40 driver. The bridge number (or bus number) can be accessed using 44 :c:func:`vme_unregister_driver` and should usually be called from the device 52 be called the number of times specified during the registration. If a match 53 succeeds, a non-zero value should be returned. A zero return value indicates 56 device structure. This pointer should be saved, it will be required for 62 driver to request a specific window or DMA channel (which may be used by a [all …]
|
/linux/drivers/staging/axis-fifo/ |
H A D | axis-fifo.txt | 4 be accessed from the AXI4 memory-mapped interface. This is useful for 6 a character device that can be read/written to with standard 17 - compatible: Should be "xlnx,axi-fifo-mm-s-4.1" 18 - interrupt-names: Should be "interrupt" 19 - interrupt-parent: Should be <&intc> 22 - xlnx,axi-str-rxd-protocol: Should be "XIL_AXI_STREAM_ETH_DATA" 23 - xlnx,axi-str-rxd-tdata-width: Should be <0x20> 24 - xlnx,axi-str-txc-protocol: Should be "XIL_AXI_STREAM_ETH_CTRL" 25 - xlnx,axi-str-txc-tdata-width: Should be <0x20> 26 - xlnx,axi-str-txd-protocol: Should be "XIL_AXI_STREAM_ETH_DATA" [all …]
|
/linux/Documentation/devicetree/bindings/clock/ti/davinci/ |
H A D | da8xx-cfgchip.txt | 7 All of the clock nodes described below must be child nodes of a CFGCHIP node 13 - compatible: shall be "ti,da830-usb-phy-clocks". 14 - #clock-cells: from common clock binding; shall be set to 1. 16 - clock-names: shall be "fck", "usb_refclkin", "auxclk" 24 - compatible: shall be "ti,da830-tbclksync". 25 - #clock-cells: from common clock binding; shall be set to 0. 27 - clock-names: shall be "fck" 32 - compatible: shall be "ti,da830-div4p5ena". 33 - #clock-cells: from common clock binding; shall be set to 0. 35 - clock-names: shall be "pll0_pllout" [all …]
|
/linux/Documentation/misc-devices/ |
H A D | pci-endpoint-test.rst | 7 This driver should be used as a host side driver if the root complex is 11 The "pci_endpoint_test" driver can be used to perform the following tests. 25 should be used to perform the above tests. 31 Tests the BAR. The number of the BAR to be tested 32 should be passed as argument. 37 to be tested should be passed as argument. 40 to be tested should be passed as argument. 43 should be passed as argument (0: Legacy, 1:MSI, 2:MSI-X). 47 Perform write tests. The size of the buffer should be passed 50 Perform read tests. The size of the buffer should be passed [all …]
|
/linux/Documentation/arch/arm/ |
H A D | setup.rst | 10 kernel loader to the Linux kernel proper, and may be short lived 12 should not be referenced outside of arch/arm/kernel/setup.c:setup_arch(). 18 This parameter must be set to the page size of the machine, and 19 will be checked by the kernel. 30 This is now obsolete, and should not be used. 47 or VGA console character size. They should not be used for any other 50 It's generally a good idea to set these to be either standard VGA, or 52 all the bootup messages to be displayed correctly. 56 is otherwise unused. (should not be used for other console types, and 57 should not be used for other purposes). [all …]
|
/linux/drivers/nvmem/ |
H A D | Kconfig | 39 This driver can also be built as a module. If so, the module will 40 be called nvmem-apple-efuses. 52 This driver can also be built as a module. If so, the module 53 will be called apple-nvmem-spmi. 64 This driver can also be built as a module. If so, the module 65 will be called nvmem-bcm-ocotp. 73 This driver provides support for Broadcom's NVRAM that can be accessed 84 This driver can also be built as a module. If so, the module 85 will be called nvmem-imx-iim. 96 This driver can also be built as a module. If so, the module [all …]
|