| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | htab_mem_bench.c | 58 struct update_ctx update; in overwrite() local 60 update.from = bpf_get_smp_processor_id(); in overwrite() 61 update.step = nr_thread; in overwrite() 62 bpf_loop(OP_BATCH, overwrite_htab, &update, 0); in overwrite() 70 struct update_ctx update; in batch_add_batch_del() local 72 update.from = bpf_get_smp_processor_id(); in batch_add_batch_del() 73 update.step = nr_thread; in batch_add_batch_del() 74 bpf_loop(OP_BATCH, overwrite_htab, &update, 0); in batch_add_batch_del() 76 update.from = bpf_get_smp_processor_id(); in batch_add_batch_del() 77 bpf_loop(OP_BATCH, del_htab, &update, 0); in batch_add_batch_del() [all …]
|
| H A D | test_bpf_cookie.c | 25 static void update(void *ctx, __u64 *res) in update() function 36 update(ctx, &kprobe_res); in handle_kprobe() 43 update(ctx, &kretprobe_res); in handle_kretprobe() 50 update(ctx, &uprobe_res); in handle_uprobe() 57 update(ctx, &uretprobe_res); in handle_uretprobe() 69 update(ctx, &tp_res); in handle_tp1() 75 update(ctx, &tp_res); in handle_tp2() 81 update(ctx, &tp_res); in handle_tp3() 88 update(ctx, &pe_res); in handle_pe() 95 update(ctx, &raw_tp_res); in handle_raw_tp() [all …]
|
| H A D | bloom_filter_bench.c | 44 bool update; member 76 if (data->update) in bloom_callback() 97 data.update = false; in bloom_lookup() 110 data.update = true; in bloom_update()
|
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | isph3a_aewb.c | 40 if (!aewb->update) in h3a_aewb_setup_regs() 72 aewb->update = 0; in h3a_aewb_setup_regs() 183 int update = 0; in h3a_aewb_set_params() local 187 update = 1; in h3a_aewb_set_params() 191 update = 1; in h3a_aewb_set_params() 195 update = 1; in h3a_aewb_set_params() 199 update = 1; in h3a_aewb_set_params() 203 update = 1; in h3a_aewb_set_params() 207 update = 1; in h3a_aewb_set_params() 211 update = 1; in h3a_aewb_set_params() [all …]
|
| H A D | isph3a_af.c | 44 if (!af->update) in h3a_af_setup_regs() 122 af->update = 0; in h3a_af_setup_regs() 231 int update = 0; in h3a_af_set_params() local 236 update = 1; in h3a_af_set_params() 242 update = 1; in h3a_af_set_params() 246 update = 1; in h3a_af_set_params() 252 update = 1; in h3a_af_set_params() 258 update = 1; in h3a_af_set_params() 264 update = 1; in h3a_af_set_params() 269 update = 1; in h3a_af_set_params() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/nic/ |
| H A D | dcb.c | 148 static int update_dscp_maxrate(struct net_device *dev, u32 *update) in update_dscp_maxrate() argument 160 *update |= NFP_DCB_MSG_MSK_RATE; in update_dscp_maxrate() 169 *update |= NFP_DCB_MSG_MSK_DSCP; in update_dscp_maxrate() 175 static void nfp_nic_set_trust(struct nfp_net *nn, u32 *update) in nfp_nic_set_trust() argument 190 *update |= NFP_DCB_MSG_MSK_TRUST; in nfp_nic_set_trust() 193 static void nfp_nic_set_enable(struct nfp_net *nn, u32 enable, u32 *update) in nfp_nic_set_enable() argument 205 *update |= NFP_DCB_MSG_MSK_ENABLE; in nfp_nic_set_enable() 251 static void nfp_nic_ets_init(struct nfp_net *nn, u32 *update) in nfp_nic_ets_init() argument 260 *update |= NFP_DCB_MSG_MSK_TSA | NFP_DCB_MSG_MSK_PCT | NFP_DCB_MSG_MSK_PCP; in nfp_nic_ets_init() 270 u32 update = 0; in nfp_nic_dcbnl_ieee_setets() local [all …]
|
| /linux/scripts/crypto/ |
| H A D | gen-hash-testvecs.py | 40 def update(self, data): member in Poly1305 65 def update(self, data): member in Polyval 92 ctx.update(data) 153 ctx.update(out) 161 ctx.update(data[:data_len]) 165 ctx.update(mac) 181 h.update(rand_bytes(100)) 231 ctx.update(b'\xff' * j) 235 Poly1305(key).update(data).digest()) 241 hashes += Polyval(key).update(b'\xff' * data_len).digest() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-intel-m10-bmc-sec-update | 1 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_root_entry_hash 11 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_root_entry_hash 21 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_root_entry_hash 31 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_canceled_csks 39 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_canceled_csks 47 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_canceled_csks 55 What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/flash_count 59 Description: Read only. Returns number of times the secure update
|
| H A D | sysfs-platform-intel-wmi-sbl-fw-update | 6 Allow user space entities to trigger update of Slim 8 of 0 and userspace can signal SBL to update firmware, 12 * 0 -> Skip firmware update while rebooting 13 * 1 -> Attempt firmware update on next reboot
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_stdu.c | 269 struct vmw_stdu_update *update = cmd; in vmw_stdu_populate_update() local 271 update->header.id = SVGA_3D_CMD_UPDATE_GB_SCREENTARGET; in vmw_stdu_populate_update() 272 update->header.size = sizeof(update->body); in vmw_stdu_populate_update() 274 update->body.stid = unit; in vmw_stdu_populate_update() 275 update->body.rect.x = left; in vmw_stdu_populate_update() 276 update->body.rect.y = top; in vmw_stdu_populate_update() 277 update->body.rect.w = right - left; in vmw_stdu_populate_update() 278 update->body.rect.h = bottom - top; in vmw_stdu_populate_update() 667 struct vmw_stdu_update *update; in vmw_kms_stdu_surface_fifo_commit() local 683 update = (struct vmw_stdu_update *) &blit[dirty->num_hits]; in vmw_kms_stdu_surface_fifo_commit() [all …]
|
| H A D | vmwgfx_kms.c | 1733 int vmw_du_helper_plane_update(struct vmw_du_update_plane *update) in vmw_du_helper_plane_update() argument 1735 struct drm_plane_state *state = update->plane->state; in vmw_du_helper_plane_update() 1736 struct drm_plane_state *old_state = update->old_state; in vmw_du_helper_plane_update() 1760 if (update->vfb->bo) { in vmw_du_helper_plane_update() 1762 container_of(update->vfb, typeof(*vfbbo), base); in vmw_du_helper_plane_update() 1769 if (update->dev_priv->active_display_unit == vmw_du_screen_target) { in vmw_du_helper_plane_update() 1774 WARN_ON(update->dev_priv->has_mob); in vmw_du_helper_plane_update() 1780 container_of(update->vfb, typeof(*vfbs), base); in vmw_du_helper_plane_update() 1791 ret = vmw_validation_prepare(&val_ctx, update->mutex, update->intr); in vmw_du_helper_plane_update() 1795 reserved_size = update->calc_fifo_size(update, num_hits); in vmw_du_helper_plane_update() [all …]
|
| H A D | vmwgfx_scrn.c | 462 static uint32_t vmw_sou_bo_fifo_size(struct vmw_du_update_plane *update, in vmw_sou_bo_fifo_size() argument 469 static uint32_t vmw_sou_bo_define_gmrfb(struct vmw_du_update_plane *update, in vmw_sou_bo_define_gmrfb() argument 473 container_of(update->vfb, typeof(*vfbbo), base); in vmw_sou_bo_define_gmrfb() 475 int depth = update->vfb->base.format->depth; in vmw_sou_bo_define_gmrfb() 486 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb() 489 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb() 495 static uint32_t vmw_sou_bo_populate_clip(struct vmw_du_update_plane *update, in vmw_sou_bo_populate_clip() argument 502 blit->body.destScreenId = update->du->unit; in vmw_sou_bo_populate_clip() 513 static uint32_t vmw_stud_bo_post_clip(struct vmw_du_update_plane *update, in vmw_stud_bo_post_clip() argument 557 static uint32_t vmw_sou_surface_fifo_size(struct vmw_du_update_plane *update, in vmw_sou_surface_fifo_size() argument [all …]
|
| /linux/fs/sysfs/ |
| H A D | group.c | 50 const struct attribute_group *grp, int update) in create_files() argument 65 if (update) in create_files() 98 if (update) in create_files() 129 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group() argument 137 if (WARN_ON(!kobj || (!update && !kobj->sd))) in internal_create_group() 141 if (unlikely(update && !kobj->sd)) in internal_create_group() 159 if (update) { in internal_create_group() 165 update = 0; in internal_create_group() 173 if (!update) { in internal_create_group() 189 error = create_files(kn, kobj, uid, gid, grp, update); in internal_create_group() [all …]
|
| /linux/Documentation/driver-api/pldmfw/ |
| H A D | index.rst | 9 <https://www.dmtf.org/documents/pmci/pldm-firmware-update-specification-100>. 21 implementing device flash update based on firmware files following the PLDM 32 firmware indicates that the update may be performed, the firmware data is 53 Performing a flash update 56 To perform a flash update, the ``pldmfw`` module performs the following 66 indication of whether the update is suitable or not. If any component is 67 not suitable, the update is canceled. 71 actions to finalize the update.
|
| /linux/Documentation/admin-guide/ |
| H A D | dell_rbu.rst | 16 update itself with the image downloaded in to the memory. 28 Libsmbios can also be used to update BIOS on Dell systems go to 31 Dell_RBU driver supports BIOS update using the monolithic image and packetized 41 inform the BIOS to enable the update in the next system reboot. 54 The driver supports two types of update mechanism; monolithic and packetized. 55 These update mechanism depends upon the BIOS currently running on the system. 56 Most of the Dell systems support a monolithic update where the BIOS image is 62 By default the driver uses monolithic memory for the update type. This can be 68 In packet update mode the packet size has to be given before any packets can 73 In the packet update mechanism, the user needs to create a new file having [all …]
|
| /linux/Documentation/sound/soc/ |
| H A D | jack.rst | 20 snd_soc_jack_pins representing DAPM endpoints to update and blocks of 26 connected and so will want to make sure to update both speaker and 41 These represent a DAPM pin to update depending on some of the status 53 input to the system and update a jack by calling snd_soc_jack_report(), 54 specifying a subset of bits to update. The jack detection code should 56 update and the set of things to report when the jack is connected. 71 the list of pins to update then set up one or more jack detection 72 mechanisms to update that jack based on their current status.
|
| /linux/Documentation/driver-api/nvdimm/ |
| H A D | security.rst | 28 update <old_keyid> <new_keyid> - enable or update passphrase. 33 master_update <keyid> <new_keyid> - enable or update master passphrase. 71 When doing an update, it is expected that the existing key is removed from 74 keyid when doing the update operation. It is also expected that the new key 76 document. The update command written to the sysfs attribute will be with 78 update <old keyid> <new keyid> 120 The command format for doing a master update is: 121 update <old keyid> <new keyid> 123 The operating mechanism for master update is identical to update except the
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_bpftool_map.sh | |
| /linux/drivers/platform/x86/intel/wmi/ |
| H A D | Makefile | 6 intel-wmi-sbl-fw-update-y := sbl-fw-update.o 7 obj-$(CONFIG_INTEL_WMI_SBL_FW_UPDATE) += intel-wmi-sbl-fw-update.o
|
| /linux/sound/pci/emu10k1/ |
| H A D | emu10k1_callback.c | 33 static void update_voice(struct snd_emux_voice *vp, int update); 57 .update = update_voice, 181 update_voice(struct snd_emux_voice *vp, int update) in update_voice() argument 186 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice() 188 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice() 190 if (update & SNDRV_EMUX_UPDATE_PAN) { in update_voice() 194 if (update & SNDRV_EMUX_UPDATE_FMMOD) in update_voice() 196 if (update & SNDRV_EMUX_UPDATE_TREMFREQ) in update_voice() 198 if (update & SNDRV_EMUX_UPDATE_FM2FRQ2) in update_voice() 200 if (update & SNDRV_EMUX_UPDATE_Q) in update_voice()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-map.rst | 22 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** | 33 | **bpftool** **map update** *MAP* [**key** *DATA*] [**value** *VALUE*] [*UPDATE_FLAGS*] 94 bpftool map update *MAP* [key *DATA*] [value *VALUE*] [*UPDATE_FLAGS*] 97 *UPDATE_FLAGS* can be one of: **any** update existing entry or add if 98 doesn't exit; **exist** update only if entry already exists; **noexist** 99 update only if entry doesn't exist. 186 | **# bpftool map update id 10 key hex 20 c4 b7 00 value hex 0f ff ff ab 01 02 03 4c** 187 | **# bpftool map update id 10 key 0x20 0xc4 0xb7 0x00 value 0x0f 0xff 0xff 0xab 0x01 0x02 0x03 0x4c** 188 | **# bpftool map update id 10 key 32 196 183 0 value 15 255 255 171 1 2 3 76** 219 Note that map update ca [all...] |
| /linux/sound/isa/sb/ |
| H A D | emu8000_callback.c | 21 static void update_voice(struct snd_emux_voice *vp, int update); 58 .update = update_voice, 111 update_voice(struct snd_emux_voice *vp, int update) in update_voice() argument 116 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice() 118 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice() 120 if ((update & SNDRV_EMUX_UPDATE_PAN) && in update_voice() 123 if (update & SNDRV_EMUX_UPDATE_FMMOD) in update_voice() 125 if (update & SNDRV_EMUX_UPDATE_TREMFREQ) in update_voice() 127 if (update & SNDRV_EMUX_UPDATE_FM2FRQ2) in update_voice() 129 if (update & SNDRV_EMUX_UPDATE_Q) in update_voice()
|
| /linux/scripts/ |
| H A D | Makefile | 14 hostprogs-always-$(CONFIG_TRACEPOINTS) += tracepoint-update 17 tracepoint-update-objs := tracepoint-update.o elf-parse.o 32 HOSTCFLAGS_tracepoint-update.o = -I$(srctree)/tools/include
|
| /linux/Documentation/trace/ |
| H A D | events-power.rst | 74 The PM QoS events are used for QoS add/update/remove request and for 75 target/flags update. 83 The third parameter is the current QoS value to update. 85 There are also events used for device PM QoS add/update/remove request. 92 The first parameter gives the device name which tries to add/update/remove 97 And, there are events used for CPU latency QoS add/update/remove request.
|
| /linux/Documentation/arch/x86/ |
| H A D | tsx_async_abort.rst | 26 microcode update which can be used to disable TSX. In addition, it 71 … 1 0 HW default No Need ucode update Need ucode update 86 … 1 0 HW default No Need ucode update Need ucode update 101 … 1 0 HW default No Need ucode update Need ucode update
|