/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/dcn21/ |
H A D | hw_translate_dcn21.c | 197 struct gpio_pin_info *info) in id_to_offset() 203 info->mask = DC_GPIO_DDC5_A__DC_GPIO_DDC5DATA_A_MASK; in id_to_offset() 206 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 209 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 212 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 215 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 218 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 221 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 230 info->mask = DC_GPIO_DDC5_A__DC_GPIO_DDC5CLK_A_MASK; in id_to_offset() 233 info in id_to_offset() 194 id_to_offset( enum gpio_id id, uint32_t en, struct gpio_pin_info *info) id_to_offset() argument [all...] |
/kernel/linux/linux-6.6/drivers/uio/ |
H A D | uio_sercos3.c | 52 static void sercos3_disable_interrupts(struct uio_info *info, in sercos3_disable_interrupts() argument 55 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_disable_interrupts() 65 static void sercos3_enable_interrupts(struct uio_info *info, in sercos3_enable_interrupts() argument 68 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_enable_interrupts() 75 static irqreturn_t sercos3_handler(int irq, struct uio_info *info) in sercos3_handler() argument 77 struct sercos3_priv *priv = info->priv; in sercos3_handler() 78 void __iomem *isr0 = info->mem[3].internal_addr + ISR0_OFFSET; in sercos3_handler() 79 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_handler() 85 sercos3_disable_interrupts(info, priv); in sercos3_handler() 91 static int sercos3_irqcontrol(struct uio_info *info, s3 argument 105 sercos3_setup_iomem(struct pci_dev *dev, struct uio_info *info, int n, int pci_bar) sercos3_setup_iomem() argument 123 struct uio_info *info; sercos3_pci_probe() local 182 struct uio_info *info = pci_get_drvdata(dev); sercos3_pci_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/gpio/dcn21/ |
H A D | hw_translate_dcn21.c | 200 struct gpio_pin_info *info) in id_to_offset() 206 info->mask = DC_GPIO_DDC5_A__DC_GPIO_DDC5DATA_A_MASK; in id_to_offset() 209 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 212 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 215 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 218 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 221 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 224 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 233 info->mask = DC_GPIO_DDC5_A__DC_GPIO_DDC5CLK_A_MASK; in id_to_offset() 236 info in id_to_offset() 197 id_to_offset( enum gpio_id id, uint32_t en, struct gpio_pin_info *info) id_to_offset() argument [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_cgroup.c | 28 struct xt_cgroup_info_v0 *info = par->matchinfo; in cgroup_mt_check_v0() local 30 if (info->invert & ~1) in cgroup_mt_check_v0() 38 struct xt_cgroup_info_v1 *info = par->matchinfo; in cgroup_mt_check_v1() local 41 if ((info->invert_path & ~1) || (info->invert_classid & ~1)) in cgroup_mt_check_v1() 44 if (!info->has_path && !info->has_classid) { in cgroup_mt_check_v1() 49 if (info->has_path && info->has_classid) { in cgroup_mt_check_v1() 54 info in cgroup_mt_check_v1() 70 struct xt_cgroup_info_v2 *info = par->matchinfo; cgroup_mt_check_v2() local 103 const struct xt_cgroup_info_v0 *info = par->matchinfo; cgroup_mt_v0() local 115 const struct xt_cgroup_info_v1 *info = par->matchinfo; cgroup_mt_v1() local 133 const struct xt_cgroup_info_v2 *info = par->matchinfo; cgroup_mt_v2() local 151 struct xt_cgroup_info_v1 *info = par->matchinfo; cgroup_mt_destroy_v1() local 159 struct xt_cgroup_info_v2 *info = par->matchinfo; cgroup_mt_destroy_v2() local [all...] |
H A D | xt_physdev.c | 26 const struct xt_physdev_info *info = par->matchinfo; in physdev_mt() local 31 /* Not a bridged IP packet or no info available yet: in physdev_mt() 36 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt() 37 !(info->invert & XT_PHYSDEV_OP_BRIDGED)) in physdev_mt() 39 if ((info->bitmask & XT_PHYSDEV_OP_ISIN) && in physdev_mt() 40 !(info->invert & XT_PHYSDEV_OP_ISIN)) in physdev_mt() 42 if ((info->bitmask & XT_PHYSDEV_OP_ISOUT) && in physdev_mt() 43 !(info->invert & XT_PHYSDEV_OP_ISOUT)) in physdev_mt() 45 if ((info->bitmask & XT_PHYSDEV_OP_IN) && in physdev_mt() 46 !(info in physdev_mt() 96 const struct xt_physdev_info *info = par->matchinfo; physdev_mt_check() local [all...] |
/kernel/linux/linux-5.10/arch/x86/pci/ |
H A D | bus_numa.c | 12 struct pci_root_info *info; in x86_find_pci_root_info() local 14 list_for_each_entry(info, &pci_root_infos, list) in x86_find_pci_root_info() 15 if (info->busn.start == bus) in x86_find_pci_root_info() 16 return info; in x86_find_pci_root_info() 23 struct pci_root_info *info = x86_find_pci_root_info(bus); in x86_pci_root_bus_node() local 25 if (!info) in x86_pci_root_bus_node() 28 return info->node; in x86_pci_root_bus_node() 33 struct pci_root_info *info = x86_find_pci_root_info(bus); in x86_pci_root_bus_resources() local 38 if (!info) in x86_pci_root_bus_resources() 52 pci_add_resource(resources, &info in x86_pci_root_bus_resources() 73 struct pci_root_info *info; alloc_pci_root_info() local 95 update_res(struct pci_root_info *info, resource_size_t start, resource_size_t end, unsigned long flags, int merge) update_res() argument [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_physdev.c | 26 const struct xt_physdev_info *info = par->matchinfo; in physdev_mt() local 31 /* Not a bridged IP packet or no info available yet: in physdev_mt() 36 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt() 37 !(info->invert & XT_PHYSDEV_OP_BRIDGED)) in physdev_mt() 39 if ((info->bitmask & XT_PHYSDEV_OP_ISIN) && in physdev_mt() 40 !(info->invert & XT_PHYSDEV_OP_ISIN)) in physdev_mt() 42 if ((info->bitmask & XT_PHYSDEV_OP_ISOUT) && in physdev_mt() 43 !(info->invert & XT_PHYSDEV_OP_ISOUT)) in physdev_mt() 45 if ((info->bitmask & XT_PHYSDEV_OP_IN) && in physdev_mt() 46 !(info in physdev_mt() 96 const struct xt_physdev_info *info = par->matchinfo; physdev_mt_check() local [all...] |
/kernel/linux/linux-6.6/arch/x86/pci/ |
H A D | bus_numa.c | 12 struct pci_root_info *info; in x86_find_pci_root_info() local 14 list_for_each_entry(info, &pci_root_infos, list) in x86_find_pci_root_info() 15 if (info->busn.start == bus) in x86_find_pci_root_info() 16 return info; in x86_find_pci_root_info() 23 struct pci_root_info *info = x86_find_pci_root_info(bus); in x86_pci_root_bus_node() local 25 if (!info) in x86_pci_root_bus_node() 28 return info->node; in x86_pci_root_bus_node() 33 struct pci_root_info *info = x86_find_pci_root_info(bus); in x86_pci_root_bus_resources() local 38 if (!info) in x86_pci_root_bus_resources() 52 pci_add_resource(resources, &info in x86_pci_root_bus_resources() 73 struct pci_root_info *info; alloc_pci_root_info() local 95 update_res(struct pci_root_info *info, resource_size_t start, resource_size_t end, unsigned long flags, int merge) update_res() argument [all...] |
/kernel/liteos_m/components/debugtools/ |
H A D | los_stackdump.c | 45 STATIC VOID ShowFormat(UINTPTR *buf, DumpInfo *info)
in ShowFormat() argument 49 UINT32 len = info->waterLine / sizeof(UINTPTR);
in ShowFormat() 50 UINTPTR addr = (info->taskSPLimit - info->waterLine);
in ShowFormat() 56 if (addr == info->taskSP) {
in ShowFormat() 67 STATIC INT32 DumpTaskInfo(UINT32 taskID, UINTPTR *buf, DumpInfo *info)
in DumpTaskInfo() argument 73 info->taskSP = ArchSpGet();
in DumpTaskInfo() 75 info->taskSP = (UINTPTR)taskCB->stackPointer;
in DumpTaskInfo() 78 info->taskSPTop = taskCB->topOfStack;
in DumpTaskInfo() 79 info in DumpTaskInfo() 95 DumpInfo info; LOS_TaskStackDump() local [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | file_remote.c | 28 struct hmdfs_inode_info *info) in hmdfs_remote_write_cache_expired() 30 return time_after(jiffies, info->writecache_expire); in hmdfs_remote_write_cache_expired() 47 * @info: hmdfs inode info 51 static int hmdfs_open_final_remote(struct hmdfs_inode_info *info, in hmdfs_open_final_remote() argument 55 struct inode *inode = &info->vfs_inode; in hmdfs_open_final_remote() 64 if (info->remote_ino != open_ret->ino) { in hmdfs_open_final_remote() 67 info->remote_ino, open_ret->ino); in hmdfs_open_final_remote() 68 hmdfs_send_close(info->conn, &open_ret->fid); in hmdfs_open_final_remote() 76 trace_hmdfs_open_final_remote(info, open_re in hmdfs_open_final_remote() 27 hmdfs_remote_write_cache_expired( struct hmdfs_inode_info *info) hmdfs_remote_write_cache_expired() argument 159 struct hmdfs_inode_info *info = hmdfs_i(file_inode(file)); hmdfs_do_open_remote() local 184 hmdfs_remote_need_reopen(struct hmdfs_inode_info *info) hmdfs_remote_need_reopen() argument 189 hmdfs_remote_is_opening_file(struct hmdfs_inode_info *info) hmdfs_remote_is_opening_file() argument 194 hmdfs_remote_wait_opening_file(struct hmdfs_inode_info *info) hmdfs_remote_wait_opening_file() argument 212 hmdfs_remote_file_reopen(struct hmdfs_inode_info *info, struct file *filp) hmdfs_remote_file_reopen() argument 271 hmdfs_remote_check_and_reopen(struct hmdfs_inode_info *info, struct file *filp) hmdfs_remote_check_and_reopen() argument 282 struct hmdfs_inode_info *info = hmdfs_do_close_remote() local 298 hmdfs_remote_del_wr_opened_inode_nolock(struct hmdfs_inode_info *info) hmdfs_remote_del_wr_opened_inode_nolock() argument 305 hmdfs_remote_del_wr_opened_inode(struct hmdfs_peer *conn, struct hmdfs_inode_info *info) hmdfs_remote_del_wr_opened_inode() argument 313 hmdfs_remote_add_wr_opened_inode_nolock(struct hmdfs_peer *conn, struct hmdfs_inode_info *info) hmdfs_remote_add_wr_opened_inode_nolock() argument 325 hmdfs_remote_add_wr_opened_inode(struct hmdfs_peer *conn, struct hmdfs_inode_info *info) hmdfs_remote_add_wr_opened_inode() argument 335 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_file_open_remote() local 356 hmdfs_set_writecache_expire(struct hmdfs_inode_info *info, unsigned int seconds) hmdfs_set_writecache_expire() argument 375 struct hmdfs_inode_info *info = NULL; hmdfs_remote_keep_writecache() local 423 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_file_release_remote() local 466 struct hmdfs_inode_info *info = hmdfs_i(file_inode(filp)); hmdfs_file_read_iter_remote() local 504 hmdfs_is_file_unwritable(const struct hmdfs_inode_info *info, bool check_stash) hmdfs_is_file_unwritable() argument 517 struct hmdfs_inode_info *info = hmdfs_i(inode); __hmdfs_file_write_iter_remote() local 578 struct hmdfs_inode_info *info = hmdfs_i(file_inode(file)); hmdfs_file_fsync_remote() local 645 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_readpage_remote() local 691 allow_cur_thread_wpage(struct hmdfs_inode_info *info, bool *rsem_held, bool sync_all) allow_cur_thread_wpage() argument 720 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_writepage_remote() local 1021 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_dir_open_remote() local [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_remote.c | 28 struct hmdfs_inode_info *info) in hmdfs_remote_write_cache_expired() 30 return time_after(jiffies, info->writecache_expire); in hmdfs_remote_write_cache_expired() 47 * @info: hmdfs inode info 51 static int hmdfs_open_final_remote(struct hmdfs_inode_info *info, in hmdfs_open_final_remote() argument 55 struct inode *inode = &info->vfs_inode; in hmdfs_open_final_remote() 64 if (info->remote_ino != open_ret->ino) { in hmdfs_open_final_remote() 67 info->remote_ino, open_ret->ino); in hmdfs_open_final_remote() 68 hmdfs_send_close(info->conn, &open_ret->fid); in hmdfs_open_final_remote() 76 trace_hmdfs_open_final_remote(info, open_re in hmdfs_open_final_remote() 27 hmdfs_remote_write_cache_expired( struct hmdfs_inode_info *info) hmdfs_remote_write_cache_expired() argument 159 struct hmdfs_inode_info *info = hmdfs_i(file_inode(file)); hmdfs_do_open_remote() local 184 hmdfs_remote_need_reopen(struct hmdfs_inode_info *info) hmdfs_remote_need_reopen() argument 189 hmdfs_remote_is_opening_file(struct hmdfs_inode_info *info) hmdfs_remote_is_opening_file() argument 194 hmdfs_remote_wait_opening_file(struct hmdfs_inode_info *info) hmdfs_remote_wait_opening_file() argument 212 hmdfs_remote_file_reopen(struct hmdfs_inode_info *info, struct file *filp) hmdfs_remote_file_reopen() argument 271 hmdfs_remote_check_and_reopen(struct hmdfs_inode_info *info, struct file *filp) hmdfs_remote_check_and_reopen() argument 282 struct hmdfs_inode_info *info = hmdfs_do_close_remote() local 298 hmdfs_remote_del_wr_opened_inode_nolock(struct hmdfs_inode_info *info) hmdfs_remote_del_wr_opened_inode_nolock() argument 305 hmdfs_remote_del_wr_opened_inode(struct hmdfs_peer *conn, struct hmdfs_inode_info *info) hmdfs_remote_del_wr_opened_inode() argument 313 hmdfs_remote_add_wr_opened_inode_nolock(struct hmdfs_peer *conn, struct hmdfs_inode_info *info) hmdfs_remote_add_wr_opened_inode_nolock() argument 325 hmdfs_remote_add_wr_opened_inode(struct hmdfs_peer *conn, struct hmdfs_inode_info *info) hmdfs_remote_add_wr_opened_inode() argument 335 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_file_open_remote() local 356 hmdfs_set_writecache_expire(struct hmdfs_inode_info *info, unsigned int seconds) hmdfs_set_writecache_expire() argument 375 struct hmdfs_inode_info *info = NULL; hmdfs_remote_keep_writecache() local 423 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_file_release_remote() local 466 struct hmdfs_inode_info *info = hmdfs_i(file_inode(filp)); hmdfs_file_read_iter_remote() local 504 hmdfs_is_file_unwritable(const struct hmdfs_inode_info *info, bool check_stash) hmdfs_is_file_unwritable() argument 517 struct hmdfs_inode_info *info = hmdfs_i(inode); __hmdfs_file_write_iter_remote() local 578 struct hmdfs_inode_info *info = hmdfs_i(file_inode(file)); hmdfs_file_fsync_remote() local 645 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_readpage_remote() local 697 allow_cur_thread_wpage(struct hmdfs_inode_info *info, bool *rsem_held, bool sync_all) allow_cur_thread_wpage() argument 726 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_writepage_remote() local 1027 struct hmdfs_inode_info *info = hmdfs_i(inode); hmdfs_dir_open_remote() local [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | map.c | 88 static void *alloc_value(struct bpf_map_info *info) in alloc_value() argument 90 if (map_is_per_cpu(info->type)) in alloc_value() 91 return malloc(round_up(info->value_size, 8) * in alloc_value() 94 return malloc(info->value_size); in alloc_value() 158 static void print_entry_json(struct bpf_map_info *info, unsigned char *key, in print_entry_json() argument 163 if (!map_is_per_cpu(info->type)) { in print_entry_json() 165 print_hex_data_json(key, info->key_size); in print_entry_json() 167 print_hex_data_json(value, info->value_size); in print_entry_json() 176 do_dump_btf(&d, info, key, value); in print_entry_json() 182 step = round_up(info in print_entry_json() 217 print_entry_error_msg(struct bpf_map_info *info, unsigned char *key, const char *error_msg) print_entry_error_msg() argument 270 print_entry_plain(struct bpf_map_info *info, unsigned char *key, unsigned char *value) print_entry_plain() argument 345 fill_per_cpu_value(struct bpf_map_info *info, void *value) fill_per_cpu_value() argument 358 parse_elem(char **argv, struct bpf_map_info *info, void *key, void *value, __u32 key_size, __u32 value_size, __u32 *flags, __u32 **value_fd) parse_elem() argument 468 show_map_header_json(struct bpf_map_info *info, json_writer_t *wtr) show_map_header_json() argument 483 show_map_close_json(int fd, struct bpf_map_info *info) show_map_close_json() argument 556 show_map_header_plain(struct bpf_map_info *info) show_map_header_plain() argument 572 show_map_close_plain(int fd, struct bpf_map_info *info) show_map_close_plain() argument 646 struct bpf_map_info info = {}; do_show_subset() local 690 struct bpf_map_info info = {}; do_show() local 775 struct bpf_map_info info = {}; maps_have_btf() local 795 get_map_kv_btf(const struct bpf_map_info *info) get_map_kv_btf() argument 832 map_dump(int fd, struct bpf_map_info *info, json_writer_t *wtr, bool show_header) map_dump() argument 904 struct bpf_map_info info = {}; do_dump() local 968 alloc_key_value(struct bpf_map_info *info, void **key, void **value) alloc_key_value() argument 996 struct bpf_map_info info = {}; do_update() local 1037 print_key_value(struct bpf_map_info *info, void *key, void *value) print_key_value() argument 1080 struct bpf_map_info info = {}; do_lookup() local 1131 struct bpf_map_info info = {}; do_getnext() local 1202 struct bpf_map_info info = {}; do_delete() local 1312 struct bpf_map_info info = {}; do_create() local 1360 struct bpf_map_info info = {}; do_pop_dequeue() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | rsmisc.c | 26 * info - Pointer to appropriate conversion table 37 struct acpi_rsconvert_info *info) in acpi_rs_convert_aml_to_resource() 50 if (!info) { in acpi_rs_convert_aml_to_resource() 71 count = INIT_TABLE_LENGTH(info); in acpi_rs_convert_aml_to_resource() 77 source = ACPI_ADD_PTR(void, aml, info->aml_offset); in acpi_rs_convert_aml_to_resource() 79 ACPI_ADD_PTR(void, resource, info->resource_offset); in acpi_rs_convert_aml_to_resource() 81 switch (info->opcode) { in acpi_rs_convert_aml_to_resource() 86 memset(resource, 0, INIT_RESOURCE_LENGTH(info)); in acpi_rs_convert_aml_to_resource() 87 resource->type = INIT_RESOURCE_TYPE(info); in acpi_rs_convert_aml_to_resource() 88 resource->length = INIT_RESOURCE_LENGTH(info); in acpi_rs_convert_aml_to_resource() 35 acpi_rs_convert_aml_to_resource(struct acpi_resource *resource, union aml_resource *aml, struct acpi_rsconvert_info *info) acpi_rs_convert_aml_to_resource() argument 434 acpi_rs_convert_resource_to_aml(struct acpi_resource *resource, union aml_resource *aml, struct acpi_rsconvert_info *info) acpi_rs_convert_resource_to_aml() argument [all...] |
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | unwind.c | 180 /* Called from setup_arch to import the kernel unwind info */ 215 static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) in unwind_special() argument 233 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); in unwind_special() 235 info->prev_sp = regs->gr[30]; in unwind_special() 236 info->prev_ip = regs->iaoq[0]; in unwind_special() 242 info->prev_sp = info->prev_ip = 0; in unwind_special() 250 regs = (struct pt_regs *)(info->sp - PT_SZ_ALGN); in unwind_special() 251 info->prev_sp = regs->gr[30]; in unwind_special() 252 info in unwind_special() 274 unwind_frame_regs(struct unwind_frame_info *info) unwind_frame_regs() argument 385 unwind_frame_init(struct unwind_frame_info *info, struct task_struct *t, struct pt_regs *regs) unwind_frame_init() argument 399 unwind_frame_init_from_blocked_task(struct unwind_frame_info *info, struct task_struct *t) unwind_frame_init_from_blocked_task() argument 420 unwind_frame_init_task(struct unwind_frame_info *info, struct task_struct *task, struct pt_regs *regs) unwind_frame_init_task() argument 461 unwind_to_user(struct unwind_frame_info *info) unwind_to_user() argument 474 struct unwind_frame_info info; return_address() local [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | rn5t618_power.c | 76 static int rn5t618_battery_read_doublereg(struct rn5t618_power_info *info, in rn5t618_battery_read_doublereg() argument 86 ret = regmap_bulk_read(info->rn5t618->regmap, in rn5t618_battery_read_doublereg() 125 static int rn5t618_battery_status(struct rn5t618_power_info *info, in rn5t618_battery_status() argument 131 ret = regmap_read(info->rn5t618->regmap, RN5T618_CHGSTATE, &v); in rn5t618_battery_status() 145 static int rn5t618_battery_present(struct rn5t618_power_info *info, in rn5t618_battery_present() argument 151 ret = regmap_read(info->rn5t618->regmap, RN5T618_CHGSTATE, &v); in rn5t618_battery_present() 164 static int rn5t618_battery_voltage_now(struct rn5t618_power_info *info, in rn5t618_battery_voltage_now() argument 170 ret = rn5t618_battery_read_doublereg(info, RN5T618_VOLTAGE_1, &res); in rn5t618_battery_voltage_now() 179 static int rn5t618_battery_current_now(struct rn5t618_power_info *info, in rn5t618_battery_current_now() argument 185 ret = rn5t618_battery_read_doublereg(info, RN5T618_CC_AVEREG in rn5t618_battery_current_now() 195 rn5t618_battery_capacity(struct rn5t618_power_info *info, union power_supply_propval *val) rn5t618_battery_capacity() argument 210 rn5t618_battery_temp(struct rn5t618_power_info *info, union power_supply_propval *val) rn5t618_battery_temp() argument 225 rn5t618_battery_tte(struct rn5t618_power_info *info, union power_supply_propval *val) rn5t618_battery_tte() argument 243 rn5t618_battery_ttf(struct rn5t618_power_info *info, union power_supply_propval *val) rn5t618_battery_ttf() argument 261 rn5t618_battery_charge_full(struct rn5t618_power_info *info, union power_supply_propval *val) rn5t618_battery_charge_full() argument 276 rn5t618_battery_charge_now(struct rn5t618_power_info *info, union power_supply_propval *val) rn5t618_battery_charge_now() argument 296 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); rn5t618_battery_get_property() local 343 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); rn5t618_adp_get_property() local 379 struct rn5t618_power_info *info = power_supply_get_drvdata(psy); rn5t618_usb_get_property() local 438 struct rn5t618_power_info *info = dev_get_drvdata(dev); rn5t618_charger_irq() local 467 struct rn5t618_power_info *info; rn5t618_power_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser.c | 68 struct graphics_object_i2c_info *info); 92 struct embedded_panel_info *info); 219 struct graphics_object_i2c_info *info) in bios_parser_get_i2c_info() 227 if (!info) in bios_parser_get_i2c_info() 250 /* get the I2C info */ in bios_parser_get_i2c_info() 253 if (get_gpio_i2c_info(bp, record, info) == BP_RESULT_OK) in bios_parser_get_i2c_info() 265 struct graphics_object_hpd_info *info) in bios_parser_get_hpd_info() 271 if (!info) in bios_parser_get_hpd_info() 282 info->hpd_int_gpio_uid = record->ucHPDIntGPIOID; in bios_parser_get_hpd_info() 283 info in bios_parser_get_hpd_info() 217 bios_parser_get_i2c_info(struct dc_bios *dcb, struct graphics_object_id id, struct graphics_object_i2c_info *info) bios_parser_get_i2c_info() argument 263 bios_parser_get_hpd_info(struct dc_bios *dcb, struct graphics_object_id id, struct graphics_object_hpd_info *info) bios_parser_get_hpd_info() argument 327 bios_parser_get_device_tag( struct dc_bios *dcb, struct graphics_object_id connector_object_id, uint32_t device_tag_index, struct connector_device_tag_info *info) bios_parser_get_device_tag() argument 375 bios_parser_get_firmware_info( struct dc_bios *dcb, struct dc_firmware_info *info) bios_parser_get_firmware_info() argument 419 get_firmware_info_v1_4( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v1_4() argument 469 get_firmware_info_v2_1( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v2_1() argument 553 get_firmware_info_v2_2( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v2_2() argument 1018 get_ss_info_from_internal_ss_info_tbl_V2_1( struct bios_parser *bp, uint32_t id, struct spread_spectrum_info *info) get_ss_info_from_internal_ss_info_tbl_V2_1() argument 1174 bios_parser_get_embedded_panel_info( struct dc_bios *dcb, struct embedded_panel_info *info) bios_parser_get_embedded_panel_info() argument 1208 get_embedded_panel_info_v1_2( struct bios_parser *bp, struct embedded_panel_info *info) get_embedded_panel_info_v1_2() argument 1327 get_embedded_panel_info_v1_3( struct bios_parser *bp, struct embedded_panel_info *info) get_embedded_panel_info_v1_3() argument 1464 bios_parser_get_encoder_cap_info( struct dc_bios *dcb, struct graphics_object_id object_id, struct bp_encoder_cap_info *info) bios_parser_get_encoder_cap_info() argument 1778 bios_parser_get_gpio_pin_info( struct dc_bios *dcb, uint32_t gpio_id, struct gpio_pin_info *info) bios_parser_get_gpio_pin_info() argument 1827 get_gpio_i2c_info(struct bios_parser *bp, ATOM_I2C_RECORD *record, struct graphics_object_i2c_info *info) get_gpio_i2c_info() argument 2228 get_integrated_info_v8( struct bios_parser *bp, struct integrated_info *info) get_integrated_info_v8() argument 2378 get_integrated_info_v9( struct bios_parser *bp, struct integrated_info *info) get_integrated_info_v9() argument 2515 construct_integrated_info( struct bios_parser *bp, struct integrated_info *info) construct_integrated_info() argument 2570 struct integrated_info *info = NULL; bios_parser_create_integrated_info() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser.c | 67 struct graphics_object_i2c_info *info); 91 struct embedded_panel_info *info); 221 struct graphics_object_i2c_info *info) in bios_parser_get_i2c_info() 229 if (!info) in bios_parser_get_i2c_info() 252 /* get the I2C info */ in bios_parser_get_i2c_info() 255 if (get_gpio_i2c_info(bp, record, info) == BP_RESULT_OK) in bios_parser_get_i2c_info() 267 struct graphics_object_hpd_info *info) in bios_parser_get_hpd_info() 273 if (!info) in bios_parser_get_hpd_info() 284 info->hpd_int_gpio_uid = record->ucHPDIntGPIOID; in bios_parser_get_hpd_info() 285 info in bios_parser_get_hpd_info() 219 bios_parser_get_i2c_info(struct dc_bios *dcb, struct graphics_object_id id, struct graphics_object_i2c_info *info) bios_parser_get_i2c_info() argument 265 bios_parser_get_hpd_info(struct dc_bios *dcb, struct graphics_object_id id, struct graphics_object_hpd_info *info) bios_parser_get_hpd_info() argument 329 bios_parser_get_device_tag( struct dc_bios *dcb, struct graphics_object_id connector_object_id, uint32_t device_tag_index, struct connector_device_tag_info *info) bios_parser_get_device_tag() argument 377 bios_parser_get_firmware_info( struct dc_bios *dcb, struct dc_firmware_info *info) bios_parser_get_firmware_info() argument 421 get_firmware_info_v1_4( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v1_4() argument 471 get_firmware_info_v2_1( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v2_1() argument 555 get_firmware_info_v2_2( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v2_2() argument 1022 get_ss_info_from_internal_ss_info_tbl_V2_1( struct bios_parser *bp, uint32_t id, struct spread_spectrum_info *info) get_ss_info_from_internal_ss_info_tbl_V2_1() argument 1181 bios_parser_get_embedded_panel_info( struct dc_bios *dcb, struct embedded_panel_info *info) bios_parser_get_embedded_panel_info() argument 1216 get_embedded_panel_info_v1_2( struct bios_parser *bp, struct embedded_panel_info *info) get_embedded_panel_info_v1_2() argument 1335 get_embedded_panel_info_v1_3( struct bios_parser *bp, struct embedded_panel_info *info) get_embedded_panel_info_v1_3() argument 1470 bios_parser_get_encoder_cap_info( struct dc_bios *dcb, struct graphics_object_id object_id, struct bp_encoder_cap_info *info) bios_parser_get_encoder_cap_info() argument 1787 bios_parser_get_gpio_pin_info( struct dc_bios *dcb, uint32_t gpio_id, struct gpio_pin_info *info) bios_parser_get_gpio_pin_info() argument 1838 get_gpio_i2c_info(struct bios_parser *bp, ATOM_I2C_RECORD *record, struct graphics_object_i2c_info *info) get_gpio_i2c_info() argument 2237 get_integrated_info_v8( struct bios_parser *bp, struct integrated_info *info) get_integrated_info_v8() argument 2387 get_integrated_info_v9( struct bios_parser *bp, struct integrated_info *info) get_integrated_info_v9() argument 2524 construct_integrated_info( struct bios_parser *bp, struct integrated_info *info) construct_integrated_info() argument 2579 struct integrated_info *info; bios_parser_create_integrated_info() local [all...] |
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
H A D | seq_oss_synth.c | 26 * definition of synth info records 36 /* synth info */ 74 static void reset_channels(struct seq_oss_synthinfo *info); 204 struct seq_oss_synthinfo *info; in snd_seq_oss_synth_setup() local 217 info = &dp->synths[i]; in snd_seq_oss_synth_setup() 218 info->arg.app_index = dp->port; in snd_seq_oss_synth_setup() 219 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup() 220 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup() 222 info->arg.event_passing = SNDRV_SEQ_OSS_PROCESS_EVENTS; in snd_seq_oss_synth_setup() 224 info in snd_seq_oss_synth_setup() 267 struct seq_oss_synthinfo *info; snd_seq_oss_synth_setup_midi() local 297 struct seq_oss_synthinfo *info; snd_seq_oss_synth_cleanup() local 346 struct seq_oss_synthinfo *info = get_synthinfo_nospec(dp, dev); get_synthdev() local 372 reset_channels(struct seq_oss_synthinfo *info) reset_channels() argument 393 struct seq_oss_synthinfo *info; snd_seq_oss_synth_reset() local 445 struct seq_oss_synthinfo *info; snd_seq_oss_synth_load_patch() local 493 struct seq_oss_synthinfo *info; snd_seq_oss_synth_sysex() local 549 struct seq_oss_synthinfo *info = snd_seq_oss_synth_info(dp, dev); snd_seq_oss_synth_addr() local 566 struct seq_oss_synthinfo *info; snd_seq_oss_synth_ioctl() local 589 struct seq_oss_synthinfo *info; snd_seq_oss_synth_raw_event() local 607 struct seq_oss_synthinfo *info = get_synthinfo_nospec(dp, dev); snd_seq_oss_synth_make_info() local [all...] |
/kernel/linux/linux-6.6/sound/core/seq/oss/ |
H A D | seq_oss_synth.c | 26 * definition of synth info records 36 /* synth info */ 74 static void reset_channels(struct seq_oss_synthinfo *info); 204 struct seq_oss_synthinfo *info; in snd_seq_oss_synth_setup() local 217 info = &dp->synths[i]; in snd_seq_oss_synth_setup() 218 info->arg.app_index = dp->port; in snd_seq_oss_synth_setup() 219 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup() 220 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup() 222 info->arg.event_passing = SNDRV_SEQ_OSS_PROCESS_EVENTS; in snd_seq_oss_synth_setup() 224 info in snd_seq_oss_synth_setup() 267 struct seq_oss_synthinfo *info; snd_seq_oss_synth_setup_midi() local 297 struct seq_oss_synthinfo *info; snd_seq_oss_synth_cleanup() local 346 struct seq_oss_synthinfo *info = get_synthinfo_nospec(dp, dev); get_synthdev() local 372 reset_channels(struct seq_oss_synthinfo *info) reset_channels() argument 393 struct seq_oss_synthinfo *info; snd_seq_oss_synth_reset() local 445 struct seq_oss_synthinfo *info; snd_seq_oss_synth_load_patch() local 494 struct seq_oss_synthinfo *info; snd_seq_oss_synth_sysex() local 550 struct seq_oss_synthinfo *info = snd_seq_oss_synth_info(dp, dev); snd_seq_oss_synth_addr() local 567 struct seq_oss_synthinfo *info; snd_seq_oss_synth_ioctl() local 591 struct seq_oss_synthinfo *info; snd_seq_oss_synth_raw_event() local 609 struct seq_oss_synthinfo *info = get_synthinfo_nospec(dp, dev); snd_seq_oss_synth_make_info() local [all...] |
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | map.c | 62 static void *alloc_value(struct bpf_map_info *info) in alloc_value() argument 64 if (map_is_per_cpu(info->type)) in alloc_value() 65 return malloc(round_up(info->value_size, 8) * in alloc_value() 68 return malloc(info->value_size); in alloc_value() 132 static void print_entry_json(struct bpf_map_info *info, unsigned char *key, in print_entry_json() argument 137 if (!map_is_per_cpu(info->type)) { in print_entry_json() 139 print_hex_data_json(key, info->key_size); in print_entry_json() 141 print_hex_data_json(value, info->value_size); in print_entry_json() 142 if (map_is_map_of_maps(info->type)) in print_entry_json() 153 do_dump_btf(&d, info, ke in print_entry_json() 194 print_entry_error_msg(struct bpf_map_info *info, unsigned char *key, const char *error_msg) print_entry_error_msg() argument 247 print_entry_plain(struct bpf_map_info *info, unsigned char *key, unsigned char *value) print_entry_plain() argument 327 fill_per_cpu_value(struct bpf_map_info *info, void *value) fill_per_cpu_value() argument 340 parse_elem(char **argv, struct bpf_map_info *info, void *key, void *value, __u32 key_size, __u32 value_size, __u32 *flags, __u32 **value_fd) parse_elem() argument 450 show_map_header_json(struct bpf_map_info *info, json_writer_t *wtr) show_map_header_json() argument 468 show_map_close_json(int fd, struct bpf_map_info *info) show_map_close_json() argument 541 show_map_header_plain(struct bpf_map_info *info) show_map_header_plain() argument 561 show_map_close_plain(int fd, struct bpf_map_info *info) show_map_close_plain() argument 631 struct bpf_map_info info = {}; do_show_subset() local 675 struct bpf_map_info info = {}; do_show() local 770 struct bpf_map_info info = {}; maps_have_btf() local 790 get_map_kv_btf(const struct bpf_map_info *info, struct btf **btf) get_map_kv_btf() argument 823 map_dump(int fd, struct bpf_map_info *info, json_writer_t *wtr, bool show_header) map_dump() argument 898 struct bpf_map_info info = {}; do_dump() local 962 alloc_key_value(struct bpf_map_info *info, void **key, void **value) alloc_key_value() argument 990 struct bpf_map_info info = {}; do_update() local 1031 print_key_value(struct bpf_map_info *info, void *key, void *value) print_key_value() argument 1070 struct bpf_map_info info = {}; do_lookup() local 1121 struct bpf_map_info info = {}; do_getnext() local 1192 struct bpf_map_info info = {}; do_delete() local 1310 struct bpf_map_info info = {}; do_create() local 1358 struct bpf_map_info info = {}; do_pop_dequeue() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | rockchip_saradc.c | 58 static void rockchip_saradc_power_down(struct rockchip_saradc *info) in rockchip_saradc_power_down() argument 61 writel_relaxed(0, info->regs + SARADC_CTRL); in rockchip_saradc_power_down() 64 static int rockchip_saradc_conversion(struct rockchip_saradc *info, in rockchip_saradc_conversion() argument 67 reinit_completion(&info->completion); in rockchip_saradc_conversion() 70 writel_relaxed(8, info->regs + SARADC_DLY_PU_SOC); in rockchip_saradc_conversion() 72 info->last_chan = chan; in rockchip_saradc_conversion() 78 info->regs + SARADC_CTRL); in rockchip_saradc_conversion() 80 if (!wait_for_completion_timeout(&info->completion, SARADC_TIMEOUT)) in rockchip_saradc_conversion() 90 struct rockchip_saradc *info = iio_priv(indio_dev); in rockchip_saradc_read_raw() local 97 ret = rockchip_saradc_conversion(info, cha in rockchip_saradc_read_raw() 124 struct rockchip_saradc *info = dev_id; rockchip_saradc_isr() local 222 struct rockchip_saradc *info = data; rockchip_saradc_clk_disable() local 229 struct rockchip_saradc *info = data; rockchip_saradc_pclk_disable() local 236 struct rockchip_saradc *info = data; rockchip_saradc_regulator_disable() local 245 struct rockchip_saradc *info = iio_priv(i_dev); rockchip_saradc_trigger_handler() local 283 struct rockchip_saradc *info = NULL; rockchip_saradc_probe() local 440 struct rockchip_saradc *info = iio_priv(indio_dev); rockchip_saradc_suspend() local 452 struct rockchip_saradc *info = iio_priv(indio_dev); rockchip_saradc_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-88pm860x.c | 58 struct pm860x_rtc_info *info = (struct pm860x_rtc_info *)data; in rtc_update_handler() local 62 pm860x_set_bits(info->i2c, PM8607_RTC1, mask | ALARM_EN, mask); in rtc_update_handler() 63 rtc_update_irq(info->rtc_dev, 1, RTC_AF); in rtc_update_handler() 69 struct pm860x_rtc_info *info = dev_get_drvdata(dev); in pm860x_rtc_alarm_irq_enable() local 72 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, ALARM_EN); in pm860x_rtc_alarm_irq_enable() 74 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, 0); in pm860x_rtc_alarm_irq_enable() 80 struct pm860x_rtc_info *info = dev_get_drvdata(dev); in pm860x_rtc_read_time() local 84 pm860x_page_bulk_read(info->i2c, REG0_ADDR, 8, buf); in pm860x_rtc_read_time() 85 dev_dbg(info->dev, "%x-%x-%x-%x-%x-%x-%x-%x\n", buf[0], buf[1], in pm860x_rtc_read_time() 91 pm860x_bulk_read(info in pm860x_rtc_read_time() 105 struct pm860x_rtc_info *info = dev_get_drvdata(dev); pm860x_rtc_set_time() local 129 struct pm860x_rtc_info *info = dev_get_drvdata(dev); pm860x_rtc_read_alarm() local 156 struct pm860x_rtc_info *info = dev_get_drvdata(dev); pm860x_rtc_set_alarm() local 199 struct pm860x_rtc_info *info = container_of(work, calibrate_vrtc_work() local 245 pm860x_rtc_dt_init(struct platform_device *pdev, struct pm860x_rtc_info *info) pm860x_rtc_dt_init() argument 270 struct pm860x_rtc_info *info; pm860x_rtc_probe() local 336 struct pm860x_rtc_info *info = platform_get_drvdata(pdev); pm860x_rtc_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-88pm860x.c | 58 struct pm860x_rtc_info *info = (struct pm860x_rtc_info *)data; in rtc_update_handler() local 62 pm860x_set_bits(info->i2c, PM8607_RTC1, mask | ALARM_EN, mask); in rtc_update_handler() 63 rtc_update_irq(info->rtc_dev, 1, RTC_AF); in rtc_update_handler() 69 struct pm860x_rtc_info *info = dev_get_drvdata(dev); in pm860x_rtc_alarm_irq_enable() local 72 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, ALARM_EN); in pm860x_rtc_alarm_irq_enable() 74 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, 0); in pm860x_rtc_alarm_irq_enable() 80 struct pm860x_rtc_info *info = dev_get_drvdata(dev); in pm860x_rtc_read_time() local 84 pm860x_page_bulk_read(info->i2c, REG0_ADDR, 8, buf); in pm860x_rtc_read_time() 85 dev_dbg(info->dev, "%x-%x-%x-%x-%x-%x-%x-%x\n", buf[0], buf[1], in pm860x_rtc_read_time() 91 pm860x_bulk_read(info in pm860x_rtc_read_time() 105 struct pm860x_rtc_info *info = dev_get_drvdata(dev); pm860x_rtc_set_time() local 129 struct pm860x_rtc_info *info = dev_get_drvdata(dev); pm860x_rtc_read_alarm() local 156 struct pm860x_rtc_info *info = dev_get_drvdata(dev); pm860x_rtc_set_alarm() local 199 struct pm860x_rtc_info *info = container_of(work, calibrate_vrtc_work() local 245 pm860x_rtc_dt_init(struct platform_device *pdev, struct pm860x_rtc_info *info) pm860x_rtc_dt_init() argument 270 struct pm860x_rtc_info *info; pm860x_rtc_probe() local 336 struct pm860x_rtc_info *info = platform_get_drvdata(pdev); pm860x_rtc_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/storage/ |
H A D | sddr55.c | 80 info->sense_data[2] = sk; \ 81 info->sense_data[12] = asc; \ 82 info->sense_data[13] = ascq; \ 112 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; in sddr55_bulk_transport() local 118 info->last_access = jiffies; in sddr55_bulk_transport() 132 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; in sddr55_status() local 154 kfree(info->lba_to_pba); in sddr55_status() 155 kfree(info->pba_to_lba); in sddr55_status() 156 info->lba_to_pba = NULL; in sddr55_status() 157 info in sddr55_status() 195 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; sddr55_read_data() local 314 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; sddr55_write_data() local 560 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; sddr55_get_capacity() local 641 struct sddr55_card_info *info = (struct sddr55_card_info *)(us->extra); sddr55_read_map() local 762 struct sddr55_card_info *info = (struct sddr55_card_info *)extra; sddr55_card_info_destructor() local 793 struct sddr55_card_info *info; sddr55_transport() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | sddr55.c | 80 info->sense_data[2] = sk; \ 81 info->sense_data[12] = asc; \ 82 info->sense_data[13] = ascq; \ 112 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; in sddr55_bulk_transport() local 118 info->last_access = jiffies; in sddr55_bulk_transport() 132 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; in sddr55_status() local 154 kfree(info->lba_to_pba); in sddr55_status() 155 kfree(info->pba_to_lba); in sddr55_status() 156 info->lba_to_pba = NULL; in sddr55_status() 157 info in sddr55_status() 195 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; sddr55_read_data() local 314 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; sddr55_write_data() local 560 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; sddr55_get_capacity() local 641 struct sddr55_card_info *info = (struct sddr55_card_info *)(us->extra); sddr55_read_map() local 762 struct sddr55_card_info *info = (struct sddr55_card_info *)extra; sddr55_card_info_destructor() local 793 struct sddr55_card_info *info; sddr55_transport() local [all...] |