Home
last modified time | relevance | path

Searched refs:slot_data (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/lib/libavb/
H A Davb_cmdline.c98 static int cmdline_append_option(AvbSlotVerifyData* slot_data, in cmdline_append_option() argument
108 if (slot_data->cmdline != NULL) { in cmdline_append_option()
109 offset = avb_strlen(slot_data->cmdline); in cmdline_append_option()
120 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option()
126 if (slot_data->cmdline != NULL) { in cmdline_append_option()
127 avb_free(slot_data->cmdline); in cmdline_append_option()
129 slot_data->cmdline = new_cmdline; in cmdline_append_option()
158 static int cmdline_append_version(AvbSlotVerifyData* slot_data, in cmdline_append_version() argument
174 return cmdline_append_option(slot_data, key, combined); in cmdline_append_version()
177 static int cmdline_append_uint64_base10(AvbSlotVerifyData* slot_data, in cmdline_append_uint64_base10() argument
[all …]
H A Davb_slot_verify.c164 AvbSlotVerifyData* slot_data) { in load_and_verify_hash_partition() argument
337 if (slot_data->num_loaded_partitions == MAX_NUMBER_OF_LOADED_PARTITIONS) { in load_and_verify_hash_partition()
343 &slot_data->loaded_partitions[slot_data->num_loaded_partitions++]; in load_and_verify_hash_partition()
362 AvbSlotVerifyData* slot_data) { in load_requested_partitions() argument
409 if (slot_data->num_loaded_partitions == MAX_NUMBER_OF_LOADED_PARTITIONS) { in load_requested_partitions()
415 &slot_data->loaded_partitions[slot_data->num_loaded_partitions++]; in load_requested_partitions()
451 AvbSlotVerifyData* slot_data, in load_and_verify_vbmeta() argument
475 avb_assert(slot_data != NULL); in load_and_verify_vbmeta()
588 slot_data, in load_and_verify_vbmeta()
736 avb_assert(slot_data->num_vbmeta_images == 0); in load_and_verify_vbmeta()
[all …]
H A Davb_cmdline.h46 AvbSlotVerifyData* slot_data,
/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg.c748 static int mxc_get_free_slot(struct mxc_jpeg_slot_data *slot_data) in mxc_get_free_slot() argument
750 if (!slot_data->used) in mxc_get_free_slot()
751 return slot_data->slot; in mxc_get_free_slot()
761 if (jpeg->slot_data.desc) in mxc_jpeg_alloc_slot_data()
767 &jpeg->slot_data.desc_handle, in mxc_jpeg_alloc_slot_data()
771 jpeg->slot_data.desc = desc; in mxc_jpeg_alloc_slot_data()
776 &jpeg->slot_data.cfg_desc_handle, in mxc_jpeg_alloc_slot_data()
780 jpeg->slot_data.cfg_desc = cfg_desc; in mxc_jpeg_alloc_slot_data()
785 &jpeg->slot_data.cfg_stream_handle, in mxc_jpeg_alloc_slot_data()
789 jpeg->slot_data.cfg_stream_vaddr = cfg_stm; in mxc_jpeg_alloc_slot_data()
[all …]
H A Dmxc-jpeg.h133 struct mxc_jpeg_slot_data slot_data; member
/openbmc/linux/drivers/mmc/host/
H A Datmel-mci.c2259 struct mci_slot_pdata *slot_data, unsigned int id, in atmci_init_slot() argument
2273 slot->detect_pin = slot_data->detect_pin; in atmci_init_slot()
2274 slot->wp_pin = slot_data->wp_pin; in atmci_init_slot()
2281 id, slot_data->bus_width, desc_to_gpio(slot_data->detect_pin), in atmci_init_slot()
2282 !gpiod_is_active_low(slot_data->detect_pin) ? "true" : "false", in atmci_init_slot()
2283 desc_to_gpio(slot_data->wp_pin)); in atmci_init_slot()
2298 if ((slot_data->bus_width >= 4) && host->caps.has_rwproof) { in atmci_init_slot()
2300 if (slot_data->bus_width >= 8) in atmci_init_slot()
2327 if (slot_data->non_removable) in atmci_init_slot()
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.h343 struct vchiq_slot *slot_data; member
H A Dvchiq_core.c93 #define SLOT_DATA_FROM_INDEX(state, index) (state->slot_data + (index))
95 (((unsigned int)((char *)data - (char *)state->slot_data)) / \
1730 state->slot_data)->version; in parse_message()
2196 state->slot_data = (struct vchiq_slot *)slot_zero; in vchiq_init_state()