| /drivers/char/tpm/ |
| A D | tpm2-space.c | 36 if (space->session_tbl[i]) in tpm2_flush_sessions() 44 if (!space->context_buf) in tpm2_init_space() 67 kfree(space->context_buf); in tpm2_del_space() 172 if (!space) in tpm2_flush_space() 176 if (space->context_tbl[i] && ~space->context_tbl[i]) in tpm2_flush_space() 237 if (i >= ARRAY_SIZE(space->context_tbl) || !space->context_tbl[i]) in tpm2_map_to_phandle() 312 if (!space) in tpm2_prepare_space() 505 if (!(space->context_tbl[i] && ~space->context_tbl[i])) in tpm2_save_space() 509 space->context_buf, space->buf_size, in tpm2_save_space() 526 space->session_buf, space->buf_size, in tpm2_save_space() [all …]
|
| A D | tpm-dev-common.c | 24 static ssize_t tpm_dev_transmit(struct tpm_chip *chip, struct tpm_space *space, in tpm_dev_transmit() argument 33 ret = tpm2_prepare_space(chip, space, buf, bufsiz); in tpm_dev_transmit() 52 ret = tpm2_commit_space(chip, space, buf, &len); in tpm_dev_transmit() 74 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_dev_async_work() 116 struct file_priv *priv, struct tpm_space *space) in tpm_common_open() argument 119 priv->space = space; in tpm_common_open() 228 ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer, in tpm_common_write()
|
| 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()
|
| /drivers/char/ipmi/ |
| 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()
|
| /drivers/gpu/drm/amd/include/ |
| 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)
|
| /drivers/media/usb/go7007/ |
| A D | go7007-fw.c | 281 if (space < cnt) in copy_packages() 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() 1516 return config_package(go, code, space); in do_special() 1532 return final_package(go, code, space); in do_special() 1534 return audio_to_package(go, code, space); in do_special() [all …]
|
| /drivers/gpu/drm/xe/ |
| A D | xe_trace_guc.h | 22 TP_PROTO(struct xe_device *xe, u32 _head, u32 _tail, u32 size, u32 space, u32 len), 23 TP_ARGS(xe, _head, _tail, size, space, len), 30 __field(u32, space) 39 __entry->space = space; 45 __entry->space, __entry->len) 49 TP_PROTO(struct xe_device *xe, u32 _head, u32 _tail, u32 size, u32 space, u32 len), 50 TP_ARGS(xe, _head, _tail, size, space, len) 54 TP_PROTO(struct xe_device *xe, u32 _head, u32 _tail, u32 size, u32 space, u32 len), 55 TP_ARGS(xe, _head, _tail, size, space, len), 59 __entry->space, __entry->len)
|
| /drivers/tty/ |
| A D | tty_buffer.c | 98 return max(space, 0); in tty_buffer_space_avail() 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() 327 tb->used += space; in __tty_insert_flip_string_flags() 328 copied += space; in __tty_insert_flip_string_flags() 329 chars += space; in __tty_insert_flip_string_flags() 358 if (likely(space)) { in tty_prepare_flip_string() 364 tb->used += space; in tty_prepare_flip_string() [all …]
|
| /drivers/gpu/drm/i915/gt/ |
| 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()
|
| /drivers/usb/host/ |
| A D | uhci-debug.c | 44 int len, int space) in uhci_show_td() argument 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() 227 space, ""); in uhci_show_qh() 232 len - (out - buf), space + 2); in uhci_show_qh() [all …]
|
| /drivers/thunderbolt/ |
| A D | ctl.c | 222 enum tb_cfg_space space, u32 offset, in check_config_address() argument 227 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address() 228 space, addr.space)) in check_config_address() 950 .space = space, in tb_cfg_read_raw() 1021 .space = space, in tb_cfg_write_raw() 1079 if (space == TB_CFG_PORT && in tb_cfg_get_error() 1083 tb_cfg_print_error(ctl, space, res); in tb_cfg_get_error() 1105 return tb_cfg_get_error(ctl, space, &res); in tb_cfg_read() 1109 route, space, offset); in tb_cfg_read() 1131 return tb_cfg_get_error(ctl, space, &res); in tb_cfg_write() [all …]
|
| /drivers/gpu/drm/i915/ |
| A D | i915_vgpu.c | 143 struct drm_mm_node space[4]; member 183 vgt_deballoon_space(ggtt, &bl_info.space[i]); in intel_vgt_deballoon() 295 ret = vgt_balloon_space(ggtt, &bl_info.space[2], in intel_vgt_balloon() 303 ret = vgt_balloon_space(ggtt, &bl_info.space[3], in intel_vgt_balloon() 311 ret = vgt_balloon_space(ggtt, &bl_info.space[0], in intel_vgt_balloon() 319 ret = vgt_balloon_space(ggtt, &bl_info.space[1], in intel_vgt_balloon() 330 vgt_deballoon_space(ggtt, &bl_info.space[0]); in intel_vgt_balloon() 332 vgt_deballoon_space(ggtt, &bl_info.space[3]); in intel_vgt_balloon() 334 vgt_deballoon_space(ggtt, &bl_info.space[2]); in intel_vgt_balloon()
|
| /drivers/pnp/ |
| 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() 159 space, (unsigned long long) mem->min, in pnp_print_mem() 194 pnp_print_port(buffer, space, &option->u.port); in pnp_print_option() 197 pnp_print_mem(buffer, space, &option->u.mem); in pnp_print_option() 200 pnp_print_irq(buffer, space, &option->u.irq); in pnp_print_option() [all …]
|
| /drivers/media/platform/amphion/ |
| 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()
|
| /drivers/media/usb/dvb-usb/ |
| 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()
|
| /drivers/edac/ |
| A D | i5400_edac.c | 963 int space, n; in calculate_dimm_size() local 967 space = PAGE_SIZE; in calculate_dimm_size() 989 space -= n; in calculate_dimm_size() 996 space -= n; in calculate_dimm_size() 1003 space -= n; in calculate_dimm_size() 1014 space -= n; in calculate_dimm_size() 1017 space = PAGE_SIZE; in calculate_dimm_size() 1022 space -= n; in calculate_dimm_size() 1026 space -= n; in calculate_dimm_size() 1029 space -= n; in calculate_dimm_size() [all …]
|
| A D | i5000_edac.c | 1039 int space, n; in calculate_dimm_size() local 1042 space = PAGE_SIZE; in calculate_dimm_size() 1063 space -= n; in calculate_dimm_size() 1070 space -= n; in calculate_dimm_size() 1081 space -= n; in calculate_dimm_size() 1084 space -= n; in calculate_dimm_size() 1094 space -= n; in calculate_dimm_size() 1097 space = PAGE_SIZE; in calculate_dimm_size() 1102 space -= n; in calculate_dimm_size() 1106 space -= n; in calculate_dimm_size() [all …]
|
| A D | i7300_edac.c | 688 int space, n; in print_dimm_size() local 691 space = PAGE_SIZE; in print_dimm_size() 696 space -= n; in print_dimm_size() 700 space -= n; in print_dimm_size() 704 space = PAGE_SIZE; in print_dimm_size() 708 space -= n; in print_dimm_size() 711 space = PAGE_SIZE; in print_dimm_size() 716 space -= n; in print_dimm_size() 722 space -= n; in print_dimm_size() 733 space -= n; in print_dimm_size() [all …]
|
| /drivers/media/rc/ |
| A D | serial_ir.c | 223 unsigned int pulse, space; in send_pulse_homebrew_softcarrier() local 244 edge = ktime_add_ns(edge, space); in send_pulse_homebrew_softcarrier() 274 ev.duration = space; in frbwrite() 288 space = l; in frbwrite() 294 space += pulse; in frbwrite() 295 if (space > IR_MAX_DURATION) in frbwrite() 296 space = IR_MAX_DURATION; in frbwrite() 297 space += l; in frbwrite() 298 if (space > IR_MAX_DURATION) in frbwrite() 299 space = IR_MAX_DURATION; in frbwrite() [all …]
|
| /drivers/gpu/host1x/ |
| A D | cdma.c | 190 unsigned int space; in host1x_cdma_wait_locked() local 194 space = list_empty(&cdma->sync_queue) ? 1 : 0; in host1x_cdma_wait_locked() 198 space = host1x_pushbuffer_space(pb); in host1x_cdma_wait_locked() 206 if (space) in host1x_cdma_wait_locked() 207 return space; in host1x_cdma_wait_locked() 241 unsigned int space; in host1x_cdma_wait_pushbuffer_space() local 243 space = host1x_pushbuffer_space(pb); in host1x_cdma_wait_pushbuffer_space() 244 if (space >= needed) in host1x_cdma_wait_pushbuffer_space() 623 unsigned int space, needed = 2, extra = 0; in host1x_cdma_push_wide() local 636 space = host1x_pushbuffer_space(pb); in host1x_cdma_push_wide() [all …]
|
| /drivers/media/rc/img-ir/ |
| A D | img-ir-sanyo.c | 90 .space = { 8 /* 4.5ms */ }, 95 .space = { 1 /* 562.5 us */ }, 100 .space = { 3 /* 1687.5 us */ }, 114 .space = { 4 /* 2.25 ms */ },
|
| A D | img-ir-nec.c | 138 .space = { 8 /* 4.5ms */ }, 143 .space = { 1 /* 562.5 us */ }, 148 .space = { 3 /* 1687.5 us */ }, 162 .space = { 4 /* 2.25 ms */ },
|
| A D | img-ir-rc6.c | 90 .space = { 660 }, 95 .space = { 370 }, 100 .space = { 370 },
|
| /drivers/gpu/drm/nouveau/nvkm/core/ |
| A D | enum.c | 44 bool space = false; in nvkm_snprintbf() local 48 space ? " " : "", bf->name); in nvkm_snprintbf() 51 space = true; in nvkm_snprintbf()
|
| /drivers/md/persistent-data/ |
| A D | Makefile | 7 dm-space-map-common.o \ 8 dm-space-map-disk.o \ 9 dm-space-map-metadata.o \
|