/kernel/linux/linux-6.6/net/bridge/netfilter/ |
H A D | ebt_ip.c | 40 const struct ebt_ip_info *info = par->matchinfo; in ebt_ip_mt() local 49 if ((info->bitmask & EBT_IP_TOS) && in ebt_ip_mt() 50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) in ebt_ip_mt() 52 if ((info->bitmask & EBT_IP_SOURCE) && in ebt_ip_mt() 53 NF_INVF(info, EBT_IP_SOURCE, in ebt_ip_mt() 54 (ih->saddr & info->smsk) != info->saddr)) in ebt_ip_mt() 56 if ((info->bitmask & EBT_IP_DEST) && in ebt_ip_mt() 57 NF_INVF(info, EBT_IP_DES in ebt_ip_mt() 106 const struct ebt_ip_info *info = par->matchinfo; ebt_ip_mt_check() local [all...] |
/kernel/linux/linux-5.10/drivers/extcon/ |
H A D | extcon-max14577.c | 154 * @info: the instance including private data of max14577 MUIC 157 static int max14577_muic_set_debounce_time(struct max14577_muic_info *info, in max14577_muic_set_debounce_time() argument 167 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_debounce_time() 172 dev_err(info->dev, "failed to set ADC debounce time\n"); in max14577_muic_set_debounce_time() 177 dev_err(info->dev, "invalid ADC debounce time\n"); in max14577_muic_set_debounce_time() 186 * @info: the instance including private data of max14577 MUIC 194 static int max14577_muic_set_path(struct max14577_muic_info *info, in max14577_muic_set_path() argument 201 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path() 205 dev_err(info->dev, "failed to update MUIC register\n"); in max14577_muic_set_path() 214 ret = max14577_update_reg(info in max14577_muic_set_path() 253 max14577_muic_get_cable_type(struct max14577_muic_info *info, enum max14577_muic_cable_group group, bool *attached) max14577_muic_get_cable_type() argument 320 max14577_muic_jig_handler(struct max14577_muic_info *info, int cable_type, bool attached) max14577_muic_jig_handler() argument 355 max14577_muic_adc_handler(struct max14577_muic_info *info) max14577_muic_adc_handler() argument 426 max14577_muic_chg_handler(struct max14577_muic_info *info) max14577_muic_chg_handler() argument 482 struct max14577_muic_info *info = container_of(work, max14577_muic_irq_work() local 518 max14577_parse_irq(struct max14577_muic_info *info, int irq_type) max14577_parse_irq() argument 547 max77836_parse_irq(struct max14577_muic_info *info, int irq_type) max77836_parse_irq() argument 568 struct max14577_muic_info *info = data; max14577_muic_irq_handler() local 602 max14577_muic_detect_accessory(struct max14577_muic_info *info) max14577_muic_detect_accessory() argument 649 struct max14577_muic_info *info = container_of(to_delayed_work(work), max14577_muic_detect_cable_wq() local 658 struct max14577_muic_info *info; max14577_muic_probe() local 771 struct max14577_muic_info *info = platform_get_drvdata(pdev); max14577_muic_remove() local [all...] |
H A D | extcon-max8997.c | 154 * @info: the instance including private data of max8997 MUIC 157 static int max8997_muic_set_debounce_time(struct max8997_muic_info *info, in max8997_muic_set_debounce_time() argument 167 ret = max8997_update_reg(info->muic, in max8997_muic_set_debounce_time() 172 dev_err(info->dev, "failed to set ADC debounce time\n"); in max8997_muic_set_debounce_time() 177 dev_err(info->dev, "invalid ADC debounce time\n"); in max8997_muic_set_debounce_time() 186 * @info: the instance including private data of max8997 MUIC 194 static int max8997_muic_set_path(struct max8997_muic_info *info, in max8997_muic_set_path() argument 205 ret = max8997_update_reg(info->muic, in max8997_muic_set_path() 208 dev_err(info->dev, "failed to update MUIC register\n"); in max8997_muic_set_path() 217 ret = max8997_update_reg(info in max8997_muic_set_path() 243 max8997_muic_get_cable_type(struct max8997_muic_info *info, enum max8997_muic_cable_group group, bool *attached) max8997_muic_get_cable_type() argument 309 max8997_muic_handle_usb(struct max8997_muic_info *info, enum max8997_muic_usb_type usb_type, bool attached) max8997_muic_handle_usb() argument 338 max8997_muic_handle_dock(struct max8997_muic_info *info, int cable_type, bool attached) max8997_muic_handle_dock() argument 363 max8997_muic_handle_jig_uart(struct max8997_muic_info *info, bool attached) max8997_muic_handle_jig_uart() argument 380 max8997_muic_adc_handler(struct max8997_muic_info *info) max8997_muic_adc_handler() argument 458 max8997_muic_chg_handler(struct max8997_muic_info *info) max8997_muic_chg_handler() argument 507 struct max8997_muic_info *info = container_of(work, max8997_muic_irq_work() local 561 struct max8997_muic_info *info = data; max8997_muic_irq_handler() local 571 max8997_muic_detect_dev(struct max8997_muic_info *info) max8997_muic_detect_dev() argument 618 struct max8997_muic_info *info = container_of(to_delayed_work(work), max8997_muic_detect_cable_wq() local 631 struct max8997_muic_info *info; max8997_muic_probe() local 764 struct max8997_muic_info *info = platform_get_drvdata(pdev); max8997_muic_remove() local [all...] |
/kernel/linux/linux-5.10/arch/csky/mm/ |
H A D | asid.c | 16 #define reserved_asid(info, cpu) *per_cpu_ptr((info)->reserved, cpu) 18 #define ASID_MASK(info) (~GENMASK((info)->bits - 1, 0)) 19 #define ASID_FIRST_VERSION(info) (1UL << ((info)->bits)) 21 #define asid2idx(info, asid) (((asid) & ~ASID_MASK(info)) >> (info)->ctxt_shift) 22 #define idx2asid(info, id 24 flush_context(struct asid_info *info) flush_context() argument 54 check_update_reserved_asid(struct asid_info *info, u64 asid, u64 newasid) check_update_reserved_asid() argument 79 new_context(struct asid_info *info, atomic64_t *pasid, struct mm_struct *mm) new_context() argument 137 asid_new_context(struct asid_info *info, atomic64_t *pasid, unsigned int cpu, struct mm_struct *mm) asid_new_context() argument 168 asid_allocator_init(struct asid_info *info, u32 bits, unsigned int asid_per_ctxt, void (*flush_cpu_ctxt_cb)(void)) asid_allocator_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/extcon/ |
H A D | extcon-max14577.c | 155 * @info: the instance including private data of max14577 MUIC 158 static int max14577_muic_set_debounce_time(struct max14577_muic_info *info, in max14577_muic_set_debounce_time() argument 168 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_debounce_time() 173 dev_err(info->dev, "failed to set ADC debounce time\n"); in max14577_muic_set_debounce_time() 178 dev_err(info->dev, "invalid ADC debounce time\n"); in max14577_muic_set_debounce_time() 187 * @info: the instance including private data of max14577 MUIC 195 static int max14577_muic_set_path(struct max14577_muic_info *info, in max14577_muic_set_path() argument 202 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path() 206 dev_err(info->dev, "failed to update MUIC register\n"); in max14577_muic_set_path() 215 ret = max14577_update_reg(info in max14577_muic_set_path() 254 max14577_muic_get_cable_type(struct max14577_muic_info *info, enum max14577_muic_cable_group group, bool *attached) max14577_muic_get_cable_type() argument 321 max14577_muic_jig_handler(struct max14577_muic_info *info, int cable_type, bool attached) max14577_muic_jig_handler() argument 356 max14577_muic_adc_handler(struct max14577_muic_info *info) max14577_muic_adc_handler() argument 427 max14577_muic_chg_handler(struct max14577_muic_info *info) max14577_muic_chg_handler() argument 483 struct max14577_muic_info *info = container_of(work, max14577_muic_irq_work() local 519 max14577_parse_irq(struct max14577_muic_info *info, int irq_type) max14577_parse_irq() argument 548 max77836_parse_irq(struct max14577_muic_info *info, int irq_type) max77836_parse_irq() argument 569 struct max14577_muic_info *info = data; max14577_muic_irq_handler() local 603 max14577_muic_detect_accessory(struct max14577_muic_info *info) max14577_muic_detect_accessory() argument 650 struct max14577_muic_info *info = container_of(to_delayed_work(work), max14577_muic_detect_cable_wq() local 659 struct max14577_muic_info *info; max14577_muic_probe() local [all...] |
H A D | extcon-ptn5150.c | 72 static void ptn5150_check_state(struct ptn5150_info *info) in ptn5150_check_state() argument 78 ret = regmap_read(info->regmap, PTN5150_REG_CC_STATUS, ®_data); in ptn5150_check_state() 80 dev_err(info->dev, "failed to read CC STATUS %d\n", ret); in ptn5150_check_state() 88 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in ptn5150_check_state() 89 gpiod_set_value_cansleep(info->vbus_gpiod, 0); in ptn5150_check_state() 90 extcon_set_state_sync(info->edev, EXTCON_USB, true); in ptn5150_check_state() 94 extcon_set_state_sync(info->edev, EXTCON_USB, false); in ptn5150_check_state() 97 gpiod_set_value_cansleep(info->vbus_gpiod, 0); in ptn5150_check_state() 99 gpiod_set_value_cansleep(info->vbus_gpiod, 1); in ptn5150_check_state() 101 extcon_set_state_sync(info in ptn5150_check_state() 118 struct ptn5150_info *info = container_of(work, ptn5150_irq_work() local 174 struct ptn5150_info *info = data; ptn5150_irq_handler() local 181 ptn5150_init_dev_type(struct ptn5150_info *info) ptn5150_init_dev_type() argument 218 struct ptn5150_info *info = data; ptn5150_work_sync_and_put() local 228 struct ptn5150_info *info; ptn5150_i2c_probe() local [all...] |
H A D | extcon-max8997.c | 157 * @info: the instance including private data of max8997 MUIC 160 static int max8997_muic_set_debounce_time(struct max8997_muic_info *info, in max8997_muic_set_debounce_time() argument 170 ret = max8997_update_reg(info->muic, in max8997_muic_set_debounce_time() 175 dev_err(info->dev, "failed to set ADC debounce time\n"); in max8997_muic_set_debounce_time() 180 dev_err(info->dev, "invalid ADC debounce time\n"); in max8997_muic_set_debounce_time() 189 * @info: the instance including private data of max8997 MUIC 197 static int max8997_muic_set_path(struct max8997_muic_info *info, in max8997_muic_set_path() argument 208 ret = max8997_update_reg(info->muic, in max8997_muic_set_path() 211 dev_err(info->dev, "failed to update MUIC register\n"); in max8997_muic_set_path() 220 ret = max8997_update_reg(info in max8997_muic_set_path() 246 max8997_muic_get_cable_type(struct max8997_muic_info *info, enum max8997_muic_cable_group group, bool *attached) max8997_muic_get_cable_type() argument 312 max8997_muic_handle_usb(struct max8997_muic_info *info, enum max8997_muic_usb_type usb_type, bool attached) max8997_muic_handle_usb() argument 341 max8997_muic_handle_dock(struct max8997_muic_info *info, int cable_type, bool attached) max8997_muic_handle_dock() argument 366 max8997_muic_handle_jig_uart(struct max8997_muic_info *info, bool attached) max8997_muic_handle_jig_uart() argument 383 max8997_muic_adc_handler(struct max8997_muic_info *info) max8997_muic_adc_handler() argument 461 max8997_muic_chg_handler(struct max8997_muic_info *info) max8997_muic_chg_handler() argument 510 struct max8997_muic_info *info = container_of(work, max8997_muic_irq_work() local 566 struct max8997_muic_info *info = data; max8997_muic_irq_handler() local 576 max8997_muic_detect_dev(struct max8997_muic_info *info) max8997_muic_detect_dev() argument 623 struct max8997_muic_info *info = container_of(to_delayed_work(work), max8997_muic_detect_cable_wq() local 636 struct max8997_muic_info *info; max8997_muic_probe() local [all...] |
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_surface_state.c | 159 const struct isl_surf_fill_state_info *restrict info) in surf_fill_state_s() 163 s.SurfaceType = get_surftype(info->surf->dim, info->view->usage); in surf_fill_state_s() 165 if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) in surf_fill_state_s() 166 assert(isl_format_supports_rendering(dev->info, info->view->format)); in surf_fill_state_s() 167 else if (info->view->usage & ISL_SURF_USAGE_TEXTURE_BIT) in surf_fill_state_s() 168 assert(isl_format_supports_sampling(dev->info, info->view->format)); in surf_fill_state_s() 175 if (info in surf_fill_state_s() 158 surf_fill_state_s(const struct isl_device *dev, void *state, const struct isl_surf_fill_state_info *restrict info) surf_fill_state_s() argument 793 buffer_fill_state_s(const struct isl_device *dev, void *state, const struct isl_buffer_fill_state_info *restrict info) buffer_fill_state_s() argument 926 null_fill_state(const struct isl_device *dev, void *state, const struct isl_null_fill_state_info *restrict info) null_fill_state() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
H A D | nir_to_tgsi_info.c | 140 struct tgsi_shader_info *info) in gather_intrinsic_load_deref_info() 144 if (nir->info.stage == MESA_SHADER_FRAGMENT) in gather_intrinsic_load_deref_info() 146 info->input_usage_mask); in gather_intrinsic_load_deref_info() 148 switch (nir->info.stage) { in gather_intrinsic_load_deref_info() 160 info->colors_read |= mask << (semantic_index * 4); in gather_intrinsic_load_deref_info() 163 info->uses_frontface = true; in gather_intrinsic_load_deref_info() 172 struct tgsi_shader_info *info, in scan_instruction() 185 info->uses_derivatives = true; in scan_instruction() 195 info->uses_bindless_samplers = true; in scan_instruction() 201 info in scan_instruction() 135 gather_intrinsic_load_deref_info(const nir_shader *nir, const nir_intrinsic_instr *instr, const nir_deref_instr *deref, bool need_texcoord, const nir_variable *var, struct tgsi_shader_info *info) gather_intrinsic_load_deref_info() argument 170 scan_instruction(const struct nir_shader *nir, bool need_texcoord, struct tgsi_shader_info *info, const nir_instr *instr) scan_instruction() argument 407 nir_tgsi_scan_shader(const struct nir_shader *nir, struct tgsi_shader_info *info, bool need_texcoord) nir_tgsi_scan_shader() argument [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | axp288_fuel_gauge.c | 138 static int fuel_gauge_reg_readb(struct axp288_fg_info *info, int reg) in fuel_gauge_reg_readb() argument 144 ret = regmap_read(info->regmap, reg, &val); in fuel_gauge_reg_readb() 152 dev_err(&info->pdev->dev, "Error reading reg 0x%02x err: %d\n", reg, ret); in fuel_gauge_reg_readb() 159 static int fuel_gauge_reg_writeb(struct axp288_fg_info *info, int reg, u8 val) in fuel_gauge_reg_writeb() argument 163 ret = regmap_write(info->regmap, reg, (unsigned int)val); in fuel_gauge_reg_writeb() 166 dev_err(&info->pdev->dev, "Error writing reg 0x%02x err: %d\n", reg, ret); in fuel_gauge_reg_writeb() 171 static int fuel_gauge_read_15bit_word(struct axp288_fg_info *info, int reg) in fuel_gauge_read_15bit_word() argument 176 ret = regmap_bulk_read(info->regmap, reg, buf, 2); in fuel_gauge_read_15bit_word() 178 dev_err(&info->pdev->dev, "Error reading reg 0x%02x err: %d\n", in fuel_gauge_read_15bit_word() 185 dev_err(&info in fuel_gauge_read_15bit_word() 193 fuel_gauge_read_12bit_word(struct axp288_fg_info *info, int reg) fuel_gauge_read_12bit_word() argument 212 struct axp288_fg_info *info = s->private; fuel_gauge_debug_show() local 303 fuel_gauge_create_debugfs(struct axp288_fg_info *info) fuel_gauge_create_debugfs() argument 309 fuel_gauge_remove_debugfs(struct axp288_fg_info *info) fuel_gauge_remove_debugfs() argument 314 fuel_gauge_create_debugfs(struct axp288_fg_info *info) fuel_gauge_create_debugfs() argument 317 fuel_gauge_remove_debugfs(struct axp288_fg_info *info) fuel_gauge_remove_debugfs() argument 322 fuel_gauge_get_status(struct axp288_fg_info *info) fuel_gauge_get_status() argument 376 fuel_gauge_get_vbatt(struct axp288_fg_info *info, int *vbatt) fuel_gauge_get_vbatt() argument 389 fuel_gauge_get_current(struct axp288_fg_info *info, int *cur) fuel_gauge_get_current() argument 406 fuel_gauge_get_vocv(struct axp288_fg_info *info, int *vocv) fuel_gauge_get_vocv() argument 417 fuel_gauge_battery_health(struct axp288_fg_info *info) fuel_gauge_battery_health() argument 438 struct axp288_fg_info *info = power_supply_get_drvdata(ps); fuel_gauge_get_property() local 531 struct axp288_fg_info *info = power_supply_get_drvdata(ps); fuel_gauge_set_property() local 575 struct axp288_fg_info *info = dev; fuel_gauge_thread_handler() local 621 struct axp288_fg_info *info = power_supply_get_drvdata(psy); fuel_gauge_external_power_changed() local 637 fuel_gauge_init_irq(struct axp288_fg_info *info) fuel_gauge_init_irq() argument 748 struct axp288_fg_info *info; axp288_fuel_gauge_probe() local 864 struct axp288_fg_info *info = platform_get_drvdata(pdev); axp288_fuel_gauge_remove() local [all...] |
/kernel/linux/linux-6.6/arch/csky/mm/ |
H A D | asid.c | 16 #define reserved_asid(info, cpu) *per_cpu_ptr((info)->reserved, cpu) 18 #define ASID_MASK(info) (~GENMASK((info)->bits - 1, 0)) 19 #define ASID_FIRST_VERSION(info) (1UL << ((info)->bits)) 21 #define asid2idx(info, asid) (((asid) & ~ASID_MASK(info)) >> (info)->ctxt_shift) 22 #define idx2asid(info, id 24 flush_context(struct asid_info *info) flush_context() argument 54 check_update_reserved_asid(struct asid_info *info, u64 asid, u64 newasid) check_update_reserved_asid() argument 79 new_context(struct asid_info *info, atomic64_t *pasid, struct mm_struct *mm) new_context() argument 137 asid_new_context(struct asid_info *info, atomic64_t *pasid, unsigned int cpu, struct mm_struct *mm) asid_new_context() argument 168 asid_allocator_init(struct asid_info *info, u32 bits, unsigned int asid_per_ctxt, void (*flush_cpu_ctxt_cb)(void)) asid_allocator_init() argument [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_IDLETIMER.c | 136 static int idletimer_tg_create(struct idletimer_tg_info *info) in idletimer_tg_create() argument 140 info->timer = kzalloc(sizeof(*info->timer), GFP_KERNEL); in idletimer_tg_create() 141 if (!info->timer) { in idletimer_tg_create() 146 ret = idletimer_check_sysfs_name(info->label, sizeof(info->label)); in idletimer_tg_create() 150 sysfs_attr_init(&info->timer->attr.attr); in idletimer_tg_create() 151 info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); in idletimer_tg_create() 152 if (!info in idletimer_tg_create() 185 idletimer_tg_create_v1(struct idletimer_tg_info_v1 *info) idletimer_tg_create_v1() argument 253 const struct idletimer_tg_info *info = par->targinfo; idletimer_tg_target() local 270 const struct idletimer_tg_info_v1 *info = par->targinfo; idletimer_tg_target_v1() local 286 idletimer_tg_helper(struct idletimer_tg_info *info) idletimer_tg_helper() argument 308 struct idletimer_tg_info *info = par->targinfo; idletimer_tg_checkentry() local 344 struct idletimer_tg_info_v1 *info = par->targinfo; idletimer_tg_checkentry_v1() local 406 const struct idletimer_tg_info *info = par->targinfo; idletimer_tg_destroy() local 431 const struct idletimer_tg_info_v1 *info = par->targinfo; idletimer_tg_destroy_v1() local [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_IDLETIMER.c | 136 static int idletimer_tg_create(struct idletimer_tg_info *info) in idletimer_tg_create() argument 140 info->timer = kzalloc(sizeof(*info->timer), GFP_KERNEL); in idletimer_tg_create() 141 if (!info->timer) { in idletimer_tg_create() 146 ret = idletimer_check_sysfs_name(info->label, sizeof(info->label)); in idletimer_tg_create() 150 sysfs_attr_init(&info->timer->attr.attr); in idletimer_tg_create() 151 info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); in idletimer_tg_create() 152 if (!info in idletimer_tg_create() 185 idletimer_tg_create_v1(struct idletimer_tg_info_v1 *info) idletimer_tg_create_v1() argument 253 const struct idletimer_tg_info *info = par->targinfo; idletimer_tg_target() local 270 const struct idletimer_tg_info_v1 *info = par->targinfo; idletimer_tg_target_v1() local 286 idletimer_tg_helper(struct idletimer_tg_info *info) idletimer_tg_helper() argument 308 struct idletimer_tg_info *info = par->targinfo; idletimer_tg_checkentry() local 344 struct idletimer_tg_info_v1 *info = par->targinfo; idletimer_tg_checkentry_v1() local 406 const struct idletimer_tg_info *info = par->targinfo; idletimer_tg_destroy() local 431 const struct idletimer_tg_info_v1 *info = par->targinfo; idletimer_tg_destroy_v1() local [all...] |
/device/soc/hisilicon/common/platform/timer/ |
H A D | timer_hi35xx.c | 41 static int32_t TimerHi35xxEnable(struct TimerHi35xxInfo *info, bool enable) in TimerHi35xxEnable() argument 43 CHECK_NULL_PTR_RETURN_VALUE(info, HDF_ERR_INVALID_OBJECT); in TimerHi35xxEnable() 44 uint32_t value = TimerHi35xxRegRead(info->regBase + HI35XX_TIMERx_CONTROL); in TimerHi35xxEnable() 52 TimerHi35xxRegWrite(value, info->regBase + HI35XX_TIMERx_CONTROL); in TimerHi35xxEnable() 53 TimerHi35xxRegRead(info->regBase + HI35XX_TIMERx_CONTROL); in TimerHi35xxEnable() 58 static int32_t TimerHi35xxSetMode(struct TimerHi35xxInfo *info, uint16_t mode) in TimerHi35xxSetMode() argument 60 CHECK_NULL_PTR_RETURN_VALUE(info, HDF_ERR_INVALID_OBJECT); in TimerHi35xxSetMode() 61 uint32_t value = TimerHi35xxRegRead(info->regBase + HI35XX_TIMERx_CONTROL); in TimerHi35xxSetMode() 70 TimerHi35xxRegWrite(value, info->regBase + HI35XX_TIMERx_CONTROL); in TimerHi35xxSetMode() 75 static int32_t TimerHi35xxSetPre(struct TimerHi35xxInfo *info, uint16_ argument 103 TimerHi35xxIntEnable(struct TimerHi35xxInfo *info, bool enable) TimerHi35xxIntEnable() argument 119 TimerHi35xxIntClear(struct TimerHi35xxInfo *info) TimerHi35xxIntClear() argument 126 TimerHi35xxTimerSize(struct TimerHi35xxInfo *info, bool is32Bit) TimerHi35xxTimerSize() argument 142 TimerHi35xxTimerLoadSet(struct TimerHi35xxInfo *info, uint32_t value) TimerHi35xxTimerLoadSet() argument 150 TimerHi35xxTimerGetAllReg(struct TimerHi35xxInfo *info) TimerHi35xxTimerGetAllReg() argument 161 TimerDumperAddDatas(struct TimerHi35xxInfo *info) TimerDumperAddDatas() argument 214 struct TimerHi35xxInfo *info = NULL; TimerHi35xxIrqHandle() local 239 struct TimerHi35xxInfo *info = cntrl->priv; TimerHi35xxSet() local 262 struct TimerHi35xxInfo *info = cntrl->priv; TimerHi35xxSetOnce() local 286 struct TimerHi35xxInfo *info = cntrl->priv; TimerHi35xxSetTimeout() local 294 TimerHi35xxIrqRegister(struct TimerHi35xxInfo *info) TimerHi35xxIrqRegister() argument 306 TimerHi35xxIrqUnregister(struct TimerHi35xxInfo *info) TimerHi35xxIrqUnregister() argument 319 struct TimerHi35xxInfo *info = cntrl->priv; TimerHi35xxStart() local 355 struct TimerHi35xxInfo *info = cntrl->priv; TimerHi35xxStop() local 394 struct TimerHi35xxInfo *info = cntrl->priv; TimerHi35xxRemove() local 419 TimerHi35xxInitRegSet(struct TimerHi35xxInfo *info) TimerHi35xxInitRegSet() argument 434 TimerHi35xxReadHcs(struct TimerHi35xxInfo *info, const struct DeviceResourceNode *node) TimerHi35xxReadHcs() argument 492 TimerHi35xxInitHandle(const struct DeviceResourceNode *node, struct TimerHi35xxInfo *info) TimerHi35xxInitHandle() argument 526 TimerDumperGet(struct TimerHi35xxInfo *info) TimerDumperGet() argument 553 struct TimerHi35xxInfo *info = NULL; TimerHi35xxParseAndInit() local [all...] |
/test/xts/acts/account/appaccount/actssetcheckdatasyncenable/entry/src/ohosTest/js/test/ |
H A D | Syncenable.test.js | 26 console.info("====>beforeAll start===="); 29 console.info("accessTokenId" + appInfo.accessTokenId + " bundleName:" + appInfo.bundleName); 32 console.info("tokenId" + tokenID + " result:" + result); 33 console.info("====>beforeAll end===="); 43 console.info("====>ActsSetCheckDataSyncEnabled_0100 start===="); 45 console.info("====>creat finish===="); 47 console.info("====>add account ActsSetCheckDataSyncEnabled_0100 err:" + JSON.stringify(err)); 50 console.info("====>checkDataSyncEnabled 0100 err:" + JSON.stringify(err)); 51 console.info("====>checkDataSyncEnabled 0100 data:" + JSON.stringify(data)); 55 console.info(" [all...] |
/test/xts/acts/account/appaccount/actssetchecksyncenable/entry/src/ohosTest/js/test/ |
H A D | Syncenable.test.js | 26 console.info("====>beforeAll start===="); 29 console.info("accessTokenId" + appInfo.accessTokenId + " bundleName:" + appInfo.bundleName); 32 console.info("tokenId" + tokenID + " result:" + result); 33 console.info("====>beforeAll end===="); 43 console.info("====>ActsSetCheckSyncEnable_0100 start===="); 45 console.info("====>creat finish===="); 47 console.info("====>add account ActsSetCheckSyncEnable_0100 err:" + JSON.stringify(err)); 50 console.info("====>checkAppAccountSyncEnable 0100 err:" + JSON.stringify(err)); 51 console.info("====>checkAppAccountSyncEnable 0100 data:" + JSON.stringify(data)); 55 console.info(" [all...] |
/kernel/linux/linux-5.10/arch/sh/drivers/dma/ |
H A D | dma-api.c | 26 struct dma_info *info; in get_dma_info() local 32 list_for_each_entry(info, ®istered_dmac_list, list) { in get_dma_info() 33 if ((chan < info->first_vchannel_nr) || in get_dma_info() 34 (chan >= info->first_vchannel_nr + info->nr_channels)) in get_dma_info() 37 return info; in get_dma_info() 46 struct dma_info *info; in get_dma_info_by_name() local 48 list_for_each_entry(info, ®istered_dmac_list, list) { in get_dma_info_by_name() 49 if (dmac_name && (strcmp(dmac_name, info->name) != 0)) in get_dma_info_by_name() 52 return info; in get_dma_info_by_name() 61 struct dma_info *info; get_nr_channels() local 75 struct dma_info *info = get_dma_info(chan); get_dma_channel() local 94 struct dma_info *info = get_dma_info(chan); get_dma_residue() local 131 struct dma_info *info; request_dma_bycap() local 167 struct dma_info *info = get_dma_info(0); dmac_search_free_channel() local 194 struct dma_info *info = get_dma_info(chan); request_dma() local 217 struct dma_info *info = get_dma_info(chan); free_dma() local 229 struct dma_info *info = get_dma_info(chan); dma_wait_for_completion() local 245 struct dma_info *info; register_chan_caps() local 274 struct dma_info *info = get_dma_info(chan); dma_configure_channel() local 285 struct dma_info *info = get_dma_info(chan); dma_xfer() local 299 struct dma_info *info = get_dma_info(chan); dma_extend() local 311 struct dma_info *info = v; dma_proc_show() local 339 register_dmac(struct dma_info *info) register_dmac() argument 393 unregister_dmac(struct dma_info *info) unregister_dmac() argument [all...] |
/kernel/linux/linux-6.6/arch/sh/drivers/dma/ |
H A D | dma-api.c | 26 struct dma_info *info; in get_dma_info() local 32 list_for_each_entry(info, ®istered_dmac_list, list) { in get_dma_info() 33 if ((chan < info->first_vchannel_nr) || in get_dma_info() 34 (chan >= info->first_vchannel_nr + info->nr_channels)) in get_dma_info() 37 return info; in get_dma_info() 46 struct dma_info *info; in get_dma_info_by_name() local 48 list_for_each_entry(info, ®istered_dmac_list, list) { in get_dma_info_by_name() 49 if (dmac_name && (strcmp(dmac_name, info->name) != 0)) in get_dma_info_by_name() 52 return info; in get_dma_info_by_name() 61 struct dma_info *info; get_nr_channels() local 75 struct dma_info *info = get_dma_info(chan); get_dma_channel() local 94 struct dma_info *info = get_dma_info(chan); get_dma_residue() local 131 struct dma_info *info; request_dma_bycap() local 167 struct dma_info *info = get_dma_info(0); dmac_search_free_channel() local 194 struct dma_info *info = get_dma_info(chan); request_dma() local 217 struct dma_info *info = get_dma_info(chan); free_dma() local 229 struct dma_info *info = get_dma_info(chan); dma_wait_for_completion() local 245 struct dma_info *info; register_chan_caps() local 274 struct dma_info *info = get_dma_info(chan); dma_configure_channel() local 285 struct dma_info *info = get_dma_info(chan); dma_xfer() local 299 struct dma_info *info = get_dma_info(chan); dma_extend() local 311 struct dma_info *info = v; dma_proc_show() local 339 register_dmac(struct dma_info *info) register_dmac() argument 393 unregister_dmac(struct dma_info *info) unregister_dmac() argument [all...] |
/third_party/mesa3d/src/amd/vulkan/winsys/null/ |
H A D | radv_null_winsys.c | 34 /* Hardcode some GPU info that are needed for the driver or for some tools. */ 71 [CHIP_GFX1100] = {0xdead, 8, true}, /* TODO: fill with real info. */ 75 radv_null_winsys_query_info(struct radeon_winsys *rws, struct radeon_info *info) in radv_null_winsys_query_info() argument 80 info->gfx_level = CLASS_UNKNOWN; in radv_null_winsys_query_info() 81 info->family = CHIP_UNKNOWN; in radv_null_winsys_query_info() 86 info->family = i; in radv_null_winsys_query_info() 87 info->name = ac_get_family_name(i); in radv_null_winsys_query_info() 89 if (info->family >= CHIP_GFX1100) in radv_null_winsys_query_info() 90 info->gfx_level = GFX11; in radv_null_winsys_query_info() 92 info in radv_null_winsys_query_info() [all...] |
/kernel/linux/linux-5.10/drivers/nfc/nxp-nci/ |
H A D | core.c | 32 struct nxp_nci_info *info = nci_get_drvdata(ndev); in nxp_nci_open() local 35 mutex_lock(&info->info_lock); in nxp_nci_open() 37 if (info->mode != NXP_NCI_MODE_COLD) { in nxp_nci_open() 42 if (info->phy_ops->set_mode) in nxp_nci_open() 43 r = info->phy_ops->set_mode(info->phy_id, NXP_NCI_MODE_NCI); in nxp_nci_open() 45 info->mode = NXP_NCI_MODE_NCI; in nxp_nci_open() 48 mutex_unlock(&info->info_lock); in nxp_nci_open() 54 struct nxp_nci_info *info = nci_get_drvdata(ndev); in nxp_nci_close() local 57 mutex_lock(&info in nxp_nci_close() 70 struct nxp_nci_info *info = nci_get_drvdata(ndev); nxp_nci_send() local 101 struct nxp_nci_info *info; nxp_nci_probe() local 144 struct nxp_nci_info *info = nci_get_drvdata(ndev); nxp_nci_remove() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-pkey.c | 69 static int child(struct shared_info *info) in child() argument 77 ret = wait_parent(&info->child_sync); in child() 85 CHILD_FAIL_IF(pkey1 < 0, &info->child_sync); in child() 91 CHILD_FAIL_IF(pkey2 < 0, &info->child_sync); in child() 94 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); in child() 96 info->amr1 |= 3ul << pkeyshift(pkey1); in child() 97 info->amr2 |= 3ul << pkeyshift(pkey2); in child() 102 info->invalid_amr = info->amr2 | (~0x0UL & ~info in child() 185 parent(struct shared_info *info, pid_t pid) parent() argument 296 struct shared_info *info; ptrace_pkey() local [all...] |
/kernel/linux/linux-5.10/net/dsa/ |
H A D | switch.c | 33 struct dsa_notifier_ageing_time_info *info) in dsa_switch_ageing_time() 35 unsigned int ageing_time = info->ageing_time; in dsa_switch_ageing_time() 36 struct switchdev_trans *trans = info->trans; in dsa_switch_ageing_time() 56 struct dsa_notifier_mtu_info *info) in dsa_switch_mtu_match() 58 if (ds->index == info->sw_index) in dsa_switch_mtu_match() 59 return (port == info->port) || dsa_is_dsa_port(ds, port); in dsa_switch_mtu_match() 61 if (!info->propagate_upstream) in dsa_switch_mtu_match() 71 struct dsa_notifier_mtu_info *info) in dsa_switch_mtu() 79 if (dsa_switch_mtu_match(ds, port, info)) { in dsa_switch_mtu() 80 ret = ds->ops->port_change_mtu(ds, port, info in dsa_switch_mtu() 32 dsa_switch_ageing_time(struct dsa_switch *ds, struct dsa_notifier_ageing_time_info *info) dsa_switch_ageing_time() argument 55 dsa_switch_mtu_match(struct dsa_switch *ds, int port, struct dsa_notifier_mtu_info *info) dsa_switch_mtu_match() argument 70 dsa_switch_mtu(struct dsa_switch *ds, struct dsa_notifier_mtu_info *info) dsa_switch_mtu() argument 89 dsa_switch_bridge_join(struct dsa_switch *ds, struct dsa_notifier_bridge_info *info) dsa_switch_bridge_join() argument 107 dsa_switch_bridge_leave(struct dsa_switch *ds, struct dsa_notifier_bridge_info *info) dsa_switch_bridge_leave() argument 159 dsa_switch_fdb_add(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) dsa_switch_fdb_add() argument 170 dsa_switch_fdb_del(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) dsa_switch_fdb_del() argument 181 dsa_switch_mdb_match(struct dsa_switch *ds, int port, struct dsa_notifier_mdb_info *info) dsa_switch_mdb_match() argument 193 dsa_switch_mdb_prepare(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) dsa_switch_mdb_prepare() argument 212 dsa_switch_mdb_add(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) dsa_switch_mdb_add() argument 230 dsa_switch_mdb_del(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) dsa_switch_mdb_del() argument 242 dsa_switch_vlan_match(struct dsa_switch *ds, int port, struct dsa_notifier_vlan_info *info) dsa_switch_vlan_match() argument 254 dsa_switch_vlan_prepare(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) dsa_switch_vlan_prepare() argument 273 dsa_switch_vlan_add(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) dsa_switch_vlan_add() argument 291 dsa_switch_vlan_del(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) dsa_switch_vlan_del() argument 306 dsa_switch_event(struct notifier_block *nb, unsigned long event, void *info) dsa_switch_event() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-pkey.c | 69 static int child(struct shared_info *info) in child() argument 77 ret = wait_parent(&info->child_sync); in child() 85 CHILD_FAIL_IF(pkey1 < 0, &info->child_sync); in child() 91 CHILD_FAIL_IF(pkey2 < 0, &info->child_sync); in child() 94 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); in child() 96 info->amr1 |= 3ul << pkeyshift(pkey1); in child() 97 info->amr2 |= 3ul << pkeyshift(pkey2); in child() 102 info->invalid_amr = info->amr2 | (~0x0UL & ~info in child() 185 parent(struct shared_info *info, pid_t pid) parent() argument 296 struct shared_info *info; ptrace_pkey() local [all...] |
/kernel/linux/linux-6.6/drivers/nfc/s3fwrn5/ |
H A D | core.c | 23 static int s3fwrn5_firmware_init(struct s3fwrn5_info *info) in s3fwrn5_firmware_init() argument 25 struct s3fwrn5_fw_info *fw_info = &info->fw_info; in s3fwrn5_firmware_init() 38 static int s3fwrn5_firmware_update(struct s3fwrn5_info *info) in s3fwrn5_firmware_update() argument 45 s3fwrn5_set_wake(info, false); in s3fwrn5_firmware_update() 46 s3fwrn5_set_mode(info, S3FWRN5_MODE_FW); in s3fwrn5_firmware_update() 48 ret = s3fwrn5_fw_setup(&info->fw_info); in s3fwrn5_firmware_update() 52 need_update = s3fwrn5_fw_check_version(&info->fw_info, in s3fwrn5_firmware_update() 53 info->ndev->manufact_specific_info); in s3fwrn5_firmware_update() 57 dev_info(&info->ndev->nfc_dev->dev, "Detected new firmware version\n"); in s3fwrn5_firmware_update() 59 ret = s3fwrn5_fw_download(&info in s3fwrn5_firmware_update() 79 struct s3fwrn5_info *info = nci_get_drvdata(ndev); s3fwrn5_nci_open() local 92 struct s3fwrn5_info *info = nci_get_drvdata(ndev); s3fwrn5_nci_close() local 102 struct s3fwrn5_info *info = nci_get_drvdata(ndev); s3fwrn5_nci_send() local 127 struct s3fwrn5_info *info = nci_get_drvdata(ndev); s3fwrn5_nci_post_setup() local 163 struct s3fwrn5_info *info; s3fwrn5_probe() local 201 struct s3fwrn5_info *info = nci_get_drvdata(ndev); s3fwrn5_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | edd.c | 50 struct edd_info *info; member 88 return edev->info; in edd_dev_get_info() 98 edev->info = &edd.edd_info[i]; in edd_dev_set_info() 123 struct edd_info *info; in edd_show_host_bus() local 129 info = edd_dev_get_info(edev); in edd_show_host_bus() 130 if (!info || !buf) in edd_show_host_bus() 134 if (isprint(info->params.host_bus_type[i])) { in edd_show_host_bus() 135 p += scnprintf(p, left, "%c", info->params.host_bus_type[i]); in edd_show_host_bus() 141 if (!strncmp(info->params.host_bus_type, "ISA", 3)) { in edd_show_host_bus() 143 info in edd_show_host_bus() 169 struct edd_info *info; edd_show_interface() local 235 struct edd_info *info; edd_show_raw_data() local 257 struct edd_info *info; edd_show_version() local 280 struct edd_info *info; edd_show_extensions() local 306 struct edd_info *info; edd_show_info_flags() local 336 struct edd_info *info; edd_show_legacy_max_cylinder() local 351 struct edd_info *info; edd_show_legacy_max_head() local 366 struct edd_info *info; edd_show_legacy_sectors_per_track() local 381 struct edd_info *info; edd_show_default_cylinders() local 396 struct edd_info *info; edd_show_default_heads() local 411 struct edd_info *info; edd_show_default_sectors_per_track() local 426 struct edd_info *info; edd_show_sectors() local 452 struct edd_info *info; edd_has_legacy_max_cylinder() local 464 struct edd_info *info; edd_has_legacy_max_head() local 476 struct edd_info *info; edd_has_legacy_sectors_per_track() local 488 struct edd_info *info; edd_has_default_cylinders() local 500 struct edd_info *info; edd_has_default_heads() local 512 struct edd_info *info; edd_has_default_sectors_per_track() local 524 struct edd_info *info; edd_has_edd30() local 638 struct edd_info *info; edd_dev_is_type() local 660 struct edd_info *info = edd_dev_get_info(edev); edd_get_pci_dev() local [all...] |