/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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);
|
/kernel/linux/linux-5.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_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_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_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()
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
D | usb-acpi.c | 150 struct acpi_pld_info *pld) in usb_acpi_get_connect_type() argument 174 if (pld->user_visible) in usb_acpi_get_connect_type() 178 else if (!pld->user_visible) in usb_acpi_get_connect_type() 245 struct acpi_pld_info *pld; in usb_acpi_find_companion_for_port() local 254 status = acpi_get_physical_device_location(handle, &pld); in usb_acpi_find_companion_for_port() 255 if (ACPI_SUCCESS(status) && pld) { in usb_acpi_find_companion_for_port() 257 | pld->group_token << 8 | pld->group_position; in usb_acpi_find_companion_for_port() 258 port_dev->connect_type = usb_acpi_get_connect_type(handle, pld); in usb_acpi_find_companion_for_port() 259 ACPI_FREE(pld); in usb_acpi_find_companion_for_port()
|
/kernel/linux/linux-5.10/arch/arm/lib/ |
D | memmove.S | 45 PLD( pld [r1, #-4] ) 67 PLD( pld [r1, #-4] ) 69 PLD( pld [r1, #-32] ) 71 PLD( pld [r1, #-64] ) 72 PLD( pld [r1, #-96] ) 74 3: PLD( pld [r1, #-128] ) 162 PLD( pld [r1, #-4] ) 164 PLD( pld [r1, #-32] ) 166 PLD( pld [r1, #-64] ) 167 PLD( pld [r1, #-96] ) [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])
|
D | copy_template.S | 83 PLD( pld [r1, #0] ) 105 PLD( pld [r1, #0] ) 107 PLD( pld [r1, #28] ) 109 PLD( pld [r1, #60] ) 110 PLD( pld [r1, #92] ) 112 3: PLD( pld [r1, #124] ) 214 PLD( pld [r1, #0] ) 216 PLD( pld [r1, #28] ) 218 PLD( pld [r1, #60] ) 219 PLD( pld [r1, #92] ) [all …]
|
/kernel/liteos_a/lib/libc/musl/src/arch/arm/ |
D | memcmp.S | 44 pld [r0, #0] 45 pld [r1, #0] 57 pld [r0, #64] 58 pld [r1, #64] 74 pld [r0, #64] 75 pld [r1, #64] 146 pld [r0, #64] 147 pld [r1, #64]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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";
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | intel-ixp43x-gateworks-gw2358.dts | 64 pld0: pld@56 { 65 compatible = "gateworks,pld-gpio"; 71 pld1: pld@57 { 72 compatible = "gateworks,pld-gpio";
|
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
D | i2400m.h | 832 size_t i2400m_pld_size(const struct i2400m_pld *pld) in i2400m_pld_size() argument 834 return I2400M_PLD_SIZE_MASK & le32_to_cpu(pld->val); in i2400m_pld_size() 838 enum i2400m_pt i2400m_pld_type(const struct i2400m_pld *pld) in i2400m_pld_type() argument 840 return (I2400M_PLD_TYPE_MASK & le32_to_cpu(pld->val)) in i2400m_pld_type() 845 void i2400m_pld_set(struct i2400m_pld *pld, size_t size, in i2400m_pld_set() argument 848 pld->val = cpu_to_le32( in i2400m_pld_set()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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 …]
|