Home
last modified time | relevance | path

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

12345678910>>...200

/Linux-v6.6/include/drm/
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 …]
/Linux-v6.6/drivers/tty/
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 …]
/Linux-v6.6/drivers/gpu/drm/tests/
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 …]
/Linux-v6.6/drivers/scsi/arm/
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 …]
/Linux-v6.6/drivers/power/supply/
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 …]
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 …]
/Linux-v6.6/drivers/iio/adc/
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 …]
/Linux-v6.6/drivers/usb/common/
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 …]
/Linux-v6.6/drivers/rtc/
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 …]
/Linux-v6.6/fs/smb/client/
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 …]
/Linux-v6.6/drivers/usb/host/
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 …]
/Linux-v6.6/tools/power/x86/intel-speed-select/
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 …]
/Linux-v6.6/drivers/video/fbdev/core/
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 …]
/Linux-v6.6/drivers/input/misc/
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 …]
/Linux-v6.6/net/netfilter/
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 …]
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 …]
/Linux-v6.6/drivers/video/fbdev/
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 …]
Dxen-fbfront.c75 static void xenfb_send_event(struct xenfb_info *info, in xenfb_send_event() argument
80 prod = info->page->out_prod; in xenfb_send_event()
83 XENFB_OUT_RING_REF(info->page, prod) = *event; in xenfb_send_event()
85 info->page->out_prod = prod + 1; in xenfb_send_event()
87 notify_remote_via_irq(info->irq); in xenfb_send_event()
90 static void xenfb_do_update(struct xenfb_info *info, in xenfb_do_update() argument
103 xenfb_send_event(info, &event); in xenfb_do_update()
106 static void xenfb_do_resize(struct xenfb_info *info) in xenfb_do_resize() argument
111 event.resize = info->resize; in xenfb_do_resize()
114 xenfb_send_event(info, &event); in xenfb_do_resize()
[all …]
/Linux-v6.6/sound/soc/fsl/
Dimx-pcm-rpmsg.c20 .info = SNDRV_PCM_INFO_INTERLEAVED |
37 struct rpmsg_info *info) in imx_rpmsg_pcm_send_message() argument
39 struct rpmsg_device *rpdev = info->rpdev; in imx_rpmsg_pcm_send_message()
42 mutex_lock(&info->msg_lock); in imx_rpmsg_pcm_send_message()
44 dev_err(info->dev, "rpmsg channel not ready\n"); in imx_rpmsg_pcm_send_message()
45 mutex_unlock(&info->msg_lock); in imx_rpmsg_pcm_send_message()
52 reinit_completion(&info->cmd_complete); in imx_rpmsg_pcm_send_message()
58 mutex_unlock(&info->msg_lock); in imx_rpmsg_pcm_send_message()
64 mutex_unlock(&info->msg_lock); in imx_rpmsg_pcm_send_message()
69 ret = wait_for_completion_timeout(&info->cmd_complete, in imx_rpmsg_pcm_send_message()
[all …]
/Linux-v6.6/drivers/cpufreq/
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 …]
/Linux-v6.6/drivers/bluetooth/
Dbluecard_cs.c161 struct bluecard_info *info = from_timer(info, t, timer); in bluecard_activity_led_timeout() local
162 unsigned int iobase = info->p_dev->resource[0]->start; in bluecard_activity_led_timeout()
164 if (test_bit(CARD_ACTIVITY, &(info->hw_state))) { in bluecard_activity_led_timeout()
166 clear_bit(CARD_ACTIVITY, &(info->hw_state)); in bluecard_activity_led_timeout()
167 mod_timer(&(info->timer), jiffies + HZ / 10); in bluecard_activity_led_timeout()
175 static void bluecard_enable_activity_led(struct bluecard_info *info) in bluecard_enable_activity_led() argument
177 unsigned int iobase = info->p_dev->resource[0]->start; in bluecard_enable_activity_led()
180 if (timer_pending(&(info->timer))) in bluecard_enable_activity_led()
183 set_bit(CARD_ACTIVITY, &(info->hw_state)); in bluecard_enable_activity_led()
185 if (test_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state))) { in bluecard_enable_activity_led()
[all …]
/Linux-v6.6/fs/quota/
Dquota_tree.c26 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in __get_index() argument
28 unsigned int epb = info->dqi_usable_bs >> 2; in __get_index()
30 depth = info->dqi_qtree_depth - depth - 1; in __get_index()
36 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument
40 return __get_index(info, id, depth); in get_index()
44 static int qtree_dqstr_in_blk(struct qtree_mem_dqinfo *info) in qtree_dqstr_in_blk() argument
46 return (info->dqi_usable_bs - sizeof(struct qt_disk_dqdbheader)) in qtree_dqstr_in_blk()
47 / info->dqi_entry_size; in qtree_dqstr_in_blk()
50 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() argument
52 struct super_block *sb = info->dqi_sb; in read_blk()
[all …]
/Linux-v6.6/arch/sh/drivers/dma/
Ddma-api.c26 struct dma_info *info; in get_dma_info() local
32 list_for_each_entry(info, &registered_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, &registered_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; in get_nr_channels() local
[all …]
/Linux-v6.6/net/bridge/netfilter/
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 …]
/Linux-v6.6/drivers/extcon/
Dextcon-ptn5150.c72 static void ptn5150_check_state(struct ptn5150_info *info) in ptn5150_check_state() argument
78 ret = regmap_read(info->regmap, PTN5150_REG_CC_STATUS, &reg_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->edev, EXTCON_USB_HOST, true); in ptn5150_check_state()
[all …]

12345678910>>...200