Home
last modified time | relevance | path

Searched refs:mesg (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v5.10/drivers/spi/
Dspi-sh.c153 static int spi_sh_send(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_send() argument
200 if (list_is_last(&t->transfer_list, &mesg->transfers)) { in spi_sh_send()
218 static int spi_sh_receive(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_receive() argument
277 struct spi_message *mesg; in spi_sh_work() local
286 mesg = list_entry(ss->queue.next, struct spi_message, queue); in spi_sh_work()
287 list_del_init(&mesg->queue); in spi_sh_work()
290 list_for_each_entry(t, &mesg->transfers, transfer_list) { in spi_sh_work()
297 ret = spi_sh_send(ss, mesg, t); in spi_sh_work()
302 ret = spi_sh_receive(ss, mesg, t); in spi_sh_work()
306 mesg->actual_length += t->len; in spi_sh_work()
[all …]
Dspi-fsi.c471 struct spi_message *mesg) in fsi_spi_transfer_one_message() argument
474 u8 seq_slave = SPI_FSI_SEQUENCE_SEL_SLAVE(mesg->spi->chip_select + 1); in fsi_spi_transfer_one_message()
482 list_for_each_entry(transfer, &mesg->transfers, transfer_list) { in fsi_spi_transfer_one_message()
507 &mesg->transfers)) { in fsi_spi_transfer_one_message()
549 mesg->status = rc; in fsi_spi_transfer_one_message()
Dspi.c1703 struct spi_message *mesg; in spi_finalize_current_message() local
1708 mesg = ctlr->cur_msg; in spi_finalize_current_message()
1712 list_for_each_entry(xfer, &mesg->transfers, transfer_list) { in spi_finalize_current_message()
1719 list_for_each_entry(xfer, &mesg->transfers, transfer_list) in spi_finalize_current_message()
1722 spi_unmap_msg(ctlr, mesg); in spi_finalize_current_message()
1729 spi_res_release(ctlr, mesg); in spi_finalize_current_message()
1732 ret = ctlr->unprepare_message(ctlr, mesg); in spi_finalize_current_message()
1746 trace_spi_message_done(mesg); in spi_finalize_current_message()
1748 mesg->state = NULL; in spi_finalize_current_message()
1749 if (mesg->complete) in spi_finalize_current_message()
[all …]
/Linux-v5.10/fs/nfsd/
Dnfsctl.c355 char *mesg = buf; in write_filehandle() local
367 dname = mesg; in write_filehandle()
368 len = qword_get(&mesg, dname, size); in write_filehandle()
373 len = qword_get(&mesg, path, size); in write_filehandle()
377 len = get_int(&mesg, &maxsize); in write_filehandle()
385 if (qword_get(&mesg, mesg, size)>0) in write_filehandle()
398 mesg = buf; in write_filehandle()
400 qword_addhex(&mesg, &len, (char*)&fh.fh_base, fh.fh_size); in write_filehandle()
401 mesg[-1] = '\n'; in write_filehandle()
402 return mesg - buf; in write_filehandle()
[all …]
Dexport.c78 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument
90 if (mesg[mlen - 1] != '\n') in expkey_parse()
92 mesg[mlen-1] = 0; in expkey_parse()
100 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
110 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
118 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
126 key.h.expiry_time = get_expiry(&mesg); in expkey_parse()
141 len = qword_get(&mesg, buf, PAGE_SIZE); in expkey_parse()
418 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument
428 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()
[all …]
/Linux-v5.10/net/atm/
Dlec.c143 struct atmlec_msg *mesg; in lec_handle_bridge() local
149 mesg = (struct atmlec_msg *)skb2->data; in lec_handle_bridge()
150 mesg->type = l_topology_change; in lec_handle_bridge()
152 mesg->content.normal.flag = *buff & 0x01; in lec_handle_bridge()
346 struct atmlec_msg *mesg; in lec_atm_send() local
352 mesg = (struct atmlec_msg *)skb->data; in lec_atm_send()
355 pr_debug("%s: msg from zeppelin:%d\n", dev->name, mesg->type); in lec_atm_send()
356 switch (mesg->type) { in lec_atm_send()
359 dev->dev_addr[i] = mesg->content.normal.mac_addr[i]; in lec_atm_send()
366 lec_addr_delete(priv, mesg->content.normal.atm_addr, in lec_atm_send()
[all …]
Dmpc.c78 static void set_mpc_ctrl_addr_rcvd(struct k_message *mesg,
80 static void set_mps_mac_addr_rcvd(struct k_message *mesg,
860 struct k_message mesg; in send_set_mps_ctrl_addr() local
864 mesg.type = SET_MPS_CTRL_ADDR; in send_set_mps_ctrl_addr()
865 memcpy(mesg.MPS_ctrl, addr, ATM_ESA_LEN); in send_set_mps_ctrl_addr()
866 msg_to_mpoad(&mesg, mpc); in send_set_mps_ctrl_addr()
912 struct k_message *mesg = (struct k_message *)skb->data; in msg_from_mpoad() local
920 switch (mesg->type) { in msg_from_mpoad()
923 MPOA_res_reply_rcvd(mesg, mpc); in msg_from_mpoad()
927 MPOA_trigger_rcvd(mesg, mpc); in msg_from_mpoad()
[all …]
/Linux-v5.10/drivers/misc/sgi-gru/
Dgrukservices.c580 void *mesg) in send_noop_message() argument
586 struct message_header save_mhdr, *mhdr = mesg; in send_noop_message()
616 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, 1, 1, in send_noop_message()
638 void *mesg, int lines) in send_message_queue_full() argument
669 if (send_noop_message(cb, mqd, mesg)) { in send_message_queue_full()
707 void *mesg, int lines) in send_message_put_nacked() argument
718 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, lines, 1, IMA); in send_message_put_nacked()
734 ret = send_noop_message(cb, mqd, mesg); in send_message_put_nacked()
755 void *mesg, int lines) in send_message_failure() argument
771 ret = send_message_queue_full(cb, mqd, mesg, lines); in send_message_failure()
[all …]
Dgrukservices.h82 void *mesg, unsigned int bytes);
/Linux-v5.10/net/sunrpc/
Dsvcauth_unix.c177 char *mesg, int mlen) in ip_map_parse() argument
182 char *buf = mesg; in ip_map_parse()
197 if (mesg[mlen-1] != '\n') in ip_map_parse()
199 mesg[mlen-1] = 0; in ip_map_parse()
202 len = qword_get(&mesg, class, sizeof(class)); in ip_map_parse()
206 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
227 expiry = get_expiry(&mesg); in ip_map_parse()
232 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
486 char *mesg, int mlen) in unix_gid_parse() argument
498 if (mesg[mlen - 1] != '\n') in unix_gid_parse()
[all …]
/Linux-v5.10/net/netfilter/ipvs/
Dip_vs_sync.c275 struct ip_vs_sync_mesg *mesg; member
338 sb->mesg = kmalloc(len, GFP_ATOMIC); in ip_vs_sync_buff_create()
339 if (!sb->mesg) { in ip_vs_sync_buff_create()
343 sb->mesg->reserved = 0; /* old nr_conns i.e. must be zero now */ in ip_vs_sync_buff_create()
344 sb->mesg->version = SYNC_PROTO_VER; in ip_vs_sync_buff_create()
345 sb->mesg->syncid = ipvs->mcfg.syncid; in ip_vs_sync_buff_create()
346 sb->mesg->size = htons(sizeof(struct ip_vs_sync_mesg)); in ip_vs_sync_buff_create()
347 sb->mesg->nr_conns = 0; in ip_vs_sync_buff_create()
348 sb->mesg->spare = 0; in ip_vs_sync_buff_create()
349 sb->head = (unsigned char *)sb->mesg + sizeof(struct ip_vs_sync_mesg); in ip_vs_sync_buff_create()
[all …]
/Linux-v5.10/drivers/iio/dac/
Dti-dac082s085.c52 struct spi_message mesg; member
72 return spi_sync(ti_dac->mesg.spi, &ti_dac->mesg); in ti_dac_cmd()
281 spi_message_init_with_transfers(&ti_dac->mesg, &ti_dac->xfer, 1); in ti_dac_probe()
282 ti_dac->mesg.spi = spi; in ti_dac_probe()
/Linux-v5.10/drivers/ata/
Dacard-ahci.c65 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
112 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in acard_ahci_pci_device_suspend() argument
119 if (mesg.event & PM_EVENT_SUSPEND && in acard_ahci_pci_device_suspend()
126 if (mesg.event & PM_EVENT_SLEEP) { in acard_ahci_pci_device_suspend()
137 return ata_pci_device_suspend(pdev, mesg); in acard_ahci_pci_device_suspend()
Dpata_triflex.c199 static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in triflex_ata_pci_device_suspend() argument
204 rc = ata_host_suspend(host, mesg); in triflex_ata_pci_device_suspend()
Dpata_cs5520.c256 static int cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in cs5520_pci_device_suspend() argument
261 rc = ata_host_suspend(host, mesg); in cs5520_pci_device_suspend()
Dpata_macio.c854 static int pata_macio_do_suspend(struct pata_macio_priv *priv, pm_message_t mesg) in pata_macio_do_suspend() argument
859 rc = ata_host_suspend(priv->host, mesg); in pata_macio_do_suspend()
1212 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend() argument
1216 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_suspend()
1316 static int pata_macio_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pata_macio_pci_suspend() argument
1320 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_pci_suspend()
Dlibata-core.c4928 static void ata_port_request_pm(struct ata_port *ap, pm_message_t mesg, in ata_port_request_pm() argument
4946 ap->pm_mesg = mesg; in ata_port_request_pm()
4974 static void ata_port_suspend(struct ata_port *ap, pm_message_t mesg) in ata_port_suspend() argument
4976 ata_port_request_pm(ap, mesg, 0, ata_port_suspend_ehi, false); in ata_port_suspend()
4979 static void ata_port_suspend_async(struct ata_port *ap, pm_message_t mesg) in ata_port_suspend_async() argument
4981 ata_port_request_pm(ap, mesg, 0, ata_port_suspend_ehi, true); in ata_port_suspend_async()
5015 static void ata_port_resume(struct ata_port *ap, pm_message_t mesg) in ata_port_resume() argument
5017 ata_port_request_pm(ap, mesg, ATA_EH_RESET, ata_port_resume_ehi, false); in ata_port_resume()
5020 static void ata_port_resume_async(struct ata_port *ap, pm_message_t mesg) in ata_port_resume_async() argument
5022 ata_port_request_pm(ap, mesg, ATA_EH_RESET, ata_port_resume_ehi, true); in ata_port_resume_async()
[all …]
Data_piix.c986 static int piix_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in piix_pci_device_suspend() argument
992 rc = ata_host_suspend(host, mesg); in piix_pci_device_suspend()
1001 if (piix_broken_suspend() && (mesg.event & PM_EVENT_SLEEP)) { in piix_pci_device_suspend()
1016 ata_pci_device_do_suspend(pdev, mesg); in piix_pci_device_suspend()
/Linux-v5.10/drivers/ide/
Dide-pm.c6 int generic_ide_suspend(struct device *dev, pm_message_t mesg) in generic_ide_suspend() argument
26 if (mesg.event == PM_EVENT_PRETHAW) in generic_ide_suspend()
27 mesg.event = PM_EVENT_FREEZE; in generic_ide_suspend()
28 rqpm.pm_state = mesg.event; in generic_ide_suspend()
Dpmac.c1217 pmac_ide_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pmac_ide_macio_suspend() argument
1222 if (mesg.event != mdev->ofdev.dev.power.power_state.event in pmac_ide_macio_suspend()
1223 && (mesg.event & PM_EVENT_SLEEP)) { in pmac_ide_macio_suspend()
1226 mdev->ofdev.dev.power.power_state = mesg; in pmac_ide_macio_suspend()
1320 pmac_ide_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pmac_ide_pci_suspend() argument
1325 if (mesg.event != pdev->dev.power.power_state.event in pmac_ide_pci_suspend()
1326 && (mesg.event & PM_EVENT_SLEEP)) { in pmac_ide_pci_suspend()
1329 pdev->dev.power.power_state = mesg; in pmac_ide_pci_suspend()
/Linux-v5.10/net/sunrpc/auth_gss/
Dsvcauth_gss.c200 char *mesg, int mlen) in rsi_parse() argument
203 char *buf = mesg; in rsi_parse()
212 len = qword_get(&mesg, buf, mlen); in rsi_parse()
220 len = qword_get(&mesg, buf, mlen); in rsi_parse()
234 expiry = get_expiry(&mesg); in rsi_parse()
240 len = qword_get(&mesg, buf, mlen); in rsi_parse()
246 len = qword_get(&mesg, buf, mlen); in rsi_parse()
254 len = qword_get(&mesg, buf, mlen); in rsi_parse()
262 len = qword_get(&mesg, buf, mlen); in rsi_parse()
439 char *mesg, int mlen) in rsc_parse() argument
[all …]
/Linux-v5.10/drivers/gpio/
Dgpio-max3191x.c81 struct spi_message mesg; member
130 val = spi_sync(spi, &max3191x->mesg); in max3191x_readout_locked()
417 spi_message_init_with_transfers(&max3191x->mesg, &max3191x->xfer, 1); in max3191x_probe()
/Linux-v5.10/drivers/scsi/aic7xxx/
Daic79xx_osm_pci.c79 ahd_linux_pci_dev_suspend(struct pci_dev *pdev, pm_message_t mesg) in ahd_linux_pci_dev_suspend() argument
92 if (mesg.event & PM_EVENT_SLEEP) in ahd_linux_pci_dev_suspend()
Daic7xxx_osm_pci.c126 ahc_linux_pci_dev_suspend(struct pci_dev *pdev, pm_message_t mesg) in ahc_linux_pci_dev_suspend() argument
137 if (mesg.event & PM_EVENT_SLEEP) in ahc_linux_pci_dev_suspend()
/Linux-v5.10/drivers/video/fbdev/nvidia/
Dnvidia.c1040 static int nvidiafb_suspend_late(struct device *dev, pm_message_t mesg) in nvidiafb_suspend_late() argument
1045 if (mesg.event == PM_EVENT_PRETHAW) in nvidiafb_suspend_late()
1046 mesg.event = PM_EVENT_FREEZE; in nvidiafb_suspend_late()
1048 par->pm_state = mesg.event; in nvidiafb_suspend_late()
1050 if (mesg.event & PM_EVENT_SLEEP) { in nvidiafb_suspend_late()
1055 dev->power.power_state = mesg; in nvidiafb_suspend_late()

12