| /linux/drivers/char/tpm/ |
| H A D | tpm2-space.c | 31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions() argument 35 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_flush_sessions() 36 if (space->session_tbl[i]) in tpm2_flush_sessions() 37 tpm2_flush_context(chip, space->session_tbl[i]); in tpm2_flush_sessions() 41 int tpm2_init_space(struct tpm_space *space, unsigned int buf_size) in tpm2_init_space() argument 43 space->context_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space() 44 if (!space->context_buf) in tpm2_init_space() 47 space->session_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space() 48 if (space->session_buf == NULL) { in tpm2_init_space() 49 kfree(space->context_buf); in tpm2_init_space() [all …]
|
| H A D | tpmrm-dev.c | 10 struct tpm_space space; member 24 rc = tpm2_init_space(&priv->space, TPM2_SPACE_BUFFER_SIZE); in tpmrm_open() 30 tpm_common_open(file, chip, &priv->priv, &priv->space); in tpmrm_open() 41 tpm2_del_space(fpriv->chip, &priv->space); in tpmrm_release()
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_dmi.c | 25 unsigned int space; /* addr space for si, intf# for ssif */ member 36 unsigned int space, in dmi_add_platform_ipmi() argument 71 p.space = space; in dmi_add_platform_ipmi() 82 info->space = space; in dmi_add_platform_ipmi() 100 int ipmi_dmi_get_slave_addr(enum si_type si_type, unsigned int space, in ipmi_dmi_get_slave_addr() argument 107 info->space == space && in ipmi_dmi_get_slave_addr() 129 int space = IPMI_IO_ADDR_SPACE; in dmi_decode_ipmi() local 149 space = 0; /* Match I2C interface 0. */ in dmi_decode_ipmi() 166 space = IPMI_MEM_ADDR_SPACE; in dmi_decode_ipmi() 210 dmi_add_platform_ipmi(base_addr, space, slave_addr, irq, in dmi_decode_ipmi()
|
| /linux/drivers/gpu/drm/amd/include/ |
| H A D | cgs_common.h | 108 typedef uint32_t (*cgs_read_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space, 117 typedef void (*cgs_write_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space, 133 #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \ argument 134 …cgs_write_ind_register(device, space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~C… 168 #define cgs_read_ind_register(dev, space, index) \ argument 169 CGS_CALL(read_ind_register, dev, space, index) 170 #define cgs_write_ind_register(dev, space, index, value) \ argument 171 CGS_CALL(write_ind_register, dev, space, index, value)
|
| /linux/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A D | dcsr.txt | 17 debug blocks defined within this memory space. 25 The DCSR space exists in the memory-mapped bus. 44 range of the DCSR space. 57 This node represents the region of DCSR space allocated to the EPU 91 offset and length of the DCSR space registers of the device 107 This node represents the region of DCSR space allocated to the NPC 120 offset and length of the DCSR space registers of the device 122 The Nexus Port controller occupies two regions in the DCSR space 144 This node represents the region of DCSR space allocated to the NXC 157 offset and length of the DCSR space registers of the device [all …]
|
| H A D | ecm.txt | 8 The LAW node represents the region of CCSR space where local access 10 of CCSR space that includes CCSRBAR, ALTCBAR, ALTCAR, BPTR, and some 24 physical address offset and length of the CCSR space 37 The E500 LAW node represents the region of CCSR space where ECM config 39 of CCSR space. 53 physical address offset and length of the CCSR space
|
| H A D | mcm.txt | 8 The LAW node represents the region of CCSR space where local access 10 of CCSR space that includes CCSRBAR, ALTCBAR, ALTCAR, BPTR, and some 24 physical address offset and length of the CCSR space 37 The MPX LAW node represents the region of CCSR space where MCM config 39 of CCSR space. 53 physical address offset and length of the CCSR space
|
| /linux/drivers/media/usb/go7007/ |
| H A D | go7007-fw.c | 277 static int copy_packages(__le16 *dest, u16 *src, int pkg_cnt, int space) in copy_packages() argument 281 if (space < cnt) in copy_packages() 365 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument 385 if (space - off < 32) { in gen_mjpeghdr_to_package() 632 __le16 *code, int space, int *framelen) in gen_mpeg1hdr_to_package() argument 674 if (space - off < 32) { in gen_mpeg1hdr_to_package() 818 __le16 *code, int space, int *framelen) in gen_mpeg4hdr_to_package() argument 842 if (space - off < 32) { in gen_mpeg4hdr_to_package() 885 if (space - off < 32) { in gen_mpeg4hdr_to_package() 920 __le16 *code, int space, int *framelen) in brctrl_to_package() argument [all …]
|
| /linux/drivers/tty/ |
| H A D | tty_buffer.c | 96 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); in tty_buffer_space_avail() local 98 return max(space, 0); in tty_buffer_space_avail() 309 size_t space = __tty_buffer_request_room(port, goal, need_flags); in __tty_insert_flip_string_flags() local 312 if (unlikely(space == 0)) in __tty_insert_flip_string_flags() 315 memcpy(char_buf_ptr(tb, tb->used), chars, space); in __tty_insert_flip_string_flags() 318 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in __tty_insert_flip_string_flags() 319 flags += space; in __tty_insert_flip_string_flags() 321 memset(flag_buf_ptr(tb, tb->used), flags[0], space); in __tty_insert_flip_string_flags() 327 tb->used += space; in __tty_insert_flip_string_flags() 328 copied += space; in __tty_insert_flip_string_flags() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ring.c | 21 unsigned int space; in intel_ring_update_space() local 23 space = __intel_ring_space(ring->head, ring->emit, ring->size); in intel_ring_update_space() 25 ring->space = space; in intel_ring_update_space() 26 return space; in intel_ring_update_space() 226 GEM_BUG_ON(ring->space < bytes); in wait_for_space() 267 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin() 290 GEM_BUG_ON(need_wrap > ring->space); in intel_ring_begin() 296 ring->space -= need_wrap; in intel_ring_begin() 301 GEM_BUG_ON(ring->space < bytes); in intel_ring_begin() 306 ring->space -= bytes; in intel_ring_begin()
|
| /linux/drivers/usb/host/ |
| H A D | uhci-debug.c | 44 int len, int space) in uhci_show_td() argument 51 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, in uhci_show_td() 101 char *buf, int len, int space) in uhci_show_urbp() argument 142 out += sprintf(out, "%*s%d: ", space + 2, "", i); in uhci_show_urbp() 157 space, "", ninactive, nactive); in uhci_show_urbp() 166 struct uhci_qh *qh, char *buf, int len, int space) in uhci_show_qh() argument 182 space, "", qh, qtype, in uhci_show_qh() 188 space, "", qh->period, qh->phase, qh->load, in uhci_show_qh() 192 space, "", qh->period, qh->phase, qh->load); in uhci_show_qh() 197 out += sprintf(out, "%*s Element points to QH (bug?)\n", space, ""); in uhci_show_qh() [all …]
|
| /linux/arch/x86/events/intel/ |
| H A D | bts.c | 388 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local 399 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset() 400 pad = space; in bts_buffer_reset() 401 if (space > handle->size) { in bts_buffer_reset() 402 space = handle->size; in bts_buffer_reset() 403 space -= space % BTS_RECORD_SIZE; in bts_buffer_reset() 405 if (space <= BTS_SAFETY_MARGIN) { in bts_buffer_reset() 420 if (next_space > space || !space) { in bts_buffer_reset() 428 space = next_space; in bts_buffer_reset() 444 if (space > wakeup) { in bts_buffer_reset() [all …]
|
| /linux/Documentation/arch/arm/ |
| H A D | memory.rst | 14 space, and this must be shared between user space processes, the 18 certain regions of VM space for use for new facilities; therefore 19 this document may reserve more VM space over time. 56 fee00000 feffffff Mapping of PCI I/O space. This is a static 57 mapping within the vmalloc space. 59 VMALLOC_START VMALLOC_END-1 vmalloc() / ioremap() space. 74 space. 76 MODULES_VADDR MODULES_END-1 Kernel module space 85 00001000 TASK_SIZE-1 User space mappings 93 space are also caught via this mapping.
|
| /linux/drivers/thunderbolt/ |
| H A D | ctl.c | 224 enum tb_cfg_space space, u32 offset, in check_config_address() argument 229 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address() 230 space, addr.space)) in check_config_address() 278 static void tb_cfg_print_error(struct tb_ctl *ctl, enum tb_cfg_space space, in tb_cfg_print_error() argument 293 res->response_route, res->response_port, space); in tb_cfg_print_error() 957 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_read_raw() argument 965 .space = space, in tb_cfg_read_raw() 1008 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_read_raw() 1031 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_write_raw() argument 1039 .space = space, in tb_cfg_write_raw() [all …]
|
| /linux/drivers/pnp/ |
| H A D | interface.c | 56 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, in pnp_print_port() argument 60 "%i-bit address decoding\n", space, in pnp_print_port() 68 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, in pnp_print_irq() argument 73 pnp_printf(buffer, "%sirq ", space); in pnp_print_irq() 101 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, in pnp_print_dma() argument 107 pnp_printf(buffer, "%sdma ", space); in pnp_print_dma() 153 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, in pnp_print_mem() argument 159 space, (unsigned long long) mem->min, in pnp_print_mem() 189 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, in pnp_print_option() argument 194 pnp_print_port(buffer, space, &option->u.port); in pnp_print_option() [all …]
|
| /linux/Documentation/mm/ |
| H A D | active_mm.rst | 31 difference is that an anonymous address space doesn't care about the 33 anonymous address space we just leave the previous address space 36 The obvious use for a "anonymous address space" is any thread that 39 some amount of time they are not going to be interested in user space, 44 - "tsk->mm" points to the "real address space". For an anonymous process, 46 really doesn't _have_ a real address space at all. 48 - however, we obviously need to keep track of which address space we 50 which shows what the currently active address space is. 52 The rule is that for a process with a real address space (ie tsk->mm is 58 anonymous process gets scheduled away, the borrowed address space is [all …]
|
| /linux/drivers/media/usb/dvb-usb/ |
| H A D | af9005-remote.c | 76 u16 mark, space; in af9005_rc_decode() local 83 space = (u16) (data[2] << 8) + data[3]; in af9005_rc_decode() 84 if (space * 3 < mark) { in af9005_rc_decode() 102 space = (u16) (data[i + 2] << 8) + data[i + 3]; in af9005_rc_decode() 103 space >>= 1; in af9005_rc_decode() 104 if (mark * 2 > space) in af9005_rc_decode()
|
| /linux/Documentation/virt/kvm/devices/ |
| H A D | vm.rst | 63 Allows user space to retrieve machine and kvm specific cpu related information:: 75 :Returns: -EFAULT if the given address is not accessible from kernel space; 82 Allows user space to retrieve or request to change cpu related information for a vcpu:: 100 -EFAULT if the given address is not accessible from kernel space; 109 Allows user space to retrieve available cpu features. A feature is available if 120 :Returns: -EFAULT if the given address is not accessible from kernel space; 126 Allows user space to retrieve or change enabled cpu features for all VCPUs of a 133 :Returns: -EFAULT if the given address is not accessible from kernel space; 143 Allows user space to retrieve available cpu subfunctions without any filtering 176 :Returns: -EFAULT if the given address is not accessible from kernel space; [all …]
|
| /linux/Documentation/arch/x86/x86_64/ |
| H A D | mm.rst | 13 from the top of the 64-bit address space. It's easier to understand the layout 17 64-bit address space (ffffffffffffffff). 19 Note that as we get closer to the top of the address space, the notation changes 24 It also shows it nicely how incredibly large 64-bit address space is. 32 …0000000000000000 | 0 | 00007fffffffefff | ~128 TB | user-space virtual memory, different … 44 … | Kernel-space virtual memory, shared between all processes: 59 ffffc90000000000 | -55 TB | ffffe8ffffffffff | 32 TB | vmalloc/ioremap space (vmalloc_base) 75 ffffffef00000000 | -68 GB | fffffffeffffffff | 64 GB | EFI region mapping space 79 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 92 - With 56-bit addresses, user-space memory gets expanded by a factor of 512x, [all …]
|
| /linux/arch/mips/mm/ |
| H A D | tlb-funcs.S | 22 .space 64 28 .space FASTPATH_SIZE * 4 33 .space FASTPATH_SIZE * 4 38 .space FASTPATH_SIZE * 4
|
| /linux/drivers/media/platform/amphion/ |
| H A D | vpu_rpc.c | 59 u32 space = 0; in vpu_rpc_send_cmd_buf() local 67 space = vpu_rpc_check_buffer_space(desc, true); in vpu_rpc_send_cmd_buf() 68 if (space < (((cmd->hdr.num + 1) << 2) + 16)) in vpu_rpc_send_cmd_buf() 103 u32 space = 0; in vpu_rpc_check_msg() local 108 space = vpu_rpc_check_buffer_space(desc, 0); in vpu_rpc_check_msg() 109 space = (space >> 2); in vpu_rpc_check_msg() 111 if (space) { in vpu_rpc_check_msg() 114 if (msgnum <= space) in vpu_rpc_check_msg()
|
| /linux/Documentation/arch/powerpc/ |
| H A D | pci_iov_resource_on_powernv.rst | 57 - For DMA we then provide an entire address space for each PE that can 63 - For MSIs, we have two windows in the address space (one at the top of 64 the 32-bit space and one much higher) which, via a combination of the 75 from the CPU address space to the PCI address space. There is one M32 78 the CPU address space to the PCIe bus and must be naturally aligned 89 portion of address space from the CPU to PCIe 93 ignores that however and will forward in that space if we try). 96 maps each segment to a PE#. That allows portions of the MMIO space 102 onto a segment alignment/granularity so that the space behind a bridge 127 for large BARs in 64-bit space: [all …]
|
| /linux/Documentation/arch/riscv/ |
| H A D | vm-layout.rst | 26 occur.": that splits the virtual address space into 2 halves separated by a very 39 …0000000000000000 | 0 | 0000003fffffffff | 256 GB | user-space virtual memory, different … 47 … | Kernel-space virtual memory, shared between all processes: 53 ffffffc600000000 | -232 GB | ffffffd5ffffffff | 64 GB | vmalloc/ioremap space 76 …0000000000000000 | 0 | 00007fffffffffff | 128 TB | user-space virtual memory, different … 84 … | Kernel-space virtual memory, shared between all processes: 90 ffff8f8000000000 | -112.5 TB | ffffaf7fffffffff | 32 TB | vmalloc/ioremap space 112 …0000000000000000 | 0 | 00ffffffffffffff | 64 PB | user-space virtual memory, different … 120 … | Kernel-space virtual memory, shared between all processes: 126 ff20000000000000 | -56 PB | ff5fffffffffffff | 16 PB | vmalloc/ioremap space
|
| /linux/net/ceph/ |
| H A D | pagelist.c | 102 int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space) in ceph_pagelist_reserve() argument 104 if (space <= pl->room) in ceph_pagelist_reserve() 106 space -= pl->room; in ceph_pagelist_reserve() 107 space = (space + PAGE_SIZE - 1) >> PAGE_SHIFT; /* conv to num pages */ in ceph_pagelist_reserve() 109 while (space > pl->num_pages_free) { in ceph_pagelist_reserve()
|
| /linux/Documentation/admin-guide/kdump/ |
| H A D | vmcoreinfo.rst | 11 section and used by user-space tools like crash and makedumpfile to 39 User-space tools can get the kernel name, host name, kernel release 90 User-space tools use this to exclude free pages when dumping memory. 105 Defines the maximum supported physical address space memory. 147 User-space tools compute their values based on the offset of these 166 User-space tools compute required values based on the offset of these 182 circular linked list. User-space tools need these in order to traverse 195 Free areas descriptor. User-space tools use this value to iterate the 204 Used by user-space tools to read the active kernel log buffer. 219 SYSLOG_ACTION_CLEAR, like issued by 'dmesg -c'. Used by user-space [all …]
|