/linux/include/trace/events/ |
H A D | firewire.h | 40 …TP_PROTO(u64 transaction, unsigned int card_index, unsigned int generation, unsigned int scode, co… 41 TP_ARGS(transaction, card_index, generation, scode, header, data, data_count), 45 __field(u8, generation) 53 __entry->generation = generation; 60 …"transaction=0x%llx card_index=%u generation=%u scode=%u dst_id=0x%04x tlabel=%u tcode=%u src_id=0… 63 __entry->generation, 78 …TP_PROTO(u64 transaction, unsigned int card_index, unsigned int generation, unsigned int scode, un… 79 TP_ARGS(transaction, card_index, generation, scode, status, timestamp), 83 __field(u8, generation) 91 __entry->generation = generation; [all …]
|
/linux/Documentation/devicetree/bindings/iommu/ |
H A D | mediatek,iommu.yaml | 14 this M4U have two generations of HW architecture. Generation one uses flat 15 pagetable, and only supports 4K size page mapping. Generation two uses the 73 - mediatek,mt2701-m4u # generation one 74 - mediatek,mt2712-m4u # generation two 75 - mediatek,mt6779-m4u # generation two 76 - mediatek,mt6795-m4u # generation two 77 - mediatek,mt8167-m4u # generation two 78 - mediatek,mt8173-m4u # generation two 79 - mediatek,mt8183-m4u # generation two 80 - mediatek,mt8186-iommu-mm # generation two [all …]
|
/linux/net/sctp/ |
H A D | Kconfig | 60 bool "Enable optional MD5 hmac cookie generation" 62 Enable optional MD5 hmac based SCTP cookie generation 66 bool "Enable optional SHA1 hmac cookie generation" 68 Enable optional SHA1 hmac based SCTP cookie generation 72 bool "Use no hmac alg in SCTP cookie generation" 74 Use no hmac algorithm in SCTP cookie generation 79 bool "Enable optional MD5 hmac cookie generation" 81 Enable optional MD5 hmac based SCTP cookie generation 86 bool "Enable optional SHA1 hmac cookie generation" 88 Enable optional SHA1 hmac based SCTP cookie generation
|
/linux/drivers/phy/renesas/ |
H A D | Kconfig | 14 tristate "Renesas R-Car generation 2 USB PHY driver" 18 Support for USB PHY found on Renesas R-Car generation 2 SoCs. 21 tristate "Renesas R-Car generation 3 PCIe PHY driver" 25 Support for the PCIe PHY found on Renesas R-Car generation 3 SoCs. 28 tristate "Renesas R-Car generation 3 USB 2.0 PHY driver" 35 Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs. 38 tristate "Renesas R-Car generation 3 USB 3.0 PHY driver" 42 Support for USB 3.0 PHY found on Renesas R-Car generation 3 SoCs.
|
/linux/include/linux/ |
H A D | exportfs.h | 34 * 32bit inode number, 32 bit generation number. 39 * 32bit inode number, 32 bit generation number, 46 * 32 bit generation number. 52 * 32 bit generation number, 53 * 64 bit parent object ID, 32 bit parent generation. 59 * 32 bit generation number, 60 * 64 bit parent object ID, 32 bit parent generation, 67 * 16 bit unused, 32 bit generation number. 73 * 16 bit unused, 32 bit generation number, 74 * 32 bit parent block number, 32 bit parent generation number [all …]
|
H A D | firewire.h | 90 int generation; member 171 * Note, fw_device.generation always has to be read before fw_device.node_id. 173 * to an outdated node_id if the generation was updated in the meantime due 176 * Likewise, fw-core will take care to update .node_id before .generation so 177 * that whenever fw_device.generation is current WRT the actual bus generation, 180 * The same applies to fw_device.card->node_id vs. fw_device.generation. 191 int generation; member 289 int generation, 296 int generation; member 320 int node_id; /* The generation is implied; it is always the current. */ [all …]
|
/linux/sound/firewire/ |
H A D | lib.c | 24 * @flags: use %FW_FIXED_GENERATION and add the generation value to attempt the 25 * request only in that generation; use %FW_QUIET to suppress error 29 * response. The node ID and the current generation are derived from @unit. 38 int generation, rcode, tries = 0; in snd_fw_transaction() local 40 generation = flags & FW_GENERATION_MASK; in snd_fw_transaction() 43 generation = device->generation; in snd_fw_transaction() 44 smp_rmb(); /* node_id vs. generation */ in snd_fw_transaction() 47 device->node_id, generation, in snd_fw_transaction()
|
/linux/lib/vdso/ |
H A D | getrandom.c | 133 * @rng_info->generation must always be read here, as it serializes @state->key with the in __cvdso_getrandom_data() 136 current_generation = READ_ONCE(rng_info->generation); in __cvdso_getrandom_data() 139 * If @state->generation doesn't match the kernel RNG's generation, then it means the in __cvdso_getrandom_data() 142 if (unlikely(state->generation != current_generation)) { in __cvdso_getrandom_data() 144 * Write the generation before filling the key, in case of fork. If there is a fork in __cvdso_getrandom_data() 148 * generation counter, so the fork would not be detected. Therefore, write in __cvdso_getrandom_data() 149 * @state->generation before the call to the getrandom syscall. in __cvdso_getrandom_data() 151 WRITE_ONCE(state->generation, current_generation); in __cvdso_getrandom_data() 155 * smp_store_release(&_vdso_rng_data.generation) in random.c. in __cvdso_getrandom_data() 163 * invalid, so invalidate the generation so that it is not used again, and in __cvdso_getrandom_data() [all …]
|
/linux/Documentation/driver-api/surface_aggregator/ |
H A D | overview.rst | 9 introduced on 4th generation devices (Surface Pro 4, Surface Book 1), but 17 Not much is currently known about SAM on 4th generation devices (Surface Pro 20 Book 2, Surface Laptop 1) and later generation devices, SAM is responsible 28 restructured for 7th generation devices and on those, specifically Surface 33 generation, internal interfaces have undergone some rather large changes. On 34 5th and 6th generation devices, both battery and temperature information is 37 requests. On 7th generation devices, this additional layer is gone and these 49 generation of the Surface device. On 4th generation devices, host and EC 67 communication interface for SAM on 5th- and all later-generation Surface
|
/linux/drivers/firewire/ |
H A D | sbp2.c | 130 * The generation is updated once we've logged in or reconnected 135 int generation; member 368 * iPod 2nd generation: needs 128k max transfer size workaround 369 * iPod 3rd generation: needs fix capacity workaround 377 /* iPod 4th generation */ { 408 int generation, unsigned long long offset, in sbp2_status_write() argument 491 int node_id, int generation, u64 offset) in sbp2_send_orb() argument 509 node_id, generation, device->max_speed, offset, in sbp2_send_orb() 550 int generation, int function, in sbp2_send_management_orb() argument 606 sbp2_send_orb(&orb->base, lu, node_id, generation, in sbp2_send_management_orb() [all …]
|
H A D | core-iso.c | 276 static int manage_bandwidth(struct fw_card *card, int irm_id, int generation, in manage_bandwidth() argument 295 irm_id, generation, SCODE_100, in manage_bandwidth() 299 /* A generation change frees all bandwidth. */ in manage_bandwidth() 314 static int manage_channel(struct fw_card *card, int irm_id, int generation, in manage_channel() argument 336 irm_id, generation, SCODE_100, in manage_channel() 339 /* A generation change frees all channels. */ in manage_channel() 367 int generation, int channel) in deallocate_channel() argument 376 manage_channel(card, irm_id, generation, mask, offset, false); in deallocate_channel() 382 * @generation: bus generation 388 * In parameters: card, generation, channels_mask, bandwidth, allocate [all …]
|
H A D | core-card.c | 218 trace_bus_reset_initiate(card->index, card->generation, short_reset); in reset_bus() 225 trace_bus_reset_schedule(card->index, card->generation, short_reset); in fw_schedule_bus_reset() 245 trace_bus_reset_postpone(card->index, card->generation, card->br_short); in br_work() 252 fw_send_phy_config(card, FW_PHY_CONFIG_NO_NODE_ID, card->generation, in br_work() 258 static void allocate_broadcast_channel(struct fw_card *card, int generation) in allocate_broadcast_channel() argument 263 fw_iso_resource_manage(card, generation, 1ULL << 31, in allocate_broadcast_channel() 272 device_for_each_child(card->device, (void *)(long)generation, in allocate_broadcast_channel() 293 int gap_count, generation, grace, rcode; in bm_work() local 308 generation = card->generation; in bm_work() 332 if ((is_next_generation(generation, card->bm_generation) && in bm_work() [all …]
|
H A D | core-device.c | 265 int generation = device->generation; in fw_device_enable_phys_dma() local 267 /* device->node_id, accessed below, must not be older than generation */ in fw_device_enable_phys_dma() 272 generation); in fw_device_enable_phys_dma() 546 int generation, int index, u32 *data) in read_rom() argument 551 /* device->node_id, accessed below, must not be older than generation */ in read_rom() 557 generation, device->max_speed, offset, data, 4); in read_rom() 572 * the config ROM. We do all this with a cached bus generation. If the bus 573 * generation changes under us, read_config_rom will fail and get retried. 578 static int read_config_rom(struct fw_device *device, int generation) in read_config_rom() argument 933 set_broadcast_channel(struct fw_device * device,int generation) set_broadcast_channel() argument 1160 reread_config_rom(struct fw_device * device,int generation,bool * changed) reread_config_rom() argument [all...] |
H A D | core-transaction.c | 156 trace_async_request_outbound_complete((uintptr_t)t, card->index, packet->generation, in transmit_complete_callback() 192 int destination_id, int source_id, int generation, int speed, in fw_fill_request() argument 256 packet->generation = generation; in fw_fill_request() 285 * @generation: bus generation in which request and response are valid 303 * @generation. Otherwise the request is in danger to be sent to a wrong node. 322 * generation, or missing ACK respectively. 330 int destination_id, int generation, int speed, unsigned long long offset, in __fw_send_request() argument 372 fw_fill_request(&t->packet, tcode, t->tlabel, destination_id, card->node_id, generation, in __fw_send_request() 380 trace_async_request_outbound_initiate((uintptr_t)t, card->index, generation, speed, in __fw_send_request() 410 * @generation: bus generation in which request and response are valid [all …]
|
/linux/arch/csky/mm/ |
H A D | asid.c | 63 * (i.e. the same ASID in the current generation) but we can't in check_update_reserved_asid() 67 * generation. in check_update_reserved_asid() 84 u64 generation = atomic64_read(&info->generation); in new_context() local 87 u64 newasid = generation | (asid & ~ASID_MASK(info)); in new_context() 115 /* We're out of ASIDs, so increment the global generation count */ in new_context() 116 generation = atomic64_add_return_relaxed(ASID_FIRST_VERSION(info), in new_context() 117 &info->generation); in new_context() 127 return idx2asid(info, asid) | generation; in new_context() 144 /* Check that our ASID belongs to the current generation. */ in asid_new_context() 146 if ((asid ^ atomic64_read(&info->generation)) >> info->bits) { in asid_new_context() [all …]
|
/linux/arch/arm/mach-aspeed/ |
H A D | Kconfig | 16 bool "Aspeed SoC 4th Generation" 23 fourth generation BMCs, such as those used by OpenPower Power8 27 bool "Aspeed SoC 5th Generation" 33 fifth generation Aspeed BMCs. 36 bool "Aspeed SoC 6th Generation" 44 sixth generation Aspeed BMCs.
|
/linux/sound/firewire/fireworks/ |
H A D | fireworks_transaction.c | 165 handle_resp_for_user(struct fw_card *card, int generation, int source, in handle_resp_for_user() argument 180 (device->generation != generation)) in handle_resp_for_user() 182 smp_rmb(); /* node id vs. generation */ in handle_resp_for_user() 197 handle_resp_for_kernel(struct fw_card *card, int generation, int source, in handle_resp_for_kernel() argument 208 (device->generation != generation)) in handle_resp_for_kernel() 210 smp_rmb(); /* node_id vs. generation */ in handle_resp_for_kernel() 228 int generation, unsigned long long offset, in efw_response() argument 245 handle_resp_for_kernel(card, generation, source, in efw_response() 248 handle_resp_for_user(card, generation, source, in efw_response() 251 handle_resp_for_user(card, generation, source, in efw_response()
|
/linux/fs/btrfs/ |
H A D | export.c | 67 * @generation: optional, if not zero, verify that the found inode 68 * generation matches 71 * generation does not match return ESTALE. 74 u64 root_objectid, u64 generation) in btrfs_get_dentry() argument 92 if (generation != 0 && generation != inode->i_generation) { in btrfs_get_dentry() 105 u32 generation; in btrfs_fh_to_parent() local 119 generation = fid->parent_gen; in btrfs_fh_to_parent() 121 return btrfs_get_dentry(sb, objectid, root_objectid, generation); in btrfs_fh_to_parent() 129 u32 generation; in btrfs_fh_to_dentry() local 141 generation = fid->gen; in btrfs_fh_to_dentry() [all …]
|
/linux/Documentation/mm/ |
H A D | multigen_lru.rst | 23 implementations. In the multi-gen LRU, each generation represents a 45 attainable. Specifically, pages in the same generation can be 83 ``lruvec``. The youngest generation number is stored in 85 an equal footing. The oldest generation numbers are stored in 90 Generation numbers are truncated into ``order_base_2(MAX_NR_GENS+1)`` 92 truncated generation number is an index to ``lrugen->folios[]``. The 98 Each generation is divided into multiple tiers. A page accessed ``N`` 117 generation when it finds them accessed through page tables; the 139 moves a page to the next generation, i.e., ``min_seq+1``, if this page 147 Each generation is timestamped at birth. If ``lru_gen_min_ttl`` is [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | mediatek,smi-common.yaml | 17 which generation the SoCs use: 18 generation 1: mt2701 and mt7623. 19 generation 2: mt2712, mt6779, mt8167, mt8173, mt8183, mt8186, mt8188, mt8192 and mt8195. 21 There's slight differences between the two SMI, for generation 2, the 23 for generation 1, the register is at smi ao base(smi always on register 25 SMI generation 1 to transform the smi clock into emi clock domain, but that is 26 not needed for SMI generation 2. 61 apb and smi are mandatory. the async is only for generation 1 smi HW.
|
/linux/drivers/md/dm-vdo/ |
H A D | logical-zone.c | 220 * update_oldest_active_generation() - Update the oldest active generation. 223 * Return: true if the oldest active generation has changed. 241 * vdo_increment_logical_zone_flush_generation() - Increment the flush generation in a logical 244 * @expected_generation: The expected value of the flush generation before the increment. 251 "logical zone %u flush generation %llu should be %llu before increment", in vdo_increment_logical_zone_flush_generation() 261 * vdo_acquire_flush_generation_lock() - Acquire the shared lock on a flush generation by a write 280 * notify_flusher() - Notify the flush that at least one generation no longer has active VIOs. 296 * attempt_generation_complete_notification() - Notify the flusher if some generation no 318 * vdo_release_flush_generation_lock() - Release the shared lock on a flush generation held by a 322 * If there are pending flushes, and this data_vio completes the oldest generation active in this [all …]
|
/linux/drivers/thermal/ti-soc-thermal/ |
H A D | Kconfig | 9 This includes alert interrupts generation and also the TSHUT 32 this generation are not accurate, nor they are very close to 48 This includes alert interrupts generation and also the TSHUT 60 This includes alert interrupts generation and also the TSHUT 72 This includes alert interrupts generation and also the TSHUT
|
/linux/Documentation/virt/kvm/x86/ |
H A D | mmu.rst | 62 The mmu supports first-generation mmu hardware, which allows an atomic switch 212 The MMU generation of this page, used to fast zap of all MMU pages within a 214 valid MMU generation which causes the mismatch of mmu_valid_gen for each mmu 217 guest. The MMU generation is only ever '0' or '1'. Note, the TDP MMU doesn't 341 - check for valid generation number in the spte (see "Fast invalidation of 475 generation number. The global generation number is stored in 476 kvm_memslots(kvm)->generation, and increased whenever guest memory info 479 When KVM finds an MMIO spte, it checks the generation number of the spte. 480 If the generation number of the spte does not equal the global generation 484 Since only 18 bits are used to store generation-number on mmio spte, all [all …]
|
/linux/arch/arm64/kvm/ |
H A D | vmid.c | 80 * generation). in check_update_reserved_vmid() 96 u64 generation = atomic64_read(&vmid_generation); in new_vmid() local 99 u64 newvmid = generation | (vmid & ~VMID_MASK); in new_vmid() 116 /* We're out of VMIDs, so increment the global generation count */ in new_vmid() 117 generation = atomic64_add_return_relaxed(VMID_FIRST_VERSION, in new_vmid() 127 vmid = idx2vmid(vmid) | generation; in new_vmid() 163 /* Check that our VMID belongs to the current generation. */ in kvm_arm_vmid_update()
|
/linux/arch/arm64/mm/ |
H A D | context.c | 142 * (i.e. the same ASID in the current generation) but we can't in check_update_reserved_asid() 146 * generation. in check_update_reserved_asid() 162 u64 generation = atomic64_read(&asid_generation); in new_context() local 165 u64 newasid = asid2ctxid(ctxid2asid(asid), generation); in new_context() 177 * update the generation into the reserved_asids. in new_context() 201 /* We're out of ASIDs, so increment the global generation count */ in new_context() 202 generation = atomic64_add_return_relaxed(ASID_FIRST_VERSION, in new_context() 212 return asid2ctxid(asid, generation); in new_context() 229 * generation, then we update the active_asids entry with a relaxed in check_and_switch_context() 234 * we are forced to see the updated generation. in check_and_switch_context() [all …]
|