/openbmc/linux/include/drm/ |
H A D | i915_pciids.h | 42 (unsigned long) info } 48 (unsigned long) info } 133 INTEL_SNB_D_GT2_IDS(info) 144 INTEL_SNB_M_GT2_IDS(info) 154 INTEL_IVB_M_GT2_IDS(info) 166 INTEL_IVB_D_GT2_IDS(info) 255 INTEL_HSW_GT3_IDS(info) 323 INTEL_BDW_RSVD_IDS(info) 383 INTEL_SKL_GT4_IDS(info) 696 INTEL_RPLU_IDS(info), \ [all …]
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | fas216.c | 195 info->magic_start, info->host, info->SCpnt, in fas216_dumpinfo() 199 info->scsi.cfg[0], info->scsi.cfg[1], info->scsi.cfg[2], in fas216_dumpinfo() 202 info->scsi.type, info->scsi.phase); in fas216_dumpinfo() 209 info->stats.queues, info->stats.removes, info->stats.fins, in fas216_dumpinfo() 210 info->stats.reads, info->stats.writes, info->stats.miscs, in fas216_dumpinfo() 211 info->stats.disconnects, info->stats.aborts, info->stats.bus_resets, in fas216_dumpinfo() 224 info->dma.pseudo, info->dma.stop); in fas216_dumpinfo() 784 dmatype = info->dma.setup(info->host, &info->scsi.SCp, in fas216_transfer() 805 info->dma.pseudo(info->host, &info->scsi.SCp, in fas216_transfer() 838 info->dma.stop(info->host, &info->scsi.SCp); in fas216_stoptransfer() [all …]
|
H A D | cumana_2.c | 146 return fas216_intr(&info->info); in cumanascsi_2_intr() 163 int dmach = info->info.scsi.dma; in cumanascsi_2_dma_setup() 290 disable_dma(info->info.scsi.dma); in cumanascsi_2_dma_stop() 305 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info() 350 fas216_print_host(&info->info, m); in cumanascsi_2_show_info() 413 info->info.scsi.irq = ec->irq; in cumanascsi2_probe() 414 info->info.scsi.dma = ec->dma; in cumanascsi2_probe() 448 info->info.scsi.dma = NO_DMA; in cumanascsi2_probe() 459 if (info->info.scsi.dma != NO_DMA) in cumanascsi2_probe() 460 free_dma(info->info.scsi.dma); in cumanascsi2_probe() [all …]
|
H A D | powertec.c | 120 return fas216_intr(&info->info); in powertecscsi_intr() 137 int dmach = info->info.scsi.dma; in powertecscsi_dma_setup() 178 if (info->info.scsi.dma != NO_DMA) in powertecscsi_dma_stop() 179 disable_dma(info->info.scsi.dma); in powertecscsi_dma_stop() 193 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info() 336 info->info.scsi.irq = ec->irq; in powertecscsi_probe() 337 info->info.scsi.dma = ec->dma; in powertecscsi_probe() 347 info->info.dma.pseudo = NULL; in powertecscsi_probe() 373 info->info.scsi.dma = NO_DMA; in powertecscsi_probe() 385 free_dma(info->info.scsi.dma); in powertecscsi_probe() [all …]
|
/openbmc/linux/drivers/tty/ |
H A D | synclink_gt.c | 597 info = info->next_device; in open() 769 if (!tx_load(info, info->tx_buf, info->tx_count)) in write() 890 if (info->tx_count && tx_load(info, info->tx_buf, info->tx_count)) in flush_chars() 940 if (info->tx_count && tx_load(info, info->tx_buf, info->tx_count)) in tx_release() 1226 info->tx_active,info->bh_requested,info->bh_running, in line_info() 1241 info = info->next_device; in synclink_gt_proc_show() 3359 free_bufs(info, info->rbufs, info->rbuf_count); in free_dma_bufs() 3360 free_bufs(info, info->tbufs, info->tbuf_count); in free_dma_bufs() 3632 for (info=slgt_device_list ; info != NULL ; info=info->next_device) in slgt_cleanup() 3642 info = info->next_device; in slgt_cleanup() [all …]
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_format_test.c | 14 const struct drm_format_info *info = NULL; in drm_test_format_block_width_invalid() local 25 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_one_plane() 36 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_two_plane() 48 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_three_plane() 61 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_tiled() 81 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_one_plane() 92 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_two_plane() 104 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_three_plane() 117 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_tiled() 137 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_min_pitch_one_plane_8bpp() [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | pxa3xx_nand.c | 583 if (info->ecc_bch && !info->force_raw) { in drain_fifo() 635 info->oob_buff + info->oob_buff_pos, in handle_data_pio() 744 nand_writel(info, NDCB0, info->ndcb0); in pxa3xx_nand_irq() 745 nand_writel(info, NDCB0, info->ndcb1); in pxa3xx_nand_irq() 746 nand_writel(info, NDCB0, info->ndcb2); in pxa3xx_nand_irq() 844 host = info->host[info->cs]; in prepare_set_command() 888 info->ndcb3 = info->step_chunk_size + in prepare_set_command() 896 info->ndcb3 = info->step_chunk_size + in prepare_set_command() 1351 if (info->buf_start < info->buf_count) in pxa3xx_nand_read_byte() 1365 if (!(info->buf_start & 0x01) && info->buf_start < info->buf_count) { in pxa3xx_nand_read_word() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | 88pm860x_charger.c | 318 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm() 323 if (info->online && info->present && info->allowed) { in set_charging_fsm() 344 if (info->online && info->present && info->allowed) { in set_charging_fsm() 355 if (info->online && info->present && info->allowed) { in set_charging_fsm() 366 if (info->online && info->present && info->allowed) { in set_charging_fsm() 390 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm() 416 (info->online) ? "online" : "N/A", info->allowed); in pm860x_charger_handler() 529 if (info->present && info->online) in pm860x_vbattery_handler() 673 info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); in pm860x_charger_probe() 674 if (!info) in pm860x_charger_probe() [all …]
|
H A D | axp288_charger.c | 161 cc = info->max_cc; in axp288_charger_set_cc() 171 info->cc = cc; in axp288_charger_set_cc() 202 info->cv = cv; in axp288_charger_set_cv() 812 info->cc = cc; in charger_init_hw_regs() 818 info->max_cv = info->cv; in charger_init_hw_regs() 819 info->max_cc = info->cc; in charger_init_hw_regs() 859 info = devm_kzalloc(dev, sizeof(*info), GFP_KERNEL); in axp288_charger_probe() 860 if (!info) in axp288_charger_probe() 948 info->irq[i] = regmap_irq_get_virq(info->regmap_irqc, pirq); in axp288_charger_probe() 954 ret = devm_request_threaded_irq(&info->pdev->dev, info->irq[i], in axp288_charger_probe() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | nseval.c | 48 if (!info) { in acpi_ns_evaluate() 62 acpi_ns_get_node(info->prefix_node, info->relative_pathname, in acpi_ns_evaluate() 74 info->node = in acpi_ns_evaluate() 82 info->node_flags = info->node->flags; in acpi_ns_evaluate() 83 info->obj_desc = acpi_ns_get_attached_object(info->node); in acpi_ns_evaluate() 86 info->relative_pathname, info->node, in acpi_ns_evaluate() 112 while (info->parameters[info->param_count]) { in acpi_ns_evaluate() 133 acpi_ns_check_acpi_compliance(info->full_pathname, info->node, in acpi_ns_evaluate() 140 acpi_ns_check_argument_count(info->full_pathname, info->node, in acpi_ns_evaluate() 141 info->param_count, info->predefined); in acpi_ns_evaluate() [all …]
|
/openbmc/linux/drivers/usb/common/ |
H A D | usb-conn-gpio.c | 90 if (!info->initial_detection && info->last_role == role) { in usb_conn_detect_cable() 97 if (info->last_role == USB_ROLE_HOST && info->vbus) in usb_conn_detect_cable() 112 if (info->vbus) in usb_conn_detect_cable() 129 usb_conn_queue_dwork(info, info->debounce_jiffies); in usb_conn_isr() 183 info = devm_kzalloc(dev, sizeof(*info), GFP_KERNEL); in usb_conn_probe() 184 if (!info) in usb_conn_probe() 187 info->dev = dev; in usb_conn_probe() 196 if (!info->id_gpiod && !info->vbus_gpiod) { in usb_conn_probe() 227 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_conn_probe() 244 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_conn_probe() [all …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | cfi_flash.c | 188 if (info->size && info->start[0] <= base && in flash_get_info() 189 base <= info->start[0] + info->size - 1) in flash_get_info() 202 return info->start[0] + info->size - info->start[sect]; in flash_sector_size() 983 info, sector, info->buffer_write_tout, in flash_write_cfibuffer() 1715 info->ext_addr, info->cfi_version); in cmdset_amd_read_jedec_ids() 1725 info->device_id = flash_read_uchar(info, in cmdset_amd_read_jedec_ids() 1729 info->device_id2 = flash_read_uchar(info, in cmdset_amd_read_jedec_ids() 1737 info->device_id = flash_read_word(info, in cmdset_amd_read_jedec_ids() 1918 info->portwidth, info->chipwidth); in __flash_detect_cfi() 1956 info->chipwidth <= info->portwidth; in flash_detect_cfi() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-s3c.c | 88 info->data->irq_handler(info, S3C2410_INTP_ALM); in s3c_rtc_alarmirq() 403 info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); in s3c_rtc_probe() 404 if (!info) in s3c_rtc_probe() 407 info->dev = &pdev->dev; in s3c_rtc_probe() 409 if (!info->data) { in s3c_rtc_probe() 425 if (IS_ERR(info->base)) in s3c_rtc_probe() 450 info->data->disable(info); in s3c_rtc_probe() 454 info->data->enable(info); in s3c_rtc_probe() 488 info->data->disable(info); in s3c_rtc_probe() 510 info->data->disable(info); in s3c_rtc_suspend() [all …]
|
/openbmc/qemu/ui/ |
H A D | clipboard.c | 30 return info && info->owner == peer; in qemu_clipboard_peer_owns() 57 ok = info->serial >= cbinfo[info->selection]->serial; in qemu_clipboard_check_serial() 59 ok = info->serial > cbinfo[info->selection]->serial; in qemu_clipboard_check_serial() 71 .info = info, in qemu_clipboard_update() 82 assert(info->owner && info->owner->request); in qemu_clipboard_update() 88 if (cbinfo[info->selection] != info) { in qemu_clipboard_update() 90 cbinfo[info->selection] = qemu_clipboard_info_ref(info); in qemu_clipboard_update() 110 return info; in qemu_clipboard_info_new() 116 return info; in qemu_clipboard_info_ref() 123 if (!info) { in qemu_clipboard_info_unref() [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | exynos_adc.c | 570 info->data->init_hw(info); in exynos_read_raw() 605 info->data->init_hw(info); in exynos_read_s3c64xx_ts() 635 info->data->clear_irq(info); in exynos_adc_isr() 911 info->data->init_hw(info); in exynos_adc_probe() 936 free_irq(info->tsirq, info); in exynos_adc_probe() 941 free_irq(info->irq, info); in exynos_adc_probe() 944 info->data->exit_hw(info); in exynos_adc_probe() 965 free_irq(info->irq, info); in exynos_adc_remove() 967 info->data->exit_hw(info); in exynos_adc_remove() 981 info->data->exit_hw(info); in exynos_adc_suspend() [all …]
|
/openbmc/linux/arch/csky/mm/ |
H A 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 30 bitmap_zero(info->map, NUM_CTXT_ASIDS(info)); in flush_context() 43 __set_bit(asid2idx(info, asid), info->map); in flush_context() 100 if (!__test_and_set_bit(asid2idx(info, asid), info->map)) in new_context() 121 asid = find_next_zero_bit(info->map, NUM_CTXT_ASIDS(info), 1); in new_context() 180 atomic64_set(&info->generation, ASID_FIRST_VERSION(info)); in asid_allocator_init() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-pkey.c | 102 info->invalid_amr = info->amr2 | (~0x0UL & ~info->expected_uamor); in child() 142 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child() 158 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child() 175 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child() 198 info->amr1 = info->amr2 = regs[0]; in parent() 217 PARENT_FAIL_IF(regs[0] != info->amr1, &info->child_sync); in parent() 218 PARENT_FAIL_IF(regs[1] != info->expected_iamr, &info->child_sync); in parent() 219 PARENT_FAIL_IF(regs[2] != info->expected_uamor, &info->child_sync); in parent() 273 PARENT_FAIL_IF(regs[0] != info->amr2, &info->child_sync); in parent() 274 PARENT_FAIL_IF(regs[1] != info->expected_iamr, &info->child_sync); in parent() [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | bluecard_cs.c | 161 struct bluecard_info *info = from_timer(info, t, timer); in bluecard_activity_led_timeout() local 219 if (!info) { in bluecard_write_wakeup() 372 if (!info) { in bluecard_receive() 446 info->rx_count--; in bluecard_receive() 477 hci_recv_frame(info->hdev, info->rx_skb); in bluecard_receive() 500 if (!info || !info->hdev) in bluecard_interrupt() 693 info->rx_count = 0; in bluecard_open() 703 info->hdev = hdev; in bluecard_open() 823 info = devm_kzalloc(&link->dev, sizeof(*info), GFP_KERNEL); in bluecard_probe() 824 if (!info) in bluecard_probe() [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | twl6040-vibra.c | 115 regulator_bulk_disable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_disable() 154 info->weak_speed, info->direction); in twl6040_vibra_set_effect() 160 info->strong_speed, info->direction); in twl6040_vibra_set_effect() 179 if (info->weak_speed || info->strong_speed) { in vibra_play_work() 209 if (info->enabled) in twl6040_vibra_close() 220 if (info->enabled) in twl6040_vibra_suspend() 245 info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); in twl6040_vibra_probe() 246 if (!info) { in twl6040_vibra_probe() 269 if ((!info->vibldrv_res && !info->viblmotor_res) || in twl6040_vibra_probe() 270 (!info->vibrdrv_res && !info->vibrmotor_res)) { in twl6040_vibra_probe() [all …]
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebt_ip.c | 50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) in ebt_ip_mt() 54 (ih->saddr & info->smsk) != info->saddr)) 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() 61 if (NF_INVF(info, EBT_IP_PROTO, info->protocol != ih->protocol)) in ebt_ip_mt() 112 if (info->bitmask & ~EBT_IP_MASK || info->invflags & ~EBT_IP_MASK) in ebt_ip_mt_check() 124 if (info->bitmask & EBT_IP_DPORT && info->dport[0] > info->dport[1]) in ebt_ip_mt_check() 126 if (info->bitmask & EBT_IP_SPORT && info->sport[0] > info->sport[1]) in ebt_ip_mt_check() 132 if (info->icmp_type[0] > info->icmp_type[1] || in ebt_ip_mt_check() 133 info->icmp_code[0] > info->icmp_code[1]) in ebt_ip_mt_check() [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | smbdirect.c | 319 struct smbd_connection *info = response->info; in process_negotiation_response() local 453 struct smbd_connection *info = response->info; in recv_done() local 502 info, in recv_done() 660 info->pd = ib_alloc_pd(info->id->device, 0); in smbd_ia_open() 694 request->info = info; in smbd_post_send_negotiate_req() 883 request->info = info; in smbd_post_send_iter() 1229 response->info = info; in allocate_receive_buffers() 1549 ib_alloc_cq_any(info->id->device, info, in _smbd_get_connection() 1557 ib_alloc_cq_any(info->id->device, info, in _smbd_get_connection() 2074 info->pd, info->mr_type, in smbd_mr_recovery_work() [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-ptn5150.c | 123 if (!info->edev) in ptn5150_irq_work() 162 dev_err(info->dev, in ptn5150_irq_work() 200 dev_err(info->dev, in ptn5150_init_dev_type() 234 info = devm_kzalloc(&i2c->dev, sizeof(*info), GFP_KERNEL); in ptn5150_i2c_probe() 235 if (!info) in ptn5150_i2c_probe() 240 info->i2c = i2c; in ptn5150_i2c_probe() 258 return dev_err_probe(info->dev, PTR_ERR(info->regmap), in ptn5150_i2c_probe() 271 info->irq = gpiod_to_irq(info->int_gpiod); in ptn5150_i2c_probe() 296 ret = devm_extcon_dev_register(info->dev, info->edev); in ptn5150_i2c_probe() 314 info->role_sw = usb_role_switch_get(info->dev); in ptn5150_i2c_probe() [all …]
|
H A D | extcon-usb-gpio.c | 68 id = info->id_gpiod ? in usb_extcon_detect_cable() 107 info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); in usb_extcon_probe() 108 if (!info) in usb_extcon_probe() 111 info->dev = dev; in usb_extcon_probe() 116 if (!info->id_gpiod && !info->vbus_gpiod) { in usb_extcon_probe() 139 if (info->id_gpiod) in usb_extcon_probe() 151 if (info->id_gpiod) { in usb_extcon_probe() 152 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_extcon_probe() 155 return info->id_irq; in usb_extcon_probe() 170 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_extcon_probe() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xen-hcd.c | 112 info->error = true; in xenhcd_set_error() 565 info->shadow_free = info->shadow[free].req.id; in xenhcd_get_id_from_freelist() 573 info->shadow[id].req.id = info->shadow_free; in xenhcd_add_id_to_freelist() 852 if (info->error) in xenhcd_cancel_all_enqueued_urbs() 987 xenhcd_res_to_urb(info, &res, info->shadow[id].urb); in xenhcd_urb_request_done() 1097 if (info->irq) in xenhcd_destroy_rings() 1098 unbind_from_irqhandler(info->irq, info); in xenhcd_destroy_rings() 1099 info->irq = 0; in xenhcd_destroy_rings() 1143 info->irq = err; in xenhcd_setup_rings() 1155 unbind_from_irqhandler(info->irq, info); in xenhcd_setup_rings() [all …]
|
/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A D | isst-core-tpmi.c | 139 info.get_set = 0; in tpmi_read_pm_config() 146 *cp_state = info.enable; in tpmi_read_pm_config() 419 info.level = level; in tpmi_get_pbf_info() 458 info.feature = 0; in tpmi_set_pbf_fact_status() 500 info.level = level; in tpmi_get_fact_info() 627 info.get_set = 0; in tpmi_get_clos_information() 646 info.get_set = 1; in tpmi_pm_qos_config() 678 info.get_set = 0; in tpmi_pm_get_clos() 681 info.clos = clos; in tpmi_pm_get_clos() 705 info.get_set = 1; in tpmi_set_clos() [all …]
|