| /drivers/spi/ |
| A D | spi-hisi-kunpeng.c | 175 hs->regset.base = hs->regs; in hisi_spi_debugfs_init() 226 u32 max = min_t(u32, hs->rx_len, hs->fifo_len); in hisi_spi_reader() 232 if (hs->rx) { in hisi_spi_reader() 244 hs->rx += hs->n_bytes; in hisi_spi_reader() 246 --hs->rx_len; in hisi_spi_reader() 252 u32 max = min_t(u32, hs->tx_len, hs->fifo_len); in hisi_spi_writer() 257 if (hs->tx) { in hisi_spi_writer() 269 hs->tx += hs->n_bytes; in hisi_spi_writer() 272 --hs->tx_len; in hisi_spi_writer() 393 hs->tx_len = transfer->len / hs->n_bytes; in hisi_spi_transfer_one() [all …]
|
| /drivers/video/fbdev/omap/ |
| A D | sossi.c | 387 int hs, vs; in sossi_setup_tearsync() local 393 hs = ps_to_sossi_ticks(hs_pulse_time, div); in sossi_setup_tearsync() 395 if (vs < 8 || vs <= hs || vs >= (1 << 12)) in sossi_setup_tearsync() 399 if (hs > 8) in sossi_setup_tearsync() 400 hs = 8; in sossi_setup_tearsync() 401 if (hs) in sossi_setup_tearsync() 402 hs--; in sossi_setup_tearsync() 406 hs, vs, hs_pol_inv, vs_pol_inv); in sossi_setup_tearsync() 412 l |= hs; in sossi_setup_tearsync()
|
| A D | hwa742.c | 793 int hs, vs; in setup_tearsync() local 850 hs = hndp; in setup_tearsync() 858 hs = hsw; in setup_tearsync() 866 hs = hs * 1000000 / (pix_clk / 1000); /* ps */ in setup_tearsync() 867 hs *= 1000; in setup_tearsync() 872 if (vs <= hs) in setup_tearsync() 875 vs = hs * 12 / 10; in setup_tearsync() 877 hs = 10000; in setup_tearsync() 892 hs, vs, (b & 0x3), !use_hsvs); in setup_tearsync() 894 return hwa742.extif->setup_tearsync(1, hs, vs, in setup_tearsync()
|
| /drivers/usb/dwc2/ |
| A D | gadget.c | 1418 if (hs->lx_state == DWC2_L1) { in dwc2_hsotg_ep_queue() 1423 if (hs->lx_state != DWC2_L0) { in dwc2_hsotg_ep_queue() 1464 if (using_dma(hs)) { in dwc2_hsotg_ep_queue() 1511 hs->frame_number = dwc2_hsotg_read_frameno(hs); in dwc2_hsotg_ep_queue() 1517 hs->frame_number = dwc2_hsotg_read_frameno(hs); in dwc2_hsotg_ep_queue() 4400 dwc2_hsotg_stall_ep0(hs); in dwc2_hsotg_ep_sethalt() 4402 dev_warn(hs->dev, in dwc2_hsotg_ep_sethalt() 4420 epctl = dwc2_readl(hs, epreg); in dwc2_hsotg_ep_sethalt() 4434 dwc2_writel(hs, epctl, epreg); in dwc2_hsotg_ep_sethalt() 4437 epctl = dwc2_readl(hs, epreg); in dwc2_hsotg_ep_sethalt() [all …]
|
| /drivers/mtd/nand/spi/ |
| A D | winbond.c | 255 bool hs; in w25n0xjw_hs_cfg() local 261 hs = false; in w25n0xjw_hs_cfg() 264 hs = false; in w25n0xjw_hs_cfg() 266 hs = true; in w25n0xjw_hs_cfg() 268 hs = false; in w25n0xjw_hs_cfg() 274 if (hs) in w25n0xjw_hs_cfg()
|
| /drivers/video/fbdev/ |
| A D | acornfb.c | 415 unsigned long hs, vs; in acornfb_validate_timing() local 424 hs = 1953125000 / var->pixclock; in acornfb_validate_timing() 425 hs = hs * 512 / in acornfb_validate_timing() 427 vs = hs / in acornfb_validate_timing() 431 hs >= monspecs->hfmin && hs <= monspecs->hfmax) ? 0 : -EINVAL; in acornfb_validate_timing() 952 unsigned long hs; in acornfb_probe() local 954 hs = modedb[i].refresh * in acornfb_probe() 961 hs >= fb_info.monspecs.hfmin && in acornfb_probe() 962 hs <= fb_info.monspecs.hfmax) { in acornfb_probe()
|
| /drivers/usb/gadget/ |
| A D | config.c | 108 struct usb_descriptor_header **hs, in usb_assign_descriptors() argument 125 if (hs) { in usb_assign_descriptors() 126 f->hs_descriptors = usb_copy_descriptors(hs); in usb_assign_descriptors()
|
| A D | composite.c | 625 int hs = 0; in config_desc() local 627 hs = 1; in config_desc() 629 hs = !hs; in config_desc() 630 if (hs) in config_desc() 682 int hs = 0; in count_configs() local 688 hs = 1; in count_configs() 694 hs = !hs; in count_configs() 704 } else if (hs) { in count_configs()
|
| /drivers/clk/bcm/ |
| A D | clk-cygnus.c | 23 #define ASIU_DIV_VAL(o, es, hs, hw, ls, lw) \ argument 24 { .offset = o, .en_shift = es, .high_shift = hs, \ 36 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument 37 .hold_shift = hs, .bypass_shift = bs }
|
| A D | clk-nsp.c | 26 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument 27 .hold_shift = hs, .bypass_shift = bs }
|
| A D | clk-ns2.c | 28 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument 29 .hold_shift = hs, .bypass_shift = bs }
|
| /drivers/video/fbdev/matrox/ |
| A D | matroxfb_misc.c | 193 unsigned int hd, hs, he, hbe, ht; in matroxfb_vgaHWinit() local 242 hs = m->HSyncStart >> 3; in matroxfb_vgaHWinit() 251 hs >>= 1; in matroxfb_vgaHWinit() 260 hs <<= 1; in matroxfb_vgaHWinit() 266 hs = hs - 1; in matroxfb_vgaHWinit() 284 hw->CRTCEXT[5] = (hs + he - ht) >> 1; in matroxfb_vgaHWinit() 292 ((hs & 0x100) >> 6) | /* sync start */ in matroxfb_vgaHWinit() 309 hw->CRTC[4] = hs; in matroxfb_vgaHWinit()
|
| /drivers/scsi/libsas/ |
| A D | sas_scsi_host.c | 40 enum scsi_host_status hs = DID_OK; in sas_end_task() local 45 hs = DID_NO_CONNECT; in sas_end_task() 54 hs = DID_NO_CONNECT; in sas_end_task() 59 hs = DID_ERROR; in sas_end_task() 62 hs = DID_ERROR; in sas_end_task() 65 hs = DID_SOFT_ERROR; /* retry */ in sas_end_task() 68 hs = DID_BAD_TARGET; in sas_end_task() 72 hs = DID_SOFT_ERROR; /* retry */ in sas_end_task() 74 hs = DID_ERROR; in sas_end_task() 81 hs = DID_ABORT; in sas_end_task() [all …]
|
| /drivers/phy/qualcomm/ |
| A D | Makefile | 21 obj-$(CONFIG_PHY_QCOM_USB_HS) += phy-qcom-usb-hs.o 23 obj-$(CONFIG_PHY_QCOM_USB_HS_28NM) += phy-qcom-usb-hs-28nm.o
|
| /drivers/usb/host/ |
| A D | ohci-hub.c | 566 memset(desc->u.hs.DeviceRemovable, 0xff, in ohci_hub_descriptor() 567 sizeof(desc->u.hs.DeviceRemovable)); in ohci_hub_descriptor() 568 desc->u.hs.DeviceRemovable[0] = rh & RH_B_DR; in ohci_hub_descriptor() 570 desc->u.hs.DeviceRemovable[1] = (rh & RH_B_DR) >> 8; in ohci_hub_descriptor() 571 desc->u.hs.DeviceRemovable[2] = 0xff; in ohci_hub_descriptor() 573 desc->u.hs.DeviceRemovable[1] = 0xff; in ohci_hub_descriptor()
|
| /drivers/scsi/lpfc/ |
| A D | lpfc_attr.c | 6807 hs->tx_words = (u64) in lpfc_get_stats() 6812 hs->rx_words = (u64) in lpfc_get_stats() 6818 hs->tx_words = (uint64_t) in lpfc_get_stats() 6821 hs->rx_words = (uint64_t) in lpfc_get_stats() 6867 hs->lip_count = -1; in lpfc_get_stats() 6869 hs->nos_count -= lso->link_events; in lpfc_get_stats() 6872 hs->lip_count -= lso->link_events; in lpfc_get_stats() 6873 hs->nos_count = -1; in lpfc_get_stats() 6875 hs->lip_count = -1; in lpfc_get_stats() 6880 hs->dumped_frames = -1; in lpfc_get_stats() [all …]
|
| /drivers/staging/greybus/ |
| A D | camera.c | 301 bool hs) in gb_camera_set_intf_power_mode() argument 306 if (hs) in gb_camera_set_intf_power_mode() 331 static int gb_camera_set_power_mode(struct gb_camera *gcam, bool hs) in gb_camera_set_power_mode() argument 337 ret = gb_camera_set_intf_power_mode(gcam, intf->interface_id, hs); in gb_camera_set_power_mode() 340 hs ? "HS" : "PWM", ret); in gb_camera_set_power_mode() 344 ret = gb_camera_set_intf_power_mode(gcam, svc->ap_intf_id, hs); in gb_camera_set_power_mode() 346 gb_camera_set_intf_power_mode(gcam, intf->interface_id, !hs); in gb_camera_set_power_mode() 348 hs ? "HS" : "PWM", ret); in gb_camera_set_power_mode()
|
| /drivers/media/platform/amphion/ |
| A D | vpu_helpers.c | 176 u32 hs = 7; in get_tiled_8l128_plane_size() local 182 hs++; in get_tiled_8l128_plane_size() 190 height = ALIGN(height, 1 << hs); in get_tiled_8l128_plane_size() 194 size = (bytesperline * ALIGN(height, 1 << (hs + 1))) >> 1; in get_tiled_8l128_plane_size()
|
| /drivers/net/wwan/iosm/ |
| A D | iosm_ipc_pm.c | 170 new_cond.hs = active; in ipc_pm_trigger() 307 ipc_pm->pm_cond.hs = IPC_PM_SLEEP; in ipc_pm_init()
|
| A D | iosm_ipc_pm.h | 29 hs:1, member
|
| /drivers/gpu/drm/nouveau/nvkm/nvfw/ |
| A D | Kbuild | 3 nvkm-y += nvkm/nvfw/hs.o
|
| /drivers/net/ethernet/cavium/liquidio/ |
| A D | lio_main.c | 826 struct handshake *hs; in liquidio_probe() local 860 hs->pci_dev = pdev; in liquidio_probe() 867 complete(&hs->init); in liquidio_probe() 948 struct handshake *hs; in octeon_destroy_resources() local 1070 hs = &handshake[i]; in octeon_destroy_resources() 1072 if (hs->pci_dev) { in octeon_destroy_resources() 3247 struct handshake *hs; in liquidio_init() local 3259 hs = &handshake[i]; in liquidio_init() 3260 if (hs->pci_dev) { in liquidio_init() 3273 hs = &handshake[i]; in liquidio_init() [all …]
|
| /drivers/i2c/busses/ |
| A D | i2c-pxa.c | 144 u32 hs; member 164 .hs = ICR_HS, 173 .hs = ICR_HS, 182 .hs = ICR_HS, 193 .hs = ICR_HS, 202 .hs = ICR_A3700_HS, 1474 i2c->hs_mask = pxa_reg_layout[i2c_type].hs; in i2c_pxa_probe()
|
| /drivers/usb/musb/ |
| A D | musb_virthub.c | 337 desc->u.hs.DeviceRemovable[0] = 0x02; /* port 1 */ in musb_hub_control() 338 desc->u.hs.DeviceRemovable[1] = 0xff; in musb_hub_control()
|
| /drivers/crypto/ |
| A D | atmel-sha.c | 1790 size_t hs = ctx->hash_size; in atmel_sha_hmac_compute_opad_hash() local 1791 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_compute_opad_hash() 1805 size_t hs = ctx->hash_size; in atmel_sha_hmac_setup_done() local 1806 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_setup_done() 1876 size_t hs = ctx->hash_size; in atmel_sha_hmac_init_done() local 1882 memcpy(ctx->digest, hmac->ipad, hs); in atmel_sha_hmac_init_done() 1895 size_t hs = ctx->hash_size; in atmel_sha_hmac_final() local 1906 num_words = hs / sizeof(u32); in atmel_sha_hmac_final() 1952 size_t hs = ctx->hash_size; in atmel_sha_hmac_digest2() local 1953 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_digest2() [all …]
|