section 9 · Kernel routines 🧠
85608 pages · page 178 of 429
I (continued)
- ipc_imem_init(9)Initialize the shared memory region✨
- ipc_imem_ipc_init_check(9)Send the init event to CP, wait a certain time and set CP to runtime with the context information✨
- ipc_imem_irq_process(9)Shift the IRQ actions to the IPC thread.✨
- ipc_imem_msg_send_feature_set(9)Send feature set message to modem✨
- ipc_imem_phase_get_string(9)Return the current operation phase as string.✨
- ipc_imem_phase_update(9)Get the CP execution state and map it to the AP phase.✨
- ipc_imem_pipe_cleanup(9)Reset volatile pipe content for all channels✨
- ipc_imem_pipe_close(9)Send msg to device to close pipe✨
- ipc_imem_pm_resume(9)The HAL shall inform the shared memory layer that the device is active.✨
- ipc_imem_pm_s2idle_sleep(9)Set PM variables to sleep/active for s2idle sleep/active✨
- ipc_imem_pm_suspend(9)The HAL shall ask the shared memory layer whether D3 is allowed.✨
- ipc_imem_sys_cdev_write(9)Route the uplink buffer to CP.✨
- ipc_imem_sys_devlink_close(9)Release a Flash/CD channel link to CP✨
- ipc_imem_sys_devlink_notify_rx(9)Receive downlink characters from CP, the downlink skbuf is added at the end of the downlink or rx list✨
- ipc_imem_sys_devlink_open(9)Open a Flash/CD Channel link to CP✨
- ipc_imem_sys_devlink_read(9)Copy the rx data and free the skbuf✨
- ipc_imem_sys_devlink_write(9)Route the uplink buffer to CP✨
- ipc_imem_sys_port_close(9)Release a sio link to CP.✨
- ipc_imem_sys_port_open(9)Open a port link to CP.✨
- ipc_imem_sys_wwan_close(9)Close packet data online channel between network layer and CP.✨
- ipc_imem_sys_wwan_open(9)Open packet data online channel between network layer and CP.✨
- ipc_imem_sys_wwan_transmit(9)Function for transfer UL data✨
- ipc_imem_td_update_timer_start(9)Starts the TD Update Timer if not running.✨
- ipc_imem_td_update_timer_suspend(9)Updates the TD Update Timer suspend flag.✨
- ipc_imem_ul_send(9)Dequeue SKB from channel list and start with the uplink transfer.If HP Doorbell is pending to be triggered then starts the TD Update Timer.✨
- ipc_imem_ul_write_td(9)Pass the channel UL list to protocol layer for TD preparation and sending them to the device.✨
- ipc_imem_wwan_channel_init(9)Initializes WWAN channels and the channel for MUX.✨
- ipc_init(9)initialise ipc subsystem✨
- ipc_init_ids(9)initialise ipc identifiers✨
- ipc_init_proc_interface(9)create a proc interface for sysipc types using a seq_file interface.✨
- ipc_kht_remove(9)remove an ipc from the key hashtable✨
- ipc_mmio_config(9)Write context info and AP memory range addresses. This needs to be called when CP is in IPC_MEM_DEVICE_IPC_INIT state✨
- ipc_mmio_copy_chip_info(9)Copy size bytes of CP chip info structure into caller provided buffer✨
- ipc_mmio_get_cp_version(9)Get the CP IPC version✨
- ipc_mmio_get_exec_stage(9)Query CP execution stage✨
- ipc_mmio_get_ipc_state(9)Query CP IPC state✨
- ipc_mmio_get_rom_exit_code(9)Get exit code from CP boot rom download app✨
- ipc_mmio_init(9)Allocate mmio instance data✨
- ipc_mmio_set_contex_info_addr(9)Stores the Context Info Address in MMIO instance to share it with CP during mmio_init.✨
- ipc_mmio_set_psi_addr_and_size(9)Set start address and size of the primary system image (PSI) for the FW dowload.✨
- ipc_mmio_update_cp_capability(9)Read and update modem capability, from mmio capability offset✨
- ipc_mux_check_n_restart_tx(9)Checks for pending UL date bytes and then it restarts the net interface tx queue if device has set flow control as off.✨
- ipc_mux_close_session(9)Closes a MUX session.✨
- ipc_mux_deinit(9)Deallocates MUX instance✨
- ipc_mux_dl_acb_send_cmds(9)Respond to the Command blocks.✨
- ipc_mux_dl_decode(9)Route the DL packet through the IP MUX layer depending on Header.✨
- ipc_mux_get_active_protocol(9)Returns the active MUX protocol type.✨
- ipc_mux_get_max_sessions(9)Returns the maximum sessions supported on the provided MUX instance..✨
- ipc_mux_init(9)Allocates and Init MUX instance✨
- ipc_mux_netif_tx_flowctrl(9)Enable/Disable TX flow control on MUX sessions.✨
- ipc_mux_open_session(9)Opens a MUX session for IP traffic.✨
- ipc_mux_ul_adb_finish(9)Add the TD of the aggregated session packets to TDR.✨
- ipc_mux_ul_adb_update_ql(9)Adds Queue Level Table and Queue Level to ADB✨
- ipc_mux_ul_data_encode(9)UL encode function for calling from Tasklet context.✨
- ipc_mux_ul_encoded_process(9)Handles the Modem processed UL data by adding the SKB to the UL free list.✨
- ipc_mux_ul_trigger_encode(9)Route the UL packet through the IP MUX layer for encoding.✨
- ipc_obtain_object_check(9)Similar to ipc_obtain_object_idr() but also checks the ipc object sequence number.✨
- ipc_obtain_object_idr(9)Look for an id in the ipc ids idr and return associated ipc object.✨
- ipc_parse_version(9)ipc call version✨
- ipc_pcie_addr_map(9)Maps the kernel's virtual address to either IOVA address space or Physical address space, the mapping is stored in the skb's cb.✨
- ipc_pcie_addr_unmap(9)Unmaps the skb memory region from IOVA address space✨
- ipc_pcie_alloc_local_skb(9)Allocate a local SKB for the given size.✨
- ipc_pcie_alloc_skb(9)Allocate an uplink SKB for the given size.✨
- ipc_pcie_check_aspm_enabled(9)Check if ASPM L1 is already enabled✨
- ipc_pcie_check_data_link_active(9)Check Data Link Layer Active✨
- ipc_pcie_config_aspm(9)Configure ASPM L1✨
- ipc_pcie_kfree_skb(9)Free skb allocated by ipc_pcie_alloc_*_skb().✨
- ipc_pcie_resume(9)Callback invoked by pm_runtime_resume. It increments the device's usage count then, carry out a resume, either synchronous or asynchronous.✨
- ipc_pcie_suspend(9)Callback invoked by pm_runtime_suspend. It decrements the device's usage count then, carry out a suspend, either synchronous or asynchronous.✨
- ipc_pm_deinit(9)Free power management component, invalidating its pointer.✨
- ipc_pm_dev_slp_notification(9)Handle a sleep notification message from the device. This can be called from interrupt state This function handles Host Sleep requests too if the Host Sleep protocol is register based.✨
- ipc_pm_init(9)Allocate power management component✨
- ipc_pm_prepare_host_active(9)Prepare the PM for wakeup by entering IPC_MEM_HOST_PM_ACTIVE_WAIT state.✨
- ipc_pm_prepare_host_sleep(9)Prepare the PM for sleep by entering IPC_MEM_HOST_PM_SLEEP_WAIT_D3 state.✨
- ipc_pm_set_s2idle_sleep(9)Set PM variables to sleep/active✨
- ipc_pm_signal_hpda_doorbell(9)Wake up the device if it is in low power mode and trigger a head pointer update interrupt.✨
- ipc_pm_trigger(9)Update power manager and wake up the link if needed✨
- ipc_pm_wait_for_device_active(9)Wait up to IPC_PM_ACTIVE_TIMEOUT_MS ms for the device to reach active state✨
- ipc_port_deinit(9)Free IPC port & unregister port with wwan subsystem.✨
- ipc_port_init(9)Allocate IPC port & register to wwan subsystem for AT/MBIM communication.✨
- ipc_protocol_deinit(9)Deallocates IPC protocol instance✨
- ipc_protocol_dl_td_prepare(9)Function for providing DL TDs to CP✨
- ipc_protocol_dl_td_process(9)Function for processing the DL data✨
- ipc_protocol_doorbell_trigger(9)Wrapper for PM function which wake up the device if it is in low power mode and trigger a head pointer update interrupt.✨
- ipc_protocol_get_ap_exec_stage(9)Function for getting AP Exec Stage✨
- ipc_protocol_get_head_tail_index(9)Function for getting Head and Tail pointer index of given pipe✨
- ipc_protocol_get_ipc_status(9)Function for getting the IPC Status✨
- ipc_protocol_init(9)Allocates IPC protocol instance✨
- ipc_protocol_msg_hp_update(9)Function for head pointer update of message ring✨
- ipc_protocol_msg_prep(9)Prepare message based upon message type✨
- ipc_protocol_msg_process(9)Function for processing responses to IPC messages✨
- ipc_protocol_msg_send(9)Send ipc control message to CP and wait for response✨
- ipc_protocol_pipe_cleanup(9)Function to cleanup pipe resources✨
- ipc_protocol_pm_dev_get_sleep_notification(9)Function for getting Dev Sleep notification✨
- ipc_protocol_pm_dev_sleep_handle(9)Handles the Device Sleep state change notification.✨
- ipc_protocol_resume(9)Signal to CP that host wants to resume operation.✨
- ipc_protocol_s2idle_sleep(9)Call PM function to set PM variables in s2idle sleep/active case✨
- ipc_protocol_sleep_notification_string(9)Returns last Sleep Notification as string.✨
- ipc_protocol_suspend(9)Signal to CP that host wants to go to sleep (suspend).✨
- ipc_protocol_tq_msg_send(9)prepare the msg and send to CP✨
- ipc_protocol_ul_td_process(9)Function for processing the sent data✨
- ipc_protocol_ul_td_send(9)Function for sending the data to CP✨
- ipc_release_irq(9)Release the IRQ handler.✨
- ipc_rmid(9)remove an ipc identifier✨
- ipc_search_maxidx(9)search for the highest assigned index✨
- ipc_send_mng_msg(9)Send management message✨
- ipc_set_key_private(9)switch the key of an existing ipc to IPC_PRIVATE✨
- ipc_task_deinit(9)Free a tasklet, invalidating its pointer.✨
- ipc_task_init(9)Allocate a tasklet✨
- ipc_task_queue_send_task(9)Synchronously/Asynchronously call a function in tasklet context.✨
- ipc_trace_deinit(9)Closing relayfs, removing debugfs entries✨
- ipc_trace_init(9)Create trace interface & debugfs entries✨
- ipc_trace_port_rx(9)Receive trace packet from cp and write to relay buffer✨
- ipc_tx_send(9)IPC tx send function✨
- ipc_uevent_send(9)Send modem event to user space.✨
- ipc_update_perm(9)update the permissions of an ipc object✨
- ipc_wwan_deinit(9)Unregister and free WWAN device, clear pointer✨
- ipc_wwan_init(9)Allocate, Init and register WWAN device✨
- ipc_wwan_receive(9)Receive a downlink packet from CP.✨
- ipc_wwan_tx_flowctrl(9)Enable/Disable TX flow control✨
- ipcctl_obtain_check(9)retrieve an ipc object and check permissions✨
- ipcget(9)Common sys_*get() code✨
- ipcget_new(9)create a new ipc object✨
- ipcget_public(9)get an ipc object or create a new one✨
- ipcperms(9)check ipc permissions✨
- ipe_audit_enforce(9)Audit a change in IPE's enforcement state.✨
- ipe_audit_match(9)Audit a rule match in a policy evaluation.✨
- ipe_audit_policy_activation(9)Audit a policy being activated.✨
- ipe_audit_policy_load(9)Audit a policy loading event.✨
- ipe_bdev_free_security(9)Free IPE's LSM blob of block_devices.✨
- ipe_bdev_setintegrity(9)Save integrity data from a bdev to IPE's LSM blob.✨
- ipe_bprm_check_security(9)ipe security hook function for bprm check.✨
- ipe_bprm_creds_for_exec(9)ipe security hook function for bprm creds check.✨
- ipe_build_eval_ctx(9)Build an ipe evaluation context.✨
- ipe_del_policyfs_node(9)Delete a securityfs entry for @p.✨
- ipe_digest_audit(9)audit a digest that was sourced from IPE's policy.✨
- ipe_digest_eval(9)evaluate an IPE digest against another digest.✨
- ipe_digest_free(9)free an IPE digest.✨
- ipe_digest_parse(9)parse a digest in IPE's policy.✨
- ipe_evaluate_event(9)Analyze @ctx against the current active policy.✨
- ipe_file_mprotect(9)ipe security hook function for mprotect check.✨
- ipe_free_parsed_policy(9)free a parsed policy structure.✨
- ipe_free_policy(9)Deallocate a given IPE policy.✨
- ipe_init(9)Entry point of IPE.✨
- ipe_init_securityfs(9)Initialize IPE's securityfs tree at fsinit.✨
- ipe_inode_setintegrity(9)save integrity data from a inode to IPE's LSM blob.✨
- ipe_kernel_load_data(9)ipe security hook function for kernel load data.✨
- ipe_kernel_read_file(9)ipe security hook function for kernel read.✨
- ipe_mmap_file(9)ipe security hook function for mmap check.✨
- ipe_new_policy(9)Allocate and parse an ipe_policy structure.✨
- ipe_new_policyfs_node(9)Create a securityfs entry for @p.✨
- ipe_parse_policy(9)Given a string, parse the string into an IPE policy.✨
- ipe_parser_unsigned_test(9)Test the parser by passing unsigned policies.✨
- ipe_parser_widestring_test(9)Ensure parser fail on a wide string policy.✨
- ipe_set_active_pol(9)Make @p the active policy.✨
- ipe_unpack_initramfs(9)Mark the current rootfs as initramfs.✨
- ipe_update_policy(9)parse a new policy and replace old with it.✨
- ipi(9)machine-independent interprocessor interrupts✨
- ipi_get_hwirq(9)Get the hwirq associated with an IPI to a CPU✨
- ipi_mux_create(9)Create virtual IPIs multiplexed on top of a single parent IPI.✨
- ipi_mux_process(9)Process multiplexed virtual IPIs✨
- ipi_send_mask(9)Send an IPI to target CPU(s)✨
- ipi_send_single(9)Send an IPI to a single CPU✨
- ipoib_get_net_dev_match_addr(9)Find a net_device matching the given address, which is an upper device of the given net_device.✨
- ipr_abort_timeout(9)An abort task has timed out✨
- ipr_alloc_cmd_blks(9)Allocate command blocks for an adapter✨
- ipr_alloc_dump(9)Prepare for adapter dump✨
- ipr_alloc_mem(9)Allocate memory for an adapter✨
- ipr_alloc_ucode_buffer(9)Allocates a microcode download buffer✨
- ipr_biosparam(9)Return the HSC mapping✨
- ipr_build_ioadl(9)Build a scatter/gather list and map the buffer✨
- ipr_build_ioadl64(9)Build a scatter/gather list and map the buffer✨
- ipr_build_mode_select(9)Build a mode select command✨
- ipr_build_mode_sense(9)Builds a mode sense command✨
- ipr_build_ucode_ioadl(9)Build a microcode download IOADL✨
- ipr_build_ucode_ioadl64(9)Build a microcode download IOADL✨
- ipr_bus_reset_done(9)Op done function for bus reset.✨
- ipr_cancel_op(9)Cancel specified op✨
- ipr_change_queue_depth(9)Change the device's queue depth✨
- ipr_check_term_power(9)Check for term power errors✨
- ipr_clear_res_target(9)Clear the bit in the bit map representing the target for the resource.✨
- ipr_cmnd_is_free(9)Check if a command is free or not✨
- ipr_copy_ucode_buffer(9)Copy user buffer to kernel buffer✨
- ipr_device_reset(9)Reset the device✨
- ipr_do_req(9)Send driver initiated requests.✨
- ipr_dump_ioa_type_data(9)Fill in the adapter type in the dump.✨
- ipr_dump_ioasa(9)Dump contents of IOASA✨
- ipr_dump_location_data(9)Fill in the IOA location in the dump.✨
- ipr_dump_trace_data(9)Fill in the IOA trace in the dump.✨
- ipr_dump_version_data(9)Fill in the driver version in the dump.✨
- ipr_eh_abort(9)Reset the host adapter✨
- ipr_erp_cancel_all(9)Send cancel all to a device✨
- ipr_erp_done(9)Process completion of ERP for a device✨
- ipr_erp_request_sense(9)Send request sense to a device✨
- ipr_erp_start(9)Process an error response for a SCSI op✨
- ipr_exit(9)Module unload✨
- ipr_fail_all_ops(9)Fails all outstanding ops.✨
- ipr_find_sdev(9)Find device based on bus/target/lun.✨
- ipr_find_ses_entry(9)Find matching SES in SES table✨
- ipr_find_starget(9)Find target based on bus/target.✨
💅
getting it ready, bestie…