Home
last modified time | relevance | path

Searched refs:pld (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/mfd/
A Dkempld-core.c51 pld->info.buildnr = kempld_read16(pld, KEMPLD_BUILDNR); in kempld_get_info_generic()
67 pld->feature_mask = kempld_read16(pld, KEMPLD_FEATURE); in kempld_get_info_generic()
194 return kempld_read8(pld, index) | kempld_read8(pld, index + 1) << 8; in kempld_read16()
302 ret = scnprintf(pld->info.version, sizeof(pld->info.version), in kempld_get_info()
415 pld->info.version, kempld_get_type_string(pld), in kempld_detect_device()
416 pld->info.spec_major, pld->info.spec_minor); in kempld_detect_device()
515 pld = devm_kzalloc(dev, sizeof(*pld), GFP_KERNEL); in kempld_probe()
516 if (!pld) in kempld_probe()
528 pld->io_index = pld->io_base; in kempld_probe()
529 pld->io_data = pld->io_base + 1; in kempld_probe()
[all …]
/linux/drivers/gpio/
A Dgpio-kempld.c51 kempld_get_mutex(pld); in kempld_gpio_get_bit()
61 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_get() local
69 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_set() local
71 kempld_get_mutex(pld); in kempld_gpio_set()
79 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_direction_input() local
81 kempld_get_mutex(pld); in kempld_gpio_direction_input()
92 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_direction_output() local
94 kempld_get_mutex(pld); in kempld_gpio_direction_output()
105 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_get_direction() local
117 kempld_get_mutex(pld); in kempld_gpio_pincount()
[all …]
/linux/drivers/i2c/busses/
A Di2c-kempld.c84 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_process() local
190 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_xfer() local
201 kempld_get_mutex(pld); in kempld_i2c_xfer()
224 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_device_init() local
302 i2c->pld = pld; in kempld_i2c_probe()
309 kempld_get_mutex(pld); in kempld_i2c_probe()
334 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_remove() local
337 kempld_get_mutex(pld); in kempld_i2c_remove()
358 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_suspend() local
361 kempld_get_mutex(pld); in kempld_i2c_suspend()
[all …]
/linux/drivers/watchdog/
A Dkempld_wdt.c108 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()
134 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_timeout() local
174 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_get_timeout() local
260 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_update_timeouts() local
284 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_start() local
309 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_stop() local
329 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_keepalive() local
367 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_probe_stages() local
449 wdt_data->pld = pld; in kempld_wdt_probe()
[all …]
/linux/drivers/usb/typec/
A Dport-mapper.c18 void *pld; member
40 struct acpi_pld_info *pld; in get_pld() local
50 return pld; in get_pld()
56 static void free_pld(void *pld) in free_pld() argument
59 ACPI_FREE(pld); in free_pld()
117 node->pld = get_pld(port); in create_port_node()
125 free_pld(node->pld); in remove_port_node()
136 return acpi_pld_match(to_typec_port(dev)->pld, node->pld); in connector_match()
141 if (!node->pld) in find_connector()
253 if (!con->pld) in typec_link_ports()
[all …]
/linux/include/linux/mfd/
A Dkempld.h117 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/arch/alpha/kernel/
A Dirq_pyxis.c70 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()
A Dsys_rx164.c70 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()
A Dsys_eb64p.c67 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()
A Dsys_mikasa.c67 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()
A Dsys_alcor.c87 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()
A Dsys_noritake.c72 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()
A Dsys_cabriolet.c69 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()
A Dsys_dp264.c193 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/drivers/usb/core/
A Dusb-acpi.c85 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/arch/arm/lib/
A Dmemmove.S45 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 …]
A Dcopy_template.S83 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 …]
A Dcopy_page.S26 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/drivers/scsi/csiostor/
A Dcsio_lnode.c294 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()
331 pld += sizeof(*port_name); in csio_ln_fdmi_rhba_cbfn()
337 pld += sizeof(attrib_blk->numattrs); in csio_ln_fdmi_rhba_cbfn()
407 uint8_t *pld; in csio_ln_fdmi_dprt_cbfn() local
440 pld = (uint8_t *)csio_ct_get_pld(cmd); in csio_ln_fdmi_dprt_cbfn()
443 pld += sizeof(*hbaid); in csio_ln_fdmi_dprt_cbfn()
446 reg_pl = (struct fc_fdmi_rpl *)pld; in csio_ln_fdmi_dprt_cbfn()
449 pld += sizeof(*reg_pl); in csio_ln_fdmi_dprt_cbfn()
455 pld += sizeof(attrib_blk->numattrs); in csio_ln_fdmi_dprt_cbfn()
[all …]
/linux/drivers/scsi/bfa/
A Dbfa_fcbuild.h145 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/Documentation/devicetree/bindings/gpio/
A Dgateworks,pld-gpio.txt7 - compatible: Should be "gateworks,pld-gpio"
15 pld@56 {
16 compatible = "gateworks,pld-gpio";
/linux/drivers/net/wireless/ath/ath9k/
A Dar9003_mci.c481 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()
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()
1242 pld[MCI_GPM_WLAN_CAL_W_SEQUENCE] = mci_hw->wlan_cal_seq++; in ar9003_mci_init_cal_req()
1257 u32 pld[4] = {0, 0, 0, 0}; in ar9003_mci_init_cal_done() local
1263 MCI_GPM_SET_CAL_TYPE(pld, MCI_GPM_WLAN_CAL_DONE); in ar9003_mci_init_cal_done()
[all …]
/linux/drivers/media/pci/intel/ipu3/
A Dcio2-bridge.c93 switch (sensor->pld->panel) { in cio2_bridge_parse_orientation()
105 sensor->pld->panel); in cio2_bridge_parse_orientation()
206 ACPI_FREE(sensor->pld); in cio2_bridge_unregister_sensors()
240 status = acpi_get_physical_device_location(adev->handle, &sensor->pld); in cio2_bridge_connect_sensor()
279 ACPI_FREE(sensor->pld); in cio2_bridge_connect_sensor()
/linux/arch/arm/mach-omap2/
A Dprm_common.c594 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/drivers/ptp/
A Dptp_ines.c739 static int ines_ptp_ctrl_probe(struct platform_device *pld) in ines_ptp_ctrl_probe() argument
745 addr = devm_platform_ioremap_resource(pld, 0); in ines_ptp_ctrl_probe()
755 if (ines_clock_init(clock, &pld->dev, addr)) { in ines_ptp_ctrl_probe()
760 err = register_mii_tstamp_controller(&pld->dev, &ines_ctrl); in ines_ptp_ctrl_probe()
769 dev_set_drvdata(&pld->dev, clock); in ines_ptp_ctrl_probe()
774 static int ines_ptp_ctrl_remove(struct platform_device *pld) in ines_ptp_ctrl_remove() argument
776 struct ines_clock *clock = dev_get_drvdata(&pld->dev); in ines_ptp_ctrl_remove()
778 unregister_mii_tstamp_controller(&pld->dev); in ines_ptp_ctrl_remove()

Completed in 64 milliseconds

12