/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/drivers/scsi/arm/ |
D | fas216.c | 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() 159 inst = fas216_readb(info, REG_INST); in fas216_dumpstate() [all …]
|
D | cumana_2.c | 74 FAS216_Info info; member 92 struct cumanascsi2_info *info = ec->irq_data; in cumanascsi_2_irqenable() local 93 writeb(ALATCH_ENA_INT, info->base + CUMANASCSI2_ALATCH); in cumanascsi_2_irqenable() 104 struct cumanascsi2_info *info = ec->irq_data; in cumanascsi_2_irqdisable() local 105 writeb(ALATCH_DIS_INT, info->base + CUMANASCSI2_ALATCH); in cumanascsi_2_irqdisable() 121 struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; in cumanascsi_2_terminator_ctl() local 124 info->terms = 1; in cumanascsi_2_terminator_ctl() 125 writeb(ALATCH_ENA_TERM, info->base + CUMANASCSI2_ALATCH); in cumanascsi_2_terminator_ctl() 127 info->terms = 0; in cumanascsi_2_terminator_ctl() 128 writeb(ALATCH_DIS_TERM, info->base + CUMANASCSI2_ALATCH); in cumanascsi_2_terminator_ctl() [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 …]
|
/kernel/linux/linux-5.10/drivers/tty/ |
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 …]
|
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_gt.c | 41 #define DBGDATA(info, buf, size, label) if (debug_level >= DEBUG_LEVEL_DATA) trace_block((info), (b… argument 400 #define slgt_irq_on(info, mask) \ argument 401 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) | (mask))) 402 #define slgt_irq_off(info, mask) \ argument 403 wr_reg16((info), SCR, (unsigned short)(rd_reg16((info), SCR) & ~(mask))) 405 static __u8 rd_reg8(struct slgt_info *info, unsigned int addr); 406 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value); 407 static __u16 rd_reg16(struct slgt_info *info, unsigned int addr); 408 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value); 409 static __u32 rd_reg32(struct slgt_info *info, unsigned int addr); [all …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 | 88pm860x_battery.c | 154 static int measure_12bit_voltage(struct pm860x_battery_info *info, in measure_12bit_voltage() argument 160 ret = pm860x_bulk_read(info->i2c, offset, 2, buf); in measure_12bit_voltage() 170 static int measure_vbatt(struct pm860x_battery_info *info, int state, in measure_vbatt() argument 178 ret = measure_12bit_voltage(info, PM8607_VBAT_MEAS1, data); in measure_vbatt() 194 ret = pm860x_bulk_read(info->i2c, PM8607_LDO5, 5, buf); in measure_vbatt() 213 static int measure_current(struct pm860x_battery_info *info, int *data) in measure_current() argument 219 ret = pm860x_bulk_read(info->i2c, PM8607_IBAT_MEAS1, 2, buf); in measure_current() 229 static int set_charger_current(struct pm860x_battery_info *info, int data, in set_charger_current() argument 238 *old = pm860x_reg_read(info->i2c, PM8607_CHG_CTRL2); in set_charger_current() 240 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL2, 0x1f, data); in set_charger_current() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | nseval.c | 42 acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info) in acpi_ns_evaluate() argument 48 if (!info) { in acpi_ns_evaluate() 52 if (!info->node) { in acpi_ns_evaluate() 62 acpi_ns_get_node(info->prefix_node, info->relative_pathname, in acpi_ns_evaluate() 63 ACPI_NS_NO_UPSEARCH, &info->node); in acpi_ns_evaluate() 73 if (acpi_ns_get_type(info->node) == ACPI_TYPE_LOCAL_METHOD_ALIAS) { in acpi_ns_evaluate() 74 info->node = in acpi_ns_evaluate() 76 info->node->object); in acpi_ns_evaluate() 81 info->return_object = NULL; in acpi_ns_evaluate() 82 info->node_flags = info->node->flags; in acpi_ns_evaluate() [all …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/arch/csky/mm/ |
D | asid.c | 16 #define reserved_asid(info, cpu) *per_cpu_ptr((info)->reserved, cpu) argument 18 #define ASID_MASK(info) (~GENMASK((info)->bits - 1, 0)) argument 19 #define ASID_FIRST_VERSION(info) (1UL << ((info)->bits)) argument 21 #define asid2idx(info, asid) (((asid) & ~ASID_MASK(info)) >> (info)->ctxt_shift) argument 22 #define idx2asid(info, idx) (((idx) << (info)->ctxt_shift) & ~ASID_MASK(info)) argument 24 static void flush_context(struct asid_info *info) in flush_context() argument 30 bitmap_clear(info->map, 0, NUM_CTXT_ASIDS(info)); in flush_context() 33 asid = atomic64_xchg_relaxed(&active_asid(info, i), 0); in flush_context() 42 asid = reserved_asid(info, i); in flush_context() 43 __set_bit(asid2idx(info, asid), info->map); in flush_context() [all …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
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->expected_uamor); in child() 108 info->expected_iamr |= 1ul << pkeyshift(pkey1); in child() 110 info->expected_iamr &= ~(1ul << pkeyshift(pkey1)); in child() [all …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/drivers/extcon/ |
D | extcon-usb-gpio.c | 64 struct usb_extcon_info *info = container_of(to_delayed_work(work), in usb_extcon_detect_cable() local 69 id = info->id_gpiod ? in usb_extcon_detect_cable() 70 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_extcon_detect_cable() 71 vbus = info->vbus_gpiod ? in usb_extcon_detect_cable() 72 gpiod_get_value_cansleep(info->vbus_gpiod) : id; in usb_extcon_detect_cable() 76 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in usb_extcon_detect_cable() 78 extcon_set_state_sync(info->edev, EXTCON_USB, false); in usb_extcon_detect_cable() 81 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in usb_extcon_detect_cable() 84 extcon_set_state_sync(info->edev, EXTCON_USB, true); in usb_extcon_detect_cable() 90 struct usb_extcon_info *info = dev_id; in usb_irq_handler() local [all …]
|
D | extcon-max14577.c | 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() 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->max14577->regmap, in max14577_muic_set_path() 218 dev_err(info->dev, "failed to update MUIC register\n"); in max14577_muic_set_path() 227 ret = max14577_update_reg(info->max14577->regmap, in max14577_muic_set_path() [all …]
|
D | extcon-max77693.c | 215 static int max77693_muic_set_debounce_time(struct max77693_muic_info *info, in max77693_muic_set_debounce_time() argument 230 ret = regmap_write(info->max77693->regmap_muic, in max77693_muic_set_debounce_time() 234 dev_err(info->dev, "failed to set ADC debounce time\n"); in max77693_muic_set_debounce_time() 239 dev_err(info->dev, "invalid ADC debounce time\n"); in max77693_muic_set_debounce_time() 256 static int max77693_muic_set_path(struct max77693_muic_info *info, in max77693_muic_set_path() argument 267 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path() 270 dev_err(info->dev, "failed to update MUIC register\n"); in max77693_muic_set_path() 279 ret = regmap_update_bits(info->max77693->regmap_muic, in max77693_muic_set_path() 284 dev_err(info->dev, "failed to update MUIC register\n"); in max77693_muic_set_path() 288 dev_info(info->dev, in max77693_muic_set_path() [all …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | sysinfo.c | 78 static void stsi_1_1_1(struct seq_file *m, struct sysinfo_1_1_1 *info) in stsi_1_1_1() argument 82 if (stsi(info, 1, 1, 1)) in stsi_1_1_1() 84 EBCASC(info->manufacturer, sizeof(info->manufacturer)); in stsi_1_1_1() 85 EBCASC(info->type, sizeof(info->type)); in stsi_1_1_1() 86 EBCASC(info->model, sizeof(info->model)); in stsi_1_1_1() 87 EBCASC(info->sequence, sizeof(info->sequence)); in stsi_1_1_1() 88 EBCASC(info->plant, sizeof(info->plant)); in stsi_1_1_1() 89 EBCASC(info->model_capacity, sizeof(info->model_capacity)); in stsi_1_1_1() 90 EBCASC(info->model_perm_cap, sizeof(info->model_perm_cap)); in stsi_1_1_1() 91 EBCASC(info->model_temp_cap, sizeof(info->model_temp_cap)); in stsi_1_1_1() [all …]
|