Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/spi/
Dspi-sh.c161 static int spi_sh_send(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_send() argument
208 if (list_is_last(&t->transfer_list, &mesg->transfers)) { in spi_sh_send()
226 static int spi_sh_receive(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_receive() argument
285 struct spi_message *mesg; in spi_sh_work() local
294 mesg = list_entry(ss->queue.next, struct spi_message, queue); in spi_sh_work()
295 list_del_init(&mesg->queue); in spi_sh_work()
298 list_for_each_entry(t, &mesg->transfers, transfer_list) { in spi_sh_work()
305 ret = spi_sh_send(ss, mesg, t); in spi_sh_work()
310 ret = spi_sh_receive(ss, mesg, t); in spi_sh_work()
314 mesg->actual_length += t->len; in spi_sh_work()
[all …]
Dspi.c1354 struct spi_message *mesg; in spi_finalize_current_message() local
1359 mesg = ctlr->cur_msg; in spi_finalize_current_message()
1362 spi_unmap_msg(ctlr, mesg); in spi_finalize_current_message()
1365 ret = ctlr->unprepare_message(ctlr, mesg); in spi_finalize_current_message()
1378 trace_spi_message_done(mesg); in spi_finalize_current_message()
1380 mesg->state = NULL; in spi_finalize_current_message()
1381 if (mesg->complete) in spi_finalize_current_message()
1382 mesg->complete(mesg->context); in spi_finalize_current_message()
/Linux-v4.19/fs/nfsd/
Dnfsctl.c351 char *mesg = buf; in write_filehandle() local
363 dname = mesg; in write_filehandle()
364 len = qword_get(&mesg, dname, size); in write_filehandle()
369 len = qword_get(&mesg, path, size); in write_filehandle()
373 len = get_int(&mesg, &maxsize); in write_filehandle()
381 if (qword_get(&mesg, mesg, size)>0) in write_filehandle()
394 mesg = buf; in write_filehandle()
396 qword_addhex(&mesg, &len, (char*)&fh.fh_base, fh.fh_size); in write_filehandle()
397 mesg[-1] = '\n'; in write_filehandle()
398 return mesg - buf; in write_filehandle()
[all …]
Dexport.c71 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument
83 if (mesg[mlen - 1] != '\n') in expkey_parse()
85 mesg[mlen-1] = 0; in expkey_parse()
93 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
103 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
111 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
119 key.h.expiry_time = get_expiry(&mesg); in expkey_parse()
134 len = qword_get(&mesg, buf, PAGE_SIZE); in expkey_parse()
389 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument
399 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()
[all …]
/Linux-v4.19/net/atm/
Dlec.c142 struct atmlec_msg *mesg; in lec_handle_bridge() local
148 mesg = (struct atmlec_msg *)skb2->data; in lec_handle_bridge()
149 mesg->type = l_topology_change; in lec_handle_bridge()
151 mesg->content.normal.flag = *buff & 0x01; in lec_handle_bridge()
345 struct atmlec_msg *mesg; in lec_atm_send() local
351 mesg = (struct atmlec_msg *)skb->data; in lec_atm_send()
354 pr_debug("%s: msg from zeppelin:%d\n", dev->name, mesg->type); in lec_atm_send()
355 switch (mesg->type) { in lec_atm_send()
358 dev->dev_addr[i] = mesg->content.normal.mac_addr[i]; in lec_atm_send()
365 lec_addr_delete(priv, mesg->content.normal.atm_addr, in lec_atm_send()
[all …]
Dmpc.c77 static void set_mpc_ctrl_addr_rcvd(struct k_message *mesg,
79 static void set_mps_mac_addr_rcvd(struct k_message *mesg,
859 struct k_message mesg; in send_set_mps_ctrl_addr() local
863 mesg.type = SET_MPS_CTRL_ADDR; in send_set_mps_ctrl_addr()
864 memcpy(mesg.MPS_ctrl, addr, ATM_ESA_LEN); in send_set_mps_ctrl_addr()
865 msg_to_mpoad(&mesg, mpc); in send_set_mps_ctrl_addr()
911 struct k_message *mesg = (struct k_message *)skb->data; in msg_from_mpoad() local
919 switch (mesg->type) { in msg_from_mpoad()
922 MPOA_res_reply_rcvd(mesg, mpc); in msg_from_mpoad()
926 MPOA_trigger_rcvd(mesg, mpc); in msg_from_mpoad()
[all …]
/Linux-v4.19/drivers/misc/sgi-gru/
Dgrukservices.c592 void *mesg) in send_noop_message() argument
598 struct message_header save_mhdr, *mhdr = mesg; in send_noop_message()
628 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, 1, 1, in send_noop_message()
650 void *mesg, int lines) in send_message_queue_full() argument
681 if (send_noop_message(cb, mqd, mesg)) { in send_message_queue_full()
719 void *mesg, int lines) in send_message_put_nacked() argument
730 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, lines, 1, IMA); in send_message_put_nacked()
746 ret = send_noop_message(cb, mqd, mesg); in send_message_put_nacked()
767 void *mesg, int lines) in send_message_failure() argument
783 ret = send_message_queue_full(cb, mqd, mesg, lines); in send_message_failure()
[all …]
Dgrukservices.h95 void *mesg, unsigned int bytes);
/Linux-v4.19/net/sunrpc/
Dsvcauth_unix.c164 char *mesg, int mlen) in ip_map_parse() argument
169 char *buf = mesg; in ip_map_parse()
184 if (mesg[mlen-1] != '\n') in ip_map_parse()
186 mesg[mlen-1] = 0; in ip_map_parse()
189 len = qword_get(&mesg, class, sizeof(class)); in ip_map_parse()
193 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
214 expiry = get_expiry(&mesg); in ip_map_parse()
219 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
476 char *mesg, int mlen) in unix_gid_parse() argument
488 if (mesg[mlen - 1] != '\n') in unix_gid_parse()
[all …]
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_sync.c277 struct ip_vs_sync_mesg *mesg; member
340 sb->mesg = kmalloc(len, GFP_ATOMIC); in ip_vs_sync_buff_create()
341 if (!sb->mesg) { in ip_vs_sync_buff_create()
345 sb->mesg->reserved = 0; /* old nr_conns i.e. must be zero now */ in ip_vs_sync_buff_create()
346 sb->mesg->version = SYNC_PROTO_VER; in ip_vs_sync_buff_create()
347 sb->mesg->syncid = ipvs->mcfg.syncid; in ip_vs_sync_buff_create()
348 sb->mesg->size = htons(sizeof(struct ip_vs_sync_mesg)); in ip_vs_sync_buff_create()
349 sb->mesg->nr_conns = 0; in ip_vs_sync_buff_create()
350 sb->mesg->spare = 0; in ip_vs_sync_buff_create()
351 sb->head = (unsigned char *)sb->mesg + sizeof(struct ip_vs_sync_mesg); in ip_vs_sync_buff_create()
[all …]
/Linux-v4.19/drivers/iio/dac/
Dti-dac082s085.c54 struct spi_message mesg; member
74 return spi_sync(ti_dac->mesg.spi, &ti_dac->mesg); in ti_dac_cmd()
284 spi_message_init_with_transfers(&ti_dac->mesg, &ti_dac->xfer, 1); in ti_dac_probe()
285 ti_dac->mesg.spi = spi; in ti_dac_probe()
/Linux-v4.19/net/sunrpc/auth_gss/
Dsvcauth_gss.c186 char *mesg, int mlen) in rsi_parse() argument
189 char *buf = mesg; in rsi_parse()
198 len = qword_get(&mesg, buf, mlen); in rsi_parse()
206 len = qword_get(&mesg, buf, mlen); in rsi_parse()
220 expiry = get_expiry(&mesg); in rsi_parse()
226 len = qword_get(&mesg, buf, mlen); in rsi_parse()
232 len = qword_get(&mesg, buf, mlen); in rsi_parse()
240 len = qword_get(&mesg, buf, mlen); in rsi_parse()
248 len = qword_get(&mesg, buf, mlen); in rsi_parse()
408 char *mesg, int mlen) in rsc_parse() argument
[all …]
/Linux-v4.19/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.c1222 pmac_ide_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pmac_ide_macio_suspend() argument
1227 if (mesg.event != mdev->ofdev.dev.power.power_state.event in pmac_ide_macio_suspend()
1228 && (mesg.event & PM_EVENT_SLEEP)) { in pmac_ide_macio_suspend()
1231 mdev->ofdev.dev.power.power_state = mesg; in pmac_ide_macio_suspend()
1325 pmac_ide_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pmac_ide_pci_suspend() argument
1330 if (mesg.event != pdev->dev.power.power_state.event in pmac_ide_pci_suspend()
1331 && (mesg.event & PM_EVENT_SLEEP)) { in pmac_ide_pci_suspend()
1334 pdev->dev.power.power_state = mesg; in pmac_ide_pci_suspend()
/Linux-v4.19/drivers/ata/
Dacard-ahci.c81 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
128 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in acard_ahci_pci_device_suspend() argument
135 if (mesg.event & PM_EVENT_SUSPEND && in acard_ahci_pci_device_suspend()
142 if (mesg.event & PM_EVENT_SLEEP) { in acard_ahci_pci_device_suspend()
153 return ata_pci_device_suspend(pdev, mesg); in acard_ahci_pci_device_suspend()
Dpata_triflex.c211 static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in triflex_ata_pci_device_suspend() argument
216 rc = ata_host_suspend(host, mesg); in triflex_ata_pci_device_suspend()
Dpata_cs5520.c269 static int cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in cs5520_pci_device_suspend() argument
274 rc = ata_host_suspend(host, mesg); in cs5520_pci_device_suspend()
Dpata_macio.c849 static int pata_macio_do_suspend(struct pata_macio_priv *priv, pm_message_t mesg) in pata_macio_do_suspend() argument
854 rc = ata_host_suspend(priv->host, mesg); in pata_macio_do_suspend()
1208 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend() argument
1212 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_suspend()
1312 static int pata_macio_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pata_macio_pci_suspend() argument
1316 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_pci_suspend()
Dlibata-core.c5677 static void ata_port_request_pm(struct ata_port *ap, pm_message_t mesg, in ata_port_request_pm() argument
5695 ap->pm_mesg = mesg; in ata_port_request_pm()
5723 static void ata_port_suspend(struct ata_port *ap, pm_message_t mesg) in ata_port_suspend() argument
5725 ata_port_request_pm(ap, mesg, 0, ata_port_suspend_ehi, false); in ata_port_suspend()
5728 static void ata_port_suspend_async(struct ata_port *ap, pm_message_t mesg) in ata_port_suspend_async() argument
5730 ata_port_request_pm(ap, mesg, 0, ata_port_suspend_ehi, true); in ata_port_suspend_async()
5764 static void ata_port_resume(struct ata_port *ap, pm_message_t mesg) in ata_port_resume() argument
5766 ata_port_request_pm(ap, mesg, ATA_EH_RESET, ata_port_resume_ehi, false); in ata_port_resume()
5769 static void ata_port_resume_async(struct ata_port *ap, pm_message_t mesg) in ata_port_resume_async() argument
5771 ata_port_request_pm(ap, mesg, ATA_EH_RESET, ata_port_resume_ehi, true); in ata_port_resume_async()
[all …]
/Linux-v4.19/drivers/staging/sm750fb/
Dsm750.c389 static int lynxfb_suspend(struct pci_dev *pdev, pm_message_t mesg) in lynxfb_suspend() argument
395 if (mesg.event == pdev->dev.power.power_state.event) in lynxfb_suspend()
400 switch (mesg.event) { in lynxfb_suspend()
403 pdev->dev.power.power_state = mesg; in lynxfb_suspend()
408 if (mesg.event & PM_EVENT_SLEEP) { in lynxfb_suspend()
425 ret = pci_set_power_state(pdev, pci_choose_state(pdev, mesg)); in lynxfb_suspend()
434 pdev->dev.power.power_state = mesg; in lynxfb_suspend()
/Linux-v4.19/drivers/gpio/
Dgpio-max3191x.c83 struct spi_message mesg; member
132 val = spi_sync(spi, &max3191x->mesg); in max3191x_readout_locked()
415 spi_message_init_with_transfers(&max3191x->mesg, &max3191x->xfer, 1); in max3191x_probe()
/Linux-v4.19/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-v4.19/drivers/video/fbdev/nvidia/
Dnvidia.c1044 static int nvidiafb_suspend(struct pci_dev *dev, pm_message_t mesg) in nvidiafb_suspend() argument
1049 if (mesg.event == PM_EVENT_PRETHAW) in nvidiafb_suspend()
1050 mesg.event = PM_EVENT_FREEZE; in nvidiafb_suspend()
1052 par->pm_state = mesg.event; in nvidiafb_suspend()
1054 if (mesg.event & PM_EVENT_SLEEP) { in nvidiafb_suspend()
1060 pci_set_power_state(dev, pci_choose_state(dev, mesg)); in nvidiafb_suspend()
1062 dev->dev.power.power_state = mesg; in nvidiafb_suspend()
/Linux-v4.19/drivers/video/fbdev/
Dfb-puv3.c771 static int unifb_suspend(struct platform_device *dev, pm_message_t mesg) in unifb_suspend() argument
786 if (mesg.event == dev->dev.power.power_state.event) in unifb_suspend()
789 switch (mesg.event) { in unifb_suspend()
802 dev->dev.power.power_state = mesg; in unifb_suspend()

12