/linux-5.19.10/drivers/mfd/ |
D | kempld-core.c | 29 static void kempld_get_hardware_mutex(struct kempld_device_data *pld) in kempld_get_hardware_mutex() argument 32 while (ioread8(pld->io_index) & KEMPLD_MUTEX_KEY) in kempld_get_hardware_mutex() 36 static void kempld_release_hardware_mutex(struct kempld_device_data *pld) in kempld_release_hardware_mutex() argument 39 iowrite8(KEMPLD_MUTEX_KEY, pld->io_index); in kempld_release_hardware_mutex() 42 static int kempld_get_info_generic(struct kempld_device_data *pld) in kempld_get_info_generic() argument 47 kempld_get_mutex(pld); in kempld_get_info_generic() 49 version = kempld_read16(pld, KEMPLD_VERSION); in kempld_get_info_generic() 50 spec = kempld_read8(pld, KEMPLD_SPEC); in kempld_get_info_generic() 51 pld->info.buildnr = kempld_read16(pld, KEMPLD_BUILDNR); in kempld_get_info_generic() 53 pld->info.minor = KEMPLD_VERSION_GET_MINOR(version); in kempld_get_info_generic() [all …]
|
/linux-5.19.10/drivers/gpio/ |
D | gpio-kempld.c | 27 struct kempld_device_data *pld; member 34 static void kempld_gpio_bitop(struct kempld_device_data *pld, in kempld_gpio_bitop() argument 39 status = kempld_read8(pld, reg); in kempld_gpio_bitop() 44 kempld_write8(pld, reg, status); in kempld_gpio_bitop() 47 static int kempld_gpio_get_bit(struct kempld_device_data *pld, u8 reg, u8 bit) in kempld_gpio_get_bit() argument 51 kempld_get_mutex(pld); in kempld_gpio_get_bit() 52 status = kempld_read8(pld, reg); in kempld_gpio_get_bit() 53 kempld_release_mutex(pld); in kempld_gpio_get_bit() 61 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_get() local 63 return !!kempld_gpio_get_bit(pld, KEMPLD_GPIO_LVL_NUM(offset), offset); in kempld_gpio_get() [all …]
|
/linux-5.19.10/drivers/i2c/busses/ |
D | i2c-kempld.c | 57 struct kempld_device_data *pld; member 84 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_process() local 85 u8 stat = kempld_read8(pld, KEMPLD_I2C_STAT); in kempld_i2c_process() 95 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_IACK); in kempld_i2c_process() 104 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_STOP); in kempld_i2c_process() 127 kempld_write8(pld, KEMPLD_I2C_DATA, addr); in kempld_i2c_process() 128 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_START); in kempld_i2c_process() 135 kempld_write8(pld, KEMPLD_I2C_DATA, i2c->msg->addr & 0xff); in kempld_i2c_process() 136 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_WRITE); in kempld_i2c_process() 147 kempld_write8(pld, KEMPLD_I2C_CMD, I2C_CMD_STOP); in kempld_i2c_process() [all …]
|
/linux-5.19.10/drivers/watchdog/ |
D | kempld_wdt.c | 74 struct kempld_device_data *pld; member 108 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_action() local 114 kempld_get_mutex(pld); in kempld_wdt_set_stage_action() 115 stage_cfg = kempld_read8(pld, KEMPLD_WDT_STAGE_CFG(stage->id)); in kempld_wdt_set_stage_action() 124 kempld_write8(pld, KEMPLD_WDT_STAGE_CFG(stage->id), stage_cfg); in kempld_wdt_set_stage_action() 125 kempld_release_mutex(pld); in kempld_wdt_set_stage_action() 134 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_timeout() local 146 stage_timeout64 = (u64)timeout * pld->pld_clock; in kempld_wdt_set_stage_timeout() 156 kempld_get_mutex(pld); in kempld_wdt_set_stage_timeout() 157 stage_cfg = kempld_read8(pld, KEMPLD_WDT_STAGE_CFG(stage->id)); in kempld_wdt_set_stage_timeout() [all …]
|
/linux-5.19.10/include/linux/mfd/ |
D | kempld.h | 117 extern void kempld_get_mutex(struct kempld_device_data *pld); 118 extern void kempld_release_mutex(struct kempld_device_data *pld); 119 extern u8 kempld_read8(struct kempld_device_data *pld, u8 index); 120 extern void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data); 121 extern u16 kempld_read16(struct kempld_device_data *pld, u8 index); 122 extern void kempld_write16(struct kempld_device_data *pld, u8 index, u16 data); 123 extern u32 kempld_read32(struct kempld_device_data *pld, u8 index); 124 extern void kempld_write32(struct kempld_device_data *pld, u8 index, u32 data);
|
/linux-5.19.10/arch/alpha/kernel/ |
D | irq_pyxis.c | 70 unsigned long pld; in pyxis_device_interrupt() local 74 pld = *(vulp)PYXIS_INT_REQ; in pyxis_device_interrupt() 75 pld &= cached_irq_mask; in pyxis_device_interrupt() 81 while (pld) { in pyxis_device_interrupt() 82 i = ffz(~pld); in pyxis_device_interrupt() 83 pld &= pld - 1; /* clear least bit set */ in pyxis_device_interrupt()
|
D | sys_rx164.c | 70 unsigned long pld; in rx164_device_interrupt() local 77 pld = *dirr; in rx164_device_interrupt() 83 while (pld) { in rx164_device_interrupt() 84 i = ffz(~pld); in rx164_device_interrupt() 85 pld &= pld - 1; /* clear least bit set */ in rx164_device_interrupt()
|
D | sys_eb64p.c | 67 unsigned long pld; in eb64p_device_interrupt() local 71 pld = inb(0x26) | (inb(0x27) << 8); in eb64p_device_interrupt() 77 while (pld) { in eb64p_device_interrupt() 78 i = ffz(~pld); in eb64p_device_interrupt() 79 pld &= pld - 1; /* clear least bit set */ in eb64p_device_interrupt()
|
D | sys_mikasa.c | 67 unsigned long pld; in mikasa_device_interrupt() local 71 pld = (((~inw(0x534) & 0x0000ffffUL) << 16) in mikasa_device_interrupt() 79 while (pld) { in mikasa_device_interrupt() 80 i = ffz(~pld); in mikasa_device_interrupt() 81 pld &= pld - 1; /* clear least bit set */ in mikasa_device_interrupt()
|
D | sys_alcor.c | 87 unsigned long pld; in alcor_device_interrupt() local 91 pld = (*(vuip)GRU_INT_REQ) & GRU_INT_REQ_BITS; in alcor_device_interrupt() 97 while (pld) { in alcor_device_interrupt() 98 i = ffz(~pld); in alcor_device_interrupt() 99 pld &= pld - 1; /* clear least bit set */ in alcor_device_interrupt()
|
D | sys_noritake.c | 72 unsigned long pld; in noritake_device_interrupt() local 76 pld = (((unsigned long) inw(0x54c) << 32) in noritake_device_interrupt() 85 while (pld) { in noritake_device_interrupt() 86 i = ffz(~pld); in noritake_device_interrupt() 87 pld &= pld - 1; /* clear least bit set */ in noritake_device_interrupt()
|
D | sys_cabriolet.c | 69 unsigned long pld; in cabriolet_device_interrupt() local 73 pld = inb(0x804) | (inb(0x805) << 8) | (inb(0x806) << 16); in cabriolet_device_interrupt() 79 while (pld) { in cabriolet_device_interrupt() 80 i = ffz(~pld); in cabriolet_device_interrupt() 81 pld &= pld - 1; /* clear least bit set */ in cabriolet_device_interrupt()
|
D | sys_dp264.c | 193 unsigned long pld; in dp264_device_interrupt() local 197 pld = TSUNAMI_cchip->dir0.csr; in dp264_device_interrupt() 203 while (pld) { in dp264_device_interrupt() 204 i = ffz(~pld); in dp264_device_interrupt() 205 pld &= pld - 1; /* clear least bit set */ in dp264_device_interrupt()
|
/linux-5.19.10/drivers/base/ |
D | physical_location.c | 15 struct acpi_pld_info *pld; in dev_add_physical_location() local 21 status = acpi_get_physical_device_location(ACPI_HANDLE(dev), &pld); in dev_add_physical_location() 29 dev->physical_location->panel = pld->panel; in dev_add_physical_location() 30 dev->physical_location->vertical_position = pld->vertical_position; in dev_add_physical_location() 31 dev->physical_location->horizontal_position = pld->horizontal_position; in dev_add_physical_location() 32 dev->physical_location->dock = pld->dock; in dev_add_physical_location() 33 dev->physical_location->lid = pld->lid; in dev_add_physical_location() 35 ACPI_FREE(pld); in dev_add_physical_location()
|
/linux-5.19.10/drivers/usb/core/ |
D | usb-acpi.c | 85 struct acpi_pld_info *pld) in usb_acpi_get_connect_type() argument 109 if (pld->user_visible) in usb_acpi_get_connect_type() 113 else if (!pld->user_visible) in usb_acpi_get_connect_type() 180 struct acpi_pld_info *pld; in usb_acpi_find_companion_for_port() local 189 status = acpi_get_physical_device_location(handle, &pld); in usb_acpi_find_companion_for_port() 190 if (ACPI_SUCCESS(status) && pld) { in usb_acpi_find_companion_for_port() 192 | pld->group_token << 8 | pld->group_position; in usb_acpi_find_companion_for_port() 193 port_dev->connect_type = usb_acpi_get_connect_type(handle, pld); in usb_acpi_find_companion_for_port() 194 ACPI_FREE(pld); in usb_acpi_find_companion_for_port()
|
/linux-5.19.10/arch/arm/lib/ |
D | memmove.S | 46 PLD( pld [r1, #-4] ) 63 PLD( pld [r1, #-4] ) 65 PLD( pld [r1, #-32] ) 67 PLD( pld [r1, #-64] ) 68 PLD( pld [r1, #-96] ) 70 3: PLD( pld [r1, #-128] ) 146 PLD( pld [r1, #-4] ) 148 PLD( pld [r1, #-32] ) 150 PLD( pld [r1, #-64] ) 151 PLD( pld [r1, #-96] ) [all …]
|
D | copy_template.S | 80 PLD( pld [r1, #0] ) 97 PLD( pld [r1, #0] ) 99 PLD( pld [r1, #28] ) 101 PLD( pld [r1, #60] ) 102 PLD( pld [r1, #92] ) 104 3: PLD( pld [r1, #124] ) 196 PLD( pld [r1, #0] ) 198 PLD( pld [r1, #28] ) 200 PLD( pld [r1, #60] ) 201 PLD( pld [r1, #92] ) [all …]
|
D | copy_page.S | 26 PLD( pld [r1, #0] ) 27 PLD( pld [r1, #L1_CACHE_BYTES] ) 30 1: PLD( pld [r1, #2 * L1_CACHE_BYTES]) 31 PLD( pld [r1, #3 * L1_CACHE_BYTES])
|
/linux-5.19.10/drivers/scsi/csiostor/ |
D | csio_lnode.c | 294 uint8_t *pld; in csio_ln_fdmi_rhba_cbfn() local 328 pld = (uint8_t *)csio_ct_get_pld(cmd); in csio_ln_fdmi_rhba_cbfn() 329 port_name = (struct fc_fdmi_port_name *)pld; in csio_ln_fdmi_rhba_cbfn() 331 pld += sizeof(*port_name); in csio_ln_fdmi_rhba_cbfn() 334 attrib_blk = (struct fs_fdmi_attrs *)pld; in csio_ln_fdmi_rhba_cbfn() 337 pld += sizeof(attrib_blk->numattrs); in csio_ln_fdmi_rhba_cbfn() 343 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_FC4TYPES, in csio_ln_fdmi_rhba_cbfn() 347 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_SUPPORTEDSPEED, in csio_ln_fdmi_rhba_cbfn() 366 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_CURRENTPORTSPEED, in csio_ln_fdmi_rhba_cbfn() 371 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_MAXFRAMESIZE, in csio_ln_fdmi_rhba_cbfn() [all …]
|
/linux-5.19.10/drivers/scsi/bfa/ |
D | bfa_fcbuild.h | 145 u16 fc_plogi_build(struct fchs_s *fchs, void *pld, u32 d_id, 159 u16 fc_rspnid_build(struct fchs_s *fchs, void *pld, u32 s_id, 161 u16 fc_rsnn_nn_build(struct fchs_s *fchs, void *pld, u32 s_id, 164 u16 fc_rftid_build(struct fchs_s *fchs, void *pld, u32 s_id, 177 u16 fc_gpnid_build(struct fchs_s *fchs, void *pld, u32 s_id, 187 u16 fc_plogi_acc_build(struct fchs_s *fchs, void *pld, u32 d_id, 196 enum fc_parse_status fc_adisc_parse(struct fchs_s *fchs, void *pld, 210 u16 fc_prli_build(struct fchs_s *fchs, void *pld, u32 d_id, 215 u16 fc_prli_acc_build(struct fchs_s *fchs, void *pld, u32 d_id, 236 u16 fc_gid_ft_build(struct fchs_s *fchs, void *pld, u32 s_id, [all …]
|
/linux-5.19.10/Documentation/devicetree/bindings/gpio/ |
D | gateworks,pld-gpio.txt | 7 - compatible: Should be "gateworks,pld-gpio" 15 pld@56 { 16 compatible = "gateworks,pld-gpio";
|
/linux-5.19.10/sound/soc/codecs/ |
D | ak4375.c | 101 unsigned int pld; member 260 ak4375->pld = 0; in ak4375_hw_params() 262 ak4375->pld = 1; in ak4375_hw_params() 264 freq_in = 32 * ak4375->rate / (ak4375->pld + 1); in ak4375_hw_params() 346 (ak4375->pld & 0xff00) >> 8); in ak4375_dai_set_pll() 348 ak4375->pld & 0x00ff); in ak4375_dai_set_pll() 362 ak4375->rate, mclk, freq_in, freq_out, ak4375->pld, plm, mdiv, div); in ak4375_dai_set_pll()
|
/linux-5.19.10/arch/arm/mach-omap2/ |
D | prm_common.c | 594 int prm_register(struct prm_ll_data *pld) in prm_register() argument 596 if (!pld) in prm_register() 602 prm_ll_data = pld; in prm_register() 618 int prm_unregister(struct prm_ll_data *pld) in prm_unregister() argument 620 if (!pld || prm_ll_data != pld) in prm_unregister()
|
/linux-5.19.10/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mci.c | 481 u32 pld[4] = {0, 0, 0, 0}; in ar9003_mci_send_coex_bt_flags() local 483 MCI_GPM_SET_TYPE_OPCODE(pld, MCI_GPM_COEX_AGENT, in ar9003_mci_send_coex_bt_flags() 486 *(((u8 *)pld) + MCI_GPM_COEX_B_BT_FLAGS_OP) = opcode; in ar9003_mci_send_coex_bt_flags() 487 *(((u8 *)pld) + MCI_GPM_COEX_W_BT_FLAGS + 0) = bt_flags & 0xFF; in ar9003_mci_send_coex_bt_flags() 488 *(((u8 *)pld) + MCI_GPM_COEX_W_BT_FLAGS + 1) = (bt_flags >> 8) & 0xFF; in ar9003_mci_send_coex_bt_flags() 489 *(((u8 *)pld) + MCI_GPM_COEX_W_BT_FLAGS + 2) = (bt_flags >> 16) & 0xFF; in ar9003_mci_send_coex_bt_flags() 490 *(((u8 *)pld) + MCI_GPM_COEX_W_BT_FLAGS + 3) = (bt_flags >> 24) & 0xFF; in ar9003_mci_send_coex_bt_flags() 492 return ar9003_mci_send_message(ah, MCI_GPM, 0, pld, 16, in ar9003_mci_send_coex_bt_flags() 1235 u32 pld[4] = {0, 0, 0, 0}; in ar9003_mci_init_cal_req() local 1241 MCI_GPM_SET_CAL_TYPE(pld, MCI_GPM_WLAN_CAL_REQ); in ar9003_mci_init_cal_req() [all …]
|
/linux-5.19.10/drivers/media/pci/intel/ipu3/ |
D | cio2-bridge.c | 110 switch (sensor->pld->panel) { in cio2_bridge_parse_orientation() 122 sensor->pld->panel); in cio2_bridge_parse_orientation() 256 ACPI_FREE(sensor->pld); in cio2_bridge_unregister_sensors() 297 status = acpi_get_physical_device_location(adev->handle, &sensor->pld); in cio2_bridge_connect_sensor() 340 ACPI_FREE(sensor->pld); in cio2_bridge_connect_sensor()
|