/Linux-v5.10/include/drm/ |
D | i915_pciids.h | 38 #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-v5.10/drivers/gpu/drm/selftests/ |
D | test-drm_format.c | 17 const struct drm_format_info *info = NULL; in igt_check_drm_format_block_width() local 20 FAIL_ON(drm_format_info_block_width(info, 0) != 0); in igt_check_drm_format_block_width() 21 FAIL_ON(drm_format_info_block_width(info, -1) != 0); in igt_check_drm_format_block_width() 22 FAIL_ON(drm_format_info_block_width(info, 1) != 0); in igt_check_drm_format_block_width() 25 info = drm_format_info(DRM_FORMAT_XRGB4444); in igt_check_drm_format_block_width() 26 FAIL_ON(!info); in igt_check_drm_format_block_width() 27 FAIL_ON(drm_format_info_block_width(info, 0) != 1); in igt_check_drm_format_block_width() 28 FAIL_ON(drm_format_info_block_width(info, 1) != 0); in igt_check_drm_format_block_width() 29 FAIL_ON(drm_format_info_block_width(info, -1) != 0); in igt_check_drm_format_block_width() 32 info = drm_format_info(DRM_FORMAT_NV12); in igt_check_drm_format_block_width() [all …]
|
/Linux-v5.10/drivers/tty/ |
D | synclink_gt.c | 41 #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)*/ 166 static void hdlcdev_tx_done(struct slgt_info *info); 167 static void hdlcdev_rx(struct slgt_info *info, char *buf, int size); 168 static int hdlcdev_init(struct slgt_info *info); 169 static void hdlcdev_exit(struct slgt_info *info); 426 #define slgt_irq_on(info, mask) \ argument 427 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) | (mask))) 428 #define slgt_irq_off(info, mask) \ argument [all …]
|
D | synclinkmp.c | 529 static void hdlcdev_tx_done(SLMP_INFO *info); 530 static void hdlcdev_rx(SLMP_INFO *info, char *buf, int size); 531 static int hdlcdev_init(SLMP_INFO *info); 532 static void hdlcdev_exit(SLMP_INFO *info); 537 static int get_stats(SLMP_INFO *info, struct mgsl_icount __user *user_icount); 538 static int get_params(SLMP_INFO *info, MGSL_PARAMS __user *params); 539 static int set_params(SLMP_INFO *info, MGSL_PARAMS __user *params); 540 static int get_txidle(SLMP_INFO *info, int __user *idle_mode); 541 static int set_txidle(SLMP_INFO *info, int idle_mode); 542 static int tx_enable(SLMP_INFO *info, int enable); [all …]
|
D | synclink.c | 599 void usc_DisableMasterIrqBit( struct mgsl_struct *info ); 600 void usc_EnableMasterIrqBit( struct mgsl_struct *info ); 601 void usc_EnableInterrupts( struct mgsl_struct *info, u16 IrqMask ); 602 void usc_DisableInterrupts( struct mgsl_struct *info, u16 IrqMask ); 603 void usc_ClearIrqPendingBits( struct mgsl_struct *info, u16 IrqMask ); 663 static u16 usc_InDmaReg( struct mgsl_struct *info, u16 Port ); 664 static void usc_OutDmaReg( struct mgsl_struct *info, u16 Port, u16 Value ); 665 static void usc_DmaCmd( struct mgsl_struct *info, u16 Cmd ); 667 static u16 usc_InReg( struct mgsl_struct *info, u16 Port ); 668 static void usc_OutReg( struct mgsl_struct *info, u16 Port, u16 Value ); [all …]
|
/Linux-v5.10/drivers/scsi/arm/ |
D | fas216.c | 15 * FAS216_Info info; 141 static inline unsigned char fas216_readb(FAS216_Info *info, unsigned int reg) in fas216_readb() argument 143 unsigned int off = reg << info->scsi.io_shift; in fas216_readb() 144 return readb(info->scsi.io_base + off); in fas216_readb() 147 static inline void fas216_writeb(FAS216_Info *info, unsigned int reg, unsigned int val) in fas216_writeb() argument 149 unsigned int off = reg << info->scsi.io_shift; in fas216_writeb() 150 writeb(val, info->scsi.io_base + off); in fas216_writeb() 153 static void fas216_dumpstate(FAS216_Info *info) in fas216_dumpstate() argument 157 is = fas216_readb(info, REG_IS); in fas216_dumpstate() 158 stat = fas216_readb(info, REG_STAT); in fas216_dumpstate() [all …]
|
D | powertec.c | 57 FAS216_Info info; member 72 struct powertec_info *info = ec->irq_data; in powertecscsi_irqenable() local 73 writeb(POWERTEC_INTR_ENABLE, info->base + POWERTEC_INTR_CONTROL); in powertecscsi_irqenable() 84 struct powertec_info *info = ec->irq_data; in powertecscsi_irqdisable() local 85 writeb(POWERTEC_INTR_DISABLE, info->base + POWERTEC_INTR_CONTROL); in powertecscsi_irqdisable() 101 struct powertec_info *info = (struct powertec_info *)host->hostdata; in powertecscsi_terminator_ctl() local 103 info->term_ctl = on_off ? POWERTEC_TERM_ENABLE : 0; in powertecscsi_terminator_ctl() 104 writeb(info->term_ctl, info->base + POWERTEC_TERM_CONTROL); in powertecscsi_terminator_ctl() 114 struct powertec_info *info = dev_id; in powertecscsi_intr() local 116 return fas216_intr(&info->info); in powertecscsi_intr() [all …]
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-s3c.c | 59 void (*irq_handler) (struct s3c_rtc *info, int mask); 60 void (*set_freq) (struct s3c_rtc *info, int freq); 61 void (*enable_tick) (struct s3c_rtc *info, struct seq_file *seq); 62 void (*select_tick_clk) (struct s3c_rtc *info); 63 void (*save_tick_cnt) (struct s3c_rtc *info); 64 void (*restore_tick_cnt) (struct s3c_rtc *info); 65 void (*enable) (struct s3c_rtc *info); 66 void (*disable) (struct s3c_rtc *info); 69 static int s3c_rtc_enable_clk(struct s3c_rtc *info) in s3c_rtc_enable_clk() argument 73 ret = clk_enable(info->rtc_clk); in s3c_rtc_enable_clk() [all …]
|
/Linux-v5.10/drivers/char/pcmcia/ |
D | synclink_cs.c | 321 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg)) argument 322 #define read_reg(info, reg) inb((info)->io_base + (reg)) argument 324 #define read_reg16(info, reg) inw((info)->io_base + (reg)) argument 325 #define write_reg16(info, reg, val) outw((val), (info)->io_base + (reg)) argument 327 #define set_reg_bits(info, reg, mask) \ argument 328 write_reg(info, (reg), \ 329 (unsigned char) (read_reg(info, (reg)) | (mask))) 330 #define clear_reg_bits(info, reg, mask) \ argument 331 write_reg(info, (reg), \ 332 (unsigned char) (read_reg(info, (reg)) & ~(mask))) [all …]
|
/Linux-v5.10/fs/cifs/ |
D | smbdirect.c | 15 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-v5.10/drivers/power/supply/ |
D | 88pm860x_charger.c | 116 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 …]
|
D | sc2731_charger.c | 67 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-v5.10/drivers/iio/adc/ |
D | exynos_adc.c | 160 void (*init_hw)(struct exynos_adc *info); 161 void (*exit_hw)(struct exynos_adc *info); 162 void (*clear_irq)(struct exynos_adc *info); 163 void (*start_conv)(struct exynos_adc *info, unsigned long addr); 166 static void exynos_adc_unprepare_clk(struct exynos_adc *info) in exynos_adc_unprepare_clk() argument 168 if (info->data->needs_sclk) in exynos_adc_unprepare_clk() 169 clk_unprepare(info->sclk); in exynos_adc_unprepare_clk() 170 clk_unprepare(info->clk); in exynos_adc_unprepare_clk() 173 static int exynos_adc_prepare_clk(struct exynos_adc *info) in exynos_adc_prepare_clk() argument 177 ret = clk_prepare(info->clk); in exynos_adc_prepare_clk() [all …]
|
/Linux-v5.10/drivers/usb/common/ |
D | usb-conn-gpio.c | 66 struct usb_conn_info *info; in usb_conn_detect_cable() local 70 info = container_of(to_delayed_work(work), in usb_conn_detect_cable() 74 id = info->id_gpiod ? in usb_conn_detect_cable() 75 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable() 76 vbus = info->vbus_gpiod ? in usb_conn_detect_cable() 77 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_conn_detect_cable() 86 dev_dbg(info->dev, "role %d/%d, gpios: id %d, vbus %d\n", in usb_conn_detect_cable() 87 info->last_role, role, id, vbus); in usb_conn_detect_cable() 89 if (info->last_role == role) { in usb_conn_detect_cable() 90 dev_warn(info->dev, "repeated role: %d\n", role); in usb_conn_detect_cable() [all …]
|
/Linux-v5.10/drivers/input/misc/ |
D | twl6040-vibra.c | 55 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-v5.10/net/netfilter/ |
D | xt_IDLETIMER.c | 136 static int idletimer_tg_create(struct idletimer_tg_info *info) in idletimer_tg_create() argument 140 info->timer = kmalloc(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 …]
|
D | xt_set.c | 56 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 …]
|
/Linux-v5.10/drivers/video/fbdev/ |
D | ep93xx-fb.c | 148 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 …]
|
D | xen-fbfront.c | 75 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-v5.10/drivers/nfc/s3fwrn5/ |
D | core.c | 23 static int s3fwrn5_firmware_update(struct s3fwrn5_info *info) in s3fwrn5_firmware_update() argument 28 s3fwrn5_fw_init(&info->fw_info, "sec_s3fwrn5_firmware.bin"); in s3fwrn5_firmware_update() 32 s3fwrn5_set_wake(info, false); in s3fwrn5_firmware_update() 33 s3fwrn5_set_mode(info, S3FWRN5_MODE_FW); in s3fwrn5_firmware_update() 35 ret = s3fwrn5_fw_setup(&info->fw_info); in s3fwrn5_firmware_update() 39 need_update = s3fwrn5_fw_check_version(&info->fw_info, in s3fwrn5_firmware_update() 40 info->ndev->manufact_specific_info); in s3fwrn5_firmware_update() 44 dev_info(&info->ndev->nfc_dev->dev, "Detected new firmware version\n"); in s3fwrn5_firmware_update() 46 ret = s3fwrn5_fw_download(&info->fw_info); in s3fwrn5_firmware_update() 52 s3fwrn5_set_mode(info, S3FWRN5_MODE_NCI); in s3fwrn5_firmware_update() [all …]
|
/Linux-v5.10/arch/sh/drivers/dma/ |
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; in get_nr_channels() local [all …]
|
/Linux-v5.10/net/bridge/netfilter/ |
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_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-v5.10/drivers/bluetooth/ |
D | bluecard_cs.c | 161 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-v5.10/fs/quota/ |
D | quota_tree.c | 26 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() 59 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() argument 61 struct super_block *sb = info->dqi_sb; in read_blk() [all …]
|
/Linux-v5.10/net/dsa/ |
D | switch.c | 33 struct dsa_notifier_ageing_time_info *info) in dsa_switch_ageing_time() argument 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() argument 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() argument 79 if (dsa_switch_mtu_match(ds, port, info)) { in dsa_switch_mtu() 80 ret = ds->ops->port_change_mtu(ds, port, info->mtu); in dsa_switch_mtu() [all …]
|