Home
last modified time | relevance | path

Searched full:info (Results 1 – 25 of 6719) sorted by relevance

12345678910>>...269

/openbmc/linux/include/drm/
H A Di915_pciids.h38 #define INTEL_VGA_DEVICE(id, info) { \ argument
42 (unsigned long) info }
44 #define INTEL_QUANTA_VGA_DEVICE(info) { \ argument
48 (unsigned long) info }
50 #define INTEL_I810_IDS(info) \ argument
51 INTEL_VGA_DEVICE(0x7121, info), /* I810 */ \
52 INTEL_VGA_DEVICE(0x7123, info), /* I810_DC100 */ \
53 INTEL_VGA_DEVICE(0x7125, info) /* I810_E */
55 #define INTEL_I815_IDS(info) \ argument
56 INTEL_VGA_DEVICE(0x1132, info) /* I815*/
[all …]
/openbmc/linux/drivers/tty/
H A Dsynclink_gt.c41 #define DBGDATA(info, buf, size, label) if (debug_level >= DEBUG_LEVEL_DATA) trace_block((info), (b… argument
42 /*#define DBGTBUF(info) dump_tbufs(info)*/
43 /*#define DBGRBUF(info) dump_rbufs(info)*/
395 #define slgt_irq_on(info, mask) \ argument
396 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) | (mask)))
397 #define slgt_irq_off(info, mask) \ argument
398 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) & ~(mask)))
400 static __u8 rd_reg8(struct slgt_info *info, unsigned int addr);
401 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value);
402 static __u16 rd_reg16(struct slgt_info *info, unsigned int addr);
[all …]
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_format_test.c14 const struct drm_format_info *info = NULL; in drm_test_format_block_width_invalid() local
16 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 0); in drm_test_format_block_width_invalid()
17 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0); in drm_test_format_block_width_invalid()
18 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0); in drm_test_format_block_width_invalid()
23 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_XRGB4444); in drm_test_format_block_width_one_plane() local
25 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_one_plane()
27 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 1); in drm_test_format_block_width_one_plane()
28 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0); in drm_test_format_block_width_one_plane()
29 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0); in drm_test_format_block_width_one_plane()
34 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_NV12); in drm_test_format_block_width_two_plane() local
[all …]
/openbmc/linux/drivers/scsi/arm/
H A Dfas216.c15 * FAS216_Info info;
144 static inline unsigned char fas216_readb(FAS216_Info *info, unsigned int reg) in fas216_readb() argument
146 unsigned int off = reg << info->scsi.io_shift; in fas216_readb()
147 return readb(info->scsi.io_base + off); in fas216_readb()
150 static inline void fas216_writeb(FAS216_Info *info, unsigned int reg, unsigned int val) in fas216_writeb() argument
152 unsigned int off = reg << info->scsi.io_shift; in fas216_writeb()
153 writeb(val, info->scsi.io_base + off); in fas216_writeb()
156 static void fas216_dumpstate(FAS216_Info *info) in fas216_dumpstate() argument
160 is = fas216_readb(info, REG_IS); in fas216_dumpstate()
161 stat = fas216_readb(info, REG_STAT); in fas216_dumpstate()
[all …]
/openbmc/linux/drivers/power/supply/
H A D88pm860x_charger.c116 static int measure_vchg(struct pm860x_charger_info *info, int *data) in measure_vchg() argument
121 ret = pm860x_bulk_read(info->i2c, PM8607_VCHG_MEAS1, 2, buf); in measure_vchg()
129 dev_dbg(info->dev, "%s, vchg: %d mv\n", __func__, *data); in measure_vchg()
134 static void set_vchg_threshold(struct pm860x_charger_info *info, in set_vchg_threshold() argument
144 pm860x_reg_write(info->i2c, PM8607_VCHG_LOWTH, data); in set_vchg_threshold()
145 dev_dbg(info->dev, "VCHG_LOWTH:%dmv, 0x%x\n", min, data); in set_vchg_threshold()
151 pm860x_reg_write(info->i2c, PM8607_VCHG_HIGHTH, data); in set_vchg_threshold()
152 dev_dbg(info->dev, "VCHG_HIGHTH:%dmv, 0x%x\n", max, data); in set_vchg_threshold()
156 static void set_vbatt_threshold(struct pm860x_charger_info *info, in set_vbatt_threshold() argument
166 pm860x_reg_write(info->i2c, PM8607_VBAT_LOWTH, data); in set_vbatt_threshold()
[all …]
H A Dsc2731_charger.c67 static void sc2731_charger_stop_charge(struct sc2731_charger_info *info) in sc2731_charger_stop_charge() argument
69 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
72 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge()
76 static int sc2731_charger_start_charge(struct sc2731_charger_info *info) in sc2731_charger_start_charge() argument
81 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
87 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge()
91 static int sc2731_charger_set_current_limit(struct sc2731_charger_info *info, in sc2731_charger_set_current_limit() argument
105 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG5, in sc2731_charger_set_current_limit()
110 static int sc2731_charger_set_current(struct sc2731_charger_info *info, u32 cur) in sc2731_charger_set_current() argument
124 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_set_current()
[all …]
/openbmc/linux/drivers/usb/common/
H A Dusb-conn-gpio.c67 struct usb_conn_info *info; in usb_conn_detect_cable() local
71 info = container_of(to_delayed_work(work), in usb_conn_detect_cable()
75 id = info->id_gpiod ? in usb_conn_detect_cable()
76 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable()
77 vbus = info->vbus_gpiod ? in usb_conn_detect_cable()
78 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_conn_detect_cable()
87 dev_dbg(info->dev, "role %s -> %s, gpios: id %d, vbus %d\n", in usb_conn_detect_cable()
88 usb_role_string(info->last_role), usb_role_string(role), id, vbus); in usb_conn_detect_cable()
90 if (!info->initial_detection && info->last_role == role) { in usb_conn_detect_cable()
91 dev_warn(info->dev, "repeated role: %s\n", usb_role_string(role)); in usb_conn_detect_cable()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-s3c.c52 void (*irq_handler) (struct s3c_rtc *info, int mask);
53 void (*enable) (struct s3c_rtc *info);
54 void (*disable) (struct s3c_rtc *info);
57 static int s3c_rtc_enable_clk(struct s3c_rtc *info) in s3c_rtc_enable_clk() argument
61 ret = clk_enable(info->rtc_clk); in s3c_rtc_enable_clk()
65 if (info->data->needs_src_clk) { in s3c_rtc_enable_clk()
66 ret = clk_enable(info->rtc_src_clk); in s3c_rtc_enable_clk()
68 clk_disable(info->rtc_clk); in s3c_rtc_enable_clk()
75 static void s3c_rtc_disable_clk(struct s3c_rtc *info) in s3c_rtc_disable_clk() argument
77 if (info->data->needs_src_clk) in s3c_rtc_disable_clk()
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dexynos_adc.c163 void (*init_hw)(struct exynos_adc *info);
164 void (*exit_hw)(struct exynos_adc *info);
165 void (*clear_irq)(struct exynos_adc *info);
166 void (*start_conv)(struct exynos_adc *info, unsigned long addr);
169 static void exynos_adc_unprepare_clk(struct exynos_adc *info) in exynos_adc_unprepare_clk() argument
171 if (info->data->needs_sclk) in exynos_adc_unprepare_clk()
172 clk_unprepare(info->sclk); in exynos_adc_unprepare_clk()
173 clk_unprepare(info->clk); in exynos_adc_unprepare_clk()
176 static int exynos_adc_prepare_clk(struct exynos_adc *info) in exynos_adc_prepare_clk() argument
180 ret = clk_prepare(info->clk); in exynos_adc_prepare_clk()
[all …]
/openbmc/qemu/ui/
H A Dclipboard.c28 QemuClipboardInfo *info = qemu_clipboard_info(selection); in qemu_clipboard_peer_owns() local
30 return info && info->owner == peer; in qemu_clipboard_peer_owns()
36 g_autoptr(QemuClipboardInfo) info = NULL; in qemu_clipboard_peer_release()
39 /* set empty clipboard info */ in qemu_clipboard_peer_release()
40 info = qemu_clipboard_info_new(NULL, selection); in qemu_clipboard_peer_release()
41 qemu_clipboard_update(info); in qemu_clipboard_peer_release()
45 bool qemu_clipboard_check_serial(QemuClipboardInfo *info, bool client) in qemu_clipboard_check_serial() argument
49 if (!info->has_serial || in qemu_clipboard_check_serial()
50 !cbinfo[info->selection] || in qemu_clipboard_check_serial()
51 !cbinfo[info->selection]->has_serial) { in qemu_clipboard_check_serial()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dpxa3xx_nand.c122 #define nand_writel(info, off, val) \ argument
123 writel((val), (info)->mmio_base + (off))
125 #define nand_readl(info, off) \ argument
126 readl((info)->mmio_base + (off))
423 struct pxa3xx_nand_info *info = host->info_data; in pxa3xx_nand_set_timing() local
438 info->ndtr0cs0 = ndtr0; in pxa3xx_nand_set_timing()
439 info->ndtr1cs0 = ndtr1; in pxa3xx_nand_set_timing()
440 nand_writel(info, NDTR0CS0, ndtr0); in pxa3xx_nand_set_timing()
441 nand_writel(info, NDTR1CS0, ndtr1); in pxa3xx_nand_set_timing()
447 struct pxa3xx_nand_info *info = host->info_data; in pxa3xx_nand_set_sdr_timing() local
[all …]
/openbmc/linux/fs/smb/client/
H A Dsmbdirect.c15 struct smbd_connection *info);
17 struct smbd_connection *info);
19 struct smbd_connection *info,
21 static int allocate_receive_buffers(struct smbd_connection *info, int num_buf);
22 static void destroy_receive_buffers(struct smbd_connection *info);
25 struct smbd_connection *info, struct smbd_response *response);
27 struct smbd_connection *info,
30 struct smbd_connection *info);
33 struct smbd_connection *info,
36 static int smbd_post_send_empty(struct smbd_connection *info);
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxen-hcd.c105 static inline struct usb_hcd *xenhcd_info_to_hcd(struct xenhcd_info *info) in xenhcd_info_to_hcd() argument
107 return container_of((void *)info, struct usb_hcd, hcd_priv); in xenhcd_info_to_hcd()
110 static void xenhcd_set_error(struct xenhcd_info *info, const char *msg) in xenhcd_set_error() argument
112 info->error = true; in xenhcd_set_error()
117 static inline void xenhcd_timer_action_done(struct xenhcd_info *info, in xenhcd_timer_action_done() argument
120 clear_bit(action, &info->actions); in xenhcd_timer_action_done()
123 static void xenhcd_timer_action(struct xenhcd_info *info, in xenhcd_timer_action() argument
126 if (timer_pending(&info->watchdog) && in xenhcd_timer_action()
127 test_bit(TIMER_SCAN_PENDING_URBS, &info->actions)) in xenhcd_timer_action()
130 if (!test_and_set_bit(action, &info->actions)) { in xenhcd_timer_action()
[all …]
/openbmc/linux/tools/power/x86/intel-speed-select/
H A Disst-core-tpmi.c10 int tpmi_process_ioctl(int ioctl_no, void *info) in tpmi_process_ioctl() argument
64 if (ioctl(fd, ioctl_no, info) == -1) { in tpmi_process_ioctl()
117 struct isst_tpmi_instance_count info; in tpmi_is_punit_valid() local
123 info.socket_id = id->pkg; in tpmi_is_punit_valid()
124 ret = tpmi_process_ioctl(ISST_IF_COUNT_TPMI_INSTANCES, &info); in tpmi_is_punit_valid()
128 if (info.valid_mask & BIT(id->punit)) in tpmi_is_punit_valid()
136 struct isst_core_power info; in tpmi_read_pm_config() local
139 info.get_set = 0; in tpmi_read_pm_config()
140 info.socket_id = id->pkg; in tpmi_read_pm_config()
141 info.power_domain_id = id->punit; in tpmi_read_pm_config()
[all …]
/openbmc/linux/drivers/video/fbdev/core/
H A Dfb_chrdev.c23 struct fb_info *info = registered_fb[fbidx]; in file_fb_info() local
25 if (info != file->private_data) in file_fb_info()
26 info = NULL; in file_fb_info()
27 return info; in file_fb_info()
32 struct fb_info *info = file_fb_info(file); in fb_read() local
34 if (!info) in fb_read()
37 if (info->state != FBINFO_STATE_RUNNING) in fb_read()
40 if (info->fbops->fb_read) in fb_read()
41 return info->fbops->fb_read(info, buf, count, ppos); in fb_read()
43 return fb_io_read(info, buf, count, ppos); in fb_read()
[all …]
/openbmc/linux/drivers/input/misc/
H A Dtwl6040-vibra.c55 struct vibra_info *info = data; in twl6040_vib_irq_handler() local
56 struct twl6040 *twl6040 = info->twl6040; in twl6040_vib_irq_handler()
61 dev_warn(info->dev, "Left Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler()
66 dev_warn(info->dev, "Right Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler()
74 static void twl6040_vibra_enable(struct vibra_info *info) in twl6040_vibra_enable() argument
76 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_enable()
79 ret = regulator_bulk_enable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_enable()
81 dev_err(info->dev, "failed to enable regulators %d\n", ret); in twl6040_vibra_enable()
85 twl6040_power(info->twl6040, 1); in twl6040_vibra_enable()
104 info->enabled = true; in twl6040_vibra_enable()
[all …]
/openbmc/u-boot/drivers/mtd/
H A Dcfi_flash.c62 flash_info_t flash_info[CFI_MAX_FLASH_BANKS]; /* FLASH chips info */
184 flash_info_t *info; in flash_get_info() local
187 info = &flash_info[i]; in flash_get_info()
188 if (info->size && info->start[0] <= base && in flash_get_info()
189 base <= info->start[0] + info->size - 1) in flash_get_info()
190 return info; in flash_get_info()
197 unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect) in flash_sector_size() argument
199 if (sect != (info->sector_count - 1)) in flash_sector_size()
200 return info->start[sect + 1] - info->start[sect]; in flash_sector_size()
202 return info->start[0] + info->size - info->start[sect]; in flash_sector_size()
[all …]
/openbmc/linux/net/netfilter/
H A Dxt_IDLETIMER.c136 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->timer->attr.attr.name) { in idletimer_tg_create()
156 info->timer->attr.attr.mode = 0444; in idletimer_tg_create()
157 info->timer->attr.show = idletimer_tg_show; in idletimer_tg_create()
159 ret = sysfs_create_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_create()
[all …]
H A Dxt_set.c56 const struct xt_set_info_match_v0 *info = par->matchinfo; in set_match_v0() local
58 ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, in set_match_v0()
59 info->match_set.u.compat.flags, 0, UINT_MAX, in set_match_v0()
62 return match_set(info->match_set.index, skb, par, &opt, in set_match_v0()
63 info->match_set.u.compat.flags & IPSET_INV_MATCH); in set_match_v0()
67 compat_flags(struct xt_set_info_v0 *info) in compat_flags() argument
72 info->u.compat.dim = IPSET_DIM_ZERO; in compat_flags()
73 if (info->u.flags[0] & IPSET_MATCH_INV) in compat_flags()
74 info->u.compat.flags |= IPSET_INV_MATCH; in compat_flags()
75 for (i = 0; i < IPSET_DIM_MAX - 1 && info->u.flags[i]; i++) { in compat_flags()
[all …]
/openbmc/qemu/disas/
H A Ddisas-host.c13 * Get LENGTH bytes from info's buffer, at host address memaddr.
17 struct disassemble_info *info) in host_read_memory() argument
19 if (memaddr < info->buffer_vma in host_read_memory()
20 || memaddr + length > info->buffer_vma + info->buffer_length) { in host_read_memory()
24 memcpy (myaddr, info->buffer + (memaddr - info->buffer_vma), length); in host_read_memory()
29 static void host_print_address(bfd_vma addr, struct disassemble_info *info) in host_print_address() argument
31 info->fprintf_func(info->stream, "0x%" PRIxPTR, (uintptr_t)addr); in host_print_address()
38 s->info.read_memory_func = host_read_memory; in initialize_debug_host()
39 s->info.print_address_func = host_print_address; in initialize_debug_host()
41 s->info.endian = BFD_ENDIAN_BIG; in initialize_debug_host()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dep93xx-fb.c148 static void ep93xxfb_set_video_attribs(struct fb_info *info) in ep93xxfb_set_video_attribs() argument
150 struct ep93xx_fbi *fbi = info->par; in ep93xxfb_set_video_attribs()
158 static int ep93xxfb_set_pixelmode(struct fb_info *info) in ep93xxfb_set_pixelmode() argument
160 struct ep93xx_fbi *fbi = info->par; in ep93xxfb_set_pixelmode()
163 info->var.transp.offset = 0; in ep93xxfb_set_pixelmode()
164 info->var.transp.length = 0; in ep93xxfb_set_pixelmode()
166 switch (info->var.bits_per_pixel) { in ep93xxfb_set_pixelmode()
171 info->var.red.offset = 0; in ep93xxfb_set_pixelmode()
172 info->var.red.length = 8; in ep93xxfb_set_pixelmode()
173 info->var.green.offset = 0; in ep93xxfb_set_pixelmode()
[all …]
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-ids.c23 #define INFO(_name, _jedec_id, _ext_id, _sector_size, _n_sectors, _flags) \ macro
68 { INFO("at26df321", 0x1f4700, 0, 64 * 1024, 64, SECT_4K) },
69 { INFO("at25df321a", 0x1f4701, 0, 64 * 1024, 64, SECT_4K) },
71 { INFO("at45db011d", 0x1f2200, 0, 64 * 1024, 4, SECT_4K) },
72 { INFO("at45db021d", 0x1f2300, 0, 64 * 1024, 8, SECT_4K) },
73 { INFO("at45db041d", 0x1f2400, 0, 64 * 1024, 8, SECT_4K) },
74 { INFO("at45db081d", 0x1f2500, 0, 64 * 1024, 16, SECT_4K) },
75 { INFO("at45db161d", 0x1f2600, 0, 64 * 1024, 32, SECT_4K) },
76 { INFO("at45db321d", 0x1f2700, 0, 64 * 1024, 64, SECT_4K) },
77 { INFO("at45db641d", 0x1f2800, 0, 64 * 1024, 128, SECT_4K) },
[all …]
/openbmc/linux/drivers/xen/events/
H A Devents_base.c251 /* Get info for IRQ */
260 static void set_info_for_irq(unsigned int irq, struct irq_info *info) in set_info_for_irq() argument
263 legacy_info_ptrs[irq] = info; in set_info_for_irq()
265 irq_set_chip_data(irq, info); in set_info_for_irq()
282 static void channels_on_cpu_dec(struct irq_info *info) in channels_on_cpu_dec() argument
284 if (!info->is_accounted) in channels_on_cpu_dec()
287 info->is_accounted = 0; in channels_on_cpu_dec()
289 if (WARN_ON_ONCE(info->cpu >= nr_cpu_ids)) in channels_on_cpu_dec()
292 WARN_ON_ONCE(!atomic_add_unless(&channels_on_cpu[info->cpu], -1 , 0)); in channels_on_cpu_dec()
295 static void channels_on_cpu_inc(struct irq_info *info) in channels_on_cpu_inc() argument
[all …]
/openbmc/linux/net/bridge/netfilter/
H A Debt_ip.c40 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_DEST, in ebt_ip_mt()
58 (ih->daddr & info->dmsk) != info->daddr)) in ebt_ip_mt()
60 if (info->bitmask & EBT_IP_PROTO) { in ebt_ip_mt()
[all …]
/openbmc/linux/drivers/cpufreq/
H A Dmediatek-cpufreq.c68 struct mtk_cpu_dvfs_info *info; in mtk_cpu_dvfs_info_lookup() local
70 list_for_each_entry(info, &dvfs_info_list, list_head) { in mtk_cpu_dvfs_info_lookup()
71 if (cpumask_test_cpu(cpu, &info->cpus)) in mtk_cpu_dvfs_info_lookup()
72 return info; in mtk_cpu_dvfs_info_lookup()
78 static int mtk_cpufreq_voltage_tracking(struct mtk_cpu_dvfs_info *info, in mtk_cpufreq_voltage_tracking() argument
81 const struct mtk_cpufreq_platform_data *soc_data = info->soc_data; in mtk_cpufreq_voltage_tracking()
82 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking()
83 struct regulator *sram_reg = info->sram_reg; in mtk_cpufreq_voltage_tracking()
85 int retry = info->vtrack_max; in mtk_cpufreq_voltage_tracking()
89 dev_err(info->cpu_dev, in mtk_cpufreq_voltage_tracking()
[all …]

12345678910>>...269